swagger.yaml 529 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212
  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.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. fromuserid:
  2941. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2942. type: integer
  2943. isreturnscore:
  2944. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2945. type: integer
  2946. modifierid:
  2947. description: 修改人ID
  2948. type: integer
  2949. modifytime:
  2950. description: 修改时间
  2951. type: string
  2952. orgtype:
  2953. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2954. type: integer
  2955. outuserid:
  2956. description: 外部账户[场外期权做市商]
  2957. type: string
  2958. parentuserid:
  2959. description: 上级组织机构(组织机构)
  2960. type: integer
  2961. roletype:
  2962. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2963. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2964. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2965. type: integer
  2966. rootuserid:
  2967. description: 顶级组织机构用户ID(组织机构)
  2968. type: integer
  2969. shoppassword:
  2970. description: 商城店铺登陆密码(商城店铺角色使用)
  2971. type: string
  2972. sublevelpath:
  2973. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2974. type: string
  2975. suborgtype:
  2976. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2977. type: integer
  2978. tradeaccountid:
  2979. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2980. type: integer
  2981. transurl:
  2982. description: 物流地址(物流机构)
  2983. type: string
  2984. userid:
  2985. description: 机构用户ID其他做市关系,都设置为 1
  2986. type: integer
  2987. required:
  2988. - roletype
  2989. - userid
  2990. type: object
  2991. models.Clientfixedadconfig:
  2992. properties:
  2993. adsort:
  2994. description: 排序
  2995. type: integer
  2996. adtype:
  2997. description: 广告位类型 - 1:新品抢购(HSBY)
  2998. type: integer
  2999. areauserid:
  3000. description: 所属机构ID
  3001. type: integer
  3002. createdate:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. imagepath:
  3009. description: 图片
  3010. type: string
  3011. isshow:
  3012. description: 是否展示 - 0:不展示 1:展示
  3013. type: integer
  3014. modifierid:
  3015. description: 操作人
  3016. type: integer
  3017. recsize:
  3018. description: 推荐尺寸
  3019. type: string
  3020. title:
  3021. description: 标题
  3022. type: string
  3023. updatedate:
  3024. description: 更新时间
  3025. type: string
  3026. urlcontent:
  3027. description: 链接(地址或商品ID)
  3028. type: string
  3029. urltype:
  3030. description: 链接类型 - 1:直接地址 2:商品ID
  3031. type: integer
  3032. required:
  3033. - adsort
  3034. - adtype
  3035. type: object
  3036. models.Division:
  3037. properties:
  3038. autoid:
  3039. description: 自增ID
  3040. type: integer
  3041. divisioncode:
  3042. description: 行政代码
  3043. type: string
  3044. divisionlevel:
  3045. description: 行政级别
  3046. type: string
  3047. divisionname:
  3048. description: 行政名称
  3049. type: string
  3050. modifierid:
  3051. description: 修改人
  3052. type: integer
  3053. modifytime:
  3054. description: 修改时间
  3055. type: string
  3056. parentcode:
  3057. description: 上级行政代码
  3058. type: string
  3059. pathname:
  3060. description: 路径名称
  3061. type: string
  3062. postcode:
  3063. description: 邮政编码
  3064. type: string
  3065. separablename:
  3066. description: 可拆分的全称
  3067. type: string
  3068. shortcode:
  3069. description: 地区简码
  3070. type: string
  3071. required:
  3072. - autoid
  3073. - divisioncode
  3074. type: object
  3075. models.Enumdicitem:
  3076. properties:
  3077. autoid:
  3078. description: 自增ID
  3079. type: integer
  3080. bankmappedvalue:
  3081. description: 银行服务对应值
  3082. type: string
  3083. enumdiccode:
  3084. description: 所属枚举代码
  3085. type: string
  3086. enumdicid:
  3087. description: 所属枚举ID
  3088. type: integer
  3089. enumdicname:
  3090. description: 枚举项名称
  3091. type: string
  3092. enumitemname:
  3093. description: 枚举项值
  3094. type: integer
  3095. enumitemstatus:
  3096. description: 枚举项状态 - 1.启用 2.不启用
  3097. type: integer
  3098. enumitemvalue:
  3099. description: 通用值 - [币种通用简写]
  3100. type: string
  3101. param1:
  3102. description: 参数1[币种:币种小数位]
  3103. type: string
  3104. param2:
  3105. description: 参数1[币种:币种显示单位]
  3106. type: string
  3107. remark:
  3108. description: 备注
  3109. type: string
  3110. required:
  3111. - autoid
  3112. - enumdiccode
  3113. - enumdicid
  3114. - enumitemname
  3115. type: object
  3116. models.Ermcp3AreaSpot:
  3117. properties:
  3118. areauserid:
  3119. description: 所属机构
  3120. type: integer
  3121. decreaseqty:
  3122. description: 减少数量=-(销售已定价数量+采购计划数量)
  3123. type: number
  3124. deliverygoodscode:
  3125. description: 现货品种代码
  3126. type: string
  3127. deliverygoodsid:
  3128. description: 现货品种id
  3129. type: integer
  3130. deliverygoodsname:
  3131. description: 现货品种名称
  3132. type: string
  3133. enumdicname:
  3134. description: 单位名称
  3135. type: string
  3136. goodsunitid:
  3137. description: 现货品种单位id
  3138. type: integer
  3139. increaseqty:
  3140. description: 增加数量=销售计划数量+采购已定价数量
  3141. type: number
  3142. oritoalspotqty:
  3143. description: 昨日数量
  3144. type: number
  3145. totalspotqty:
  3146. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3147. type: number
  3148. updatetime:
  3149. description: 更新时间
  3150. type: string
  3151. type: object
  3152. models.Ermcp3AreaSpotDetail:
  3153. properties:
  3154. contracttype:
  3155. description: 合同类型 1-采购 -1-销售
  3156. type: integer
  3157. createtime:
  3158. description: 创建时间
  3159. type: string
  3160. deliverygoodscode:
  3161. description: 现货品种代码
  3162. type: string
  3163. deliverygoodsid:
  3164. description: 现货品种id
  3165. type: integer
  3166. deliverygoodsname:
  3167. description: 现货品种名称
  3168. type: string
  3169. enumdicname:
  3170. description: 现货商品单位名称
  3171. type: string
  3172. logtype:
  3173. description: 记录类型 1-套保 2-现货合同
  3174. type: integer
  3175. qty:
  3176. description: 数量
  3177. type: number
  3178. recordname:
  3179. description: 类型名称
  3180. type: string
  3181. relatedid:
  3182. description: 套保计划ID/现货合同ID
  3183. type: string
  3184. relatedno:
  3185. description: 编号
  3186. type: string
  3187. strtime:
  3188. description: 时间
  3189. type: string
  3190. type: object
  3191. models.Ermcp3AreaSpotPLReport:
  3192. properties:
  3193. accountid:
  3194. description: 期货账户ID (作废, 默认为0)
  3195. type: integer
  3196. accountname:
  3197. description: 机构名称
  3198. type: string
  3199. actualpl:
  3200. description: 现货损益
  3201. type: number
  3202. areauserid:
  3203. description: 所属机构\交易用户ID
  3204. type: integer
  3205. begindate:
  3206. description: 开始交易日
  3207. type: string
  3208. biztype:
  3209. description: 业务类型 - 1:套保 2:套利
  3210. type: integer
  3211. brandname:
  3212. description: 品牌名称
  3213. type: string
  3214. curamount:
  3215. description: 期末额
  3216. type: number
  3217. curaverageprice:
  3218. description: 期末均价
  3219. type: number
  3220. curbuyamount:
  3221. description: 期末采购总额
  3222. type: number
  3223. curbuyqty:
  3224. description: 期末采购总量
  3225. type: number
  3226. curmarketvalue:
  3227. description: 参考市值(期末市值)
  3228. type: number
  3229. curqty:
  3230. description: 期末量
  3231. type: number
  3232. currencyid:
  3233. description: 结算币种ID【原值】
  3234. type: integer
  3235. currencyname:
  3236. description: 币种名称
  3237. type: string
  3238. cursellamount:
  3239. description: 期末销售总额
  3240. type: number
  3241. cursellqty:
  3242. description: 期末销售总量
  3243. type: number
  3244. curspotprice:
  3245. description: 参考市价(最新价)
  3246. type: number
  3247. cycletime:
  3248. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3249. type: string
  3250. cycletype:
  3251. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3252. type: integer
  3253. deliverygoodscode:
  3254. description: 现货商品代码
  3255. type: string
  3256. deliverygoodsid:
  3257. description: 现货品种ID
  3258. type: integer
  3259. deliverygoodsname:
  3260. description: 现货商品名称
  3261. type: string
  3262. enddate:
  3263. description: 结束交易日
  3264. type: string
  3265. enumdicname:
  3266. description: 现货商品单位名称
  3267. type: string
  3268. floatpl:
  3269. description: 浮动损益
  3270. type: number
  3271. goodsunitid:
  3272. description: 现货商品单位id
  3273. type: integer
  3274. oriamount:
  3275. description: 期初额
  3276. type: number
  3277. oriaverageprice:
  3278. description: 期初均价
  3279. type: number
  3280. oribuyamount:
  3281. description: 期初采购总额
  3282. type: number
  3283. oribuyqty:
  3284. description: 期初采购总量
  3285. type: number
  3286. oriqty:
  3287. description: 期初量
  3288. type: number
  3289. orisellamount:
  3290. description: 期初销售总额
  3291. type: number
  3292. orisellqty:
  3293. description: 期初销售总量
  3294. type: number
  3295. reckondate:
  3296. description: 日照时期(yyyyMMdd)
  3297. type: string
  3298. spotgoodsbrandid:
  3299. description: 现货品牌ID
  3300. type: integer
  3301. todaybuyamount:
  3302. description: 今日采购额(今采购额)
  3303. type: number
  3304. todaybuyaverageprice:
  3305. description: 今日采购均价
  3306. type: number
  3307. todaybuyqty:
  3308. description: 今日采购量(今采购量)
  3309. type: number
  3310. todayinqty:
  3311. description: 今日入库量(今入库量)
  3312. type: number
  3313. todayoutqty:
  3314. description: 今日出库量(今出库量)
  3315. type: number
  3316. todaysellamount:
  3317. description: 今日销售额(今销售额)
  3318. type: number
  3319. todaysellaverageprice:
  3320. description: 今日销售均价
  3321. type: number
  3322. todaysellqty:
  3323. description: 今日销售量(今销售量)
  3324. type: number
  3325. unitid:
  3326. description: 品类单位id
  3327. type: integer
  3328. unitidname:
  3329. description: 品类单位名称
  3330. type: string
  3331. updatetime:
  3332. description: 更新时间
  3333. type: string
  3334. wrfactortypeid:
  3335. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3336. type: integer
  3337. wrstandardcode:
  3338. description: 品类代码
  3339. type: string
  3340. wrstandardid:
  3341. description: 现货品类ID
  3342. type: integer
  3343. wrstandardname:
  3344. description: 品类名称
  3345. type: string
  3346. type: object
  3347. models.Ermcp3AreaStock:
  3348. properties:
  3349. brandname:
  3350. description: 品牌名称
  3351. type: string
  3352. curstock:
  3353. description: 期末库存量(今日量)
  3354. type: number
  3355. deliverygoodscode:
  3356. description: 现货品种代码
  3357. type: string
  3358. deliverygoodsid:
  3359. description: 现货品种id
  3360. type: integer
  3361. deliverygoodsname:
  3362. description: 现货品种名称
  3363. type: string
  3364. enumdicname:
  3365. description: 单位名称
  3366. type: string
  3367. goodsunitid:
  3368. description: 现货商品单位id
  3369. type: integer
  3370. oristock:
  3371. description: 期初库存量(昨日量)
  3372. type: number
  3373. spotgoodsbrandid:
  3374. description: 现货品牌ID
  3375. type: integer
  3376. todaybuyinqty:
  3377. description: 今日采购入库量
  3378. type: number
  3379. todayproduceinqty:
  3380. description: 今日生产入库量
  3381. type: number
  3382. todayproduceoutqty:
  3383. description: 今日生产出库量
  3384. type: number
  3385. todayselloutqty:
  3386. description: 今日销售出库量
  3387. type: number
  3388. unitid:
  3389. description: 单位id
  3390. type: integer
  3391. updatetime:
  3392. description: 更新时间
  3393. type: string
  3394. userid:
  3395. description: 机构ID
  3396. type: integer
  3397. username:
  3398. description: 机构名称
  3399. type: string
  3400. warehousecode:
  3401. description: 仓库代码
  3402. type: string
  3403. warehouseinfoid:
  3404. description: 仓库ID
  3405. type: string
  3406. warehousename:
  3407. description: 仓库名称
  3408. type: string
  3409. warehousetype:
  3410. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3411. type: integer
  3412. wrstandardcode:
  3413. description: 品类代码
  3414. type: string
  3415. wrstandardid:
  3416. description: 品类ID
  3417. type: string
  3418. wrstandardname:
  3419. description: 品类名称
  3420. type: string
  3421. required:
  3422. - userid
  3423. type: object
  3424. models.Ermcp3AreaStockApply:
  3425. properties:
  3426. applyid:
  3427. description: 申请人
  3428. type: integer
  3429. applyname:
  3430. description: 申请人名称
  3431. type: string
  3432. applyremark:
  3433. description: 申请备注
  3434. type: string
  3435. applysrc:
  3436. description: 申请来源 - 1:管理端 2:终端
  3437. type: integer
  3438. applystatus:
  3439. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3440. type: integer
  3441. applytime:
  3442. description: 申请时间
  3443. type: string
  3444. auditid:
  3445. description: 审核人
  3446. type: integer
  3447. auditname:
  3448. description: 审核人名称
  3449. type: string
  3450. auditremark:
  3451. description: 审核备注
  3452. type: string
  3453. auditsrc:
  3454. description: 审核来源 - 1:管理端 2:终端
  3455. type: integer
  3456. audittime:
  3457. description: 审核时间
  3458. type: string
  3459. audittradedate:
  3460. description: 审核交易日(yyyyMMdd)
  3461. type: string
  3462. brandname:
  3463. description: 品牌名称
  3464. type: string
  3465. buynickname:
  3466. description: 采购方昵称
  3467. type: string
  3468. buyuserid:
  3469. description: 采购方userid
  3470. type: integer
  3471. buyusername:
  3472. description: 采购方名称
  3473. type: string
  3474. contractno:
  3475. description: 合同编号
  3476. type: string
  3477. contractqty:
  3478. description: 合同量
  3479. type: number
  3480. contracttype:
  3481. description: 现货合同类型 - 1:采购 -1:销售
  3482. type: integer
  3483. deliverygoodscode:
  3484. description: 现货品种代码
  3485. type: string
  3486. deliverygoodsid:
  3487. description: 现货品种id
  3488. type: integer
  3489. deliverygoodsname:
  3490. description: 现货品种名称
  3491. type: string
  3492. detailjson:
  3493. description: 明细数据
  3494. type: string
  3495. enumdicname:
  3496. description: 现货商品单位名称
  3497. type: string
  3498. inoutapplyid:
  3499. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3500. type: string
  3501. inouttype:
  3502. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3503. type: integer
  3504. pricetype:
  3505. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3506. type: integer
  3507. qty:
  3508. description: 数量
  3509. type: number
  3510. sellnickname:
  3511. description: 销售方昵称
  3512. type: string
  3513. selluserid:
  3514. description: 销售方userid
  3515. type: integer
  3516. sellusername:
  3517. description: 销售方名称
  3518. type: string
  3519. spotcontractid:
  3520. description: 关联现货合同ID
  3521. type: string
  3522. spotgoodsbrandid:
  3523. description: 现货品牌ID
  3524. type: integer
  3525. unitid:
  3526. description: 单位id
  3527. type: integer
  3528. userid:
  3529. description: 机构ID
  3530. type: integer
  3531. warehousecode:
  3532. description: 仓库代码
  3533. type: string
  3534. warehouseinfoid:
  3535. description: 现货仓库ID
  3536. type: string
  3537. warehousename:
  3538. description: 仓库名称
  3539. type: string
  3540. warehousetype:
  3541. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3542. type: integer
  3543. wrstandardcode:
  3544. description: 品类代码
  3545. type: string
  3546. wrstandardid:
  3547. description: 品类ID
  3548. type: integer
  3549. wrstandardname:
  3550. description: 品类名称
  3551. type: string
  3552. type: object
  3553. models.Ermcp3AreaStockApplySum:
  3554. properties:
  3555. brandname:
  3556. description: 品牌名称
  3557. type: string
  3558. inouttype:
  3559. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3560. type: integer
  3561. spotcontractid:
  3562. description: 关联现货合同ID
  3563. type: string
  3564. spotgoodsbrandid:
  3565. description: 品牌id
  3566. type: integer
  3567. totalqty:
  3568. description: 总数量
  3569. type: number
  3570. wrstandardid:
  3571. description: 品类id
  3572. type: integer
  3573. wrstandardname:
  3574. description: 品类名称
  3575. type: string
  3576. type: object
  3577. models.Ermcp3AreaStockReportEx:
  3578. properties:
  3579. begindate:
  3580. description: 开始交易日
  3581. type: string
  3582. brandname:
  3583. description: 品牌名称
  3584. type: string
  3585. curstock:
  3586. description: 期末库存量
  3587. type: number
  3588. cycletime:
  3589. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3590. type: string
  3591. cycletype:
  3592. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3593. type: integer
  3594. deliverygoodscode:
  3595. description: 现货品种代码
  3596. type: string
  3597. deliverygoodsid:
  3598. description: 现货品种id
  3599. type: integer
  3600. deliverygoodsname:
  3601. description: 现货品种名称
  3602. type: string
  3603. diffqty:
  3604. description: 库存变化量 = 期末 - 期初
  3605. type: number
  3606. enddate:
  3607. description: 结束交易日
  3608. type: string
  3609. enumdicname:
  3610. description: 单位名称
  3611. type: string
  3612. goodsunitid:
  3613. description: 现货单位id
  3614. type: integer
  3615. oristock:
  3616. description: 期初库存量
  3617. type: number
  3618. reckondate:
  3619. description: 日照时期(yyyyMMdd)
  3620. type: string
  3621. spotgoodsbrandid:
  3622. description: 现货品牌ID
  3623. type: integer
  3624. todaybuyinqty:
  3625. description: 今采购入库量
  3626. type: number
  3627. todayproduceinqty:
  3628. description: 今内部入库量
  3629. type: number
  3630. todayproduceoutqty:
  3631. description: 今内部出库量
  3632. type: number
  3633. todayselloutqty:
  3634. description: 今销售出库量
  3635. type: number
  3636. unbuyinqty:
  3637. description: 采购未入库量(数据库未找到相关字段?)
  3638. type: number
  3639. unitid:
  3640. description: 品类单位id
  3641. type: integer
  3642. unselloutqty:
  3643. description: 销售未出库量(数据库未找到相关字段?)
  3644. type: number
  3645. updatetime:
  3646. description: 更新时间
  3647. type: string
  3648. userid:
  3649. description: 机构ID
  3650. type: integer
  3651. username:
  3652. description: 机构名称
  3653. type: string
  3654. warehousecode:
  3655. description: 仓库代码
  3656. type: string
  3657. warehouseinfoid:
  3658. description: 仓库ID
  3659. type: string
  3660. warehousename:
  3661. description: 仓库名称
  3662. type: string
  3663. warehousetype:
  3664. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3665. type: integer
  3666. wrstandardcode:
  3667. description: 品类代码
  3668. type: string
  3669. wrstandardid:
  3670. description: 品类ID
  3671. type: integer
  3672. wrstandardname:
  3673. description: 品类名称
  3674. type: string
  3675. type: object
  3676. models.Ermcp3ArealSumPL:
  3677. properties:
  3678. accountname:
  3679. description: 机构名称
  3680. type: string
  3681. areauserid:
  3682. description: 所属机构\交易用户ID
  3683. type: integer
  3684. begindate:
  3685. description: 开始交易日
  3686. type: string
  3687. currencyid:
  3688. description: 结算币种ID
  3689. type: integer
  3690. currencyname:
  3691. description: 币种名称
  3692. type: string
  3693. cycletime:
  3694. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3695. type: string
  3696. cycletype:
  3697. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3698. type: integer
  3699. enddate:
  3700. description: 结束交易日
  3701. type: string
  3702. enumdicname:
  3703. description: 单位名称(套保品种)
  3704. type: string
  3705. futureactualpl:
  3706. description: 期货损益
  3707. type: number
  3708. futurefloatpl:
  3709. description: 期货浮动损益
  3710. type: number
  3711. goodsunitid:
  3712. description: 套保品种单位id
  3713. type: integer
  3714. middlegoodscode:
  3715. description: 套保品种代码
  3716. type: string
  3717. middlegoodsid:
  3718. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3719. type: integer
  3720. middlegoodsname:
  3721. description: 套保品种名称
  3722. type: string
  3723. reckondate:
  3724. description: 日照时期(yyyyMMdd)
  3725. type: string
  3726. spotactualpl:
  3727. description: 现货损益
  3728. type: number
  3729. spotfloatpl:
  3730. description: 现货浮动损益
  3731. type: number
  3732. sumactualpl:
  3733. description: 实际损益 = (ActualPL + FutureActualPL)
  3734. type: number
  3735. sumpl:
  3736. description: 汇总损益
  3737. type: number
  3738. updatetime:
  3739. description: 更新时间
  3740. type: string
  3741. type: object
  3742. models.Ermcp3Brand:
  3743. properties:
  3744. areauserid:
  3745. description: 用户id
  3746. type: integer
  3747. brandid:
  3748. description: 品牌id
  3749. type: integer
  3750. brandname:
  3751. description: 品牌名称
  3752. type: string
  3753. deliverygoodsid:
  3754. description: 品种ID
  3755. type: integer
  3756. type: object
  3757. models.Ermcp3Contract:
  3758. properties:
  3759. accountid:
  3760. description: 期货账户id
  3761. type: string
  3762. amount:
  3763. description: 金额 [1:一口价、3:暂定价]
  3764. type: number
  3765. attachment:
  3766. description: 附件
  3767. type: string
  3768. auditremark:
  3769. description: 审核意见
  3770. type: string
  3771. audittime:
  3772. description: 审核时间
  3773. type: string
  3774. biztype:
  3775. description: 业务类型 1-套保 2-套利
  3776. type: integer
  3777. brandname:
  3778. description: 品牌名称
  3779. type: string
  3780. buynickname:
  3781. description: 销售方昵称
  3782. type: string
  3783. buyuserid:
  3784. description: 采购方ID
  3785. type: integer
  3786. buyusername:
  3787. description: 采购方名称
  3788. type: string
  3789. contracctstatus:
  3790. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3791. type: integer
  3792. contractmargin:
  3793. description: 合同保证金
  3794. type: number
  3795. contractno:
  3796. description: 现货合同编号
  3797. type: string
  3798. contracttype:
  3799. description: 现货合同类型 - 1:采购 -1:销售
  3800. type: integer
  3801. convertfactor:
  3802. description: 标仓系数(品类)
  3803. type: number
  3804. createtime:
  3805. description: 创建时间
  3806. type: string
  3807. currencyid:
  3808. description: 币种id
  3809. type: integer
  3810. currencyname:
  3811. description: 币种名称
  3812. type: string
  3813. deliveryenddate:
  3814. description: 交收期(结束)
  3815. type: string
  3816. deliverygoodscode:
  3817. description: 现货品种代码
  3818. type: string
  3819. deliverygoodsid:
  3820. description: 现货品种ID
  3821. type: integer
  3822. deliverygoodsname:
  3823. description: 现货品种名称
  3824. type: string
  3825. deliverystartdate:
  3826. description: 交收期(开始)
  3827. type: string
  3828. enddate:
  3829. description: 点价结束日期 [2:点价 3:暂定价]
  3830. type: string
  3831. enumdicname:
  3832. description: 单位名称
  3833. type: string
  3834. goodscode:
  3835. description: 点价合约代码
  3836. type: string
  3837. goodsid:
  3838. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3839. type: integer
  3840. goodsname:
  3841. description: 点价商品名称
  3842. type: string
  3843. margin:
  3844. description: 当前保证金
  3845. type: number
  3846. meruserid:
  3847. description: 跟单员id
  3848. type: integer
  3849. meruserlogincode:
  3850. description: 跟单员登录代码
  3851. type: string
  3852. price:
  3853. description: 价格\暂定价 [1:一口价、3:暂定价]
  3854. type: number
  3855. pricemove:
  3856. description: 升贴水 [2:点价 3:暂定价]
  3857. type: number
  3858. pricetype:
  3859. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3860. type: integer
  3861. producttype:
  3862. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3863. type: integer
  3864. qty:
  3865. description: 数量
  3866. type: number
  3867. remark:
  3868. description: 备注
  3869. type: string
  3870. saleuserid:
  3871. description: 业务员id
  3872. type: integer
  3873. saleuserlogincode:
  3874. description: 业务员登录代码
  3875. type: string
  3876. sellnickname:
  3877. description: 采购方昵称
  3878. type: string
  3879. selluserid:
  3880. description: 销售方ID
  3881. type: integer
  3882. sellusername:
  3883. description: 销售方名称
  3884. type: string
  3885. spotcontractid:
  3886. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3887. type: string
  3888. spotgoodsbrandid:
  3889. description: 现货品牌ID(DGFactoryItem表的ID)
  3890. type: integer
  3891. spotgoodsdesc:
  3892. description: 商品型号
  3893. type: string
  3894. startdate:
  3895. description: 点价开始日期 [2:点价 3:暂定价]
  3896. type: string
  3897. tradeuserid:
  3898. description: 交易员id
  3899. type: integer
  3900. tradeuserlogincode:
  3901. description: 交易员登录代码
  3902. type: string
  3903. tradeusername:
  3904. description: 交易员名称
  3905. type: string
  3906. unitid:
  3907. description: 单位id(取品类上的单位id)
  3908. type: integer
  3909. updatetime:
  3910. description: 更新时间
  3911. type: string
  3912. userid:
  3913. description: 所属机构ID
  3914. type: integer
  3915. wrstandardcode:
  3916. description: 品类代码
  3917. type: string
  3918. wrstandardid:
  3919. description: 品类ID
  3920. type: integer
  3921. wrstandardname:
  3922. description: 品类名称
  3923. type: string
  3924. type: object
  3925. models.Ermcp3ExposureContractDetail:
  3926. properties:
  3927. biztype:
  3928. description: 业务类型 1-套保 2-套利
  3929. type: integer
  3930. brandname:
  3931. description: 品牌名称
  3932. type: string
  3933. buyuserid:
  3934. description: 采购方id
  3935. type: integer
  3936. buyusername:
  3937. description: 采购方名称
  3938. type: string
  3939. contractno:
  3940. description: 合同编号
  3941. type: string
  3942. contracttype:
  3943. description: 现货合同类型 - 1:采购 -1:销售
  3944. type: integer
  3945. convertfactor:
  3946. description: 标仓系数
  3947. type: number
  3948. convertratio:
  3949. description: 折算系数(套保品种)
  3950. type: number
  3951. curqty:
  3952. description: 今定价量
  3953. type: number
  3954. deliverygoodscode:
  3955. description: 现货商品代码
  3956. type: string
  3957. deliverygoodsid:
  3958. description: 现货商品id
  3959. type: integer
  3960. deliverygoodsname:
  3961. description: 现货商品名称
  3962. type: string
  3963. diffhedgeqty:
  3964. description: 套保变动量
  3965. type: number
  3966. diffneedhedgeqty:
  3967. description: 应套保变动量
  3968. type: number
  3969. diffqty:
  3970. description: 套保品种今变动量
  3971. type: number
  3972. enumdicname:
  3973. description: 单位名称
  3974. type: string
  3975. middlegoodscode:
  3976. description: 套保品种代码
  3977. type: string
  3978. middlegoodsid:
  3979. description: 套保品种id
  3980. type: integer
  3981. middlegoodsname:
  3982. description: 套保品种名称
  3983. type: string
  3984. needarbitrageratio:
  3985. description: 应套利比例
  3986. type: number
  3987. needhedgeratio:
  3988. description: 应套保比例
  3989. type: number
  3990. pricedqty:
  3991. description: 已定价量
  3992. type: number
  3993. qty:
  3994. description: 合同量
  3995. type: number
  3996. selluserid:
  3997. description: 销售方id
  3998. type: integer
  3999. sellusername:
  4000. description: 销售方名称
  4001. type: string
  4002. spotcontractid:
  4003. description: 合同id
  4004. type: string
  4005. todaypricedqty:
  4006. description: 今定价量
  4007. type: number
  4008. tradedate:
  4009. description: 交易日
  4010. type: string
  4011. unitid:
  4012. description: 品类单位id
  4013. type: integer
  4014. userid:
  4015. description: 机构id
  4016. type: integer
  4017. wrstandardcode:
  4018. description: 品类代码
  4019. type: string
  4020. wrstandardid:
  4021. description: 品类id
  4022. type: integer
  4023. wrstandardname:
  4024. description: 品类名称
  4025. type: string
  4026. type: object
  4027. models.Ermcp3ExposureDetail:
  4028. properties:
  4029. areauserid:
  4030. description: 机构ID
  4031. type: integer
  4032. changeQty:
  4033. description: 套保变动量
  4034. type: number
  4035. contracttype:
  4036. description: 现货合同类型 - 1:采购 -1:销售
  4037. type: integer
  4038. convertfactor:
  4039. description: 标仓系数
  4040. type: number
  4041. convertratio:
  4042. description: 套保系数
  4043. type: number
  4044. createtime:
  4045. description: 时间
  4046. type: string
  4047. deliverygoodscode:
  4048. description: 现货品种代码
  4049. type: string
  4050. deliverygoodsid:
  4051. description: 现货品种id
  4052. type: integer
  4053. deliverygoodsname:
  4054. description: 现货品种名称
  4055. type: string
  4056. enumdicname:
  4057. description: 现货商品单位名称
  4058. type: string
  4059. logtype:
  4060. description: 类型 - 1:套保计划 2:现货合同
  4061. type: integer
  4062. mgunitid:
  4063. description: 套保品种单位id
  4064. type: integer
  4065. mgunitidname:
  4066. description: 套保品种单位名称
  4067. type: string
  4068. middlegoodsId:
  4069. description: 套保商品id
  4070. type: integer
  4071. middlegoodscode:
  4072. description: 套保商品代码
  4073. type: string
  4074. middlegoodsname:
  4075. description: 套保商品名称
  4076. type: string
  4077. qty:
  4078. description: 数量
  4079. type: number
  4080. relateNo:
  4081. description: 现货合同/套保计划编号
  4082. type: string
  4083. type: object
  4084. models.Ermcp3ExposureFutuDetail:
  4085. properties:
  4086. accountid:
  4087. description: 交易账户id
  4088. type: integer
  4089. accountname:
  4090. description: 交易账户
  4091. type: string
  4092. begindate:
  4093. description: 开始交易日
  4094. type: string
  4095. buyorsell:
  4096. description: 方向 0-买 1-卖
  4097. type: integer
  4098. diffmgqty:
  4099. description: 套保品种今变化量
  4100. type: number
  4101. diffneedqty:
  4102. description: 应套保总量变化量
  4103. type: number
  4104. difftradeqty:
  4105. description: 交易品种今变化量
  4106. type: number
  4107. enddate:
  4108. description: 结束交易日
  4109. type: string
  4110. enumdicname:
  4111. description: 单位名称
  4112. type: string
  4113. goodscode:
  4114. description: 商品代码
  4115. type: string
  4116. goodsid:
  4117. description: 商品id
  4118. type: integer
  4119. goodsname:
  4120. description: 商品名称
  4121. type: string
  4122. holdqty:
  4123. description: 期末持仓量
  4124. type: number
  4125. middlegoodscode:
  4126. description: 套保商品代码
  4127. type: string
  4128. middlegoodsid:
  4129. description: 套保商品id
  4130. type: integer
  4131. middlegoodsname:
  4132. description: 套保商品名称
  4133. type: string
  4134. oriholdqty:
  4135. description: 期初持仓量
  4136. type: number
  4137. todaycloseqty:
  4138. description: 今平仓量
  4139. type: number
  4140. todayopenqty:
  4141. description: 今开仓量
  4142. type: number
  4143. tradedate:
  4144. description: 交易日
  4145. type: string
  4146. type: object
  4147. models.Ermcp3ExposureHedgeplanDetail:
  4148. properties:
  4149. biztype:
  4150. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4151. type: integer
  4152. changqty:
  4153. description: 应套保总量变化量
  4154. type: number
  4155. contracttype:
  4156. description: 计划类型 - 1:采购 -1:销售
  4157. type: integer
  4158. convertratio:
  4159. description: 折算系数(套保品种)
  4160. type: number
  4161. deliverygoodscode:
  4162. description: 现货商品代码
  4163. type: string
  4164. deliverygoodsid:
  4165. description: 现货商品id
  4166. type: integer
  4167. deliverygoodsname:
  4168. description: 现货商吕名称
  4169. type: string
  4170. dgunitid:
  4171. description: 现货商品单位id
  4172. type: integer
  4173. dgunitidname:
  4174. description: 单位名称(现货商品)
  4175. type: string
  4176. diffqty:
  4177. description: 套保品种今变动量
  4178. type: number
  4179. enumdicname:
  4180. description: 单位名称(品类)
  4181. type: string
  4182. hedgeplanid:
  4183. description: 套保计划id
  4184. type: string
  4185. hedgeplanno:
  4186. description: 套保计划名称
  4187. type: string
  4188. hedgeplanstatus:
  4189. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4190. type: integer
  4191. mgunitidname:
  4192. description: 单位名称(套保商品)
  4193. type: string
  4194. middlegoodscode:
  4195. description: 套保品种代码
  4196. type: string
  4197. middlegoodsid:
  4198. description: 套保品种id
  4199. type: integer
  4200. middlegoodsname:
  4201. description: 套保品种名称
  4202. type: string
  4203. needarbitrageratio:
  4204. description: 应套利比例
  4205. type: number
  4206. needhedgeratio:
  4207. description: 应套保比例
  4208. type: number
  4209. pricedqty:
  4210. description: 已定价量
  4211. type: number
  4212. qty:
  4213. description: 合同量
  4214. type: number
  4215. tradedate:
  4216. description: 交易日(登记日)
  4217. type: string
  4218. unitid:
  4219. description: 品类单位id
  4220. type: integer
  4221. userid:
  4222. description: 机构id
  4223. type: integer
  4224. wrstandardcode:
  4225. description: 品类代码
  4226. type: string
  4227. wrstandardid:
  4228. description: 品类id
  4229. type: integer
  4230. wrstandardname:
  4231. description: 品类名称
  4232. type: string
  4233. type: object
  4234. models.Ermcp3ExpourseReport:
  4235. properties:
  4236. accountid:
  4237. description: 期货账户ID (作废, 默认为0)
  4238. type: integer
  4239. accountname:
  4240. description: 机构名称
  4241. type: string
  4242. arbitrageqty:
  4243. description: 套利量
  4244. type: number
  4245. areauserid:
  4246. description: 所属机构\交易用户ID
  4247. type: integer
  4248. begindate:
  4249. description: 开始交易日
  4250. type: string
  4251. buyfutureqty:
  4252. description: 买入期货数量
  4253. type: number
  4254. buyplanqty:
  4255. description: 采购计划数量
  4256. type: number
  4257. buypricedqty:
  4258. description: 采购合同已定价数量
  4259. type: number
  4260. cycletime:
  4261. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4262. type: string
  4263. cycletype:
  4264. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4265. type: integer
  4266. diffexposure:
  4267. description: 变动量(套保敞口)
  4268. type: number
  4269. difffutuqty:
  4270. description: 变动量(期货)
  4271. type: number
  4272. diffhedgeqty:
  4273. description: 变动量(现货应套保总量)
  4274. type: number
  4275. diffmgqtya:
  4276. description: 套保变动量
  4277. type: number
  4278. diffmgqtyb:
  4279. description: 套利变动量
  4280. type: number
  4281. diffqty:
  4282. description: 变动量(总敞口)
  4283. type: number
  4284. diffspotqty:
  4285. description: 变动量(现货)
  4286. type: number
  4287. enddate:
  4288. description: 结束交易日
  4289. type: string
  4290. enumdicname:
  4291. description: 单位名称
  4292. type: string
  4293. hedgeqty:
  4294. description: 套保量
  4295. type: number
  4296. mgneedhedgeratio:
  4297. description: 套保比例(套保品的)
  4298. type: number
  4299. middlegoodsid:
  4300. description: 套保品种ID
  4301. type: integer
  4302. middlegoodsname:
  4303. description: 套保商品名称
  4304. type: string
  4305. middlgoodscode:
  4306. description: 套保商品代码
  4307. type: string
  4308. needarbitrageqty:
  4309. description: 应套利量
  4310. type: number
  4311. needarbitrageratio:
  4312. description: 套利比例(套保品的)
  4313. type: number
  4314. needhedgeexposoure:
  4315. description: 应套保敞口(套保敞口)
  4316. type: number
  4317. needhedgeqty:
  4318. description: 应套保量
  4319. type: number
  4320. needhedgeratio:
  4321. description: 应套保敞口比例
  4322. type: number
  4323. oriarbitrageqty:
  4324. description: 期初套利量
  4325. type: number
  4326. oribuyfutureqty:
  4327. description: 期初买入期货数量
  4328. type: number
  4329. oribuyplanqty:
  4330. description: 期初采购计划数量
  4331. type: number
  4332. oribuypricedqty:
  4333. description: 期初采购合同已定价数量
  4334. type: number
  4335. orihedgeqty:
  4336. description: 期初套保量
  4337. type: number
  4338. orineedarbitrageqty:
  4339. description: 期初应套利量
  4340. type: number
  4341. orineedhedgeexposoure:
  4342. description: 期初应套保敞口
  4343. type: number
  4344. orineedhedgeqty:
  4345. description: 期初应套保量
  4346. type: number
  4347. orisellfutureqty:
  4348. description: 期初卖出期货数量
  4349. type: number
  4350. orisellplanqty:
  4351. description: 期初销售计划数量
  4352. type: number
  4353. orisellpricedqty:
  4354. description: 期初销售合同已定价数量
  4355. type: number
  4356. oritotalexposure:
  4357. description: 期初实时总敞口
  4358. type: number
  4359. oritotalfutureqty:
  4360. description: 期初期货头寸总量
  4361. type: number
  4362. oritotalneedhedgeqty:
  4363. description: 期初应套保总量
  4364. type: number
  4365. oritotalspotqty:
  4366. description: 期初现货头寸总量
  4367. type: number
  4368. reckondate:
  4369. description: 日照时期(yyyyMMdd)
  4370. type: string
  4371. sellfutureqty:
  4372. description: 卖出期货数量
  4373. type: number
  4374. sellplanqty:
  4375. description: 销售计划数量
  4376. type: number
  4377. sellpricedqty:
  4378. description: 销售合同已定价数量
  4379. type: number
  4380. totalexposure:
  4381. description: 实时总敞口(总敞口)
  4382. type: number
  4383. totalfutureqty:
  4384. description: 期货头寸总量(期货总量)
  4385. type: number
  4386. totalhedgeratio:
  4387. description: 敞口比例
  4388. type: number
  4389. totalneedhedgeqty:
  4390. description: 应套保总量(现货应套保总量)
  4391. type: number
  4392. totalspotqty:
  4393. description: 现货头寸总量
  4394. type: number
  4395. unitid:
  4396. description: 单位id
  4397. type: integer
  4398. updatetime:
  4399. description: 更新时间
  4400. type: string
  4401. type: object
  4402. models.Ermcp3FinanceReport:
  4403. properties:
  4404. accountname:
  4405. description: 机构名称
  4406. type: string
  4407. areauserid:
  4408. description: 所属机构\交易用户ID
  4409. type: integer
  4410. begindate:
  4411. description: 开始交易日
  4412. type: string
  4413. biztype:
  4414. description: 业务类型 - 1:套保 2:套利
  4415. type: integer
  4416. brandname:
  4417. description: 品牌名称
  4418. type: string
  4419. buypreinvoicedamount:
  4420. description: 采购预收票额(预收票额)
  4421. type: number
  4422. buyprepaidamount:
  4423. description: 采购预付款额(预付货款额)
  4424. type: number
  4425. buytodayinvoiceamount:
  4426. description: 采购今收票额(今收票额)
  4427. type: number
  4428. buytodayrefundamount:
  4429. description: 采购今收退款额(今收退款额)
  4430. type: number
  4431. buytodaysettleamount:
  4432. description: 采购今付款额(今付货款额)
  4433. type: number
  4434. buyuninvoicedamount:
  4435. description: 采购应收票额(应收票额)
  4436. type: number
  4437. buyunpaidamount:
  4438. description: 采购应付款额(应付货款额)
  4439. type: number
  4440. currencyid:
  4441. description: 结算币种ID
  4442. type: integer
  4443. currencyname:
  4444. description: 币种名称
  4445. type: string
  4446. cycletime:
  4447. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4448. type: string
  4449. cycletype:
  4450. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4451. type: integer
  4452. deliverygoodscode:
  4453. description: 现货品种代码
  4454. type: string
  4455. deliverygoodsid:
  4456. description: 现货品种ID
  4457. type: integer
  4458. deliverygoodsname:
  4459. description: 现货品种名称
  4460. type: string
  4461. enddate:
  4462. description: 结束交易日
  4463. type: string
  4464. reckondate:
  4465. description: 日照时期(yyyyMMdd)
  4466. type: string
  4467. sellpreinvoicedamount:
  4468. description: 销售预开票额(预开票额)
  4469. type: number
  4470. sellprepaidamount:
  4471. description: 销售预收款额(预收货款额)
  4472. type: number
  4473. selltodayinvoiceamount:
  4474. description: 销售今开票额(今开票额)
  4475. type: number
  4476. selltodayrefundamount:
  4477. description: 销售今付退款额(今付退款额)
  4478. type: number
  4479. selltodaysettleamount:
  4480. description: 销售今收款额(今收货款额)
  4481. type: number
  4482. selluninvoicedamount:
  4483. description: 销售应开票额(应开票额)
  4484. type: number
  4485. sellunpaidamount:
  4486. description: 销售应收款额(应收货款额)
  4487. type: number
  4488. spotgoodsbrandid:
  4489. description: 现货品牌ID
  4490. type: integer
  4491. todaypaysum:
  4492. description: 今付款合计
  4493. type: number
  4494. todayreceivesum:
  4495. description: 今收款合计
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. wrfactortypeid:
  4501. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 现货商品ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3Goods:
  4514. properties:
  4515. agreeunit:
  4516. description: 合约单位(合约乘数)
  4517. type: number
  4518. enumdicname:
  4519. description: 单位名称
  4520. type: string
  4521. exexchangecode:
  4522. description: 交易所代码
  4523. type: string
  4524. goodscode:
  4525. description: 期货商品代码
  4526. type: string
  4527. goodsid:
  4528. description: 期货商品id
  4529. type: integer
  4530. goodsname:
  4531. description: 期货商品名称
  4532. type: string
  4533. type: object
  4534. models.Ermcp3GoodsGroup:
  4535. properties:
  4536. agreeunit:
  4537. description: 合约单位
  4538. type: number
  4539. areauserid:
  4540. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4541. type: integer
  4542. canshort:
  4543. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4544. type: integer
  4545. closepricemode:
  4546. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4547. type: integer
  4548. createtime:
  4549. description: 创建时间
  4550. type: string
  4551. creatorid:
  4552. description: 创建人
  4553. type: integer
  4554. currencyid:
  4555. description: 报价货币ID
  4556. type: integer
  4557. decimalplace:
  4558. description: 报价小数位
  4559. type: integer
  4560. enumdicname:
  4561. description: 单位名称
  4562. type: string
  4563. exchangefullname:
  4564. description: 交易所全称
  4565. type: string
  4566. excludecfg:
  4567. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4568. type: integer
  4569. exexchangecode:
  4570. description: 交易所代码
  4571. type: string
  4572. exexchangeid:
  4573. description: 外部交易所ID[通道交易]
  4574. type: integer
  4575. exexchangename:
  4576. description: 交易所名称
  4577. type: string
  4578. goodsgroupid:
  4579. description: 商品组ID(自增ID)
  4580. type: integer
  4581. goodsgroupname:
  4582. description: 商品组名称
  4583. type: string
  4584. goodsgroupstatus:
  4585. description: 商品组状态 - 1:正常 2:注销
  4586. type: integer
  4587. goodunitid:
  4588. description: 报价单位ID
  4589. type: integer
  4590. groupcategroyid:
  4591. description: 品种分类ID
  4592. type: integer
  4593. innerdealmode:
  4594. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4595. type: integer
  4596. marketid:
  4597. description: 所属市场ID
  4598. type: integer
  4599. modifierid:
  4600. description: 修改人
  4601. type: integer
  4602. modifytime:
  4603. description: 修改时间
  4604. type: string
  4605. outerdealmode:
  4606. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4607. type: integer
  4608. outergroupcode:
  4609. description: 外部商品组代码[通道交易]
  4610. type: string
  4611. quoteminunit:
  4612. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4613. type: integer
  4614. quotesourcegroupid:
  4615. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4616. type: integer
  4617. syncgoodsqty:
  4618. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4619. type: integer
  4620. required:
  4621. - areauserid
  4622. type: object
  4623. models.Ermcp3GoodsGroupEx:
  4624. properties:
  4625. convertratio:
  4626. description: 折算系数(品种系数)
  4627. type: number
  4628. enumdicname:
  4629. description: 单位名称
  4630. type: string
  4631. exexchangecode:
  4632. description: 交易所代码
  4633. type: string
  4634. glist:
  4635. description: 合约列表
  4636. items:
  4637. $ref: '#/definitions/models.Ermcp3Goods'
  4638. type: array
  4639. goodsgroupid:
  4640. description: 商品组id
  4641. type: integer
  4642. goodsgroupname:
  4643. description: 商品组名称
  4644. type: string
  4645. goodsunitid:
  4646. description: 单位id
  4647. type: integer
  4648. middlegoodsid:
  4649. description: 套保商品id
  4650. type: integer
  4651. type: object
  4652. models.Ermcp3HedgePlan:
  4653. properties:
  4654. accountid:
  4655. description: 资金账号
  4656. type: integer
  4657. areauserid:
  4658. description: 用户ID
  4659. type: integer
  4660. audittime:
  4661. description: 审核时间
  4662. type: string
  4663. contracttype:
  4664. description: 计划类型 - 1:采购 -1:销售
  4665. type: integer
  4666. convertfactor:
  4667. description: 标仓系数
  4668. type: number
  4669. createtime:
  4670. description: 创建时间
  4671. type: string
  4672. currencyid:
  4673. description: 币种id
  4674. type: integer
  4675. currencyname:
  4676. description: 币种名称
  4677. type: string
  4678. deliverygoodscode:
  4679. description: 现货品种代码
  4680. type: string
  4681. deliverygoodsid:
  4682. description: 现货品种ID
  4683. type: integer
  4684. deliverygoodsname:
  4685. description: 现货品种名称
  4686. type: string
  4687. enumdicname:
  4688. description: 单位名称(现货商品)
  4689. type: string
  4690. hedgeplanid:
  4691. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4692. type: string
  4693. hedgeplanno:
  4694. description: 套保计划编号(名称)
  4695. type: string
  4696. hedgeplanstatus:
  4697. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4698. type: integer
  4699. planqty:
  4700. description: 计划数量
  4701. type: number
  4702. plantime:
  4703. description: 计划时间
  4704. type: string
  4705. producttype:
  4706. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4707. type: integer
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. spotgoodsdesc:
  4712. description: 商品型号
  4713. type: string
  4714. taaccountname:
  4715. description: 资金账号名称
  4716. type: string
  4717. tradeuserid:
  4718. description: 交易用户id
  4719. type: integer
  4720. tradeusername:
  4721. description: 交易用户名称
  4722. type: string
  4723. unitid:
  4724. description: 单位id(现货商品)
  4725. type: integer
  4726. updatetime:
  4727. description: 更新时间
  4728. type: string
  4729. wrstandardcode:
  4730. description: 品类代码
  4731. type: string
  4732. wrstandardid:
  4733. description: 品类id
  4734. type: integer
  4735. wrstandardname:
  4736. description: 品类名称
  4737. type: string
  4738. wrunitid:
  4739. description: 品类单位id
  4740. type: integer
  4741. wrunitidame:
  4742. description: 品类单位名称
  4743. type: string
  4744. type: object
  4745. models.Ermcp3MiddleGoodsDetail2:
  4746. properties:
  4747. convertratio:
  4748. description: 套保系数(折算系数)
  4749. type: number
  4750. gplist:
  4751. description: 关联商品组列表
  4752. items:
  4753. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4754. type: array
  4755. mg:
  4756. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4757. description: 套保商品信息
  4758. type: object
  4759. type: object
  4760. models.Ermcp3MiddleGoodsDetailEx:
  4761. properties:
  4762. dglist:
  4763. description: 关联的现货品种列表
  4764. items:
  4765. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4766. type: array
  4767. gplist:
  4768. description: 关联商品组列表
  4769. items:
  4770. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4771. type: array
  4772. mg:
  4773. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4774. description: 套保商品信息
  4775. type: object
  4776. type: object
  4777. models.Ermcp3RootUserAccount:
  4778. properties:
  4779. accountname:
  4780. description: 账户名称(机构名称)
  4781. type: string
  4782. accountstatus:
  4783. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4784. type: integer
  4785. applysrc:
  4786. description: 申请来源 - 1:管理端 2:终端
  4787. type: integer
  4788. auditremark:
  4789. description: 审核备注
  4790. type: string
  4791. auditsrc:
  4792. description: 审核来源 - 1:管理端 2:终端
  4793. type: integer
  4794. audittime:
  4795. description: 审核时间
  4796. type: string
  4797. audituserid:
  4798. description: 审核人
  4799. type: integer
  4800. broker:
  4801. description: 所属经纪人ID
  4802. type: integer
  4803. canceltime:
  4804. description: 销户时间
  4805. type: string
  4806. canceluserid:
  4807. description: 销户人
  4808. type: integer
  4809. canrecommend:
  4810. description: 是否可推荐 - 0:不可 1;可
  4811. type: integer
  4812. createtime:
  4813. description: 创建时间
  4814. type: string
  4815. creatorid:
  4816. description: 创建人
  4817. type: integer
  4818. hasauth:
  4819. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4820. type: integer
  4821. isanonymous:
  4822. description: 是否匿名下单 - 0:否 1:是
  4823. type: integer
  4824. maxinvestornum:
  4825. description: 最大用户数(经纪会员下投资者个数)
  4826. type: integer
  4827. memberuserid:
  4828. description: 所属会员ID
  4829. type: integer
  4830. modifierid:
  4831. description: 修改人
  4832. type: integer
  4833. modifyremark:
  4834. description: 变更备注
  4835. type: string
  4836. modifystatus:
  4837. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4838. type: integer
  4839. modifytime:
  4840. description: 修改时间
  4841. type: string
  4842. parenttopuser:
  4843. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4844. type: string
  4845. parentuserid:
  4846. description: 所属机构ID
  4847. type: integer
  4848. reckonaccountid:
  4849. description: 默认结算资金账号ID(机构分润使用) 作废
  4850. type: integer
  4851. refercount:
  4852. description: 推荐总人数
  4853. type: integer
  4854. refereeuserid:
  4855. description: 推荐人ID
  4856. type: integer
  4857. refernum:
  4858. description: 推荐码
  4859. type: string
  4860. rootuserid:
  4861. description: 根用户ID
  4862. type: integer
  4863. subaccountlevel:
  4864. description: 子账户层数
  4865. type: integer
  4866. subarealevelpath:
  4867. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4868. type: string
  4869. userid:
  4870. description: 用户ID
  4871. type: integer
  4872. usertype:
  4873. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4874. type: integer
  4875. type: object
  4876. models.Ermcp3SellBuyContract:
  4877. properties:
  4878. accountid:
  4879. description: 期货账户id
  4880. type: string
  4881. accountname:
  4882. description: 账户名称
  4883. type: string
  4884. attachment:
  4885. description: 附件
  4886. type: string
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. biztype:
  4891. description: 业务类型 1-套保 2-套利
  4892. type: integer
  4893. brandname:
  4894. description: 品牌名称
  4895. type: string
  4896. contracctstatus:
  4897. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4898. type: integer
  4899. contractmargin:
  4900. description: 合同保证金
  4901. type: number
  4902. contractno:
  4903. description: 合同编号
  4904. type: string
  4905. contracttype:
  4906. description: 合同类型 1-采购, -1-销售
  4907. type: integer
  4908. convertfactor:
  4909. description: 标仓系数(品类)
  4910. type: number
  4911. createtime:
  4912. description: 创建时间
  4913. type: string
  4914. currencyid:
  4915. description: 币种id
  4916. type: integer
  4917. currencyname:
  4918. description: 币种名称
  4919. type: string
  4920. daikaiamount:
  4921. description: 应收(开)票额
  4922. type: number
  4923. deliveryenddate:
  4924. description: 交割结束日
  4925. type: string
  4926. deliverygoodscode:
  4927. description: 现货品种代码
  4928. type: string
  4929. deliverygoodsid:
  4930. description: 现货商品ID
  4931. type: integer
  4932. deliverygoodsname:
  4933. description: 现货品种名称
  4934. type: string
  4935. deliverystartdate:
  4936. description: 交割开始日
  4937. type: string
  4938. enddate:
  4939. description: 点价结束日
  4940. type: string
  4941. enumdicname:
  4942. description: 单位名称
  4943. type: string
  4944. goodscode:
  4945. description: 点价商品代码
  4946. type: string
  4947. goodsid:
  4948. description: 点价商品ID
  4949. type: integer
  4950. goodsname:
  4951. description: 点价商品名称
  4952. type: string
  4953. invoiceamount:
  4954. description: 已开票额
  4955. type: number
  4956. loanamount:
  4957. description: 贷款总额=已定价额+调整金额
  4958. type: number
  4959. margin:
  4960. description: 保证金
  4961. type: number
  4962. meruserid:
  4963. description: 跟单员id
  4964. type: integer
  4965. meruserlogincode:
  4966. description: 跟单员登录代码
  4967. type: string
  4968. nickname:
  4969. description: 账户昵称
  4970. type: string
  4971. payamount:
  4972. description: 已收付额(收款或付款)
  4973. type: number
  4974. preinvoiceamount:
  4975. description: 预收(开)票额
  4976. type: number
  4977. prepayamount:
  4978. description: 预收付额
  4979. type: number
  4980. price:
  4981. description: 价格
  4982. type: number
  4983. pricedamount:
  4984. description: 已定价额
  4985. type: number
  4986. pricedavg:
  4987. description: 已点均价
  4988. type: number
  4989. pricedqty:
  4990. description: 已定价量
  4991. type: number
  4992. pricemove:
  4993. description: 升贴水
  4994. type: number
  4995. pricetype:
  4996. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4997. type: integer
  4998. producttype:
  4999. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5000. type: integer
  5001. qty:
  5002. description: 合同量
  5003. type: number
  5004. reckonadjustamount:
  5005. description: 调整金额
  5006. type: number
  5007. reckonedamount:
  5008. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5009. type: number
  5010. reckonotheramount:
  5011. description: 其它费用
  5012. type: number
  5013. reckonrealqty:
  5014. description: 已确定量
  5015. type: number
  5016. remark:
  5017. description: 备注
  5018. type: string
  5019. saleuserid:
  5020. description: 业务员id
  5021. type: integer
  5022. saleuserlogincode:
  5023. description: 业务员登录代码
  5024. type: string
  5025. spotcontractid:
  5026. description: 合同ID
  5027. type: string
  5028. spotgoodsbrandid:
  5029. description: 现货品牌ID(DGFactoryItem表的ID)
  5030. type: integer
  5031. spotgoodsdesc:
  5032. description: 商品型号(商品规格)
  5033. type: string
  5034. startdate:
  5035. description: 点价开始日
  5036. type: string
  5037. totalamount:
  5038. description: 合计总额
  5039. type: number
  5040. tradeuserid:
  5041. description: 交易员id
  5042. type: integer
  5043. tradeuserlogincode:
  5044. description: 交易员登录代码
  5045. type: string
  5046. tradeusername:
  5047. description: 交易员名称
  5048. type: string
  5049. unpayamount:
  5050. description: 应收付款额(应支付或应收款)
  5051. type: number
  5052. unpricedqty:
  5053. description: 未定价量
  5054. type: number
  5055. unsureqty:
  5056. description: 未确定量
  5057. type: number
  5058. userid:
  5059. description: 机构ID
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.Ermcp3SpotGoodsPrice:
  5072. properties:
  5073. areauserid:
  5074. description: 所属机构id
  5075. type: integer
  5076. brandname:
  5077. description: 品牌名称
  5078. type: string
  5079. currencyid:
  5080. description: 报价货币ID
  5081. type: integer
  5082. currencyname:
  5083. description: 币种名称
  5084. type: string
  5085. deliverygoodscode:
  5086. description: 现货商品代码
  5087. type: string
  5088. deliverygoodsid:
  5089. description: 现货商品id
  5090. type: integer
  5091. deliverygoodsname:
  5092. description: 现货商品名称
  5093. type: string
  5094. enumdicname:
  5095. description: 现货商品单位名称
  5096. type: string
  5097. gbenumdicname:
  5098. description: 品类单位名称
  5099. type: string
  5100. gmunitid:
  5101. description: 品类单位id
  5102. type: integer
  5103. isvalid:
  5104. description: 是否有效 - 0:无效 1:有效
  5105. type: integer
  5106. operateid:
  5107. description: 最后操作人
  5108. type: integer
  5109. operatesrc:
  5110. description: 最后操作来源 - 1:管理端 2:终端
  5111. type: integer
  5112. operatetime:
  5113. description: 最后操作时间
  5114. type: string
  5115. operatorname:
  5116. description: 操作人名称
  5117. type: string
  5118. spotgoodsbrandid:
  5119. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5120. type: integer
  5121. spotgoodsprice:
  5122. description: 现货价格
  5123. type: number
  5124. tradedate:
  5125. description: 交易日(yyyyMMdd)
  5126. type: string
  5127. unitid:
  5128. description: 现货商品单位id
  5129. type: integer
  5130. wrstandardcode:
  5131. description: 品类代码
  5132. type: string
  5133. wrstandardid:
  5134. description: 现货品类ID(通用则为0)
  5135. type: integer
  5136. wrstandardname:
  5137. description: 品类名称
  5138. type: string
  5139. type: object
  5140. models.Ermcp3SpotGoodsPriceLog:
  5141. properties:
  5142. areauserid:
  5143. description: 所属机构id
  5144. type: integer
  5145. brandname:
  5146. description: 品牌名称
  5147. type: string
  5148. currencyid:
  5149. description: 报价货币ID
  5150. type: integer
  5151. deliverygoodscode:
  5152. description: 现货商品代码
  5153. type: string
  5154. deliverygoodsid:
  5155. description: 现货商品id
  5156. type: integer
  5157. deliverygoodsname:
  5158. description: 现货商品名称
  5159. type: string
  5160. enumdicname:
  5161. description: 现货商品单位名称
  5162. type: string
  5163. gbenumdicname:
  5164. description: 品类单位名称
  5165. type: string
  5166. gmunitid:
  5167. description: 品类单位id
  5168. type: integer
  5169. logid:
  5170. description: 日志id
  5171. type: integer
  5172. operateid:
  5173. description: 最后操作人
  5174. type: integer
  5175. operatesrc:
  5176. description: 最后操作来源 - 1:管理端 2:终端
  5177. type: integer
  5178. operatetime:
  5179. description: 最后操作时间
  5180. type: string
  5181. operatorname:
  5182. description: 操作人名称
  5183. type: string
  5184. spotgoodsbrandid:
  5185. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5186. type: integer
  5187. spotgoodsprice:
  5188. description: 现货价格
  5189. type: number
  5190. tradedate:
  5191. description: 交易日(yyyyMMdd)
  5192. type: string
  5193. unitid:
  5194. description: 现货商品单位id
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 现货品类ID(通用则为0)
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3TaFutuReDataReport:
  5207. properties:
  5208. accountid:
  5209. description: 交易账户
  5210. type: integer
  5211. accountname:
  5212. description: 交易账号名称
  5213. type: string
  5214. begindate:
  5215. description: 开始交易日
  5216. type: string
  5217. buyorsell:
  5218. description: 持仓方向
  5219. type: integer
  5220. charge:
  5221. description: 手续费
  5222. type: number
  5223. closeavgprice:
  5224. description: 平仓均价
  5225. type: number
  5226. closepl:
  5227. description: 平仓损益
  5228. type: number
  5229. currencyid:
  5230. description: 结算币种ID
  5231. type: integer
  5232. cycletime:
  5233. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5234. type: string
  5235. cycletype:
  5236. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5237. type: integer
  5238. enddate:
  5239. description: 结束交易日
  5240. type: string
  5241. enumdicname:
  5242. description: 单位名称(现货商品)
  5243. type: string
  5244. floatpl:
  5245. description: 浮动损益
  5246. type: number
  5247. goodscode:
  5248. description: 交易合约代码
  5249. type: string
  5250. goodsgroupid:
  5251. description: 交易品种
  5252. type: integer
  5253. goodsgroupname:
  5254. description: 交易品种名称
  5255. type: string
  5256. goodsgroupspotqty:
  5257. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5258. type: number
  5259. goodsid:
  5260. description: 交易合约
  5261. type: integer
  5262. goodsname:
  5263. description: 交易合约名称
  5264. type: string
  5265. goodunitid:
  5266. description: 交易合约单位id
  5267. type: integer
  5268. holdamount:
  5269. description: 期末持仓额
  5270. type: number
  5271. holdqty:
  5272. description: 期末持仓量
  5273. type: number
  5274. lastholdamount:
  5275. description: 当前持仓额
  5276. type: number
  5277. lastprice:
  5278. description: 最新价
  5279. type: number
  5280. middlegoodsqty:
  5281. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5282. type: number
  5283. openamount:
  5284. description: 期末开仓额
  5285. type: number
  5286. openavgprice:
  5287. description: 开仓均价
  5288. type: number
  5289. oriholdamount:
  5290. description: 期初持仓额
  5291. type: number
  5292. oriholdqty:
  5293. description: 期初持仓量
  5294. type: number
  5295. oriopenamount:
  5296. description: 期初开仓额
  5297. type: number
  5298. outergroupcode:
  5299. description: 交易品种代码
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. reckonholdamount:
  5305. description: 结算持仓额
  5306. type: number
  5307. reckonpl:
  5308. description: 结算损益
  5309. type: number
  5310. reckonpl2:
  5311. description: 结算逐笔盈亏
  5312. type: number
  5313. reckonprice:
  5314. description: 结算价
  5315. type: number
  5316. relateduserid:
  5317. description: 账户关联用户ID
  5318. type: integer
  5319. todaycloseamount:
  5320. description: 今平仓额
  5321. type: number
  5322. todaycloseqty:
  5323. description: 今平仓量
  5324. type: number
  5325. todaygoodsgroupspotqty:
  5326. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5327. type: number
  5328. todaymiddlegoodsqty:
  5329. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5330. type: number
  5331. todayopenamount:
  5332. description: 今开仓额
  5333. type: number
  5334. todayopenqty:
  5335. description: 今开仓量
  5336. type: number
  5337. userid:
  5338. description: 账户所属用户ID
  5339. type: integer
  5340. type: object
  5341. models.Ermcp3Wrstandard:
  5342. properties:
  5343. areauserid:
  5344. description: 所属机构
  5345. type: integer
  5346. convertfactor:
  5347. description: 标仓系数
  5348. type: number
  5349. createtime:
  5350. description: 创建时间
  5351. type: string
  5352. creatorid:
  5353. description: 创建人
  5354. type: integer
  5355. deliverygoodsid:
  5356. description: 现货品种ID
  5357. type: integer
  5358. enumdicname:
  5359. description: 品类单位名称
  5360. type: string
  5361. isvalid:
  5362. description: 是否有效 0-无效(停用) 1-有效(正常)
  5363. type: integer
  5364. minivalue:
  5365. description: 最小变动值
  5366. type: integer
  5367. minivaluedp:
  5368. description: 最小变动值小数位
  5369. type: integer
  5370. realminivalue:
  5371. description: 实际最小变动值
  5372. type: integer
  5373. realminivaluedp:
  5374. description: 实际最小变动值小数位
  5375. type: integer
  5376. remark:
  5377. description: 备注
  5378. type: string
  5379. unitid:
  5380. description: 品类单位ID
  5381. type: integer
  5382. updatetime:
  5383. description: 更新时间
  5384. type: string
  5385. wrstandardcode:
  5386. description: 品类代码
  5387. type: string
  5388. wrstandardid:
  5389. description: 品类ID(SEQ_WRSTANDARD)
  5390. type: integer
  5391. wrstandardname:
  5392. description: 品类名称
  5393. type: string
  5394. type: object
  5395. models.ErmcpAreaSpotDetailModel:
  5396. properties:
  5397. contracttype:
  5398. description: 合同类型 1-采购 -1-销售
  5399. type: integer
  5400. createtime:
  5401. description: 创建时间
  5402. type: string
  5403. enumdicname:
  5404. description: 现货商品单位名称
  5405. type: string
  5406. logtype:
  5407. description: 记录类型 1-套保 2-现货合同
  5408. type: integer
  5409. qty:
  5410. description: 数量
  5411. type: number
  5412. recordname:
  5413. description: 类型名称
  5414. type: string
  5415. relatedid:
  5416. description: 套保计划ID/现货合同ID
  5417. type: string
  5418. relatedno:
  5419. description: 编号
  5420. type: string
  5421. strtime:
  5422. description: 时间
  5423. type: string
  5424. wrstandardcode:
  5425. description: 现货商品代码
  5426. type: string
  5427. wrstandardname:
  5428. description: 现货商品名称
  5429. type: string
  5430. type: object
  5431. models.ErmcpAvalidGoodsGroupModel:
  5432. properties:
  5433. goodsgroupid:
  5434. description: 期货品种id
  5435. type: integer
  5436. goodsgroupname:
  5437. description: 期货品种名称
  5438. type: string
  5439. goodunitid:
  5440. description: 品种单位id
  5441. type: integer
  5442. goodunitname:
  5443. description: 品种单位名称
  5444. type: string
  5445. outergroupcode:
  5446. description: 期货品种代码
  5447. type: string
  5448. type: object
  5449. models.ErmcpBizGroupEx:
  5450. properties:
  5451. acclist:
  5452. description: 账号列表
  5453. items:
  5454. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5455. type: array
  5456. bizgroupid:
  5457. description: 业务分组id
  5458. type: integer
  5459. biztype:
  5460. description: 业务类型 1-套保 2-套利
  5461. type: integer
  5462. wrlist:
  5463. description: 现货商品表
  5464. items:
  5465. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5466. type: array
  5467. type: object
  5468. models.ErmcpBizGroupSpotGoods:
  5469. properties:
  5470. areauserid:
  5471. description: 所属机构id
  5472. type: integer
  5473. bizgroupid:
  5474. description: 分组id
  5475. type: integer
  5476. biztype:
  5477. description: 业务类型 1-套保 2-套利
  5478. type: integer
  5479. deliverygoodscode:
  5480. description: 现货商品代码
  5481. type: string
  5482. deliverygoodsid:
  5483. description: 现货商品id
  5484. type: integer
  5485. deliverygoodsname:
  5486. description: 现货商品名称
  5487. type: string
  5488. unitid:
  5489. description: 现货商品单位id
  5490. type: integer
  5491. type: object
  5492. models.ErmcpBizGroupTaAccount:
  5493. properties:
  5494. accountid:
  5495. description: 账号id
  5496. type: integer
  5497. accountname:
  5498. description: 账号名称
  5499. type: string
  5500. areauserid:
  5501. description: 所属机构id
  5502. type: integer
  5503. bizgroupid:
  5504. description: 业务分组id
  5505. type: integer
  5506. ismain:
  5507. description: 是否主账号 1-是 0-否
  5508. type: integer
  5509. type: object
  5510. models.ErmcpDGFactoryItem:
  5511. properties:
  5512. areauserid:
  5513. description: 用户id
  5514. type: integer
  5515. deliverygoodsid:
  5516. description: 现货品种ID
  5517. type: integer
  5518. dgfactoryitemid:
  5519. description: 选择项ID(SEQ_DGFACTORYITEM)
  5520. type: integer
  5521. dgfactoryitemtypeid:
  5522. description: 要素项类型
  5523. type: integer
  5524. dgfactoryitemvalue:
  5525. description: 要素项值(类型为仓库时填写仓库名称)
  5526. type: string
  5527. isvalid:
  5528. description: 是否有效 - 0:无效 1:有效
  5529. type: integer
  5530. orderindex:
  5531. description: 顺序
  5532. type: integer
  5533. warehouseid:
  5534. description: 仓库ID(类型为仓库时填写)
  5535. type: integer
  5536. type: object
  5537. models.ErmcpDeliveryGoods:
  5538. properties:
  5539. agreeunit:
  5540. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5541. type: integer
  5542. areauserid:
  5543. description: 所属机构
  5544. type: integer
  5545. auditflag:
  5546. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5547. type: integer
  5548. categoryid:
  5549. description: 类别ID(SEQ_WRCATEGORY)
  5550. type: integer
  5551. deliverygoodscode:
  5552. description: 现货品种代码
  5553. type: string
  5554. deliverygoodsid:
  5555. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5556. type: integer
  5557. deliverygoodsname:
  5558. description: 现货品种名称
  5559. type: string
  5560. deliverygoodstype:
  5561. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5562. type: integer
  5563. dgstatus:
  5564. description: 品种状态 - 作废 - 0:未激活 1:正常
  5565. type: integer
  5566. enumdicname:
  5567. description: 现货品种单位名称
  5568. type: string
  5569. goodsunitid:
  5570. description: 现货品种单位ID
  5571. type: integer
  5572. isvalid:
  5573. description: 是否有效 - 0:无效 1:有效
  5574. type: integer
  5575. qtydecimalplace:
  5576. description: 成交量小数位
  5577. type: integer
  5578. remark:
  5579. description: 备注
  5580. type: string
  5581. standardqty:
  5582. description: 标准数量(库位数量) [标准品特有]
  5583. type: integer
  5584. standardqtyrange:
  5585. description: 标准数量偏差范围 [标准品特有]
  5586. type: integer
  5587. type: object
  5588. models.ErmcpDeliveryGoodsDetail2:
  5589. properties:
  5590. convertratio:
  5591. description: 套保系数(折算系数)
  5592. type: number
  5593. data:
  5594. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5595. description: 现货商品基本信息(交割品种)
  5596. type: object
  5597. gblist:
  5598. description: 品牌列表
  5599. items:
  5600. $ref: '#/definitions/models.Ermcp3Brand'
  5601. type: array
  5602. gmlist:
  5603. description: 品类列表(仓单标准)
  5604. items:
  5605. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5606. type: array
  5607. type: object
  5608. models.ErmcpDeliveryGoodsDetailEx:
  5609. properties:
  5610. data:
  5611. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5612. description: 现货商品基本信息(交割品种)
  5613. type: object
  5614. gblist:
  5615. description: 品牌列表
  5616. items:
  5617. $ref: '#/definitions/models.Ermcp3Brand'
  5618. type: array
  5619. gmlist:
  5620. description: 品类列表(仓单标准)
  5621. items:
  5622. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5623. type: array
  5624. mgList:
  5625. description: 套保列表
  5626. items:
  5627. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5628. type: array
  5629. type: object
  5630. models.ErmcpExposureDetailModel:
  5631. properties:
  5632. areauserid:
  5633. description: 机构ID
  5634. type: integer
  5635. changeQty:
  5636. description: 套保变动量
  5637. type: number
  5638. contracttype:
  5639. description: 现货合同类型 - 1:采购 -1:销售
  5640. type: integer
  5641. convertfactor:
  5642. description: 标仓系数
  5643. type: number
  5644. convertratio:
  5645. description: 套保系数
  5646. type: number
  5647. createtime:
  5648. description: 时间
  5649. type: string
  5650. enumdicname:
  5651. description: 现货商品单位名称
  5652. type: string
  5653. logtype:
  5654. description: 类型 - 1:套保计划 2:现货合同
  5655. type: integer
  5656. middlegoodsId:
  5657. description: 套保商品id
  5658. type: integer
  5659. middlegoodscode:
  5660. description: 套保商品代码
  5661. type: string
  5662. middlegoodsname:
  5663. description: 套保商品名称
  5664. type: string
  5665. qty:
  5666. description: 数量
  5667. type: number
  5668. relateNo:
  5669. description: 现货合同/套保计划编号
  5670. type: string
  5671. wrstandardcode:
  5672. description: 现货商品代码
  5673. type: string
  5674. wrstandardid:
  5675. description: 现货商品ID
  5676. type: integer
  5677. wrstandardname:
  5678. description: 现货商品名称
  5679. type: string
  5680. type: object
  5681. models.ErmcpExposurePostion:
  5682. properties:
  5683. agreeunit:
  5684. description: 合约单位
  5685. type: string
  5686. areauserid:
  5687. description: 所属机构id
  5688. type: integer
  5689. convertratio:
  5690. description: 期货品种系数(折算系数)
  5691. type: number
  5692. curqty:
  5693. description: 当前持仓
  5694. type: integer
  5695. diffhedgeqty:
  5696. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5697. type: number
  5698. diffqty:
  5699. description: 持仓变动量=当前持仓-昨日持仓
  5700. type: integer
  5701. goodscode:
  5702. description: 商品代码
  5703. type: string
  5704. goodsid:
  5705. description: 商品id
  5706. type: integer
  5707. goodsname:
  5708. description: 商品名称
  5709. type: string
  5710. middlegoodsid:
  5711. description: 套保商品id
  5712. type: integer
  5713. ydqty:
  5714. description: 昨日持仓
  5715. type: integer
  5716. type: object
  5717. models.ErmcpFuturesCompany:
  5718. properties:
  5719. brokerid:
  5720. description: 经纪公司代码
  5721. type: string
  5722. channeladdress:
  5723. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5724. type: string
  5725. channelid:
  5726. description: 对冲渠道ID
  5727. type: string
  5728. createtime:
  5729. description: 创建时间
  5730. type: string
  5731. creatorid:
  5732. description: 创建人
  5733. type: string
  5734. fcid:
  5735. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5736. type: integer
  5737. fcname:
  5738. description: 期货公司名称
  5739. type: string
  5740. isvalid:
  5741. description: 是否有效 - 0:无效 1:有效
  5742. type: integer
  5743. mhpaddress:
  5744. description: MHP服务地址(IP:Port)
  5745. type: string
  5746. riskrulegroupid:
  5747. description: 风控规则组ID
  5748. type: string
  5749. tradefeetmpid:
  5750. description: 手续费模板ID[TradeConfigTmpType为2]
  5751. type: string
  5752. trademargintmpid:
  5753. description: 保证金模板ID [TradeConfigTmpType为1]
  5754. type: string
  5755. traderatetmpid:
  5756. description: 汇率模板ID[TradeConfigTmpType为3]
  5757. type: string
  5758. updatetime:
  5759. description: 更新时间
  5760. type: string
  5761. updatorid:
  5762. description: 更新人
  5763. type: string
  5764. type: object
  5765. models.ErmcpGGConvertCfg:
  5766. properties:
  5767. convertratio:
  5768. description: 折算系数
  5769. type: number
  5770. destgoodsgroupid:
  5771. description: 目标品种ID
  5772. type: integer
  5773. dstcode:
  5774. description: 目录品种代码
  5775. type: string
  5776. dstexchangecode:
  5777. description: 目标期货交易所
  5778. type: string
  5779. dstname:
  5780. description: 目标品种名称
  5781. type: string
  5782. dstunitid:
  5783. description: 目标品种单位ID
  5784. type: integer
  5785. dstunitidname:
  5786. description: 目标品种单位名称
  5787. type: string
  5788. modifytime:
  5789. description: 修改时间
  5790. type: string
  5791. srccode:
  5792. description: 源品种代码
  5793. type: string
  5794. srcexchangecode:
  5795. description: 源期货交易所
  5796. type: string
  5797. srcgoodsgroupid:
  5798. description: 源品种ID
  5799. type: integer
  5800. srcname:
  5801. description: 源品种名称
  5802. type: string
  5803. srcunitid:
  5804. description: 源品种单位ID
  5805. type: integer
  5806. srcunitidname:
  5807. description: 源品种单位名称
  5808. type: string
  5809. type: object
  5810. models.ErmcpGoods:
  5811. properties:
  5812. agreeunit:
  5813. description: 合约单位
  5814. type: number
  5815. areauserid:
  5816. description: 所属机构
  5817. type: integer
  5818. auditaccountid:
  5819. description: 审核操作员账号
  5820. type: integer
  5821. audittime:
  5822. description: 审核时间
  5823. type: string
  5824. cancelaccountid:
  5825. description: 注销操作员账号
  5826. type: integer
  5827. canceltime:
  5828. description: 注销时间
  5829. type: string
  5830. closepricemode:
  5831. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5832. type: integer
  5833. closepriceparam:
  5834. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5835. type: number
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: integer
  5842. currencyid:
  5843. description: 报价货币ID
  5844. type: integer
  5845. cutmode:
  5846. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5847. type: integer
  5848. decimalplace:
  5849. description: 报价小数位
  5850. type: integer
  5851. delistingdate:
  5852. description: 商品退市时间(状态:退市) -- 已作废
  5853. type: string
  5854. delistingmode:
  5855. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5856. type: integer
  5857. deliveryflag:
  5858. description: 交割标志 - 0:不可交割 1:可交割
  5859. type: integer
  5860. forceclosemode:
  5861. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5862. type: integer
  5863. forceclosevalue:
  5864. description: 定期强平参数 [收益权]
  5865. type: integer
  5866. goodscode:
  5867. description: 商品代码(内部)
  5868. type: string
  5869. goodscurrencyid:
  5870. description: 合约货币ID
  5871. type: integer
  5872. goodsgroupid:
  5873. description: 所属商品组ID
  5874. type: integer
  5875. goodsid:
  5876. description: 商品ID(自增ID SEQ_GOODS)
  5877. type: integer
  5878. goodsname:
  5879. description: 商品名称
  5880. type: string
  5881. goodsquotetype:
  5882. description: '合约报价类型: 1-直接报价 2-间接报价'
  5883. type: integer
  5884. goodsstatus:
  5885. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5886. type: integer
  5887. goodstradetype:
  5888. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5889. type: integer
  5890. goodunitid:
  5891. description: 报价单位ID
  5892. type: integer
  5893. hasquoter:
  5894. description: 是否有报价商 - 0:无报价商 1:有报价商
  5895. type: integer
  5896. hqprotecttime:
  5897. description: 行情保护时间(秒)
  5898. type: integer
  5899. innerdealmode:
  5900. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5901. type: integer
  5902. isbuylimited:
  5903. description: 是否限制建仓量 - 0:不限制 1:限制
  5904. type: integer
  5905. isvisible:
  5906. description: 游客是否可见 - 0:不可见 1:可见
  5907. type: integer
  5908. lasttradedate:
  5909. description: 最后交易日期(状态:待退市)
  5910. type: string
  5911. listingdate:
  5912. description: 交易开始日期
  5913. type: string
  5914. marketid:
  5915. description: 所属市场ID
  5916. type: integer
  5917. modifierid:
  5918. description: 修改人
  5919. type: integer
  5920. modifystatus:
  5921. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5922. type: integer
  5923. modifytime:
  5924. description: 修改时间
  5925. type: string
  5926. outerdealmode:
  5927. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5928. type: integer
  5929. outgoodscode:
  5930. description: 商品代码(外部)
  5931. type: string
  5932. pictureurl:
  5933. description: 商品图片
  5934. type: string
  5935. qtydecimalplace:
  5936. description: 成交量小数位
  5937. type: integer
  5938. quotegear:
  5939. description: 行情档位(1-10)
  5940. type: integer
  5941. quoteminunit:
  5942. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5943. type: integer
  5944. quoteshowtype:
  5945. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5946. type: integer
  5947. quoteshowtypeinterval:
  5948. description: 行情报价间隔时间(秒)(成交价时为0)
  5949. type: integer
  5950. relatedgoodsid:
  5951. description: 关联参考商品ID
  5952. type: integer
  5953. remark:
  5954. description: 备注
  5955. type: string
  5956. trademode:
  5957. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5958. 21:竞拍-大宗式 22:受托竞价
  5959. type: integer
  5960. required:
  5961. - goodscode
  5962. - goodsid
  5963. - goodsname
  5964. - marketid
  5965. type: object
  5966. models.ErmcpGoodsBrand:
  5967. properties:
  5968. areauserid:
  5969. description: 所属机构
  5970. type: integer
  5971. brandid:
  5972. description: BrandID(SEQ_SPOTGOODSBRAND)
  5973. type: integer
  5974. brandname:
  5975. description: 品牌名称
  5976. type: string
  5977. createtime:
  5978. description: 创建时间
  5979. type: string
  5980. creatorid:
  5981. description: 创建人
  5982. type: integer
  5983. creatorsrc:
  5984. description: 创建人来源 - 1:管理端 2:终端
  5985. type: integer
  5986. deliverygoodsid:
  5987. description: 现货品种ID
  5988. type: integer
  5989. isvalid:
  5990. description: 是否有效 - 0:无效 1:有效
  5991. type: integer
  5992. updatetime:
  5993. description: 更新时间
  5994. type: string
  5995. updatorid:
  5996. description: 更新人
  5997. type: integer
  5998. updatorsrc:
  5999. description: 更新人来源 - 1:管理端 2:终端
  6000. type: integer
  6001. wrstandardid:
  6002. description: 现货商品ID
  6003. type: integer
  6004. type: object
  6005. models.ErmcpGoodsModel:
  6006. properties:
  6007. areauserid:
  6008. description: 所属机构
  6009. type: integer
  6010. convertfactor:
  6011. description: 标仓系数
  6012. type: number
  6013. createtime:
  6014. description: 创建时间
  6015. type: string
  6016. creatorid:
  6017. description: 创建人
  6018. type: integer
  6019. creatorsrc:
  6020. description: 创建人来源 - 1:管理端 2:终端
  6021. type: integer
  6022. deliverygoodsid:
  6023. description: 现货品种ID
  6024. type: integer
  6025. isvalid:
  6026. description: 是否有效 - 0:无效 1:有效
  6027. type: integer
  6028. modelid:
  6029. description: ModelID(SEQ_SPOTGOODSMODEL)
  6030. type: integer
  6031. modelname:
  6032. description: 型号名称
  6033. type: string
  6034. updatetime:
  6035. description: 更新时间
  6036. type: string
  6037. updatorid:
  6038. description: 更新人
  6039. type: integer
  6040. updatorsrc:
  6041. description: 更新人来源 - 1:管理端 2:终端
  6042. type: integer
  6043. wrstandardid:
  6044. description: 现货商品ID
  6045. type: integer
  6046. type: object
  6047. models.ErmcpHedgePosition:
  6048. properties:
  6049. accountid:
  6050. description: 资金账号[外部母账户]
  6051. type: integer
  6052. curbuyposition:
  6053. description: 期末买头寸
  6054. type: integer
  6055. cursellposition:
  6056. description: 期末卖头寸
  6057. type: integer
  6058. curtdbuyposition:
  6059. description: 期末今日买头寸
  6060. type: integer
  6061. curtdsellposition:
  6062. description: 期末今日卖头寸
  6063. type: integer
  6064. curydbuyposition:
  6065. description: 期末上日买头寸
  6066. type: integer
  6067. curydsellposition:
  6068. description: 期末上日卖头寸
  6069. type: integer
  6070. decreaseqty:
  6071. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6072. type: integer
  6073. fretdbuyposition:
  6074. description: 冻结今日买头寸
  6075. type: integer
  6076. fretdsellposition:
  6077. description: 冻结今日卖头寸
  6078. type: integer
  6079. freydbuyposition:
  6080. description: 冻结上日买头寸
  6081. type: integer
  6082. freydsellposition:
  6083. description: 冻结上日卖头寸
  6084. type: integer
  6085. goodscode:
  6086. description: 商品代码
  6087. type: string
  6088. goodsid:
  6089. description: 商品id
  6090. type: integer
  6091. goodsname:
  6092. description: 商品名称
  6093. type: string
  6094. hedgeaccountcode:
  6095. description: 对冲账号
  6096. type: string
  6097. hedgegoodsid:
  6098. description: 对冲合约ID
  6099. type: integer
  6100. increaseqty:
  6101. description: 增加数量 = 期末买头寸 - 期初买头寸
  6102. type: integer
  6103. marketid:
  6104. description: 市场ID
  6105. type: integer
  6106. relateduserid:
  6107. description: 关联用户id
  6108. type: integer
  6109. totalcurqty:
  6110. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6111. type: integer
  6112. totalydqty:
  6113. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6114. type: integer
  6115. tradedate:
  6116. description: 交易日(yyyyMMdd)
  6117. type: string
  6118. ydbuyposition:
  6119. description: 期初买头寸
  6120. type: integer
  6121. ydsellposition:
  6122. description: 期初卖头寸
  6123. type: integer
  6124. type: object
  6125. models.ErmcpHedgePositionDetail:
  6126. properties:
  6127. buyorsell:
  6128. description: 买卖方向 0-买 1-卖
  6129. type: integer
  6130. channelbuildtype:
  6131. description: 开平方向 1-建仓 2-平仓
  6132. type: integer
  6133. goodscode:
  6134. description: 商品代码
  6135. type: string
  6136. goodsname:
  6137. description: 商品名称
  6138. type: string
  6139. hedgegoodsid:
  6140. description: 商品id
  6141. type: integer
  6142. tradeqty:
  6143. description: 数量(成交数量)
  6144. type: integer
  6145. tradetime:
  6146. description: 时间(成交时间)
  6147. type: string
  6148. type: object
  6149. models.ErmcpHisExposure:
  6150. properties:
  6151. needhedgeexposoure:
  6152. description: 应套保敞口
  6153. type: number
  6154. reckondate:
  6155. description: 日照时期(yyyyMMdd)
  6156. type: string
  6157. totalexposure:
  6158. description: 总敞口
  6159. type: number
  6160. type: object
  6161. models.ErmcpHisExposureS:
  6162. properties:
  6163. data:
  6164. description: 历史敞口
  6165. items:
  6166. $ref: '#/definitions/models.ErmcpHisExposure'
  6167. type: array
  6168. enumdicname:
  6169. description: 单位名称
  6170. type: string
  6171. middlegoodscode:
  6172. description: 套保品种代码
  6173. type: string
  6174. middlegoodsid:
  6175. description: 套保品种ID
  6176. type: integer
  6177. middlegoodsname:
  6178. description: 套保品种名称
  6179. type: string
  6180. type: object
  6181. models.ErmcpLoginTaAccount:
  6182. properties:
  6183. accountid:
  6184. description: 账号id
  6185. type: integer
  6186. accountname:
  6187. description: 账号名称
  6188. type: string
  6189. type: object
  6190. models.ErmcpLoginUser:
  6191. properties:
  6192. acclist:
  6193. description: 关联资金账号
  6194. items:
  6195. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6196. type: array
  6197. accountname:
  6198. description: 用户名称
  6199. type: string
  6200. clientroleid:
  6201. description: 角色id(usertype=2)
  6202. type: integer
  6203. createtime:
  6204. description: 创建时间
  6205. type: string
  6206. logincode:
  6207. description: 登录代码
  6208. type: string
  6209. loginid:
  6210. description: 登录id(LOGINID)
  6211. type: integer
  6212. loginname:
  6213. description: 登录名称(loginaccount表中的accountname字段)
  6214. type: string
  6215. loginstatus:
  6216. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6217. type: integer
  6218. memberuserid:
  6219. description: 所属会员id
  6220. type: integer
  6221. mobile:
  6222. description: 手机号
  6223. type: string
  6224. modifytime:
  6225. description: 修改时间
  6226. type: string
  6227. password:
  6228. description: 密码(不可解密)
  6229. type: string
  6230. rolename:
  6231. description: 角色名称
  6232. type: string
  6233. rolestatus:
  6234. description: 角色状态 1-启用 2-停用
  6235. type: integer
  6236. roletype:
  6237. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6238. type: string
  6239. userid:
  6240. description: 用户id
  6241. type: integer
  6242. usertype:
  6243. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6244. type: integer
  6245. type: object
  6246. models.ErmcpLoginUserEx:
  6247. properties:
  6248. accountstatus:
  6249. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6250. type: integer
  6251. mobile:
  6252. description: 手机号
  6253. type: string
  6254. querytype:
  6255. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6256. type: integer
  6257. roleid:
  6258. description: 角色id(交易账户->用户id)
  6259. type: integer
  6260. rolename:
  6261. description: 角色名称(交易账户->用户名称)
  6262. type: string
  6263. userlist:
  6264. description: 用户列表
  6265. items:
  6266. $ref: '#/definitions/models.ErmcpLoginUser'
  6267. type: array
  6268. usertype:
  6269. description: 用户类型 2-机构 7-企业成员(云平台)
  6270. type: integer
  6271. type: object
  6272. models.ErmcpMiddleGoodsChangeLog:
  6273. properties:
  6274. aftervalue:
  6275. description: 变更后
  6276. type: number
  6277. applyid:
  6278. description: 操作人
  6279. type: integer
  6280. applyname:
  6281. description: 操作人名称
  6282. type: string
  6283. applysrc:
  6284. description: 操作来源 - 1:管理端 2:终端
  6285. type: integer
  6286. beforevalue:
  6287. description: 变更前
  6288. type: number
  6289. changelogtype:
  6290. description: 变更流水类型 - 1:套保比率变更
  6291. type: integer
  6292. handlestatus:
  6293. description: 处理状态
  6294. type: integer
  6295. logdatetime:
  6296. description: 流水日期
  6297. type: string
  6298. logid:
  6299. description: 流水ID
  6300. type: integer
  6301. logremark:
  6302. description: 流水备注
  6303. type: string
  6304. middlegoodsid:
  6305. description: 套保品种ID
  6306. type: integer
  6307. tradedate:
  6308. description: 交易日(yyyyMMdd)
  6309. type: string
  6310. updatetime:
  6311. description: 更新时间
  6312. type: string
  6313. type: object
  6314. models.ErmcpMiddleGoodsDetail:
  6315. properties:
  6316. cvList:
  6317. description: 期货品种折算列表
  6318. items:
  6319. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6320. type: array
  6321. mg:
  6322. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6323. description: 套保品种基本信息
  6324. type: object
  6325. wrcList:
  6326. description: 现货品种列表(现货商品折算配置)
  6327. items:
  6328. $ref: '#/definitions/models.WRSConverTDetail'
  6329. type: array
  6330. type: object
  6331. models.ErmcpMiddleGoodsModel:
  6332. properties:
  6333. areauserid:
  6334. description: 机构用户ID
  6335. type: integer
  6336. createtime:
  6337. description: 修改时间
  6338. type: string
  6339. enumdicname:
  6340. description: 单位名称
  6341. type: string
  6342. evaluateratio:
  6343. description: 估价系数
  6344. type: number
  6345. goodsgroupid:
  6346. description: 关联期货品种ID
  6347. type: integer
  6348. goodsunitid:
  6349. description: 单位ID
  6350. type: integer
  6351. isvalid:
  6352. description: 状态 0-无效(停用) 1-有效(正常)
  6353. type: integer
  6354. middlegoodscode:
  6355. description: 套保品种代码
  6356. type: string
  6357. middlegoodsid:
  6358. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6359. type: integer
  6360. middlegoodsname:
  6361. description: 套保品种名称
  6362. type: string
  6363. modifytime:
  6364. description: 修改时间
  6365. type: string
  6366. needarbitrageratio:
  6367. description: 套利比例
  6368. type: number
  6369. needhedgeratio:
  6370. description: 套保比率
  6371. type: number
  6372. qtydecimalplace:
  6373. description: 数量小数位
  6374. type: integer
  6375. relatedgoodsid:
  6376. description: 关联交易商品ID
  6377. type: integer
  6378. relatedgoodstype:
  6379. description: 关联商品类型 - 1:期货合约 2:现货品种
  6380. type: integer
  6381. remark:
  6382. description: 备注
  6383. type: string
  6384. type: object
  6385. models.ErmcpMiddlegoodsRelateGoods:
  6386. properties:
  6387. agreeunit:
  6388. description: 合约乘数
  6389. type: number
  6390. convertratio:
  6391. description: 折算系数
  6392. type: number
  6393. enumdicname:
  6394. description: 单位名称(交易商品)
  6395. type: string
  6396. goodscode:
  6397. description: 交易商品代码
  6398. type: string
  6399. goodsgroupid:
  6400. description: 交易品种id
  6401. type: integer
  6402. goodsid:
  6403. description: 商品Id
  6404. type: integer
  6405. goodsname:
  6406. description: 交易商品名称
  6407. type: string
  6408. goodunitid:
  6409. description: 交易商品单位id
  6410. type: integer
  6411. middlegoodsid:
  6412. description: 套保商品id
  6413. type: integer
  6414. middlegoodsname:
  6415. description: 套保商品名称
  6416. type: string
  6417. middlegoodsswcode:
  6418. description: 套保商品代码
  6419. type: string
  6420. needarbitrageratio:
  6421. description: 应套利比例
  6422. type: number
  6423. needhedgeratio:
  6424. description: 应套保比例
  6425. type: number
  6426. type: object
  6427. models.ErmcpOPLogModel:
  6428. properties:
  6429. aftervalue:
  6430. description: 变更后
  6431. type: number
  6432. applyid:
  6433. description: 操作人ID
  6434. type: string
  6435. applyname:
  6436. description: 操作人名称
  6437. type: string
  6438. beforevalue:
  6439. description: 变更前
  6440. type: number
  6441. biztype:
  6442. description: 业务类型 - 1:套保计划 2:现货合同
  6443. type: integer
  6444. contracttype:
  6445. description: 现货合同类型 - 1:采购 -1:销售
  6446. type: integer
  6447. logvalue:
  6448. description: 数值
  6449. type: number
  6450. operatelogtype:
  6451. description: 操作流水类型
  6452. type: integer
  6453. operatelogtypedesc:
  6454. description: 操作流水类型名称
  6455. type: string
  6456. relatedid:
  6457. description: 现货合同ID\套保计划
  6458. type: string
  6459. updatetime:
  6460. description: 更新时间
  6461. type: string
  6462. type: object
  6463. models.ErmcpPendingAudit:
  6464. properties:
  6465. areastockqty:
  6466. description: '待审核数量: 库存申请'
  6467. type: integer
  6468. businessdjqty:
  6469. description: '待审核数量: 点价'
  6470. type: integer
  6471. businessfpqty:
  6472. description: '待审核数量: 发票'
  6473. type: integer
  6474. businessjsqty:
  6475. description: '待审核数量: 结算'
  6476. type: integer
  6477. businesskxqty:
  6478. description: '待审核数量: 款项'
  6479. type: integer
  6480. hedgeplanqty:
  6481. description: '待审核数量: 套保计划'
  6482. type: integer
  6483. spotcontractqty:
  6484. description: '待审核数量: 现货合同'
  6485. type: integer
  6486. userqty:
  6487. description: '待审核数量: 用户'
  6488. type: integer
  6489. type: object
  6490. models.ErmcpRealExposureModel:
  6491. properties:
  6492. AreaUserID:
  6493. description: 所属机构
  6494. type: integer
  6495. BuyFutureQty:
  6496. description: 买入期货数量
  6497. type: number
  6498. BuyPlanQty:
  6499. description: 采购计划数量
  6500. type: number
  6501. BuyPricedQty:
  6502. description: 采购合同已定价数量
  6503. type: number
  6504. MiddleGoodsCode:
  6505. description: 套保品种代码
  6506. type: string
  6507. MiddleGoodsHedgeRatio:
  6508. description: 套保比例
  6509. type: number
  6510. MiddleGoodsID:
  6511. description: 套保品种
  6512. type: integer
  6513. MiddleGoodsName:
  6514. description: 套保品种名称
  6515. type: string
  6516. NeedHedgeExposoure:
  6517. description: 应套保敞口(套保敞口)
  6518. type: number
  6519. NeedHedgeRatio:
  6520. description: 应套保敞口比例
  6521. type: number
  6522. OriBuyFutureQty:
  6523. description: 期初买入期货数量
  6524. type: number
  6525. OriBuyPlanQty:
  6526. description: 期初采购计划数量
  6527. type: number
  6528. OriBuyPricedQty:
  6529. description: 期初采购合同已定价数量
  6530. type: number
  6531. OriSellFutureQty:
  6532. description: 期初卖出期货数量
  6533. type: number
  6534. OriSellPlanQty:
  6535. description: 期初销售计划数量
  6536. type: number
  6537. OriSellPricedQty:
  6538. description: 期初销售合同已定价数量
  6539. type: number
  6540. SellFutureQty:
  6541. description: 卖出期货数量
  6542. type: number
  6543. SellPlanQty:
  6544. description: 销售计划数量
  6545. type: number
  6546. SellPricedQty:
  6547. description: 销售合同已定价数量
  6548. type: number
  6549. TotalExposure:
  6550. description: 总敞口
  6551. type: number
  6552. TotalFutureQty:
  6553. description: 期货总量
  6554. type: number
  6555. TotalHedgeRatio:
  6556. description: 敞口比例
  6557. type: number
  6558. TotalNeedHedgeQty:
  6559. description: 应套保总量(现货应套保总量)
  6560. type: number
  6561. TotalSpotQty:
  6562. description: 现货总量
  6563. type: number
  6564. arbitrageqty:
  6565. description: 套利量
  6566. type: number
  6567. diffArbitrageQty:
  6568. description: 套利变动量
  6569. type: number
  6570. diffExposoureQty:
  6571. description: 变动量(套保敞口)
  6572. type: number
  6573. diffFutuQty:
  6574. description: 变动量(期货总量)
  6575. type: number
  6576. diffHedgeQty:
  6577. description: 套保变动量
  6578. type: number
  6579. diffQty:
  6580. description: 变动量(总敞口)
  6581. type: number
  6582. diffSpotHedgeQty:
  6583. description: 变动量(现货应套保总量)
  6584. type: number
  6585. diffSpotQty:
  6586. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6587. type: number
  6588. enumdicname:
  6589. description: 单位名称
  6590. type: string
  6591. hedgeqty:
  6592. description: 套保量
  6593. type: number
  6594. needarbitrageqty:
  6595. description: 应套利量
  6596. type: number
  6597. needarbitrageratio:
  6598. description: 套利比例
  6599. type: number
  6600. needhedgeqty:
  6601. description: 应套保量
  6602. type: number
  6603. oriTotalFutuQty:
  6604. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6605. type: number
  6606. oriTotalSpotQty:
  6607. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6608. type: number
  6609. oriarbitrageqty:
  6610. description: 期初套利量
  6611. type: number
  6612. orihedgeqty:
  6613. description: 期初套保量
  6614. type: number
  6615. orineedhedgeexposoure:
  6616. description: 期初套保敞口
  6617. type: number
  6618. oritotalexposure:
  6619. description: 期初总敞口
  6620. type: number
  6621. oritotalfutureqty:
  6622. description: 期初期货总量
  6623. type: number
  6624. oritotalneedhedgeqty:
  6625. description: 期初现货应套保量
  6626. type: number
  6627. type: object
  6628. models.ErmcpRole:
  6629. properties:
  6630. areauserid:
  6631. description: 所属机构
  6632. type: integer
  6633. autoid:
  6634. description: 角色ID(自增ID)
  6635. type: integer
  6636. modifierid:
  6637. description: 修改人(创建人)
  6638. type: integer
  6639. modifiername:
  6640. description: 修改人名称
  6641. type: string
  6642. modifytime:
  6643. description: 修改时间(创建时间)
  6644. type: string
  6645. rolename:
  6646. description: 角色名称
  6647. type: string
  6648. rolestatus:
  6649. description: 角色状态 - 1:启用 2:停用
  6650. type: integer
  6651. roletype:
  6652. description: 角色类型 - 1- 管理端 2- 交易端
  6653. type: integer
  6654. type: object
  6655. models.ErmcpRoleMenu:
  6656. properties:
  6657. iconame:
  6658. description: 菜单图标
  6659. type: string
  6660. ishadrole:
  6661. description: 是否有权限
  6662. type: boolean
  6663. menutype:
  6664. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6665. type: integer
  6666. parentcode:
  6667. description: 上级资源代码
  6668. type: string
  6669. remark:
  6670. description: 菜单备注
  6671. type: string
  6672. resourcecode:
  6673. description: 菜单代码
  6674. type: string
  6675. resourcelevel:
  6676. description: 级别
  6677. type: integer
  6678. resourcename:
  6679. description: 菜单名称
  6680. type: string
  6681. roleid:
  6682. description: 角色id
  6683. type: integer
  6684. sort:
  6685. description: 排序
  6686. type: integer
  6687. url:
  6688. description: URL
  6689. type: string
  6690. userid:
  6691. description: 用户id
  6692. type: integer
  6693. type: object
  6694. models.ErmcpRoleMenuEx:
  6695. properties:
  6696. menu:
  6697. $ref: '#/definitions/models.ErmcpRoleMenu'
  6698. description: 父级菜单
  6699. type: object
  6700. subMenu:
  6701. description: 子级菜单
  6702. items:
  6703. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6704. type: array
  6705. type: object
  6706. models.ErmcpTaAccount:
  6707. properties:
  6708. accountid:
  6709. description: 账户id
  6710. type: integer
  6711. accountname:
  6712. description: 账户名称
  6713. type: string
  6714. currencyid:
  6715. description: 币种id
  6716. type: integer
  6717. hedgeaccountcode:
  6718. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6719. type: string
  6720. ismain:
  6721. description: 是否主账户 0-否 1-是
  6722. type: integer
  6723. parentaccountid:
  6724. description: 父账户id
  6725. type: integer
  6726. relateduserid:
  6727. description: 关联userid
  6728. type: integer
  6729. tradefeetmpid:
  6730. description: 手续费模板id
  6731. type: integer
  6732. tradefeetmpname:
  6733. description: 手续费模板名称
  6734. type: string
  6735. trademargintmpid:
  6736. description: 保证金模板id
  6737. type: integer
  6738. trademargintmpname:
  6739. description: 保证金模板名称
  6740. type: string
  6741. traderatetmpid:
  6742. description: 汇率模板id
  6743. type: integer
  6744. traderatetmpname:
  6745. description: 汇率模板名称
  6746. type: string
  6747. tradestatus:
  6748. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6749. type: integer
  6750. userid:
  6751. description: 用户id
  6752. type: integer
  6753. type: object
  6754. models.ErmcpTaAccountEx:
  6755. properties:
  6756. mainAcc:
  6757. $ref: '#/definitions/models.ErmcpTaAccountM'
  6758. description: 主账号
  6759. type: object
  6760. subacclist:
  6761. description: 子账号列表
  6762. items:
  6763. $ref: '#/definitions/models.ErmcpTaAccount'
  6764. type: array
  6765. type: object
  6766. models.ErmcpTaAccountInfo:
  6767. properties:
  6768. accountid:
  6769. description: 资金账户ID
  6770. type: integer
  6771. accountname:
  6772. description: 账户名称
  6773. type: string
  6774. balance:
  6775. description: 期初余额
  6776. type: number
  6777. capitalbalance:
  6778. description: 本金余额[外部子账户实际出入金余额]
  6779. type: number
  6780. closepl:
  6781. description: 今日平仓盈亏
  6782. type: number
  6783. creditdecrease:
  6784. description: 今日授信减少
  6785. type: number
  6786. creditincrease:
  6787. description: 今日授信增加
  6788. type: number
  6789. curdebt:
  6790. description: 期末欠款
  6791. type: number
  6792. currencyid:
  6793. description: 货币ID
  6794. type: integer
  6795. currentbalance:
  6796. description: 期末余额
  6797. type: number
  6798. freezecharge:
  6799. description: 手续费冻结
  6800. type: number
  6801. freezemargin:
  6802. description: 冻结保证金
  6803. type: number
  6804. fromaccountid:
  6805. description: 所属上级账户
  6806. type: integer
  6807. inamount:
  6808. description: 今日入金金额(包括三方入金)
  6809. type: number
  6810. ismain:
  6811. description: 是否母账号 0:不是母账户 1:是母账户
  6812. type: integer
  6813. mortgagecredit:
  6814. description: 授信金额
  6815. type: number
  6816. oridebt:
  6817. description: 期初欠款
  6818. type: number
  6819. orifreezecharge:
  6820. description: 期初手续费冻结
  6821. type: number
  6822. orifreezemargin:
  6823. description: 期初冻结保证金
  6824. type: number
  6825. orimortgagecredit:
  6826. description: 期初授信金额
  6827. type: number
  6828. oriothercredit:
  6829. description: 期初其它授信金额
  6830. type: number
  6831. oriotherfreezemargin:
  6832. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6833. type: number
  6834. orioutamountfreeze:
  6835. description: 期初出金冻结
  6836. type: number
  6837. oriusedmargin:
  6838. description: 期初占用保证金
  6839. type: number
  6840. othercredit:
  6841. description: 其它授信金额
  6842. type: number
  6843. othercreditdecrease:
  6844. description: 今日其它授信减少
  6845. type: number
  6846. othercreditincrease:
  6847. description: 今日其它授信增加
  6848. type: number
  6849. otherfreezemargin:
  6850. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6851. type: number
  6852. outamount:
  6853. description: 今日出金金额(包括三方出金)
  6854. type: number
  6855. outamountfreeze:
  6856. description: 出金冻结
  6857. type: number
  6858. outthreshold:
  6859. description: 出金阈值
  6860. type: number
  6861. parentaccountid:
  6862. description: 所属根账号
  6863. type: integer
  6864. paycharge:
  6865. description: 今日手续费支出
  6866. type: number
  6867. relateduserid:
  6868. description: 关联用户
  6869. type: integer
  6870. signstatus:
  6871. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6872. type: integer
  6873. sublevelpath:
  6874. description: 账号层级路径(逗号分隔,首尾加逗号)
  6875. type: string
  6876. taaccounttype:
  6877. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6878. type: integer
  6879. thirdinamount:
  6880. description: 今日三方入金
  6881. type: number
  6882. thirdoutamount:
  6883. description: 今日三方出金
  6884. type: number
  6885. tradestatus:
  6886. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6887. type: integer
  6888. transferamount:
  6889. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6890. type: number
  6891. usedmargin:
  6892. description: 占用保证金
  6893. type: number
  6894. userid:
  6895. description: 用户ID
  6896. type: integer
  6897. type: object
  6898. models.ErmcpTaAccountM:
  6899. properties:
  6900. accountid:
  6901. description: 账户id
  6902. type: integer
  6903. accountname:
  6904. description: 账户名称
  6905. type: string
  6906. currencyid:
  6907. description: 币种id
  6908. type: integer
  6909. fcid:
  6910. description: 期货公司id
  6911. type: integer
  6912. fcname:
  6913. description: 期货公司代码
  6914. type: string
  6915. hedgeaccountcode:
  6916. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6917. type: string
  6918. ismain:
  6919. description: 是否主账户 0-否 1-是
  6920. type: integer
  6921. parentaccountid:
  6922. description: 父账户id
  6923. type: integer
  6924. relateduserid:
  6925. description: 关联userid
  6926. type: integer
  6927. tradefeetmpid:
  6928. description: 手续费模板id
  6929. type: integer
  6930. tradefeetmpname:
  6931. description: 手续费模板名称
  6932. type: string
  6933. trademargintmpid:
  6934. description: 保证金模板id
  6935. type: integer
  6936. trademargintmpname:
  6937. description: 保证金模板名称
  6938. type: string
  6939. traderatetmpid:
  6940. description: 汇率模板id
  6941. type: integer
  6942. traderatetmpname:
  6943. description: 汇率模板名称
  6944. type: string
  6945. tradestatus:
  6946. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6947. type: integer
  6948. userid:
  6949. description: 用户id
  6950. type: integer
  6951. type: object
  6952. models.ErmcpTradeConfigTMP:
  6953. properties:
  6954. areauserid:
  6955. description: 所属机构
  6956. type: integer
  6957. basiccurrencyid:
  6958. description: 基本币种ID[汇率] - 目标币种
  6959. type: integer
  6960. mainaccountid:
  6961. description: 主账户ID
  6962. type: integer
  6963. modifierid:
  6964. description: 修改人
  6965. type: integer
  6966. remark:
  6967. description: 备注
  6968. type: string
  6969. tradeconfigtmpid:
  6970. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6971. type: integer
  6972. tradeconfigtmpname:
  6973. description: 交易配置模板名称
  6974. type: string
  6975. tradeconfigtmptype:
  6976. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6977. type: integer
  6978. updatetime:
  6979. description: 更新时间
  6980. type: string
  6981. type: object
  6982. models.ErmcpUserModel:
  6983. properties:
  6984. address:
  6985. description: 通讯地址
  6986. type: string
  6987. attachment1:
  6988. description: 附件1
  6989. type: string
  6990. audittime:
  6991. description: 审核时间
  6992. type: string
  6993. cardbackphotourl:
  6994. description: 证件反面图片地址
  6995. type: string
  6996. cardfrontphotourl:
  6997. description: 证件正面图片地址
  6998. type: string
  6999. cardnum:
  7000. description: 证件号码
  7001. type: string
  7002. cardtype:
  7003. description: 证件类型
  7004. type: integer
  7005. cardtypename:
  7006. description: 证件类型名称
  7007. type: string
  7008. cityid:
  7009. description: 市
  7010. type: integer
  7011. contactname:
  7012. description: 联系人
  7013. type: string
  7014. countryid:
  7015. description: 国家
  7016. type: integer
  7017. createtime:
  7018. description: 创建时间
  7019. type: string
  7020. customername:
  7021. description: 企业名称
  7022. type: string
  7023. districtid:
  7024. description: 区域
  7025. type: integer
  7026. email:
  7027. description: 邮件
  7028. type: string
  7029. legalpersonname:
  7030. description: 法人姓名(企业)
  7031. type: string
  7032. memberuserid:
  7033. description: 所属机构ID
  7034. type: integer
  7035. mobile:
  7036. description: 手机号码
  7037. type: string
  7038. modifytime:
  7039. description: 修改时间
  7040. type: string
  7041. nickname:
  7042. description: 昵称
  7043. type: string
  7044. provinceid:
  7045. description: 省
  7046. type: integer
  7047. remark:
  7048. description: 备注
  7049. type: string
  7050. status:
  7051. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7052. type: integer
  7053. statusdesc:
  7054. description: 账户状态中文描述
  7055. type: string
  7056. taxpayernum:
  7057. description: 纳税人识别号
  7058. type: string
  7059. telphone:
  7060. description: 联系电话
  7061. type: string
  7062. userid:
  7063. description: 用户ID
  7064. type: integer
  7065. userinfotype:
  7066. description: 客户类型
  7067. type: string
  7068. type: object
  7069. models.ErmcpWareHouseInfo:
  7070. properties:
  7071. address:
  7072. description: 详细地址
  7073. type: string
  7074. areauserid:
  7075. description: 所属机构
  7076. type: integer
  7077. autoid:
  7078. description: 自增ID(仓库ID)
  7079. type: integer
  7080. cityid:
  7081. description: 市
  7082. type: integer
  7083. contactname:
  7084. description: 联系人
  7085. type: string
  7086. contactnum:
  7087. description: 联系电话
  7088. type: string
  7089. countryid:
  7090. description: 国家
  7091. type: integer
  7092. createtime:
  7093. description: 创建时间
  7094. type: string
  7095. districtid:
  7096. description: 区
  7097. type: integer
  7098. hasvideo:
  7099. description: 是否有视频 - 0:无 1:有
  7100. type: integer
  7101. provinceid:
  7102. description: 省
  7103. type: integer
  7104. remark:
  7105. description: 审核备注
  7106. type: string
  7107. videourl:
  7108. description: 视频地址
  7109. type: string
  7110. warehousecode:
  7111. description: 仓库代码
  7112. type: string
  7113. warehousename:
  7114. description: 仓库名称
  7115. type: string
  7116. warehousestatus:
  7117. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7118. type: integer
  7119. warehousetype:
  7120. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7121. type: integer
  7122. type: object
  7123. models.Externalexchange:
  7124. properties:
  7125. autoid:
  7126. description: AutoID - SEQ_EXTERNALEXCHANGE
  7127. type: integer
  7128. exchangefullname:
  7129. description: 外部交易所全称
  7130. type: string
  7131. exexchangecode:
  7132. description: 外部交易所代码
  7133. type: string
  7134. exexchangename:
  7135. description: 外部交易所名称(简称)
  7136. type: string
  7137. ismarketprice:
  7138. description: 是否支持市价 - 0:不支持 1:支持
  7139. type: integer
  7140. quotegear:
  7141. description: 行情档位(1-10)
  7142. type: integer
  7143. showbrokerflag:
  7144. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7145. type: integer
  7146. updatetime:
  7147. description: 更新时间
  7148. type: string
  7149. required:
  7150. - autoid
  7151. type: object
  7152. models.Funcmenulist:
  7153. properties:
  7154. iconame:
  7155. description: 菜单图标
  7156. type: string
  7157. menutype:
  7158. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7159. type: integer
  7160. parentcode:
  7161. description: 上级资源代码
  7162. type: string
  7163. remark:
  7164. description: 备注
  7165. type: string
  7166. resourcecode:
  7167. description: 资源代码
  7168. type: string
  7169. resourcelevel:
  7170. description: 级别 1-一级 2-二级 3-三级 4-四级
  7171. type: integer
  7172. resourcename:
  7173. description: 资源名
  7174. type: string
  7175. sort:
  7176. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7177. type: integer
  7178. url:
  7179. description: URL
  7180. type: string
  7181. required:
  7182. - resourcecode
  7183. type: object
  7184. models.Goods:
  7185. properties:
  7186. agreeunit:
  7187. description: 合约单位
  7188. type: number
  7189. areauserid:
  7190. description: 所属机构
  7191. type: integer
  7192. auditaccountid:
  7193. description: 审核操作员账号
  7194. type: integer
  7195. audittime:
  7196. description: 审核时间
  7197. type: string
  7198. cancelaccountid:
  7199. description: 注销操作员账号
  7200. type: integer
  7201. canceltime:
  7202. description: 注销时间
  7203. type: string
  7204. closepricemode:
  7205. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7206. type: integer
  7207. closepriceparam:
  7208. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7209. type: number
  7210. createtime:
  7211. description: 创建时间
  7212. type: string
  7213. creatorid:
  7214. description: 创建人
  7215. type: integer
  7216. currencyid:
  7217. description: 报价货币ID
  7218. type: integer
  7219. cutmode:
  7220. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7221. type: integer
  7222. decimalplace:
  7223. description: 报价小数位
  7224. type: integer
  7225. delistingdate:
  7226. description: 商品退市时间(状态:退市) -- 已作废
  7227. type: string
  7228. delistingmode:
  7229. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7230. type: integer
  7231. deliveryflag:
  7232. description: 交割标志 - 0:不可交割 1:可交割
  7233. type: integer
  7234. forceclosemode:
  7235. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7236. type: integer
  7237. forceclosevalue:
  7238. description: 定期强平参数 [收益权]
  7239. type: integer
  7240. goodscode:
  7241. description: 商品代码(内部)
  7242. type: string
  7243. goodscurrencyid:
  7244. description: 合约货币ID
  7245. type: integer
  7246. goodsgroupid:
  7247. description: 所属商品组ID
  7248. type: integer
  7249. goodsid:
  7250. description: 商品ID(自增ID SEQ_GOODS)
  7251. type: integer
  7252. goodsname:
  7253. description: 商品名称
  7254. type: string
  7255. goodsquotetype:
  7256. description: '合约报价类型: 1-直接报价 2-间接报价'
  7257. type: integer
  7258. goodsstatus:
  7259. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7260. type: integer
  7261. goodstradetype:
  7262. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7263. type: integer
  7264. goodunitid:
  7265. description: 报价单位ID
  7266. type: integer
  7267. hasquoter:
  7268. description: 是否有报价商 - 0:无报价商 1:有报价商
  7269. type: integer
  7270. hqprotecttime:
  7271. description: 行情保护时间(秒)
  7272. type: integer
  7273. innerdealmode:
  7274. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7275. type: integer
  7276. isbuylimited:
  7277. description: 是否限制建仓量 - 0:不限制 1:限制
  7278. type: integer
  7279. isvisible:
  7280. description: 游客是否可见 - 0:不可见 1:可见
  7281. type: integer
  7282. lasttradedate:
  7283. description: 最后交易日期(状态:待退市)
  7284. type: string
  7285. listingdate:
  7286. description: 交易开始日期
  7287. type: string
  7288. marketid:
  7289. description: 所属市场ID
  7290. type: integer
  7291. modifierid:
  7292. description: 修改人
  7293. type: integer
  7294. modifystatus:
  7295. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7296. type: integer
  7297. modifytime:
  7298. description: 修改时间
  7299. type: string
  7300. outerdealmode:
  7301. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7302. type: integer
  7303. outgoodscode:
  7304. description: 商品代码(外部)
  7305. type: string
  7306. pictureurl:
  7307. description: 商品图片
  7308. type: string
  7309. qtydecimalplace:
  7310. description: 成交量小数位
  7311. type: integer
  7312. quotegear:
  7313. description: 行情档位(1-10)
  7314. type: integer
  7315. quoteminunit:
  7316. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7317. type: integer
  7318. quoteshowtype:
  7319. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7320. type: integer
  7321. quoteshowtypeinterval:
  7322. description: 行情报价间隔时间(秒)(成交价时为0)
  7323. type: integer
  7324. remark:
  7325. description: 备注
  7326. type: string
  7327. required:
  7328. - goodscode
  7329. - goodsid
  7330. - goodsname
  7331. - marketid
  7332. type: object
  7333. models.GoodsIDAndName:
  7334. properties:
  7335. goodscode:
  7336. description: 商品代码(内部)
  7337. type: string
  7338. goodsid:
  7339. description: 商品ID(自增ID SEQ_GOODS)
  7340. type: integer
  7341. goodsname:
  7342. description: 商品名称
  7343. type: string
  7344. marketid:
  7345. description: 所属市场ID
  7346. type: integer
  7347. required:
  7348. - goodscode
  7349. - goodsid
  7350. - goodsname
  7351. - marketid
  7352. type: object
  7353. models.Goodsgroup:
  7354. properties:
  7355. agreeunit:
  7356. description: 合约单位
  7357. type: number
  7358. canshort:
  7359. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7360. type: integer
  7361. closepricemode:
  7362. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7363. type: integer
  7364. closepriceparam:
  7365. description: 强平最新价浮动比例 - 方式为2时使用
  7366. type: number
  7367. createtime:
  7368. description: 创建时间
  7369. type: string
  7370. creatorid:
  7371. description: 创建人
  7372. type: integer
  7373. currencyid:
  7374. description: 报价货币ID
  7375. type: integer
  7376. decimalplace:
  7377. description: 报价小数位
  7378. type: integer
  7379. exercisetype:
  7380. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7381. type: integer
  7382. exexchangeid:
  7383. description: 外部交易所ID[通道交易]
  7384. type: integer
  7385. goodsgroupid:
  7386. description: 商品组ID(自增ID)
  7387. type: integer
  7388. goodsgroupname:
  7389. description: 商品组名称
  7390. type: string
  7391. goodsgroupstatus:
  7392. description: 商品组状态 - 1:正常 2:注销
  7393. type: integer
  7394. goodunitid:
  7395. description: 报价单位ID
  7396. type: integer
  7397. innerdealmode:
  7398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. isbuylimited:
  7401. description: 是否限制建仓量 - 0:不限制 1:限制
  7402. type: integer
  7403. marketid:
  7404. description: 所属市场ID
  7405. type: integer
  7406. modifierid:
  7407. description: 修改人
  7408. type: integer
  7409. modifytime:
  7410. description: 修改时间
  7411. type: string
  7412. outerdealmode:
  7413. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7414. type: integer
  7415. outergroupcode:
  7416. description: 外部商品组代码[通道交易]
  7417. type: string
  7418. premiumdecimalplace:
  7419. description: 权利金小数位[场外期权]
  7420. type: integer
  7421. premiumspreadalgorithm:
  7422. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7423. type: integer
  7424. premiumspreadvalue:
  7425. description: 权利金点差值[场外期权]
  7426. type: number
  7427. qtydecimalplace:
  7428. description: 成交量小数位
  7429. type: integer
  7430. quotegear:
  7431. description: 行情档位(1-10)
  7432. type: integer
  7433. quoteminunit:
  7434. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7435. type: integer
  7436. quoterid:
  7437. description: 报价商ID[场外期权]
  7438. type: integer
  7439. quotesourcegroupid:
  7440. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7441. type: integer
  7442. syncgoodsqty:
  7443. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7444. type: integer
  7445. required:
  7446. - goodsgroupid
  7447. - goodsgroupname
  7448. - goodsgroupstatus
  7449. - marketid
  7450. type: object
  7451. models.Goodssortbypreposition:
  7452. properties:
  7453. goodscode:
  7454. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7455. type: string
  7456. goodsgroupcode:
  7457. description: 品种代码
  7458. type: string
  7459. prepositionqty:
  7460. description: 昨持仓量
  7461. type: integer
  7462. sortindex:
  7463. description: 排序
  7464. type: integer
  7465. tradedate:
  7466. description: 交易日
  7467. type: string
  7468. updatetime:
  7469. description: 更新时间
  7470. type: string
  7471. required:
  7472. - goodscode
  7473. - tradedate
  7474. type: object
  7475. models.Hedgeinnerholderdetail:
  7476. properties:
  7477. accountid:
  7478. description: 账号ID
  7479. type: integer
  7480. buyorsell:
  7481. description: 方向 - 0:买 1:卖
  7482. type: integer
  7483. freezeqty:
  7484. description: 冻结数量 - 按单平使用
  7485. type: integer
  7486. goodsid:
  7487. description: 商品ID
  7488. type: integer
  7489. holderamount:
  7490. description: 持仓金额 [商品币种]
  7491. type: number
  7492. holderdays:
  7493. description: 剩余冻结天数
  7494. type: integer
  7495. holderprice:
  7496. description: 持仓价格
  7497. type: number
  7498. holderqty:
  7499. description: 持仓数量
  7500. type: integer
  7501. marketid:
  7502. description: 市场ID
  7503. type: integer
  7504. openprice:
  7505. description: 建仓价格
  7506. type: number
  7507. openqty:
  7508. description: 建仓数量
  7509. type: integer
  7510. parentaccountid:
  7511. description: 所属母账户
  7512. type: integer
  7513. releaseamount:
  7514. description: 释放持仓金额[商品币种]
  7515. type: number
  7516. tradeamount:
  7517. description: 成交金额[账户]
  7518. type: number
  7519. tradedate:
  7520. description: 交易日(yyyyMMdd)
  7521. type: string
  7522. tradeid:
  7523. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7524. type: string
  7525. tradetime:
  7526. description: 交易时间
  7527. type: string
  7528. required:
  7529. - buyorsell
  7530. - tradeid
  7531. type: object
  7532. models.Hedgemarketopenlog:
  7533. properties:
  7534. accountid:
  7535. description: 资金账号[外部母账户]
  7536. type: integer
  7537. fcname:
  7538. description: 期货公司名称
  7539. type: string
  7540. handlestatus:
  7541. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7542. type: integer
  7543. marketid:
  7544. description: 市场ID
  7545. type: integer
  7546. status:
  7547. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7548. type: integer
  7549. tradedate:
  7550. description: 交易日(yyyyMMdd)
  7551. type: string
  7552. updatetime:
  7553. description: 更新时间
  7554. type: string
  7555. required:
  7556. - accountid
  7557. type: object
  7558. models.HsbyBuyMyPayOrder:
  7559. properties:
  7560. agreeunit:
  7561. description: 合约单位
  7562. type: number
  7563. buyaccountid:
  7564. description: 买方账号ID[报价币种]
  7565. type: integer
  7566. buyorderid:
  7567. description: 买方委托单号
  7568. type: string
  7569. createtime:
  7570. description: 创建时间
  7571. type: string
  7572. currencysign:
  7573. description: 货币符号
  7574. type: string
  7575. decimalplace:
  7576. description: 报价小数位
  7577. type: integer
  7578. goodscode:
  7579. description: 商品代码(内部)
  7580. type: string
  7581. goodsid:
  7582. description: 商品ID
  7583. type: integer
  7584. goodsname:
  7585. description: 商品名称
  7586. type: string
  7587. marketid:
  7588. description: 市场ID
  7589. type: integer
  7590. offamount:
  7591. description: 优惠金额
  7592. type: number
  7593. originalamount:
  7594. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7595. type: number
  7596. payamount:
  7597. description: 支付金额 = TradeAmount + TradeCharge
  7598. type: number
  7599. payflag:
  7600. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7601. type: integer
  7602. paylimitedtime:
  7603. description: 支付期限
  7604. type: string
  7605. paytime:
  7606. description: 付款时间
  7607. type: string
  7608. picurls1:
  7609. description: 预售商品介绍图片[多张用逗号分隔]
  7610. type: string
  7611. picurls2:
  7612. description: 挂牌商品介绍图片[多张用逗号分隔]
  7613. type: string
  7614. sellaccountid:
  7615. description: 卖方账号ID[报价币种]
  7616. type: integer
  7617. sellorderid:
  7618. description: 卖方委托单号
  7619. type: string
  7620. tradeamount:
  7621. description: 成交金额
  7622. type: number
  7623. tradecharge:
  7624. description: 成交手续费(买方)
  7625. type: number
  7626. tradedate:
  7627. description: 交易日(yyyyMMdd)
  7628. type: string
  7629. tradeid:
  7630. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7631. type: string
  7632. trademode:
  7633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7634. 21:竞拍-大宗式 22:受托竞价
  7635. type: integer
  7636. tradeprice:
  7637. description: 成交价格
  7638. type: number
  7639. tradeqty:
  7640. description: 成交数量
  7641. type: integer
  7642. vendorname1:
  7643. description: 预售商品供应商名称
  7644. type: string
  7645. vendorname2:
  7646. description: 挂牌商品供应商名称
  7647. type: string
  7648. required:
  7649. - goodscode
  7650. - goodsname
  7651. - tradeid
  7652. - trademode
  7653. type: object
  7654. models.HsbyBuyMyTradeDetail:
  7655. properties:
  7656. accountid:
  7657. description: 账户ID[报价币种]
  7658. type: integer
  7659. agreeunit:
  7660. description: 合约单位
  7661. type: number
  7662. amount:
  7663. description: 金额 = 价格 * 数量 * 合约单位
  7664. type: number
  7665. buyorsell:
  7666. description: 买卖 - 0:买 1:卖
  7667. type: integer
  7668. currencysign:
  7669. description: 货币符号
  7670. type: string
  7671. decimalplace:
  7672. description: 报价小数位
  7673. type: integer
  7674. goodscode:
  7675. description: 商品代码(内部)
  7676. type: string
  7677. goodsid:
  7678. description: 商品ID
  7679. type: integer
  7680. goodsname:
  7681. description: 商品名称
  7682. type: string
  7683. marketid:
  7684. description: 市场ID
  7685. type: integer
  7686. orderamount:
  7687. description: 委托金额
  7688. type: number
  7689. orderid:
  7690. description: 单号(成交单号)
  7691. type: string
  7692. picurls1:
  7693. description: 预售商品介绍图片[多张用逗号分隔]
  7694. type: string
  7695. picurls2:
  7696. description: 挂牌商品介绍图片[多张用逗号分隔]
  7697. type: string
  7698. price:
  7699. description: 价格
  7700. type: number
  7701. qty:
  7702. description: 数量
  7703. type: integer
  7704. time:
  7705. description: 时间
  7706. type: string
  7707. trademode:
  7708. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7709. 21:竞拍-大宗式 22:受托竞价
  7710. type: integer
  7711. vendorname1:
  7712. description: 预售商品供应商名称
  7713. type: string
  7714. vendorname2:
  7715. description: 挂牌商品供应商名称
  7716. type: string
  7717. required:
  7718. - accountid
  7719. - buyorsell
  7720. - goodscode
  7721. - goodsid
  7722. - goodsname
  7723. - marketid
  7724. - orderid
  7725. - qty
  7726. - time
  7727. - trademode
  7728. type: object
  7729. models.HsbyGoodsOrderDetail:
  7730. properties:
  7731. buyorsell:
  7732. description: 买卖 - 0:买 1:卖
  7733. type: integer
  7734. currencysign:
  7735. description: 货币符号
  7736. type: string
  7737. customername:
  7738. description: 客户名称(企业名称),已脱敏
  7739. type: string
  7740. enableqty:
  7741. description: 可用数量
  7742. type: integer
  7743. goodunit:
  7744. description: 报价单位
  7745. type: string
  7746. orderid:
  7747. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7748. type: string
  7749. orderprice:
  7750. description: 委托价格
  7751. type: number
  7752. ordertime:
  7753. description: 委托时间
  7754. type: string
  7755. required:
  7756. - buyorsell
  7757. - orderid
  7758. - ordertime
  7759. type: object
  7760. models.HsbyListingGoodsDetail:
  7761. properties:
  7762. agreeunit:
  7763. description: 合约单位
  7764. type: number
  7765. buymaxqty:
  7766. description: 购买上限 [71] - 0为不限
  7767. type: integer
  7768. currency:
  7769. description: 货币
  7770. type: string
  7771. currencysign:
  7772. description: 货币符号
  7773. type: string
  7774. decimalplace:
  7775. description: 报价小数位
  7776. type: integer
  7777. desccityid:
  7778. description: 目的地(市)ID
  7779. type: integer
  7780. descprovinceid:
  7781. description: 目的地(省)ID
  7782. type: integer
  7783. goodscode:
  7784. description: 商品代码(内部)
  7785. type: string
  7786. goodsdesc:
  7787. description: 商品详情
  7788. type: string
  7789. goodsid:
  7790. description: 商品ID(自增ID SEQ_GOODS)
  7791. type: integer
  7792. goodsname:
  7793. description: 商品名称
  7794. type: string
  7795. goodsprice:
  7796. description: 商品价格
  7797. type: number
  7798. hotindex:
  7799. description: 景点热度
  7800. type: integer
  7801. last:
  7802. description: 现价
  7803. type: number
  7804. limitdown:
  7805. description: 跌停价
  7806. type: number
  7807. limitup:
  7808. description: 涨停价
  7809. type: number
  7810. lotsize:
  7811. description: 手数最小变动单位
  7812. type: integer
  7813. marketid:
  7814. description: 所属市场ID
  7815. type: integer
  7816. picurls:
  7817. description: 介绍图片[多张用逗号分隔]
  7818. type: string
  7819. quoteminunit:
  7820. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7821. type: integer
  7822. stepvalue:
  7823. description: 价格最小变动单位
  7824. type: number
  7825. trademode:
  7826. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7827. 21:竞拍-大宗式 22:受托竞价
  7828. type: integer
  7829. vendorattr:
  7830. description: 供应商附件(多张,逗号分隔)
  7831. type: string
  7832. vendorname:
  7833. description: 供应商名称
  7834. type: string
  7835. vendorphone:
  7836. description: 供应商客服电话
  7837. type: string
  7838. videourls:
  7839. description: 介绍视频[多张用逗号分隔]
  7840. type: string
  7841. required:
  7842. - goodscode
  7843. - goodsid
  7844. - goodsname
  7845. - marketid
  7846. - trademode
  7847. type: object
  7848. models.HsbyMarketGoods:
  7849. properties:
  7850. accountid:
  7851. description: 账户ID[报价币种]
  7852. type: integer
  7853. agreeunit:
  7854. description: 合约单位
  7855. type: number
  7856. buyorsell:
  7857. description: 买卖 - 0:买 1:卖
  7858. type: integer
  7859. categoryid:
  7860. description: 类别ID(WRCATEGORY)
  7861. type: integer
  7862. currency:
  7863. description: 货币
  7864. type: string
  7865. currencysign:
  7866. description: 货币符号
  7867. type: string
  7868. customername:
  7869. description: 卖家名称
  7870. type: string
  7871. decimalplace:
  7872. description: 报价小数位
  7873. type: integer
  7874. goodscode:
  7875. description: 商品代码(内部)
  7876. type: string
  7877. goodsid:
  7878. description: 商品ID
  7879. type: integer
  7880. goodsname:
  7881. description: 商品名称
  7882. type: string
  7883. goodsprice:
  7884. description: 商品价格
  7885. type: number
  7886. hascoupon:
  7887. description: 是否可用优惠卷
  7888. type: boolean
  7889. hotindex:
  7890. description: 景点热度
  7891. type: integer
  7892. marketid:
  7893. description: 市场ID
  7894. type: integer
  7895. orderid:
  7896. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7897. type: string
  7898. orderprice:
  7899. description: 委托价格
  7900. type: number
  7901. orderstatus:
  7902. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7903. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7904. 16:成交失败违约(荷兰式竞拍专用)
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. sellUserID:
  7913. description: 卖方UserID
  7914. type: integer
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. videourls:
  7920. description: 介绍视频[多张用逗号分隔]
  7921. type: string
  7922. required:
  7923. - accountid
  7924. - buyorsell
  7925. - goodscode
  7926. - goodsid
  7927. - goodsname
  7928. - marketid
  7929. - orderid
  7930. - trademode
  7931. type: object
  7932. models.HsbyMarketGoodsDetail:
  7933. properties:
  7934. accountid:
  7935. description: 账户ID[报价币种]
  7936. type: integer
  7937. agreeunit:
  7938. description: 合约单位
  7939. type: number
  7940. buymaxqty:
  7941. description: 购买上限 [71] - 0为不限
  7942. type: integer
  7943. buyorsell:
  7944. description: 买卖 - 0:买 1:卖
  7945. type: integer
  7946. cancelqty:
  7947. description: 撤单数量
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsdesc:
  7968. description: 商品详情
  7969. type: string
  7970. goodsid:
  7971. description: 商品ID
  7972. type: integer
  7973. goodsname:
  7974. description: 商品名称
  7975. type: string
  7976. goodsprice:
  7977. description: 商品价格
  7978. type: number
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. lotsize:
  7983. description: 手数最小变动单位
  7984. type: integer
  7985. marketid:
  7986. description: 市场ID
  7987. type: integer
  7988. orderid:
  7989. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7990. type: string
  7991. orderprice:
  7992. description: 委托价格
  7993. type: number
  7994. orderqty:
  7995. description: 委托数量
  7996. type: integer
  7997. orderstatus:
  7998. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7999. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8000. 16:成交失败违约(荷兰式竞拍专用)
  8001. type: integer
  8002. picurls:
  8003. description: 介绍图片[多张用逗号分隔]
  8004. type: string
  8005. quoteminunit:
  8006. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8007. type: integer
  8008. sellUserID:
  8009. description: 卖方UserID
  8010. type: integer
  8011. trademode:
  8012. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8013. 21:竞拍-大宗式 22:受托竞价
  8014. type: integer
  8015. tradeqty:
  8016. description: 成交数量
  8017. type: integer
  8018. vendorattr:
  8019. description: 供应商附件(多张,逗号分隔)
  8020. type: string
  8021. vendorname:
  8022. description: 供应商名称
  8023. type: string
  8024. vendorphone:
  8025. description: 供应商客服电话
  8026. type: string
  8027. videourls:
  8028. description: 介绍视频[多张用逗号分隔]
  8029. type: string
  8030. required:
  8031. - accountid
  8032. - buyorsell
  8033. - goodscode
  8034. - goodsid
  8035. - goodsname
  8036. - marketid
  8037. - orderid
  8038. - orderqty
  8039. - trademode
  8040. type: object
  8041. models.HsbyMarketInfo:
  8042. properties:
  8043. marketid:
  8044. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8045. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8046. type: integer
  8047. marketname:
  8048. description: 市场名称
  8049. type: string
  8050. marketstatus:
  8051. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8052. type: integer
  8053. trademode:
  8054. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8055. 21:竞拍-大宗式 22:受托竞价
  8056. type: integer
  8057. required:
  8058. - marketid
  8059. - marketstatus
  8060. - trademode
  8061. type: object
  8062. models.HsbyMyGoods:
  8063. properties:
  8064. accountid:
  8065. description: 账号Id
  8066. type: integer
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. buyaverageprice:
  8071. description: 持仓均价
  8072. type: number
  8073. buycurholderamount:
  8074. description: 买当前持仓总金额[商品币种]
  8075. type: number
  8076. buycurpositionqty:
  8077. description: 买当前持仓总数量
  8078. type: integer
  8079. buymaxqty:
  8080. description: 购买上限 [71] - 0为不限
  8081. type: integer
  8082. currencysign:
  8083. description: 货币符号
  8084. type: string
  8085. decimalplace:
  8086. description: 报价小数位
  8087. type: integer
  8088. enableqty:
  8089. description: 可用数量
  8090. type: integer
  8091. goodscode:
  8092. description: 商品代码(内部)
  8093. type: string
  8094. goodsid:
  8095. description: 商品Id
  8096. type: integer
  8097. goodsname:
  8098. description: 商品名称
  8099. type: string
  8100. goodsprice:
  8101. description: 商品价格
  8102. type: number
  8103. goodsstatus:
  8104. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8105. type: integer
  8106. last:
  8107. description: 现价(仅使用于挂牌点选)
  8108. type: number
  8109. limitdown:
  8110. description: 跌停价(仅使用于挂牌点选)
  8111. type: number
  8112. limitup:
  8113. description: 涨停价(仅使用于挂牌点选)
  8114. type: number
  8115. lotsize:
  8116. description: 手数最小变动单位
  8117. type: integer
  8118. marketid:
  8119. description: 所属市场ID
  8120. type: integer
  8121. picurls:
  8122. description: 介绍图片[多张用逗号分隔]
  8123. type: string
  8124. quoteminunit:
  8125. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8126. type: integer
  8127. stepvalue:
  8128. description: 价格最小变动单位
  8129. type: number
  8130. trademode:
  8131. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8132. 21:竞拍-大宗式 22:受托竞价
  8133. type: integer
  8134. required:
  8135. - accountid
  8136. - goodscode
  8137. - goodsid
  8138. - goodsname
  8139. - marketid
  8140. - trademode
  8141. type: object
  8142. models.HsbyMyPackage:
  8143. properties:
  8144. accountid:
  8145. description: 账户ID
  8146. type: integer
  8147. address:
  8148. description: 提货人详细地址
  8149. type: string
  8150. agreeunit:
  8151. description: 合约单位
  8152. type: number
  8153. amount:
  8154. description: 提货金额
  8155. type: number
  8156. auditer:
  8157. description: 审核人
  8158. type: integer
  8159. audittime:
  8160. description: 审核时间
  8161. type: string
  8162. averageprice:
  8163. description: 均价
  8164. type: number
  8165. cardnum:
  8166. description: 提货人证件号码
  8167. type: string
  8168. cardtypeid:
  8169. description: 提货人证件类型
  8170. type: integer
  8171. checkremark:
  8172. description: 审核备注
  8173. type: string
  8174. currencysign:
  8175. description: 货币符号
  8176. type: string
  8177. decimalplace:
  8178. description: 报价小数位
  8179. type: integer
  8180. goodscode:
  8181. description: 商品代码(内部)
  8182. type: string
  8183. goodsid:
  8184. description: 商品ID
  8185. type: integer
  8186. goodsname:
  8187. description: 商品名称
  8188. type: string
  8189. handlestatus:
  8190. description: 处理状态
  8191. type: integer
  8192. marketid:
  8193. description: 市场ID
  8194. type: integer
  8195. phonenum:
  8196. description: 提货人联系方式
  8197. type: string
  8198. picurls:
  8199. description: 介绍图片[多张用逗号分隔]
  8200. type: string
  8201. qty:
  8202. description: 提货数量
  8203. type: number
  8204. recivername:
  8205. description: 提货人姓名
  8206. type: string
  8207. reqtime:
  8208. description: 更新时间
  8209. type: string
  8210. takemode:
  8211. description: 提货方式 - 2:自提 3:配送
  8212. type: integer
  8213. takeorderid:
  8214. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8215. type: string
  8216. takeorderstatus:
  8217. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8218. type: integer
  8219. takeremark:
  8220. description: 提货备注
  8221. type: string
  8222. tradedate:
  8223. description: 交易日(yyyyMMdd)
  8224. type: string
  8225. trademode:
  8226. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8227. 21:竞拍-大宗式 22:受托竞价
  8228. type: integer
  8229. userid:
  8230. description: 用户ID
  8231. type: integer
  8232. vendorname:
  8233. description: 供应商名称
  8234. type: string
  8235. required:
  8236. - goodscode
  8237. - goodsname
  8238. - takeorderid
  8239. - trademode
  8240. type: object
  8241. models.HsbyPreGoods:
  8242. properties:
  8243. agreeunit:
  8244. description: 合约单位
  8245. type: number
  8246. currency:
  8247. description: 货币
  8248. type: string
  8249. currencysign:
  8250. description: 货币符号
  8251. type: string
  8252. decimalplace:
  8253. description: 报价小数位
  8254. type: integer
  8255. desccityid:
  8256. description: 目的地(市)
  8257. type: integer
  8258. descprovinceid:
  8259. description: 目的地(省)
  8260. type: integer
  8261. enableqty:
  8262. description: 剩余数量
  8263. type: integer
  8264. goodscode:
  8265. description: 商品代码(内部)
  8266. type: string
  8267. goodsid:
  8268. description: 商品ID(自增ID SEQ_GOODS)
  8269. type: integer
  8270. goodsname:
  8271. description: 商品名称
  8272. type: string
  8273. goodsstatus:
  8274. description: 商品状态- 2:未上市 3:上市
  8275. type: integer
  8276. lasttradedate:
  8277. description: 最后交易日期(状态:待退市)
  8278. type: string
  8279. listingdate:
  8280. description: 交易开始日期
  8281. type: string
  8282. marketid:
  8283. description: 所属市场ID
  8284. type: integer
  8285. picurls:
  8286. description: 介绍图片[多张用逗号分隔]
  8287. type: string
  8288. presaledqty:
  8289. description: 已预售量(预售结束时更新)
  8290. type: integer
  8291. presaleqty:
  8292. description: 预售数量
  8293. type: integer
  8294. quoteminunit:
  8295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8296. type: integer
  8297. refprice:
  8298. description: 参考价格[一口价]
  8299. type: number
  8300. relatedgoodsid:
  8301. description: 关联交易合约ID
  8302. type: integer
  8303. trademode:
  8304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8305. 21:竞拍-大宗式 22:受托竞价
  8306. type: integer
  8307. videourls:
  8308. description: 介绍视频[多张用逗号分隔]
  8309. type: string
  8310. required:
  8311. - goodscode
  8312. - goodsid
  8313. - goodsname
  8314. - marketid
  8315. - trademode
  8316. type: object
  8317. models.HsbyPreGoodsDetail:
  8318. properties:
  8319. agreeunit:
  8320. description: 合约单位
  8321. type: number
  8322. buymaxqty:
  8323. description: 购买上限 [71] - 0为不限
  8324. type: integer
  8325. currency:
  8326. description: 货币
  8327. type: string
  8328. currencysign:
  8329. description: 货币符号
  8330. type: string
  8331. customername:
  8332. description: 发行单位
  8333. type: string
  8334. decimalplace:
  8335. description: 报价小数位
  8336. type: integer
  8337. desccityid:
  8338. description: 目的地(市)ID
  8339. type: integer
  8340. descprovinceid:
  8341. description: 目的地(省)ID
  8342. type: integer
  8343. enableqty:
  8344. description: 剩余数量
  8345. type: integer
  8346. goodscode:
  8347. description: 商品代码(内部)
  8348. type: string
  8349. goodsdesc:
  8350. description: 商品详情
  8351. type: string
  8352. goodsid:
  8353. description: 商品ID(自增ID SEQ_GOODS)
  8354. type: integer
  8355. goodsname:
  8356. description: 商品名称
  8357. type: string
  8358. goodsstatus:
  8359. description: 商品状态- 2:未上市 3:上市
  8360. type: integer
  8361. goodunit:
  8362. description: 报价单位
  8363. type: string
  8364. lasttradedate:
  8365. description: 最后交易日期(状态:待退市)
  8366. type: string
  8367. listingdate:
  8368. description: 交易开始日期
  8369. type: string
  8370. lotsize:
  8371. description: 手数最小变动单位
  8372. type: integer
  8373. marketid:
  8374. description: 所属市场ID
  8375. type: integer
  8376. picurls:
  8377. description: 介绍图片[多张用逗号分隔]
  8378. type: string
  8379. presaledqty:
  8380. description: 已预售量(预售结束时更新)
  8381. type: integer
  8382. presaleqty:
  8383. description: 预售数量
  8384. type: integer
  8385. quoteminunit:
  8386. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8387. type: integer
  8388. refprice:
  8389. description: 参考价格[一口价]
  8390. type: number
  8391. relatedgoodsid:
  8392. description: 关联交易合约ID
  8393. type: integer
  8394. stepvalue:
  8395. description: 价格最小变动单位
  8396. type: number
  8397. trademode:
  8398. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8399. 21:竞拍-大宗式 22:受托竞价
  8400. type: integer
  8401. vendorattr:
  8402. description: 供应商附件(多张,逗号分隔)
  8403. type: string
  8404. vendorname:
  8405. description: 供应商名称
  8406. type: string
  8407. vendorphone:
  8408. description: 供应商客服电话
  8409. type: string
  8410. videourls:
  8411. description: 介绍视频[多张用逗号分隔]
  8412. type: string
  8413. required:
  8414. - goodscode
  8415. - goodsid
  8416. - goodsname
  8417. - marketid
  8418. - trademode
  8419. type: object
  8420. models.HsbySellCollectionOrder:
  8421. properties:
  8422. agreeunit:
  8423. description: 合约单位
  8424. type: number
  8425. buyaccountid:
  8426. description: 买方账号ID[报价币种]
  8427. type: integer
  8428. buyorderid:
  8429. description: 买方委托单号
  8430. type: string
  8431. createtime:
  8432. description: 创建时间
  8433. type: string
  8434. currencysign:
  8435. description: 货币符号
  8436. type: string
  8437. decimalplace:
  8438. description: 报价小数位
  8439. type: integer
  8440. goodscode:
  8441. description: 商品代码(内部)
  8442. type: string
  8443. goodsid:
  8444. description: 商品ID
  8445. type: integer
  8446. goodsname:
  8447. description: 商品名称
  8448. type: string
  8449. marketid:
  8450. description: 市场ID
  8451. type: integer
  8452. offamount:
  8453. description: 优惠金额
  8454. type: number
  8455. payamount:
  8456. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8457. type: number
  8458. payflag:
  8459. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8460. type: integer
  8461. paylimitedtime:
  8462. description: 支付期限
  8463. type: string
  8464. paytime:
  8465. description: 付款时间
  8466. type: string
  8467. picurls:
  8468. description: 商品介绍图片[多张用逗号分隔]
  8469. type: string
  8470. sellaccountid:
  8471. description: 卖方账号ID[报价币种]
  8472. type: integer
  8473. sellorderid:
  8474. description: 卖方委托单号
  8475. type: string
  8476. tradeamount:
  8477. description: 成交金额
  8478. type: number
  8479. tradecharge:
  8480. description: 成交手续费(买方)
  8481. type: number
  8482. tradedate:
  8483. description: 交易日(yyyyMMdd)
  8484. type: string
  8485. tradeid:
  8486. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8487. type: string
  8488. trademode:
  8489. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8490. 21:竞拍-大宗式 22:受托竞价
  8491. type: integer
  8492. tradeprice:
  8493. description: 成交价格
  8494. type: number
  8495. tradeqty:
  8496. description: 成交数量
  8497. type: integer
  8498. required:
  8499. - goodscode
  8500. - goodsname
  8501. - tradeid
  8502. - trademode
  8503. type: object
  8504. models.HsbySellMyDetail:
  8505. properties:
  8506. accountid:
  8507. description: 账户ID[报价币种]
  8508. type: integer
  8509. agreeunit:
  8510. description: 合约单位
  8511. type: number
  8512. buyorsell:
  8513. description: 买卖 - 0:买 1:卖
  8514. type: integer
  8515. currencysign:
  8516. description: 货币符号
  8517. type: string
  8518. decimalplace:
  8519. description: 报价小数位
  8520. type: integer
  8521. goodscode:
  8522. description: 商品代码(内部)
  8523. type: string
  8524. goodsid:
  8525. description: 商品ID
  8526. type: integer
  8527. goodsname:
  8528. description: 商品名称
  8529. type: string
  8530. marketid:
  8531. description: 市场ID
  8532. type: integer
  8533. orderid:
  8534. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8535. type: string
  8536. ordertype:
  8537. description: 单据类型:0 - 发布中, 1 - 已完成
  8538. type: integer
  8539. picurls:
  8540. description: 介绍图片[多张用逗号分隔]
  8541. type: string
  8542. price:
  8543. description: 价格
  8544. type: number
  8545. qty:
  8546. description: 数量
  8547. type: integer
  8548. time:
  8549. description: 时间
  8550. type: string
  8551. trademode:
  8552. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8553. 21:竞拍-大宗式 22:受托竞价
  8554. type: integer
  8555. vendorname:
  8556. description: 供应商名称
  8557. type: string
  8558. required:
  8559. - accountid
  8560. - buyorsell
  8561. - goodscode
  8562. - goodsid
  8563. - goodsname
  8564. - marketid
  8565. - orderid
  8566. - time
  8567. - trademode
  8568. type: object
  8569. models.HsbyTopGoods:
  8570. properties:
  8571. agreeunit:
  8572. description: 合约单位
  8573. type: number
  8574. currency:
  8575. description: 货币
  8576. type: string
  8577. currencysign:
  8578. description: 货币符号
  8579. type: string
  8580. decimalplace:
  8581. description: 报价小数位
  8582. type: integer
  8583. desccityid:
  8584. description: 目的地(市)
  8585. type: integer
  8586. descprovinceid:
  8587. description: 目的地(省)
  8588. type: integer
  8589. goodscode:
  8590. description: 商品代码(内部)
  8591. type: string
  8592. goodsid:
  8593. description: 商品ID(自增ID SEQ_GOODS)
  8594. type: integer
  8595. goodsname:
  8596. description: 商品名称
  8597. type: string
  8598. hotindex:
  8599. description: 景点热度
  8600. type: integer
  8601. last:
  8602. description: 现价
  8603. type: number
  8604. marketid:
  8605. description: 所属市场ID
  8606. type: integer
  8607. picurls:
  8608. description: 介绍图片[多张用逗号分隔]
  8609. type: string
  8610. quoteminunit:
  8611. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8612. type: integer
  8613. trademode:
  8614. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8615. 21:竞拍-大宗式 22:受托竞价
  8616. type: integer
  8617. videourls:
  8618. description: 介绍视频[多张用逗号分隔]
  8619. type: string
  8620. required:
  8621. - goodscode
  8622. - goodsid
  8623. - goodsname
  8624. - marketid
  8625. - trademode
  8626. type: object
  8627. models.HybsMyBuyOrderDetail:
  8628. properties:
  8629. accountid:
  8630. description: 账户ID[报价币种]
  8631. type: integer
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyorsell:
  8636. description: 买卖 - 0:买 1:卖
  8637. type: integer
  8638. cancelqty:
  8639. description: 撤单数量
  8640. type: integer
  8641. currencysign:
  8642. description: 货币符号
  8643. type: string
  8644. decimalplace:
  8645. description: 报价小数位
  8646. type: integer
  8647. goodscode:
  8648. description: 商品代码(内部)
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. listingselecttype:
  8657. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8658. type: integer
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. mybuystatus:
  8663. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8664. type: integer
  8665. orderamount:
  8666. description: 委托金额
  8667. type: number
  8668. orderid:
  8669. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8670. type: string
  8671. orderprice:
  8672. description: 委托价格
  8673. type: number
  8674. orderqty:
  8675. description: 委托数量
  8676. type: integer
  8677. orderstatus:
  8678. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8679. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8680. 16:成交失败违约(荷兰式竞拍专用)
  8681. type: integer
  8682. ordertime:
  8683. description: 委托时间
  8684. type: string
  8685. picurls1:
  8686. description: 预售商品介绍图片[多张用逗号分隔]
  8687. type: string
  8688. picurls2:
  8689. description: 挂牌商品介绍图片[多张用逗号分隔]
  8690. type: string
  8691. trademode:
  8692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8693. 21:竞拍-大宗式 22:受托竞价
  8694. type: integer
  8695. tradeqty:
  8696. description: 成交数量
  8697. type: integer
  8698. vendorname1:
  8699. description: 预售商品供应商名称
  8700. type: string
  8701. vendorname2:
  8702. description: 挂牌商品供应商名称
  8703. type: string
  8704. required:
  8705. - accountid
  8706. - buyorsell
  8707. - goodscode
  8708. - goodsid
  8709. - goodsname
  8710. - marketid
  8711. - orderid
  8712. - orderqty
  8713. - ordertime
  8714. - trademode
  8715. type: object
  8716. models.Loginaccount:
  8717. properties:
  8718. canoutin:
  8719. description: 是否可出入金 - 0:不可 1:可
  8720. type: integer
  8721. clientroleid:
  8722. description: 终端角色ID
  8723. type: integer
  8724. haslogined:
  8725. description: 是否已登录 - 0:未登录 1:已登录
  8726. type: integer
  8727. hasupdatedpwd:
  8728. description: 是否已更改密码 - 0:未修改 1:已修改
  8729. type: integer
  8730. lastloginip:
  8731. description: 最新登录地址
  8732. type: string
  8733. lastloginmode:
  8734. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8735. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8736. type: integer
  8737. lastloginremark:
  8738. description: 最新登录描述
  8739. type: string
  8740. lastlogintime:
  8741. description: 最新登录时间
  8742. type: string
  8743. logincode:
  8744. description: 登录代码
  8745. type: string
  8746. loginfailnum:
  8747. description: 连续登录失败次数(登录成功时清零)
  8748. type: integer
  8749. loginid:
  8750. description: 登陆账号
  8751. type: integer
  8752. loginport:
  8753. description: 最新登录端口
  8754. type: integer
  8755. loginstatus:
  8756. description: 登录账号状态 1:正常 2:冻结 3:无效
  8757. type: integer
  8758. loginusertype:
  8759. description: 登录账号类型 - 1:投资者 2:机构交易员
  8760. type: integer
  8761. modifierid:
  8762. description: 修改人
  8763. type: integer
  8764. modifytime:
  8765. description: 修改时间
  8766. type: string
  8767. pwdwrongcount:
  8768. description: 密码错误次数
  8769. type: integer
  8770. taaccountrighttype:
  8771. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8772. type: integer
  8773. unfreezetime:
  8774. description: 账户解冻时间
  8775. type: string
  8776. userid:
  8777. description: 用户ID
  8778. type: integer
  8779. required:
  8780. - loginid
  8781. type: object
  8782. models.MainAccountInfo:
  8783. properties:
  8784. accountid:
  8785. description: 账号id
  8786. type: integer
  8787. accountname:
  8788. description: 账号名称(taaccount表中的名称)
  8789. type: string
  8790. appid:
  8791. description: AppID
  8792. type: string
  8793. authcode:
  8794. description: 授权码
  8795. type: string
  8796. brokerid:
  8797. description: 经纪商id
  8798. type: string
  8799. fcid:
  8800. description: 期货公司id
  8801. type: integer
  8802. fcname:
  8803. description: 期货公司代码
  8804. type: string
  8805. hedgeaccountcode:
  8806. description: 外部账号代码(主账号登录代码)
  8807. type: string
  8808. hedgeaccountpwd:
  8809. description: 密码
  8810. type: string
  8811. ismain:
  8812. description: 是否主账号
  8813. type: integer
  8814. relateduserid:
  8815. description: 关联用户id
  8816. type: integer
  8817. userid:
  8818. description: 关联用户id
  8819. type: integer
  8820. type: object
  8821. models.Market:
  8822. properties:
  8823. auctionwrtype:
  8824. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8825. type: integer
  8826. canacceptquote:
  8827. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8828. type: integer
  8829. cangoodsexercise:
  8830. description: '[期权]是否可现货行权- 0:否 1:是'
  8831. type: integer
  8832. cangoodsexercisetype:
  8833. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8834. type: integer
  8835. canmanualquotestrike:
  8836. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8837. type: integer
  8838. canmutistage:
  8839. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8840. type: integer
  8841. canpreexercise:
  8842. description: '[期权]是否可预申报- 0:否 1:是'
  8843. type: integer
  8844. clearinterval:
  8845. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8846. type: integer
  8847. contracttmp:
  8848. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8849. type: string
  8850. exchareaid:
  8851. description: 所属交易所,可以没有
  8852. type: integer
  8853. goodstype:
  8854. description: 商品类型 - 1:交易商品 2:仓单商品
  8855. type: integer
  8856. hasrebate:
  8857. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8858. type: integer
  8859. hastradecredit:
  8860. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8861. type: integer
  8862. haswr:
  8863. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8864. type: integer
  8865. isdeductmargin:
  8866. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8867. type: integer
  8868. isrecordsource:
  8869. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8870. type: integer
  8871. isreleasemargin:
  8872. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8873. type: integer
  8874. marginformula:
  8875. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8876. type: integer
  8877. marginformula2:
  8878. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8879. type: integer
  8880. marketid:
  8881. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8882. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8883. type: integer
  8884. marketname:
  8885. description: 市场名称
  8886. type: string
  8887. marketserviceid:
  8888. description: 市场服务ID
  8889. type: integer
  8890. marketstatus:
  8891. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8892. type: integer
  8893. markettype:
  8894. description: 市场类型- 1:非交易服务 2:交易服务
  8895. type: integer
  8896. matchermode:
  8897. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8898. type: integer
  8899. openmethod:
  8900. description: 开盘模式 - 0 自动 1手动
  8901. type: integer
  8902. otcuserid:
  8903. description: 场外期权做市商[场外期权]
  8904. type: integer
  8905. outersynctime:
  8906. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8907. type: string
  8908. pendingflag:
  8909. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8910. type: integer
  8911. pendingtime:
  8912. description: 待开市时间[通道交易-对冲](HH:mm)
  8913. type: string
  8914. performancetempid:
  8915. description: 履约计划模板ID - 作废
  8916. type: integer
  8917. premiumquotemode:
  8918. description: 权利金报价方式 - 1:自动 2:手动
  8919. type: integer
  8920. rebateratio:
  8921. description: 返利比率[竞价式]
  8922. type: number
  8923. reckonorder:
  8924. description: 结算顺序
  8925. type: integer
  8926. reckonpricealgorithm:
  8927. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8928. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8929. type: integer
  8930. reckonpriceparam:
  8931. description: 结算价参数
  8932. type: integer
  8933. reckontime:
  8934. description: 结算时间[通道交易-对冲](HH:mm)
  8935. type: string
  8936. roleprioritytype:
  8937. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8938. type: integer
  8939. selllistingauditflag:
  8940. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8941. type: integer
  8942. trademarkettype:
  8943. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8944. type: integer
  8945. trademode:
  8946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8947. 21:竞拍-大宗式 22:受托竞价
  8948. type: integer
  8949. tradeproperty:
  8950. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8951. 8:场外期权
  8952. type: integer
  8953. tradetype:
  8954. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8955. type: integer
  8956. required:
  8957. - marketid
  8958. - marketstatus
  8959. - openmethod
  8960. - reckonpricealgorithm
  8961. - trademode
  8962. - tradeproperty
  8963. type: object
  8964. models.Marketrun:
  8965. properties:
  8966. afternexttradedate:
  8967. description: 下下交易日
  8968. type: string
  8969. clearquoteflag:
  8970. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8971. type: integer
  8972. lastreckondate:
  8973. description: 最新交易日(结算成功)
  8974. type: string
  8975. machinedate:
  8976. description: 机器时间
  8977. type: string
  8978. manualflag:
  8979. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8980. type: integer
  8981. marketid:
  8982. description: 市场ID
  8983. type: integer
  8984. nexttradedate:
  8985. description: 下一交易日
  8986. type: string
  8987. pretradedate:
  8988. description: 上一交易日
  8989. type: string
  8990. reckonflag:
  8991. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8992. type: integer
  8993. runstatus:
  8994. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8995. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8996. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8997. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8998. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8999. 62.今日免清算
  9000. type: integer
  9001. sectionid:
  9002. description: 时间段号[多时段时用]
  9003. type: integer
  9004. tradedate:
  9005. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9006. type: string
  9007. tradedate2:
  9008. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9009. type: string
  9010. updatetime:
  9011. description: 更新时间
  9012. type: string
  9013. required:
  9014. - marketid
  9015. - nexttradedate
  9016. - reckonflag
  9017. - runstatus
  9018. - tradedate
  9019. - tradedate2
  9020. type: object
  9021. models.Messageboard:
  9022. properties:
  9023. contactnum:
  9024. description: 联系电话
  9025. type: string
  9026. createtime:
  9027. description: 创建时间
  9028. type: string
  9029. message:
  9030. description: 留言信息
  9031. type: string
  9032. messageboardid:
  9033. description: 留言簿ID(SEQ_MessageBoard)
  9034. type: integer
  9035. userid:
  9036. description: 用户ID
  9037. type: integer
  9038. required:
  9039. - messageboardid
  9040. type: object
  9041. models.MyCoupon:
  9042. properties:
  9043. accountid:
  9044. description: 资金账户ID
  9045. type: integer
  9046. areauserid:
  9047. description: 所属机构
  9048. type: integer
  9049. conditionvalue:
  9050. description: 条件阈值(可为0)
  9051. type: number
  9052. couponcategroy:
  9053. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9054. type: integer
  9055. couponname:
  9056. description: 优惠券名称
  9057. type: string
  9058. coupontypeid:
  9059. description: 优惠券类型ID
  9060. type: string
  9061. couponvalue:
  9062. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9063. type: number
  9064. curfreezeqty:
  9065. description: 期末冻结数量
  9066. type: integer
  9067. curqty:
  9068. description: 期末数量
  9069. type: integer
  9070. isgeneral:
  9071. description: 是否通用券 - 0:否 1:是
  9072. type: integer
  9073. isunusable:
  9074. description: 是否不可用
  9075. type: boolean
  9076. limitedflag:
  9077. description: 是否指定商品 - 0:不限 1:限制
  9078. type: integer
  9079. limitedgoodsids:
  9080. description: 指定商品IDs[逗号分隔,前后加逗号]
  9081. type: string
  9082. orifreezeqty:
  9083. description: 期初冻结数量
  9084. type: integer
  9085. oriqty:
  9086. description: 期初数量
  9087. type: integer
  9088. reasontype:
  9089. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9090. type: integer
  9091. todaydecrease:
  9092. description: 今日减少
  9093. type: integer
  9094. todayincrease:
  9095. description: 今日增加
  9096. type: integer
  9097. userid:
  9098. description: 用户ID
  9099. type: integer
  9100. userscope:
  9101. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9102. type: string
  9103. required:
  9104. - accountid
  9105. - coupontypeid
  9106. type: object
  9107. models.MyCouponHold:
  9108. properties:
  9109. accountid:
  9110. description: 资金账户ID
  9111. type: integer
  9112. conditionvalue:
  9113. description: 条件阈值(可为0)
  9114. type: number
  9115. couponcategroy:
  9116. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9117. type: integer
  9118. couponholdid:
  9119. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9120. type: string
  9121. couponname:
  9122. description: 优惠券名称
  9123. type: string
  9124. coupontypeid:
  9125. description: 优惠券类型ID - SEQ_COUPONTYPE
  9126. type: string
  9127. couponvalue:
  9128. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9129. type: number
  9130. createtime:
  9131. description: 创建时间
  9132. type: string
  9133. enddate:
  9134. description: 结束日期
  9135. type: string
  9136. giveapplyid:
  9137. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9138. type: integer
  9139. holdstatus:
  9140. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9141. type: integer
  9142. isgeneral:
  9143. description: 是否通用券 - 0:否 1:是
  9144. type: integer
  9145. limitedflag:
  9146. description: 是否指定商品 - 0:不限 1:限制
  9147. type: integer
  9148. limitedgoodsids:
  9149. description: 指定商品IDs[逗号分隔]
  9150. type: string
  9151. qty:
  9152. description: 数量(按1平铺)
  9153. type: integer
  9154. startdate:
  9155. description: 开始日期
  9156. type: string
  9157. userid:
  9158. description: 用户ID
  9159. type: integer
  9160. userscope:
  9161. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9162. type: string
  9163. required:
  9164. - couponholdid
  9165. type: object
  9166. models.MyUsedCoupon:
  9167. properties:
  9168. accountid:
  9169. description: 资金账户ID(买方)
  9170. type: integer
  9171. conditionvalue:
  9172. description: 条件阈值(可为0)
  9173. type: number
  9174. couponcategroy:
  9175. description: 种类 - 1:现金券 2:折扣券
  9176. type: integer
  9177. couponname:
  9178. description: 优惠券名称
  9179. type: string
  9180. coupontypeid:
  9181. description: 优惠券类型ID(买方)
  9182. type: string
  9183. couponvalue:
  9184. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9185. type: number
  9186. createtime:
  9187. description: 创建时间
  9188. type: string
  9189. goodsid:
  9190. description: 商品ID
  9191. type: integer
  9192. handlestatus:
  9193. description: 处理状态
  9194. type: integer
  9195. marketid:
  9196. description: 市场ID
  9197. type: integer
  9198. offamount:
  9199. description: 优惠金额
  9200. type: number
  9201. orderid:
  9202. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9203. type: string
  9204. sellaccountid:
  9205. description: 资金账户ID(卖方)
  9206. type: integer
  9207. tradeamount:
  9208. description: 成交金额
  9209. type: number
  9210. tradeid:
  9211. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9212. type: string
  9213. usedqty:
  9214. description: 使用数量
  9215. type: integer
  9216. required:
  9217. - coupontypeid
  9218. - orderid
  9219. type: object
  9220. models.OperationPrimaryMenu:
  9221. properties:
  9222. Children:
  9223. description: 二级功能菜单
  9224. items:
  9225. $ref: '#/definitions/models.OperationSecondaryMenu'
  9226. type: array
  9227. Key:
  9228. description: 菜单KEY
  9229. type: string
  9230. Label:
  9231. description: 菜单标题
  9232. type: string
  9233. type: object
  9234. models.OperationSecondaryMenu:
  9235. properties:
  9236. Key:
  9237. description: 菜单KEY
  9238. type: string
  9239. Label:
  9240. description: 菜单标题
  9241. type: string
  9242. TabList:
  9243. description: 三级功能菜单
  9244. items:
  9245. $ref: '#/definitions/models.OperationTabMenu'
  9246. type: array
  9247. type: object
  9248. models.OperationTabMenu:
  9249. properties:
  9250. Key:
  9251. description: 菜单KEY
  9252. type: string
  9253. Label:
  9254. description: 菜单标题
  9255. type: string
  9256. type: object
  9257. models.PendingAuditBizModel:
  9258. properties:
  9259. accountid:
  9260. description: 现货账户
  9261. type: string
  9262. areaname:
  9263. description: 所属部门
  9264. type: string
  9265. bizid:
  9266. description: 业务ID
  9267. type: string
  9268. bizname:
  9269. description: 业务名称
  9270. type: string
  9271. status:
  9272. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9273. type: integer
  9274. type:
  9275. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9276. type: integer
  9277. type: object
  9278. models.QhjAccountOutInApply:
  9279. properties:
  9280. accountcode:
  9281. description: 资金账号
  9282. type: string
  9283. accountname:
  9284. description: 用户名称(名称)
  9285. type: string
  9286. accountpwd:
  9287. description: 资金密码
  9288. type: string
  9289. accountticket:
  9290. description: 最新账户服务流水号
  9291. type: string
  9292. amount:
  9293. description: 金额
  9294. type: number
  9295. applyremark:
  9296. description: 申请备注
  9297. type: string
  9298. applystatus:
  9299. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9300. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9301. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9302. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9303. type: integer
  9304. auditid:
  9305. description: 审核人
  9306. type: integer
  9307. audittime:
  9308. description: 审核时间
  9309. type: string
  9310. bank_apply_ticket:
  9311. description: 银行申请流水
  9312. type: string
  9313. bankaccountname:
  9314. description: 银行账户名
  9315. type: string
  9316. bankaccountno:
  9317. description: 银行卡号
  9318. type: string
  9319. bankid:
  9320. description: 银行编号
  9321. type: string
  9322. bankticket:
  9323. description: 银行流水
  9324. type: string
  9325. branchbankid:
  9326. description: 银行支行号
  9327. type: string
  9328. branchbankname:
  9329. description: 银行支行名称
  9330. type: string
  9331. capamountout:
  9332. description: 出金(劣后本金) - 外部子账户
  9333. type: number
  9334. certificatephotourl:
  9335. description: 凭证地址
  9336. type: string
  9337. charge:
  9338. description: 手续费
  9339. type: number
  9340. checkerrorflag:
  9341. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9342. type: integer
  9343. currency:
  9344. description: 币种
  9345. type: string
  9346. cusbankid:
  9347. description: 托管银行编号
  9348. type: string
  9349. exchticket:
  9350. description: 银行服务流水号
  9351. type: string
  9352. executetype:
  9353. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9354. 7:外部子账户:入金 8:外部子账户:出金'
  9355. type: integer
  9356. extendinfo:
  9357. description: 扩展信息
  9358. type: string
  9359. extoperateid:
  9360. description: 交易服务流水号
  9361. type: integer
  9362. infamount:
  9363. description: 劣后金额(自有)
  9364. type: number
  9365. logincode:
  9366. description: 登录账号(账号)
  9367. type: string
  9368. netaddr:
  9369. description: 调转网址
  9370. type: string
  9371. priamount:
  9372. description: 优先金额(授信)
  9373. type: number
  9374. reauditid:
  9375. description: 复审人
  9376. type: integer
  9377. reauditremark:
  9378. description: 复审备注
  9379. type: string
  9380. reaudittime:
  9381. description: 复审时间
  9382. type: string
  9383. relatedorderid:
  9384. description: 三方关联ID
  9385. type: string
  9386. remark:
  9387. description: 备注
  9388. type: string
  9389. remark2:
  9390. description: 备注(失败原因)
  9391. type: string
  9392. soucreamount:
  9393. description: 原始出入金金额
  9394. type: number
  9395. soucrecurrencyid:
  9396. description: 原始出入金币种
  9397. type: integer
  9398. tradedate:
  9399. description: 交易日(yyyyMMdd)
  9400. type: string
  9401. updatetime:
  9402. description: 更新时间(申请时间)
  9403. type: string
  9404. userid:
  9405. description: 用户id
  9406. type: integer
  9407. userinfotype:
  9408. description: 账户类型 1-个人 2-企业
  9409. type: integer
  9410. type: object
  9411. models.QhjBankAccountSign:
  9412. properties:
  9413. accountcode:
  9414. description: 资金账号
  9415. type: string
  9416. accountname:
  9417. description: 资金账号对应的账号名(UserName)
  9418. type: string
  9419. accounttype:
  9420. description: 账户类型(UserType)
  9421. type: integer
  9422. applicationtime:
  9423. description: 最后一次更新的时间
  9424. type: string
  9425. applyexchticket:
  9426. description: 申请流水
  9427. type: string
  9428. auditid:
  9429. description: 审核人
  9430. type: integer
  9431. audittime:
  9432. description: 审核时间
  9433. type: string
  9434. bankaccountname:
  9435. description: 签约银行卡账号名
  9436. type: string
  9437. bankaccountno:
  9438. description: 银行卡号
  9439. type: string
  9440. bankaccounttype:
  9441. description: 银行账户类型 - 1-对私; 2-对公
  9442. type: integer
  9443. bankcardtype:
  9444. description: 银行卡类型
  9445. type: integer
  9446. bankchildaccount:
  9447. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9448. type: string
  9449. bankcity:
  9450. description: 开户行城市
  9451. type: string
  9452. bankid:
  9453. description: 签约银行ID
  9454. type: string
  9455. bankname:
  9456. description: 签约银行名称
  9457. type: string
  9458. bankprovince:
  9459. description: 开户行省份
  9460. type: string
  9461. branchbankid:
  9462. description: 签约银行支行号
  9463. type: string
  9464. branchbankname:
  9465. description: 签约银行支行名称
  9466. type: string
  9467. cardno:
  9468. description: 证件号码
  9469. type: string
  9470. cardtype:
  9471. description: 证件类型
  9472. type: string
  9473. currency:
  9474. description: 币种
  9475. type: string
  9476. cusbankid:
  9477. description: 托管银行编号
  9478. type: string
  9479. direct:
  9480. description: 方向(可以判断那方先发起的签约)
  9481. type: integer
  9482. exchticket:
  9483. description: 最后一次签约成功的流水号
  9484. type: string
  9485. extendinfo:
  9486. description: 扩展信息(JSON字符串)
  9487. type: string
  9488. mobilephone:
  9489. description: 手机号
  9490. type: string
  9491. netaddr:
  9492. description: 调转网址
  9493. type: string
  9494. relateduserid:
  9495. description: 关联使用者userid
  9496. type: integer
  9497. signstatus:
  9498. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9499. 10:审核拒绝 11:换签待审核
  9500. type: integer
  9501. updatetime:
  9502. description: 更新时间(签解约更新时间)
  9503. type: string
  9504. type: object
  9505. models.QhjBankInfo:
  9506. properties:
  9507. bankid:
  9508. description: 银行ID
  9509. type: string
  9510. bankname:
  9511. description: 银行名称
  9512. type: string
  9513. clearbankno:
  9514. description: 清算系统银行编号
  9515. type: string
  9516. orderindex:
  9517. description: 排序顺序
  9518. type: integer
  9519. status:
  9520. description: 状态 - 0:正常 1:注销
  9521. type: integer
  9522. type: object
  9523. models.QhjContract:
  9524. properties:
  9525. contractconfirmtime:
  9526. description: 合同确认时间(时间)
  9527. type: string
  9528. enumdicname:
  9529. description: 单位名称
  9530. type: string
  9531. goodscode:
  9532. description: 商品代码
  9533. type: string
  9534. goodsid:
  9535. description: 商品ID [5:融资单]
  9536. type: integer
  9537. goodsname:
  9538. description: 商品名称
  9539. type: string
  9540. goodunitid:
  9541. description: 商品单位id
  9542. type: integer
  9543. initmargin:
  9544. description: 初始保证金(首付款)
  9545. type: number
  9546. lenderamount:
  9547. description: 贷款金额(总额|订单总额)
  9548. type: number
  9549. marginratio:
  9550. description: 保证金比率(首付比例)
  9551. type: number
  9552. payamount:
  9553. description: 已付(已付货款)
  9554. type: number
  9555. recoveredmargin:
  9556. description: 已追缴保证金
  9557. type: number
  9558. remainamount:
  9559. description: 合同剩余金额(融资额)
  9560. type: number
  9561. scfcontractid:
  9562. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9563. type: integer
  9564. scfcontracttype:
  9565. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9566. type: integer
  9567. totalinterest:
  9568. description: 已计总利息(利息)
  9569. type: number
  9570. tradeprice:
  9571. description: 成交价格(成本价格)
  9572. type: number
  9573. userid:
  9574. description: 用户ID
  9575. type: integer
  9576. username:
  9577. description: 用户名称
  9578. type: string
  9579. wrqty:
  9580. description: 仓单数量(数量)
  9581. type: integer
  9582. type: object
  9583. models.QhjContractLog:
  9584. properties:
  9585. amount:
  9586. description: 支付金额
  9587. type: number
  9588. amounttype:
  9589. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9590. type: integer
  9591. logid:
  9592. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9593. type: string
  9594. remainamount:
  9595. description: 剩余货款
  9596. type: number
  9597. scfcontractid:
  9598. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9599. type: integer
  9600. updatetime:
  9601. description: 更新时间
  9602. type: string
  9603. type: object
  9604. models.QhjCusBankSignBankEx:
  9605. properties:
  9606. banklst:
  9607. description: 银行列表
  9608. items:
  9609. $ref: '#/definitions/models.QhjBankInfo'
  9610. type: array
  9611. canallot:
  9612. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9613. type: integer
  9614. canallotquery:
  9615. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9616. type: integer
  9617. canbindcard:
  9618. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9619. type: integer
  9620. caninamount:
  9621. description: 是否可入金 - 0:不可 1:可以
  9622. type: integer
  9623. caninamount2:
  9624. description: 是否可入金(网银端) - 0:不可 1:可以
  9625. type: integer
  9626. canmodifybankcard:
  9627. description: 是否可修改银行卡号 - 0:不可 1:可以
  9628. type: integer
  9629. canmodifyphone:
  9630. description: 是否可修改手机号 - 0:不可 1:可以
  9631. type: integer
  9632. canmodifysigninfo:
  9633. description: 是否可修改签约信息 - 0:不可 1:可以
  9634. type: integer
  9635. canoutamount:
  9636. description: 是否可出金 - 0:不可 1:可以
  9637. type: integer
  9638. canoutamount2:
  9639. description: 是否可出金(网银端) - 0:不可 1:可以
  9640. type: integer
  9641. canrelease:
  9642. description: 是否可解约 - 0:不可 1:可以
  9643. type: integer
  9644. canrelease2:
  9645. description: 是否可解约(网银端) - 0:不可 1:可以
  9646. type: integer
  9647. cansign:
  9648. description: 是否可签约 - 0:不可 1:可以
  9649. type: integer
  9650. cansign2:
  9651. description: 是否可签约(网银端) - 0:不可 1:可以
  9652. type: integer
  9653. currency:
  9654. description: 币种
  9655. type: string
  9656. cusbankid:
  9657. description: 托管银行编号(对应清算中心TRAN_NO)
  9658. type: string
  9659. cusbankname:
  9660. description: 银行业务名称
  9661. type: string
  9662. cusbankshortname:
  9663. description: 银行业务简称
  9664. type: string
  9665. exchbankid:
  9666. description: 交易所开户银行ID
  9667. type: string
  9668. exchpaybankaccname:
  9669. description: 交易所支出结算账户户名
  9670. type: string
  9671. exchpaybankaccno:
  9672. description: 交易所支出结算账户
  9673. type: string
  9674. isneedcheck:
  9675. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9676. type: integer
  9677. isneedclear:
  9678. description: 是否需要清算 - 0:不需要 1:需要
  9679. type: integer
  9680. riskinfo:
  9681. description: 签约风险提示书
  9682. type: string
  9683. type: object
  9684. models.QhjCustomer:
  9685. properties:
  9686. address:
  9687. description: 通讯地址
  9688. type: string
  9689. attachment1:
  9690. description: 附件1
  9691. type: string
  9692. audittime:
  9693. description: 审核时间
  9694. type: string
  9695. cardbackphotourl:
  9696. description: 证件反面图片地址
  9697. type: string
  9698. cardfrontphotourl:
  9699. description: 证件正面图片地址
  9700. type: string
  9701. cardnum:
  9702. description: 证件号码
  9703. type: string
  9704. cardtype:
  9705. description: 证件类型
  9706. type: integer
  9707. cardtypename:
  9708. description: 证件类型名称
  9709. type: string
  9710. cityid:
  9711. description: 市
  9712. type: integer
  9713. cityname:
  9714. description: 城市名称
  9715. type: string
  9716. contactname:
  9717. description: 联系人
  9718. type: string
  9719. countryid:
  9720. description: 国家
  9721. type: integer
  9722. countryname:
  9723. description: 国家名称
  9724. type: string
  9725. createtime:
  9726. description: 创建时间
  9727. type: string
  9728. customername:
  9729. description: 客户名称
  9730. type: string
  9731. districtid:
  9732. description: 区域
  9733. type: integer
  9734. districtname:
  9735. description: 地区名称
  9736. type: string
  9737. email:
  9738. description: 邮件
  9739. type: string
  9740. legalpersonname:
  9741. description: 法人姓名(企业)
  9742. type: string
  9743. memberuserid:
  9744. description: 所属机构ID(所属会员)
  9745. type: integer
  9746. memberusername:
  9747. description: 所属会员名称
  9748. type: string
  9749. mobile:
  9750. description: 手机号码
  9751. type: string
  9752. modifytime:
  9753. description: 修改时间
  9754. type: string
  9755. nickname:
  9756. description: 昵称
  9757. type: string
  9758. parentuserid:
  9759. description: 上级机构(所属机构)
  9760. type: integer
  9761. parentusername:
  9762. description: 所属机构名称
  9763. type: string
  9764. provinceid:
  9765. description: 省
  9766. type: integer
  9767. provincename:
  9768. description: 省名称
  9769. type: string
  9770. remark:
  9771. description: 备注
  9772. type: string
  9773. status:
  9774. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9775. type: integer
  9776. statusdesc:
  9777. description: 账户状态中文描述
  9778. type: string
  9779. taxpayernum:
  9780. description: 纳税人识别号
  9781. type: string
  9782. telphone:
  9783. description: 联系电话
  9784. type: string
  9785. userid:
  9786. description: 用户ID
  9787. type: integer
  9788. userinfotype:
  9789. description: 客户类型 1-个人 2-企业
  9790. type: integer
  9791. username:
  9792. description: 用户名称
  9793. type: string
  9794. type: object
  9795. models.QhjParentAreaList:
  9796. properties:
  9797. accountname:
  9798. description: 账户名称(机构名称)
  9799. type: string
  9800. userid:
  9801. description: 用户ID
  9802. type: integer
  9803. usertype:
  9804. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  9805. type: integer
  9806. type: object
  9807. models.QhjPayOrder:
  9808. properties:
  9809. buyaccountid:
  9810. description: 买方账号ID[报价币种]
  9811. type: integer
  9812. buyorderid:
  9813. description: 买方委托单号
  9814. type: string
  9815. createtime:
  9816. description: 创建时间
  9817. type: string
  9818. goodscode:
  9819. description: 商品代码
  9820. type: string
  9821. goodsid:
  9822. description: 商品ID
  9823. type: integer
  9824. goodsname:
  9825. description: 商品名称
  9826. type: string
  9827. marketid:
  9828. description: 市场ID
  9829. type: integer
  9830. offamount:
  9831. description: 优惠金额
  9832. type: number
  9833. operatetype:
  9834. description: 买委托操作类型 - 1:正常下单 16:融资买入
  9835. type: integer
  9836. payamount:
  9837. description: 支付金额=TradeAmount + TradeCharge
  9838. type: number
  9839. payflag:
  9840. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9841. type: integer
  9842. paylimitedtime:
  9843. description: 支付期限
  9844. type: string
  9845. paytime:
  9846. description: 付款时间
  9847. type: string
  9848. sellaccountid:
  9849. description: 卖方账号ID[报价币种]
  9850. type: integer
  9851. sellorderid:
  9852. description: 卖方委托单号
  9853. type: string
  9854. tradeamount:
  9855. description: 成交金额(优惠后金额)
  9856. type: number
  9857. tradecharge:
  9858. description: 成交手续费(买方)
  9859. type: number
  9860. tradedate:
  9861. description: 交易日(yyyyMMdd)
  9862. type: string
  9863. tradeid:
  9864. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9865. type: string
  9866. tradeprice:
  9867. description: 成交价格
  9868. type: number
  9869. tradeqty:
  9870. description: 成交数量
  9871. type: integer
  9872. type: object
  9873. models.QhjPickArea:
  9874. properties:
  9875. address:
  9876. description: 详细地址
  9877. type: string
  9878. cityid:
  9879. description: 市
  9880. type: integer
  9881. cityname:
  9882. description: 城市名称
  9883. type: string
  9884. countryid:
  9885. description: 国家
  9886. type: integer
  9887. countryname:
  9888. description: 国家名称
  9889. type: string
  9890. districtid:
  9891. description: 地区
  9892. type: integer
  9893. districtname:
  9894. description: 地区名称
  9895. type: string
  9896. fromuserid:
  9897. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9898. type: integer
  9899. fromusername:
  9900. description: 所属机构名称
  9901. type: string
  9902. provinceid:
  9903. description: 省
  9904. type: integer
  9905. provincename:
  9906. description: 省名称
  9907. type: string
  9908. suborgtype:
  9909. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9910. type: integer
  9911. userid:
  9912. description: 机构用户ID 其他做市关系,都设置为 1
  9913. type: integer
  9914. username:
  9915. description: 机构用户名称(门店门称)
  9916. type: string
  9917. type: object
  9918. models.QhjPickGoods:
  9919. properties:
  9920. imageaddress:
  9921. description: 图片
  9922. type: string
  9923. modifierid:
  9924. description: 修改人
  9925. type: integer
  9926. modifiername:
  9927. description: 修改人名称
  9928. type: string
  9929. modifysrc:
  9930. description: 修改来源 - 1:管理端 2:终端
  9931. type: integer
  9932. pickupgoodsagreeunit:
  9933. description: 合约乘数
  9934. type: number
  9935. pickupgoodsdesc:
  9936. description: 描述
  9937. type: string
  9938. pickupgoodsid:
  9939. description: 提货商品ID
  9940. type: string
  9941. pickupgoodsname:
  9942. description: 提货商品名称
  9943. type: string
  9944. pickupgoodsstatus:
  9945. description: 状态 - 1:正常 2:停用 3:注销
  9946. type: integer
  9947. pickupgoodsunitid:
  9948. description: 单位ID
  9949. type: integer
  9950. preparedays:
  9951. description: 备货期(天)
  9952. type: integer
  9953. remark:
  9954. description: 备注
  9955. type: string
  9956. updatetime:
  9957. description: 更新时间
  9958. type: string
  9959. type: object
  9960. models.QhjRSTriggerLog:
  9961. properties:
  9962. accountid:
  9963. description: 用户资金账户
  9964. type: integer
  9965. accountname:
  9966. description: 账号名称(ACCOUNTID对应的名称)
  9967. type: string
  9968. currencyid:
  9969. description: 币种id
  9970. type: integer
  9971. currencyname:
  9972. description: 币种名称
  9973. type: string
  9974. enumdicname:
  9975. description: 单位名称
  9976. type: string
  9977. goodscode:
  9978. description: 定投商品代码
  9979. type: string
  9980. goodsid:
  9981. description: 定投商品ID
  9982. type: string
  9983. goodsname:
  9984. description: 定投商品名称
  9985. type: string
  9986. goodunitid:
  9987. description: 定投商品单位id
  9988. type: integer
  9989. logid:
  9990. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9991. type: string
  9992. regularlycycle:
  9993. description: 定投频率 - 1:每周 2:每月
  9994. type: integer
  9995. regularlycyclevalue:
  9996. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9997. type: string
  9998. regularlymode:
  9999. description: 定投方式 - 1:按数量 2:按金额
  10000. type: integer
  10001. regularlymodevalue:
  10002. description: 定投方式值 - 数量或金额
  10003. type: number
  10004. regularlystrategyid:
  10005. description: 定投策略ID
  10006. type: integer
  10007. retcode:
  10008. description: 错误码
  10009. type: string
  10010. tradeid:
  10011. description: 成交单ID
  10012. type: string
  10013. triggeramount:
  10014. description: 触发金额
  10015. type: number
  10016. triggerqty:
  10017. description: 触发数量
  10018. type: number
  10019. triggerstatus:
  10020. description: 触发状态 - 1:成功 2:失败
  10021. type: integer
  10022. triggertime:
  10023. description: 触发时间
  10024. type: string
  10025. triggertradedate:
  10026. description: 触发交易日
  10027. type: string
  10028. userid:
  10029. description: 所属用户ID
  10030. type: integer
  10031. username:
  10032. description: 用户名称(userid对应的名称)
  10033. type: string
  10034. type: object
  10035. models.QhjRStrategy:
  10036. properties:
  10037. accountid:
  10038. description: 用户资金账户
  10039. type: integer
  10040. accountname:
  10041. description: 账号名称(ACCOUNTID对应的名称)
  10042. type: string
  10043. currencyid:
  10044. description: 币种id
  10045. type: integer
  10046. currencyname:
  10047. description: 币种名称
  10048. type: string
  10049. enumdicname:
  10050. description: 单位名称
  10051. type: string
  10052. goodscode:
  10053. description: 定投商品代码
  10054. type: string
  10055. goodsid:
  10056. description: 定投商品ID
  10057. type: string
  10058. goodsname:
  10059. description: 定投商品名称
  10060. type: string
  10061. goodunitid:
  10062. description: 定投商品单位id
  10063. type: integer
  10064. lasteffecttradedate:
  10065. description: 最新生效交易日
  10066. type: string
  10067. laststoptradedate:
  10068. description: 最新暂停交易日
  10069. type: string
  10070. lasttriggertradedate:
  10071. description: 最新触发交易日
  10072. type: string
  10073. nexttriggeramount:
  10074. description: 下次触发金额
  10075. type: number
  10076. nexttriggerdate:
  10077. description: 下次触发日期
  10078. type: string
  10079. nexttriggerqty:
  10080. description: 下次触发数量 [按小数位放大值]
  10081. type: number
  10082. regularlycycle:
  10083. description: 定投频率 - 1:每周 2:每月
  10084. type: integer
  10085. regularlycyclevalue:
  10086. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  10087. type: string
  10088. regularlymode:
  10089. description: 定投方式 - 1:按数量 2:按金额
  10090. type: integer
  10091. regularlymodevalue:
  10092. description: 定投方式值 - 数量或金额
  10093. type: number
  10094. regularlystrategyid:
  10095. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  10096. type: integer
  10097. regularlystrategystatus:
  10098. description: 策略状态 - 1:正常 2:暂停 3:终止
  10099. type: integer
  10100. remark:
  10101. description: 备注
  10102. type: string
  10103. triggersuccesstimes:
  10104. description: 累计定投成功次数
  10105. type: string
  10106. triggertotalamount:
  10107. description: 累计定投金额(成功)
  10108. type: number
  10109. triggertotalqty:
  10110. description: 累计定投数量(成功) [按小数位放大值]
  10111. type: number
  10112. triggertotaltimes:
  10113. description: 累计定投总次数
  10114. type: string
  10115. updatesrc:
  10116. description: 更新来源 - 1:管理端 2:终端
  10117. type: integer
  10118. updatetime:
  10119. description: 更新时间
  10120. type: string
  10121. updatorid:
  10122. description: 更新人
  10123. type: string
  10124. userid:
  10125. description: 所属用户ID
  10126. type: integer
  10127. username:
  10128. description: 用户名称(userid对应的名称)
  10129. type: string
  10130. type: object
  10131. models.QhjReckonPriceLog:
  10132. properties:
  10133. goodsid:
  10134. description: 商品ID
  10135. type: integer
  10136. lastreckonprice:
  10137. description: 上日结算价
  10138. type: number
  10139. nextdnlimitprice:
  10140. description: 下个交易日跌停价
  10141. type: number
  10142. nexttrade:
  10143. description: 下个交易日
  10144. type: string
  10145. nextuplimitprice:
  10146. description: 下个交易日涨停价
  10147. type: number
  10148. reckonprice:
  10149. description: 今日结算价(定投价)
  10150. type: number
  10151. reckontime:
  10152. description: 结算时间
  10153. type: string
  10154. totalholderqty:
  10155. description: 总持仓数
  10156. type: integer
  10157. totalstock:
  10158. description: 总库存
  10159. type: integer
  10160. tradedate:
  10161. description: 交易日
  10162. type: string
  10163. updowncount:
  10164. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  10165. type: integer
  10166. updownflag:
  10167. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  10168. type: integer
  10169. updownrate:
  10170. description: 今日涨跌幅
  10171. type: number
  10172. updownrate_2d:
  10173. description: 连续两日涨跌幅
  10174. type: number
  10175. updownrate_3d:
  10176. description: 连续三日涨跌幅
  10177. type: number
  10178. type: object
  10179. models.QhjSiteColumnDetail:
  10180. properties:
  10181. author:
  10182. description: 作者
  10183. type: string
  10184. brief:
  10185. description: 简介
  10186. type: string
  10187. columnid:
  10188. description: 所属栏目
  10189. type: integer
  10190. context:
  10191. description: 内容
  10192. type: string
  10193. coverimage:
  10194. description: 封面图片
  10195. type: string
  10196. creaedate:
  10197. description: 创建时间
  10198. type: string
  10199. creatorid:
  10200. description: 创建人
  10201. type: integer
  10202. hits:
  10203. description: 点击数
  10204. type: integer
  10205. id:
  10206. description: ID(SEQ_SITE_COLUMNDETAIL)
  10207. type: integer
  10208. isshow:
  10209. description: 是否展示 - 0:不展示 1:展示
  10210. type: integer
  10211. istop:
  10212. description: 是否置顶 - 0:不置 1:置顶
  10213. type: integer
  10214. modifierid:
  10215. description: 操作人
  10216. type: integer
  10217. publishdate:
  10218. description: 发布日期
  10219. type: string
  10220. status:
  10221. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  10222. type: integer
  10223. title:
  10224. description: 标题
  10225. type: string
  10226. updatedate:
  10227. description: 修改时间
  10228. type: string
  10229. userid:
  10230. description: 用户ID(默认为0, 核心为为机构用户ID)
  10231. type: integer
  10232. username:
  10233. description: 用户名称
  10234. type: string
  10235. type: object
  10236. models.QhjTradeGoodsPickup:
  10237. properties:
  10238. accountid:
  10239. description: 账户ID
  10240. type: integer
  10241. address:
  10242. description: 提货人详细地址
  10243. type: string
  10244. amount:
  10245. description: 提货金额
  10246. type: number
  10247. artradedate:
  10248. description: 自动收货交易日(yyyyMMdd)
  10249. type: string
  10250. auditer:
  10251. description: 审核人
  10252. type: integer
  10253. auditsrc:
  10254. description: 更新来源 - 1:管理端 2:终端
  10255. type: integer
  10256. audittime:
  10257. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  10258. type: string
  10259. audittradedate:
  10260. description: 审核交易日(yyyyMMdd)
  10261. type: string
  10262. cardnum:
  10263. description: 提货人证件号码
  10264. type: string
  10265. cardtypeid:
  10266. description: 提货人证件类型
  10267. type: integer
  10268. checkremark:
  10269. description: 审核备注
  10270. type: string
  10271. cityid:
  10272. description: 市
  10273. type: integer
  10274. cityname:
  10275. description: 城市名称
  10276. type: string
  10277. confirmtime:
  10278. description: 取货时间 或 收货时间
  10279. type: string
  10280. countryid:
  10281. description: 国家
  10282. type: integer
  10283. countryname:
  10284. description: 国家名称
  10285. type: string
  10286. districtid:
  10287. description: 地区
  10288. type: integer
  10289. districtname:
  10290. description: 地区名称
  10291. type: string
  10292. enumdicname:
  10293. description: 单位名称(提货商品)
  10294. type: string
  10295. expresscompany:
  10296. description: 物流公司
  10297. type: string
  10298. expressnum:
  10299. description: 物流单号
  10300. type: string
  10301. goodsagreeunit:
  10302. description: 交易商品乘数
  10303. type: number
  10304. goodscode:
  10305. description: 商品代码
  10306. type: string
  10307. goodsid:
  10308. description: 商品ID
  10309. type: integer
  10310. goodsname:
  10311. description: 商品名称
  10312. type: string
  10313. goodsqty:
  10314. description: 交易商品手数(69模式按成交量小数位放大取整)
  10315. type: number
  10316. handlestatus:
  10317. description: 处理状态
  10318. type: integer
  10319. marketid:
  10320. description: 市场ID
  10321. type: integer
  10322. phonenum:
  10323. description: 提货人联系方式
  10324. type: string
  10325. pickupgoodsagreeunit:
  10326. description: 提货商品合约乘数
  10327. type: number
  10328. pickupgoodsid:
  10329. description: 提货商品ID
  10330. type: string
  10331. pickupgoodsname:
  10332. description: 提货商品名称
  10333. type: string
  10334. pickupgoodsqty:
  10335. description: 提货商品手数(数量)
  10336. type: number
  10337. pickupgoodsunitid:
  10338. description: 单位ID(提货商品)
  10339. type: integer
  10340. pickupratio:
  10341. description: 提货系数
  10342. type: number
  10343. preparedays:
  10344. description: 备货期(天)-提货单明细表
  10345. type: integer
  10346. provinceid:
  10347. description: 省
  10348. type: integer
  10349. provincename:
  10350. description: 省名称
  10351. type: string
  10352. qty:
  10353. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10354. type: number
  10355. recivername:
  10356. description: 提货人姓名
  10357. type: string
  10358. reqtime:
  10359. description: 提货申请时间
  10360. type: string
  10361. storeuserid:
  10362. description: 门店用户ID (千海金)
  10363. type: integer
  10364. storeusername:
  10365. description: 门店用户名称
  10366. type: string
  10367. takemode:
  10368. description: 提货方式 - 2:自提 3:配送(邮寄)
  10369. type: integer
  10370. takeorderid:
  10371. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10372. type: integer
  10373. takeorderstatus:
  10374. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10375. 7:已拒绝 8:已撤销
  10376. type: integer
  10377. takeremark:
  10378. description: 提货备注
  10379. type: string
  10380. tradedate:
  10381. description: 交易日(yyyyMMdd)
  10382. type: string
  10383. updatetime:
  10384. description: 更新时间
  10385. type: string
  10386. userid:
  10387. description: 用户ID
  10388. type: integer
  10389. username:
  10390. description: 用户名称
  10391. type: string
  10392. type: object
  10393. models.Qhjgoodsex:
  10394. properties:
  10395. canfinance:
  10396. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  10397. type: integer
  10398. canregularlybuy:
  10399. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  10400. type: integer
  10401. defaulttradeuserid:
  10402. description: 默认交易用户ID
  10403. type: integer
  10404. deliverygoodsid:
  10405. description: 现货品种ID
  10406. type: integer
  10407. goodsid:
  10408. description: 商品ID(自增ID SEQ_GOODS)
  10409. type: integer
  10410. minamount:
  10411. description: 最小购买金额
  10412. type: number
  10413. regularlybuyminamount:
  10414. description: 定投最小金额
  10415. type: number
  10416. regularlybuyminqty:
  10417. description: 定投最小数量
  10418. type: number
  10419. spotgoodsbrandid:
  10420. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  10421. type: integer
  10422. wrstandardid:
  10423. description: 现货商品ID
  10424. type: integer
  10425. type: object
  10426. models.QueryErrorInfosRsp:
  10427. properties:
  10428. description:
  10429. description: 异常描述
  10430. type: string
  10431. errorcode:
  10432. description: 异常代码
  10433. type: string
  10434. errorid:
  10435. description: 异常ID
  10436. type: integer
  10437. modulecode:
  10438. description: 所属模块
  10439. type: string
  10440. operatecode:
  10441. description: 所属操作
  10442. type: string
  10443. rownumber:
  10444. description: 行号
  10445. type: string
  10446. required:
  10447. - errorid
  10448. type: object
  10449. models.QueryHedgeOrderDetailRsp:
  10450. properties:
  10451. accountid:
  10452. description: 账户ID
  10453. type: integer
  10454. buyorsell:
  10455. description: 买卖 - 0:买 1:卖
  10456. type: integer
  10457. cancellogincode:
  10458. description: 撤单人
  10459. type: string
  10460. channelbuildtype:
  10461. description: 开平标志 - 0:无 1:建仓 2:平仓
  10462. type: integer
  10463. channelinnerorderstatus:
  10464. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10465. 9:全部成交
  10466. type: integer
  10467. channeloperatetype:
  10468. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10469. type: integer
  10470. closetype:
  10471. description: 平仓方式 - 0:无 1:平今 2:平昨
  10472. type: integer
  10473. curexchangerate:
  10474. description: 当前汇率
  10475. type: number
  10476. exchangefullname:
  10477. description: 外部交易所全称
  10478. type: string
  10479. goodscode:
  10480. description: 商品代码(内部)
  10481. type: string
  10482. goodsid:
  10483. description: 商品ID
  10484. type: integer
  10485. goodsname:
  10486. description: 商品名称
  10487. type: string
  10488. marketid:
  10489. description: 市场ID
  10490. type: integer
  10491. openfreezemargin:
  10492. description: 冻结保证金(冻结交易金额)
  10493. type: number
  10494. orderid:
  10495. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10496. type: string
  10497. orderlogincode:
  10498. description: 委托人
  10499. type: string
  10500. orderprice:
  10501. description: 委托价格(账户)
  10502. type: number
  10503. orderqty:
  10504. description: 委托数量
  10505. type: integer
  10506. ordertime:
  10507. description: 委托时间
  10508. type: string
  10509. pricemode:
  10510. description: '取价方式 - 1:市价 2: 限价'
  10511. type: integer
  10512. tradedate:
  10513. description: 交易日(yyyyMMdd)
  10514. type: string
  10515. tradeqty:
  10516. description: 成交数量
  10517. type: integer
  10518. type: object
  10519. models.QueryHedgeTradeDetailRsp:
  10520. properties:
  10521. accountid:
  10522. description: 账号ID
  10523. type: integer
  10524. buyorsell:
  10525. description: 方向 - 0:买 1:卖
  10526. type: integer
  10527. channelbuildtype:
  10528. description: 委托单据类型 0:无 1:建仓 2:平仓
  10529. type: integer
  10530. closecharge:
  10531. description: 平仓手续费(账户)
  10532. type: number
  10533. closecharge2:
  10534. description: 平仓手续费(商品)
  10535. type: number
  10536. closepl:
  10537. description: 平仓盈亏(账户)
  10538. type: number
  10539. closepl2:
  10540. description: 平仓盈亏(商品)
  10541. type: number
  10542. closepl3:
  10543. description: 平仓盈亏(账户)(逐笔)
  10544. type: number
  10545. closepl4:
  10546. description: 平仓盈亏(商品)(逐笔)
  10547. type: number
  10548. closetype:
  10549. description: 平仓方式 - 0:无 1:平今 2:平昨
  10550. type: integer
  10551. curexchangerate:
  10552. description: 当前汇率
  10553. type: number
  10554. exchangefullname:
  10555. description: 外部交易所全称
  10556. type: string
  10557. goodscode:
  10558. description: 商品代码(内部)
  10559. type: string
  10560. goodsid:
  10561. description: 商品ID
  10562. type: integer
  10563. goodsname:
  10564. description: 商品名称
  10565. type: string
  10566. marketid:
  10567. description: 市场ID
  10568. type: integer
  10569. opencharge:
  10570. description: 建仓手续费(账户)
  10571. type: number
  10572. opencharge2:
  10573. description: 建仓手续费(商品)
  10574. type: number
  10575. orderid:
  10576. description: 委托单号
  10577. type: string
  10578. orderlogincode:
  10579. description: 委托人
  10580. type: string
  10581. tradeamount:
  10582. description: 成交金额(账户)
  10583. type: number
  10584. tradedate:
  10585. description: 交易日(yyyyMMdd)
  10586. type: string
  10587. tradeid:
  10588. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10589. type: string
  10590. tradeprice:
  10591. description: 成交价格
  10592. type: number
  10593. tradeqty:
  10594. description: 成交数量
  10595. type: integer
  10596. tradetime:
  10597. description: 成交时间
  10598. type: string
  10599. tradetype:
  10600. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10601. type: integer
  10602. type: object
  10603. models.QuotePrimaryMenu:
  10604. properties:
  10605. Index:
  10606. description: 序号
  10607. type: integer
  10608. Key:
  10609. description: 键名
  10610. type: string
  10611. Name:
  10612. description: 菜单名称
  10613. type: string
  10614. SubMenus:
  10615. description: 子菜单
  10616. items:
  10617. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10618. type: array
  10619. SubTitleType:
  10620. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10621. type: integer
  10622. TradeModes:
  10623. description: 包含市场交易类型
  10624. type: string
  10625. type: object
  10626. models.QuoteSecondaryMenu:
  10627. properties:
  10628. ExExchangeCode:
  10629. description: 外部交易所代码
  10630. type: string
  10631. ExExchangeID:
  10632. description: 外部交易所ID
  10633. type: integer
  10634. GoodsGroupIDs:
  10635. description: 商品组ID列表
  10636. items:
  10637. type: integer
  10638. type: array
  10639. Index:
  10640. description: 序号
  10641. type: integer
  10642. MarketID:
  10643. description: 市场ID
  10644. type: integer
  10645. MenuTitle:
  10646. description: 菜单标题(市场名称或外部交易所名称)
  10647. type: string
  10648. TradeMode:
  10649. description: 交易模式
  10650. type: integer
  10651. type: object
  10652. models.SearchGoods:
  10653. properties:
  10654. goodscode:
  10655. description: 商品代码(内部)
  10656. type: string
  10657. goodsid:
  10658. description: 商品ID(自增ID SEQ_GOODS)
  10659. type: integer
  10660. goodsname:
  10661. description: 商品名称
  10662. type: string
  10663. marketid:
  10664. description: 所属市场ID
  10665. type: integer
  10666. marketname:
  10667. description: 市场名称
  10668. type: string
  10669. trademode:
  10670. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10671. 21:竞拍-大宗式 22:受托竞价
  10672. type: integer
  10673. required:
  10674. - goodscode
  10675. - goodsid
  10676. - goodsname
  10677. - marketid
  10678. - trademode
  10679. type: object
  10680. models.Systemparam:
  10681. properties:
  10682. loginid:
  10683. description: 更新用户账号,登录账号
  10684. type: string
  10685. modifyflag:
  10686. description: 修改标志0 不允许修改 1 允许修改
  10687. type: integer
  10688. paramcode:
  10689. description: 参数代码
  10690. type: string
  10691. paramname:
  10692. description: 参数名
  10693. type: string
  10694. paramtype:
  10695. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10696. type: integer
  10697. paramvalue:
  10698. description: 参数值
  10699. type: string
  10700. paramvalue2:
  10701. description: 参数值(CLOB)
  10702. type: string
  10703. regexpress:
  10704. description: 正则表达式
  10705. type: string
  10706. remark:
  10707. description: 备注
  10708. type: string
  10709. serverip:
  10710. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10711. type: string
  10712. showflag:
  10713. description: 是否显示0 不显示 1 显示
  10714. type: integer
  10715. updatetime:
  10716. description: 更新时间
  10717. type: string
  10718. userid:
  10719. description: 更新用户ID
  10720. type: integer
  10721. required:
  10722. - paramcode
  10723. type: object
  10724. models.Szdz3convertconfig:
  10725. properties:
  10726. canin:
  10727. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10728. type: integer
  10729. canout:
  10730. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10731. type: integer
  10732. converttype:
  10733. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10734. 6:交易转花生米(不设置)
  10735. type: integer
  10736. createtime:
  10737. description: 创建时间
  10738. type: string
  10739. creatorid:
  10740. description: 创建人
  10741. type: integer
  10742. daymaxvalue:
  10743. description: 当日最大转入限制
  10744. type: number
  10745. freezedays:
  10746. description: 冻结天数 [5:花生米转交易]
  10747. type: integer
  10748. innergoodsid:
  10749. description: 内部商品ID[交易]
  10750. type: integer
  10751. inratio:
  10752. description: 目标值
  10753. type: integer
  10754. modifierid:
  10755. description: 修改人
  10756. type: integer
  10757. modifytime:
  10758. description: 修改时间
  10759. type: string
  10760. outergoodscode:
  10761. description: 外部商品代码[JD\PD]
  10762. type: string
  10763. outratio:
  10764. description: 源值
  10765. type: integer
  10766. pddecimalplace:
  10767. description: PD小数位
  10768. type: integer
  10769. timemaxvalue:
  10770. description: 单次最大转入限制
  10771. type: number
  10772. timeminvalue:
  10773. description: 单次最小转入限制
  10774. type: number
  10775. required:
  10776. - converttype
  10777. - innergoodsid
  10778. - outergoodscode
  10779. type: object
  10780. models.Szdz3searchwhitelist:
  10781. properties:
  10782. createtime:
  10783. description: 创建时间
  10784. type: string
  10785. creatorid:
  10786. description: 创建人
  10787. type: integer
  10788. modifierid:
  10789. description: 修改人
  10790. type: integer
  10791. modifytime:
  10792. description: 修改时间
  10793. type: string
  10794. userid:
  10795. description: 用户ID
  10796. type: integer
  10797. required:
  10798. - userid
  10799. type: object
  10800. models.Taaccount:
  10801. properties:
  10802. accountflag:
  10803. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10804. type: integer
  10805. accountid:
  10806. description: 资金账户ID
  10807. type: integer
  10808. accountname:
  10809. description: 账户名称
  10810. type: string
  10811. balance:
  10812. description: 期初余额
  10813. type: number
  10814. capitalbalance:
  10815. description: 本金余额[外部子账户实际出入金余额]
  10816. type: number
  10817. changeflag:
  10818. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10819. type: integer
  10820. changetime:
  10821. description: 账户状态变更时间
  10822. type: string
  10823. closepl:
  10824. description: 今日平仓盈亏
  10825. type: number
  10826. creditdecrease:
  10827. description: 今日授信减少
  10828. type: number
  10829. creditincrease:
  10830. description: 今日授信增加
  10831. type: number
  10832. currencyid:
  10833. description: 货币ID
  10834. type: integer
  10835. currentbalance:
  10836. description: 期末余额
  10837. type: number
  10838. freezecharge:
  10839. description: 手续费冻结
  10840. type: number
  10841. freezemargin:
  10842. description: 冻结保证金
  10843. type: number
  10844. fromaccountid:
  10845. description: 所属上级账户
  10846. type: integer
  10847. inamount:
  10848. description: 今日入金金额(包括三方入金)
  10849. type: number
  10850. ismain:
  10851. description: 是否母账号 0:不是母账户 1:是母账户
  10852. type: integer
  10853. ismarketaccount:
  10854. description: 是否机构接单账号 0:不是 1:是
  10855. type: integer
  10856. isreckonaccount:
  10857. description: 是否机构分润账号 0:不是 1:是
  10858. type: integer
  10859. mortgagecredit:
  10860. description: 授信金额
  10861. type: number
  10862. orifreezecharge:
  10863. description: 期初手续费冻结
  10864. type: number
  10865. orifreezemargin:
  10866. description: 期初冻结保证金
  10867. type: number
  10868. orimortgagecredit:
  10869. description: 期初授信金额
  10870. type: number
  10871. oriothercredit:
  10872. description: 期初其它授信金额
  10873. type: number
  10874. oriotherfreezemargin:
  10875. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10876. type: number
  10877. orioutamountfreeze:
  10878. description: 期初出金冻结
  10879. type: number
  10880. oriusedmargin:
  10881. description: 期初占用保证金
  10882. type: number
  10883. othercredit:
  10884. description: 其它授信金额
  10885. type: number
  10886. othercreditdecrease:
  10887. description: 今日其它授信减少
  10888. type: number
  10889. othercreditincrease:
  10890. description: 今日其它授信增加
  10891. type: number
  10892. otherfreezemargin:
  10893. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10894. type: number
  10895. otherincome:
  10896. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10897. type: number
  10898. otherpay:
  10899. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10900. type: number
  10901. outamount:
  10902. description: 今日出金金额(包括三方出金)
  10903. type: number
  10904. outamountfreeze:
  10905. description: 出金冻结
  10906. type: number
  10907. outthreshold:
  10908. description: 出金阈值
  10909. type: number
  10910. parentaccountid:
  10911. description: 所属根账号
  10912. type: integer
  10913. paycharge:
  10914. description: 今日手续费支出
  10915. type: number
  10916. relatedaccountstatus:
  10917. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10918. type: integer
  10919. relateduserid:
  10920. description: 关联用户
  10921. type: integer
  10922. serivcegroup:
  10923. description: 服务分组
  10924. type: integer
  10925. signstatus:
  10926. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10927. type: integer
  10928. sublevelpath:
  10929. description: 账号层级路径(逗号分隔,首尾加逗号)
  10930. type: string
  10931. taaccounttype:
  10932. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10933. type: integer
  10934. thirdinamount:
  10935. description: 今日三方入金
  10936. type: number
  10937. thirdoutamount:
  10938. description: 今日三方出金
  10939. type: number
  10940. tradestatus:
  10941. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10942. type: integer
  10943. tradestatuschangetime:
  10944. description: 激活时间
  10945. type: string
  10946. transferamount:
  10947. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10948. type: number
  10949. usedmargin:
  10950. description: 占用保证金
  10951. type: number
  10952. userid:
  10953. description: 用户ID
  10954. type: integer
  10955. required:
  10956. - accountid
  10957. - userid
  10958. type: object
  10959. models.Tablecolumnconfig:
  10960. properties:
  10961. aligntype:
  10962. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10963. type: integer
  10964. autoid:
  10965. description: AutoID
  10966. type: integer
  10967. columnfield:
  10968. description: 列字段
  10969. type: string
  10970. columntitle:
  10971. description: 列Title
  10972. type: string
  10973. columnwidth:
  10974. description: 列宽
  10975. type: string
  10976. formatterstring:
  10977. description: 格式化字符
  10978. type: string
  10979. formattertype:
  10980. description: 格式化类型
  10981. type: string
  10982. groupname:
  10983. description: 表头分组名称
  10984. type: string
  10985. isshow:
  10986. description: 是否显示 - 0:不显示 1:显示
  10987. type: integer
  10988. needsummary:
  10989. description: 是否需要汇总 - 0:不需要 1:需要
  10990. type: integer
  10991. orderindex:
  10992. description: 顺序
  10993. type: integer
  10994. remark:
  10995. description: 备注
  10996. type: string
  10997. summarytype:
  10998. description: 汇总类型 - 1:加总 2:最后一个
  10999. type: integer
  11000. tablekey:
  11001. description: 列表Key
  11002. type: string
  11003. required:
  11004. - autoid
  11005. type: object
  11006. models.UserCollectConfig:
  11007. properties:
  11008. accountstatus:
  11009. description: 账户状态 - 1:正常 2:停用 3:注销
  11010. type: integer
  11011. collectaccountname:
  11012. description: 收款人账户名称
  11013. type: string
  11014. collectaccountno:
  11015. description: 收款人账户
  11016. type: string
  11017. collectbankname:
  11018. description: 收款人开户行
  11019. type: string
  11020. collectbranchbankname:
  11021. description: 收款人开户支行
  11022. type: string
  11023. collectconfigid:
  11024. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  11025. type: string
  11026. remark:
  11027. description: 备注
  11028. type: string
  11029. userid:
  11030. description: 收款人用户ID
  11031. type: integer
  11032. type: object
  11033. models.UserReceiveInfo:
  11034. properties:
  11035. address:
  11036. description: 提货人详细地址
  11037. type: string
  11038. autoid:
  11039. description: AutoID
  11040. type: integer
  11041. cardnum:
  11042. description: 证件号码(加密存储)
  11043. type: string
  11044. cardtypeid:
  11045. description: 证件类型
  11046. type: integer
  11047. cityid:
  11048. description: 市
  11049. type: integer
  11050. cityname:
  11051. description: 城市名称
  11052. type: string
  11053. countryid:
  11054. description: 国家
  11055. type: integer
  11056. countryname:
  11057. description: 国家名称
  11058. type: string
  11059. districtid:
  11060. description: 地区
  11061. type: integer
  11062. districtname:
  11063. description: 地区名称
  11064. type: string
  11065. hasencrypt:
  11066. description: 数据是否已加密 - 0:未加密 1:已加密
  11067. type: integer
  11068. isdefault:
  11069. description: 是否默认地址 - 0:否 1:是
  11070. type: integer
  11071. phonenum:
  11072. description: 提货人联系方式(加密存储)
  11073. type: string
  11074. provinceid:
  11075. description: 省
  11076. type: integer
  11077. provincename:
  11078. description: 省名称
  11079. type: string
  11080. receivername:
  11081. description: 提货人姓名
  11082. type: string
  11083. takeremark:
  11084. description: 提货备注
  11085. type: string
  11086. userid:
  11087. description: 用户ID
  11088. type: integer
  11089. type: object
  11090. models.Useraccount:
  11091. properties:
  11092. accountname:
  11093. description: 账户名称(机构名称)
  11094. type: string
  11095. accountstatus:
  11096. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11097. type: integer
  11098. applysrc:
  11099. description: 申请来源 - 1:管理端 2:终端
  11100. type: integer
  11101. auditremark:
  11102. description: 审核备注
  11103. type: string
  11104. auditsrc:
  11105. description: 审核来源 - 1:管理端 2:终端
  11106. type: integer
  11107. audittime:
  11108. description: 审核时间
  11109. type: string
  11110. audituserid:
  11111. description: 审核人
  11112. type: integer
  11113. broker:
  11114. description: 所属经纪人ID
  11115. type: integer
  11116. canceltime:
  11117. description: 销户时间
  11118. type: string
  11119. canceluserid:
  11120. description: 销户人
  11121. type: integer
  11122. canrecommend:
  11123. description: 是否可推荐 - 0:不可 1;可
  11124. type: integer
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. creatorid:
  11129. description: 创建人
  11130. type: integer
  11131. hasauth:
  11132. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  11133. type: integer
  11134. isanonymous:
  11135. description: 是否匿名下单 - 0:否 1:是
  11136. type: integer
  11137. maxinvestornum:
  11138. description: 最大用户数(经纪会员下投资者个数)
  11139. type: integer
  11140. memberuserid:
  11141. description: 所属会员ID
  11142. type: integer
  11143. modifierid:
  11144. description: 修改人
  11145. type: integer
  11146. modifyremark:
  11147. description: 变更备注
  11148. type: string
  11149. modifystatus:
  11150. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  11151. type: integer
  11152. modifytime:
  11153. description: 修改时间
  11154. type: string
  11155. parenttopuser:
  11156. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11157. type: string
  11158. parentuserid:
  11159. description: 所属机构ID
  11160. type: integer
  11161. reckonaccountid:
  11162. description: 默认结算资金账号ID(机构分润使用) 作废
  11163. type: integer
  11164. refercount:
  11165. description: 推荐总人数
  11166. type: integer
  11167. refereeuserid:
  11168. description: 推荐人ID
  11169. type: integer
  11170. refernum:
  11171. description: 推荐码
  11172. type: string
  11173. rootuserid:
  11174. description: 根用户ID
  11175. type: integer
  11176. subaccountlevel:
  11177. description: 子账户层数
  11178. type: integer
  11179. subarealevelpath:
  11180. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11181. type: string
  11182. userid:
  11183. description: 用户ID
  11184. type: integer
  11185. usertype:
  11186. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11187. type: integer
  11188. required:
  11189. - userid
  11190. type: object
  11191. models.Userfavoritegoods:
  11192. properties:
  11193. goodsid:
  11194. description: 商品ID
  11195. type: integer
  11196. required:
  11197. - goodsid
  11198. type: object
  11199. models.Userinfo:
  11200. properties:
  11201. address:
  11202. description: 地址
  11203. type: string
  11204. attachment1:
  11205. description: 附件1
  11206. type: string
  11207. attachment2:
  11208. description: 附件2
  11209. type: string
  11210. bankaccount:
  11211. description: 银行帐号 (加密存储)
  11212. type: string
  11213. bankaccountname:
  11214. description: 收款人名称
  11215. type: string
  11216. bankcardfrontphotourl:
  11217. description: 银行卡正面照地址
  11218. type: string
  11219. bankid:
  11220. description: 银行编码
  11221. type: string
  11222. bankname:
  11223. description: 银行名称
  11224. type: string
  11225. biznature:
  11226. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  11227. type: integer
  11228. bizscope:
  11229. description: 企业经营范围(企业)
  11230. type: string
  11231. cardbackphotourl:
  11232. description: 证件背面图片地址
  11233. type: string
  11234. cardfrontphotourl:
  11235. description: 证件正面图片地址
  11236. type: string
  11237. cardnum:
  11238. description: 证件号码(加密存储)
  11239. type: string
  11240. cardtypeid:
  11241. description: 证件类型ID
  11242. type: integer
  11243. cityid:
  11244. description: 市
  11245. type: integer
  11246. company:
  11247. description: 公司(个人)
  11248. type: string
  11249. contactname:
  11250. description: 联系人
  11251. type: string
  11252. countryid:
  11253. description: 国家
  11254. type: integer
  11255. createtime:
  11256. description: 创建时间
  11257. type: string
  11258. creatorid:
  11259. description: 创建人
  11260. type: integer
  11261. customername:
  11262. description: 客户名称(企业名称)
  11263. type: string
  11264. districtid:
  11265. description: 地区
  11266. type: integer
  11267. email:
  11268. description: 邮件(加密存储)
  11269. type: string
  11270. fax:
  11271. description: 传真(加密存储)
  11272. type: string
  11273. halfbodyphotourl:
  11274. description: 半身照地址
  11275. type: string
  11276. hasencrypt:
  11277. description: 数据是否已加密 - 0:未加密 1:已加密
  11278. type: integer
  11279. headurl:
  11280. description: 头像地址
  11281. type: string
  11282. legalcardbackphotourl:
  11283. description: 法人身份证背面照地址
  11284. type: string
  11285. legalcardfrontphotourl:
  11286. description: 法人身份证正面照地址
  11287. type: string
  11288. legalpersonname:
  11289. description: 法人姓名(企业)
  11290. type: string
  11291. mobile:
  11292. description: 手机号码(加密存储)
  11293. type: string
  11294. mobile2:
  11295. description: 手机号码[明文-尚志]
  11296. type: string
  11297. modifierid:
  11298. description: 修改人
  11299. type: integer
  11300. modifiertime:
  11301. description: 修改时间
  11302. type: string
  11303. needinvoice:
  11304. description: 是否需要发票 - 0:不需要 1:需要
  11305. type: integer
  11306. nickname:
  11307. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  11308. type: string
  11309. openmode:
  11310. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  11311. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  11312. type: integer
  11313. otherurl:
  11314. description: 其它图片地址[使用分号分隔]
  11315. type: string
  11316. postalcode:
  11317. description: 邮政编码
  11318. type: string
  11319. provinceid:
  11320. description: 省
  11321. type: integer
  11322. qq:
  11323. description: QQ(加密存储
  11324. type: string
  11325. remark:
  11326. description: 备注
  11327. type: string
  11328. sex:
  11329. description: '用户性别 0: 女 1: 男'
  11330. type: integer
  11331. signpdfurl:
  11332. description: 签约pdf文件
  11333. type: string
  11334. telphone:
  11335. description: 联系电话(加密存储)
  11336. type: string
  11337. userid:
  11338. description: 用户ID
  11339. type: integer
  11340. userinfotype:
  11341. description: 用户信息类型 - 1:个人 2:企业
  11342. type: integer
  11343. userstatus:
  11344. description: 用户状态 - 1:正常 2:注销
  11345. type: integer
  11346. usertype:
  11347. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  11348. type: integer
  11349. wechat:
  11350. description: 微信(加密存储)
  11351. type: string
  11352. wskhinfo:
  11353. description: 开户申请信息(JSON)
  11354. type: string
  11355. required:
  11356. - userid
  11357. type: object
  11358. models.WRSConverTDetail:
  11359. properties:
  11360. convertratio:
  11361. description: 套保系数
  11362. type: number
  11363. deliverygoodscode:
  11364. description: 现货商品代码
  11365. type: string
  11366. deliverygoodsid:
  11367. description: 现货品种ID
  11368. type: integer
  11369. deliverygoodsname:
  11370. description: 现货商品名称
  11371. type: string
  11372. enumdicname:
  11373. description: 单位名称
  11374. type: string
  11375. goodsunitid:
  11376. description: 套保品种单位id
  11377. type: integer
  11378. middlegoodscode:
  11379. description: 套保品种代码
  11380. type: string
  11381. middlegoodsid:
  11382. description: 套保品种ID
  11383. type: integer
  11384. middlegoodsname:
  11385. description: 套保品种名称
  11386. type: string
  11387. modifytime:
  11388. description: 修改时间
  11389. type: string
  11390. wrstandardid:
  11391. description: 品类ID
  11392. type: integer
  11393. type: object
  11394. models.WRStandardInfo:
  11395. properties:
  11396. areauserid:
  11397. description: 所属机构
  11398. type: integer
  11399. convertfactor:
  11400. description: 标仓系数
  11401. type: number
  11402. createtime:
  11403. description: 创建时间
  11404. type: string
  11405. creatorid:
  11406. description: 创建人
  11407. type: integer
  11408. deliverygoodsid:
  11409. description: 品种ID
  11410. type: integer
  11411. deliverygoodsname:
  11412. description: 交割商品名称
  11413. type: string
  11414. factoryitemjson:
  11415. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11416. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11417. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11418. 逗号分隔'
  11419. type: string
  11420. isvalid:
  11421. description: 是否有效 - 0:无效 1:有效
  11422. type: integer
  11423. minivalue:
  11424. description: 最小变动值
  11425. type: integer
  11426. minivaluedp:
  11427. description: 最小变动值小数位
  11428. type: integer
  11429. realminivalue:
  11430. description: 实际最小变动值
  11431. type: integer
  11432. realminivaluedp:
  11433. description: 实际最小变动值小数位
  11434. type: integer
  11435. remark:
  11436. description: 备注
  11437. type: string
  11438. unitid:
  11439. description: 单位ID
  11440. type: integer
  11441. unitname:
  11442. description: 单位
  11443. type: string
  11444. updatetime:
  11445. description: 更新时间
  11446. type: string
  11447. updatorid:
  11448. description: 更新人
  11449. type: integer
  11450. wrsstatus:
  11451. description: 状态 - 作废 - 0:未激活 1:正常
  11452. type: integer
  11453. wrstandardcode:
  11454. description: 现货品类代码
  11455. type: string
  11456. wrstandardid:
  11457. description: 现货品类ID(SEQ_WRSTANDARD)
  11458. type: integer
  11459. wrstandardname:
  11460. description: 现货品类名称
  11461. type: string
  11462. required:
  11463. - wrstandardid
  11464. type: object
  11465. models.Warehouseinfo:
  11466. properties:
  11467. address:
  11468. description: 详细地址
  11469. type: string
  11470. areauserid:
  11471. description: 所属机构
  11472. type: integer
  11473. autoid:
  11474. description: 自增ID
  11475. type: integer
  11476. cityid:
  11477. description: 市
  11478. type: integer
  11479. contactname:
  11480. description: 联系人
  11481. type: string
  11482. contactnum:
  11483. description: 联系电话
  11484. type: string
  11485. countryid:
  11486. description: 国家
  11487. type: integer
  11488. createtime:
  11489. description: 创建时间
  11490. type: string
  11491. districtid:
  11492. description: 区
  11493. type: integer
  11494. hasvideo:
  11495. description: 是否有视频 - 0:无 1:有
  11496. type: integer
  11497. provinceid:
  11498. description: 省
  11499. type: integer
  11500. remark:
  11501. description: 审核备注
  11502. type: string
  11503. videourl:
  11504. description: 视频地址
  11505. type: string
  11506. warehousecode:
  11507. description: 仓库代码
  11508. type: string
  11509. warehousename:
  11510. description: 仓库名称
  11511. type: string
  11512. warehousestatus:
  11513. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11514. type: integer
  11515. warehousetype:
  11516. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11517. type: integer
  11518. required:
  11519. - autoid
  11520. - warehousecode
  11521. type: object
  11522. order.QueryHisTradeDetailRsp:
  11523. properties:
  11524. accountid:
  11525. description: 账户ID[报价币种]
  11526. type: integer
  11527. buildtype:
  11528. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11529. type: integer
  11530. buyorsell:
  11531. description: 方向 - 0:买 1:卖
  11532. type: integer
  11533. charge:
  11534. description: 手续费
  11535. type: number
  11536. closecharge:
  11537. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11538. type: number
  11539. closeexchagechargevalue:
  11540. description: 平仓交易所手续费设置值
  11541. type: number
  11542. closefeealgorithm:
  11543. description: 平仓手续费收取方式 1:比率 2:固定
  11544. type: integer
  11545. closememberchargevalue:
  11546. description: 平仓会员手续费设置值
  11547. type: number
  11548. closepl:
  11549. description: 平仓盈亏
  11550. type: number
  11551. closepl2:
  11552. description: 平仓盈亏[逐笔]
  11553. type: number
  11554. closeqty:
  11555. description: 平仓数量(先建后平操作 需要记录)
  11556. type: integer
  11557. creditamount:
  11558. description: 授信金额
  11559. type: number
  11560. gcaccountid:
  11561. description: 账户ID[合约币种]
  11562. type: integer
  11563. goodscode:
  11564. description: 商品代码
  11565. type: string
  11566. goodsid:
  11567. description: 商品ID
  11568. type: integer
  11569. goodsname:
  11570. description: 商品名称
  11571. type: string
  11572. histradedate:
  11573. description: 历史交易日
  11574. type: string
  11575. intclosepl:
  11576. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11577. type: integer
  11578. isconfirmexercise:
  11579. description: 是否确认行权- 0:否 1:是
  11580. type: integer
  11581. ismain:
  11582. description: 是否主单 - 0:不是 1:是
  11583. type: integer
  11584. ispreexercise:
  11585. description: 是否预申报- 0:否 1:是
  11586. type: integer
  11587. isreckoned:
  11588. description: 是否结算 - 0:未结算 1:已结算
  11589. type: integer
  11590. isvaliddata:
  11591. description: 是否有效 - 0:无效 1:有效
  11592. type: integer
  11593. listingselecttype:
  11594. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11595. type: integer
  11596. marketid:
  11597. description: 市场ID
  11598. type: integer
  11599. marketname:
  11600. description: 市场名称
  11601. type: string
  11602. matchaccountid:
  11603. description: 对手账号id
  11604. type: integer
  11605. memberuserid:
  11606. description: 会员id 个人投资者 需要填写
  11607. type: integer
  11608. opencharge:
  11609. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11610. type: number
  11611. openexchagechargevalue:
  11612. description: 建仓交易所手续费设置值
  11613. type: number
  11614. openfeealgorithm:
  11615. description: 建仓手续费收取方式 1:比率 2:固定
  11616. type: integer
  11617. openmemberchargevalue:
  11618. description: 建仓会员手续费设置值
  11619. type: number
  11620. openqty:
  11621. description: 开仓数量(先建后平操作 需要记录)
  11622. type: integer
  11623. optiontype:
  11624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11625. type: integer
  11626. orderid:
  11627. description: 委托单号
  11628. type: string
  11629. performanceplanid:
  11630. description: 履约计划ID[期权]
  11631. type: integer
  11632. performancestatus:
  11633. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11634. type: integer
  11635. preexerciseprice:
  11636. description: 预申报价格
  11637. type: number
  11638. premium:
  11639. description: 权利金 - [持仓单的权利金]
  11640. type: number
  11641. relatedouttradeid:
  11642. description: 关联外部成交单ID
  11643. type: integer
  11644. status:
  11645. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11646. type: integer
  11647. tradeamount:
  11648. description: 成交金额[账户币种,用于所有权]
  11649. type: number
  11650. tradedate:
  11651. description: 交易日(yyyyMMdd)
  11652. type: string
  11653. tradeid:
  11654. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11655. type: string
  11656. trademode:
  11657. description: 交易模式
  11658. type: integer
  11659. tradeprice:
  11660. description: 成交价格
  11661. type: number
  11662. tradeproperty:
  11663. description: 交易属性
  11664. type: integer
  11665. tradeqty:
  11666. description: 成交数量
  11667. type: integer
  11668. tradetime:
  11669. description: 成交时间
  11670. type: string
  11671. tradetype:
  11672. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11673. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11674. type: integer
  11675. required:
  11676. - accountid
  11677. - buyorsell
  11678. - goodsid
  11679. - histradedate
  11680. - marketid
  11681. - memberuserid
  11682. - orderid
  11683. - tradeamount
  11684. - tradedate
  11685. - tradeid
  11686. - tradeprice
  11687. - tradeqty
  11688. - tradetime
  11689. type: object
  11690. order.QueryHisTradeOrderDetailRsp:
  11691. properties:
  11692. accountid:
  11693. description: 账户ID[报价币种]
  11694. type: integer
  11695. buildtype:
  11696. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11697. type: integer
  11698. buyorsell:
  11699. description: 买卖 - 0:买 1:卖
  11700. type: integer
  11701. cancelorderid:
  11702. description: 撤单单号(撤单时填写)
  11703. type: string
  11704. cancelqty:
  11705. description: 撤单数量
  11706. type: integer
  11707. clientordertime:
  11708. description: 客户端委托时间
  11709. type: string
  11710. clientticket:
  11711. description: 客户端流水号
  11712. type: string
  11713. clienttype:
  11714. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11715. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11716. type: integer
  11717. closeexchagechargevalue:
  11718. description: 平仓交易所手续费设置值
  11719. type: number
  11720. closefeealgorithm:
  11721. description: 平仓手续费收取方式 1:比率 2:固定
  11722. type: integer
  11723. closefreezecharge:
  11724. description: 平仓冻结手续费(先建后平操作,需要记录)
  11725. type: number
  11726. closememberchargevalue:
  11727. description: 平仓会员手续费设置值
  11728. type: number
  11729. closeqty:
  11730. description: 平仓数量(先建后平操作 需要记录)
  11731. type: integer
  11732. closetradeqty:
  11733. description: 平仓成交数量(先建后平操作,需要记录)
  11734. type: integer
  11735. closeunfreezecharge:
  11736. description: 平仓解冻手续费(先建后平操作,需要记录)
  11737. type: number
  11738. delistingtype:
  11739. description: 摘牌类型 - 1:价格最优 2:点选成交
  11740. type: integer
  11741. freezecharge:
  11742. description: 冻结手续费
  11743. type: number
  11744. freezemargin:
  11745. description: 冻结保证金(冻结交易金额)
  11746. type: number
  11747. gcaccountid:
  11748. description: 账户ID[合约币种]
  11749. type: integer
  11750. goodscode:
  11751. description: 商品代码
  11752. type: string
  11753. goodsid:
  11754. description: 商品ID
  11755. type: integer
  11756. goodsname:
  11757. description: 商品名称
  11758. type: string
  11759. histradedate:
  11760. description: 历史交易日
  11761. type: string
  11762. isconfirmexercise:
  11763. description: 是否确认行权- 0:否 1:是
  11764. type: integer
  11765. ispreexercise:
  11766. description: 是否预申报- 0:否 1:是
  11767. type: integer
  11768. isvaliddata:
  11769. description: 是否有效 - 0:无效 1:有效
  11770. type: integer
  11771. listingselecttype:
  11772. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11773. type: integer
  11774. marginalgorithm:
  11775. description: 保证金收取方式 1:比率 2:固定
  11776. type: integer
  11777. marginvalue:
  11778. description: 即市保证金设置值
  11779. type: number
  11780. marketid:
  11781. description: 市场ID
  11782. type: integer
  11783. marketmaxsub:
  11784. description: 市价最大偏移范围
  11785. type: number
  11786. marketname:
  11787. description: 市场名称
  11788. type: string
  11789. memberuserid:
  11790. description: 所属会员UserID
  11791. type: integer
  11792. openexchagechargevalue:
  11793. description: 建仓交易所手续费设置值
  11794. type: number
  11795. openfeealgorithm:
  11796. description: 建仓手续费收取方式 1:比率 2:固定
  11797. type: integer
  11798. openfreezecharge:
  11799. description: 开仓冻结手续费(先建后平操作,需要记录)
  11800. type: number
  11801. openmemberchargevalue:
  11802. description: 建仓会员手续费设置值
  11803. type: number
  11804. openqty:
  11805. description: 开仓数量(先建后平操作,需要记录)
  11806. type: integer
  11807. opentradeqty:
  11808. description: 开仓成交数量(先建后平操作,需要记录)
  11809. type: integer
  11810. openunfreezecharge:
  11811. description: 开仓解冻手续费(先建后平操作,需要记录)
  11812. type: number
  11813. operatetype:
  11814. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11815. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11816. 15:管理端协议转让
  11817. type: integer
  11818. operatorid:
  11819. description: 登录账号(LoginID)
  11820. type: integer
  11821. optiontype:
  11822. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11823. type: integer
  11824. orderid:
  11825. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11826. type: string
  11827. orderprice:
  11828. description: 委托价格
  11829. type: number
  11830. orderqty:
  11831. description: 委托数量
  11832. type: integer
  11833. ordersrc:
  11834. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11835. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11836. type: integer
  11837. orderstatus:
  11838. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11839. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11840. 16:成交失败违约(荷兰式竞拍专用)
  11841. type: integer
  11842. ordertime:
  11843. description: 委托时间
  11844. type: string
  11845. preexerciseprice:
  11846. description: 预申报价格
  11847. type: number
  11848. premium:
  11849. description: 权利金
  11850. type: number
  11851. preorderid:
  11852. description: 关联预埋单号(止盈止损单时填写)
  11853. type: string
  11854. pricemode:
  11855. description: '取价方式 - 1:市价 2: 限价'
  11856. type: integer
  11857. quoteid:
  11858. description: 报价单ID
  11859. type: integer
  11860. relatedid:
  11861. description: 关联单号(交割单)
  11862. type: string
  11863. retcode:
  11864. description: 错误代码
  11865. type: integer
  11866. sessionid:
  11867. description: 会话ID
  11868. type: integer
  11869. tradedate:
  11870. description: 交易日(yyyyMMdd)
  11871. type: string
  11872. trademode:
  11873. description: 交易模式
  11874. type: integer
  11875. tradeproperty:
  11876. description: 交易属性
  11877. type: integer
  11878. tradeqty:
  11879. description: 成交数量
  11880. type: integer
  11881. unfreezecharge:
  11882. description: 解冻手续费
  11883. type: number
  11884. unfreezemargin:
  11885. description: 解冻保证金
  11886. type: number
  11887. updatetime:
  11888. description: 更新时间
  11889. type: string
  11890. uuid:
  11891. description: 发起端唯一id
  11892. type: string
  11893. validtime:
  11894. description: 有效期限
  11895. type: string
  11896. validtype:
  11897. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11898. type: integer
  11899. volumetype:
  11900. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11901. type: integer
  11902. required:
  11903. - accountid
  11904. - buildtype
  11905. - buyorsell
  11906. - goodsid
  11907. - histradedate
  11908. - marketid
  11909. - memberuserid
  11910. - operatetype
  11911. - orderid
  11912. - orderqty
  11913. - ordertime
  11914. - pricemode
  11915. - tradedate
  11916. - validtype
  11917. type: object
  11918. order.QueryTradeDetailRsp:
  11919. properties:
  11920. accountid:
  11921. description: 账户ID[报价币种]
  11922. type: integer
  11923. buildtype:
  11924. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11925. type: integer
  11926. buyorsell:
  11927. description: 方向 - 0:买 1:卖
  11928. type: integer
  11929. charge:
  11930. description: 手续费
  11931. type: number
  11932. closecharge:
  11933. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11934. type: number
  11935. closeexchagechargevalue:
  11936. description: 平仓交易所手续费设置值
  11937. type: number
  11938. closefeealgorithm:
  11939. description: 平仓手续费收取方式 1:比率 2:固定
  11940. type: integer
  11941. closememberchargevalue:
  11942. description: 平仓会员手续费设置值
  11943. type: number
  11944. closepl:
  11945. description: 平仓盈亏
  11946. type: number
  11947. closepl2:
  11948. description: 平仓盈亏[逐笔]
  11949. type: number
  11950. closeqty:
  11951. description: 平仓数量(先建后平操作 需要记录)
  11952. type: integer
  11953. creditamount:
  11954. description: 授信金额
  11955. type: number
  11956. gcaccountid:
  11957. description: 账户ID[合约币种]
  11958. type: integer
  11959. goodscode:
  11960. description: 商品代码
  11961. type: string
  11962. goodsid:
  11963. description: 商品ID
  11964. type: integer
  11965. goodsname:
  11966. description: 商品名称
  11967. type: string
  11968. intclosepl:
  11969. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11970. type: integer
  11971. isconfirmexercise:
  11972. description: 是否确认行权- 0:否 1:是
  11973. type: integer
  11974. ismain:
  11975. description: 是否主单 - 0:不是 1:是
  11976. type: integer
  11977. ispreexercise:
  11978. description: 是否预申报- 0:否 1:是
  11979. type: integer
  11980. isreckoned:
  11981. description: 是否结算 - 0:未结算 1:已结算
  11982. type: integer
  11983. listingselecttype:
  11984. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11985. type: integer
  11986. marketid:
  11987. description: 市场ID
  11988. type: integer
  11989. marketname:
  11990. description: 市场名称
  11991. type: string
  11992. matchaccountid:
  11993. description: 对手账号id
  11994. type: integer
  11995. memberuserid:
  11996. description: 会员id 个人投资者 需要填写
  11997. type: integer
  11998. opencharge:
  11999. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  12000. type: number
  12001. openexchagechargevalue:
  12002. description: 建仓交易所手续费设置值
  12003. type: number
  12004. openfeealgorithm:
  12005. description: 建仓手续费收取方式 1:比率 2:固定
  12006. type: integer
  12007. openmemberchargevalue:
  12008. description: 建仓会员手续费设置值
  12009. type: number
  12010. openqty:
  12011. description: 开仓数量(先建后平操作 需要记录)
  12012. type: integer
  12013. optiontype:
  12014. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  12015. type: integer
  12016. orderid:
  12017. description: 委托单号
  12018. type: string
  12019. performanceplanid:
  12020. description: 履约计划ID[期权]
  12021. type: integer
  12022. performancestatus:
  12023. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  12024. type: integer
  12025. preexerciseprice:
  12026. description: 预申报价格
  12027. type: number
  12028. premium:
  12029. description: 权利金 - [持仓单的权利金]
  12030. type: number
  12031. relatedouttradeid:
  12032. description: 关联外部成交单ID
  12033. type: integer
  12034. status:
  12035. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  12036. type: integer
  12037. tradeamount:
  12038. description: 成交金额[账户币种,用于所有权]
  12039. type: number
  12040. tradedate:
  12041. description: 交易日(yyyyMMdd)
  12042. type: string
  12043. tradeid:
  12044. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12045. type: string
  12046. trademode:
  12047. description: 交易模式
  12048. type: integer
  12049. tradeprice:
  12050. description: 成交价格
  12051. type: number
  12052. tradeproperty:
  12053. description: 交易属性
  12054. type: integer
  12055. tradeqty:
  12056. description: 成交数量
  12057. type: integer
  12058. tradetime:
  12059. description: 成交时间
  12060. type: string
  12061. tradetype:
  12062. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  12063. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  12064. type: integer
  12065. required:
  12066. - accountid
  12067. - buyorsell
  12068. - goodsid
  12069. - marketid
  12070. - memberuserid
  12071. - orderid
  12072. - tradeamount
  12073. - tradedate
  12074. - tradeid
  12075. - tradeprice
  12076. - tradeqty
  12077. - tradetime
  12078. type: object
  12079. order.QueryTradeOrderDetailRsp:
  12080. properties:
  12081. accountid:
  12082. description: 账户ID[报价币种]
  12083. type: integer
  12084. buildtype:
  12085. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  12086. type: integer
  12087. buyorsell:
  12088. description: 买卖 - 0:买 1:卖
  12089. type: integer
  12090. cancelorderid:
  12091. description: 撤单单号(撤单时填写)
  12092. type: string
  12093. cancelqty:
  12094. description: 撤单数量
  12095. type: integer
  12096. clienttype:
  12097. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  12098. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12099. type: integer
  12100. closefreezecharge:
  12101. description: 平仓冻结手续费(先建后平操作,需要记录)
  12102. type: number
  12103. closeqty:
  12104. description: 平仓数量(先建后平操作 需要记录)
  12105. type: integer
  12106. closetradeqty:
  12107. description: 平仓成交数量(先建后平操作,需要记录)
  12108. type: integer
  12109. closeunfreezecharge:
  12110. description: 平仓解冻手续费(先建后平操作,需要记录)
  12111. type: number
  12112. delistingtype:
  12113. description: 摘牌类型 - 1:价格最优 2:点选成交
  12114. type: integer
  12115. enableqty:
  12116. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  12117. type: integer
  12118. freezecharge:
  12119. description: 冻结手续费
  12120. type: number
  12121. freezemargin:
  12122. description: 冻结保证金(冻结交易金额)
  12123. type: number
  12124. goodscode:
  12125. description: 商品代码
  12126. type: string
  12127. goodsid:
  12128. description: 商品ID
  12129. type: integer
  12130. goodsname:
  12131. description: 商品名称
  12132. type: string
  12133. listingselecttype:
  12134. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12135. type: integer
  12136. marketid:
  12137. description: 市场ID
  12138. type: integer
  12139. marketname:
  12140. description: 市场名称
  12141. type: string
  12142. openfreezecharge:
  12143. description: 开仓冻结手续费(先建后平操作,需要记录)
  12144. type: number
  12145. openqty:
  12146. description: 开仓数量(先建后平操作,需要记录)
  12147. type: integer
  12148. opentradeqty:
  12149. description: 开仓成交数量(先建后平操作,需要记录)
  12150. type: integer
  12151. openunfreezecharge:
  12152. description: 开仓解冻手续费(先建后平操作,需要记录)
  12153. type: number
  12154. operatetype:
  12155. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  12156. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  12157. 15:管理端协议转让
  12158. type: integer
  12159. operatorid:
  12160. description: 登录账号(LoginID)
  12161. type: integer
  12162. orderid:
  12163. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12164. type: string
  12165. orderprice:
  12166. description: 委托价格
  12167. type: number
  12168. orderqty:
  12169. description: 委托数量
  12170. type: integer
  12171. ordersrc:
  12172. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  12173. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  12174. type: integer
  12175. orderstatus:
  12176. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12177. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12178. 16:成交失败违约(荷兰式竞拍专用)
  12179. type: integer
  12180. ordertime:
  12181. description: 委托时间
  12182. type: string
  12183. preorderid:
  12184. description: 关联预埋单号(止盈止损单时填写)
  12185. type: string
  12186. pricemode:
  12187. description: '取价方式 - 1:市价 2: 限价'
  12188. type: integer
  12189. relatedid:
  12190. description: 关联单号(交割单)
  12191. type: string
  12192. tradedate:
  12193. description: 交易日(yyyyMMdd)
  12194. type: string
  12195. trademode:
  12196. description: 交易模式
  12197. type: integer
  12198. tradeqty:
  12199. description: 成交数量
  12200. type: integer
  12201. unfreezecharge:
  12202. description: 解冻手续费
  12203. type: number
  12204. unfreezemargin:
  12205. description: 解冻保证金
  12206. type: number
  12207. validtime:
  12208. description: 有效期限
  12209. type: string
  12210. validtype:
  12211. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  12212. type: integer
  12213. volumetype:
  12214. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  12215. type: integer
  12216. required:
  12217. - accountid
  12218. - buildtype
  12219. - buyorsell
  12220. - goodsid
  12221. - marketid
  12222. - operatetype
  12223. - orderqty
  12224. - ordertime
  12225. - pricemode
  12226. - tradedate
  12227. - validtype
  12228. type: object
  12229. order.QueryTradePositionRsp:
  12230. properties:
  12231. accountid:
  12232. description: 资金账户
  12233. type: integer
  12234. agreeunit:
  12235. description: 合约单位
  12236. type: number
  12237. averageprice:
  12238. description: 持仓均价
  12239. type: number
  12240. buyorsell:
  12241. description: 方向 - 0:买 1:卖
  12242. type: integer
  12243. closetotalqty:
  12244. description: 平仓总数量
  12245. type: integer
  12246. curholderamount:
  12247. description: 当前持仓总金额[商品币种]
  12248. type: number
  12249. curpositionqty:
  12250. description: 当前持仓总数量
  12251. type: integer
  12252. currencyid:
  12253. description: 报价货币ID
  12254. type: integer
  12255. curtdposition:
  12256. description: 期末今日头寸
  12257. type: integer
  12258. decimalplace:
  12259. description: 报价小数位
  12260. type: integer
  12261. enableqty:
  12262. description: 可用量
  12263. type: integer
  12264. fretdposition:
  12265. description: 冻结今日头寸
  12266. type: integer
  12267. frozenqty:
  12268. description: 持仓冻结数量
  12269. type: integer
  12270. goodscode:
  12271. description: 商品代码
  12272. type: string
  12273. goodsid:
  12274. description: 商品Id
  12275. type: integer
  12276. goodsname:
  12277. description: 商品名称
  12278. type: string
  12279. goodunit:
  12280. description: 报价单位
  12281. type: string
  12282. goodunitid:
  12283. description: 报价单位ID
  12284. type: integer
  12285. holderamount:
  12286. description: 期初持仓总金额[商品币种]
  12287. type: number
  12288. marketid:
  12289. description: 所属市场ID
  12290. type: integer
  12291. openreqqty:
  12292. description: 开仓申请数量(用于比较最大持仓数量)
  12293. type: integer
  12294. opentotalqty:
  12295. description: 开仓总数量
  12296. type: integer
  12297. otherfrozenqty:
  12298. description: 持仓其他冻结数量(交割冻结)
  12299. type: integer
  12300. positionqty:
  12301. description: 期初持仓数量
  12302. type: integer
  12303. tnqty:
  12304. description: T+N冻结总量
  12305. type: integer
  12306. tnusedqty:
  12307. description: T+N使用量(可以使用T+N的冻结数量)
  12308. type: integer
  12309. trademode:
  12310. description: 交易模式
  12311. type: integer
  12312. usedmargin:
  12313. description: 占用保证金[商品币种]
  12314. type: number
  12315. required:
  12316. - goodsid
  12317. type: object
  12318. quote.HistoryData:
  12319. properties:
  12320. c:
  12321. description: 收盘价
  12322. type: number
  12323. f:
  12324. description: 是否补充数据
  12325. type: boolean
  12326. h:
  12327. description: 最高价
  12328. type: number
  12329. hv:
  12330. description: 持仓量
  12331. type: integer
  12332. l:
  12333. description: 最低价
  12334. type: number
  12335. o:
  12336. description: 开盘价
  12337. type: number
  12338. s:
  12339. description: 结算价,日线周期(包括)以上才有
  12340. type: number
  12341. ts:
  12342. description: 时间
  12343. type: string
  12344. tt:
  12345. description: 总金额
  12346. type: number
  12347. tv:
  12348. description: 总量
  12349. type: integer
  12350. type: object
  12351. quote.HistoryTikData:
  12352. properties:
  12353. AV:
  12354. description: 卖量
  12355. type: integer
  12356. Ask:
  12357. description: 卖价
  12358. type: number
  12359. BV:
  12360. description: 买量
  12361. type: integer
  12362. Bid:
  12363. description: 买价
  12364. type: number
  12365. HI:
  12366. description: 单笔持仓
  12367. type: integer
  12368. HV:
  12369. description: 持仓量
  12370. type: integer
  12371. PE:
  12372. description: 现价
  12373. type: number
  12374. TDR:
  12375. description: 交易方向,0:买 1:卖
  12376. type: integer
  12377. TK:
  12378. description: 交易类型
  12379. type: integer
  12380. TS:
  12381. description: 行情时间文本
  12382. type: string
  12383. TT:
  12384. description: 现金额
  12385. type: number
  12386. Vol:
  12387. description: 现量
  12388. type: integer
  12389. type: object
  12390. quote.QueryQuoteDayRsp:
  12391. properties:
  12392. ask:
  12393. description: 卖1
  12394. type: number
  12395. ask2:
  12396. description: 卖2
  12397. type: number
  12398. ask3:
  12399. description: 卖3
  12400. type: number
  12401. ask4:
  12402. description: 卖4
  12403. type: number
  12404. ask5:
  12405. description: 卖5
  12406. type: number
  12407. ask6:
  12408. description: 卖6
  12409. type: number
  12410. ask7:
  12411. description: 卖7
  12412. type: number
  12413. ask8:
  12414. description: 卖8
  12415. type: number
  12416. ask9:
  12417. description: 卖9
  12418. type: number
  12419. ask10:
  12420. description: 卖10
  12421. type: number
  12422. askorderid:
  12423. description: 卖单号1
  12424. type: integer
  12425. askorderid2:
  12426. description: 卖单号2
  12427. type: integer
  12428. askorderid3:
  12429. description: 卖单号3
  12430. type: integer
  12431. askorderid4:
  12432. description: 卖单号4
  12433. type: integer
  12434. askorderid5:
  12435. description: 卖单号5
  12436. type: integer
  12437. askordervolume:
  12438. description: 卖单量1
  12439. type: integer
  12440. askordervolume2:
  12441. description: 卖单量2
  12442. type: integer
  12443. askordervolume3:
  12444. description: 卖单量3
  12445. type: integer
  12446. askordervolume4:
  12447. description: 卖单量4
  12448. type: integer
  12449. askordervolume5:
  12450. description: 卖单量5
  12451. type: integer
  12452. askordervolume6:
  12453. description: 卖单量6
  12454. type: integer
  12455. askordervolume7:
  12456. description: 卖单量7
  12457. type: integer
  12458. askordervolume8:
  12459. description: 卖单量8
  12460. type: integer
  12461. askordervolume9:
  12462. description: 卖单量9
  12463. type: integer
  12464. askordervolume10:
  12465. description: 卖单量10
  12466. type: integer
  12467. askqueueinfo:
  12468. description: 大利市卖港股用
  12469. type: string
  12470. askvolume:
  12471. description: 卖量1
  12472. type: integer
  12473. askvolume2:
  12474. description: 卖量2
  12475. type: integer
  12476. askvolume3:
  12477. description: 卖量3
  12478. type: integer
  12479. askvolume4:
  12480. description: 卖量4
  12481. type: integer
  12482. askvolume5:
  12483. description: 卖量5
  12484. type: integer
  12485. askvolume6:
  12486. description: 卖量6
  12487. type: integer
  12488. askvolume7:
  12489. description: 卖量7
  12490. type: integer
  12491. askvolume8:
  12492. description: 卖量8
  12493. type: integer
  12494. askvolume9:
  12495. description: 卖量9
  12496. type: integer
  12497. askvolume10:
  12498. description: 卖量10
  12499. type: integer
  12500. averageprice:
  12501. description: 均价
  12502. type: number
  12503. bid:
  12504. description: 买1
  12505. type: number
  12506. bid2:
  12507. description: 买2
  12508. type: number
  12509. bid3:
  12510. description: 买3
  12511. type: number
  12512. bid4:
  12513. description: 买4
  12514. type: number
  12515. bid5:
  12516. description: 买5
  12517. type: number
  12518. bid6:
  12519. description: 买6
  12520. type: number
  12521. bid7:
  12522. description: 买7
  12523. type: number
  12524. bid8:
  12525. description: 买8
  12526. type: number
  12527. bid9:
  12528. description: 买9
  12529. type: number
  12530. bid10:
  12531. description: 买10
  12532. type: number
  12533. bidorderid:
  12534. description: 买单号1
  12535. type: integer
  12536. bidorderid2:
  12537. description: 买单号2
  12538. type: integer
  12539. bidorderid3:
  12540. description: 买单号3
  12541. type: integer
  12542. bidorderid4:
  12543. description: 买单号4
  12544. type: integer
  12545. bidorderid5:
  12546. description: 买单号5
  12547. type: integer
  12548. bidordervolume:
  12549. description: 买单量1
  12550. type: integer
  12551. bidordervolume2:
  12552. description: 买单量2
  12553. type: integer
  12554. bidordervolume3:
  12555. description: 买单量3
  12556. type: integer
  12557. bidordervolume4:
  12558. description: 买单量4
  12559. type: integer
  12560. bidordervolume5:
  12561. description: 买单量5
  12562. type: integer
  12563. bidordervolume6:
  12564. description: 买单量6
  12565. type: integer
  12566. bidordervolume7:
  12567. description: 买单量7
  12568. type: integer
  12569. bidordervolume8:
  12570. description: 买单量8
  12571. type: integer
  12572. bidordervolume9:
  12573. description: 买单量9
  12574. type: integer
  12575. bidordervolume10:
  12576. description: 买单量10
  12577. type: integer
  12578. bidqueueinfo:
  12579. description: 大利市买港股用
  12580. type: string
  12581. bidvolume:
  12582. description: 买量1
  12583. type: integer
  12584. bidvolume2:
  12585. description: 买量2
  12586. type: integer
  12587. bidvolume3:
  12588. description: 买量3
  12589. type: integer
  12590. bidvolume4:
  12591. description: 买量4
  12592. type: integer
  12593. bidvolume5:
  12594. description: 买量5
  12595. type: integer
  12596. bidvolume6:
  12597. description: 买量6
  12598. type: integer
  12599. bidvolume7:
  12600. description: 买量7
  12601. type: integer
  12602. bidvolume8:
  12603. description: 买量8
  12604. type: integer
  12605. bidvolume9:
  12606. description: 买量9
  12607. type: integer
  12608. bidvolume10:
  12609. description: 买量10
  12610. type: integer
  12611. calloptionpremiums:
  12612. description: 认购期权1
  12613. type: integer
  12614. calloptionpremiums2:
  12615. description: 认购期权2
  12616. type: integer
  12617. calloptionpremiums3:
  12618. description: 认购期权3
  12619. type: integer
  12620. calloptionpremiums4:
  12621. description: 认购期权4
  12622. type: integer
  12623. calloptionpremiums5:
  12624. description: 认购期权5
  12625. type: integer
  12626. cleartime:
  12627. description: 清盘时间
  12628. type: integer
  12629. exchangecode:
  12630. description: 交易所代码
  12631. type: integer
  12632. exchangedate:
  12633. description: 交易日
  12634. type: integer
  12635. goodscode:
  12636. description: 商品代码
  12637. type: string
  12638. grepmarketprice:
  12639. description: 暗盘价 港股专用
  12640. type: number
  12641. highest:
  12642. description: 最高价
  12643. type: number
  12644. holdincrement:
  12645. description: 单笔持仓
  12646. type: integer
  12647. holdvolume:
  12648. description: 持仓
  12649. type: integer
  12650. iep:
  12651. description: 平衡价 港股专用
  12652. type: number
  12653. iev:
  12654. description: 平衡量 港股专用
  12655. type: number
  12656. inventory:
  12657. description: 库存
  12658. type: integer
  12659. iscleared:
  12660. description: 是否清盘标志
  12661. type: integer
  12662. issettled:
  12663. description: 是否结算标志
  12664. type: integer
  12665. last:
  12666. description: 最新价
  12667. type: number
  12668. lastlot:
  12669. description: 最新成交手数
  12670. type: integer
  12671. lasttime:
  12672. description: 行情时间(只有现价变化行情时间才变化)
  12673. type: string
  12674. lastturnover:
  12675. description: 最新成交金额
  12676. type: number
  12677. lastvolume:
  12678. description: 最新成交量
  12679. type: integer
  12680. limitdown:
  12681. description: 跌停价
  12682. type: number
  12683. limitup:
  12684. description: 涨停价
  12685. type: number
  12686. lowest:
  12687. description: 最低价
  12688. type: number
  12689. nontotalholdervolume:
  12690. description: 非交易持仓量
  12691. type: integer
  12692. nontotallot:
  12693. description: 非交易总手数
  12694. type: integer
  12695. nontotalturnover:
  12696. description: 非交易总金额
  12697. type: integer
  12698. nontotalvolume:
  12699. description: 非交易总量
  12700. type: integer
  12701. opened:
  12702. description: 开盘价
  12703. type: number
  12704. opentime:
  12705. description: 开盘时间
  12706. type: string
  12707. orderid:
  12708. description: 序号
  12709. type: integer
  12710. preclose:
  12711. description: 昨收
  12712. type: number
  12713. preholdvolume:
  12714. description: 昨持仓
  12715. type: integer
  12716. presettle:
  12717. description: 昨结价
  12718. type: number
  12719. publictradetype:
  12720. description: 公共交易标志类型 港股专用
  12721. type: string
  12722. putoptionpremiums:
  12723. description: 认沽期权1
  12724. type: integer
  12725. putoptionpremiums2:
  12726. description: 认沽期权2
  12727. type: integer
  12728. putoptionpremiums3:
  12729. description: 认沽期权3
  12730. type: integer
  12731. putoptionpremiums4:
  12732. description: 认沽期权4
  12733. type: integer
  12734. putoptionpremiums5:
  12735. description: 认沽期权5
  12736. type: integer
  12737. settle:
  12738. description: 结算价
  12739. type: number
  12740. strikeprice:
  12741. description: 发行价
  12742. type: number
  12743. totalaskvolume:
  12744. description: 内盘
  12745. type: integer
  12746. totalbidvolume:
  12747. description: 外盘
  12748. type: integer
  12749. totallot:
  12750. description: 总手数
  12751. type: integer
  12752. totalturnover:
  12753. description: 总金额
  12754. type: number
  12755. totalvolume:
  12756. description: 总量
  12757. type: integer
  12758. utclasttime:
  12759. description: utc的行情时间
  12760. type: string
  12761. type: object
  12762. quote.QueryTSDataRsp:
  12763. properties:
  12764. Count:
  12765. description: 交易日应有数据个数
  12766. type: integer
  12767. decimalPlace:
  12768. description: 小数位
  12769. type: integer
  12770. endTime:
  12771. description: 结束时间
  12772. type: string
  12773. goodsCode:
  12774. description: 商品代码
  12775. type: string
  12776. historyDatas:
  12777. description: 历史数据
  12778. items:
  12779. $ref: '#/definitions/quote.HistoryData'
  12780. type: array
  12781. outGoodsCode:
  12782. description: 外部商品代码
  12783. type: string
  12784. preSettle:
  12785. description: 昨结价
  12786. type: number
  12787. runSteps:
  12788. description: 交易日开休市计划
  12789. items:
  12790. $ref: '#/definitions/quote.TSDataRunStep'
  12791. type: array
  12792. startTime:
  12793. description: 开始时间
  12794. type: string
  12795. tradeDate:
  12796. description: 交易日
  12797. type: string
  12798. type: object
  12799. quote.TSDataRunStep:
  12800. properties:
  12801. end:
  12802. description: 真实结束时间
  12803. type: string
  12804. endflag:
  12805. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12806. type: integer
  12807. endtime:
  12808. description: 结束时间(HH:mm)
  12809. type: string
  12810. endweekday:
  12811. description: 结束周几
  12812. type: integer
  12813. groupid:
  12814. description: 分组ID
  12815. type: integer
  12816. runstep:
  12817. description: 运行阶段 - 2:连续交易
  12818. type: integer
  12819. sectionid:
  12820. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12821. 结束时间=结算时间 结束周几=结算周几
  12822. type: integer
  12823. start:
  12824. description: 真实开始时间
  12825. type: string
  12826. startflag:
  12827. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12828. type: integer
  12829. starttime:
  12830. description: 起始时间(HH:mm)
  12831. type: string
  12832. startweekday:
  12833. description: 起始周几
  12834. type: integer
  12835. tradeweekday:
  12836. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12837. type: integer
  12838. type: object
  12839. szdz.QueryConvertLogRsp:
  12840. properties:
  12841. accountid:
  12842. description: 资金账户ID
  12843. type: integer
  12844. clientticket:
  12845. description: 客户端流水号
  12846. type: string
  12847. converttype:
  12848. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12849. type: integer
  12850. createtime:
  12851. description: 记账时间
  12852. type: string
  12853. daymaxvalue:
  12854. description: 配置当日最大转入限制
  12855. type: number
  12856. daymaxvalue2:
  12857. description: 配置当日最大转入限制(转入)
  12858. type: number
  12859. goodscode:
  12860. description: 商品代码
  12861. type: string
  12862. goodsname:
  12863. description: 商品名称
  12864. type: string
  12865. handlestatus:
  12866. description: 处理状态
  12867. type: integer
  12868. innergoodsid:
  12869. description: 内部商品ID
  12870. type: integer
  12871. inratio:
  12872. description: 配置转入比值
  12873. type: integer
  12874. invalue:
  12875. description: 目标值
  12876. type: number
  12877. logid:
  12878. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12879. type: integer
  12880. mobile:
  12881. description: 手机号码(加密存储)
  12882. type: string
  12883. outergoodscode:
  12884. description: 外部商品代码[JD\PD]
  12885. type: string
  12886. outratio:
  12887. description: 配置转出比值
  12888. type: integer
  12889. outvalue:
  12890. description: 源值
  12891. type: number
  12892. pddecimalplace:
  12893. description: PD小数位
  12894. type: integer
  12895. qty:
  12896. description: 数量
  12897. type: string
  12898. remark:
  12899. description: 备注
  12900. type: string
  12901. sessionid:
  12902. description: 会话ID
  12903. type: integer
  12904. timemaxvalue:
  12905. description: 配置单次最大转入限制
  12906. type: number
  12907. timemaxvalue2:
  12908. description: 配置单次最大转入限制(转入)
  12909. type: number
  12910. timeminvalue:
  12911. description: 配置单次最小数量限制
  12912. type: number
  12913. timeminvalue2:
  12914. description: 配置单次最小数量限制(转入)
  12915. type: number
  12916. tradedate:
  12917. description: 交易日(yyyyMMdd)
  12918. type: string
  12919. userid:
  12920. description: 用户ID
  12921. type: integer
  12922. required:
  12923. - logid
  12924. type: object
  12925. szdz.QueryGoodsPickupRsp:
  12926. properties:
  12927. accountid:
  12928. description: 账户ID
  12929. type: integer
  12930. address:
  12931. description: 提货人详细地址
  12932. type: string
  12933. auditer:
  12934. description: 审核人
  12935. type: integer
  12936. audittime:
  12937. description: 审核时间
  12938. type: string
  12939. cardnum:
  12940. description: 提货人证件号码
  12941. type: string
  12942. cardtypeid:
  12943. description: 提货人证件类型
  12944. type: integer
  12945. checkremark:
  12946. description: 审核备注
  12947. type: string
  12948. goodscode:
  12949. description: 商品代码
  12950. type: string
  12951. goodsid:
  12952. description: 商品ID
  12953. type: integer
  12954. goodsname:
  12955. description: 商品名称
  12956. type: string
  12957. handlestatus:
  12958. description: 处理状态
  12959. type: integer
  12960. marketid:
  12961. description: 市场ID
  12962. type: integer
  12963. phonenum:
  12964. description: 提货人联系方式
  12965. type: string
  12966. qty:
  12967. description: 提货数量
  12968. type: number
  12969. recivername:
  12970. description: 提货人姓名
  12971. type: string
  12972. reqtime:
  12973. description: 更新时间
  12974. type: string
  12975. takemode:
  12976. description: 提货方式 - 2:自提 3:配送
  12977. type: integer
  12978. takeorderid:
  12979. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12980. type: string
  12981. takeorderstatus:
  12982. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12983. type: integer
  12984. takeremark:
  12985. description: 提货备注
  12986. type: string
  12987. tradedate:
  12988. description: 交易日(yyyyMMdd)
  12989. type: string
  12990. userid:
  12991. description: 用户ID
  12992. type: integer
  12993. required:
  12994. - takeorderid
  12995. type: object
  12996. szdz.QueryRecieptOrderRsp:
  12997. properties:
  12998. accountName:
  12999. description: 所属账号名称(已脱敏)
  13000. type: string
  13001. accountid:
  13002. description: 资金账号
  13003. type: integer
  13004. buyorsell:
  13005. description: 方向 - 0:买 1:卖
  13006. type: integer
  13007. enableqty:
  13008. description: 可摘数量
  13009. type: integer
  13010. goodscode:
  13011. description: 商品代码
  13012. type: string
  13013. goodsid:
  13014. description: 商品ID
  13015. type: integer
  13016. goodsname:
  13017. description: 商品名称
  13018. type: string
  13019. orderid:
  13020. description: 委托单号
  13021. type: string
  13022. orderprice:
  13023. description: 委托价格
  13024. type: number
  13025. ordertime:
  13026. description: 委托时间
  13027. type: string
  13028. tradedate:
  13029. description: 交易日(yyyyMMdd)
  13030. type: string
  13031. required:
  13032. - ordertime
  13033. type: object
  13034. szdz.QuerySZDZTradePositionRsp:
  13035. properties:
  13036. accountid:
  13037. description: 账号Id
  13038. type: integer
  13039. agreeunit:
  13040. description: 合约单位
  13041. type: number
  13042. averageprice:
  13043. description: 持仓均价
  13044. type: number
  13045. buyorsell:
  13046. description: 方向 - 0:买 1:卖
  13047. type: integer
  13048. closetotalqty:
  13049. description: 平仓总数量
  13050. type: integer
  13051. curholderamount:
  13052. description: 当前持仓总金额
  13053. type: number
  13054. curpositionqty:
  13055. description: 当前持仓总数量
  13056. type: integer
  13057. currencyid:
  13058. description: 报价货币ID
  13059. type: integer
  13060. curtdposition:
  13061. description: 期末今日头寸
  13062. type: integer
  13063. decimalplace:
  13064. description: 报价小数位
  13065. type: integer
  13066. enableqty:
  13067. description: 可用量
  13068. type: integer
  13069. fretdposition:
  13070. description: 冻结今日头寸
  13071. type: integer
  13072. frozenqty:
  13073. description: 持仓冻结数量
  13074. type: integer
  13075. goodscode:
  13076. description: 商品代码(内部)
  13077. type: string
  13078. goodsid:
  13079. description: 商品Id
  13080. type: integer
  13081. goodsname:
  13082. description: 商品名称
  13083. type: string
  13084. goodunit:
  13085. description: 报价单位
  13086. type: string
  13087. goodunitid:
  13088. description: 报价单位ID
  13089. type: integer
  13090. holderamount:
  13091. description: 期初持仓总金额
  13092. type: number
  13093. marketid:
  13094. description: 市场ID
  13095. type: integer
  13096. openreqqty:
  13097. description: 开仓申请数量
  13098. type: integer
  13099. opentotalqty:
  13100. description: 开仓总数量
  13101. type: integer
  13102. otherfrozenqty:
  13103. description: 持仓其他冻结数量(交割冻结)
  13104. type: integer
  13105. positionqty:
  13106. description: 期初持仓数量
  13107. type: integer
  13108. szdz3freezqty:
  13109. description: 尚志大宗转换冻结总数量
  13110. type: integer
  13111. tnqty:
  13112. description: T+N冻结总量
  13113. type: integer
  13114. tnusedqty:
  13115. description: T+N使用量
  13116. type: integer
  13117. trademode:
  13118. description: 交易模式
  13119. type: integer
  13120. usedmargin:
  13121. description: 占用保证金
  13122. type: number
  13123. type: object
  13124. taaccount.QueryAmountLogRsp:
  13125. properties:
  13126. OPERATETYPENAME:
  13127. description: 资金操作类型名称
  13128. type: string
  13129. accountid:
  13130. description: 资金账户ID
  13131. type: integer
  13132. agoodscode:
  13133. description: 竞拍商品代码
  13134. type: string
  13135. agoodsname:
  13136. description: 竞拍商品名称
  13137. type: string
  13138. amount:
  13139. description: 资金金额
  13140. type: number
  13141. amountadjusttype:
  13142. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13143. type: integer
  13144. autoid:
  13145. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13146. type: integer
  13147. balance:
  13148. description: 期初余额
  13149. type: number
  13150. businesscode:
  13151. description: 业务编号
  13152. type: integer
  13153. createtime:
  13154. description: 发生时间
  13155. type: string
  13156. currencyid:
  13157. description: 币种ID
  13158. type: integer
  13159. currentbalance:
  13160. description: 期末余额(变动后金额)
  13161. type: number
  13162. dgoodscode:
  13163. description: 交割商品代码
  13164. type: string
  13165. dgoodsname:
  13166. description: 交割商品名称
  13167. type: string
  13168. goodscode:
  13169. description: 商品代码
  13170. type: string
  13171. goodsid:
  13172. description: 商品ID
  13173. type: integer
  13174. goodsname:
  13175. description: 商品名称
  13176. type: string
  13177. marketid:
  13178. description: 市场ID
  13179. type: integer
  13180. marketname:
  13181. description: 市场名称
  13182. type: string
  13183. moneyticket:
  13184. description: 资金流水号:银行端流水号
  13185. type: integer
  13186. operatetype:
  13187. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13188. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13189. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13190. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13191. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13192. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13193. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13194. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13195. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13196. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13197. type: integer
  13198. relationorderid:
  13199. description: 关联单号
  13200. type: string
  13201. remark:
  13202. description: 备注
  13203. type: string
  13204. trademode:
  13205. description: 交易模式
  13206. type: integer
  13207. required:
  13208. - accountid
  13209. - amount
  13210. - amountadjusttype
  13211. - autoid
  13212. - balance
  13213. - createtime
  13214. - currentbalance
  13215. - operatetype
  13216. type: object
  13217. taaccount.QueryHisAmountLogRsp:
  13218. properties:
  13219. OPERATETYPENAME:
  13220. description: 资金操作类型名称
  13221. type: string
  13222. accountid:
  13223. description: 资金账户ID
  13224. type: integer
  13225. agoodscode:
  13226. description: 竞拍商品代码
  13227. type: string
  13228. agoodsname:
  13229. description: 竞拍商品名称
  13230. type: string
  13231. amount:
  13232. description: 资金金额
  13233. type: number
  13234. amountadjusttype:
  13235. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  13236. type: integer
  13237. autoid:
  13238. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  13239. type: integer
  13240. balance:
  13241. description: 期初余额
  13242. type: number
  13243. businesscode:
  13244. description: 业务编号
  13245. type: integer
  13246. createtime:
  13247. description: 发生时间
  13248. type: string
  13249. currencyid:
  13250. description: 币种ID
  13251. type: integer
  13252. currentbalance:
  13253. description: 期末余额(变动后金额)
  13254. type: number
  13255. dgoodscode:
  13256. description: 交割商品代码
  13257. type: string
  13258. dgoodsname:
  13259. description: 交割商品名称
  13260. type: string
  13261. goodscode:
  13262. description: 商品代码
  13263. type: string
  13264. goodsid:
  13265. description: 商品ID
  13266. type: integer
  13267. goodsname:
  13268. description: 商品名称
  13269. type: string
  13270. histradedate:
  13271. description: 历史交易日
  13272. type: string
  13273. isvaliddata:
  13274. description: 是否有效 - 0:无效 1:有效
  13275. type: integer
  13276. marketid:
  13277. description: 市场ID
  13278. type: integer
  13279. marketname:
  13280. description: 市场名称
  13281. type: string
  13282. moneyticket:
  13283. description: 资金流水号:银行端流水号
  13284. type: integer
  13285. operatetype:
  13286. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  13287. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  13288. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  13289. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  13290. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  13291. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  13292. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  13293. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  13294. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  13295. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  13296. type: integer
  13297. relationorderid:
  13298. description: 关联单号
  13299. type: string
  13300. remark:
  13301. description: 备注
  13302. type: string
  13303. trademode:
  13304. description: 交易模式
  13305. type: integer
  13306. required:
  13307. - accountid
  13308. - amount
  13309. - amountadjusttype
  13310. - autoid
  13311. - balance
  13312. - createtime
  13313. - currentbalance
  13314. - histradedate
  13315. - operatetype
  13316. type: object
  13317. trade.QueryRecieptOrderRsp:
  13318. properties:
  13319. accountName:
  13320. description: 所属账号名称(已脱敏)
  13321. type: string
  13322. accountid:
  13323. description: 资金账号
  13324. type: integer
  13325. buyorsell:
  13326. description: 方向 - 0:买 1:卖
  13327. type: integer
  13328. enableqty:
  13329. description: 可摘数量
  13330. type: integer
  13331. goodscode:
  13332. description: 商品代码
  13333. type: string
  13334. goodsid:
  13335. description: 商品ID
  13336. type: integer
  13337. goodsname:
  13338. description: 商品名称
  13339. type: string
  13340. orderid:
  13341. description: 委托单号
  13342. type: string
  13343. orderprice:
  13344. description: 委托价格
  13345. type: number
  13346. ordertime:
  13347. description: 委托时间
  13348. type: string
  13349. tradedate:
  13350. description: 交易日(yyyyMMdd)
  13351. type: string
  13352. required:
  13353. - ordertime
  13354. type: object
  13355. user.LoginQueryRsp:
  13356. properties:
  13357. areaRoles:
  13358. description: 所属角色信息
  13359. items:
  13360. $ref: '#/definitions/models.Arearole'
  13361. type: array
  13362. externalExchanges:
  13363. description: 外部交易所
  13364. items:
  13365. $ref: '#/definitions/models.Externalexchange'
  13366. type: array
  13367. goodsgroups:
  13368. description: 商品组
  13369. items:
  13370. $ref: '#/definitions/models.Goodsgroup'
  13371. type: array
  13372. loginAccount:
  13373. $ref: '#/definitions/models.Loginaccount'
  13374. description: 登录账号
  13375. type: object
  13376. markets:
  13377. description: 市场
  13378. items:
  13379. $ref: '#/definitions/models.Market'
  13380. type: array
  13381. systemParams:
  13382. description: 系统参数
  13383. items:
  13384. $ref: '#/definitions/models.Systemparam'
  13385. type: array
  13386. userAccount:
  13387. $ref: '#/definitions/models.Useraccount'
  13388. description: 用户账号
  13389. type: object
  13390. userInfo:
  13391. $ref: '#/definitions/models.Userinfo'
  13392. description: 用户信息
  13393. type: object
  13394. username:
  13395. description: 用户姓名
  13396. type: string
  13397. type: object
  13398. info:
  13399. contact: {}
  13400. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13401. license: {}
  13402. termsOfService: http://www.muchinfo.cn
  13403. title: MTP2.0 查询服务 API
  13404. version: "1.0"
  13405. paths:
  13406. /CPTrade/QueryCPTradeMyBidInfos:
  13407. get:
  13408. parameters:
  13409. - description: 资金账户
  13410. in: query
  13411. name: accountid
  13412. required: true
  13413. type: integer
  13414. - description: 预售市场ID
  13415. in: query
  13416. name: marketid
  13417. type: integer
  13418. - description: 预售商品ID
  13419. in: query
  13420. name: goodsid
  13421. type: integer
  13422. produces:
  13423. - application/json
  13424. responses:
  13425. "200":
  13426. description: OK
  13427. schema:
  13428. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13429. "500":
  13430. description: Internal Server Error
  13431. schema:
  13432. $ref: '#/definitions/app.Response'
  13433. security:
  13434. - ApiKeyAuth: []
  13435. summary: 查询产能预售我的出价信息
  13436. tags:
  13437. - 产能预售
  13438. /CPTrade/QueryCPTradeOrderDetail:
  13439. get:
  13440. parameters:
  13441. - description: 预售商品ID
  13442. in: query
  13443. name: goodsid
  13444. type: integer
  13445. - description: 预售市场ID
  13446. in: query
  13447. name: marketid
  13448. type: integer
  13449. - description: 预售商品ID列表 - 格式:1,2,3
  13450. in: query
  13451. name: goodsids
  13452. type: string
  13453. produces:
  13454. - application/json
  13455. responses:
  13456. "200":
  13457. description: OK
  13458. schema:
  13459. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13460. "500":
  13461. description: Internal Server Error
  13462. schema:
  13463. $ref: '#/definitions/app.Response'
  13464. security:
  13465. - ApiKeyAuth: []
  13466. summary: 查询产能预售委托单信息
  13467. tags:
  13468. - 产能预售
  13469. /CPTrade/QueryMyCPTradeGoods:
  13470. get:
  13471. parameters:
  13472. - description: 资金账户
  13473. in: query
  13474. name: accountid
  13475. required: true
  13476. type: integer
  13477. produces:
  13478. - application/json
  13479. responses:
  13480. "200":
  13481. description: OK
  13482. schema:
  13483. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13484. "500":
  13485. description: Internal Server Error
  13486. schema:
  13487. $ref: '#/definitions/app.Response'
  13488. security:
  13489. - ApiKeyAuth: []
  13490. summary: 查询我的预售信息
  13491. tags:
  13492. - 产能预售
  13493. /CPTrade/QueryPositionCancel:
  13494. get:
  13495. parameters:
  13496. - description: 账户ID
  13497. in: query
  13498. name: userid
  13499. required: true
  13500. type: integer
  13501. - description: 注销ID
  13502. in: query
  13503. name: cancelid
  13504. type: integer
  13505. - description: 资金账户ID
  13506. in: query
  13507. name: accountid
  13508. type: integer
  13509. produces:
  13510. - application/json
  13511. responses:
  13512. "200":
  13513. description: OK
  13514. schema:
  13515. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13516. "500":
  13517. description: Internal Server Error
  13518. schema:
  13519. $ref: '#/definitions/app.Response'
  13520. security:
  13521. - ApiKeyAuth: []
  13522. summary: 查询远期订单注销申请信息
  13523. tags:
  13524. - 产能预售
  13525. /CPTrade/QueryPreasleApply:
  13526. get:
  13527. parameters:
  13528. - description: 账户ID
  13529. in: query
  13530. name: userid
  13531. required: true
  13532. type: integer
  13533. - description: 申请ID
  13534. in: query
  13535. name: applyid
  13536. type: integer
  13537. - description: 资金账户ID
  13538. in: query
  13539. name: accountid
  13540. type: integer
  13541. produces:
  13542. - application/json
  13543. responses:
  13544. "200":
  13545. description: OK
  13546. schema:
  13547. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13548. "500":
  13549. description: Internal Server Error
  13550. schema:
  13551. $ref: '#/definitions/app.Response'
  13552. security:
  13553. - ApiKeyAuth: []
  13554. summary: 查询产能预售申请信息
  13555. tags:
  13556. - 产能预售
  13557. /CPTrade/QueryPresaleGoodsEx:
  13558. get:
  13559. parameters:
  13560. - description: 预售商品ID
  13561. in: query
  13562. name: goodsid
  13563. type: integer
  13564. - description: 预售市场ID
  13565. in: query
  13566. name: marketid
  13567. type: integer
  13568. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13569. in: query
  13570. name: presalemode
  13571. type: integer
  13572. - description: 预售商品ID列表 - 格式:1,2,3
  13573. in: query
  13574. name: goodsids
  13575. type: string
  13576. - description: 预售商品代码
  13577. in: query
  13578. name: goodscode
  13579. type: string
  13580. produces:
  13581. - application/json
  13582. responses:
  13583. "200":
  13584. description: OK
  13585. schema:
  13586. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13587. "500":
  13588. description: Internal Server Error
  13589. schema:
  13590. $ref: '#/definitions/app.Response'
  13591. security:
  13592. - ApiKeyAuth: []
  13593. summary: 查询产能预售商品扩展信息
  13594. tags:
  13595. - 产能预售
  13596. /CPTrade/QueryUserGoodsData:
  13597. get:
  13598. parameters:
  13599. - description: 资金账户ID
  13600. in: query
  13601. name: accountid
  13602. required: true
  13603. type: integer
  13604. produces:
  13605. - application/json
  13606. responses:
  13607. "200":
  13608. description: OK
  13609. schema:
  13610. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13611. "500":
  13612. description: Internal Server Error
  13613. schema:
  13614. $ref: '#/definitions/app.Response'
  13615. security:
  13616. - ApiKeyAuth: []
  13617. summary: 查询远期订单信息
  13618. tags:
  13619. - 产能预售
  13620. /Common/GetAllEnums:
  13621. get:
  13622. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13623. parameters:
  13624. - description: 起始自增ID
  13625. in: query
  13626. name: autoid
  13627. type: integer
  13628. produces:
  13629. - application/json
  13630. responses:
  13631. "200":
  13632. description: OK
  13633. schema:
  13634. $ref: '#/definitions/models.Enumdicitem'
  13635. "500":
  13636. description: Internal Server Error
  13637. schema:
  13638. $ref: '#/definitions/app.Response'
  13639. summary: 获取所有枚举信息
  13640. tags:
  13641. - 通用服务
  13642. /Common/GetClientMenus:
  13643. get:
  13644. parameters:
  13645. - description: 登录账号
  13646. in: query
  13647. name: loginID
  13648. required: true
  13649. type: integer
  13650. - description: 终端类型,0:PC 1:Mobile
  13651. in: query
  13652. name: clientType
  13653. type: integer
  13654. produces:
  13655. - application/json
  13656. responses:
  13657. "200":
  13658. description: OK
  13659. schema:
  13660. items:
  13661. $ref: '#/definitions/common.ClientMenu'
  13662. type: array
  13663. "500":
  13664. description: Internal Server Error
  13665. schema:
  13666. $ref: '#/definitions/app.Response'
  13667. security:
  13668. - ApiKeyAuth: []
  13669. summary: 获取交易端菜单
  13670. tags:
  13671. - 通用服务
  13672. /Common/GetDivisions:
  13673. get:
  13674. produces:
  13675. - application/json
  13676. responses:
  13677. "200":
  13678. description: OK
  13679. schema:
  13680. $ref: '#/definitions/models.Division'
  13681. "500":
  13682. description: Internal Server Error
  13683. schema:
  13684. $ref: '#/definitions/app.Response'
  13685. summary: 查询区域信息
  13686. tags:
  13687. - 通用服务
  13688. /Common/GetServerTime:
  13689. get:
  13690. produces:
  13691. - application/json
  13692. responses:
  13693. "200":
  13694. description: OK
  13695. schema:
  13696. $ref: '#/definitions/app.Response'
  13697. "500":
  13698. description: Internal Server Error
  13699. schema:
  13700. $ref: '#/definitions/app.Response'
  13701. summary: 获取服务器时间
  13702. tags:
  13703. - 通用服务
  13704. /Common/NoticeReaded:
  13705. post:
  13706. parameters:
  13707. - description: 登录账号
  13708. in: query
  13709. name: loginID
  13710. required: true
  13711. type: integer
  13712. - description: 通知公告ID
  13713. in: query
  13714. name: noticeID
  13715. required: true
  13716. type: integer
  13717. produces:
  13718. - application/json
  13719. responses:
  13720. "200":
  13721. description: OK
  13722. schema:
  13723. $ref: '#/definitions/app.Response'
  13724. "500":
  13725. description: Internal Server Error
  13726. schema:
  13727. $ref: '#/definitions/app.Response'
  13728. security:
  13729. - ApiKeyAuth: []
  13730. summary: 通知公告设置已读请求
  13731. tags:
  13732. - 通用服务
  13733. /Common/QueryErrorInfos:
  13734. get:
  13735. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13736. parameters:
  13737. - description: 起始行号前索引
  13738. in: query
  13739. name: rowNumber
  13740. type: string
  13741. produces:
  13742. - application/json
  13743. responses:
  13744. "200":
  13745. description: OK
  13746. schema:
  13747. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13748. "500":
  13749. description: Internal Server Error
  13750. schema:
  13751. $ref: '#/definitions/app.Response'
  13752. summary: 获取数据库错误信息
  13753. tags:
  13754. - 通用服务
  13755. /Common/QueryImageConfigs:
  13756. get:
  13757. parameters:
  13758. - description: 类型 - 1:App首页轮播 2:我的
  13759. in: query
  13760. name: imageType
  13761. type: integer
  13762. produces:
  13763. - application/json
  13764. responses:
  13765. "200":
  13766. description: OK
  13767. schema:
  13768. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13769. "500":
  13770. description: Internal Server Error
  13771. schema:
  13772. $ref: '#/definitions/app.Response'
  13773. summary: 查询轮播图配置信息
  13774. tags:
  13775. - 通用服务
  13776. /Common/QueryNotice:
  13777. get:
  13778. parameters:
  13779. - description: 页码
  13780. in: query
  13781. name: page
  13782. type: integer
  13783. - description: 每页条数
  13784. in: query
  13785. name: pagesize
  13786. type: integer
  13787. - description: 登录账号
  13788. in: query
  13789. name: loginID
  13790. required: true
  13791. type: integer
  13792. - description: 消息类型 - 1:公告通知 2:系统消息
  13793. in: query
  13794. name: msgType
  13795. type: integer
  13796. - description: 是否只获取未读信息
  13797. in: query
  13798. name: onlyUnRead
  13799. type: boolean
  13800. - description: 自增ID,传入后会返回这个ID后面的记录
  13801. in: query
  13802. name: lastID
  13803. type: integer
  13804. produces:
  13805. - application/json
  13806. responses:
  13807. "200":
  13808. description: OK
  13809. schema:
  13810. $ref: '#/definitions/common.QueryNoticeRsp'
  13811. "500":
  13812. description: Internal Server Error
  13813. schema:
  13814. $ref: '#/definitions/app.Response'
  13815. security:
  13816. - ApiKeyAuth: []
  13817. summary: 通知公告系统消息查询
  13818. tags:
  13819. - 通用服务
  13820. /Common/QueryProvincesAndCities:
  13821. get:
  13822. parameters:
  13823. - description: 省ID
  13824. in: query
  13825. name: provinceID
  13826. type: integer
  13827. produces:
  13828. - application/json
  13829. responses:
  13830. "200":
  13831. description: OK
  13832. schema:
  13833. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13834. "500":
  13835. description: Internal Server Error
  13836. schema:
  13837. $ref: '#/definitions/app.Response'
  13838. summary: 查询省市信息(不包括区)
  13839. tags:
  13840. - 通用服务
  13841. /Common/QueryTableDefine:
  13842. get:
  13843. parameters:
  13844. - description: 表key
  13845. in: query
  13846. name: tableKey
  13847. type: string
  13848. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13849. in: query
  13850. name: tableType
  13851. type: integer
  13852. produces:
  13853. - application/json
  13854. responses:
  13855. "200":
  13856. description: OK
  13857. schema:
  13858. $ref: '#/definitions/common.QueryTableDefineRsp'
  13859. "500":
  13860. description: Internal Server Error
  13861. schema:
  13862. $ref: '#/definitions/app.Response'
  13863. summary: 查询交易端列表头信息
  13864. tags:
  13865. - 通用服务
  13866. /Common/QueryTraderMenu:
  13867. get:
  13868. parameters:
  13869. - description: 登录账号
  13870. in: query
  13871. name: loginid
  13872. required: true
  13873. type: integer
  13874. produces:
  13875. - application/json
  13876. responses:
  13877. "200":
  13878. description: OK
  13879. schema:
  13880. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13881. "500":
  13882. description: Internal Server Error
  13883. schema:
  13884. $ref: '#/definitions/app.Response'
  13885. summary: 查询交易端菜单
  13886. tags:
  13887. - 通用服务
  13888. /Delivery/QueryDeliveryRelation:
  13889. get:
  13890. parameters:
  13891. - description: 商品ID
  13892. in: query
  13893. name: goodsid
  13894. type: integer
  13895. - description: 品种ID
  13896. in: query
  13897. name: deliverygoodsid
  13898. type: integer
  13899. - description: 市场ID
  13900. in: query
  13901. name: marketid
  13902. type: integer
  13903. produces:
  13904. - application/json
  13905. responses:
  13906. "200":
  13907. description: OK
  13908. schema:
  13909. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13910. "500":
  13911. description: Internal Server Error
  13912. schema:
  13913. $ref: '#/definitions/app.Response'
  13914. security:
  13915. - ApiKeyAuth: []
  13916. summary: 查询商品交割关系表
  13917. tags:
  13918. - 交割服务
  13919. /Ermcp/GetErmcpGoods:
  13920. get:
  13921. parameters:
  13922. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13923. in: query
  13924. name: lastUpdateTime
  13925. type: string
  13926. produces:
  13927. - application/json
  13928. responses:
  13929. "200":
  13930. description: OK
  13931. schema:
  13932. $ref: '#/definitions/models.ErmcpGoods'
  13933. "500":
  13934. description: Internal Server Error
  13935. schema:
  13936. $ref: '#/definitions/app.Response'
  13937. security:
  13938. - ApiKeyAuth: []
  13939. summary: 查询企业风管期货商品信息
  13940. tags:
  13941. - 企业风险管理(app)
  13942. /Ermcp/GetErmcpGoodsSortByPosition:
  13943. get:
  13944. parameters:
  13945. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13946. in: query
  13947. name: sortIndex
  13948. type: string
  13949. produces:
  13950. - application/json
  13951. responses:
  13952. "200":
  13953. description: OK
  13954. schema:
  13955. $ref: '#/definitions/models.Goodssortbypreposition'
  13956. "500":
  13957. description: Internal Server Error
  13958. schema:
  13959. $ref: '#/definitions/app.Response'
  13960. security:
  13961. - ApiKeyAuth: []
  13962. summary: 查询企业风管期货主力、次主力商品信息
  13963. tags:
  13964. - 企业风险管理(app)
  13965. /Ermcp/GetErmcpOutAccountStatus:
  13966. get:
  13967. parameters:
  13968. - description: 登录账号
  13969. in: query
  13970. name: loginID
  13971. required: true
  13972. type: integer
  13973. produces:
  13974. - application/json
  13975. responses:
  13976. "200":
  13977. description: OK
  13978. schema:
  13979. $ref: '#/definitions/models.Hedgemarketopenlog'
  13980. "500":
  13981. description: Internal Server Error
  13982. schema:
  13983. $ref: '#/definitions/app.Response'
  13984. security:
  13985. - ApiKeyAuth: []
  13986. summary: 获取目标登录账号当前对冲账号在线状态
  13987. tags:
  13988. - 企业风险管理(app)
  13989. /Ermcp/GetErmcpRoleFuncMenuLists:
  13990. get:
  13991. parameters:
  13992. - description: 登录账号
  13993. in: query
  13994. name: loginID
  13995. required: true
  13996. type: integer
  13997. produces:
  13998. - application/json
  13999. responses:
  14000. "200":
  14001. description: OK
  14002. schema:
  14003. $ref: '#/definitions/models.Funcmenulist'
  14004. "500":
  14005. description: Internal Server Error
  14006. schema:
  14007. $ref: '#/definitions/app.Response'
  14008. security:
  14009. - ApiKeyAuth: []
  14010. summary: 获取企业风管终端权限
  14011. tags:
  14012. - 企业风险管理(app)
  14013. /Ermcp/QueryAccMgrBizGroupSet:
  14014. get:
  14015. parameters:
  14016. - description: 用户ID
  14017. in: query
  14018. name: userid
  14019. required: true
  14020. type: integer
  14021. - description: 现货商品id
  14022. in: query
  14023. name: deliverygoodsid
  14024. type: integer
  14025. produces:
  14026. - application/json
  14027. responses:
  14028. "200":
  14029. description: OK
  14030. schema:
  14031. items:
  14032. $ref: '#/definitions/models.ErmcpBizGroupEx'
  14033. type: array
  14034. "500":
  14035. description: Internal Server Error
  14036. schema:
  14037. $ref: '#/definitions/app.Response'
  14038. security:
  14039. - ApiKeyAuth: []
  14040. summary: 查询业务类型分组(账户管理/账户设置)
  14041. tags:
  14042. - 企业风险管理(app)
  14043. /Ermcp/QueryAccMgrLoginUser:
  14044. get:
  14045. parameters:
  14046. - description: 用户ID
  14047. in: query
  14048. name: userid
  14049. required: true
  14050. type: integer
  14051. - description: 用户类型 2-机构 7-企业成员
  14052. in: query
  14053. name: usertype
  14054. type: integer
  14055. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  14056. in: query
  14057. name: querytype
  14058. required: true
  14059. type: integer
  14060. produces:
  14061. - application/json
  14062. responses:
  14063. "200":
  14064. description: OK
  14065. schema:
  14066. items:
  14067. $ref: '#/definitions/models.ErmcpLoginUserEx'
  14068. type: array
  14069. "500":
  14070. description: Internal Server Error
  14071. schema:
  14072. $ref: '#/definitions/app.Response'
  14073. security:
  14074. - ApiKeyAuth: []
  14075. summary: 查询账户管理登录账号(账户管理/登录账号)
  14076. tags:
  14077. - 企业风险管理(app)
  14078. /Ermcp/QueryAccMgrMainAccountInfo:
  14079. get:
  14080. parameters:
  14081. - description: 用户ID
  14082. in: query
  14083. name: userid
  14084. type: integer
  14085. - description: 主账号id
  14086. in: query
  14087. name: accountid
  14088. type: integer
  14089. produces:
  14090. - application/json
  14091. responses:
  14092. "200":
  14093. description: OK
  14094. schema:
  14095. items:
  14096. $ref: '#/definitions/models.MainAccountInfo'
  14097. type: array
  14098. "500":
  14099. description: Internal Server Error
  14100. schema:
  14101. $ref: '#/definitions/app.Response'
  14102. security:
  14103. - ApiKeyAuth: []
  14104. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  14105. tags:
  14106. - 企业风险管理(app)
  14107. /Ermcp/QueryAccMgrRole:
  14108. get:
  14109. parameters:
  14110. - description: 用户ID
  14111. in: query
  14112. name: userid
  14113. required: true
  14114. type: integer
  14115. produces:
  14116. - application/json
  14117. responses:
  14118. "200":
  14119. description: OK
  14120. schema:
  14121. items:
  14122. $ref: '#/definitions/models.ErmcpRole'
  14123. type: array
  14124. "500":
  14125. description: Internal Server Error
  14126. schema:
  14127. $ref: '#/definitions/app.Response'
  14128. security:
  14129. - ApiKeyAuth: []
  14130. summary: 查询账户管理角色设置(账户管理/角色设置)
  14131. tags:
  14132. - 企业风险管理(app)
  14133. /Ermcp/QueryAccMgrRoleMenu:
  14134. get:
  14135. parameters:
  14136. - description: 用户ID
  14137. in: query
  14138. name: userid
  14139. required: true
  14140. type: integer
  14141. - description: 角色id(可多个,逗号隔开)
  14142. in: query
  14143. name: roleid
  14144. type: string
  14145. produces:
  14146. - application/json
  14147. responses:
  14148. "200":
  14149. description: OK
  14150. schema:
  14151. items:
  14152. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  14153. type: array
  14154. "500":
  14155. description: Internal Server Error
  14156. schema:
  14157. $ref: '#/definitions/app.Response'
  14158. security:
  14159. - ApiKeyAuth: []
  14160. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  14161. tags:
  14162. - 企业风险管理(app)
  14163. /Ermcp/QueryAccMgrTaAccountInfo:
  14164. get:
  14165. parameters:
  14166. - description: 用户ID
  14167. in: query
  14168. name: userid
  14169. required: true
  14170. type: integer
  14171. - description: 账号id
  14172. in: query
  14173. name: accountid
  14174. type: integer
  14175. produces:
  14176. - application/json
  14177. responses:
  14178. "200":
  14179. description: OK
  14180. schema:
  14181. items:
  14182. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  14183. type: array
  14184. "500":
  14185. description: Internal Server Error
  14186. schema:
  14187. $ref: '#/definitions/app.Response'
  14188. security:
  14189. - ApiKeyAuth: []
  14190. summary: 查询账户管理授信(账户管理/账户设置/授信)
  14191. tags:
  14192. - 企业风险管理(app)
  14193. /Ermcp/QueryAccMgrTaaccount:
  14194. get:
  14195. parameters:
  14196. - description: 用户ID
  14197. in: query
  14198. name: userid
  14199. required: true
  14200. type: integer
  14201. produces:
  14202. - application/json
  14203. responses:
  14204. "200":
  14205. description: OK
  14206. schema:
  14207. items:
  14208. $ref: '#/definitions/models.ErmcpTaAccountEx'
  14209. type: array
  14210. "500":
  14211. description: Internal Server Error
  14212. schema:
  14213. $ref: '#/definitions/app.Response'
  14214. security:
  14215. - ApiKeyAuth: []
  14216. summary: 查询账户管理期货账号(账户管理/期货账号)
  14217. tags:
  14218. - 企业风险管理(app)
  14219. /Ermcp/QueryAvaildGoodsGroup:
  14220. get:
  14221. parameters:
  14222. - description: 所属机构ID
  14223. in: query
  14224. name: userid
  14225. required: true
  14226. type: integer
  14227. produces:
  14228. - application/json
  14229. responses:
  14230. "200":
  14231. description: OK
  14232. schema:
  14233. items:
  14234. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  14235. type: array
  14236. "500":
  14237. description: Internal Server Error
  14238. schema:
  14239. $ref: '#/definitions/app.Response'
  14240. security:
  14241. - ApiKeyAuth: []
  14242. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  14243. tags:
  14244. - 企业风险管理(app)
  14245. /Ermcp/QueryBusinessDj:
  14246. get:
  14247. parameters:
  14248. - description: 用户ID
  14249. in: query
  14250. name: UserId
  14251. required: true
  14252. type: integer
  14253. - description: 用户类型 2-机构 7-企业成员
  14254. in: query
  14255. name: usertype
  14256. type: integer
  14257. - description: 现货合同ID, 不填则查所有
  14258. in: query
  14259. name: relatedid
  14260. type: string
  14261. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14262. in: query
  14263. name: applystatus
  14264. type: string
  14265. produces:
  14266. - application/json
  14267. responses:
  14268. "200":
  14269. description: OK
  14270. schema:
  14271. items:
  14272. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  14273. type: array
  14274. "500":
  14275. description: Internal Server Error
  14276. schema:
  14277. $ref: '#/definitions/app.Response'
  14278. security:
  14279. - ApiKeyAuth: []
  14280. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  14281. tags:
  14282. - 企业风险管理(app)
  14283. /Ermcp/QueryBusinessFp:
  14284. get:
  14285. parameters:
  14286. - description: 用户ID
  14287. in: query
  14288. name: UserId
  14289. required: true
  14290. type: integer
  14291. - description: 用户类型 2-机构 7-企业成员
  14292. in: query
  14293. name: usertype
  14294. type: integer
  14295. - description: 现货合同ID, 不填则查所有
  14296. in: query
  14297. name: relatedid
  14298. type: string
  14299. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14300. in: query
  14301. name: applystatus
  14302. type: string
  14303. produces:
  14304. - application/json
  14305. responses:
  14306. "200":
  14307. description: OK
  14308. schema:
  14309. items:
  14310. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  14311. type: array
  14312. "500":
  14313. description: Internal Server Error
  14314. schema:
  14315. $ref: '#/definitions/app.Response'
  14316. security:
  14317. - ApiKeyAuth: []
  14318. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  14319. tags:
  14320. - 企业风险管理(app)
  14321. /Ermcp/QueryBusinessJs:
  14322. get:
  14323. parameters:
  14324. - description: 用户ID
  14325. in: query
  14326. name: UserId
  14327. required: true
  14328. type: integer
  14329. - description: 用户类型 2-机构 7-企业成员
  14330. in: query
  14331. name: usertype
  14332. type: integer
  14333. - description: 现货合同ID, 不填则查所有
  14334. in: query
  14335. name: relatedid
  14336. type: string
  14337. - description: 操作申请id
  14338. in: query
  14339. name: operateapplyid
  14340. type: string
  14341. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14342. in: query
  14343. name: applystatus
  14344. type: string
  14345. produces:
  14346. - application/json
  14347. responses:
  14348. "200":
  14349. description: OK
  14350. schema:
  14351. items:
  14352. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  14353. type: array
  14354. "500":
  14355. description: Internal Server Error
  14356. schema:
  14357. $ref: '#/definitions/app.Response'
  14358. security:
  14359. - ApiKeyAuth: []
  14360. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  14361. tags:
  14362. - 企业风险管理(app)
  14363. /Ermcp/QueryBusinessJsEx:
  14364. get:
  14365. parameters:
  14366. - description: 用户ID
  14367. in: query
  14368. name: UserId
  14369. required: true
  14370. type: integer
  14371. - description: 用户类型 2-机构 7-企业成员
  14372. in: query
  14373. name: usertype
  14374. type: integer
  14375. - description: 现货合同ID, 不填则查所有
  14376. in: query
  14377. name: relatedid
  14378. type: string
  14379. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14380. in: query
  14381. name: applystatus
  14382. type: string
  14383. produces:
  14384. - application/json
  14385. responses:
  14386. "200":
  14387. description: OK
  14388. schema:
  14389. items:
  14390. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14391. type: array
  14392. "500":
  14393. description: Internal Server Error
  14394. schema:
  14395. $ref: '#/definitions/app.Response'
  14396. security:
  14397. - ApiKeyAuth: []
  14398. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14399. tags:
  14400. - 企业风险管理(app)
  14401. /Ermcp/QueryBusinessKx:
  14402. get:
  14403. parameters:
  14404. - description: 用户ID
  14405. in: query
  14406. name: UserId
  14407. required: true
  14408. type: integer
  14409. - description: 用户类型 2-机构 7-企业成员
  14410. in: query
  14411. name: usertype
  14412. type: integer
  14413. - description: 现货合同ID, 不填则查所有
  14414. in: query
  14415. name: relatedid
  14416. type: string
  14417. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14418. in: query
  14419. name: applystatus
  14420. type: string
  14421. produces:
  14422. - application/json
  14423. responses:
  14424. "200":
  14425. description: OK
  14426. schema:
  14427. items:
  14428. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14429. type: array
  14430. "500":
  14431. description: Internal Server Error
  14432. schema:
  14433. $ref: '#/definitions/app.Response'
  14434. security:
  14435. - ApiKeyAuth: []
  14436. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14437. tags:
  14438. - 企业风险管理(app)
  14439. /Ermcp/QueryChangeLog:
  14440. get:
  14441. parameters:
  14442. - description: 合同ID
  14443. in: query
  14444. name: RelatedId
  14445. required: true
  14446. type: string
  14447. produces:
  14448. - application/json
  14449. responses:
  14450. "200":
  14451. description: OK
  14452. schema:
  14453. items:
  14454. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14455. type: array
  14456. "500":
  14457. description: Internal Server Error
  14458. schema:
  14459. $ref: '#/definitions/app.Response'
  14460. security:
  14461. - ApiKeyAuth: []
  14462. summary: 查询变更记录
  14463. tags:
  14464. - 企业风险管理(app)
  14465. /Ermcp/QueryErmcpHisOrderDetails:
  14466. get:
  14467. parameters:
  14468. - description: 资金账户ID
  14469. in: query
  14470. name: accountID
  14471. required: true
  14472. type: integer
  14473. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14474. in: query
  14475. name: startDate
  14476. type: string
  14477. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14478. in: query
  14479. name: endDate
  14480. type: string
  14481. produces:
  14482. - application/json
  14483. responses:
  14484. "200":
  14485. description: OK
  14486. schema:
  14487. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14488. "500":
  14489. description: Internal Server Error
  14490. schema:
  14491. $ref: '#/definitions/app.Response'
  14492. security:
  14493. - ApiKeyAuth: []
  14494. summary: 获取企业风管期货历史委托单信息
  14495. tags:
  14496. - 企业风险管理(app)
  14497. /Ermcp/QueryErmcpHisTradeDetails:
  14498. get:
  14499. parameters:
  14500. - description: 资金账户ID
  14501. in: query
  14502. name: accountID
  14503. required: true
  14504. type: integer
  14505. - description: 商品ID
  14506. in: query
  14507. name: goodsID
  14508. type: integer
  14509. - description: 买卖方向,0:买 1:卖
  14510. in: query
  14511. name: buyOrSell
  14512. type: integer
  14513. - description: 关联委托单号
  14514. in: query
  14515. name: orderID
  14516. type: integer
  14517. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14518. in: query
  14519. name: startDate
  14520. type: string
  14521. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14522. in: query
  14523. name: endDate
  14524. type: string
  14525. produces:
  14526. - application/json
  14527. responses:
  14528. "200":
  14529. description: OK
  14530. schema:
  14531. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14532. "500":
  14533. description: Internal Server Error
  14534. schema:
  14535. $ref: '#/definitions/app.Response'
  14536. security:
  14537. - ApiKeyAuth: []
  14538. summary: 获取企业风管期货历史成交单信息
  14539. tags:
  14540. - 企业风险管理(app)
  14541. /Ermcp/QueryErmcpInnerHolderDetails:
  14542. get:
  14543. parameters:
  14544. - description: 资金账户ID
  14545. in: query
  14546. name: accountID
  14547. required: true
  14548. type: integer
  14549. - description: 商品ID
  14550. in: query
  14551. name: goodsID
  14552. type: integer
  14553. - description: 买卖方向,0:买 1:卖
  14554. in: query
  14555. name: buyOrSell
  14556. type: integer
  14557. produces:
  14558. - application/json
  14559. responses:
  14560. "200":
  14561. description: OK
  14562. schema:
  14563. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14564. "500":
  14565. description: Internal Server Error
  14566. schema:
  14567. $ref: '#/definitions/app.Response'
  14568. security:
  14569. - ApiKeyAuth: []
  14570. summary: 获取企业风管期货内部持仓单信息
  14571. tags:
  14572. - 企业风险管理(app)
  14573. /Ermcp/QueryErmcpOrderDetails:
  14574. get:
  14575. parameters:
  14576. - description: 资金账户ID
  14577. in: query
  14578. name: accountID
  14579. required: true
  14580. type: integer
  14581. produces:
  14582. - application/json
  14583. responses:
  14584. "200":
  14585. description: OK
  14586. schema:
  14587. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14588. "500":
  14589. description: Internal Server Error
  14590. schema:
  14591. $ref: '#/definitions/app.Response'
  14592. security:
  14593. - ApiKeyAuth: []
  14594. summary: 获取企业风管期货委托单信息
  14595. tags:
  14596. - 企业风险管理(app)
  14597. /Ermcp/QueryErmcpTradeDetails:
  14598. get:
  14599. parameters:
  14600. - description: 资金账户ID
  14601. in: query
  14602. name: accountID
  14603. required: true
  14604. type: integer
  14605. - description: 商品ID
  14606. in: query
  14607. name: goodsID
  14608. type: integer
  14609. - description: 买卖方向,0:买 1:卖
  14610. in: query
  14611. name: buyOrSell
  14612. type: integer
  14613. - description: 关联委托单号
  14614. in: query
  14615. name: orderID
  14616. type: integer
  14617. produces:
  14618. - application/json
  14619. responses:
  14620. "200":
  14621. description: OK
  14622. schema:
  14623. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14624. "500":
  14625. description: Internal Server Error
  14626. schema:
  14627. $ref: '#/definitions/app.Response'
  14628. security:
  14629. - ApiKeyAuth: []
  14630. summary: 获取企业风管期货成交单信息
  14631. tags:
  14632. - 企业风险管理(app)
  14633. /Ermcp/QueryErmcpTradePosition:
  14634. get:
  14635. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14636. parameters:
  14637. - description: 资金账户ID
  14638. in: query
  14639. name: accountID
  14640. required: true
  14641. type: integer
  14642. - description: 所属市场ID
  14643. in: query
  14644. name: marketID
  14645. type: integer
  14646. produces:
  14647. - application/json
  14648. responses:
  14649. "200":
  14650. description: OK
  14651. schema:
  14652. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14653. "500":
  14654. description: Internal Server Error
  14655. schema:
  14656. $ref: '#/definitions/app.Response'
  14657. security:
  14658. - ApiKeyAuth: []
  14659. summary: 获取企业风管期货持仓头寸信息
  14660. tags:
  14661. - 企业风险管理(app)
  14662. /Ermcp/QueryExposureDetail:
  14663. get:
  14664. parameters:
  14665. - description: 所属机构ID
  14666. in: query
  14667. name: areaUserId
  14668. required: true
  14669. type: integer
  14670. - description: 套保商品
  14671. in: query
  14672. name: middleGoodsId
  14673. required: true
  14674. type: integer
  14675. produces:
  14676. - application/json
  14677. responses:
  14678. "200":
  14679. description: OK
  14680. schema:
  14681. items:
  14682. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14683. type: array
  14684. "500":
  14685. description: Internal Server Error
  14686. schema:
  14687. $ref: '#/definitions/app.Response'
  14688. security:
  14689. - ApiKeyAuth: []
  14690. summary: 查询敞口现货明细
  14691. tags:
  14692. - 企业风险管理(app)
  14693. /Ermcp/QueryExposureGoods:
  14694. get:
  14695. parameters:
  14696. - description: 套保商品id
  14697. in: query
  14698. name: middlegoodsid
  14699. required: true
  14700. type: integer
  14701. produces:
  14702. - application/json
  14703. responses:
  14704. "200":
  14705. description: OK
  14706. schema:
  14707. items:
  14708. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  14709. type: array
  14710. "500":
  14711. description: Internal Server Error
  14712. schema:
  14713. $ref: '#/definitions/app.Response'
  14714. security:
  14715. - ApiKeyAuth: []
  14716. summary: 查询敞口主力合约
  14717. tags:
  14718. - 企业风险管理(app)
  14719. /Ermcp/QueryExposureHedgePosition:
  14720. get:
  14721. parameters:
  14722. - description: 用户id
  14723. in: query
  14724. name: userid
  14725. required: true
  14726. type: integer
  14727. produces:
  14728. - application/json
  14729. responses:
  14730. "200":
  14731. description: OK
  14732. schema:
  14733. items:
  14734. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14735. type: array
  14736. "500":
  14737. description: Internal Server Error
  14738. schema:
  14739. $ref: '#/definitions/app.Response'
  14740. security:
  14741. - ApiKeyAuth: []
  14742. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14743. tags:
  14744. - 企业风险管理(app)
  14745. /Ermcp/QueryExposureHedgePositionDetail:
  14746. get:
  14747. parameters:
  14748. - description: 所属机构ID
  14749. in: query
  14750. name: userid
  14751. required: true
  14752. type: integer
  14753. - description: 商品id
  14754. in: query
  14755. name: goodsId
  14756. required: true
  14757. type: integer
  14758. produces:
  14759. - application/json
  14760. responses:
  14761. "200":
  14762. description: OK
  14763. schema:
  14764. items:
  14765. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14766. type: array
  14767. "500":
  14768. description: Internal Server Error
  14769. schema:
  14770. $ref: '#/definitions/app.Response'
  14771. security:
  14772. - ApiKeyAuth: []
  14773. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14774. tags:
  14775. - 企业风险管理(app)
  14776. /Ermcp/QueryExposureSpot:
  14777. get:
  14778. parameters:
  14779. - description: 所属机构ID
  14780. in: query
  14781. name: areaUserId
  14782. required: true
  14783. type: integer
  14784. produces:
  14785. - application/json
  14786. responses:
  14787. "200":
  14788. description: OK
  14789. schema:
  14790. items:
  14791. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14792. type: array
  14793. "500":
  14794. description: Internal Server Error
  14795. schema:
  14796. $ref: '#/definitions/app.Response'
  14797. security:
  14798. - ApiKeyAuth: []
  14799. summary: 查询敞口现货头寸(敞口/现货头寸)
  14800. tags:
  14801. - 企业风险管理(app)
  14802. /Ermcp/QueryExposureSpotDetail:
  14803. get:
  14804. parameters:
  14805. - description: 所属机构ID
  14806. in: query
  14807. name: areaUserId
  14808. required: true
  14809. type: integer
  14810. - description: 现货品种ID
  14811. in: query
  14812. name: wrstandardId
  14813. required: true
  14814. type: integer
  14815. produces:
  14816. - application/json
  14817. responses:
  14818. "200":
  14819. description: OK
  14820. schema:
  14821. items:
  14822. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14823. type: array
  14824. "500":
  14825. description: Internal Server Error
  14826. schema:
  14827. $ref: '#/definitions/app.Response'
  14828. security:
  14829. - ApiKeyAuth: []
  14830. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14831. tags:
  14832. - 企业风险管理(app)
  14833. /Ermcp/QueryFuturesCompany:
  14834. get:
  14835. produces:
  14836. - application/json
  14837. responses:
  14838. "200":
  14839. description: OK
  14840. schema:
  14841. items:
  14842. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14843. type: array
  14844. "500":
  14845. description: Internal Server Error
  14846. schema:
  14847. $ref: '#/definitions/app.Response'
  14848. security:
  14849. - ApiKeyAuth: []
  14850. summary: 查询期货公司
  14851. tags:
  14852. - 企业风险管理(app)
  14853. /Ermcp/QueryGGConvertConfig:
  14854. get:
  14855. parameters:
  14856. - description: 品种id(不填则查所有)
  14857. in: query
  14858. name: goodsgroupid
  14859. type: integer
  14860. produces:
  14861. - application/json
  14862. responses:
  14863. "200":
  14864. description: OK
  14865. schema:
  14866. items:
  14867. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14868. type: array
  14869. "500":
  14870. description: Internal Server Error
  14871. schema:
  14872. $ref: '#/definitions/app.Response'
  14873. security:
  14874. - ApiKeyAuth: []
  14875. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14876. tags:
  14877. - 企业风险管理(app)
  14878. /Ermcp/QueryGoodsBrand:
  14879. get:
  14880. parameters:
  14881. - description: 用户ID
  14882. in: query
  14883. name: userid
  14884. required: true
  14885. type: integer
  14886. - description: 现货商品ID
  14887. in: query
  14888. name: wrstandardid
  14889. type: integer
  14890. produces:
  14891. - application/json
  14892. responses:
  14893. "200":
  14894. description: OK
  14895. schema:
  14896. items:
  14897. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14898. type: array
  14899. "500":
  14900. description: Internal Server Error
  14901. schema:
  14902. $ref: '#/definitions/app.Response'
  14903. security:
  14904. - ApiKeyAuth: []
  14905. summary: 查询商品品牌
  14906. tags:
  14907. - 企业风险管理(app)
  14908. /Ermcp/QueryGoodsModel:
  14909. get:
  14910. parameters:
  14911. - description: 用户ID
  14912. in: query
  14913. name: userid
  14914. required: true
  14915. type: integer
  14916. produces:
  14917. - application/json
  14918. responses:
  14919. "200":
  14920. description: OK
  14921. schema:
  14922. items:
  14923. $ref: '#/definitions/models.ErmcpGoodsModel'
  14924. type: array
  14925. "500":
  14926. description: Internal Server Error
  14927. schema:
  14928. $ref: '#/definitions/app.Response'
  14929. security:
  14930. - ApiKeyAuth: []
  14931. summary: 查询商品型号
  14932. tags:
  14933. - 企业风险管理(app)
  14934. /Ermcp/QueryHisExposure:
  14935. get:
  14936. parameters:
  14937. - description: 用户id
  14938. in: query
  14939. name: userid
  14940. required: true
  14941. type: integer
  14942. - description: 每个品种记录数
  14943. in: query
  14944. name: lastNum
  14945. required: true
  14946. type: integer
  14947. produces:
  14948. - application/json
  14949. responses:
  14950. "200":
  14951. description: OK
  14952. schema:
  14953. items:
  14954. $ref: '#/definitions/ermcp.HisExposureRsp'
  14955. type: array
  14956. "500":
  14957. description: Internal Server Error
  14958. schema:
  14959. $ref: '#/definitions/app.Response'
  14960. security:
  14961. - ApiKeyAuth: []
  14962. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14963. tags:
  14964. - 企业风险管理(app)
  14965. /Ermcp/QueryMiddleGoods:
  14966. get:
  14967. parameters:
  14968. - description: 所属机构ID
  14969. in: query
  14970. name: userid
  14971. required: true
  14972. type: integer
  14973. - description: 状态 0-停用 1-正常
  14974. in: query
  14975. name: status
  14976. required: true
  14977. type: integer
  14978. produces:
  14979. - application/json
  14980. responses:
  14981. "200":
  14982. description: OK
  14983. schema:
  14984. items:
  14985. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14986. type: array
  14987. "500":
  14988. description: Internal Server Error
  14989. schema:
  14990. $ref: '#/definitions/app.Response'
  14991. security:
  14992. - ApiKeyAuth: []
  14993. summary: 查询套保品种(菜单:套保品种)
  14994. tags:
  14995. - 企业风险管理(app)
  14996. /Ermcp/QueryMiddleGoodsChangeLog:
  14997. get:
  14998. parameters:
  14999. - description: 所属机构ID
  15000. in: query
  15001. name: userid
  15002. required: true
  15003. type: integer
  15004. - description: 套保品种id
  15005. in: query
  15006. name: middlegoodsid
  15007. required: true
  15008. type: integer
  15009. produces:
  15010. - application/json
  15011. responses:
  15012. "200":
  15013. description: OK
  15014. schema:
  15015. items:
  15016. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  15017. type: array
  15018. "500":
  15019. description: Internal Server Error
  15020. schema:
  15021. $ref: '#/definitions/app.Response'
  15022. security:
  15023. - ApiKeyAuth: []
  15024. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  15025. tags:
  15026. - 企业风险管理(app)
  15027. /Ermcp/QueryMiddleGoodsDetail:
  15028. get:
  15029. parameters:
  15030. - description: 所属机构ID
  15031. in: query
  15032. name: userid
  15033. required: true
  15034. type: integer
  15035. - description: 套保品种id
  15036. in: query
  15037. name: middlegoodsid
  15038. type: integer
  15039. produces:
  15040. - application/json
  15041. responses:
  15042. "200":
  15043. description: OK
  15044. schema:
  15045. items:
  15046. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  15047. type: array
  15048. "500":
  15049. description: Internal Server Error
  15050. schema:
  15051. $ref: '#/definitions/app.Response'
  15052. security:
  15053. - ApiKeyAuth: []
  15054. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  15055. tags:
  15056. - 企业风险管理(app)
  15057. /Ermcp/QueryPendingAuditInfo:
  15058. get:
  15059. parameters:
  15060. - description: 用户ID
  15061. in: query
  15062. name: UserId
  15063. required: true
  15064. type: integer
  15065. produces:
  15066. - application/json
  15067. responses:
  15068. "200":
  15069. description: OK
  15070. schema:
  15071. items:
  15072. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  15073. type: array
  15074. "500":
  15075. description: Internal Server Error
  15076. schema:
  15077. $ref: '#/definitions/app.Response'
  15078. security:
  15079. - ApiKeyAuth: []
  15080. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  15081. tags:
  15082. - 企业风险管理(app)
  15083. /Ermcp/QueryRealtimeExposure:
  15084. get:
  15085. parameters:
  15086. - description: 所属机构ID
  15087. in: query
  15088. name: userid
  15089. required: true
  15090. type: integer
  15091. produces:
  15092. - application/json
  15093. responses:
  15094. "200":
  15095. description: OK
  15096. schema:
  15097. items:
  15098. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  15099. type: array
  15100. "500":
  15101. description: Internal Server Error
  15102. schema:
  15103. $ref: '#/definitions/app.Response'
  15104. security:
  15105. - ApiKeyAuth: []
  15106. summary: 查询实时敞口
  15107. tags:
  15108. - 企业风险管理(app)
  15109. /Ermcp/QueryRealtimeExposurePosition:
  15110. get:
  15111. parameters:
  15112. - description: 用户id
  15113. in: query
  15114. name: userid
  15115. required: true
  15116. type: integer
  15117. - description: 套保商品ID
  15118. in: query
  15119. name: middleGoodsId
  15120. required: true
  15121. type: integer
  15122. produces:
  15123. - application/json
  15124. responses:
  15125. "200":
  15126. description: OK
  15127. schema:
  15128. items:
  15129. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  15130. type: array
  15131. "500":
  15132. description: Internal Server Error
  15133. schema:
  15134. $ref: '#/definitions/app.Response'
  15135. security:
  15136. - ApiKeyAuth: []
  15137. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  15138. tags:
  15139. - 企业风险管理(app)
  15140. /Ermcp/QueryTradeConfigTMP:
  15141. get:
  15142. parameters:
  15143. - description: 所属机构id
  15144. in: query
  15145. name: areauserid
  15146. type: integer
  15147. produces:
  15148. - application/json
  15149. responses:
  15150. "200":
  15151. description: OK
  15152. schema:
  15153. items:
  15154. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  15155. type: array
  15156. "500":
  15157. description: Internal Server Error
  15158. schema:
  15159. $ref: '#/definitions/app.Response'
  15160. security:
  15161. - ApiKeyAuth: []
  15162. summary: 查询交易模板配置
  15163. tags:
  15164. - 企业风险管理(app)
  15165. /Ermcp/QueryUserInfo:
  15166. get:
  15167. parameters:
  15168. - description: 所属机构用户ID
  15169. in: query
  15170. name: MemberUserID
  15171. required: true
  15172. type: integer
  15173. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  15174. in: query
  15175. name: queryType
  15176. required: true
  15177. type: integer
  15178. produces:
  15179. - application/json
  15180. responses:
  15181. "200":
  15182. description: OK
  15183. schema:
  15184. items:
  15185. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  15186. type: array
  15187. "500":
  15188. description: Internal Server Error
  15189. schema:
  15190. $ref: '#/definitions/app.Response'
  15191. security:
  15192. - ApiKeyAuth: []
  15193. summary: 查询客户资料
  15194. tags:
  15195. - 企业风险管理(app)
  15196. /Ermcp/QueryWarehouseInfo:
  15197. get:
  15198. parameters:
  15199. - description: 用户ID
  15200. in: query
  15201. name: userid
  15202. required: true
  15203. type: integer
  15204. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  15205. in: query
  15206. name: status
  15207. type: string
  15208. produces:
  15209. - application/json
  15210. responses:
  15211. "200":
  15212. description: OK
  15213. schema:
  15214. items:
  15215. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  15216. type: array
  15217. "500":
  15218. description: Internal Server Error
  15219. schema:
  15220. $ref: '#/definitions/app.Response'
  15221. security:
  15222. - ApiKeyAuth: []
  15223. summary: 查询仓库信息
  15224. tags:
  15225. - 企业风险管理(app)
  15226. /Ermcp3/QryAreaExpourseContractDetail:
  15227. get:
  15228. parameters:
  15229. - description: 用户ID
  15230. in: query
  15231. name: userid
  15232. required: true
  15233. type: integer
  15234. - description: 套保商品id
  15235. in: query
  15236. name: middlegoodsid
  15237. required: true
  15238. type: integer
  15239. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15240. in: query
  15241. name: cycletype
  15242. required: true
  15243. type: integer
  15244. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15245. 全(0)【原值】
  15246. in: query
  15247. name: cycletime
  15248. required: true
  15249. type: string
  15250. produces:
  15251. - application/json
  15252. responses:
  15253. "200":
  15254. description: OK
  15255. schema:
  15256. items:
  15257. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  15258. type: array
  15259. "500":
  15260. description: Internal Server Error
  15261. schema:
  15262. $ref: '#/definitions/app.Response'
  15263. security:
  15264. - ApiKeyAuth: []
  15265. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  15266. tags:
  15267. - 企业风险管理v3(app)
  15268. /Ermcp3/QryAreaExpourseFutuDetail:
  15269. get:
  15270. parameters:
  15271. - description: 用户ID
  15272. in: query
  15273. name: userid
  15274. required: true
  15275. type: integer
  15276. - description: 套保商品id
  15277. in: query
  15278. name: middlegoodsid
  15279. required: true
  15280. type: integer
  15281. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15282. in: query
  15283. name: cycletype
  15284. required: true
  15285. type: integer
  15286. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15287. 全(0)【原值】
  15288. in: query
  15289. name: cycletime
  15290. required: true
  15291. type: string
  15292. produces:
  15293. - application/json
  15294. responses:
  15295. "200":
  15296. description: OK
  15297. schema:
  15298. items:
  15299. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15300. type: array
  15301. "500":
  15302. description: Internal Server Error
  15303. schema:
  15304. $ref: '#/definitions/app.Response'
  15305. security:
  15306. - ApiKeyAuth: []
  15307. summary: 查询敞口期货明细(敞口报表/期货明细)
  15308. tags:
  15309. - 企业风险管理v3(app)
  15310. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  15311. get:
  15312. parameters:
  15313. - description: 用户ID
  15314. in: query
  15315. name: userid
  15316. required: true
  15317. type: integer
  15318. - description: 套保商品id
  15319. in: query
  15320. name: middlegoodsid
  15321. required: true
  15322. type: integer
  15323. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15324. in: query
  15325. name: cycletype
  15326. required: true
  15327. type: integer
  15328. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15329. 全(0)【原值】
  15330. in: query
  15331. name: cycletime
  15332. required: true
  15333. type: string
  15334. produces:
  15335. - application/json
  15336. responses:
  15337. "200":
  15338. description: OK
  15339. schema:
  15340. items:
  15341. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  15342. type: array
  15343. "500":
  15344. description: Internal Server Error
  15345. schema:
  15346. $ref: '#/definitions/app.Response'
  15347. security:
  15348. - ApiKeyAuth: []
  15349. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  15350. tags:
  15351. - 企业风险管理v3(app)
  15352. /Ermcp3/QryAreaExpourseParamChLogDetail:
  15353. get:
  15354. parameters:
  15355. - description: 用户ID
  15356. in: query
  15357. name: userid
  15358. required: true
  15359. type: integer
  15360. - description: 套保商品id
  15361. in: query
  15362. name: middlegoodsid
  15363. required: true
  15364. type: integer
  15365. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15366. in: query
  15367. name: cycletype
  15368. required: true
  15369. type: integer
  15370. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15371. 全(0)【原值】
  15372. in: query
  15373. name: cycletime
  15374. required: true
  15375. type: string
  15376. produces:
  15377. - application/json
  15378. responses:
  15379. "200":
  15380. description: OK
  15381. schema:
  15382. items:
  15383. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  15384. type: array
  15385. "500":
  15386. description: Internal Server Error
  15387. schema:
  15388. $ref: '#/definitions/app.Response'
  15389. security:
  15390. - ApiKeyAuth: []
  15391. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  15392. tags:
  15393. - 企业风险管理v3(app)
  15394. /Ermcp3/QryAreaExpourseReport:
  15395. get:
  15396. parameters:
  15397. - description: 用户ID
  15398. in: query
  15399. name: userid
  15400. required: true
  15401. type: integer
  15402. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  15403. in: query
  15404. name: querytype
  15405. required: true
  15406. type: integer
  15407. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15408. in: query
  15409. name: cycletype
  15410. required: true
  15411. type: integer
  15412. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15413. 全(0)【原值】
  15414. in: query
  15415. name: cycletime
  15416. required: true
  15417. type: string
  15418. produces:
  15419. - application/json
  15420. responses:
  15421. "200":
  15422. description: OK
  15423. schema:
  15424. items:
  15425. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  15426. type: array
  15427. "500":
  15428. description: Internal Server Error
  15429. schema:
  15430. $ref: '#/definitions/app.Response'
  15431. security:
  15432. - ApiKeyAuth: []
  15433. summary: 查询敞口报表
  15434. tags:
  15435. - 企业风险管理v3(app)
  15436. /Ermcp3/QryAreaSpotplReport:
  15437. get:
  15438. parameters:
  15439. - description: 用户ID
  15440. in: query
  15441. name: userid
  15442. required: true
  15443. type: integer
  15444. - description: 查询类型 1-报表 2-报表明细
  15445. in: query
  15446. name: querytype
  15447. required: true
  15448. type: integer
  15449. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15450. in: query
  15451. name: cycletype
  15452. required: true
  15453. type: integer
  15454. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15455. 全(0)【原值】
  15456. in: query
  15457. name: cycletime
  15458. required: true
  15459. type: string
  15460. - description: 现货品种id(明细必填)
  15461. in: query
  15462. name: deliverygoodsid
  15463. type: integer
  15464. - description: 币种id(明细必填)
  15465. in: query
  15466. name: currencyid
  15467. type: integer
  15468. produces:
  15469. - application/json
  15470. responses:
  15471. "200":
  15472. description: OK
  15473. schema:
  15474. items:
  15475. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  15476. type: array
  15477. "500":
  15478. description: Internal Server Error
  15479. schema:
  15480. $ref: '#/definitions/app.Response'
  15481. security:
  15482. - ApiKeyAuth: []
  15483. summary: 查询现货报表
  15484. tags:
  15485. - 企业风险管理v3(app)
  15486. /Ermcp3/QryAreaStockReport:
  15487. get:
  15488. parameters:
  15489. - description: 用户ID
  15490. in: query
  15491. name: userid
  15492. required: true
  15493. type: integer
  15494. - description: 查询类型 1-报表 2-报表明细
  15495. in: query
  15496. name: querytype
  15497. required: true
  15498. type: integer
  15499. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15500. in: query
  15501. name: cycletype
  15502. required: true
  15503. type: integer
  15504. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15505. 全(0)【原值】
  15506. in: query
  15507. name: cycletime
  15508. required: true
  15509. type: string
  15510. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15511. in: query
  15512. name: sumfields
  15513. type: string
  15514. - description: 品种ID
  15515. in: query
  15516. name: deliverygoodsid
  15517. type: integer
  15518. - description: 品类ID
  15519. in: query
  15520. name: wrstandardid
  15521. type: integer
  15522. - description: 品牌ID
  15523. in: query
  15524. name: spotgoodsbrandid
  15525. type: integer
  15526. - description: 仓库ID
  15527. in: query
  15528. name: warehouseinfoid
  15529. type: integer
  15530. produces:
  15531. - application/json
  15532. responses:
  15533. "200":
  15534. description: OK
  15535. schema:
  15536. items:
  15537. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15538. type: array
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 查询库存报表
  15546. tags:
  15547. - 企业风险管理v3(app)
  15548. /Ermcp3/QryAreaSumPL:
  15549. get:
  15550. parameters:
  15551. - description: 用户ID
  15552. in: query
  15553. name: userid
  15554. required: true
  15555. type: integer
  15556. - description: 查询类型 1-报表 2-报表明细
  15557. in: query
  15558. name: querytype
  15559. required: true
  15560. type: integer
  15561. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15562. in: query
  15563. name: cycletype
  15564. required: true
  15565. type: integer
  15566. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15567. 全(0)【原值】
  15568. in: query
  15569. name: cycletime
  15570. required: true
  15571. type: string
  15572. - description: 币种id(明细必填)
  15573. in: query
  15574. name: currencyid
  15575. type: integer
  15576. produces:
  15577. - application/json
  15578. responses:
  15579. "200":
  15580. description: OK
  15581. schema:
  15582. items:
  15583. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15584. type: array
  15585. "500":
  15586. description: Internal Server Error
  15587. schema:
  15588. $ref: '#/definitions/app.Response'
  15589. security:
  15590. - ApiKeyAuth: []
  15591. summary: 查询汇总损益表
  15592. tags:
  15593. - 企业风险管理v3(app)
  15594. /Ermcp3/QryFinanceReport:
  15595. get:
  15596. parameters:
  15597. - description: 用户ID
  15598. in: query
  15599. name: userid
  15600. required: true
  15601. type: integer
  15602. - description: 查询类型 1-报表 2-报表明细
  15603. in: query
  15604. name: querytype
  15605. required: true
  15606. type: integer
  15607. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15608. in: query
  15609. name: cycletype
  15610. required: true
  15611. type: integer
  15612. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15613. 全(0)【原值】
  15614. in: query
  15615. name: cycletime
  15616. required: true
  15617. type: string
  15618. - description: 币种id(报表明细必填)
  15619. in: query
  15620. name: currencyid
  15621. type: integer
  15622. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15623. in: query
  15624. name: sumfields
  15625. type: string
  15626. produces:
  15627. - application/json
  15628. responses:
  15629. "200":
  15630. description: OK
  15631. schema:
  15632. items:
  15633. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15634. type: array
  15635. "500":
  15636. description: Internal Server Error
  15637. schema:
  15638. $ref: '#/definitions/app.Response'
  15639. security:
  15640. - ApiKeyAuth: []
  15641. summary: 查询财务报表
  15642. tags:
  15643. - 企业风险管理v3(app)
  15644. /Ermcp3/QryTaFutureDataReport:
  15645. get:
  15646. parameters:
  15647. - description: 用户ID
  15648. in: query
  15649. name: userid
  15650. required: true
  15651. type: integer
  15652. - description: 查询类型 1-报表 2-报表明细
  15653. in: query
  15654. name: querytype
  15655. required: true
  15656. type: integer
  15657. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15658. in: query
  15659. name: cycletype
  15660. required: true
  15661. type: integer
  15662. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15663. 全(0)【原值】
  15664. in: query
  15665. name: cycletime
  15666. required: true
  15667. type: string
  15668. - description: 币种id(查明细必填)
  15669. in: query
  15670. name: currencyid
  15671. type: integer
  15672. - description: 品种id(查明细必填)
  15673. in: query
  15674. name: goodsgroupid
  15675. type: integer
  15676. - description: 商品id(查明细必填)
  15677. in: query
  15678. name: goodsid
  15679. type: integer
  15680. - description: 买卖方向(查明细必填)
  15681. in: query
  15682. name: buyorsell
  15683. type: integer
  15684. produces:
  15685. - application/json
  15686. responses:
  15687. "200":
  15688. description: OK
  15689. schema:
  15690. items:
  15691. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15692. type: array
  15693. "500":
  15694. description: Internal Server Error
  15695. schema:
  15696. $ref: '#/definitions/app.Response'
  15697. security:
  15698. - ApiKeyAuth: []
  15699. summary: 查询期货报表
  15700. tags:
  15701. - 企业风险管理v3(app)
  15702. /Ermcp3/QueryAreaStock:
  15703. get:
  15704. parameters:
  15705. - description: 用户ID
  15706. in: query
  15707. name: userid
  15708. required: true
  15709. type: integer
  15710. produces:
  15711. - application/json
  15712. responses:
  15713. "200":
  15714. description: OK
  15715. schema:
  15716. items:
  15717. $ref: '#/definitions/models.Ermcp3AreaStock'
  15718. type: array
  15719. "500":
  15720. description: Internal Server Error
  15721. schema:
  15722. $ref: '#/definitions/app.Response'
  15723. security:
  15724. - ApiKeyAuth: []
  15725. summary: 查询机构库存(库存管理/当前库存)
  15726. tags:
  15727. - 企业风险管理v3(app)
  15728. /Ermcp3/QueryAreaStockApply:
  15729. get:
  15730. parameters:
  15731. - description: 用户ID
  15732. in: query
  15733. name: userid
  15734. required: true
  15735. type: integer
  15736. - description: 用户类型 2-机构 7-企业成员
  15737. in: query
  15738. name: usertype
  15739. type: integer
  15740. - description: 现货商品ID
  15741. in: query
  15742. name: deliverygoodsid
  15743. type: integer
  15744. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15745. in: query
  15746. name: inouttype
  15747. type: string
  15748. - description: 合同ID
  15749. in: query
  15750. name: spotcontractid
  15751. type: integer
  15752. - description: 品类ID
  15753. in: query
  15754. name: wrstandardid
  15755. type: integer
  15756. - description: 品牌ID
  15757. in: query
  15758. name: spotgoodsbrandid
  15759. type: integer
  15760. - description: 仓库ID
  15761. in: query
  15762. name: warehouseinfoid
  15763. type: integer
  15764. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15765. in: query
  15766. name: applystatus
  15767. type: string
  15768. produces:
  15769. - application/json
  15770. responses:
  15771. "200":
  15772. description: OK
  15773. schema:
  15774. items:
  15775. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15776. type: array
  15777. "500":
  15778. description: Internal Server Error
  15779. schema:
  15780. $ref: '#/definitions/app.Response'
  15781. security:
  15782. - ApiKeyAuth: []
  15783. summary: 查询库存申请(出入库记录|库存审核)
  15784. tags:
  15785. - 企业风险管理v3(app)
  15786. /Ermcp3/QueryAreaStockApplySum:
  15787. get:
  15788. parameters:
  15789. - description: 合同ID
  15790. in: query
  15791. name: spotcontractid
  15792. type: integer
  15793. produces:
  15794. - application/json
  15795. responses:
  15796. "200":
  15797. description: OK
  15798. schema:
  15799. items:
  15800. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15801. type: array
  15802. "500":
  15803. description: Internal Server Error
  15804. schema:
  15805. $ref: '#/definitions/app.Response'
  15806. security:
  15807. - ApiKeyAuth: []
  15808. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15809. tags:
  15810. - 企业风险管理v3(app)
  15811. /Ermcp3/QueryDGFactoryItem:
  15812. get:
  15813. parameters:
  15814. - description: 用户id
  15815. in: query
  15816. name: userid
  15817. type: integer
  15818. - description: 用户类型 2-机构 7-企业成员
  15819. in: query
  15820. name: usertype
  15821. type: integer
  15822. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15823. in: query
  15824. name: dgfactoryitemid
  15825. type: integer
  15826. - description: 现货品种ID
  15827. in: query
  15828. name: deliverygoodsid
  15829. type: integer
  15830. - description: 要素项类型
  15831. in: query
  15832. name: dgfactoryitemtypeid
  15833. type: integer
  15834. - description: 顺序
  15835. in: query
  15836. name: orderindex
  15837. type: integer
  15838. produces:
  15839. - application/json
  15840. responses:
  15841. "200":
  15842. description: OK
  15843. schema:
  15844. items:
  15845. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15846. type: array
  15847. "500":
  15848. description: Internal Server Error
  15849. schema:
  15850. $ref: '#/definitions/app.Response'
  15851. security:
  15852. - ApiKeyAuth: []
  15853. summary: 查询品种要素定义项
  15854. tags:
  15855. - 企业风险管理v3(app)
  15856. /Ermcp3/QueryDeliveryGoods:
  15857. get:
  15858. parameters:
  15859. - description: 用户id
  15860. in: query
  15861. name: userid
  15862. required: true
  15863. type: integer
  15864. - description: 用户类型 2-机构 7-企业成员
  15865. in: query
  15866. name: usertype
  15867. type: integer
  15868. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15869. in: query
  15870. name: excludecfg
  15871. type: integer
  15872. produces:
  15873. - application/json
  15874. responses:
  15875. "200":
  15876. description: OK
  15877. schema:
  15878. items:
  15879. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15880. type: array
  15881. "500":
  15882. description: Internal Server Error
  15883. schema:
  15884. $ref: '#/definitions/app.Response'
  15885. security:
  15886. - ApiKeyAuth: []
  15887. summary: 查询现货商品
  15888. tags:
  15889. - 企业风险管理v3(app)
  15890. /Ermcp3/QueryDeliveryGoodsDetail:
  15891. get:
  15892. parameters:
  15893. - description: 用户id
  15894. in: query
  15895. name: userid
  15896. required: true
  15897. type: integer
  15898. - description: 用户类型 2-机构 7-企业成员
  15899. in: query
  15900. name: usertype
  15901. type: integer
  15902. - description: 现货商品id
  15903. in: query
  15904. name: deliverygoodsid
  15905. type: integer
  15906. produces:
  15907. - application/json
  15908. responses:
  15909. "200":
  15910. description: OK
  15911. schema:
  15912. items:
  15913. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15914. type: array
  15915. "500":
  15916. description: Internal Server Error
  15917. schema:
  15918. $ref: '#/definitions/app.Response'
  15919. security:
  15920. - ApiKeyAuth: []
  15921. summary: 查询现货商品详情
  15922. tags:
  15923. - 企业风险管理v3(app)
  15924. /Ermcp3/QueryExposureDetail:
  15925. get:
  15926. parameters:
  15927. - description: 用户id
  15928. in: query
  15929. name: userid
  15930. required: true
  15931. type: integer
  15932. - description: 用户类型 2-机构 7-企业成员
  15933. in: query
  15934. name: usertype
  15935. type: integer
  15936. - description: 套保商品
  15937. in: query
  15938. name: middlegoodsid
  15939. required: true
  15940. type: integer
  15941. produces:
  15942. - application/json
  15943. responses:
  15944. "200":
  15945. description: OK
  15946. schema:
  15947. items:
  15948. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15949. type: array
  15950. "500":
  15951. description: Internal Server Error
  15952. schema:
  15953. $ref: '#/definitions/app.Response'
  15954. security:
  15955. - ApiKeyAuth: []
  15956. summary: 查询敞口现货明细
  15957. tags:
  15958. - 企业风险管理v3(app)
  15959. /Ermcp3/QueryExposureSpot:
  15960. get:
  15961. parameters:
  15962. - description: 用户id
  15963. in: query
  15964. name: userid
  15965. required: true
  15966. type: integer
  15967. - description: 用户类型 2-机构 7-企业成员
  15968. in: query
  15969. name: usertype
  15970. type: integer
  15971. produces:
  15972. - application/json
  15973. responses:
  15974. "200":
  15975. description: OK
  15976. schema:
  15977. items:
  15978. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15979. type: array
  15980. "500":
  15981. description: Internal Server Error
  15982. schema:
  15983. $ref: '#/definitions/app.Response'
  15984. security:
  15985. - ApiKeyAuth: []
  15986. summary: 查询敞口现货头寸(敞口/现货头寸)
  15987. tags:
  15988. - 企业风险管理v3(app)
  15989. /Ermcp3/QueryExposureSpotDetail:
  15990. get:
  15991. parameters:
  15992. - description: 用户id
  15993. in: query
  15994. name: userid
  15995. required: true
  15996. type: integer
  15997. - description: 用户类型 2-机构 7-企业成员
  15998. in: query
  15999. name: usertype
  16000. type: integer
  16001. - description: 现货品种ID
  16002. in: query
  16003. name: deliverygoodsid
  16004. required: true
  16005. type: integer
  16006. produces:
  16007. - application/json
  16008. responses:
  16009. "200":
  16010. description: OK
  16011. schema:
  16012. items:
  16013. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  16014. type: array
  16015. "500":
  16016. description: Internal Server Error
  16017. schema:
  16018. $ref: '#/definitions/app.Response'
  16019. security:
  16020. - ApiKeyAuth: []
  16021. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  16022. tags:
  16023. - 企业风险管理v3(app)
  16024. /Ermcp3/QueryGoodsGroup:
  16025. get:
  16026. parameters:
  16027. - description: 用户id
  16028. in: query
  16029. name: userid
  16030. required: true
  16031. type: integer
  16032. - description: 用户类型 2-机构 7-企业成员
  16033. in: query
  16034. name: usertype
  16035. type: integer
  16036. - description: 排除套保品中已关联的商品组 1-排除
  16037. in: query
  16038. name: excludecfg
  16039. type: integer
  16040. produces:
  16041. - application/json
  16042. responses:
  16043. "200":
  16044. description: OK
  16045. schema:
  16046. items:
  16047. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  16048. type: array
  16049. "500":
  16050. description: Internal Server Error
  16051. schema:
  16052. $ref: '#/definitions/app.Response'
  16053. security:
  16054. - ApiKeyAuth: []
  16055. summary: 查询期货商品组
  16056. tags:
  16057. - 企业风险管理v3(app)
  16058. /Ermcp3/QueryGoodsWrstandard:
  16059. get:
  16060. parameters:
  16061. - description: 用户id
  16062. in: query
  16063. name: userid
  16064. required: true
  16065. type: integer
  16066. - description: 用户类型 2-机构 7-企业成员
  16067. in: query
  16068. name: usertype
  16069. type: integer
  16070. - description: 现货商品id
  16071. in: query
  16072. name: deliverygoodsid
  16073. type: integer
  16074. produces:
  16075. - application/json
  16076. responses:
  16077. "200":
  16078. description: OK
  16079. schema:
  16080. items:
  16081. $ref: '#/definitions/models.Ermcp3Wrstandard'
  16082. type: array
  16083. "500":
  16084. description: Internal Server Error
  16085. schema:
  16086. $ref: '#/definitions/app.Response'
  16087. security:
  16088. - ApiKeyAuth: []
  16089. summary: 查询商品品类
  16090. tags:
  16091. - 企业风险管理v3(app)
  16092. /Ermcp3/QueryGoodsbrand:
  16093. get:
  16094. parameters:
  16095. - description: 用户id
  16096. in: query
  16097. name: userid
  16098. required: true
  16099. type: integer
  16100. - description: 用户类型 2-机构 7-企业成员
  16101. in: query
  16102. name: usertype
  16103. type: integer
  16104. produces:
  16105. - application/json
  16106. responses:
  16107. "200":
  16108. description: OK
  16109. schema:
  16110. items:
  16111. $ref: '#/definitions/models.Ermcp3Brand'
  16112. type: array
  16113. "500":
  16114. description: Internal Server Error
  16115. schema:
  16116. $ref: '#/definitions/app.Response'
  16117. security:
  16118. - ApiKeyAuth: []
  16119. summary: 查询商品品牌
  16120. tags:
  16121. - 企业风险管理v3(app)
  16122. /Ermcp3/QueryHedgePlan:
  16123. get:
  16124. parameters:
  16125. - description: 用户ID
  16126. in: query
  16127. name: userid
  16128. required: true
  16129. type: integer
  16130. - description: 用户类型 2-机构 7-企业成员
  16131. in: query
  16132. name: usertype
  16133. type: integer
  16134. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  16135. in: query
  16136. name: hedgeplanstatus
  16137. required: true
  16138. type: string
  16139. produces:
  16140. - application/json
  16141. responses:
  16142. "200":
  16143. description: OK
  16144. schema:
  16145. items:
  16146. $ref: '#/definitions/models.Ermcp3HedgePlan'
  16147. type: array
  16148. "500":
  16149. description: Internal Server Error
  16150. schema:
  16151. $ref: '#/definitions/app.Response'
  16152. security:
  16153. - ApiKeyAuth: []
  16154. summary: 查询套保计划
  16155. tags:
  16156. - 企业风险管理v3(app)
  16157. /Ermcp3/QueryMiddleGoodsDetail:
  16158. get:
  16159. parameters:
  16160. - description: 用户id
  16161. in: query
  16162. name: userid
  16163. required: true
  16164. type: integer
  16165. - description: 用户类型 2-机构 7-企业成员
  16166. in: query
  16167. name: usertype
  16168. type: integer
  16169. - description: 套保品种id
  16170. in: query
  16171. name: middlegoodsid
  16172. type: integer
  16173. produces:
  16174. - application/json
  16175. responses:
  16176. "200":
  16177. description: OK
  16178. schema:
  16179. items:
  16180. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  16181. type: array
  16182. "500":
  16183. description: Internal Server Error
  16184. schema:
  16185. $ref: '#/definitions/app.Response'
  16186. security:
  16187. - ApiKeyAuth: []
  16188. summary: 查询套保品种详情(套保品种/商品详情)
  16189. tags:
  16190. - 企业风险管理v3(app)
  16191. /Ermcp3/QueryRootUserAccount:
  16192. get:
  16193. parameters:
  16194. - description: 用户ID
  16195. in: query
  16196. name: userid
  16197. required: true
  16198. type: integer
  16199. produces:
  16200. - application/json
  16201. responses:
  16202. "200":
  16203. description: OK
  16204. schema:
  16205. items:
  16206. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  16207. type: array
  16208. "500":
  16209. description: Internal Server Error
  16210. schema:
  16211. $ref: '#/definitions/app.Response'
  16212. security:
  16213. - ApiKeyAuth: []
  16214. summary: 查询顶级用户信息
  16215. tags:
  16216. - 企业风险管理v3(app)
  16217. /Ermcp3/QuerySpotContract:
  16218. get:
  16219. parameters:
  16220. - description: 用户id
  16221. in: query
  16222. name: userid
  16223. required: true
  16224. type: integer
  16225. - description: 用户类型 2-机构 7-企业成员
  16226. in: query
  16227. name: usertype
  16228. type: integer
  16229. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  16230. in: query
  16231. name: querytype
  16232. required: true
  16233. type: integer
  16234. - description: 合同ID(SpotContractId)
  16235. in: query
  16236. name: contractid
  16237. type: string
  16238. produces:
  16239. - application/json
  16240. responses:
  16241. "200":
  16242. description: OK
  16243. schema:
  16244. items:
  16245. $ref: '#/definitions/models.Ermcp3Contract'
  16246. type: array
  16247. "500":
  16248. description: Internal Server Error
  16249. schema:
  16250. $ref: '#/definitions/app.Response'
  16251. security:
  16252. - ApiKeyAuth: []
  16253. summary: 查询现货合同
  16254. tags:
  16255. - 企业风险管理v3(app)
  16256. /Ermcp3/QuerySpotContractBS:
  16257. get:
  16258. parameters:
  16259. - description: 用户id
  16260. in: query
  16261. name: userid
  16262. required: true
  16263. type: integer
  16264. - description: 用户类型 2-机构 7-企业成员
  16265. in: query
  16266. name: usertype
  16267. type: integer
  16268. - description: 合同类型 1-采购, -1-销售
  16269. in: query
  16270. name: contracttype
  16271. required: true
  16272. type: integer
  16273. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  16274. in: query
  16275. name: querytype
  16276. required: true
  16277. type: integer
  16278. - description: 合同ID(SpotContractId)
  16279. in: query
  16280. name: contractid
  16281. type: string
  16282. produces:
  16283. - application/json
  16284. responses:
  16285. "200":
  16286. description: OK
  16287. schema:
  16288. items:
  16289. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  16290. type: array
  16291. "500":
  16292. description: Internal Server Error
  16293. schema:
  16294. $ref: '#/definitions/app.Response'
  16295. security:
  16296. - ApiKeyAuth: []
  16297. summary: 查询合同(采购/销售)
  16298. tags:
  16299. - 企业风险管理v3(app)
  16300. /Ermcp3/QuerySpotGoodsPrice:
  16301. get:
  16302. parameters:
  16303. - description: 用户ID
  16304. in: query
  16305. name: userid
  16306. required: true
  16307. type: integer
  16308. produces:
  16309. - application/json
  16310. responses:
  16311. "200":
  16312. description: OK
  16313. schema:
  16314. items:
  16315. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  16316. type: array
  16317. "500":
  16318. description: Internal Server Error
  16319. schema:
  16320. $ref: '#/definitions/app.Response'
  16321. security:
  16322. - ApiKeyAuth: []
  16323. summary: 查询现货市价(现货市价)
  16324. tags:
  16325. - 企业风险管理v3(app)
  16326. /Ermcp3/QuerySpotGoodsPriceLog:
  16327. get:
  16328. parameters:
  16329. - description: 用户ID
  16330. in: query
  16331. name: userid
  16332. required: true
  16333. type: integer
  16334. - description: 现货商品ID
  16335. in: query
  16336. name: deliverygoodsid
  16337. required: true
  16338. type: integer
  16339. - description: 品牌ID
  16340. in: query
  16341. name: brandid
  16342. type: integer
  16343. - description: 品类ID
  16344. in: query
  16345. name: wrstandardid
  16346. type: integer
  16347. produces:
  16348. - application/json
  16349. responses:
  16350. "200":
  16351. description: OK
  16352. schema:
  16353. items:
  16354. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  16355. type: array
  16356. "500":
  16357. description: Internal Server Error
  16358. schema:
  16359. $ref: '#/definitions/app.Response'
  16360. security:
  16361. - ApiKeyAuth: []
  16362. summary: 查询现货市价详情(现货市价/详情)
  16363. tags:
  16364. - 企业风险管理v3(app)
  16365. /Erms2/QueryArbitrageStrategy:
  16366. get:
  16367. parameters:
  16368. - description: 账户ID
  16369. in: query
  16370. name: userid
  16371. required: true
  16372. type: integer
  16373. - description: 商品组ID(品种ID)
  16374. in: query
  16375. name: goodsgroupid
  16376. type: string
  16377. produces:
  16378. - application/json
  16379. responses:
  16380. "200":
  16381. description: OK
  16382. schema:
  16383. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  16384. "500":
  16385. description: Internal Server Error
  16386. schema:
  16387. $ref: '#/definitions/app.Response'
  16388. security:
  16389. - ApiKeyAuth: []
  16390. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  16391. tags:
  16392. - 风险管理
  16393. /Erms2/QueryInnerTradeDetail:
  16394. get:
  16395. parameters:
  16396. - description: 资金账户
  16397. in: query
  16398. name: accountid
  16399. required: true
  16400. type: integer
  16401. produces:
  16402. - application/json
  16403. responses:
  16404. "200":
  16405. description: OK
  16406. schema:
  16407. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  16408. "500":
  16409. description: Internal Server Error
  16410. schema:
  16411. $ref: '#/definitions/app.Response'
  16412. security:
  16413. - ApiKeyAuth: []
  16414. summary: 查询内部成交单信息
  16415. tags:
  16416. - 风险管理
  16417. /Erms2/QuerySpotContract:
  16418. get:
  16419. parameters:
  16420. - description: 策略申请ID
  16421. in: query
  16422. name: asapplyid
  16423. required: true
  16424. type: integer
  16425. - description: 现货合同ID
  16426. in: query
  16427. name: spotcontractid
  16428. type: integer
  16429. produces:
  16430. - application/json
  16431. responses:
  16432. "200":
  16433. description: OK
  16434. schema:
  16435. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  16436. "500":
  16437. description: Internal Server Error
  16438. schema:
  16439. $ref: '#/definitions/app.Response'
  16440. security:
  16441. - ApiKeyAuth: []
  16442. summary: 查询现货合同表信息(指定策略ID、未结束的)
  16443. tags:
  16444. - 风险管理
  16445. /Erms3/AddErms2ASApply:
  16446. post:
  16447. parameters:
  16448. - description: 申请参数
  16449. in: body
  16450. name: jsonBody
  16451. required: true
  16452. schema:
  16453. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  16454. produces:
  16455. - application/json
  16456. responses:
  16457. "200":
  16458. description: OK
  16459. schema:
  16460. $ref: '#/definitions/app.Response'
  16461. "500":
  16462. description: Internal Server Error
  16463. schema:
  16464. $ref: '#/definitions/app.Response'
  16465. security:
  16466. - ApiKeyAuth: []
  16467. summary: 新增期现套利业务申请
  16468. tags:
  16469. - 风险管理v3
  16470. /Erms3/AddErms2SpotTradeApply:
  16471. post:
  16472. parameters:
  16473. - description: 申请参数
  16474. in: body
  16475. name: jsonBody
  16476. required: true
  16477. schema:
  16478. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  16479. produces:
  16480. - application/json
  16481. responses:
  16482. "200":
  16483. description: OK
  16484. schema:
  16485. $ref: '#/definitions/app.Response'
  16486. "500":
  16487. description: Internal Server Error
  16488. schema:
  16489. $ref: '#/definitions/app.Response'
  16490. security:
  16491. - ApiKeyAuth: []
  16492. summary: 新增现货贸易业务申请
  16493. tags:
  16494. - 风险管理v3
  16495. /Erms3/AddSpotContractApply:
  16496. post:
  16497. parameters:
  16498. - description: 申请参数
  16499. in: body
  16500. name: jsonBody
  16501. required: true
  16502. schema:
  16503. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  16504. produces:
  16505. - application/json
  16506. responses:
  16507. "200":
  16508. description: OK
  16509. schema:
  16510. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  16511. "500":
  16512. description: Internal Server Error
  16513. schema:
  16514. $ref: '#/definitions/app.Response'
  16515. security:
  16516. - ApiKeyAuth: []
  16517. summary: 新增现货合同申请
  16518. tags:
  16519. - 风险管理v3
  16520. /Erms3/AddUserInfoApply:
  16521. post:
  16522. parameters:
  16523. - description: 用户信息
  16524. in: body
  16525. name: jsonBody
  16526. required: true
  16527. schema:
  16528. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16529. produces:
  16530. - application/json
  16531. responses:
  16532. "200":
  16533. description: OK
  16534. schema:
  16535. $ref: '#/definitions/app.Response'
  16536. "500":
  16537. description: Internal Server Error
  16538. schema:
  16539. $ref: '#/definitions/app.Response'
  16540. security:
  16541. - ApiKeyAuth: []
  16542. summary: 新增客户申请
  16543. tags:
  16544. - 风险管理v3
  16545. /Erms3/DeleteUserInfoApply:
  16546. get:
  16547. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16548. parameters:
  16549. - description: 用户ID
  16550. in: query
  16551. name: userID
  16552. required: true
  16553. type: integer
  16554. produces:
  16555. - application/json
  16556. responses:
  16557. "200":
  16558. description: OK
  16559. schema:
  16560. $ref: '#/definitions/app.Response'
  16561. "500":
  16562. description: Internal Server Error
  16563. schema:
  16564. $ref: '#/definitions/app.Response'
  16565. security:
  16566. - ApiKeyAuth: []
  16567. summary: 删除客户申请
  16568. tags:
  16569. - 风险管理v3
  16570. /Erms3/ModifyUserInfoApply:
  16571. post:
  16572. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16573. int, "userstate": 2 }'
  16574. parameters:
  16575. - description: 用户信息
  16576. in: body
  16577. name: jsonBody
  16578. required: true
  16579. schema:
  16580. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16581. produces:
  16582. - application/json
  16583. responses:
  16584. "200":
  16585. description: OK
  16586. schema:
  16587. $ref: '#/definitions/app.Response'
  16588. "500":
  16589. description: Internal Server Error
  16590. schema:
  16591. $ref: '#/definitions/app.Response'
  16592. security:
  16593. - ApiKeyAuth: []
  16594. summary: 修改客户申请
  16595. tags:
  16596. - 风险管理v3
  16597. /Erms3/QueryBusinessInfo:
  16598. get:
  16599. parameters:
  16600. - description: 资金账号ID列表,用逗号分隔
  16601. in: query
  16602. name: accountids
  16603. required: true
  16604. type: string
  16605. - description: 状态,0为未结束 1为已结束
  16606. in: query
  16607. name: status
  16608. required: true
  16609. type: integer
  16610. produces:
  16611. - application/json
  16612. responses:
  16613. "200":
  16614. description: OK
  16615. schema:
  16616. items:
  16617. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16618. type: array
  16619. "500":
  16620. description: Internal Server Error
  16621. schema:
  16622. $ref: '#/definitions/app.Response'
  16623. security:
  16624. - ApiKeyAuth: []
  16625. summary: 查询业务表单数据
  16626. tags:
  16627. - 风险管理v3
  16628. /Erms3/QueryPendingAuditContract:
  16629. get:
  16630. parameters:
  16631. - description: 资金账号ID列表,逗号隔开
  16632. in: query
  16633. name: accountids
  16634. required: true
  16635. type: string
  16636. - description: 合同类型 1-采购 -1-销售
  16637. in: query
  16638. name: contracttype
  16639. required: true
  16640. type: integer
  16641. - description: 合同模式 1-普通 2-回购
  16642. in: query
  16643. name: contractmode
  16644. required: true
  16645. type: integer
  16646. produces:
  16647. - application/json
  16648. responses:
  16649. "200":
  16650. description: OK
  16651. schema:
  16652. items:
  16653. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16654. type: array
  16655. "500":
  16656. description: Internal Server Error
  16657. schema:
  16658. $ref: '#/definitions/app.Response'
  16659. security:
  16660. - ApiKeyAuth: []
  16661. summary: 查询待审核合同
  16662. tags:
  16663. - 风险管理v3
  16664. /Erms3/QueryPendingBusiness:
  16665. get:
  16666. parameters:
  16667. - description: 资金账号ID列表,逗号隔开
  16668. in: query
  16669. name: accountids
  16670. required: true
  16671. type: string
  16672. produces:
  16673. - application/json
  16674. responses:
  16675. "200":
  16676. description: OK
  16677. schema:
  16678. items:
  16679. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16680. type: array
  16681. "500":
  16682. description: Internal Server Error
  16683. schema:
  16684. $ref: '#/definitions/app.Response'
  16685. security:
  16686. - ApiKeyAuth: []
  16687. summary: 查询待审核基差贸易业务
  16688. tags:
  16689. - 风险管理v3
  16690. /Erms3/QuerySpotContractAppleForm:
  16691. get:
  16692. parameters:
  16693. - description: 登录账号
  16694. in: query
  16695. name: loginID
  16696. required: true
  16697. type: integer
  16698. produces:
  16699. - application/json
  16700. responses:
  16701. "200":
  16702. description: OK
  16703. schema:
  16704. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16705. "500":
  16706. description: Internal Server Error
  16707. schema:
  16708. $ref: '#/definitions/app.Response'
  16709. security:
  16710. - ApiKeyAuth: []
  16711. summary: 查询合同申请表单数据
  16712. tags:
  16713. - 风险管理v3
  16714. /Erms3/QuerySpotContractDetail:
  16715. get:
  16716. parameters:
  16717. - description: 资金账号ID列表,用逗号分隔
  16718. in: query
  16719. name: accountids
  16720. required: true
  16721. type: string
  16722. - description: 合同类型,1为采购合同 -1为销售合同
  16723. in: query
  16724. name: contracttype
  16725. required: true
  16726. type: integer
  16727. - description: 合同模式,1为普通合同 2为回购销售合同
  16728. in: query
  16729. name: contractmode
  16730. required: true
  16731. type: integer
  16732. - description: 状态,0为履约中 1为已完成
  16733. in: query
  16734. name: status
  16735. required: true
  16736. type: integer
  16737. produces:
  16738. - application/json
  16739. responses:
  16740. "200":
  16741. description: OK
  16742. schema:
  16743. items:
  16744. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16745. type: array
  16746. "500":
  16747. description: Internal Server Error
  16748. schema:
  16749. $ref: '#/definitions/app.Response'
  16750. security:
  16751. - ApiKeyAuth: []
  16752. summary: 查询合同详细信息
  16753. tags:
  16754. - 风险管理v3
  16755. /Erms3/QueryUserInfoApplies:
  16756. get:
  16757. parameters:
  16758. - description: 页码
  16759. in: query
  16760. name: page
  16761. type: integer
  16762. - description: 每页条数
  16763. in: query
  16764. name: pagesize
  16765. type: integer
  16766. - description: 客户名称,支持模糊查询
  16767. in: query
  16768. name: userName
  16769. type: string
  16770. produces:
  16771. - application/json
  16772. responses:
  16773. "200":
  16774. description: OK
  16775. schema:
  16776. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16777. "500":
  16778. description: Internal Server Error
  16779. schema:
  16780. $ref: '#/definitions/app.Response'
  16781. security:
  16782. - ApiKeyAuth: []
  16783. summary: 客户申请信息查询
  16784. tags:
  16785. - 风险管理v3
  16786. /Erms3/QueryUserInfos:
  16787. get:
  16788. parameters:
  16789. - description: 页码
  16790. in: query
  16791. name: page
  16792. type: integer
  16793. - description: 每页条数
  16794. in: query
  16795. name: pagesize
  16796. type: integer
  16797. - description: 客户名称,支持模糊查询
  16798. in: query
  16799. name: userName
  16800. type: string
  16801. produces:
  16802. - application/json
  16803. responses:
  16804. "200":
  16805. description: OK
  16806. schema:
  16807. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16808. "500":
  16809. description: Internal Server Error
  16810. schema:
  16811. $ref: '#/definitions/app.Response'
  16812. security:
  16813. - ApiKeyAuth: []
  16814. summary: 客户信息查询
  16815. tags:
  16816. - 风险管理v3
  16817. /HSBY/GetHsbyMyCount:
  16818. get:
  16819. description: 说明: 不包括已完成的数量。
  16820. parameters:
  16821. - description: 资金账户列表,格式:1,2,3
  16822. in: query
  16823. name: accountIDs
  16824. required: true
  16825. type: string
  16826. produces:
  16827. - application/json
  16828. responses:
  16829. "200":
  16830. description: OK
  16831. schema:
  16832. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16833. "500":
  16834. description: Internal Server Error
  16835. schema:
  16836. $ref: '#/definitions/app.Response'
  16837. security:
  16838. - ApiKeyAuth: []
  16839. summary: 获取我的订单与包裹数量
  16840. tags:
  16841. - 定制【海商报业】
  16842. /HSBY/QueryClientFixedADConfigs:
  16843. get:
  16844. produces:
  16845. - application/json
  16846. responses:
  16847. "200":
  16848. description: OK
  16849. schema:
  16850. $ref: '#/definitions/models.Clientfixedadconfig'
  16851. "500":
  16852. description: Internal Server Error
  16853. schema:
  16854. $ref: '#/definitions/app.Response'
  16855. security:
  16856. - ApiKeyAuth: []
  16857. summary: 获取终端固定广告配置
  16858. tags:
  16859. - 定制【海商报业】
  16860. /HSBY/QueryHsbyBuyMyTradeDetail:
  16861. get:
  16862. parameters:
  16863. - description: 页码
  16864. in: query
  16865. name: page
  16866. type: integer
  16867. - description: 每页条数
  16868. in: query
  16869. name: pagesize
  16870. type: integer
  16871. - description: 资金账户列表,格式:1,2,3
  16872. in: query
  16873. name: accountIDs
  16874. required: true
  16875. type: string
  16876. produces:
  16877. - application/json
  16878. responses:
  16879. "200":
  16880. description: OK
  16881. schema:
  16882. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16883. "500":
  16884. description: Internal Server Error
  16885. schema:
  16886. $ref: '#/definitions/app.Response'
  16887. security:
  16888. - ApiKeyAuth: []
  16889. summary: 查询"我的订单 - 已完成"单据信息
  16890. tags:
  16891. - 定制【海商报业】
  16892. /HSBY/QueryHsbyGoodsOrderDetails:
  16893. get:
  16894. description: 说明:查询结果已按委托价格和委托时间排序
  16895. parameters:
  16896. - description: 商品ID
  16897. in: query
  16898. name: goodsID
  16899. required: true
  16900. type: integer
  16901. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16902. in: query
  16903. name: accountIDs
  16904. type: string
  16905. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16906. in: query
  16907. name: buyOrSell
  16908. type: integer
  16909. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16910. in: query
  16911. name: price
  16912. type: number
  16913. - description: 档位,不传则默认为3档
  16914. in: query
  16915. name: speed
  16916. type: integer
  16917. produces:
  16918. - application/json
  16919. responses:
  16920. "200":
  16921. description: OK
  16922. schema:
  16923. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16924. "500":
  16925. description: Internal Server Error
  16926. schema:
  16927. $ref: '#/definitions/app.Response'
  16928. security:
  16929. - ApiKeyAuth: []
  16930. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16931. tags:
  16932. - 定制【海商报业】
  16933. /HSBY/QueryHsbyListingGoodsDetail:
  16934. get:
  16935. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16936. parameters:
  16937. - description: 商品ID
  16938. in: query
  16939. name: goodsID
  16940. required: true
  16941. type: integer
  16942. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16943. in: query
  16944. name: accountID
  16945. type: integer
  16946. produces:
  16947. - application/json
  16948. responses:
  16949. "200":
  16950. description: OK
  16951. schema:
  16952. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16953. "500":
  16954. description: Internal Server Error
  16955. schema:
  16956. $ref: '#/definitions/app.Response'
  16957. security:
  16958. - ApiKeyAuth: []
  16959. summary: 查询二级市场(挂牌点选)商品信息详情
  16960. tags:
  16961. - 定制【海商报业】
  16962. /HSBY/QueryHsbyMarketGoodsDetail:
  16963. get:
  16964. parameters:
  16965. - description: 委托单号
  16966. in: query
  16967. name: orderID
  16968. required: true
  16969. type: integer
  16970. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16971. in: query
  16972. name: accountID
  16973. type: integer
  16974. produces:
  16975. - application/json
  16976. responses:
  16977. "200":
  16978. description: OK
  16979. schema:
  16980. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16981. "500":
  16982. description: Internal Server Error
  16983. schema:
  16984. $ref: '#/definitions/app.Response'
  16985. security:
  16986. - ApiKeyAuth: []
  16987. summary: 查询三级市场(商城)商品信息详情
  16988. tags:
  16989. - 定制【海商报业】
  16990. /HSBY/QueryHsbyMarketGoodses:
  16991. get:
  16992. parameters:
  16993. - description: 页码
  16994. in: query
  16995. name: page
  16996. type: integer
  16997. - description: 每页条数
  16998. in: query
  16999. name: pagesize
  17000. type: integer
  17001. - description: 市场ID列表,格式:1,2,3
  17002. in: query
  17003. name: marketIDs
  17004. required: true
  17005. type: string
  17006. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  17007. in: query
  17008. name: accountID
  17009. required: true
  17010. type: integer
  17011. - description: 类别ID
  17012. in: query
  17013. name: categoryID
  17014. type: integer
  17015. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17016. in: query
  17017. name: goodsIDs
  17018. type: string
  17019. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  17020. in: query
  17021. name: couponTypeID
  17022. type: integer
  17023. produces:
  17024. - application/json
  17025. responses:
  17026. "200":
  17027. description: OK
  17028. schema:
  17029. $ref: '#/definitions/models.HsbyMarketGoods'
  17030. "500":
  17031. description: Internal Server Error
  17032. schema:
  17033. $ref: '#/definitions/app.Response'
  17034. security:
  17035. - ApiKeyAuth: []
  17036. summary: 查询特卖商品列表(三级商城)
  17037. tags:
  17038. - 定制【海商报业】
  17039. /HSBY/QueryHsbyMarkets:
  17040. get:
  17041. produces:
  17042. - application/json
  17043. responses:
  17044. "200":
  17045. description: OK
  17046. schema:
  17047. $ref: '#/definitions/models.HsbyMarketInfo'
  17048. "500":
  17049. description: Internal Server Error
  17050. schema:
  17051. $ref: '#/definitions/app.Response'
  17052. security:
  17053. - ApiKeyAuth: []
  17054. summary: 查询海商报业相关市场信息
  17055. tags:
  17056. - 定制【海商报业】
  17057. /HSBY/QueryHsbyMyBuyOrderDetails:
  17058. get:
  17059. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  17060. parameters:
  17061. - description: 资金账户列表,格式:1,2,3
  17062. in: query
  17063. name: accountIDs
  17064. required: true
  17065. type: string
  17066. produces:
  17067. - application/json
  17068. responses:
  17069. "200":
  17070. description: OK
  17071. schema:
  17072. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  17073. "500":
  17074. description: Internal Server Error
  17075. schema:
  17076. $ref: '#/definitions/app.Response'
  17077. security:
  17078. - ApiKeyAuth: []
  17079. summary: 查询“我的订单”信息
  17080. tags:
  17081. - 定制【海商报业】
  17082. /HSBY/QueryHsbyMyGoods:
  17083. get:
  17084. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  17085. parameters:
  17086. - description: 资金账户列表,格式:1,2,3
  17087. in: query
  17088. name: accountIDs
  17089. required: true
  17090. type: string
  17091. produces:
  17092. - application/json
  17093. responses:
  17094. "200":
  17095. description: OK
  17096. schema:
  17097. $ref: '#/definitions/models.HsbyMyGoods'
  17098. "500":
  17099. description: Internal Server Error
  17100. schema:
  17101. $ref: '#/definitions/app.Response'
  17102. security:
  17103. - ApiKeyAuth: []
  17104. summary: 查询“我的商品”信息
  17105. tags:
  17106. - 定制【海商报业】
  17107. /HSBY/QueryHsbyMyPackages:
  17108. get:
  17109. parameters:
  17110. - description: 资金账户列表,格式:1,2,3
  17111. in: query
  17112. name: accountIDs
  17113. required: true
  17114. type: string
  17115. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17116. in: query
  17117. name: takeOrderStatus
  17118. type: integer
  17119. produces:
  17120. - application/json
  17121. responses:
  17122. "200":
  17123. description: OK
  17124. schema:
  17125. $ref: '#/definitions/models.HsbyMyPackage'
  17126. "500":
  17127. description: Internal Server Error
  17128. schema:
  17129. $ref: '#/definitions/app.Response'
  17130. security:
  17131. - ApiKeyAuth: []
  17132. summary: 查询我的包裹信息
  17133. tags:
  17134. - 定制【海商报业】
  17135. /HSBY/QueryHsbyPreGoodsDetail:
  17136. get:
  17137. parameters:
  17138. - description: 商品ID
  17139. in: query
  17140. name: goodsID
  17141. required: true
  17142. type: integer
  17143. - description: 资金账户,主要用于获取预售商品购买上限
  17144. in: query
  17145. name: accountID
  17146. type: integer
  17147. produces:
  17148. - application/json
  17149. responses:
  17150. "200":
  17151. description: OK
  17152. schema:
  17153. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  17154. "500":
  17155. description: Internal Server Error
  17156. schema:
  17157. $ref: '#/definitions/app.Response'
  17158. security:
  17159. - ApiKeyAuth: []
  17160. summary: 查询一级市场(预售)商品信息详情
  17161. tags:
  17162. - 定制【海商报业】
  17163. /HSBY/QueryHsbyPreGoodses:
  17164. get:
  17165. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  17166. parameters:
  17167. - description: 页码
  17168. in: query
  17169. name: page
  17170. type: integer
  17171. - description: 每页条数
  17172. in: query
  17173. name: pagesize
  17174. type: integer
  17175. - description: 市场ID列表,格式:1,2,3
  17176. in: query
  17177. name: marketIDs
  17178. required: true
  17179. type: string
  17180. - description: 目的地(省)ID
  17181. in: query
  17182. name: descProvinceID
  17183. type: integer
  17184. - description: 目的地(市)ID
  17185. in: query
  17186. name: descCityID
  17187. type: integer
  17188. produces:
  17189. - application/json
  17190. responses:
  17191. "200":
  17192. description: OK
  17193. schema:
  17194. $ref: '#/definitions/models.HsbyPreGoods'
  17195. "500":
  17196. description: Internal Server Error
  17197. schema:
  17198. $ref: '#/definitions/app.Response'
  17199. security:
  17200. - ApiKeyAuth: []
  17201. summary: 查询新品上市商品列表(一级市场预售)
  17202. tags:
  17203. - 定制【海商报业】
  17204. /HSBY/QueryHsbySellMyDetails:
  17205. get:
  17206. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  17207. parameters:
  17208. - description: 页码
  17209. in: query
  17210. name: page
  17211. type: integer
  17212. - description: 每页条数
  17213. in: query
  17214. name: pagesize
  17215. type: integer
  17216. - description: 资金账户列表,格式:1,2,3
  17217. in: query
  17218. name: accountIDs
  17219. required: true
  17220. type: string
  17221. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  17222. in: query
  17223. name: orderType
  17224. type: integer
  17225. produces:
  17226. - application/json
  17227. responses:
  17228. "200":
  17229. description: OK
  17230. schema:
  17231. $ref: '#/definitions/models.HsbySellMyDetail'
  17232. "500":
  17233. description: Internal Server Error
  17234. schema:
  17235. $ref: '#/definitions/app.Response'
  17236. security:
  17237. - ApiKeyAuth: []
  17238. summary: 查询"我的闲置"单据信息
  17239. tags:
  17240. - 定制【海商报业】
  17241. /HSBY/QueryHsbyTopGoodses:
  17242. get:
  17243. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  17244. parameters:
  17245. - description: 页码
  17246. in: query
  17247. name: page
  17248. type: integer
  17249. - description: 每页条数
  17250. in: query
  17251. name: pagesize
  17252. type: integer
  17253. - description: 市场ID列表,格式:1,2,3
  17254. in: query
  17255. name: marketIDs
  17256. required: true
  17257. type: string
  17258. - description: 目的地(省)ID
  17259. in: query
  17260. name: descProvinceID
  17261. type: integer
  17262. - description: 目的地(市)ID
  17263. in: query
  17264. name: descCityID
  17265. type: integer
  17266. produces:
  17267. - application/json
  17268. responses:
  17269. "200":
  17270. description: OK
  17271. schema:
  17272. $ref: '#/definitions/models.HsbyTopGoods'
  17273. "500":
  17274. description: Internal Server Error
  17275. schema:
  17276. $ref: '#/definitions/app.Response'
  17277. security:
  17278. - ApiKeyAuth: []
  17279. summary: 查询热卖商品列表(二级市场挂牌点选)
  17280. tags:
  17281. - 定制【海商报业】
  17282. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  17283. get:
  17284. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  17285. parameters:
  17286. - description: 商品ID
  17287. in: query
  17288. name: goodsID
  17289. required: true
  17290. type: integer
  17291. produces:
  17292. - application/json
  17293. responses:
  17294. "200":
  17295. description: OK
  17296. schema:
  17297. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  17298. "500":
  17299. description: Internal Server Error
  17300. schema:
  17301. $ref: '#/definitions/app.Response'
  17302. security:
  17303. - ApiKeyAuth: []
  17304. summary: 查询游客三级市场(商城)商品信息详情
  17305. tags:
  17306. - 定制【海商报业】
  17307. /HSBY/QueryHsbyVisitorMarketGoodses:
  17308. get:
  17309. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  17310. parameters:
  17311. - description: 页码
  17312. in: query
  17313. name: page
  17314. type: integer
  17315. - description: 每页条数
  17316. in: query
  17317. name: pagesize
  17318. type: integer
  17319. - description: 市场ID列表,格式:1,2,3
  17320. in: query
  17321. name: marketIDs
  17322. required: true
  17323. type: string
  17324. - description: 类别ID
  17325. in: query
  17326. name: categoryID
  17327. type: integer
  17328. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  17329. in: query
  17330. name: goodsIDs
  17331. type: string
  17332. produces:
  17333. - application/json
  17334. responses:
  17335. "200":
  17336. description: OK
  17337. schema:
  17338. $ref: '#/definitions/models.HsbyMarketGoods'
  17339. "500":
  17340. description: Internal Server Error
  17341. schema:
  17342. $ref: '#/definitions/app.Response'
  17343. security:
  17344. - ApiKeyAuth: []
  17345. summary: 查询游客特卖商品列表(三级商城)
  17346. tags:
  17347. - 定制【海商报业】
  17348. /HSBY/QueryMyCollectionOrders:
  17349. get:
  17350. parameters:
  17351. - description: 页码
  17352. in: query
  17353. name: page
  17354. type: integer
  17355. - description: 每页条数
  17356. in: query
  17357. name: pagesize
  17358. type: integer
  17359. - description: 资金账户,格式:1,2,3
  17360. in: query
  17361. name: accountIDs
  17362. required: true
  17363. type: string
  17364. produces:
  17365. - application/json
  17366. responses:
  17367. "200":
  17368. description: OK
  17369. schema:
  17370. $ref: '#/definitions/models.HsbySellCollectionOrder'
  17371. "500":
  17372. description: Internal Server Error
  17373. schema:
  17374. $ref: '#/definitions/app.Response'
  17375. security:
  17376. - ApiKeyAuth: []
  17377. summary: 我的闲置中收款信息查询
  17378. tags:
  17379. - 定制【海商报业】
  17380. /HSBY/QueryMyCouponHolds:
  17381. get:
  17382. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  17383. parameters:
  17384. - description: 资金账户列表,格式:1,2,3
  17385. in: query
  17386. name: accountIDs
  17387. required: true
  17388. type: string
  17389. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  17390. in: query
  17391. name: holdStatus
  17392. type: string
  17393. produces:
  17394. - application/json
  17395. responses:
  17396. "200":
  17397. description: OK
  17398. schema:
  17399. $ref: '#/definitions/models.MyCouponHold'
  17400. "500":
  17401. description: Internal Server Error
  17402. schema:
  17403. $ref: '#/definitions/app.Response'
  17404. security:
  17405. - ApiKeyAuth: []
  17406. summary: 我的优惠卷持仓查询
  17407. tags:
  17408. - 定制【海商报业】
  17409. /HSBY/QueryMyCoupons:
  17410. get:
  17411. parameters:
  17412. - description: 资金账户列表,格式:1,2,3
  17413. in: query
  17414. name: accountIDs
  17415. required: true
  17416. type: string
  17417. - description: 商品ID, 一般与sellUserID配套传入
  17418. in: query
  17419. name: goodsID
  17420. type: integer
  17421. - description: 卖方UserID
  17422. in: query
  17423. name: sellUserID
  17424. type: integer
  17425. produces:
  17426. - application/json
  17427. responses:
  17428. "200":
  17429. description: OK
  17430. schema:
  17431. $ref: '#/definitions/models.MyCoupon'
  17432. "500":
  17433. description: Internal Server Error
  17434. schema:
  17435. $ref: '#/definitions/app.Response'
  17436. security:
  17437. - ApiKeyAuth: []
  17438. summary: 我的优惠卷查询
  17439. tags:
  17440. - 定制【海商报业】
  17441. /HSBY/QueryMyPayOrders:
  17442. get:
  17443. parameters:
  17444. - description: 页码
  17445. in: query
  17446. name: page
  17447. type: integer
  17448. - description: 每页条数
  17449. in: query
  17450. name: pagesize
  17451. type: integer
  17452. - description: 资金账户列表,格式:1,2,3
  17453. in: query
  17454. name: accountIDs
  17455. required: true
  17456. type: string
  17457. - description: 买方委托单号
  17458. in: query
  17459. name: buyOrderID
  17460. type: integer
  17461. - description: 卖方委托单号
  17462. in: query
  17463. name: sellOrderID
  17464. type: integer
  17465. produces:
  17466. - application/json
  17467. responses:
  17468. "200":
  17469. description: OK
  17470. schema:
  17471. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  17472. "500":
  17473. description: Internal Server Error
  17474. schema:
  17475. $ref: '#/definitions/app.Response'
  17476. security:
  17477. - ApiKeyAuth: []
  17478. summary: 获取我的订单中待付款信息
  17479. tags:
  17480. - 定制【海商报业】
  17481. /HSBY/QueryMyUsedCoupon:
  17482. get:
  17483. parameters:
  17484. - description: 资金账户列表,格式:1,2,3
  17485. in: query
  17486. name: accountIDs
  17487. required: true
  17488. type: string
  17489. produces:
  17490. - application/json
  17491. responses:
  17492. "200":
  17493. description: OK
  17494. schema:
  17495. $ref: '#/definitions/models.MyUsedCoupon'
  17496. "500":
  17497. description: Internal Server Error
  17498. schema:
  17499. $ref: '#/definitions/app.Response'
  17500. security:
  17501. - ApiKeyAuth: []
  17502. summary: 已使用优惠卷查询
  17503. tags:
  17504. - 定制【海商报业】
  17505. /HSBY/QueryProvincesAndCities:
  17506. get:
  17507. description: 查询结果只包括二级市场商品已关连的省市信息。
  17508. parameters:
  17509. - description: 省ID
  17510. in: query
  17511. name: provinceID
  17512. type: integer
  17513. produces:
  17514. - application/json
  17515. responses:
  17516. "200":
  17517. description: OK
  17518. schema:
  17519. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17520. "500":
  17521. description: Internal Server Error
  17522. schema:
  17523. $ref: '#/definitions/app.Response'
  17524. security:
  17525. - ApiKeyAuth: []
  17526. summary: 查询省市信息(不包括区)
  17527. tags:
  17528. - 定制【海商报业】
  17529. /HSBY/SetHsbyMyPackagesStatus:
  17530. post:
  17531. parameters:
  17532. - description: 提货单号
  17533. in: query
  17534. name: takeOrderID
  17535. required: true
  17536. type: string
  17537. - description: 资金账号
  17538. in: query
  17539. name: accountID
  17540. required: true
  17541. type: integer
  17542. produces:
  17543. - application/json
  17544. responses:
  17545. "200":
  17546. description: OK
  17547. schema:
  17548. $ref: '#/definitions/app.Response'
  17549. "500":
  17550. description: Internal Server Error
  17551. schema:
  17552. $ref: '#/definitions/app.Response'
  17553. security:
  17554. - ApiKeyAuth: []
  17555. summary: 设置我的包裹已收货状态
  17556. tags:
  17557. - 定制【海商报业】
  17558. /Market/QueryGoodsesByLoginID:
  17559. get:
  17560. parameters:
  17561. - description: 登录账号
  17562. in: query
  17563. name: loginID
  17564. required: true
  17565. type: integer
  17566. - description: 市场ID列表,格式:1,2,3
  17567. in: query
  17568. name: marketIDs
  17569. type: string
  17570. produces:
  17571. - application/json
  17572. responses:
  17573. "200":
  17574. description: OK
  17575. schema:
  17576. $ref: '#/definitions/models.Goods'
  17577. "500":
  17578. description: Internal Server Error
  17579. schema:
  17580. $ref: '#/definitions/app.Response'
  17581. security:
  17582. - ApiKeyAuth: []
  17583. summary: 获取登录账号有权限的商品信息
  17584. tags:
  17585. - 通用市场
  17586. /Market/QueryMarketRun:
  17587. get:
  17588. parameters:
  17589. - description: 市场ID,不传返回所有
  17590. in: query
  17591. name: marketID
  17592. type: integer
  17593. produces:
  17594. - application/json
  17595. responses:
  17596. "200":
  17597. description: OK
  17598. schema:
  17599. $ref: '#/definitions/models.Marketrun'
  17600. "500":
  17601. description: Internal Server Error
  17602. schema:
  17603. $ref: '#/definitions/app.Response'
  17604. security:
  17605. - ApiKeyAuth: []
  17606. summary: 查询市场运行信息
  17607. tags:
  17608. - 通用市场
  17609. /Market/QueryMarketsByLoginID:
  17610. get:
  17611. parameters:
  17612. - description: 登录账号
  17613. in: query
  17614. name: loginID
  17615. required: true
  17616. type: integer
  17617. produces:
  17618. - application/json
  17619. responses:
  17620. "200":
  17621. description: OK
  17622. schema:
  17623. $ref: '#/definitions/models.Market'
  17624. "500":
  17625. description: Internal Server Error
  17626. schema:
  17627. $ref: '#/definitions/app.Response'
  17628. security:
  17629. - ApiKeyAuth: []
  17630. summary: 获取登录账号有权限的市场信息
  17631. tags:
  17632. - 通用市场
  17633. /Order/QueryHisTradeDetail:
  17634. get:
  17635. parameters:
  17636. - description: 资金账户 - 格式:1,2,3
  17637. in: query
  17638. name: accountID
  17639. required: true
  17640. type: string
  17641. - description: 成交单号
  17642. in: query
  17643. name: tradeID
  17644. type: integer
  17645. - description: 委托单号
  17646. in: query
  17647. name: orderID
  17648. type: integer
  17649. - description: 交易模式 - 格式:1,2,3
  17650. in: query
  17651. name: tradeMode
  17652. type: string
  17653. - description: 委托单据类型
  17654. in: query
  17655. name: buildType
  17656. type: integer
  17657. - description: 成交类别 - 格式:1,2,3
  17658. in: query
  17659. name: tradeType
  17660. type: string
  17661. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17662. in: query
  17663. name: startDate
  17664. type: string
  17665. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17666. in: query
  17667. name: endDate
  17668. type: string
  17669. produces:
  17670. - application/json
  17671. responses:
  17672. "200":
  17673. description: OK
  17674. schema:
  17675. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17676. "500":
  17677. description: Internal Server Error
  17678. schema:
  17679. $ref: '#/definitions/app.Response'
  17680. security:
  17681. - ApiKeyAuth: []
  17682. summary: 历史成交单查询(合约市场)
  17683. tags:
  17684. - 通用单据
  17685. /Order/QueryHisTradeOrderDetail:
  17686. get:
  17687. parameters:
  17688. - description: 资金账户 - 格式:1,2,3
  17689. in: query
  17690. name: accountID
  17691. required: true
  17692. type: string
  17693. - description: 交易模式 - 格式:1,2,3
  17694. in: query
  17695. name: tradeMode
  17696. type: string
  17697. - description: 委托状态 - 格式:1,2,3
  17698. in: query
  17699. name: orderStatus
  17700. type: string
  17701. - description: 委托单号
  17702. in: query
  17703. name: orderID
  17704. type: integer
  17705. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17706. in: query
  17707. name: startDate
  17708. type: string
  17709. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17710. in: query
  17711. name: endDate
  17712. type: string
  17713. produces:
  17714. - application/json
  17715. responses:
  17716. "200":
  17717. description: OK
  17718. schema:
  17719. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17720. "500":
  17721. description: Internal Server Error
  17722. schema:
  17723. $ref: '#/definitions/app.Response'
  17724. security:
  17725. - ApiKeyAuth: []
  17726. summary: 历史委托单查询请求(合约市场)
  17727. tags:
  17728. - 通用单据
  17729. /Order/QueryTradeDetail:
  17730. get:
  17731. parameters:
  17732. - description: 资金账户 - 格式:1,2,3
  17733. in: query
  17734. name: accountID
  17735. required: true
  17736. type: string
  17737. - description: 成交单号
  17738. in: query
  17739. name: tradeID
  17740. type: integer
  17741. - description: 委托单号
  17742. in: query
  17743. name: orderID
  17744. type: integer
  17745. - description: 交易模式 - 格式:1,2,3
  17746. in: query
  17747. name: tradeMode
  17748. type: string
  17749. - description: 委托单据类型
  17750. in: query
  17751. name: buildType
  17752. type: integer
  17753. - description: 成交类别 - 格式:1,2,3
  17754. in: query
  17755. name: tradeType
  17756. type: string
  17757. produces:
  17758. - application/json
  17759. responses:
  17760. "200":
  17761. description: OK
  17762. schema:
  17763. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17764. "500":
  17765. description: Internal Server Error
  17766. schema:
  17767. $ref: '#/definitions/app.Response'
  17768. security:
  17769. - ApiKeyAuth: []
  17770. summary: 成交单查询(合约市场)
  17771. tags:
  17772. - 通用单据
  17773. /Order/QueryTradeOrderDetail:
  17774. get:
  17775. parameters:
  17776. - description: 资金账户 - 格式:1,2,3
  17777. in: query
  17778. name: accountID
  17779. required: true
  17780. type: string
  17781. - description: 交易模式 - 格式:1,2,3
  17782. in: query
  17783. name: tradeMode
  17784. type: string
  17785. - description: 委托状态 - 格式:1,2,3
  17786. in: query
  17787. name: orderStatus
  17788. type: string
  17789. - description: 委托单号
  17790. in: query
  17791. name: orderID
  17792. type: integer
  17793. produces:
  17794. - application/json
  17795. responses:
  17796. "200":
  17797. description: OK
  17798. schema:
  17799. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17800. "500":
  17801. description: Internal Server Error
  17802. schema:
  17803. $ref: '#/definitions/app.Response'
  17804. security:
  17805. - ApiKeyAuth: []
  17806. summary: 委托单查询请求(合约市场)
  17807. tags:
  17808. - 通用单据
  17809. /Order/QueryTradePosition:
  17810. get:
  17811. parameters:
  17812. - description: 资金账户 - 格式:1,2,3
  17813. in: query
  17814. name: accountID
  17815. required: true
  17816. type: string
  17817. - description: 交易模式 - 格式:1,2,3
  17818. in: query
  17819. name: tradeMode
  17820. type: string
  17821. produces:
  17822. - application/json
  17823. responses:
  17824. "200":
  17825. description: OK
  17826. schema:
  17827. $ref: '#/definitions/order.QueryTradePositionRsp'
  17828. "500":
  17829. description: Internal Server Error
  17830. schema:
  17831. $ref: '#/definitions/app.Response'
  17832. security:
  17833. - ApiKeyAuth: []
  17834. summary: 持仓汇总查询(合约市场)
  17835. tags:
  17836. - 通用单据
  17837. /Qhj/QueryAccountInOutApply:
  17838. get:
  17839. parameters:
  17840. - description: 申请起始日期(格式yyyymmdd)
  17841. in: query
  17842. name: begindate
  17843. type: string
  17844. - description: 申请截止日期(格式yyyymmdd)
  17845. in: query
  17846. name: enddate
  17847. type: string
  17848. - description: 模糊搜索名称
  17849. in: query
  17850. name: likename
  17851. type: string
  17852. produces:
  17853. - application/json
  17854. responses:
  17855. "200":
  17856. description: OK
  17857. schema:
  17858. items:
  17859. $ref: '#/definitions/models.QhjAccountOutInApply'
  17860. type: array
  17861. "500":
  17862. description: Internal Server Error
  17863. schema:
  17864. $ref: '#/definitions/app.Response'
  17865. security:
  17866. - ApiKeyAuth: []
  17867. summary: 查询充值提现
  17868. tags:
  17869. - 大连千海金
  17870. /Qhj/QueryBankAccountSign:
  17871. get:
  17872. parameters:
  17873. - description: 用户ID
  17874. in: query
  17875. name: userid
  17876. required: true
  17877. type: integer
  17878. produces:
  17879. - application/json
  17880. responses:
  17881. "200":
  17882. description: OK
  17883. schema:
  17884. items:
  17885. $ref: '#/definitions/models.QhjBankAccountSign'
  17886. type: array
  17887. "500":
  17888. description: Internal Server Error
  17889. schema:
  17890. $ref: '#/definitions/app.Response'
  17891. security:
  17892. - ApiKeyAuth: []
  17893. summary: 查询签约银行信息(提现账户管理)
  17894. tags:
  17895. - 大连千海金
  17896. /Qhj/QueryBankInfo:
  17897. get:
  17898. produces:
  17899. - application/json
  17900. responses:
  17901. "200":
  17902. description: OK
  17903. schema:
  17904. items:
  17905. $ref: '#/definitions/models.QhjBankInfo'
  17906. type: array
  17907. "500":
  17908. description: Internal Server Error
  17909. schema:
  17910. $ref: '#/definitions/app.Response'
  17911. security:
  17912. - ApiKeyAuth: []
  17913. summary: 查询开户行
  17914. tags:
  17915. - 大连千海金
  17916. /Qhj/QueryContract:
  17917. get:
  17918. parameters:
  17919. - description: 用户ID
  17920. in: query
  17921. name: userid
  17922. required: true
  17923. type: integer
  17924. - description: scf合同id
  17925. in: query
  17926. name: scfcontractid
  17927. type: integer
  17928. produces:
  17929. - application/json
  17930. responses:
  17931. "200":
  17932. description: OK
  17933. schema:
  17934. items:
  17935. $ref: '#/definitions/models.QhjContract'
  17936. type: array
  17937. "500":
  17938. description: Internal Server Error
  17939. schema:
  17940. $ref: '#/definitions/app.Response'
  17941. security:
  17942. - ApiKeyAuth: []
  17943. summary: 查询融资明细(合同)
  17944. tags:
  17945. - 大连千海金
  17946. /Qhj/QueryContractLog:
  17947. get:
  17948. parameters:
  17949. - description: scf合同id
  17950. in: query
  17951. name: scfcontractid
  17952. required: true
  17953. type: integer
  17954. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17955. in: query
  17956. name: amounttype
  17957. type: string
  17958. produces:
  17959. - application/json
  17960. responses:
  17961. "200":
  17962. description: OK
  17963. schema:
  17964. items:
  17965. $ref: '#/definitions/models.QhjContractLog'
  17966. type: array
  17967. "500":
  17968. description: Internal Server Error
  17969. schema:
  17970. $ref: '#/definitions/app.Response'
  17971. security:
  17972. - ApiKeyAuth: []
  17973. summary: 查询融资明细流水(融资明细详情页中的流水)
  17974. tags:
  17975. - 大连千海金
  17976. /Qhj/QueryCusBankSignBank:
  17977. get:
  17978. produces:
  17979. - application/json
  17980. responses:
  17981. "200":
  17982. description: OK
  17983. schema:
  17984. items:
  17985. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17986. type: array
  17987. "500":
  17988. description: Internal Server Error
  17989. schema:
  17990. $ref: '#/definitions/app.Response'
  17991. security:
  17992. - ApiKeyAuth: []
  17993. summary: 查询托管银行
  17994. tags:
  17995. - 大连千海金
  17996. /Qhj/QueryCustomerInfo:
  17997. get:
  17998. parameters:
  17999. - description: 用户ID
  18000. in: query
  18001. name: userid
  18002. required: true
  18003. type: integer
  18004. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  18005. in: query
  18006. name: querytype
  18007. required: true
  18008. type: integer
  18009. - description: 客户类型 1-个人 2-企业
  18010. in: query
  18011. name: userinfotype
  18012. type: integer
  18013. - description: 客户名称(模糊匹配)
  18014. in: query
  18015. name: customername
  18016. type: string
  18017. - description: 昵称(模糊匹配)
  18018. in: query
  18019. name: nickname
  18020. type: string
  18021. - description: 是否包含子级 1-包含
  18022. in: query
  18023. name: includesub
  18024. type: integer
  18025. produces:
  18026. - application/json
  18027. responses:
  18028. "200":
  18029. description: OK
  18030. schema:
  18031. items:
  18032. $ref: '#/definitions/models.QhjCustomer'
  18033. type: array
  18034. "500":
  18035. description: Internal Server Error
  18036. schema:
  18037. $ref: '#/definitions/app.Response'
  18038. security:
  18039. - ApiKeyAuth: []
  18040. summary: 查询客户资料
  18041. tags:
  18042. - 大连千海金
  18043. /Qhj/QueryGoodsEx:
  18044. get:
  18045. parameters:
  18046. - description: 商品id
  18047. in: query
  18048. name: goodsid
  18049. type: integer
  18050. produces:
  18051. - application/json
  18052. responses:
  18053. "200":
  18054. description: OK
  18055. schema:
  18056. items:
  18057. $ref: '#/definitions/models.Qhjgoodsex'
  18058. type: array
  18059. "500":
  18060. description: Internal Server Error
  18061. schema:
  18062. $ref: '#/definitions/app.Response'
  18063. security:
  18064. - ApiKeyAuth: []
  18065. summary: 交易商品扩展表
  18066. tags:
  18067. - 大连千海金
  18068. /Qhj/QueryParentAreaList:
  18069. get:
  18070. parameters:
  18071. - description: 用户ID
  18072. in: query
  18073. name: userid
  18074. required: true
  18075. type: integer
  18076. produces:
  18077. - application/json
  18078. responses:
  18079. "200":
  18080. description: OK
  18081. schema:
  18082. items:
  18083. $ref: '#/definitions/models.QhjParentAreaList'
  18084. type: array
  18085. "500":
  18086. description: Internal Server Error
  18087. schema:
  18088. $ref: '#/definitions/app.Response'
  18089. security:
  18090. - ApiKeyAuth: []
  18091. summary: 查询所属机构列表
  18092. tags:
  18093. - 大连千海金
  18094. /Qhj/QueryPayOrder:
  18095. get:
  18096. parameters:
  18097. - description: 资金账号id
  18098. in: query
  18099. name: accountid
  18100. required: true
  18101. type: integer
  18102. - description: 成交单号
  18103. in: query
  18104. name: tradeid
  18105. type: integer
  18106. - description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  18107. in: query
  18108. name: payflag
  18109. type: integer
  18110. produces:
  18111. - application/json
  18112. responses:
  18113. "200":
  18114. description: OK
  18115. schema:
  18116. items:
  18117. $ref: '#/definitions/models.QhjPayOrder'
  18118. type: array
  18119. "500":
  18120. description: Internal Server Error
  18121. schema:
  18122. $ref: '#/definitions/app.Response'
  18123. security:
  18124. - ApiKeyAuth: []
  18125. summary: 查询待付款单据
  18126. tags:
  18127. - 大连千海金
  18128. /Qhj/QueryPickArea:
  18129. get:
  18130. parameters:
  18131. - description: 用户ID
  18132. in: query
  18133. name: userid
  18134. type: integer
  18135. produces:
  18136. - application/json
  18137. responses:
  18138. "200":
  18139. description: OK
  18140. schema:
  18141. items:
  18142. $ref: '#/definitions/models.QhjPickArea'
  18143. type: array
  18144. "500":
  18145. description: Internal Server Error
  18146. schema:
  18147. $ref: '#/definitions/app.Response'
  18148. security:
  18149. - ApiKeyAuth: []
  18150. summary: 查询提货门店
  18151. tags:
  18152. - 大连千海金
  18153. /Qhj/QueryPickGoods:
  18154. get:
  18155. parameters:
  18156. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  18157. in: query
  18158. name: status
  18159. type: string
  18160. produces:
  18161. - application/json
  18162. responses:
  18163. "200":
  18164. description: OK
  18165. schema:
  18166. items:
  18167. $ref: '#/definitions/models.QhjPickGoods'
  18168. type: array
  18169. "500":
  18170. description: Internal Server Error
  18171. schema:
  18172. $ref: '#/definitions/app.Response'
  18173. security:
  18174. - ApiKeyAuth: []
  18175. summary: 查询提货商品
  18176. tags:
  18177. - 大连千海金
  18178. /Qhj/QueryRSTriggerLog:
  18179. get:
  18180. parameters:
  18181. - description: 用户ID
  18182. in: query
  18183. name: userid
  18184. required: true
  18185. type: integer
  18186. - description: 定投策略id
  18187. in: query
  18188. name: regularlystrategyid
  18189. type: integer
  18190. produces:
  18191. - application/json
  18192. responses:
  18193. "200":
  18194. description: OK
  18195. schema:
  18196. items:
  18197. $ref: '#/definitions/models.QhjRSTriggerLog'
  18198. type: array
  18199. "500":
  18200. description: Internal Server Error
  18201. schema:
  18202. $ref: '#/definitions/app.Response'
  18203. security:
  18204. - ApiKeyAuth: []
  18205. summary: 查询定投记录(定投管理/详情/定投记录)
  18206. tags:
  18207. - 大连千海金
  18208. /Qhj/QueryRStrategy:
  18209. get:
  18210. parameters:
  18211. - description: 用户ID
  18212. in: query
  18213. name: userid
  18214. required: true
  18215. type: integer
  18216. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  18217. in: query
  18218. name: status
  18219. type: string
  18220. produces:
  18221. - application/json
  18222. responses:
  18223. "200":
  18224. description: OK
  18225. schema:
  18226. items:
  18227. $ref: '#/definitions/models.QhjRStrategy'
  18228. type: array
  18229. "500":
  18230. description: Internal Server Error
  18231. schema:
  18232. $ref: '#/definitions/app.Response'
  18233. security:
  18234. - ApiKeyAuth: []
  18235. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  18236. tags:
  18237. - 大连千海金
  18238. /Qhj/QueryReckonPriceLog:
  18239. get:
  18240. parameters:
  18241. - description: 商品ID
  18242. in: query
  18243. name: goodsid
  18244. type: integer
  18245. - description: 交易日 格式(yyyymmdd)
  18246. in: query
  18247. name: tradedate
  18248. type: string
  18249. produces:
  18250. - application/json
  18251. responses:
  18252. "200":
  18253. description: OK
  18254. schema:
  18255. items:
  18256. $ref: '#/definitions/models.QhjReckonPriceLog'
  18257. type: array
  18258. "500":
  18259. description: Internal Server Error
  18260. schema:
  18261. $ref: '#/definitions/app.Response'
  18262. security:
  18263. - ApiKeyAuth: []
  18264. summary: 查询定投价(结算价)
  18265. tags:
  18266. - 大连千海金
  18267. /Qhj/QuerySiteColumnDetail:
  18268. get:
  18269. parameters:
  18270. - description: 用户ID
  18271. in: query
  18272. name: userid
  18273. required: true
  18274. type: integer
  18275. produces:
  18276. - application/json
  18277. responses:
  18278. "200":
  18279. description: OK
  18280. schema:
  18281. items:
  18282. $ref: '#/definitions/models.QhjSiteColumnDetail'
  18283. type: array
  18284. "500":
  18285. description: Internal Server Error
  18286. schema:
  18287. $ref: '#/definitions/app.Response'
  18288. security:
  18289. - ApiKeyAuth: []
  18290. summary: 查询资讯
  18291. tags:
  18292. - 大连千海金
  18293. /Qhj/QueryTradeGoodsPickup:
  18294. get:
  18295. parameters:
  18296. - description: 用户ID
  18297. in: query
  18298. name: userid
  18299. required: true
  18300. type: integer
  18301. produces:
  18302. - application/json
  18303. responses:
  18304. "200":
  18305. description: OK
  18306. schema:
  18307. items:
  18308. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  18309. type: array
  18310. "500":
  18311. description: Internal Server Error
  18312. schema:
  18313. $ref: '#/definitions/app.Response'
  18314. security:
  18315. - ApiKeyAuth: []
  18316. summary: 查询提货
  18317. tags:
  18318. - 大连千海金
  18319. /Qhj/QueryUserCollectConfig:
  18320. get:
  18321. parameters:
  18322. - description: 用户ID
  18323. in: query
  18324. name: userid
  18325. required: true
  18326. type: integer
  18327. produces:
  18328. - application/json
  18329. responses:
  18330. "200":
  18331. description: OK
  18332. schema:
  18333. items:
  18334. $ref: '#/definitions/models.UserCollectConfig'
  18335. type: array
  18336. "500":
  18337. description: Internal Server Error
  18338. schema:
  18339. $ref: '#/definitions/app.Response'
  18340. security:
  18341. - ApiKeyAuth: []
  18342. summary: 查询提现账户设置
  18343. tags:
  18344. - 大连千海金
  18345. /Qhj/QueryUserReceiveInfo:
  18346. get:
  18347. parameters:
  18348. - description: 用户ID
  18349. in: query
  18350. name: userid
  18351. required: true
  18352. type: integer
  18353. produces:
  18354. - application/json
  18355. responses:
  18356. "200":
  18357. description: OK
  18358. schema:
  18359. items:
  18360. $ref: '#/definitions/models.UserReceiveInfo'
  18361. type: array
  18362. "500":
  18363. description: Internal Server Error
  18364. schema:
  18365. $ref: '#/definitions/app.Response'
  18366. security:
  18367. - ApiKeyAuth: []
  18368. summary: 查询收货地址信息
  18369. tags:
  18370. - 大连千海金
  18371. /Quote/QueryHistoryDatas:
  18372. get:
  18373. parameters:
  18374. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  18375. 日线'
  18376. in: query
  18377. name: cycleType
  18378. required: true
  18379. type: integer
  18380. - description: 商品代码
  18381. in: query
  18382. name: goodsCode
  18383. required: true
  18384. type: string
  18385. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18386. in: query
  18387. name: startTime
  18388. type: string
  18389. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18390. in: query
  18391. name: endTime
  18392. type: string
  18393. - description: 条数
  18394. in: query
  18395. name: count
  18396. type: integer
  18397. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18398. in: query
  18399. name: isAsc
  18400. type: boolean
  18401. produces:
  18402. - application/json
  18403. responses:
  18404. "200":
  18405. description: OK
  18406. schema:
  18407. $ref: '#/definitions/quote.HistoryData'
  18408. "500":
  18409. description: Internal Server Error
  18410. schema:
  18411. $ref: '#/definitions/app.Response'
  18412. security:
  18413. - ApiKeyAuth: []
  18414. summary: 查询行情历史数据
  18415. tags:
  18416. - 行情服务
  18417. /Quote/QueryHistoryTikDatas:
  18418. get:
  18419. parameters:
  18420. - description: 商品代码
  18421. in: query
  18422. name: goodsCode
  18423. required: true
  18424. type: string
  18425. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  18426. in: query
  18427. name: startTime
  18428. type: string
  18429. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  18430. in: query
  18431. name: endTime
  18432. type: string
  18433. - description: 条数
  18434. in: query
  18435. name: count
  18436. type: integer
  18437. - description: 是否按时间顺序排序(默认为时间倒序排序)
  18438. in: query
  18439. name: isAsc
  18440. type: boolean
  18441. produces:
  18442. - application/json
  18443. responses:
  18444. "200":
  18445. description: OK
  18446. schema:
  18447. $ref: '#/definitions/quote.HistoryTikData'
  18448. "500":
  18449. description: Internal Server Error
  18450. schema:
  18451. $ref: '#/definitions/app.Response'
  18452. security:
  18453. - ApiKeyAuth: []
  18454. summary: 查询行情Tik数据
  18455. tags:
  18456. - 行情服务
  18457. /Quote/QueryQuoteDay:
  18458. get:
  18459. parameters:
  18460. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  18461. in: query
  18462. name: goodsCodes
  18463. required: true
  18464. type: string
  18465. produces:
  18466. - application/json
  18467. responses:
  18468. "200":
  18469. description: OK
  18470. schema:
  18471. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  18472. "500":
  18473. description: Internal Server Error
  18474. schema:
  18475. $ref: '#/definitions/app.Response'
  18476. security:
  18477. - ApiKeyAuth: []
  18478. summary: 获取商品盘面信息
  18479. tags:
  18480. - 行情服务
  18481. /Quote/QueryTSData:
  18482. get:
  18483. parameters:
  18484. - description: 商品代码
  18485. in: query
  18486. name: goodsCode
  18487. required: true
  18488. type: string
  18489. produces:
  18490. - application/json
  18491. responses:
  18492. "200":
  18493. description: OK
  18494. schema:
  18495. $ref: '#/definitions/quote.QueryTSDataRsp'
  18496. "500":
  18497. description: Internal Server Error
  18498. schema:
  18499. $ref: '#/definitions/app.Response'
  18500. security:
  18501. - ApiKeyAuth: []
  18502. summary: 分时图数据查询
  18503. tags:
  18504. - 行情服务
  18505. /SZDZ/QueryConvertConfig:
  18506. get:
  18507. parameters:
  18508. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18509. 6:交易转花生米(不设置)
  18510. in: query
  18511. name: convertType
  18512. type: integer
  18513. - description: 外部商品代码[JD\PD]
  18514. in: query
  18515. name: outerGoodsCode
  18516. type: string
  18517. - description: 内部商品ID列表[交易],格式:1,2,3
  18518. in: query
  18519. name: innerGoodsIDs
  18520. type: string
  18521. produces:
  18522. - application/json
  18523. responses:
  18524. "200":
  18525. description: OK
  18526. schema:
  18527. $ref: '#/definitions/models.Szdz3convertconfig'
  18528. "500":
  18529. description: Internal Server Error
  18530. schema:
  18531. $ref: '#/definitions/app.Response'
  18532. security:
  18533. - ApiKeyAuth: []
  18534. summary: 查询交易系统转换设置
  18535. tags:
  18536. - 定制【尚志大宗】
  18537. /SZDZ/QueryConvertLog:
  18538. get:
  18539. parameters:
  18540. - description: 资金账户 - 格式:1,2,3
  18541. in: query
  18542. name: accountID
  18543. required: true
  18544. type: string
  18545. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18546. in: query
  18547. name: startDate
  18548. type: string
  18549. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18550. in: query
  18551. name: endDate
  18552. type: string
  18553. produces:
  18554. - application/json
  18555. responses:
  18556. "200":
  18557. description: OK
  18558. schema:
  18559. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  18560. "500":
  18561. description: Internal Server Error
  18562. schema:
  18563. $ref: '#/definitions/app.Response'
  18564. security:
  18565. - ApiKeyAuth: []
  18566. summary: 交易系统转换流水查询
  18567. tags:
  18568. - 定制【尚志大宗】
  18569. /SZDZ/QueryGoodsPickup:
  18570. get:
  18571. parameters:
  18572. - description: 资金账户 - 格式:1,2,3
  18573. in: query
  18574. name: accountID
  18575. required: true
  18576. type: string
  18577. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18578. in: query
  18579. name: takeOrderStatus
  18580. type: integer
  18581. produces:
  18582. - application/json
  18583. responses:
  18584. "200":
  18585. description: OK
  18586. schema:
  18587. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  18588. "500":
  18589. description: Internal Server Error
  18590. schema:
  18591. $ref: '#/definitions/app.Response'
  18592. security:
  18593. - ApiKeyAuth: []
  18594. summary: 商品提货单查询
  18595. tags:
  18596. - 定制【尚志大宗】
  18597. /SZDZ/QueryRecieptOrder:
  18598. get:
  18599. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18600. parameters:
  18601. - description: 页码
  18602. in: query
  18603. name: page
  18604. type: integer
  18605. - description: 每页条数
  18606. in: query
  18607. name: pagesize
  18608. type: integer
  18609. - description: 商品ID
  18610. in: query
  18611. name: goodsID
  18612. required: true
  18613. type: integer
  18614. - description: 所属账户名称
  18615. in: query
  18616. name: accountName
  18617. type: string
  18618. - description: 市场ID
  18619. in: query
  18620. name: marketID
  18621. type: integer
  18622. - description: 方向 - 0:买 1:卖
  18623. in: query
  18624. name: buyorsell
  18625. required: true
  18626. type: integer
  18627. produces:
  18628. - application/json
  18629. responses:
  18630. "200":
  18631. description: OK
  18632. schema:
  18633. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18634. "500":
  18635. description: Internal Server Error
  18636. schema:
  18637. $ref: '#/definitions/app.Response'
  18638. security:
  18639. - ApiKeyAuth: []
  18640. summary: 点选挂牌委托单据查询(摘牌大厅)
  18641. tags:
  18642. - 定制【尚志大宗】
  18643. /SZDZ/QuerySZDZTradePosition:
  18644. get:
  18645. parameters:
  18646. - description: 资金账户
  18647. in: query
  18648. name: accountID
  18649. required: true
  18650. type: integer
  18651. produces:
  18652. - application/json
  18653. responses:
  18654. "200":
  18655. description: OK
  18656. schema:
  18657. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18658. "500":
  18659. description: Internal Server Error
  18660. schema:
  18661. $ref: '#/definitions/app.Response'
  18662. security:
  18663. - ApiKeyAuth: []
  18664. summary: 持仓汇总查询(尚志大宗)
  18665. tags:
  18666. - 定制【尚志大宗】
  18667. /SZDZ/SearchWhite:
  18668. get:
  18669. parameters:
  18670. - description: 用户ID
  18671. in: query
  18672. name: userID
  18673. required: true
  18674. type: integer
  18675. produces:
  18676. - application/json
  18677. responses:
  18678. "200":
  18679. description: OK
  18680. schema:
  18681. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18682. "500":
  18683. description: Internal Server Error
  18684. schema:
  18685. $ref: '#/definitions/app.Response'
  18686. security:
  18687. - ApiKeyAuth: []
  18688. summary: 搜索白名单
  18689. tags:
  18690. - 定制【尚志大宗】
  18691. /Search/SearchGoodses:
  18692. get:
  18693. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18694. parameters:
  18695. - description: 检索内容
  18696. in: query
  18697. name: content
  18698. required: true
  18699. type: string
  18700. - description: 交易模式,格式:1,2,3
  18701. in: query
  18702. name: tradeModes
  18703. type: string
  18704. produces:
  18705. - application/json
  18706. responses:
  18707. "200":
  18708. description: OK
  18709. schema:
  18710. $ref: '#/definitions/models.SearchGoods'
  18711. "500":
  18712. description: Internal Server Error
  18713. schema:
  18714. $ref: '#/definitions/app.Response'
  18715. summary: 检索商品信息
  18716. tags:
  18717. - 检索服务
  18718. /TaAccount/GetTaAccounts:
  18719. get:
  18720. parameters:
  18721. - description: 登录账户
  18722. in: query
  18723. name: loginID
  18724. required: true
  18725. type: integer
  18726. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18727. in: query
  18728. name: taAccountType
  18729. type: integer
  18730. produces:
  18731. - application/json
  18732. responses:
  18733. "200":
  18734. description: OK
  18735. schema:
  18736. $ref: '#/definitions/models.Taaccount'
  18737. "500":
  18738. description: Internal Server Error
  18739. schema:
  18740. $ref: '#/definitions/app.Response'
  18741. security:
  18742. - ApiKeyAuth: []
  18743. summary: 获取资金账户信息
  18744. tags:
  18745. - 资金账户
  18746. /TaAccount/QueryAmountLog:
  18747. get:
  18748. parameters:
  18749. - description: 页码
  18750. in: query
  18751. name: page
  18752. type: integer
  18753. - description: 每页条数
  18754. in: query
  18755. name: pagesize
  18756. type: integer
  18757. - description: 资金账户 - 格式:1,2,3
  18758. in: query
  18759. name: accountID
  18760. required: true
  18761. type: string
  18762. - description: 资金操作类型 - 格式:1,2,3
  18763. in: query
  18764. name: OperateType
  18765. type: string
  18766. produces:
  18767. - application/json
  18768. responses:
  18769. "200":
  18770. description: OK
  18771. schema:
  18772. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18773. "500":
  18774. description: Internal Server Error
  18775. schema:
  18776. $ref: '#/definitions/app.Response'
  18777. security:
  18778. - ApiKeyAuth: []
  18779. summary: 资金流水查询(当前)
  18780. tags:
  18781. - 资金账户
  18782. /TaAccount/QueryHisAmountLog:
  18783. get:
  18784. parameters:
  18785. - description: 页码
  18786. in: query
  18787. name: page
  18788. type: integer
  18789. - description: 每页条数
  18790. in: query
  18791. name: pagesize
  18792. type: integer
  18793. - description: 资金账户 - 格式:1,2,3
  18794. in: query
  18795. name: accountID
  18796. required: true
  18797. type: string
  18798. - description: 资金操作类型 - 格式:1,2,3
  18799. in: query
  18800. name: OperateType
  18801. type: string
  18802. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18803. in: query
  18804. name: startDate
  18805. type: string
  18806. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18807. in: query
  18808. name: endDate
  18809. type: string
  18810. produces:
  18811. - application/json
  18812. responses:
  18813. "200":
  18814. description: OK
  18815. schema:
  18816. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18817. "500":
  18818. description: Internal Server Error
  18819. schema:
  18820. $ref: '#/definitions/app.Response'
  18821. security:
  18822. - ApiKeyAuth: []
  18823. summary: 资金流水查询(历史)
  18824. tags:
  18825. - 资金账户
  18826. /Trade/QueryRecieptOrder:
  18827. get:
  18828. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18829. parameters:
  18830. - description: 页码
  18831. in: query
  18832. name: page
  18833. type: integer
  18834. - description: 每页条数
  18835. in: query
  18836. name: pagesize
  18837. type: integer
  18838. - description: 商品ID
  18839. in: query
  18840. name: goodsID
  18841. required: true
  18842. type: integer
  18843. - description: 所属账户名称
  18844. in: query
  18845. name: accountName
  18846. type: string
  18847. - description: 市场ID
  18848. in: query
  18849. name: marketID
  18850. type: integer
  18851. - description: 方向 - 0:买 1:卖
  18852. in: query
  18853. name: buyorsell
  18854. required: true
  18855. type: integer
  18856. produces:
  18857. - application/json
  18858. responses:
  18859. "200":
  18860. description: OK
  18861. schema:
  18862. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18863. "500":
  18864. description: Internal Server Error
  18865. schema:
  18866. $ref: '#/definitions/app.Response'
  18867. security:
  18868. - ApiKeyAuth: []
  18869. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18870. tags:
  18871. - 通用交易
  18872. /User/AddMessageBoard:
  18873. post:
  18874. parameters:
  18875. - description: 用户ID
  18876. in: query
  18877. name: userID
  18878. required: true
  18879. type: integer
  18880. - description: 留言信息
  18881. in: query
  18882. name: message
  18883. required: true
  18884. type: string
  18885. - description: 联系电话
  18886. in: query
  18887. name: contactNum
  18888. required: true
  18889. type: string
  18890. produces:
  18891. - application/json
  18892. responses:
  18893. "200":
  18894. description: OK
  18895. schema:
  18896. $ref: '#/definitions/app.Response'
  18897. "500":
  18898. description: Internal Server Error
  18899. schema:
  18900. $ref: '#/definitions/app.Response'
  18901. security:
  18902. - ApiKeyAuth: []
  18903. summary: 添加用户留言板信息
  18904. tags:
  18905. - 用户信息
  18906. /User/AddUserFavoriteGoods:
  18907. post:
  18908. parameters:
  18909. - description: 用户ID
  18910. in: query
  18911. name: userID
  18912. required: true
  18913. type: integer
  18914. - description: 商品ID
  18915. in: query
  18916. name: goodsID
  18917. required: true
  18918. type: integer
  18919. produces:
  18920. - application/json
  18921. responses:
  18922. "200":
  18923. description: OK
  18924. schema:
  18925. $ref: '#/definitions/app.Response'
  18926. "500":
  18927. description: Internal Server Error
  18928. schema:
  18929. $ref: '#/definitions/app.Response'
  18930. security:
  18931. - ApiKeyAuth: []
  18932. summary: 添加用户商品收藏信息
  18933. tags:
  18934. - 用户信息
  18935. /User/GetLoginID:
  18936. get:
  18937. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18938. parameters:
  18939. - description: 登录代码
  18940. in: query
  18941. name: username
  18942. required: true
  18943. type: string
  18944. produces:
  18945. - application/json
  18946. responses:
  18947. "200":
  18948. description: OK
  18949. schema:
  18950. $ref: '#/definitions/app.Response'
  18951. "500":
  18952. description: Internal Server Error
  18953. schema:
  18954. $ref: '#/definitions/app.Response'
  18955. summary: 获取登录ID
  18956. tags:
  18957. - 用户信息
  18958. /User/GetUserAccount:
  18959. get:
  18960. parameters:
  18961. - description: 用户ID
  18962. in: query
  18963. name: userID
  18964. required: true
  18965. type: integer
  18966. produces:
  18967. - application/json
  18968. responses:
  18969. "200":
  18970. description: OK
  18971. schema:
  18972. $ref: '#/definitions/models.Useraccount'
  18973. "500":
  18974. description: Internal Server Error
  18975. schema:
  18976. $ref: '#/definitions/app.Response'
  18977. security:
  18978. - ApiKeyAuth: []
  18979. summary: 获取用户账号信息
  18980. tags:
  18981. - 用户信息
  18982. /User/GetUserAuthStatus:
  18983. get:
  18984. parameters:
  18985. - description: 用户ID
  18986. in: query
  18987. name: userID
  18988. required: true
  18989. type: integer
  18990. produces:
  18991. - application/json
  18992. responses:
  18993. "200":
  18994. description: OK
  18995. schema:
  18996. $ref: '#/definitions/app.Response'
  18997. "500":
  18998. description: Internal Server Error
  18999. schema:
  19000. $ref: '#/definitions/app.Response'
  19001. security:
  19002. - ApiKeyAuth: []
  19003. summary: 获取用户实名认证状态
  19004. tags:
  19005. - 用户信息
  19006. /User/LoginQuery:
  19007. get:
  19008. parameters:
  19009. - description: 登录账号
  19010. in: query
  19011. name: loginID
  19012. required: true
  19013. type: integer
  19014. produces:
  19015. - application/json
  19016. responses:
  19017. "200":
  19018. description: OK
  19019. schema:
  19020. $ref: '#/definitions/user.LoginQueryRsp'
  19021. "500":
  19022. description: Internal Server Error
  19023. schema:
  19024. $ref: '#/definitions/app.Response'
  19025. security:
  19026. - ApiKeyAuth: []
  19027. summary: 账户登录后信息查询
  19028. tags:
  19029. - 用户信息
  19030. /User/QueryMessageBoard:
  19031. get:
  19032. parameters:
  19033. - description: 用户ID
  19034. in: query
  19035. name: userID
  19036. required: true
  19037. type: integer
  19038. produces:
  19039. - application/json
  19040. responses:
  19041. "200":
  19042. description: OK
  19043. schema:
  19044. $ref: '#/definitions/models.Messageboard'
  19045. "500":
  19046. description: Internal Server Error
  19047. schema:
  19048. $ref: '#/definitions/app.Response'
  19049. security:
  19050. - ApiKeyAuth: []
  19051. summary: 获取用户留言板信息
  19052. tags:
  19053. - 用户信息
  19054. /User/QueryUserFavoriteGoodses:
  19055. get:
  19056. parameters:
  19057. - description: 用户ID
  19058. in: query
  19059. name: userID
  19060. required: true
  19061. type: integer
  19062. produces:
  19063. - application/json
  19064. responses:
  19065. "200":
  19066. description: OK
  19067. schema:
  19068. $ref: '#/definitions/models.Userfavoritegoods'
  19069. "500":
  19070. description: Internal Server Error
  19071. schema:
  19072. $ref: '#/definitions/app.Response'
  19073. security:
  19074. - ApiKeyAuth: []
  19075. summary: 获取用户商品收藏信息
  19076. tags:
  19077. - 用户信息
  19078. /User/QueryUserInfo:
  19079. get:
  19080. parameters:
  19081. - description: 用户ID
  19082. in: query
  19083. name: userID
  19084. required: true
  19085. type: integer
  19086. - description: 是否解密
  19087. in: query
  19088. name: isDecrypt
  19089. type: boolean
  19090. produces:
  19091. - application/json
  19092. responses:
  19093. "200":
  19094. description: OK
  19095. schema:
  19096. $ref: '#/definitions/models.Userinfo'
  19097. "500":
  19098. description: Internal Server Error
  19099. schema:
  19100. $ref: '#/definitions/app.Response'
  19101. security:
  19102. - ApiKeyAuth: []
  19103. summary: 获取用户信息
  19104. tags:
  19105. - 用户信息
  19106. /User/QueryUserReferNum:
  19107. get:
  19108. parameters:
  19109. - description: 用户ID
  19110. in: query
  19111. name: userID
  19112. required: true
  19113. type: integer
  19114. produces:
  19115. - application/json
  19116. responses:
  19117. "200":
  19118. description: OK
  19119. schema:
  19120. $ref: '#/definitions/app.Response'
  19121. "500":
  19122. description: Internal Server Error
  19123. schema:
  19124. $ref: '#/definitions/app.Response'
  19125. summary: 获取用户邀请码
  19126. tags:
  19127. - 用户信息
  19128. /User/RemoveUserFavoriteGoods:
  19129. post:
  19130. parameters:
  19131. - description: 用户ID
  19132. in: query
  19133. name: userID
  19134. required: true
  19135. type: integer
  19136. - description: 商品ID
  19137. in: query
  19138. name: goodsID
  19139. required: true
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. $ref: '#/definitions/app.Response'
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. security:
  19153. - ApiKeyAuth: []
  19154. summary: 移除用户商品收藏信息
  19155. tags:
  19156. - 用户信息
  19157. /User/UpdateUserAccountStatus:
  19158. post:
  19159. parameters:
  19160. - description: 用户ID
  19161. in: query
  19162. name: userID
  19163. required: true
  19164. type: integer
  19165. - description: 账户状态 - 4:正常 6:注销(停用)
  19166. in: query
  19167. name: accountStatus
  19168. required: true
  19169. type: integer
  19170. produces:
  19171. - application/json
  19172. responses:
  19173. "200":
  19174. description: OK
  19175. schema:
  19176. $ref: '#/definitions/app.Response'
  19177. "500":
  19178. description: Internal Server Error
  19179. schema:
  19180. $ref: '#/definitions/app.Response'
  19181. security:
  19182. - ApiKeyAuth: []
  19183. summary: 更新用户状态
  19184. tags:
  19185. - 用户信息
  19186. /WRTrade/GetAllDeliveryGoods:
  19187. get:
  19188. produces:
  19189. - application/json
  19190. - application/json
  19191. responses:
  19192. "200":
  19193. description: OK
  19194. schema:
  19195. $ref: '#/definitions/app.Response'
  19196. "500":
  19197. description: Internal Server Error
  19198. schema:
  19199. $ref: '#/definitions/app.Response'
  19200. security:
  19201. - ApiKeyAuth: []
  19202. - ApiKeyAuth: []
  19203. summary: 获取带仓单分类的种类信息
  19204. tags:
  19205. - 仓单贸易
  19206. - 仓单贸易
  19207. securityDefinitions:
  19208. ApiKeyAuth:
  19209. in: header
  19210. name: Authorization
  19211. type: apiKey
  19212. swagger: "2.0"