swagger.yaml 512 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612
  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. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. accountname:
  3673. description: 机构名称
  3674. type: string
  3675. areauserid:
  3676. description: 所属机构\交易用户ID
  3677. type: integer
  3678. begindate:
  3679. description: 开始交易日
  3680. type: string
  3681. currencyid:
  3682. description: 结算币种ID
  3683. type: integer
  3684. currencyname:
  3685. description: 币种名称
  3686. type: string
  3687. cycletime:
  3688. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3689. type: string
  3690. cycletype:
  3691. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3692. type: integer
  3693. enddate:
  3694. description: 结束交易日
  3695. type: string
  3696. enumdicname:
  3697. description: 单位名称(套保品种)
  3698. type: string
  3699. futureactualpl:
  3700. description: 期货损益
  3701. type: number
  3702. futurefloatpl:
  3703. description: 期货浮动损益
  3704. type: number
  3705. goodsunitid:
  3706. description: 套保品种单位id
  3707. type: integer
  3708. middlegoodscode:
  3709. description: 套保品种代码
  3710. type: string
  3711. middlegoodsid:
  3712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3713. type: integer
  3714. middlegoodsname:
  3715. description: 套保品种名称
  3716. type: string
  3717. reckondate:
  3718. description: 日照时期(yyyyMMdd)
  3719. type: string
  3720. spotactualpl:
  3721. description: 现货损益
  3722. type: number
  3723. spotfloatpl:
  3724. description: 现货浮动损益
  3725. type: number
  3726. sumactualpl:
  3727. description: 实际损益 = (ActualPL + FutureActualPL)
  3728. type: number
  3729. sumpl:
  3730. description: 汇总损益
  3731. type: number
  3732. updatetime:
  3733. description: 更新时间
  3734. type: string
  3735. type: object
  3736. models.Ermcp3Brand:
  3737. properties:
  3738. areauserid:
  3739. description: 用户id
  3740. type: integer
  3741. brandid:
  3742. description: 品牌id
  3743. type: integer
  3744. brandname:
  3745. description: 品牌名称
  3746. type: string
  3747. deliverygoodsid:
  3748. description: 品种ID
  3749. type: integer
  3750. type: object
  3751. models.Ermcp3Contract:
  3752. properties:
  3753. accountid:
  3754. description: 期货账户id
  3755. type: string
  3756. amount:
  3757. description: 金额 [1:一口价、3:暂定价]
  3758. type: number
  3759. attachment:
  3760. description: 附件
  3761. type: string
  3762. auditremark:
  3763. description: 审核意见
  3764. type: string
  3765. audittime:
  3766. description: 审核时间
  3767. type: string
  3768. biztype:
  3769. description: 业务类型 1-套保 2-套利
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. buynickname:
  3775. description: 销售方昵称
  3776. type: string
  3777. buyuserid:
  3778. description: 采购方ID
  3779. type: integer
  3780. buyusername:
  3781. description: 采购方名称
  3782. type: string
  3783. contracctstatus:
  3784. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. contractmargin:
  3787. description: 合同保证金
  3788. type: number
  3789. contractno:
  3790. description: 现货合同编号
  3791. type: string
  3792. contracttype:
  3793. description: 现货合同类型 - 1:采购 -1:销售
  3794. type: integer
  3795. convertfactor:
  3796. description: 标仓系数(品类)
  3797. type: number
  3798. createtime:
  3799. description: 创建时间
  3800. type: string
  3801. currencyid:
  3802. description: 币种id
  3803. type: integer
  3804. currencyname:
  3805. description: 币种名称
  3806. type: string
  3807. deliveryenddate:
  3808. description: 交收期(结束)
  3809. type: string
  3810. deliverygoodscode:
  3811. description: 现货品种代码
  3812. type: string
  3813. deliverygoodsid:
  3814. description: 现货品种ID
  3815. type: integer
  3816. deliverygoodsname:
  3817. description: 现货品种名称
  3818. type: string
  3819. deliverystartdate:
  3820. description: 交收期(开始)
  3821. type: string
  3822. enddate:
  3823. description: 点价结束日期 [2:点价 3:暂定价]
  3824. type: string
  3825. enumdicname:
  3826. description: 单位名称
  3827. type: string
  3828. goodscode:
  3829. description: 点价合约代码
  3830. type: string
  3831. goodsid:
  3832. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3833. type: integer
  3834. goodsname:
  3835. description: 点价商品名称
  3836. type: string
  3837. margin:
  3838. description: 当前保证金
  3839. type: number
  3840. meruserid:
  3841. description: 跟单员id
  3842. type: integer
  3843. meruserlogincode:
  3844. description: 跟单员登录代码
  3845. type: string
  3846. price:
  3847. description: 价格\暂定价 [1:一口价、3:暂定价]
  3848. type: number
  3849. pricemove:
  3850. description: 升贴水 [2:点价 3:暂定价]
  3851. type: number
  3852. pricetype:
  3853. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3854. type: integer
  3855. producttype:
  3856. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3857. type: integer
  3858. qty:
  3859. description: 数量
  3860. type: number
  3861. remark:
  3862. description: 备注
  3863. type: string
  3864. saleuserid:
  3865. description: 业务员id
  3866. type: integer
  3867. saleuserlogincode:
  3868. description: 业务员登录代码
  3869. type: string
  3870. sellnickname:
  3871. description: 采购方昵称
  3872. type: string
  3873. selluserid:
  3874. description: 销售方ID
  3875. type: integer
  3876. sellusername:
  3877. description: 销售方名称
  3878. type: string
  3879. spotcontractid:
  3880. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3881. type: string
  3882. spotgoodsbrandid:
  3883. description: 现货品牌ID(DGFactoryItem表的ID)
  3884. type: integer
  3885. spotgoodsdesc:
  3886. description: 商品型号
  3887. type: string
  3888. startdate:
  3889. description: 点价开始日期 [2:点价 3:暂定价]
  3890. type: string
  3891. tradeuserid:
  3892. description: 交易员id
  3893. type: integer
  3894. tradeuserlogincode:
  3895. description: 交易员登录代码
  3896. type: string
  3897. tradeusername:
  3898. description: 交易员名称
  3899. type: string
  3900. unitid:
  3901. description: 单位id(取品类上的单位id)
  3902. type: integer
  3903. updatetime:
  3904. description: 更新时间
  3905. type: string
  3906. userid:
  3907. description: 所属机构ID
  3908. type: integer
  3909. wrstandardcode:
  3910. description: 品类代码
  3911. type: string
  3912. wrstandardid:
  3913. description: 品类ID
  3914. type: integer
  3915. wrstandardname:
  3916. description: 品类名称
  3917. type: string
  3918. type: object
  3919. models.Ermcp3ExposureContractDetail:
  3920. properties:
  3921. biztype:
  3922. description: 业务类型 1-套保 2-套利
  3923. type: integer
  3924. brandname:
  3925. description: 品牌名称
  3926. type: string
  3927. buyuserid:
  3928. description: 采购方id
  3929. type: integer
  3930. buyusername:
  3931. description: 采购方名称
  3932. type: string
  3933. contractno:
  3934. description: 合同编号
  3935. type: string
  3936. contracttype:
  3937. description: 现货合同类型 - 1:采购 -1:销售
  3938. type: integer
  3939. convertratio:
  3940. description: 折算系数(套保品种)
  3941. type: number
  3942. curqty:
  3943. description: 今定价量
  3944. type: number
  3945. deliverygoodscode:
  3946. description: 现货商品代码
  3947. type: string
  3948. deliverygoodsid:
  3949. description: 现货商品id
  3950. type: integer
  3951. deliverygoodsname:
  3952. description: 现货商品名称
  3953. type: string
  3954. diffqty:
  3955. description: 套保品种今变动量
  3956. type: number
  3957. enumdicname:
  3958. description: 单位名称
  3959. type: string
  3960. middlegoodscode:
  3961. description: 套保品种代码
  3962. type: string
  3963. middlegoodsid:
  3964. description: 套保品种id
  3965. type: integer
  3966. middlegoodsname:
  3967. description: 套保品种名称
  3968. type: string
  3969. needarbitrageratio:
  3970. description: 应套利比例
  3971. type: number
  3972. needhedgeratio:
  3973. description: 应套保比例
  3974. type: number
  3975. pricedqty:
  3976. description: 已定价量
  3977. type: number
  3978. qty:
  3979. description: 合同量
  3980. type: number
  3981. selluserid:
  3982. description: 销售方id
  3983. type: integer
  3984. sellusername:
  3985. description: 销售方名称
  3986. type: string
  3987. spotcontractid:
  3988. description: 合同id
  3989. type: string
  3990. tradedate:
  3991. description: 交易日
  3992. type: string
  3993. unitid:
  3994. description: 品类单位id
  3995. type: integer
  3996. userid:
  3997. description: 机构id
  3998. type: integer
  3999. wrstandardcode:
  4000. description: 品类代码
  4001. type: string
  4002. wrstandardid:
  4003. description: 品类id
  4004. type: integer
  4005. wrstandardname:
  4006. description: 品类名称
  4007. type: string
  4008. type: object
  4009. models.Ermcp3ExposureDetail:
  4010. properties:
  4011. areauserid:
  4012. description: 机构ID
  4013. type: integer
  4014. changeQty:
  4015. description: 套保变动量
  4016. type: number
  4017. contracttype:
  4018. description: 现货合同类型 - 1:采购 -1:销售
  4019. type: integer
  4020. convertfactor:
  4021. description: 标仓系数
  4022. type: number
  4023. convertratio:
  4024. description: 套保系数
  4025. type: number
  4026. createtime:
  4027. description: 时间
  4028. type: string
  4029. deliverygoodscode:
  4030. description: 现货品种代码
  4031. type: string
  4032. deliverygoodsid:
  4033. description: 现货品种id
  4034. type: integer
  4035. deliverygoodsname:
  4036. description: 现货品种名称
  4037. type: string
  4038. enumdicname:
  4039. description: 现货商品单位名称
  4040. type: string
  4041. logtype:
  4042. description: 类型 - 1:套保计划 2:现货合同
  4043. type: integer
  4044. mgunitid:
  4045. description: 套保品种单位id
  4046. type: integer
  4047. mgunitidname:
  4048. description: 套保品种单位名称
  4049. type: string
  4050. middlegoodsId:
  4051. description: 套保商品id
  4052. type: integer
  4053. middlegoodscode:
  4054. description: 套保商品代码
  4055. type: string
  4056. middlegoodsname:
  4057. description: 套保商品名称
  4058. type: string
  4059. qty:
  4060. description: 数量
  4061. type: number
  4062. relateNo:
  4063. description: 现货合同/套保计划编号
  4064. type: string
  4065. type: object
  4066. models.Ermcp3ExposureHedgeplanDetail:
  4067. properties:
  4068. biztype:
  4069. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4070. type: integer
  4071. changqty:
  4072. description: 应套保总量变化量
  4073. type: number
  4074. contracttype:
  4075. description: 计划类型 - 1:采购 -1:销售
  4076. type: integer
  4077. convertratio:
  4078. description: 折算系数(套保品种)
  4079. type: number
  4080. deliverygoodscode:
  4081. description: 现货商品代码
  4082. type: string
  4083. deliverygoodsid:
  4084. description: 现货商品id
  4085. type: integer
  4086. deliverygoodsname:
  4087. description: 现货商吕名称
  4088. type: string
  4089. dgunitid:
  4090. description: 现货商品单位id
  4091. type: integer
  4092. dgunitidname:
  4093. description: 单位名称(现货商品)
  4094. type: string
  4095. diffqty:
  4096. description: 套保品种今变动量
  4097. type: number
  4098. enumdicname:
  4099. description: 单位名称(品类)
  4100. type: string
  4101. hedgeplanid:
  4102. description: 套保计划id
  4103. type: string
  4104. hedgeplanno:
  4105. description: 套保计划编号
  4106. type: string
  4107. hedgeplanstatus:
  4108. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4109. type: integer
  4110. mgunitidname:
  4111. description: 单位名称(套保商品)
  4112. type: string
  4113. middlegoodscode:
  4114. description: 套保品种代码
  4115. type: string
  4116. middlegoodsid:
  4117. description: 套保品种id
  4118. type: integer
  4119. middlegoodsname:
  4120. description: 套保品种名称
  4121. type: string
  4122. needarbitrageratio:
  4123. description: 应套利比例
  4124. type: number
  4125. needhedgeratio:
  4126. description: 应套保比例
  4127. type: number
  4128. pricedqty:
  4129. description: 已定价量
  4130. type: number
  4131. qty:
  4132. description: 合同量
  4133. type: number
  4134. tradedate:
  4135. description: 交易日(登记日)
  4136. type: string
  4137. unitid:
  4138. description: 品类单位id
  4139. type: integer
  4140. userid:
  4141. description: 机构id
  4142. type: integer
  4143. wrstandardcode:
  4144. description: 品类代码
  4145. type: string
  4146. wrstandardid:
  4147. description: 品类id
  4148. type: integer
  4149. wrstandardname:
  4150. description: 品类名称
  4151. type: string
  4152. type: object
  4153. models.Ermcp3ExpourseReport:
  4154. properties:
  4155. accountid:
  4156. description: 期货账户ID (作废, 默认为0)
  4157. type: integer
  4158. accountname:
  4159. description: 机构名称
  4160. type: string
  4161. arbitrageqty:
  4162. description: 套利量
  4163. type: number
  4164. areauserid:
  4165. description: 所属机构\交易用户ID
  4166. type: integer
  4167. begindate:
  4168. description: 开始交易日
  4169. type: string
  4170. buyfutureqty:
  4171. description: 买入期货数量
  4172. type: number
  4173. buyplanqty:
  4174. description: 采购计划数量
  4175. type: number
  4176. buypricedqty:
  4177. description: 采购合同已定价数量
  4178. type: number
  4179. cycletime:
  4180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4181. type: string
  4182. cycletype:
  4183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4184. type: integer
  4185. diffexposure:
  4186. description: 变动量(套保敞口)
  4187. type: number
  4188. difffutuqty:
  4189. description: 变动量(期货)
  4190. type: number
  4191. diffhedgeqty:
  4192. description: 变动量(现货应套保总量)
  4193. type: number
  4194. diffmgqtya:
  4195. description: 套保变动量
  4196. type: number
  4197. diffmgqtyb:
  4198. description: 套利变动量
  4199. type: number
  4200. diffqty:
  4201. description: 变动量(总敞口)
  4202. type: number
  4203. diffspotqty:
  4204. description: 变动量(现货)
  4205. type: number
  4206. enddate:
  4207. description: 结束交易日
  4208. type: string
  4209. enumdicname:
  4210. description: 单位名称
  4211. type: string
  4212. hedgeqty:
  4213. description: 套保量
  4214. type: number
  4215. mgneedhedgeratio:
  4216. description: 套保比例(套保品的)
  4217. type: number
  4218. middlegoodsid:
  4219. description: 套保品种ID
  4220. type: integer
  4221. middlegoodsname:
  4222. description: 套保商品名称
  4223. type: string
  4224. middlgoodscode:
  4225. description: 套保商品代码
  4226. type: string
  4227. needarbitrageqty:
  4228. description: 应套利量
  4229. type: number
  4230. needarbitrageratio:
  4231. description: 套利比例(套保品的)
  4232. type: number
  4233. needhedgeexposoure:
  4234. description: 应套保敞口(套保敞口)
  4235. type: number
  4236. needhedgeqty:
  4237. description: 应套保量
  4238. type: number
  4239. needhedgeratio:
  4240. description: 应套保敞口比例
  4241. type: number
  4242. oriarbitrageqty:
  4243. description: 期初套利量
  4244. type: number
  4245. oribuyfutureqty:
  4246. description: 期初买入期货数量
  4247. type: number
  4248. oribuyplanqty:
  4249. description: 期初采购计划数量
  4250. type: number
  4251. oribuypricedqty:
  4252. description: 期初采购合同已定价数量
  4253. type: number
  4254. orihedgeqty:
  4255. description: 期初套保量
  4256. type: number
  4257. orineedarbitrageqty:
  4258. description: 期初应套利量
  4259. type: number
  4260. orineedhedgeexposoure:
  4261. description: 期初应套保敞口
  4262. type: number
  4263. orineedhedgeqty:
  4264. description: 期初应套保量
  4265. type: number
  4266. orisellfutureqty:
  4267. description: 期初卖出期货数量
  4268. type: number
  4269. orisellplanqty:
  4270. description: 期初销售计划数量
  4271. type: number
  4272. orisellpricedqty:
  4273. description: 期初销售合同已定价数量
  4274. type: number
  4275. oritotalexposure:
  4276. description: 期初实时总敞口
  4277. type: number
  4278. oritotalfutureqty:
  4279. description: 期初期货头寸总量
  4280. type: number
  4281. oritotalneedhedgeqty:
  4282. description: 期初应套保总量
  4283. type: number
  4284. oritotalspotqty:
  4285. description: 期初现货头寸总量
  4286. type: number
  4287. reckondate:
  4288. description: 日照时期(yyyyMMdd)
  4289. type: string
  4290. sellfutureqty:
  4291. description: 卖出期货数量
  4292. type: number
  4293. sellplanqty:
  4294. description: 销售计划数量
  4295. type: number
  4296. sellpricedqty:
  4297. description: 销售合同已定价数量
  4298. type: number
  4299. totalexposure:
  4300. description: 实时总敞口(总敞口)
  4301. type: number
  4302. totalfutureqty:
  4303. description: 期货头寸总量(期货总量)
  4304. type: number
  4305. totalhedgeratio:
  4306. description: 敞口比例
  4307. type: number
  4308. totalneedhedgeqty:
  4309. description: 应套保总量(现货应套保总量)
  4310. type: number
  4311. totalspotqty:
  4312. description: 现货头寸总量
  4313. type: number
  4314. unitid:
  4315. description: 单位id
  4316. type: integer
  4317. updatetime:
  4318. description: 更新时间
  4319. type: string
  4320. type: object
  4321. models.Ermcp3FinanceReport:
  4322. properties:
  4323. accountname:
  4324. description: 机构名称
  4325. type: string
  4326. areauserid:
  4327. description: 所属机构\交易用户ID
  4328. type: integer
  4329. begindate:
  4330. description: 开始交易日
  4331. type: string
  4332. biztype:
  4333. description: 业务类型 - 1:套保 2:套利
  4334. type: integer
  4335. brandname:
  4336. description: 品牌名称
  4337. type: string
  4338. buypreinvoicedamount:
  4339. description: 采购预收票额(预收票额)
  4340. type: number
  4341. buyprepaidamount:
  4342. description: 采购预付款额(预付货款额)
  4343. type: number
  4344. buytodayinvoiceamount:
  4345. description: 采购今收票额(今收票额)
  4346. type: number
  4347. buytodayrefundamount:
  4348. description: 采购今收退款额(今收退款额)
  4349. type: number
  4350. buytodaysettleamount:
  4351. description: 采购今付款额(今付货款额)
  4352. type: number
  4353. buyuninvoicedamount:
  4354. description: 采购应收票额(应收票额)
  4355. type: number
  4356. buyunpaidamount:
  4357. description: 采购应付款额(应付货款额)
  4358. type: number
  4359. currencyid:
  4360. description: 结算币种ID
  4361. type: integer
  4362. currencyname:
  4363. description: 币种名称
  4364. type: string
  4365. cycletime:
  4366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4367. type: string
  4368. cycletype:
  4369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4370. type: integer
  4371. deliverygoodscode:
  4372. description: 现货品种代码
  4373. type: string
  4374. deliverygoodsid:
  4375. description: 现货品种ID
  4376. type: integer
  4377. deliverygoodsname:
  4378. description: 现货品种名称
  4379. type: string
  4380. enddate:
  4381. description: 结束交易日
  4382. type: string
  4383. reckondate:
  4384. description: 日照时期(yyyyMMdd)
  4385. type: string
  4386. sellpreinvoicedamount:
  4387. description: 销售预开票额(预开票额)
  4388. type: number
  4389. sellprepaidamount:
  4390. description: 销售预收款额(预收货款额)
  4391. type: number
  4392. selltodayinvoiceamount:
  4393. description: 销售今开票额(今开票额)
  4394. type: number
  4395. selltodayrefundamount:
  4396. description: 销售今付退款额(今付退款额)
  4397. type: number
  4398. selltodaysettleamount:
  4399. description: 销售今收款额(今收货款额)
  4400. type: number
  4401. selluninvoicedamount:
  4402. description: 销售应开票额(应开票额)
  4403. type: number
  4404. sellunpaidamount:
  4405. description: 销售应收款额(应收货款额)
  4406. type: number
  4407. spotgoodsbrandid:
  4408. description: 现货品牌ID
  4409. type: integer
  4410. todaypaysum:
  4411. description: 今付款合计
  4412. type: number
  4413. todayreceivesum:
  4414. description: 今收款合计
  4415. type: number
  4416. updatetime:
  4417. description: 更新时间
  4418. type: string
  4419. wrfactortypeid:
  4420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4421. type: integer
  4422. wrstandardcode:
  4423. description: 品类代码
  4424. type: string
  4425. wrstandardid:
  4426. description: 现货商品ID
  4427. type: integer
  4428. wrstandardname:
  4429. description: 品类名称
  4430. type: string
  4431. type: object
  4432. models.Ermcp3Goods:
  4433. properties:
  4434. agreeunit:
  4435. description: 合约单位(合约乘数)
  4436. type: number
  4437. enumdicname:
  4438. description: 单位名称
  4439. type: string
  4440. exexchangecode:
  4441. description: 交易所代码
  4442. type: string
  4443. goodscode:
  4444. description: 期货商品代码
  4445. type: string
  4446. goodsid:
  4447. description: 期货商品id
  4448. type: integer
  4449. goodsname:
  4450. description: 期货商品名称
  4451. type: string
  4452. type: object
  4453. models.Ermcp3GoodsGroup:
  4454. properties:
  4455. agreeunit:
  4456. description: 合约单位
  4457. type: number
  4458. areauserid:
  4459. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4460. type: integer
  4461. canshort:
  4462. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4463. type: integer
  4464. closepricemode:
  4465. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4466. type: integer
  4467. createtime:
  4468. description: 创建时间
  4469. type: string
  4470. creatorid:
  4471. description: 创建人
  4472. type: integer
  4473. currencyid:
  4474. description: 报价货币ID
  4475. type: integer
  4476. decimalplace:
  4477. description: 报价小数位
  4478. type: integer
  4479. enumdicname:
  4480. description: 单位名称
  4481. type: string
  4482. excludecfg:
  4483. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4484. type: integer
  4485. exexchangeid:
  4486. description: 外部交易所ID[通道交易]
  4487. type: integer
  4488. goodsgroupid:
  4489. description: 商品组ID(自增ID)
  4490. type: integer
  4491. goodsgroupname:
  4492. description: 商品组名称
  4493. type: string
  4494. goodsgroupstatus:
  4495. description: 商品组状态 - 1:正常 2:注销
  4496. type: integer
  4497. goodunitid:
  4498. description: 报价单位ID
  4499. type: integer
  4500. groupcategroyid:
  4501. description: 品种分类ID
  4502. type: integer
  4503. innerdealmode:
  4504. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4505. type: integer
  4506. marketid:
  4507. description: 所属市场ID
  4508. type: integer
  4509. modifierid:
  4510. description: 修改人
  4511. type: integer
  4512. modifytime:
  4513. description: 修改时间
  4514. type: string
  4515. outerdealmode:
  4516. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4517. type: integer
  4518. outergroupcode:
  4519. description: 外部商品组代码[通道交易]
  4520. type: string
  4521. quoteminunit:
  4522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4523. type: integer
  4524. quotesourcegroupid:
  4525. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4526. type: integer
  4527. syncgoodsqty:
  4528. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4529. type: integer
  4530. required:
  4531. - areauserid
  4532. type: object
  4533. models.Ermcp3GoodsGroupEx:
  4534. properties:
  4535. convertratio:
  4536. description: 折算系数(品种系数)
  4537. type: number
  4538. enumdicname:
  4539. description: 单位名称
  4540. type: string
  4541. exexchangecode:
  4542. description: 交易所代码
  4543. type: string
  4544. glist:
  4545. description: 合约列表
  4546. items:
  4547. $ref: '#/definitions/models.Ermcp3Goods'
  4548. type: array
  4549. goodsgroupid:
  4550. description: 商品组id
  4551. type: integer
  4552. goodsgroupname:
  4553. description: 商品组名称
  4554. type: string
  4555. goodsunitid:
  4556. description: 单位id
  4557. type: integer
  4558. middlegoodsid:
  4559. description: 套保商品id
  4560. type: integer
  4561. type: object
  4562. models.Ermcp3HedgePlan:
  4563. properties:
  4564. accountid:
  4565. description: 资金账号
  4566. type: integer
  4567. areauserid:
  4568. description: 用户ID
  4569. type: integer
  4570. audittime:
  4571. description: 审核时间
  4572. type: string
  4573. contracttype:
  4574. description: 计划类型 - 1:采购 -1:销售
  4575. type: integer
  4576. convertfactor:
  4577. description: 标仓系数
  4578. type: number
  4579. createtime:
  4580. description: 创建时间
  4581. type: string
  4582. currencyid:
  4583. description: 币种id
  4584. type: integer
  4585. currencyname:
  4586. description: 币种名称
  4587. type: string
  4588. deliverygoodscode:
  4589. description: 现货品种代码
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 现货品种ID
  4593. type: integer
  4594. deliverygoodsname:
  4595. description: 现货品种名称
  4596. type: string
  4597. enumdicname:
  4598. description: 单位名称(现货商品)
  4599. type: string
  4600. hedgeplanid:
  4601. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4602. type: string
  4603. hedgeplanno:
  4604. description: 套保计划编号(名称)
  4605. type: string
  4606. hedgeplanstatus:
  4607. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4608. type: integer
  4609. planqty:
  4610. description: 计划数量
  4611. type: number
  4612. plantime:
  4613. description: 计划时间
  4614. type: string
  4615. producttype:
  4616. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4617. type: integer
  4618. remark:
  4619. description: 备注
  4620. type: string
  4621. spotgoodsdesc:
  4622. description: 商品型号
  4623. type: string
  4624. taaccountname:
  4625. description: 资金账号名称
  4626. type: string
  4627. tradeuserid:
  4628. description: 交易用户id
  4629. type: integer
  4630. tradeusername:
  4631. description: 交易用户名称
  4632. type: string
  4633. unitid:
  4634. description: 单位id(现货商品)
  4635. type: integer
  4636. updatetime:
  4637. description: 更新时间
  4638. type: string
  4639. wrstandardcode:
  4640. description: 品类代码
  4641. type: string
  4642. wrstandardid:
  4643. description: 品类id
  4644. type: integer
  4645. wrstandardname:
  4646. description: 品类名称
  4647. type: string
  4648. wrunitid:
  4649. description: 品类单位id
  4650. type: integer
  4651. wrunitidame:
  4652. description: 品类单位名称
  4653. type: string
  4654. type: object
  4655. models.Ermcp3MiddleGoodsDetail2:
  4656. properties:
  4657. convertratio:
  4658. description: 套保系数(折算系数)
  4659. type: number
  4660. gplist:
  4661. description: 关联商品组列表
  4662. items:
  4663. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4664. type: array
  4665. mg:
  4666. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4667. description: 套保商品信息
  4668. type: object
  4669. type: object
  4670. models.Ermcp3MiddleGoodsDetailEx:
  4671. properties:
  4672. dglist:
  4673. description: 关联的现货品种列表
  4674. items:
  4675. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4676. type: array
  4677. gplist:
  4678. description: 关联商品组列表
  4679. items:
  4680. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4681. type: array
  4682. mg:
  4683. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4684. description: 套保商品信息
  4685. type: object
  4686. type: object
  4687. models.Ermcp3SellBuyContract:
  4688. properties:
  4689. accountid:
  4690. description: 期货账户id
  4691. type: string
  4692. accountname:
  4693. description: 账户名称
  4694. type: string
  4695. attachment:
  4696. description: 附件
  4697. type: string
  4698. audittime:
  4699. description: 审核时间
  4700. type: string
  4701. biztype:
  4702. description: 业务类型 1-套保 2-套利
  4703. type: integer
  4704. brandname:
  4705. description: 品牌名称
  4706. type: string
  4707. contracctstatus:
  4708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4709. type: integer
  4710. contractmargin:
  4711. description: 合同保证金
  4712. type: number
  4713. contractno:
  4714. description: 合同编号
  4715. type: string
  4716. contracttype:
  4717. description: 合同类型 1-采购, -1-销售
  4718. type: integer
  4719. convertfactor:
  4720. description: 标仓系数(品类)
  4721. type: number
  4722. createtime:
  4723. description: 创建时间
  4724. type: string
  4725. currencyid:
  4726. description: 币种id
  4727. type: integer
  4728. currencyname:
  4729. description: 币种名称
  4730. type: string
  4731. daikaiamount:
  4732. description: 应收(开)票额
  4733. type: number
  4734. deliveryenddate:
  4735. description: 交割结束日
  4736. type: string
  4737. deliverygoodscode:
  4738. description: 现货品种代码
  4739. type: string
  4740. deliverygoodsid:
  4741. description: 现货商品ID
  4742. type: integer
  4743. deliverygoodsname:
  4744. description: 现货品种名称
  4745. type: string
  4746. deliverystartdate:
  4747. description: 交割开始日
  4748. type: string
  4749. enddate:
  4750. description: 点价结束日
  4751. type: string
  4752. enumdicname:
  4753. description: 单位名称
  4754. type: string
  4755. goodscode:
  4756. description: 点价商品代码
  4757. type: string
  4758. goodsid:
  4759. description: 点价商品ID
  4760. type: integer
  4761. goodsname:
  4762. description: 点价商品名称
  4763. type: string
  4764. invoiceamount:
  4765. description: 已开票额
  4766. type: number
  4767. loanamount:
  4768. description: 贷款总额=已定价额+调整金额
  4769. type: number
  4770. margin:
  4771. description: 保证金
  4772. type: number
  4773. meruserid:
  4774. description: 跟单员id
  4775. type: integer
  4776. meruserlogincode:
  4777. description: 跟单员登录代码
  4778. type: string
  4779. nickname:
  4780. description: 账户昵称
  4781. type: string
  4782. payamount:
  4783. description: 已收付额(收款或付款)
  4784. type: number
  4785. preinvoiceamount:
  4786. description: 预收(开)票额
  4787. type: number
  4788. prepayamount:
  4789. description: 预收付额
  4790. type: number
  4791. price:
  4792. description: 价格
  4793. type: number
  4794. pricedamount:
  4795. description: 已定价额
  4796. type: number
  4797. pricedavg:
  4798. description: 已点均价
  4799. type: number
  4800. pricedqty:
  4801. description: 已定价量
  4802. type: number
  4803. pricemove:
  4804. description: 升贴水
  4805. type: number
  4806. pricetype:
  4807. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4808. type: integer
  4809. producttype:
  4810. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4811. type: integer
  4812. qty:
  4813. description: 合同量
  4814. type: number
  4815. reckonadjustamount:
  4816. description: 调整金额
  4817. type: number
  4818. reckonedamount:
  4819. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4820. type: number
  4821. reckonotheramount:
  4822. description: 其它费用
  4823. type: number
  4824. reckonrealqty:
  4825. description: 已确定量
  4826. type: number
  4827. remark:
  4828. description: 备注
  4829. type: string
  4830. saleuserid:
  4831. description: 业务员id
  4832. type: integer
  4833. saleuserlogincode:
  4834. description: 业务员登录代码
  4835. type: string
  4836. spotcontractid:
  4837. description: 合同ID
  4838. type: string
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID(DGFactoryItem表的ID)
  4841. type: integer
  4842. spotgoodsdesc:
  4843. description: 商品型号(商品规格)
  4844. type: string
  4845. startdate:
  4846. description: 点价开始日
  4847. type: string
  4848. totalamount:
  4849. description: 合计总额
  4850. type: number
  4851. tradeuserid:
  4852. description: 交易员id
  4853. type: integer
  4854. tradeuserlogincode:
  4855. description: 交易员登录代码
  4856. type: string
  4857. tradeusername:
  4858. description: 交易员名称
  4859. type: string
  4860. unpayamount:
  4861. description: 应收付款额(应支付或应收款)
  4862. type: number
  4863. unpricedqty:
  4864. description: 未定价量
  4865. type: number
  4866. unsureqty:
  4867. description: 未确定量
  4868. type: number
  4869. userid:
  4870. description: 机构ID
  4871. type: integer
  4872. wrstandardcode:
  4873. description: 品类代码
  4874. type: string
  4875. wrstandardid:
  4876. description: 品类ID
  4877. type: integer
  4878. wrstandardname:
  4879. description: 品类名称
  4880. type: string
  4881. type: object
  4882. models.Ermcp3SpotGoodsPrice:
  4883. properties:
  4884. areauserid:
  4885. description: 所属机构id
  4886. type: integer
  4887. brandname:
  4888. description: 品牌名称
  4889. type: string
  4890. currencyid:
  4891. description: 报价货币ID
  4892. type: integer
  4893. currencyname:
  4894. description: 币种名称
  4895. type: string
  4896. deliverygoodscode:
  4897. description: 现货商品代码
  4898. type: string
  4899. deliverygoodsid:
  4900. description: 现货商品id
  4901. type: integer
  4902. deliverygoodsname:
  4903. description: 现货商品名称
  4904. type: string
  4905. enumdicname:
  4906. description: 现货商品单位名称
  4907. type: string
  4908. gbenumdicname:
  4909. description: 品类单位名称
  4910. type: string
  4911. gmunitid:
  4912. description: 品类单位id
  4913. type: integer
  4914. isvalid:
  4915. description: 是否有效 - 0:无效 1:有效
  4916. type: integer
  4917. operateid:
  4918. description: 最后操作人
  4919. type: integer
  4920. operatesrc:
  4921. description: 最后操作来源 - 1:管理端 2:终端
  4922. type: integer
  4923. operatetime:
  4924. description: 最后操作时间
  4925. type: string
  4926. operatorname:
  4927. description: 操作人名称
  4928. type: string
  4929. spotgoodsbrandid:
  4930. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4931. type: integer
  4932. spotgoodsprice:
  4933. description: 现货价格
  4934. type: number
  4935. tradedate:
  4936. description: 交易日(yyyyMMdd)
  4937. type: string
  4938. unitid:
  4939. description: 现货商品单位id
  4940. type: integer
  4941. wrstandardcode:
  4942. description: 品类代码
  4943. type: string
  4944. wrstandardid:
  4945. description: 现货品类ID(通用则为0)
  4946. type: integer
  4947. wrstandardname:
  4948. description: 品类名称
  4949. type: string
  4950. type: object
  4951. models.Ermcp3SpotGoodsPriceLog:
  4952. properties:
  4953. areauserid:
  4954. description: 所属机构id
  4955. type: integer
  4956. brandname:
  4957. description: 品牌名称
  4958. type: string
  4959. currencyid:
  4960. description: 报价货币ID
  4961. type: integer
  4962. deliverygoodscode:
  4963. description: 现货商品代码
  4964. type: string
  4965. deliverygoodsid:
  4966. description: 现货商品id
  4967. type: integer
  4968. deliverygoodsname:
  4969. description: 现货商品名称
  4970. type: string
  4971. enumdicname:
  4972. description: 现货商品单位名称
  4973. type: string
  4974. gbenumdicname:
  4975. description: 品类单位名称
  4976. type: string
  4977. gmunitid:
  4978. description: 品类单位id
  4979. type: integer
  4980. logid:
  4981. description: 日志id
  4982. type: integer
  4983. operateid:
  4984. description: 最后操作人
  4985. type: integer
  4986. operatesrc:
  4987. description: 最后操作来源 - 1:管理端 2:终端
  4988. type: integer
  4989. operatetime:
  4990. description: 最后操作时间
  4991. type: string
  4992. operatorname:
  4993. description: 操作人名称
  4994. type: string
  4995. spotgoodsbrandid:
  4996. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4997. type: integer
  4998. spotgoodsprice:
  4999. description: 现货价格
  5000. type: number
  5001. tradedate:
  5002. description: 交易日(yyyyMMdd)
  5003. type: string
  5004. unitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. wrstandardcode:
  5008. description: 品类代码
  5009. type: string
  5010. wrstandardid:
  5011. description: 现货品类ID(通用则为0)
  5012. type: integer
  5013. wrstandardname:
  5014. description: 品类名称
  5015. type: string
  5016. type: object
  5017. models.Ermcp3TaFutuReDataReport:
  5018. properties:
  5019. accountid:
  5020. description: 交易账户
  5021. type: integer
  5022. accountname:
  5023. description: 交易账号名称
  5024. type: string
  5025. begindate:
  5026. description: 开始交易日
  5027. type: string
  5028. buyorsell:
  5029. description: 持仓方向
  5030. type: integer
  5031. charge:
  5032. description: 手续费
  5033. type: number
  5034. closepl:
  5035. description: 平仓损益
  5036. type: number
  5037. currencyid:
  5038. description: 结算币种ID
  5039. type: integer
  5040. cycletime:
  5041. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5042. type: string
  5043. cycletype:
  5044. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5045. type: integer
  5046. enddate:
  5047. description: 结束交易日
  5048. type: string
  5049. enumdicname:
  5050. description: 单位名称(现货商品)
  5051. type: string
  5052. floatpl:
  5053. description: 浮动损益
  5054. type: number
  5055. goodscode:
  5056. description: 交易合约代码
  5057. type: string
  5058. goodsgroupid:
  5059. description: 交易品种
  5060. type: integer
  5061. goodsgroupname:
  5062. description: 交易品种名称
  5063. type: string
  5064. goodsgroupspotqty:
  5065. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5066. type: number
  5067. goodsid:
  5068. description: 交易合约
  5069. type: integer
  5070. goodsname:
  5071. description: 交易合约名称
  5072. type: string
  5073. goodunitid:
  5074. description: 交易合约单位id
  5075. type: integer
  5076. holdamount:
  5077. description: 期末持仓额
  5078. type: number
  5079. holdqty:
  5080. description: 期末持仓量
  5081. type: number
  5082. lastholdamount:
  5083. description: 当前持仓额
  5084. type: number
  5085. lastprice:
  5086. description: 最新价
  5087. type: number
  5088. middlegoodsqty:
  5089. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5090. type: number
  5091. openamount:
  5092. description: 期末开仓额
  5093. type: number
  5094. oriholdamount:
  5095. description: 期初持仓额
  5096. type: number
  5097. oriholdqty:
  5098. description: 期初持仓量
  5099. type: number
  5100. oriopenamount:
  5101. description: 期初开仓额
  5102. type: number
  5103. outergroupcode:
  5104. description: 交易品种代码
  5105. type: string
  5106. reckondate:
  5107. description: 日照时期(yyyyMMdd)
  5108. type: string
  5109. reckonholdamount:
  5110. description: 结算持仓额
  5111. type: number
  5112. reckonpl:
  5113. description: 结算损益
  5114. type: number
  5115. reckonpl2:
  5116. description: 结算逐笔盈亏
  5117. type: number
  5118. reckonprice:
  5119. description: 结算价
  5120. type: number
  5121. relateduserid:
  5122. description: 账户关联用户ID
  5123. type: integer
  5124. todaycloseamount:
  5125. description: 今平仓额
  5126. type: number
  5127. todaycloseqty:
  5128. description: 今平仓量
  5129. type: number
  5130. todaygoodsgroupspotqty:
  5131. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5132. type: number
  5133. todaymiddlegoodsqty:
  5134. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5135. type: number
  5136. todayopenamount:
  5137. description: 今开仓额
  5138. type: number
  5139. todayopenqty:
  5140. description: 今开仓量
  5141. type: number
  5142. userid:
  5143. description: 账户所属用户ID
  5144. type: integer
  5145. type: object
  5146. models.Ermcp3Wrstandard:
  5147. properties:
  5148. areauserid:
  5149. description: 所属机构
  5150. type: integer
  5151. convertfactor:
  5152. description: 标仓系数
  5153. type: number
  5154. createtime:
  5155. description: 创建时间
  5156. type: string
  5157. creatorid:
  5158. description: 创建人
  5159. type: integer
  5160. deliverygoodsid:
  5161. description: 现货品种ID
  5162. type: integer
  5163. enumdicname:
  5164. description: 品类单位名称
  5165. type: string
  5166. isvalid:
  5167. description: 是否有效 0-无效(停用) 1-有效(正常)
  5168. type: integer
  5169. minivalue:
  5170. description: 最小变动值
  5171. type: integer
  5172. minivaluedp:
  5173. description: 最小变动值小数位
  5174. type: integer
  5175. realminivalue:
  5176. description: 实际最小变动值
  5177. type: integer
  5178. realminivaluedp:
  5179. description: 实际最小变动值小数位
  5180. type: integer
  5181. remark:
  5182. description: 备注
  5183. type: string
  5184. unitid:
  5185. description: 品类单位ID
  5186. type: integer
  5187. updatetime:
  5188. description: 更新时间
  5189. type: string
  5190. wrstandardcode:
  5191. description: 品类代码
  5192. type: string
  5193. wrstandardid:
  5194. description: 品类ID(SEQ_WRSTANDARD)
  5195. type: integer
  5196. wrstandardname:
  5197. description: 品类名称
  5198. type: string
  5199. type: object
  5200. models.ErmcpAreaSpotDetailModel:
  5201. properties:
  5202. contracttype:
  5203. description: 合同类型 1-采购 -1-销售
  5204. type: integer
  5205. createtime:
  5206. description: 创建时间
  5207. type: string
  5208. enumdicname:
  5209. description: 现货商品单位名称
  5210. type: string
  5211. logtype:
  5212. description: 记录类型 1-套保 2-现货合同
  5213. type: integer
  5214. qty:
  5215. description: 数量
  5216. type: number
  5217. recordname:
  5218. description: 类型名称
  5219. type: string
  5220. relatedid:
  5221. description: 套保计划ID/现货合同ID
  5222. type: string
  5223. relatedno:
  5224. description: 编号
  5225. type: string
  5226. strtime:
  5227. description: 时间
  5228. type: string
  5229. wrstandardcode:
  5230. description: 现货商品代码
  5231. type: string
  5232. wrstandardname:
  5233. description: 现货商品名称
  5234. type: string
  5235. type: object
  5236. models.ErmcpAvalidGoodsGroupModel:
  5237. properties:
  5238. goodsgroupid:
  5239. description: 期货品种id
  5240. type: integer
  5241. goodsgroupname:
  5242. description: 期货品种名称
  5243. type: string
  5244. goodunitid:
  5245. description: 品种单位id
  5246. type: integer
  5247. goodunitname:
  5248. description: 品种单位名称
  5249. type: string
  5250. outergroupcode:
  5251. description: 期货品种代码
  5252. type: string
  5253. type: object
  5254. models.ErmcpBizGroupEx:
  5255. properties:
  5256. acclist:
  5257. description: 账号列表
  5258. items:
  5259. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5260. type: array
  5261. bizgroupid:
  5262. description: 业务分组id
  5263. type: integer
  5264. biztype:
  5265. description: 业务类型 1-套保 2-套利
  5266. type: integer
  5267. wrlist:
  5268. description: 现货商品表
  5269. items:
  5270. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5271. type: array
  5272. type: object
  5273. models.ErmcpBizGroupSpotGoods:
  5274. properties:
  5275. areauserid:
  5276. description: 所属机构id
  5277. type: integer
  5278. bizgroupid:
  5279. description: 分组id
  5280. type: integer
  5281. biztype:
  5282. description: 业务类型 1-套保 2-套利
  5283. type: integer
  5284. deliverygoodscode:
  5285. description: 现货商品代码
  5286. type: string
  5287. deliverygoodsid:
  5288. description: 现货商品id
  5289. type: integer
  5290. deliverygoodsname:
  5291. description: 现货商品名称
  5292. type: string
  5293. unitid:
  5294. description: 现货商品单位id
  5295. type: integer
  5296. type: object
  5297. models.ErmcpBizGroupTaAccount:
  5298. properties:
  5299. accountid:
  5300. description: 账号id
  5301. type: integer
  5302. accountname:
  5303. description: 账号名称
  5304. type: string
  5305. areauserid:
  5306. description: 所属机构id
  5307. type: integer
  5308. bizgroupid:
  5309. description: 业务分组id
  5310. type: integer
  5311. ismain:
  5312. description: 是否主账号 1-是 0-否
  5313. type: integer
  5314. type: object
  5315. models.ErmcpDGFactoryItem:
  5316. properties:
  5317. areauserid:
  5318. description: 用户id
  5319. type: integer
  5320. deliverygoodsid:
  5321. description: 现货品种ID
  5322. type: integer
  5323. dgfactoryitemid:
  5324. description: 选择项ID(SEQ_DGFACTORYITEM)
  5325. type: integer
  5326. dgfactoryitemtypeid:
  5327. description: 要素项类型
  5328. type: integer
  5329. dgfactoryitemvalue:
  5330. description: 要素项值(类型为仓库时填写仓库名称)
  5331. type: string
  5332. isvalid:
  5333. description: 是否有效 - 0:无效 1:有效
  5334. type: integer
  5335. orderindex:
  5336. description: 顺序
  5337. type: integer
  5338. warehouseid:
  5339. description: 仓库ID(类型为仓库时填写)
  5340. type: integer
  5341. type: object
  5342. models.ErmcpDeliveryGoods:
  5343. properties:
  5344. agreeunit:
  5345. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5346. type: integer
  5347. areauserid:
  5348. description: 所属机构
  5349. type: integer
  5350. auditflag:
  5351. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5352. type: integer
  5353. categoryid:
  5354. description: 类别ID(SEQ_WRCATEGORY)
  5355. type: integer
  5356. deliverygoodscode:
  5357. description: 现货品种代码
  5358. type: string
  5359. deliverygoodsid:
  5360. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5361. type: integer
  5362. deliverygoodsname:
  5363. description: 现货品种名称
  5364. type: string
  5365. deliverygoodstype:
  5366. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5367. type: integer
  5368. dgstatus:
  5369. description: 品种状态 - 作废 - 0:未激活 1:正常
  5370. type: integer
  5371. enumdicname:
  5372. description: 现货品种单位名称
  5373. type: string
  5374. goodsunitid:
  5375. description: 现货品种单位ID
  5376. type: integer
  5377. isvalid:
  5378. description: 是否有效 - 0:无效 1:有效
  5379. type: integer
  5380. qtydecimalplace:
  5381. description: 成交量小数位
  5382. type: integer
  5383. remark:
  5384. description: 备注
  5385. type: string
  5386. standardqty:
  5387. description: 标准数量(库位数量) [标准品特有]
  5388. type: integer
  5389. standardqtyrange:
  5390. description: 标准数量偏差范围 [标准品特有]
  5391. type: integer
  5392. type: object
  5393. models.ErmcpDeliveryGoodsDetail2:
  5394. properties:
  5395. convertratio:
  5396. description: 套保系数(折算系数)
  5397. type: number
  5398. data:
  5399. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5400. description: 现货商品基本信息(交割品种)
  5401. type: object
  5402. gblist:
  5403. description: 品牌列表
  5404. items:
  5405. $ref: '#/definitions/models.Ermcp3Brand'
  5406. type: array
  5407. gmlist:
  5408. description: 品类列表(仓单标准)
  5409. items:
  5410. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5411. type: array
  5412. type: object
  5413. models.ErmcpDeliveryGoodsDetailEx:
  5414. properties:
  5415. data:
  5416. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5417. description: 现货商品基本信息(交割品种)
  5418. type: object
  5419. gblist:
  5420. description: 品牌列表
  5421. items:
  5422. $ref: '#/definitions/models.Ermcp3Brand'
  5423. type: array
  5424. gmlist:
  5425. description: 品类列表(仓单标准)
  5426. items:
  5427. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5428. type: array
  5429. mgList:
  5430. description: 套保列表
  5431. items:
  5432. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5433. type: array
  5434. type: object
  5435. models.ErmcpExposureDetailModel:
  5436. properties:
  5437. areauserid:
  5438. description: 机构ID
  5439. type: integer
  5440. changeQty:
  5441. description: 套保变动量
  5442. type: number
  5443. contracttype:
  5444. description: 现货合同类型 - 1:采购 -1:销售
  5445. type: integer
  5446. convertfactor:
  5447. description: 标仓系数
  5448. type: number
  5449. convertratio:
  5450. description: 套保系数
  5451. type: number
  5452. createtime:
  5453. description: 时间
  5454. type: string
  5455. enumdicname:
  5456. description: 现货商品单位名称
  5457. type: string
  5458. logtype:
  5459. description: 类型 - 1:套保计划 2:现货合同
  5460. type: integer
  5461. middlegoodsId:
  5462. description: 套保商品id
  5463. type: integer
  5464. middlegoodscode:
  5465. description: 套保商品代码
  5466. type: string
  5467. middlegoodsname:
  5468. description: 套保商品名称
  5469. type: string
  5470. qty:
  5471. description: 数量
  5472. type: number
  5473. relateNo:
  5474. description: 现货合同/套保计划编号
  5475. type: string
  5476. wrstandardcode:
  5477. description: 现货商品代码
  5478. type: string
  5479. wrstandardid:
  5480. description: 现货商品ID
  5481. type: integer
  5482. wrstandardname:
  5483. description: 现货商品名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpExposurePostion:
  5487. properties:
  5488. agreeunit:
  5489. description: 合约单位
  5490. type: string
  5491. areauserid:
  5492. description: 所属机构id
  5493. type: integer
  5494. convertratio:
  5495. description: 期货品种系数(折算系数)
  5496. type: number
  5497. curqty:
  5498. description: 当前持仓
  5499. type: integer
  5500. diffhedgeqty:
  5501. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5502. type: number
  5503. diffqty:
  5504. description: 持仓变动量=当前持仓-昨日持仓
  5505. type: integer
  5506. goodscode:
  5507. description: 商品代码
  5508. type: string
  5509. goodsid:
  5510. description: 商品id
  5511. type: integer
  5512. goodsname:
  5513. description: 商品名称
  5514. type: string
  5515. middlegoodsid:
  5516. description: 套保商品id
  5517. type: integer
  5518. ydqty:
  5519. description: 昨日持仓
  5520. type: integer
  5521. type: object
  5522. models.ErmcpFuturesCompany:
  5523. properties:
  5524. brokerid:
  5525. description: 经纪公司代码
  5526. type: string
  5527. channeladdress:
  5528. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5529. type: string
  5530. channelid:
  5531. description: 对冲渠道ID
  5532. type: string
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: string
  5539. fcid:
  5540. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5541. type: integer
  5542. fcname:
  5543. description: 期货公司名称
  5544. type: string
  5545. isvalid:
  5546. description: 是否有效 - 0:无效 1:有效
  5547. type: integer
  5548. mhpaddress:
  5549. description: MHP服务地址(IP:Port)
  5550. type: string
  5551. riskrulegroupid:
  5552. description: 风控规则组ID
  5553. type: string
  5554. tradefeetmpid:
  5555. description: 手续费模板ID[TradeConfigTmpType为2]
  5556. type: string
  5557. trademargintmpid:
  5558. description: 保证金模板ID [TradeConfigTmpType为1]
  5559. type: string
  5560. traderatetmpid:
  5561. description: 汇率模板ID[TradeConfigTmpType为3]
  5562. type: string
  5563. updatetime:
  5564. description: 更新时间
  5565. type: string
  5566. updatorid:
  5567. description: 更新人
  5568. type: string
  5569. type: object
  5570. models.ErmcpGGConvertCfg:
  5571. properties:
  5572. convertratio:
  5573. description: 折算系数
  5574. type: number
  5575. destgoodsgroupid:
  5576. description: 目标品种ID
  5577. type: integer
  5578. dstcode:
  5579. description: 目录品种代码
  5580. type: string
  5581. dstexchangecode:
  5582. description: 目标期货交易所
  5583. type: string
  5584. dstname:
  5585. description: 目标品种名称
  5586. type: string
  5587. dstunitid:
  5588. description: 目标品种单位ID
  5589. type: integer
  5590. dstunitidname:
  5591. description: 目标品种单位名称
  5592. type: string
  5593. modifytime:
  5594. description: 修改时间
  5595. type: string
  5596. srccode:
  5597. description: 源品种代码
  5598. type: string
  5599. srcexchangecode:
  5600. description: 源期货交易所
  5601. type: string
  5602. srcgoodsgroupid:
  5603. description: 源品种ID
  5604. type: integer
  5605. srcname:
  5606. description: 源品种名称
  5607. type: string
  5608. srcunitid:
  5609. description: 源品种单位ID
  5610. type: integer
  5611. srcunitidname:
  5612. description: 源品种单位名称
  5613. type: string
  5614. type: object
  5615. models.ErmcpGoods:
  5616. properties:
  5617. agreeunit:
  5618. description: 合约单位
  5619. type: number
  5620. auditaccountid:
  5621. description: 审核操作员账号
  5622. type: integer
  5623. audittime:
  5624. description: 审核时间
  5625. type: string
  5626. cancelaccountid:
  5627. description: 注销操作员账号
  5628. type: integer
  5629. canceltime:
  5630. description: 注销时间
  5631. type: string
  5632. closepricemode:
  5633. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5634. type: integer
  5635. closepriceparam:
  5636. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5637. type: number
  5638. createtime:
  5639. description: 创建时间
  5640. type: string
  5641. creatorid:
  5642. description: 创建人
  5643. type: integer
  5644. currencyid:
  5645. description: 报价货币ID
  5646. type: integer
  5647. cutmode:
  5648. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5649. type: integer
  5650. decimalplace:
  5651. description: 报价小数位
  5652. type: integer
  5653. delistingdate:
  5654. description: 商品退市时间(状态:退市) -- 已作废
  5655. type: string
  5656. delistingmode:
  5657. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5658. type: integer
  5659. deliveryflag:
  5660. description: 交割标志 - 0:不可交割 1:可交割
  5661. type: integer
  5662. forceclosemode:
  5663. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5664. type: integer
  5665. forceclosevalue:
  5666. description: 定期强平参数 [收益权]
  5667. type: integer
  5668. goodscode:
  5669. description: 商品代码(内部)
  5670. type: string
  5671. goodscurrencyid:
  5672. description: 合约货币ID
  5673. type: integer
  5674. goodsgroupid:
  5675. description: 所属商品组ID
  5676. type: integer
  5677. goodsid:
  5678. description: 商品ID(自增ID SEQ_GOODS)
  5679. type: integer
  5680. goodsname:
  5681. description: 商品名称
  5682. type: string
  5683. goodsquotetype:
  5684. description: '合约报价类型: 1-直接报价 2-间接报价'
  5685. type: integer
  5686. goodsstatus:
  5687. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5688. type: integer
  5689. goodstradetype:
  5690. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5691. type: integer
  5692. goodunitid:
  5693. description: 报价单位ID
  5694. type: integer
  5695. hasquoter:
  5696. description: 是否有报价商 - 0:无报价商 1:有报价商
  5697. type: integer
  5698. hqprotecttime:
  5699. description: 行情保护时间(秒)
  5700. type: integer
  5701. innerdealmode:
  5702. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5703. type: integer
  5704. isbuylimited:
  5705. description: 是否限制建仓量 - 0:不限制 1:限制
  5706. type: integer
  5707. lasttradedate:
  5708. description: 最后交易日期(状态:待退市)
  5709. type: string
  5710. listingdate:
  5711. description: 交易开始日期
  5712. type: string
  5713. marketid:
  5714. description: 所属市场ID
  5715. type: integer
  5716. modifierid:
  5717. description: 修改人
  5718. type: integer
  5719. modifystatus:
  5720. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5721. type: integer
  5722. modifytime:
  5723. description: 修改时间
  5724. type: string
  5725. outerdealmode:
  5726. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5727. type: integer
  5728. outgoodscode:
  5729. description: 商品代码(外部)
  5730. type: string
  5731. qtydecimalplace:
  5732. description: 成交量小数位
  5733. type: integer
  5734. quotegear:
  5735. description: 行情档位(1-10)
  5736. type: integer
  5737. quoteminunit:
  5738. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5739. type: integer
  5740. quoteshowtype:
  5741. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5742. type: integer
  5743. quoteshowtypeinterval:
  5744. description: 行情报价间隔时间(秒)(成交价时为0)
  5745. type: integer
  5746. relatedgoodsid:
  5747. description: 关联参考商品ID
  5748. type: integer
  5749. remark:
  5750. description: 备注
  5751. type: string
  5752. required:
  5753. - goodscode
  5754. - goodsid
  5755. - goodsname
  5756. - marketid
  5757. type: object
  5758. models.ErmcpGoodsBrand:
  5759. properties:
  5760. areauserid:
  5761. description: 所属机构
  5762. type: integer
  5763. brandid:
  5764. description: BrandID(SEQ_SPOTGOODSBRAND)
  5765. type: integer
  5766. brandname:
  5767. description: 品牌名称
  5768. type: string
  5769. createtime:
  5770. description: 创建时间
  5771. type: string
  5772. creatorid:
  5773. description: 创建人
  5774. type: integer
  5775. creatorsrc:
  5776. description: 创建人来源 - 1:管理端 2:终端
  5777. type: integer
  5778. deliverygoodsid:
  5779. description: 现货品种ID
  5780. type: integer
  5781. isvalid:
  5782. description: 是否有效 - 0:无效 1:有效
  5783. type: integer
  5784. updatetime:
  5785. description: 更新时间
  5786. type: string
  5787. updatorid:
  5788. description: 更新人
  5789. type: integer
  5790. updatorsrc:
  5791. description: 更新人来源 - 1:管理端 2:终端
  5792. type: integer
  5793. wrstandardid:
  5794. description: 现货商品ID
  5795. type: integer
  5796. type: object
  5797. models.ErmcpGoodsModel:
  5798. properties:
  5799. areauserid:
  5800. description: 所属机构
  5801. type: integer
  5802. convertfactor:
  5803. description: 标仓系数
  5804. type: number
  5805. createtime:
  5806. description: 创建时间
  5807. type: string
  5808. creatorid:
  5809. description: 创建人
  5810. type: integer
  5811. creatorsrc:
  5812. description: 创建人来源 - 1:管理端 2:终端
  5813. type: integer
  5814. deliverygoodsid:
  5815. description: 现货品种ID
  5816. type: integer
  5817. isvalid:
  5818. description: 是否有效 - 0:无效 1:有效
  5819. type: integer
  5820. modelid:
  5821. description: ModelID(SEQ_SPOTGOODSMODEL)
  5822. type: integer
  5823. modelname:
  5824. description: 型号名称
  5825. type: string
  5826. updatetime:
  5827. description: 更新时间
  5828. type: string
  5829. updatorid:
  5830. description: 更新人
  5831. type: integer
  5832. updatorsrc:
  5833. description: 更新人来源 - 1:管理端 2:终端
  5834. type: integer
  5835. wrstandardid:
  5836. description: 现货商品ID
  5837. type: integer
  5838. type: object
  5839. models.ErmcpHedgePosition:
  5840. properties:
  5841. accountid:
  5842. description: 资金账号[外部母账户]
  5843. type: integer
  5844. curbuyposition:
  5845. description: 期末买头寸
  5846. type: integer
  5847. cursellposition:
  5848. description: 期末卖头寸
  5849. type: integer
  5850. curtdbuyposition:
  5851. description: 期末今日买头寸
  5852. type: integer
  5853. curtdsellposition:
  5854. description: 期末今日卖头寸
  5855. type: integer
  5856. curydbuyposition:
  5857. description: 期末上日买头寸
  5858. type: integer
  5859. curydsellposition:
  5860. description: 期末上日卖头寸
  5861. type: integer
  5862. decreaseqty:
  5863. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5864. type: integer
  5865. fretdbuyposition:
  5866. description: 冻结今日买头寸
  5867. type: integer
  5868. fretdsellposition:
  5869. description: 冻结今日卖头寸
  5870. type: integer
  5871. freydbuyposition:
  5872. description: 冻结上日买头寸
  5873. type: integer
  5874. freydsellposition:
  5875. description: 冻结上日卖头寸
  5876. type: integer
  5877. goodscode:
  5878. description: 商品代码
  5879. type: string
  5880. goodsid:
  5881. description: 商品id
  5882. type: integer
  5883. goodsname:
  5884. description: 商品名称
  5885. type: string
  5886. hedgeaccountcode:
  5887. description: 对冲账号
  5888. type: string
  5889. hedgegoodsid:
  5890. description: 对冲合约ID
  5891. type: integer
  5892. increaseqty:
  5893. description: 增加数量 = 期末买头寸 - 期初买头寸
  5894. type: integer
  5895. marketid:
  5896. description: 市场ID
  5897. type: integer
  5898. relateduserid:
  5899. description: 关联用户id
  5900. type: integer
  5901. totalcurqty:
  5902. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5903. type: integer
  5904. totalydqty:
  5905. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5906. type: integer
  5907. tradedate:
  5908. description: 交易日(yyyyMMdd)
  5909. type: string
  5910. ydbuyposition:
  5911. description: 期初买头寸
  5912. type: integer
  5913. ydsellposition:
  5914. description: 期初卖头寸
  5915. type: integer
  5916. type: object
  5917. models.ErmcpHedgePositionDetail:
  5918. properties:
  5919. buyorsell:
  5920. description: 买卖方向 0-买 1-卖
  5921. type: integer
  5922. channelbuildtype:
  5923. description: 开平方向 1-建仓 2-平仓
  5924. type: integer
  5925. goodscode:
  5926. description: 商品代码
  5927. type: string
  5928. goodsname:
  5929. description: 商品名称
  5930. type: string
  5931. hedgegoodsid:
  5932. description: 商品id
  5933. type: integer
  5934. tradeqty:
  5935. description: 数量(成交数量)
  5936. type: integer
  5937. tradetime:
  5938. description: 时间(成交时间)
  5939. type: string
  5940. type: object
  5941. models.ErmcpHisExposure:
  5942. properties:
  5943. needhedgeexposoure:
  5944. description: 应套保敞口
  5945. type: number
  5946. reckondate:
  5947. description: 日照时期(yyyyMMdd)
  5948. type: string
  5949. totalexposure:
  5950. description: 总敞口
  5951. type: number
  5952. type: object
  5953. models.ErmcpHisExposureS:
  5954. properties:
  5955. data:
  5956. description: 历史敞口
  5957. items:
  5958. $ref: '#/definitions/models.ErmcpHisExposure'
  5959. type: array
  5960. enumdicname:
  5961. description: 单位名称
  5962. type: string
  5963. middlegoodscode:
  5964. description: 套保品种代码
  5965. type: string
  5966. middlegoodsid:
  5967. description: 套保品种ID
  5968. type: integer
  5969. middlegoodsname:
  5970. description: 套保品种名称
  5971. type: string
  5972. type: object
  5973. models.ErmcpLoginTaAccount:
  5974. properties:
  5975. accountid:
  5976. description: 账号id
  5977. type: integer
  5978. accountname:
  5979. description: 账号名称
  5980. type: string
  5981. type: object
  5982. models.ErmcpLoginUser:
  5983. properties:
  5984. acclist:
  5985. description: 关联资金账号
  5986. items:
  5987. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5988. type: array
  5989. accountname:
  5990. description: 用户名称
  5991. type: string
  5992. clientroleid:
  5993. description: 角色id(usertype=2)
  5994. type: integer
  5995. createtime:
  5996. description: 创建时间
  5997. type: string
  5998. logincode:
  5999. description: 登录代码
  6000. type: string
  6001. loginid:
  6002. description: 登录id(LOGINID)
  6003. type: integer
  6004. loginname:
  6005. description: 登录名称(loginaccount表中的accountname字段)
  6006. type: string
  6007. loginstatus:
  6008. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6009. type: integer
  6010. memberuserid:
  6011. description: 所属会员id
  6012. type: integer
  6013. mobile:
  6014. description: 手机号
  6015. type: string
  6016. modifytime:
  6017. description: 修改时间
  6018. type: string
  6019. password:
  6020. description: 密码(不可解密)
  6021. type: string
  6022. rolename:
  6023. description: 角色名称
  6024. type: string
  6025. rolestatus:
  6026. description: 角色状态 1-启用 2-停用
  6027. type: integer
  6028. roletype:
  6029. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6030. type: string
  6031. userid:
  6032. description: 用户id
  6033. type: integer
  6034. usertype:
  6035. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6036. type: integer
  6037. type: object
  6038. models.ErmcpLoginUserEx:
  6039. properties:
  6040. accountstatus:
  6041. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6042. type: integer
  6043. mobile:
  6044. description: 手机号
  6045. type: string
  6046. querytype:
  6047. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6048. type: integer
  6049. roleid:
  6050. description: 角色id(交易账户->用户id)
  6051. type: integer
  6052. rolename:
  6053. description: 角色名称(交易账户->用户名称)
  6054. type: string
  6055. userlist:
  6056. description: 用户列表
  6057. items:
  6058. $ref: '#/definitions/models.ErmcpLoginUser'
  6059. type: array
  6060. usertype:
  6061. description: 用户类型 2-机构 7-企业成员(云平台)
  6062. type: integer
  6063. type: object
  6064. models.ErmcpMiddleGoodsChangeLog:
  6065. properties:
  6066. aftervalue:
  6067. description: 变更后
  6068. type: number
  6069. applyid:
  6070. description: 操作人
  6071. type: integer
  6072. applyname:
  6073. description: 操作人名称
  6074. type: string
  6075. applysrc:
  6076. description: 操作来源 - 1:管理端 2:终端
  6077. type: integer
  6078. beforevalue:
  6079. description: 变更前
  6080. type: number
  6081. changelogtype:
  6082. description: 变更流水类型 - 1:套保比率变更
  6083. type: integer
  6084. handlestatus:
  6085. description: 处理状态
  6086. type: integer
  6087. logdatetime:
  6088. description: 流水日期
  6089. type: string
  6090. logid:
  6091. description: 流水ID
  6092. type: integer
  6093. logremark:
  6094. description: 流水备注
  6095. type: string
  6096. middlegoodsid:
  6097. description: 套保品种ID
  6098. type: integer
  6099. tradedate:
  6100. description: 交易日(yyyyMMdd)
  6101. type: string
  6102. updatetime:
  6103. description: 更新时间
  6104. type: string
  6105. type: object
  6106. models.ErmcpMiddleGoodsDetail:
  6107. properties:
  6108. cvList:
  6109. description: 期货品种折算列表
  6110. items:
  6111. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6112. type: array
  6113. mg:
  6114. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6115. description: 套保品种基本信息
  6116. type: object
  6117. wrcList:
  6118. description: 现货品种列表(现货商品折算配置)
  6119. items:
  6120. $ref: '#/definitions/models.WRSConverTDetail'
  6121. type: array
  6122. type: object
  6123. models.ErmcpMiddleGoodsModel:
  6124. properties:
  6125. areauserid:
  6126. description: 机构用户ID
  6127. type: integer
  6128. createtime:
  6129. description: 修改时间
  6130. type: string
  6131. enumdicname:
  6132. description: 单位名称
  6133. type: string
  6134. evaluateratio:
  6135. description: 估价系数
  6136. type: number
  6137. goodsgroupid:
  6138. description: 关联期货品种ID
  6139. type: integer
  6140. goodsunitid:
  6141. description: 单位ID
  6142. type: integer
  6143. isvalid:
  6144. description: 状态 0-无效(停用) 1-有效(正常)
  6145. type: integer
  6146. middlegoodscode:
  6147. description: 套保品种代码
  6148. type: string
  6149. middlegoodsid:
  6150. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6151. type: integer
  6152. middlegoodsname:
  6153. description: 套保品种名称
  6154. type: string
  6155. modifytime:
  6156. description: 修改时间
  6157. type: string
  6158. needarbitrageratio:
  6159. description: 套利比例
  6160. type: number
  6161. needhedgeratio:
  6162. description: 套保比率
  6163. type: number
  6164. qtydecimalplace:
  6165. description: 数量小数位
  6166. type: integer
  6167. relatedgoodsid:
  6168. description: 关联交易商品ID
  6169. type: integer
  6170. relatedgoodstype:
  6171. description: 关联商品类型 - 1:期货合约 2:现货品种
  6172. type: integer
  6173. remark:
  6174. description: 备注
  6175. type: string
  6176. type: object
  6177. models.ErmcpOPLogModel:
  6178. properties:
  6179. aftervalue:
  6180. description: 变更后
  6181. type: number
  6182. applyid:
  6183. description: 操作人ID
  6184. type: string
  6185. applyname:
  6186. description: 操作人名称
  6187. type: string
  6188. beforevalue:
  6189. description: 变更前
  6190. type: number
  6191. biztype:
  6192. description: 业务类型 - 1:套保计划 2:现货合同
  6193. type: integer
  6194. contracttype:
  6195. description: 现货合同类型 - 1:采购 -1:销售
  6196. type: integer
  6197. logvalue:
  6198. description: 数值
  6199. type: number
  6200. operatelogtype:
  6201. description: 操作流水类型
  6202. type: integer
  6203. operatelogtypedesc:
  6204. description: 操作流水类型名称
  6205. type: string
  6206. relatedid:
  6207. description: 现货合同ID\套保计划
  6208. type: string
  6209. updatetime:
  6210. description: 更新时间
  6211. type: string
  6212. type: object
  6213. models.ErmcpPendingAudit:
  6214. properties:
  6215. areastockqty:
  6216. description: '待审核数量: 库存申请'
  6217. type: integer
  6218. businessdjqty:
  6219. description: '待审核数量: 点价'
  6220. type: integer
  6221. businessfpqty:
  6222. description: '待审核数量: 发票'
  6223. type: integer
  6224. businessjsqty:
  6225. description: '待审核数量: 结算'
  6226. type: integer
  6227. businesskxqty:
  6228. description: '待审核数量: 款项'
  6229. type: integer
  6230. hedgeplanqty:
  6231. description: '待审核数量: 套保计划'
  6232. type: integer
  6233. spotcontractqty:
  6234. description: '待审核数量: 现货合同'
  6235. type: integer
  6236. userqty:
  6237. description: '待审核数量: 用户'
  6238. type: integer
  6239. type: object
  6240. models.ErmcpRealExposureModel:
  6241. properties:
  6242. AreaUserID:
  6243. description: 所属机构
  6244. type: integer
  6245. BuyFutureQty:
  6246. description: 买入期货数量
  6247. type: number
  6248. BuyPlanQty:
  6249. description: 采购计划数量
  6250. type: number
  6251. BuyPricedQty:
  6252. description: 采购合同已定价数量
  6253. type: number
  6254. MiddleGoodsCode:
  6255. description: 套保品种代码
  6256. type: string
  6257. MiddleGoodsHedgeRatio:
  6258. description: 套保比例
  6259. type: number
  6260. MiddleGoodsID:
  6261. description: 套保品种
  6262. type: integer
  6263. MiddleGoodsName:
  6264. description: 套保品种名称
  6265. type: string
  6266. NeedHedgeExposoure:
  6267. description: 应套保敞口(套保敞口)
  6268. type: number
  6269. NeedHedgeRatio:
  6270. description: 应套保敞口比例
  6271. type: number
  6272. OriBuyFutureQty:
  6273. description: 期初买入期货数量
  6274. type: number
  6275. OriBuyPlanQty:
  6276. description: 期初采购计划数量
  6277. type: number
  6278. OriBuyPricedQty:
  6279. description: 期初采购合同已定价数量
  6280. type: number
  6281. OriSellFutureQty:
  6282. description: 期初卖出期货数量
  6283. type: number
  6284. OriSellPlanQty:
  6285. description: 期初销售计划数量
  6286. type: number
  6287. OriSellPricedQty:
  6288. description: 期初销售合同已定价数量
  6289. type: number
  6290. SellFutureQty:
  6291. description: 卖出期货数量
  6292. type: number
  6293. SellPlanQty:
  6294. description: 销售计划数量
  6295. type: number
  6296. SellPricedQty:
  6297. description: 销售合同已定价数量
  6298. type: number
  6299. TotalExposure:
  6300. description: 总敞口
  6301. type: number
  6302. TotalFutureQty:
  6303. description: 期货总量
  6304. type: number
  6305. TotalHedgeRatio:
  6306. description: 敞口比例
  6307. type: number
  6308. TotalNeedHedgeQty:
  6309. description: 应套保总量(现货应套保总量)
  6310. type: number
  6311. TotalSpotQty:
  6312. description: 现货总量
  6313. type: number
  6314. arbitrageqty:
  6315. description: 套利量
  6316. type: number
  6317. diffArbitrageQty:
  6318. description: 套利变动量
  6319. type: number
  6320. diffExposoureQty:
  6321. description: 变动量(套保敞口)
  6322. type: number
  6323. diffFutuQty:
  6324. description: 变动量(期货总量)
  6325. type: number
  6326. diffHedgeQty:
  6327. description: 套保变动量
  6328. type: number
  6329. diffQty:
  6330. description: 变动量(总敞口)
  6331. type: number
  6332. diffSpotHedgeQty:
  6333. description: 变动量(现货应套保总量)
  6334. type: number
  6335. diffSpotQty:
  6336. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6337. type: number
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. hedgeqty:
  6342. description: 套保量
  6343. type: number
  6344. needarbitrageqty:
  6345. description: 应套利量
  6346. type: number
  6347. needarbitrageratio:
  6348. description: 套利比例
  6349. type: number
  6350. needhedgeqty:
  6351. description: 应套保量
  6352. type: number
  6353. oriTotalFutuQty:
  6354. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6355. type: number
  6356. oriTotalSpotQty:
  6357. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6358. type: number
  6359. oriarbitrageqty:
  6360. description: 期初套利量
  6361. type: number
  6362. orihedgeqty:
  6363. description: 期初套保量
  6364. type: number
  6365. orineedhedgeexposoure:
  6366. description: 期初套保敞口
  6367. type: number
  6368. oritotalexposure:
  6369. description: 期初总敞口
  6370. type: number
  6371. oritotalfutureqty:
  6372. description: 期初期货总量
  6373. type: number
  6374. oritotalneedhedgeqty:
  6375. description: 期初现货应套保量
  6376. type: number
  6377. type: object
  6378. models.ErmcpRole:
  6379. properties:
  6380. areauserid:
  6381. description: 所属机构
  6382. type: integer
  6383. autoid:
  6384. description: 角色ID(自增ID)
  6385. type: integer
  6386. modifierid:
  6387. description: 修改人(创建人)
  6388. type: integer
  6389. modifiername:
  6390. description: 修改人名称
  6391. type: string
  6392. modifytime:
  6393. description: 修改时间(创建时间)
  6394. type: string
  6395. rolename:
  6396. description: 角色名称
  6397. type: string
  6398. rolestatus:
  6399. description: 角色状态 - 1:启用 2:停用
  6400. type: integer
  6401. roletype:
  6402. description: 角色类型 - 1- 管理端 2- 交易端
  6403. type: integer
  6404. type: object
  6405. models.ErmcpRoleMenu:
  6406. properties:
  6407. iconame:
  6408. description: 菜单图标
  6409. type: string
  6410. ishadrole:
  6411. description: 是否有权限
  6412. type: boolean
  6413. menutype:
  6414. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6415. type: integer
  6416. parentcode:
  6417. description: 上级资源代码
  6418. type: string
  6419. remark:
  6420. description: 菜单备注
  6421. type: string
  6422. resourcecode:
  6423. description: 菜单代码
  6424. type: string
  6425. resourcelevel:
  6426. description: 级别
  6427. type: integer
  6428. resourcename:
  6429. description: 菜单名称
  6430. type: string
  6431. roleid:
  6432. description: 角色id
  6433. type: integer
  6434. sort:
  6435. description: 排序
  6436. type: integer
  6437. url:
  6438. description: URL
  6439. type: string
  6440. userid:
  6441. description: 用户id
  6442. type: integer
  6443. type: object
  6444. models.ErmcpRoleMenuEx:
  6445. properties:
  6446. menu:
  6447. $ref: '#/definitions/models.ErmcpRoleMenu'
  6448. description: 父级菜单
  6449. type: object
  6450. subMenu:
  6451. description: 子级菜单
  6452. items:
  6453. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6454. type: array
  6455. type: object
  6456. models.ErmcpTaAccount:
  6457. properties:
  6458. accountid:
  6459. description: 账户id
  6460. type: integer
  6461. accountname:
  6462. description: 账户名称
  6463. type: string
  6464. currencyid:
  6465. description: 币种id
  6466. type: integer
  6467. hedgeaccountcode:
  6468. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6469. type: string
  6470. ismain:
  6471. description: 是否主账户 0-否 1-是
  6472. type: integer
  6473. parentaccountid:
  6474. description: 父账户id
  6475. type: integer
  6476. relateduserid:
  6477. description: 关联userid
  6478. type: integer
  6479. tradefeetmpid:
  6480. description: 手续费模板id
  6481. type: integer
  6482. tradefeetmpname:
  6483. description: 手续费模板名称
  6484. type: string
  6485. trademargintmpid:
  6486. description: 保证金模板id
  6487. type: integer
  6488. trademargintmpname:
  6489. description: 保证金模板名称
  6490. type: string
  6491. traderatetmpid:
  6492. description: 汇率模板id
  6493. type: integer
  6494. traderatetmpname:
  6495. description: 汇率模板名称
  6496. type: string
  6497. tradestatus:
  6498. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6499. type: integer
  6500. userid:
  6501. description: 用户id
  6502. type: integer
  6503. type: object
  6504. models.ErmcpTaAccountEx:
  6505. properties:
  6506. mainAcc:
  6507. $ref: '#/definitions/models.ErmcpTaAccountM'
  6508. description: 主账号
  6509. type: object
  6510. subacclist:
  6511. description: 子账号列表
  6512. items:
  6513. $ref: '#/definitions/models.ErmcpTaAccount'
  6514. type: array
  6515. type: object
  6516. models.ErmcpTaAccountInfo:
  6517. properties:
  6518. accountid:
  6519. description: 资金账户ID
  6520. type: integer
  6521. accountname:
  6522. description: 账户名称
  6523. type: string
  6524. balance:
  6525. description: 期初余额
  6526. type: number
  6527. capitalbalance:
  6528. description: 本金余额[外部子账户实际出入金余额]
  6529. type: number
  6530. closepl:
  6531. description: 今日平仓盈亏
  6532. type: number
  6533. creditdecrease:
  6534. description: 今日授信减少
  6535. type: number
  6536. creditincrease:
  6537. description: 今日授信增加
  6538. type: number
  6539. curdebt:
  6540. description: 期末欠款
  6541. type: number
  6542. currencyid:
  6543. description: 货币ID
  6544. type: integer
  6545. currentbalance:
  6546. description: 期末余额
  6547. type: number
  6548. freezecharge:
  6549. description: 手续费冻结
  6550. type: number
  6551. freezemargin:
  6552. description: 冻结保证金
  6553. type: number
  6554. fromaccountid:
  6555. description: 所属上级账户
  6556. type: integer
  6557. inamount:
  6558. description: 今日入金金额(包括三方入金)
  6559. type: number
  6560. ismain:
  6561. description: 是否母账号 0:不是母账户 1:是母账户
  6562. type: integer
  6563. mortgagecredit:
  6564. description: 授信金额
  6565. type: number
  6566. oridebt:
  6567. description: 期初欠款
  6568. type: number
  6569. orifreezecharge:
  6570. description: 期初手续费冻结
  6571. type: number
  6572. orifreezemargin:
  6573. description: 期初冻结保证金
  6574. type: number
  6575. orimortgagecredit:
  6576. description: 期初授信金额
  6577. type: number
  6578. oriothercredit:
  6579. description: 期初其它授信金额
  6580. type: number
  6581. oriotherfreezemargin:
  6582. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6583. type: number
  6584. orioutamountfreeze:
  6585. description: 期初出金冻结
  6586. type: number
  6587. oriusedmargin:
  6588. description: 期初占用保证金
  6589. type: number
  6590. othercredit:
  6591. description: 其它授信金额
  6592. type: number
  6593. othercreditdecrease:
  6594. description: 今日其它授信减少
  6595. type: number
  6596. othercreditincrease:
  6597. description: 今日其它授信增加
  6598. type: number
  6599. otherfreezemargin:
  6600. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6601. type: number
  6602. outamount:
  6603. description: 今日出金金额(包括三方出金)
  6604. type: number
  6605. outamountfreeze:
  6606. description: 出金冻结
  6607. type: number
  6608. outthreshold:
  6609. description: 出金阈值
  6610. type: number
  6611. parentaccountid:
  6612. description: 所属根账号
  6613. type: integer
  6614. paycharge:
  6615. description: 今日手续费支出
  6616. type: number
  6617. relateduserid:
  6618. description: 关联用户
  6619. type: integer
  6620. signstatus:
  6621. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6622. type: integer
  6623. sublevelpath:
  6624. description: 账号层级路径(逗号分隔,首尾加逗号)
  6625. type: string
  6626. taaccounttype:
  6627. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6628. type: integer
  6629. thirdinamount:
  6630. description: 今日三方入金
  6631. type: number
  6632. thirdoutamount:
  6633. description: 今日三方出金
  6634. type: number
  6635. tradestatus:
  6636. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6637. type: integer
  6638. transferamount:
  6639. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6640. type: number
  6641. usedmargin:
  6642. description: 占用保证金
  6643. type: number
  6644. userid:
  6645. description: 用户ID
  6646. type: integer
  6647. type: object
  6648. models.ErmcpTaAccountM:
  6649. properties:
  6650. accountid:
  6651. description: 账户id
  6652. type: integer
  6653. accountname:
  6654. description: 账户名称
  6655. type: string
  6656. currencyid:
  6657. description: 币种id
  6658. type: integer
  6659. fcid:
  6660. description: 期货公司id
  6661. type: integer
  6662. fcname:
  6663. description: 期货公司代码
  6664. type: string
  6665. hedgeaccountcode:
  6666. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6667. type: string
  6668. ismain:
  6669. description: 是否主账户 0-否 1-是
  6670. type: integer
  6671. parentaccountid:
  6672. description: 父账户id
  6673. type: integer
  6674. relateduserid:
  6675. description: 关联userid
  6676. type: integer
  6677. tradefeetmpid:
  6678. description: 手续费模板id
  6679. type: integer
  6680. tradefeetmpname:
  6681. description: 手续费模板名称
  6682. type: string
  6683. trademargintmpid:
  6684. description: 保证金模板id
  6685. type: integer
  6686. trademargintmpname:
  6687. description: 保证金模板名称
  6688. type: string
  6689. traderatetmpid:
  6690. description: 汇率模板id
  6691. type: integer
  6692. traderatetmpname:
  6693. description: 汇率模板名称
  6694. type: string
  6695. tradestatus:
  6696. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6697. type: integer
  6698. userid:
  6699. description: 用户id
  6700. type: integer
  6701. type: object
  6702. models.ErmcpTradeConfigTMP:
  6703. properties:
  6704. areauserid:
  6705. description: 所属机构
  6706. type: integer
  6707. basiccurrencyid:
  6708. description: 基本币种ID[汇率] - 目标币种
  6709. type: integer
  6710. mainaccountid:
  6711. description: 主账户ID
  6712. type: integer
  6713. modifierid:
  6714. description: 修改人
  6715. type: integer
  6716. remark:
  6717. description: 备注
  6718. type: string
  6719. tradeconfigtmpid:
  6720. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6721. type: integer
  6722. tradeconfigtmpname:
  6723. description: 交易配置模板名称
  6724. type: string
  6725. tradeconfigtmptype:
  6726. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6727. type: integer
  6728. updatetime:
  6729. description: 更新时间
  6730. type: string
  6731. type: object
  6732. models.ErmcpUserModel:
  6733. properties:
  6734. address:
  6735. description: 通讯地址
  6736. type: string
  6737. attachment1:
  6738. description: 附件1
  6739. type: string
  6740. audittime:
  6741. description: 审核时间
  6742. type: string
  6743. cardbackphotourl:
  6744. description: 证件反面图片地址
  6745. type: string
  6746. cardfrontphotourl:
  6747. description: 证件正面图片地址
  6748. type: string
  6749. cardnum:
  6750. description: 证件号码
  6751. type: string
  6752. cardtype:
  6753. description: 证件类型
  6754. type: integer
  6755. cardtypename:
  6756. description: 证件类型名称
  6757. type: string
  6758. cityid:
  6759. description: 市
  6760. type: integer
  6761. contactname:
  6762. description: 联系人
  6763. type: string
  6764. countryid:
  6765. description: 国家
  6766. type: integer
  6767. createtime:
  6768. description: 创建时间
  6769. type: string
  6770. customername:
  6771. description: 企业名称
  6772. type: string
  6773. districtid:
  6774. description: 区域
  6775. type: integer
  6776. email:
  6777. description: 邮件
  6778. type: string
  6779. legalpersonname:
  6780. description: 法人姓名(企业)
  6781. type: string
  6782. memberuserid:
  6783. description: 所属机构ID
  6784. type: integer
  6785. mobile:
  6786. description: 手机号码
  6787. type: string
  6788. modifytime:
  6789. description: 修改时间
  6790. type: string
  6791. nickname:
  6792. description: 昵称
  6793. type: string
  6794. provinceid:
  6795. description: 省
  6796. type: integer
  6797. remark:
  6798. description: 备注
  6799. type: string
  6800. status:
  6801. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6802. type: integer
  6803. statusdesc:
  6804. description: 账户状态中文描述
  6805. type: string
  6806. taxpayernum:
  6807. description: 纳税人识别号
  6808. type: string
  6809. telphone:
  6810. description: 联系电话
  6811. type: string
  6812. userid:
  6813. description: 用户ID
  6814. type: integer
  6815. userinfotype:
  6816. description: 客户类型
  6817. type: string
  6818. type: object
  6819. models.ErmcpWareHouseInfo:
  6820. properties:
  6821. address:
  6822. description: 详细地址
  6823. type: string
  6824. areauserid:
  6825. description: 所属机构
  6826. type: integer
  6827. autoid:
  6828. description: 自增ID(仓库ID)
  6829. type: integer
  6830. cityid:
  6831. description: 市
  6832. type: integer
  6833. contactname:
  6834. description: 联系人
  6835. type: string
  6836. contactnum:
  6837. description: 联系电话
  6838. type: string
  6839. countryid:
  6840. description: 国家
  6841. type: integer
  6842. createtime:
  6843. description: 创建时间
  6844. type: string
  6845. districtid:
  6846. description: 区
  6847. type: integer
  6848. hasvideo:
  6849. description: 是否有视频 - 0:无 1:有
  6850. type: integer
  6851. provinceid:
  6852. description: 省
  6853. type: integer
  6854. remark:
  6855. description: 审核备注
  6856. type: string
  6857. videourl:
  6858. description: 视频地址
  6859. type: string
  6860. warehousecode:
  6861. description: 仓库代码
  6862. type: string
  6863. warehousename:
  6864. description: 仓库名称
  6865. type: string
  6866. warehousestatus:
  6867. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6868. type: integer
  6869. warehousetype:
  6870. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6871. type: integer
  6872. type: object
  6873. models.Externalexchange:
  6874. properties:
  6875. autoid:
  6876. description: AutoID - SEQ_EXTERNALEXCHANGE
  6877. type: integer
  6878. exchangefullname:
  6879. description: 外部交易所全称
  6880. type: string
  6881. exexchangecode:
  6882. description: 外部交易所代码
  6883. type: string
  6884. exexchangename:
  6885. description: 外部交易所名称(简称)
  6886. type: string
  6887. ismarketprice:
  6888. description: 是否支持市价 - 0:不支持 1:支持
  6889. type: integer
  6890. quotegear:
  6891. description: 行情档位(1-10)
  6892. type: integer
  6893. showbrokerflag:
  6894. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6895. type: integer
  6896. updatetime:
  6897. description: 更新时间
  6898. type: string
  6899. required:
  6900. - autoid
  6901. type: object
  6902. models.Funcmenulist:
  6903. properties:
  6904. iconame:
  6905. description: 菜单图标
  6906. type: string
  6907. menutype:
  6908. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6909. type: integer
  6910. parentcode:
  6911. description: 上级资源代码
  6912. type: string
  6913. remark:
  6914. description: 备注
  6915. type: string
  6916. resourcecode:
  6917. description: 资源代码
  6918. type: string
  6919. resourcelevel:
  6920. description: 级别 1-一级 2-二级 3-三级 4-四级
  6921. type: integer
  6922. resourcename:
  6923. description: 资源名
  6924. type: string
  6925. sort:
  6926. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6927. type: integer
  6928. url:
  6929. description: URL
  6930. type: string
  6931. required:
  6932. - resourcecode
  6933. type: object
  6934. models.Goods:
  6935. properties:
  6936. agreeunit:
  6937. description: 合约单位
  6938. type: number
  6939. auditaccountid:
  6940. description: 审核操作员账号
  6941. type: integer
  6942. audittime:
  6943. description: 审核时间
  6944. type: string
  6945. cancelaccountid:
  6946. description: 注销操作员账号
  6947. type: integer
  6948. canceltime:
  6949. description: 注销时间
  6950. type: string
  6951. closepricemode:
  6952. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6953. type: integer
  6954. closepriceparam:
  6955. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6956. type: number
  6957. createtime:
  6958. description: 创建时间
  6959. type: string
  6960. creatorid:
  6961. description: 创建人
  6962. type: integer
  6963. currencyid:
  6964. description: 报价货币ID
  6965. type: integer
  6966. cutmode:
  6967. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6968. type: integer
  6969. decimalplace:
  6970. description: 报价小数位
  6971. type: integer
  6972. delistingdate:
  6973. description: 商品退市时间(状态:退市) -- 已作废
  6974. type: string
  6975. delistingmode:
  6976. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6977. type: integer
  6978. deliveryflag:
  6979. description: 交割标志 - 0:不可交割 1:可交割
  6980. type: integer
  6981. forceclosemode:
  6982. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6983. type: integer
  6984. forceclosevalue:
  6985. description: 定期强平参数 [收益权]
  6986. type: integer
  6987. goodscode:
  6988. description: 商品代码(内部)
  6989. type: string
  6990. goodscurrencyid:
  6991. description: 合约货币ID
  6992. type: integer
  6993. goodsgroupid:
  6994. description: 所属商品组ID
  6995. type: integer
  6996. goodsid:
  6997. description: 商品ID(自增ID SEQ_GOODS)
  6998. type: integer
  6999. goodsname:
  7000. description: 商品名称
  7001. type: string
  7002. goodsquotetype:
  7003. description: '合约报价类型: 1-直接报价 2-间接报价'
  7004. type: integer
  7005. goodsstatus:
  7006. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7007. type: integer
  7008. goodstradetype:
  7009. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7010. type: integer
  7011. goodunitid:
  7012. description: 报价单位ID
  7013. type: integer
  7014. hasquoter:
  7015. description: 是否有报价商 - 0:无报价商 1:有报价商
  7016. type: integer
  7017. hqprotecttime:
  7018. description: 行情保护时间(秒)
  7019. type: integer
  7020. innerdealmode:
  7021. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7022. type: integer
  7023. isbuylimited:
  7024. description: 是否限制建仓量 - 0:不限制 1:限制
  7025. type: integer
  7026. lasttradedate:
  7027. description: 最后交易日期(状态:待退市)
  7028. type: string
  7029. listingdate:
  7030. description: 交易开始日期
  7031. type: string
  7032. marketid:
  7033. description: 所属市场ID
  7034. type: integer
  7035. modifierid:
  7036. description: 修改人
  7037. type: integer
  7038. modifystatus:
  7039. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7040. type: integer
  7041. modifytime:
  7042. description: 修改时间
  7043. type: string
  7044. outerdealmode:
  7045. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7046. type: integer
  7047. outgoodscode:
  7048. description: 商品代码(外部)
  7049. type: string
  7050. qtydecimalplace:
  7051. description: 成交量小数位
  7052. type: integer
  7053. quotegear:
  7054. description: 行情档位(1-10)
  7055. type: integer
  7056. quoteminunit:
  7057. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7058. type: integer
  7059. quoteshowtype:
  7060. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7061. type: integer
  7062. quoteshowtypeinterval:
  7063. description: 行情报价间隔时间(秒)(成交价时为0)
  7064. type: integer
  7065. remark:
  7066. description: 备注
  7067. type: string
  7068. required:
  7069. - goodscode
  7070. - goodsid
  7071. - goodsname
  7072. - marketid
  7073. type: object
  7074. models.GoodsIDAndName:
  7075. properties:
  7076. goodscode:
  7077. description: 商品代码(内部)
  7078. type: string
  7079. goodsid:
  7080. description: 商品ID(自增ID SEQ_GOODS)
  7081. type: integer
  7082. goodsname:
  7083. description: 商品名称
  7084. type: string
  7085. marketid:
  7086. description: 所属市场ID
  7087. type: integer
  7088. required:
  7089. - goodscode
  7090. - goodsid
  7091. - goodsname
  7092. - marketid
  7093. type: object
  7094. models.Goodsgroup:
  7095. properties:
  7096. agreeunit:
  7097. description: 合约单位
  7098. type: number
  7099. canshort:
  7100. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7101. type: integer
  7102. closepricemode:
  7103. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7104. type: integer
  7105. closepriceparam:
  7106. description: 强平最新价浮动比例 - 方式为2时使用
  7107. type: number
  7108. createtime:
  7109. description: 创建时间
  7110. type: string
  7111. creatorid:
  7112. description: 创建人
  7113. type: integer
  7114. currencyid:
  7115. description: 报价货币ID
  7116. type: integer
  7117. decimalplace:
  7118. description: 报价小数位
  7119. type: integer
  7120. exercisetype:
  7121. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7122. type: integer
  7123. exexchangeid:
  7124. description: 外部交易所ID[通道交易]
  7125. type: integer
  7126. goodsgroupid:
  7127. description: 商品组ID(自增ID)
  7128. type: integer
  7129. goodsgroupname:
  7130. description: 商品组名称
  7131. type: string
  7132. goodsgroupstatus:
  7133. description: 商品组状态 - 1:正常 2:注销
  7134. type: integer
  7135. goodunitid:
  7136. description: 报价单位ID
  7137. type: integer
  7138. innerdealmode:
  7139. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7140. type: integer
  7141. isbuylimited:
  7142. description: 是否限制建仓量 - 0:不限制 1:限制
  7143. type: integer
  7144. marketid:
  7145. description: 所属市场ID
  7146. type: integer
  7147. modifierid:
  7148. description: 修改人
  7149. type: integer
  7150. modifytime:
  7151. description: 修改时间
  7152. type: string
  7153. outerdealmode:
  7154. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7155. type: integer
  7156. outergroupcode:
  7157. description: 外部商品组代码[通道交易]
  7158. type: string
  7159. premiumdecimalplace:
  7160. description: 权利金小数位[场外期权]
  7161. type: integer
  7162. premiumspreadalgorithm:
  7163. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7164. type: integer
  7165. premiumspreadvalue:
  7166. description: 权利金点差值[场外期权]
  7167. type: number
  7168. qtydecimalplace:
  7169. description: 成交量小数位
  7170. type: integer
  7171. quotegear:
  7172. description: 行情档位(1-10)
  7173. type: integer
  7174. quoteminunit:
  7175. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7176. type: integer
  7177. quoterid:
  7178. description: 报价商ID[场外期权]
  7179. type: integer
  7180. quotesourcegroupid:
  7181. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7182. type: integer
  7183. syncgoodsqty:
  7184. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7185. type: integer
  7186. required:
  7187. - goodsgroupid
  7188. - goodsgroupname
  7189. - goodsgroupstatus
  7190. - marketid
  7191. type: object
  7192. models.Goodssortbypreposition:
  7193. properties:
  7194. goodscode:
  7195. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7196. type: string
  7197. goodsgroupcode:
  7198. description: 品种代码
  7199. type: string
  7200. prepositionqty:
  7201. description: 昨持仓量
  7202. type: integer
  7203. sortindex:
  7204. description: 排序
  7205. type: integer
  7206. tradedate:
  7207. description: 交易日
  7208. type: string
  7209. updatetime:
  7210. description: 更新时间
  7211. type: string
  7212. required:
  7213. - goodscode
  7214. - tradedate
  7215. type: object
  7216. models.Hedgeinnerholderdetail:
  7217. properties:
  7218. accountid:
  7219. description: 账号ID
  7220. type: integer
  7221. buyorsell:
  7222. description: 方向 - 0:买 1:卖
  7223. type: integer
  7224. freezeqty:
  7225. description: 冻结数量 - 按单平使用
  7226. type: integer
  7227. goodsid:
  7228. description: 商品ID
  7229. type: integer
  7230. holderamount:
  7231. description: 持仓金额 [商品币种]
  7232. type: number
  7233. holderdays:
  7234. description: 剩余冻结天数
  7235. type: integer
  7236. holderprice:
  7237. description: 持仓价格
  7238. type: number
  7239. holderqty:
  7240. description: 持仓数量
  7241. type: integer
  7242. marketid:
  7243. description: 市场ID
  7244. type: integer
  7245. openprice:
  7246. description: 建仓价格
  7247. type: number
  7248. openqty:
  7249. description: 建仓数量
  7250. type: integer
  7251. parentaccountid:
  7252. description: 所属母账户
  7253. type: integer
  7254. releaseamount:
  7255. description: 释放持仓金额[商品币种]
  7256. type: number
  7257. tradeamount:
  7258. description: 成交金额[账户]
  7259. type: number
  7260. tradedate:
  7261. description: 交易日(yyyyMMdd)
  7262. type: string
  7263. tradeid:
  7264. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7265. type: string
  7266. tradetime:
  7267. description: 交易时间
  7268. type: string
  7269. required:
  7270. - buyorsell
  7271. - tradeid
  7272. type: object
  7273. models.Hedgemarketopenlog:
  7274. properties:
  7275. accountid:
  7276. description: 资金账号[外部母账户]
  7277. type: integer
  7278. fcname:
  7279. description: 期货公司名称
  7280. type: string
  7281. handlestatus:
  7282. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7283. type: integer
  7284. marketid:
  7285. description: 市场ID
  7286. type: integer
  7287. status:
  7288. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7289. type: integer
  7290. tradedate:
  7291. description: 交易日(yyyyMMdd)
  7292. type: string
  7293. updatetime:
  7294. description: 更新时间
  7295. type: string
  7296. required:
  7297. - accountid
  7298. type: object
  7299. models.HsbyBuyMyPayOrder:
  7300. properties:
  7301. agreeunit:
  7302. description: 合约单位
  7303. type: number
  7304. buyaccountid:
  7305. description: 买方账号ID[报价币种]
  7306. type: integer
  7307. buyorderid:
  7308. description: 买方委托单号
  7309. type: string
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencysign:
  7314. description: 货币符号
  7315. type: string
  7316. decimalplace:
  7317. description: 报价小数位
  7318. type: integer
  7319. goodscode:
  7320. description: 商品代码(内部)
  7321. type: string
  7322. goodsid:
  7323. description: 商品ID
  7324. type: integer
  7325. goodsname:
  7326. description: 商品名称
  7327. type: string
  7328. marketid:
  7329. description: 市场ID
  7330. type: integer
  7331. offamount:
  7332. description: 优惠金额
  7333. type: number
  7334. originalamount:
  7335. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7336. type: number
  7337. payamount:
  7338. description: 支付金额 = TradeAmount + TradeCharge
  7339. type: number
  7340. payflag:
  7341. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7342. type: integer
  7343. paylimitedtime:
  7344. description: 支付期限
  7345. type: string
  7346. paytime:
  7347. description: 付款时间
  7348. type: string
  7349. picurls1:
  7350. description: 预售商品介绍图片[多张用逗号分隔]
  7351. type: string
  7352. picurls2:
  7353. description: 挂牌商品介绍图片[多张用逗号分隔]
  7354. type: string
  7355. sellaccountid:
  7356. description: 卖方账号ID[报价币种]
  7357. type: integer
  7358. sellorderid:
  7359. description: 卖方委托单号
  7360. type: string
  7361. tradeamount:
  7362. description: 成交金额
  7363. type: number
  7364. tradecharge:
  7365. description: 成交手续费(买方)
  7366. type: number
  7367. tradedate:
  7368. description: 交易日(yyyyMMdd)
  7369. type: string
  7370. tradeid:
  7371. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7372. type: string
  7373. trademode:
  7374. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7375. 21:竞拍-大宗式 22:受托竞价
  7376. type: integer
  7377. tradeprice:
  7378. description: 成交价格
  7379. type: number
  7380. tradeqty:
  7381. description: 成交数量
  7382. type: integer
  7383. vendorname1:
  7384. description: 预售商品供应商名称
  7385. type: string
  7386. vendorname2:
  7387. description: 挂牌商品供应商名称
  7388. type: string
  7389. required:
  7390. - goodscode
  7391. - goodsname
  7392. - tradeid
  7393. - trademode
  7394. type: object
  7395. models.HsbyBuyMyTradeDetail:
  7396. properties:
  7397. accountid:
  7398. description: 账户ID[报价币种]
  7399. type: integer
  7400. agreeunit:
  7401. description: 合约单位
  7402. type: number
  7403. amount:
  7404. description: 金额 = 价格 * 数量 * 合约单位
  7405. type: number
  7406. buyorsell:
  7407. description: 买卖 - 0:买 1:卖
  7408. type: integer
  7409. currencysign:
  7410. description: 货币符号
  7411. type: string
  7412. decimalplace:
  7413. description: 报价小数位
  7414. type: integer
  7415. goodscode:
  7416. description: 商品代码(内部)
  7417. type: string
  7418. goodsid:
  7419. description: 商品ID
  7420. type: integer
  7421. goodsname:
  7422. description: 商品名称
  7423. type: string
  7424. marketid:
  7425. description: 市场ID
  7426. type: integer
  7427. orderamount:
  7428. description: 委托金额
  7429. type: number
  7430. orderid:
  7431. description: 单号(成交单号)
  7432. type: string
  7433. picurls1:
  7434. description: 预售商品介绍图片[多张用逗号分隔]
  7435. type: string
  7436. picurls2:
  7437. description: 挂牌商品介绍图片[多张用逗号分隔]
  7438. type: string
  7439. price:
  7440. description: 价格
  7441. type: number
  7442. qty:
  7443. description: 数量
  7444. type: integer
  7445. time:
  7446. description: 时间
  7447. type: string
  7448. trademode:
  7449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7450. 21:竞拍-大宗式 22:受托竞价
  7451. type: integer
  7452. vendorname1:
  7453. description: 预售商品供应商名称
  7454. type: string
  7455. vendorname2:
  7456. description: 挂牌商品供应商名称
  7457. type: string
  7458. required:
  7459. - accountid
  7460. - buyorsell
  7461. - goodscode
  7462. - goodsid
  7463. - goodsname
  7464. - marketid
  7465. - orderid
  7466. - qty
  7467. - time
  7468. - trademode
  7469. type: object
  7470. models.HsbyGoodsOrderDetail:
  7471. properties:
  7472. buyorsell:
  7473. description: 买卖 - 0:买 1:卖
  7474. type: integer
  7475. currencysign:
  7476. description: 货币符号
  7477. type: string
  7478. customername:
  7479. description: 客户名称(企业名称),已脱敏
  7480. type: string
  7481. enableqty:
  7482. description: 可用数量
  7483. type: integer
  7484. goodunit:
  7485. description: 报价单位
  7486. type: string
  7487. orderid:
  7488. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7489. type: string
  7490. orderprice:
  7491. description: 委托价格
  7492. type: number
  7493. ordertime:
  7494. description: 委托时间
  7495. type: string
  7496. required:
  7497. - buyorsell
  7498. - orderid
  7499. - ordertime
  7500. type: object
  7501. models.HsbyListingGoodsDetail:
  7502. properties:
  7503. agreeunit:
  7504. description: 合约单位
  7505. type: number
  7506. buymaxqty:
  7507. description: 购买上限 [71] - 0为不限
  7508. type: integer
  7509. currency:
  7510. description: 货币
  7511. type: string
  7512. currencysign:
  7513. description: 货币符号
  7514. type: string
  7515. decimalplace:
  7516. description: 报价小数位
  7517. type: integer
  7518. desccityid:
  7519. description: 目的地(市)ID
  7520. type: integer
  7521. descprovinceid:
  7522. description: 目的地(省)ID
  7523. type: integer
  7524. goodscode:
  7525. description: 商品代码(内部)
  7526. type: string
  7527. goodsdesc:
  7528. description: 商品详情
  7529. type: string
  7530. goodsid:
  7531. description: 商品ID(自增ID SEQ_GOODS)
  7532. type: integer
  7533. goodsname:
  7534. description: 商品名称
  7535. type: string
  7536. goodsprice:
  7537. description: 商品价格
  7538. type: number
  7539. hotindex:
  7540. description: 景点热度
  7541. type: integer
  7542. last:
  7543. description: 现价
  7544. type: number
  7545. limitdown:
  7546. description: 跌停价
  7547. type: number
  7548. limitup:
  7549. description: 涨停价
  7550. type: number
  7551. lotsize:
  7552. description: 手数最小变动单位
  7553. type: integer
  7554. marketid:
  7555. description: 所属市场ID
  7556. type: integer
  7557. picurls:
  7558. description: 介绍图片[多张用逗号分隔]
  7559. type: string
  7560. quoteminunit:
  7561. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7562. type: integer
  7563. stepvalue:
  7564. description: 价格最小变动单位
  7565. type: number
  7566. trademode:
  7567. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7568. 21:竞拍-大宗式 22:受托竞价
  7569. type: integer
  7570. vendorattr:
  7571. description: 供应商附件(多张,逗号分隔)
  7572. type: string
  7573. vendorname:
  7574. description: 供应商名称
  7575. type: string
  7576. vendorphone:
  7577. description: 供应商客服电话
  7578. type: string
  7579. videourls:
  7580. description: 介绍视频[多张用逗号分隔]
  7581. type: string
  7582. required:
  7583. - goodscode
  7584. - goodsid
  7585. - goodsname
  7586. - marketid
  7587. - trademode
  7588. type: object
  7589. models.HsbyMarketGoods:
  7590. properties:
  7591. accountid:
  7592. description: 账户ID[报价币种]
  7593. type: integer
  7594. agreeunit:
  7595. description: 合约单位
  7596. type: number
  7597. buyorsell:
  7598. description: 买卖 - 0:买 1:卖
  7599. type: integer
  7600. categoryid:
  7601. description: 类别ID(WRCATEGORY)
  7602. type: integer
  7603. currency:
  7604. description: 货币
  7605. type: string
  7606. currencysign:
  7607. description: 货币符号
  7608. type: string
  7609. customername:
  7610. description: 卖家名称
  7611. type: string
  7612. decimalplace:
  7613. description: 报价小数位
  7614. type: integer
  7615. goodscode:
  7616. description: 商品代码(内部)
  7617. type: string
  7618. goodsid:
  7619. description: 商品ID
  7620. type: integer
  7621. goodsname:
  7622. description: 商品名称
  7623. type: string
  7624. goodsprice:
  7625. description: 商品价格
  7626. type: number
  7627. hascoupon:
  7628. description: 是否可用优惠卷
  7629. type: boolean
  7630. hotindex:
  7631. description: 景点热度
  7632. type: integer
  7633. marketid:
  7634. description: 市场ID
  7635. type: integer
  7636. orderid:
  7637. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7638. type: string
  7639. orderprice:
  7640. description: 委托价格
  7641. type: number
  7642. orderstatus:
  7643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7645. 16:成交失败违约(荷兰式竞拍专用)
  7646. type: integer
  7647. picurls:
  7648. description: 介绍图片[多张用逗号分隔]
  7649. type: string
  7650. quoteminunit:
  7651. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7652. type: integer
  7653. sellUserID:
  7654. description: 卖方UserID
  7655. type: integer
  7656. trademode:
  7657. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7658. 21:竞拍-大宗式 22:受托竞价
  7659. type: integer
  7660. videourls:
  7661. description: 介绍视频[多张用逗号分隔]
  7662. type: string
  7663. required:
  7664. - accountid
  7665. - buyorsell
  7666. - goodscode
  7667. - goodsid
  7668. - goodsname
  7669. - marketid
  7670. - orderid
  7671. - trademode
  7672. type: object
  7673. models.HsbyMarketGoodsDetail:
  7674. properties:
  7675. accountid:
  7676. description: 账户ID[报价币种]
  7677. type: integer
  7678. agreeunit:
  7679. description: 合约单位
  7680. type: number
  7681. buymaxqty:
  7682. description: 购买上限 [71] - 0为不限
  7683. type: integer
  7684. buyorsell:
  7685. description: 买卖 - 0:买 1:卖
  7686. type: integer
  7687. cancelqty:
  7688. description: 撤单数量
  7689. type: integer
  7690. categoryid:
  7691. description: 类别ID(WRCATEGORY)
  7692. type: integer
  7693. currency:
  7694. description: 货币
  7695. type: string
  7696. currencysign:
  7697. description: 货币符号
  7698. type: string
  7699. customername:
  7700. description: 卖家名称
  7701. type: string
  7702. decimalplace:
  7703. description: 报价小数位
  7704. type: integer
  7705. goodscode:
  7706. description: 商品代码(内部)
  7707. type: string
  7708. goodsdesc:
  7709. description: 商品详情
  7710. type: string
  7711. goodsid:
  7712. description: 商品ID
  7713. type: integer
  7714. goodsname:
  7715. description: 商品名称
  7716. type: string
  7717. goodsprice:
  7718. description: 商品价格
  7719. type: number
  7720. hotindex:
  7721. description: 景点热度
  7722. type: integer
  7723. lotsize:
  7724. description: 手数最小变动单位
  7725. type: integer
  7726. marketid:
  7727. description: 市场ID
  7728. type: integer
  7729. orderid:
  7730. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7731. type: string
  7732. orderprice:
  7733. description: 委托价格
  7734. type: number
  7735. orderqty:
  7736. description: 委托数量
  7737. type: integer
  7738. orderstatus:
  7739. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7740. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7741. 16:成交失败违约(荷兰式竞拍专用)
  7742. type: integer
  7743. picurls:
  7744. description: 介绍图片[多张用逗号分隔]
  7745. type: string
  7746. quoteminunit:
  7747. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7748. type: integer
  7749. sellUserID:
  7750. description: 卖方UserID
  7751. type: integer
  7752. trademode:
  7753. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7754. 21:竞拍-大宗式 22:受托竞价
  7755. type: integer
  7756. tradeqty:
  7757. description: 成交数量
  7758. type: integer
  7759. vendorattr:
  7760. description: 供应商附件(多张,逗号分隔)
  7761. type: string
  7762. vendorname:
  7763. description: 供应商名称
  7764. type: string
  7765. vendorphone:
  7766. description: 供应商客服电话
  7767. type: string
  7768. videourls:
  7769. description: 介绍视频[多张用逗号分隔]
  7770. type: string
  7771. required:
  7772. - accountid
  7773. - buyorsell
  7774. - goodscode
  7775. - goodsid
  7776. - goodsname
  7777. - marketid
  7778. - orderid
  7779. - orderqty
  7780. - trademode
  7781. type: object
  7782. models.HsbyMarketInfo:
  7783. properties:
  7784. marketid:
  7785. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7786. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7787. type: integer
  7788. marketname:
  7789. description: 市场名称
  7790. type: string
  7791. marketstatus:
  7792. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7793. type: integer
  7794. trademode:
  7795. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7796. 21:竞拍-大宗式 22:受托竞价
  7797. type: integer
  7798. required:
  7799. - marketid
  7800. - marketstatus
  7801. - trademode
  7802. type: object
  7803. models.HsbyMyGoods:
  7804. properties:
  7805. accountid:
  7806. description: 账号Id
  7807. type: integer
  7808. agreeunit:
  7809. description: 合约单位
  7810. type: number
  7811. buyaverageprice:
  7812. description: 持仓均价
  7813. type: number
  7814. buycurholderamount:
  7815. description: 买当前持仓总金额[商品币种]
  7816. type: number
  7817. buycurpositionqty:
  7818. description: 买当前持仓总数量
  7819. type: integer
  7820. buymaxqty:
  7821. description: 购买上限 [71] - 0为不限
  7822. type: integer
  7823. currencysign:
  7824. description: 货币符号
  7825. type: string
  7826. decimalplace:
  7827. description: 报价小数位
  7828. type: integer
  7829. enableqty:
  7830. description: 可用数量
  7831. type: integer
  7832. goodscode:
  7833. description: 商品代码(内部)
  7834. type: string
  7835. goodsid:
  7836. description: 商品Id
  7837. type: integer
  7838. goodsname:
  7839. description: 商品名称
  7840. type: string
  7841. goodsprice:
  7842. description: 商品价格
  7843. type: number
  7844. goodsstatus:
  7845. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7846. type: integer
  7847. last:
  7848. description: 现价(仅使用于挂牌点选)
  7849. type: number
  7850. limitdown:
  7851. description: 跌停价(仅使用于挂牌点选)
  7852. type: number
  7853. limitup:
  7854. description: 涨停价(仅使用于挂牌点选)
  7855. type: number
  7856. lotsize:
  7857. description: 手数最小变动单位
  7858. type: integer
  7859. marketid:
  7860. description: 所属市场ID
  7861. type: integer
  7862. picurls:
  7863. description: 介绍图片[多张用逗号分隔]
  7864. type: string
  7865. quoteminunit:
  7866. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7867. type: integer
  7868. stepvalue:
  7869. description: 价格最小变动单位
  7870. type: number
  7871. trademode:
  7872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7873. 21:竞拍-大宗式 22:受托竞价
  7874. type: integer
  7875. required:
  7876. - accountid
  7877. - goodscode
  7878. - goodsid
  7879. - goodsname
  7880. - marketid
  7881. - trademode
  7882. type: object
  7883. models.HsbyMyPackage:
  7884. properties:
  7885. accountid:
  7886. description: 账户ID
  7887. type: integer
  7888. address:
  7889. description: 提货人详细地址
  7890. type: string
  7891. agreeunit:
  7892. description: 合约单位
  7893. type: number
  7894. amount:
  7895. description: 提货金额
  7896. type: number
  7897. auditer:
  7898. description: 审核人
  7899. type: integer
  7900. audittime:
  7901. description: 审核时间
  7902. type: string
  7903. averageprice:
  7904. description: 均价
  7905. type: number
  7906. cardnum:
  7907. description: 提货人证件号码
  7908. type: string
  7909. cardtypeid:
  7910. description: 提货人证件类型
  7911. type: integer
  7912. checkremark:
  7913. description: 审核备注
  7914. type: string
  7915. currencysign:
  7916. description: 货币符号
  7917. type: string
  7918. decimalplace:
  7919. description: 报价小数位
  7920. type: integer
  7921. goodscode:
  7922. description: 商品代码(内部)
  7923. type: string
  7924. goodsid:
  7925. description: 商品ID
  7926. type: integer
  7927. goodsname:
  7928. description: 商品名称
  7929. type: string
  7930. handlestatus:
  7931. description: 处理状态
  7932. type: integer
  7933. marketid:
  7934. description: 市场ID
  7935. type: integer
  7936. phonenum:
  7937. description: 提货人联系方式
  7938. type: string
  7939. picurls:
  7940. description: 介绍图片[多张用逗号分隔]
  7941. type: string
  7942. qty:
  7943. description: 提货数量
  7944. type: number
  7945. recivername:
  7946. description: 提货人姓名
  7947. type: string
  7948. reqtime:
  7949. description: 更新时间
  7950. type: string
  7951. takemode:
  7952. description: 提货方式 - 2:自提 3:配送
  7953. type: integer
  7954. takeorderid:
  7955. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7956. type: string
  7957. takeorderstatus:
  7958. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7959. type: integer
  7960. takeremark:
  7961. description: 提货备注
  7962. type: string
  7963. tradedate:
  7964. description: 交易日(yyyyMMdd)
  7965. type: string
  7966. trademode:
  7967. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7968. 21:竞拍-大宗式 22:受托竞价
  7969. type: integer
  7970. userid:
  7971. description: 用户ID
  7972. type: integer
  7973. vendorname:
  7974. description: 供应商名称
  7975. type: string
  7976. required:
  7977. - goodscode
  7978. - goodsname
  7979. - takeorderid
  7980. - trademode
  7981. type: object
  7982. models.HsbyPreGoods:
  7983. properties:
  7984. agreeunit:
  7985. description: 合约单位
  7986. type: number
  7987. currency:
  7988. description: 货币
  7989. type: string
  7990. currencysign:
  7991. description: 货币符号
  7992. type: string
  7993. decimalplace:
  7994. description: 报价小数位
  7995. type: integer
  7996. desccityid:
  7997. description: 目的地(市)
  7998. type: integer
  7999. descprovinceid:
  8000. description: 目的地(省)
  8001. type: integer
  8002. enableqty:
  8003. description: 剩余数量
  8004. type: integer
  8005. goodscode:
  8006. description: 商品代码(内部)
  8007. type: string
  8008. goodsid:
  8009. description: 商品ID(自增ID SEQ_GOODS)
  8010. type: integer
  8011. goodsname:
  8012. description: 商品名称
  8013. type: string
  8014. goodsstatus:
  8015. description: 商品状态- 2:未上市 3:上市
  8016. type: integer
  8017. lasttradedate:
  8018. description: 最后交易日期(状态:待退市)
  8019. type: string
  8020. listingdate:
  8021. description: 交易开始日期
  8022. type: string
  8023. marketid:
  8024. description: 所属市场ID
  8025. type: integer
  8026. picurls:
  8027. description: 介绍图片[多张用逗号分隔]
  8028. type: string
  8029. presaledqty:
  8030. description: 已预售量(预售结束时更新)
  8031. type: integer
  8032. presaleqty:
  8033. description: 预售数量
  8034. type: integer
  8035. quoteminunit:
  8036. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8037. type: integer
  8038. refprice:
  8039. description: 参考价格[一口价]
  8040. type: number
  8041. relatedgoodsid:
  8042. description: 关联交易合约ID
  8043. type: integer
  8044. trademode:
  8045. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8046. 21:竞拍-大宗式 22:受托竞价
  8047. type: integer
  8048. videourls:
  8049. description: 介绍视频[多张用逗号分隔]
  8050. type: string
  8051. required:
  8052. - goodscode
  8053. - goodsid
  8054. - goodsname
  8055. - marketid
  8056. - trademode
  8057. type: object
  8058. models.HsbyPreGoodsDetail:
  8059. properties:
  8060. agreeunit:
  8061. description: 合约单位
  8062. type: number
  8063. buymaxqty:
  8064. description: 购买上限 [71] - 0为不限
  8065. type: integer
  8066. currency:
  8067. description: 货币
  8068. type: string
  8069. currencysign:
  8070. description: 货币符号
  8071. type: string
  8072. customername:
  8073. description: 发行单位
  8074. type: string
  8075. decimalplace:
  8076. description: 报价小数位
  8077. type: integer
  8078. desccityid:
  8079. description: 目的地(市)ID
  8080. type: integer
  8081. descprovinceid:
  8082. description: 目的地(省)ID
  8083. type: integer
  8084. enableqty:
  8085. description: 剩余数量
  8086. type: integer
  8087. goodscode:
  8088. description: 商品代码(内部)
  8089. type: string
  8090. goodsdesc:
  8091. description: 商品详情
  8092. type: string
  8093. goodsid:
  8094. description: 商品ID(自增ID SEQ_GOODS)
  8095. type: integer
  8096. goodsname:
  8097. description: 商品名称
  8098. type: string
  8099. goodsstatus:
  8100. description: 商品状态- 2:未上市 3:上市
  8101. type: integer
  8102. goodunit:
  8103. description: 报价单位
  8104. type: string
  8105. lasttradedate:
  8106. description: 最后交易日期(状态:待退市)
  8107. type: string
  8108. listingdate:
  8109. description: 交易开始日期
  8110. type: string
  8111. lotsize:
  8112. description: 手数最小变动单位
  8113. type: integer
  8114. marketid:
  8115. description: 所属市场ID
  8116. type: integer
  8117. picurls:
  8118. description: 介绍图片[多张用逗号分隔]
  8119. type: string
  8120. presaledqty:
  8121. description: 已预售量(预售结束时更新)
  8122. type: integer
  8123. presaleqty:
  8124. description: 预售数量
  8125. type: integer
  8126. quoteminunit:
  8127. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8128. type: integer
  8129. refprice:
  8130. description: 参考价格[一口价]
  8131. type: number
  8132. relatedgoodsid:
  8133. description: 关联交易合约ID
  8134. type: integer
  8135. stepvalue:
  8136. description: 价格最小变动单位
  8137. type: number
  8138. trademode:
  8139. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8140. 21:竞拍-大宗式 22:受托竞价
  8141. type: integer
  8142. vendorattr:
  8143. description: 供应商附件(多张,逗号分隔)
  8144. type: string
  8145. vendorname:
  8146. description: 供应商名称
  8147. type: string
  8148. vendorphone:
  8149. description: 供应商客服电话
  8150. type: string
  8151. videourls:
  8152. description: 介绍视频[多张用逗号分隔]
  8153. type: string
  8154. required:
  8155. - goodscode
  8156. - goodsid
  8157. - goodsname
  8158. - marketid
  8159. - trademode
  8160. type: object
  8161. models.HsbySellCollectionOrder:
  8162. properties:
  8163. agreeunit:
  8164. description: 合约单位
  8165. type: number
  8166. buyaccountid:
  8167. description: 买方账号ID[报价币种]
  8168. type: integer
  8169. buyorderid:
  8170. description: 买方委托单号
  8171. type: string
  8172. createtime:
  8173. description: 创建时间
  8174. type: string
  8175. currencysign:
  8176. description: 货币符号
  8177. type: string
  8178. decimalplace:
  8179. description: 报价小数位
  8180. type: integer
  8181. goodscode:
  8182. description: 商品代码(内部)
  8183. type: string
  8184. goodsid:
  8185. description: 商品ID
  8186. type: integer
  8187. goodsname:
  8188. description: 商品名称
  8189. type: string
  8190. marketid:
  8191. description: 市场ID
  8192. type: integer
  8193. offamount:
  8194. description: 优惠金额
  8195. type: number
  8196. payamount:
  8197. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8198. type: number
  8199. payflag:
  8200. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8201. type: integer
  8202. paylimitedtime:
  8203. description: 支付期限
  8204. type: string
  8205. paytime:
  8206. description: 付款时间
  8207. type: string
  8208. picurls:
  8209. description: 商品介绍图片[多张用逗号分隔]
  8210. type: string
  8211. sellaccountid:
  8212. description: 卖方账号ID[报价币种]
  8213. type: integer
  8214. sellorderid:
  8215. description: 卖方委托单号
  8216. type: string
  8217. tradeamount:
  8218. description: 成交金额
  8219. type: number
  8220. tradecharge:
  8221. description: 成交手续费(买方)
  8222. type: number
  8223. tradedate:
  8224. description: 交易日(yyyyMMdd)
  8225. type: string
  8226. tradeid:
  8227. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8228. type: string
  8229. trademode:
  8230. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8231. 21:竞拍-大宗式 22:受托竞价
  8232. type: integer
  8233. tradeprice:
  8234. description: 成交价格
  8235. type: number
  8236. tradeqty:
  8237. description: 成交数量
  8238. type: integer
  8239. required:
  8240. - goodscode
  8241. - goodsname
  8242. - tradeid
  8243. - trademode
  8244. type: object
  8245. models.HsbySellMyDetail:
  8246. properties:
  8247. accountid:
  8248. description: 账户ID[报价币种]
  8249. type: integer
  8250. agreeunit:
  8251. description: 合约单位
  8252. type: number
  8253. buyorsell:
  8254. description: 买卖 - 0:买 1:卖
  8255. type: integer
  8256. currencysign:
  8257. description: 货币符号
  8258. type: string
  8259. decimalplace:
  8260. description: 报价小数位
  8261. type: integer
  8262. goodscode:
  8263. description: 商品代码(内部)
  8264. type: string
  8265. goodsid:
  8266. description: 商品ID
  8267. type: integer
  8268. goodsname:
  8269. description: 商品名称
  8270. type: string
  8271. marketid:
  8272. description: 市场ID
  8273. type: integer
  8274. orderid:
  8275. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8276. type: string
  8277. ordertype:
  8278. description: 单据类型:0 - 发布中, 1 - 已完成
  8279. type: integer
  8280. picurls:
  8281. description: 介绍图片[多张用逗号分隔]
  8282. type: string
  8283. price:
  8284. description: 价格
  8285. type: number
  8286. qty:
  8287. description: 数量
  8288. type: integer
  8289. time:
  8290. description: 时间
  8291. type: string
  8292. trademode:
  8293. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8294. 21:竞拍-大宗式 22:受托竞价
  8295. type: integer
  8296. vendorname:
  8297. description: 供应商名称
  8298. type: string
  8299. required:
  8300. - accountid
  8301. - buyorsell
  8302. - goodscode
  8303. - goodsid
  8304. - goodsname
  8305. - marketid
  8306. - orderid
  8307. - time
  8308. - trademode
  8309. type: object
  8310. models.HsbyTopGoods:
  8311. properties:
  8312. agreeunit:
  8313. description: 合约单位
  8314. type: number
  8315. currency:
  8316. description: 货币
  8317. type: string
  8318. currencysign:
  8319. description: 货币符号
  8320. type: string
  8321. decimalplace:
  8322. description: 报价小数位
  8323. type: integer
  8324. desccityid:
  8325. description: 目的地(市)
  8326. type: integer
  8327. descprovinceid:
  8328. description: 目的地(省)
  8329. type: integer
  8330. goodscode:
  8331. description: 商品代码(内部)
  8332. type: string
  8333. goodsid:
  8334. description: 商品ID(自增ID SEQ_GOODS)
  8335. type: integer
  8336. goodsname:
  8337. description: 商品名称
  8338. type: string
  8339. hotindex:
  8340. description: 景点热度
  8341. type: integer
  8342. last:
  8343. description: 现价
  8344. type: number
  8345. marketid:
  8346. description: 所属市场ID
  8347. type: integer
  8348. picurls:
  8349. description: 介绍图片[多张用逗号分隔]
  8350. type: string
  8351. quoteminunit:
  8352. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8353. type: integer
  8354. trademode:
  8355. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8356. 21:竞拍-大宗式 22:受托竞价
  8357. type: integer
  8358. videourls:
  8359. description: 介绍视频[多张用逗号分隔]
  8360. type: string
  8361. required:
  8362. - goodscode
  8363. - goodsid
  8364. - goodsname
  8365. - marketid
  8366. - trademode
  8367. type: object
  8368. models.HybsMyBuyOrderDetail:
  8369. properties:
  8370. accountid:
  8371. description: 账户ID[报价币种]
  8372. type: integer
  8373. agreeunit:
  8374. description: 合约单位
  8375. type: number
  8376. buyorsell:
  8377. description: 买卖 - 0:买 1:卖
  8378. type: integer
  8379. cancelqty:
  8380. description: 撤单数量
  8381. type: integer
  8382. currencysign:
  8383. description: 货币符号
  8384. type: string
  8385. decimalplace:
  8386. description: 报价小数位
  8387. type: integer
  8388. goodscode:
  8389. description: 商品代码(内部)
  8390. type: string
  8391. goodsid:
  8392. description: 商品ID
  8393. type: integer
  8394. goodsname:
  8395. description: 商品名称
  8396. type: string
  8397. listingselecttype:
  8398. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8399. type: integer
  8400. marketid:
  8401. description: 市场ID
  8402. type: integer
  8403. mybuystatus:
  8404. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8405. type: integer
  8406. orderamount:
  8407. description: 委托金额
  8408. type: number
  8409. orderid:
  8410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8411. type: string
  8412. orderprice:
  8413. description: 委托价格
  8414. type: number
  8415. orderqty:
  8416. description: 委托数量
  8417. type: integer
  8418. orderstatus:
  8419. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8420. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8421. 16:成交失败违约(荷兰式竞拍专用)
  8422. type: integer
  8423. ordertime:
  8424. description: 委托时间
  8425. type: string
  8426. picurls1:
  8427. description: 预售商品介绍图片[多张用逗号分隔]
  8428. type: string
  8429. picurls2:
  8430. description: 挂牌商品介绍图片[多张用逗号分隔]
  8431. type: string
  8432. trademode:
  8433. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8434. 21:竞拍-大宗式 22:受托竞价
  8435. type: integer
  8436. tradeqty:
  8437. description: 成交数量
  8438. type: integer
  8439. vendorname1:
  8440. description: 预售商品供应商名称
  8441. type: string
  8442. vendorname2:
  8443. description: 挂牌商品供应商名称
  8444. type: string
  8445. required:
  8446. - accountid
  8447. - buyorsell
  8448. - goodscode
  8449. - goodsid
  8450. - goodsname
  8451. - marketid
  8452. - orderid
  8453. - orderqty
  8454. - ordertime
  8455. - trademode
  8456. type: object
  8457. models.Loginaccount:
  8458. properties:
  8459. canoutin:
  8460. description: 是否可出入金 - 0:不可 1:可
  8461. type: integer
  8462. clientroleid:
  8463. description: 终端角色ID
  8464. type: integer
  8465. haslogined:
  8466. description: 是否已登录 - 0:未登录 1:已登录
  8467. type: integer
  8468. hasupdatedpwd:
  8469. description: 是否已更改密码 - 0:未修改 1:已修改
  8470. type: integer
  8471. lastloginip:
  8472. description: 最新登录地址
  8473. type: string
  8474. lastloginmode:
  8475. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8476. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8477. type: integer
  8478. lastloginremark:
  8479. description: 最新登录描述
  8480. type: string
  8481. lastlogintime:
  8482. description: 最新登录时间
  8483. type: string
  8484. logincode:
  8485. description: 登录代码
  8486. type: string
  8487. loginfailnum:
  8488. description: 连续登录失败次数(登录成功时清零)
  8489. type: integer
  8490. loginid:
  8491. description: 登陆账号
  8492. type: integer
  8493. loginport:
  8494. description: 最新登录端口
  8495. type: integer
  8496. loginstatus:
  8497. description: 登录账号状态 1:正常 2:冻结 3:无效
  8498. type: integer
  8499. loginusertype:
  8500. description: 登录账号类型 - 1:投资者 2:机构交易员
  8501. type: integer
  8502. modifierid:
  8503. description: 修改人
  8504. type: integer
  8505. modifytime:
  8506. description: 修改时间
  8507. type: string
  8508. pwdwrongcount:
  8509. description: 密码错误次数
  8510. type: integer
  8511. taaccountrighttype:
  8512. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8513. type: integer
  8514. unfreezetime:
  8515. description: 账户解冻时间
  8516. type: string
  8517. userid:
  8518. description: 用户ID
  8519. type: integer
  8520. required:
  8521. - loginid
  8522. type: object
  8523. models.MainAccountInfo:
  8524. properties:
  8525. accountid:
  8526. description: 账号id
  8527. type: integer
  8528. accountname:
  8529. description: 账号名称(taaccount表中的名称)
  8530. type: string
  8531. appid:
  8532. description: AppID
  8533. type: string
  8534. authcode:
  8535. description: 授权码
  8536. type: string
  8537. brokerid:
  8538. description: 经纪商id
  8539. type: string
  8540. fcid:
  8541. description: 期货公司id
  8542. type: integer
  8543. fcname:
  8544. description: 期货公司代码
  8545. type: string
  8546. hedgeaccountcode:
  8547. description: 外部账号代码(主账号登录代码)
  8548. type: string
  8549. hedgeaccountpwd:
  8550. description: 密码
  8551. type: string
  8552. ismain:
  8553. description: 是否主账号
  8554. type: integer
  8555. relateduserid:
  8556. description: 关联用户id
  8557. type: integer
  8558. userid:
  8559. description: 关联用户id
  8560. type: integer
  8561. type: object
  8562. models.Market:
  8563. properties:
  8564. auctionwrtype:
  8565. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8566. type: integer
  8567. canacceptquote:
  8568. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8569. type: integer
  8570. cangoodsexercise:
  8571. description: '[期权]是否可现货行权- 0:否 1:是'
  8572. type: integer
  8573. cangoodsexercisetype:
  8574. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8575. type: integer
  8576. canmanualquotestrike:
  8577. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8578. type: integer
  8579. canmutistage:
  8580. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8581. type: integer
  8582. canpreexercise:
  8583. description: '[期权]是否可预申报- 0:否 1:是'
  8584. type: integer
  8585. clearinterval:
  8586. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8587. type: integer
  8588. contracttmp:
  8589. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8590. type: string
  8591. exchareaid:
  8592. description: 所属交易所,可以没有
  8593. type: integer
  8594. goodstype:
  8595. description: 商品类型 - 1:交易商品 2:仓单商品
  8596. type: integer
  8597. hasrebate:
  8598. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8599. type: integer
  8600. hastradecredit:
  8601. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8602. type: integer
  8603. haswr:
  8604. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8605. type: integer
  8606. isdeductmargin:
  8607. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8608. type: integer
  8609. isrecordsource:
  8610. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8611. type: integer
  8612. isreleasemargin:
  8613. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8614. type: integer
  8615. marginformula:
  8616. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8617. type: integer
  8618. marginformula2:
  8619. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8620. type: integer
  8621. marketid:
  8622. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8623. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8624. type: integer
  8625. marketname:
  8626. description: 市场名称
  8627. type: string
  8628. marketserviceid:
  8629. description: 市场服务ID
  8630. type: integer
  8631. marketstatus:
  8632. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8633. type: integer
  8634. markettype:
  8635. description: 市场类型- 1:非交易服务 2:交易服务
  8636. type: integer
  8637. matchermode:
  8638. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8639. type: integer
  8640. openmethod:
  8641. description: 开盘模式 - 0 自动 1手动
  8642. type: integer
  8643. otcuserid:
  8644. description: 场外期权做市商[场外期权]
  8645. type: integer
  8646. outersynctime:
  8647. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8648. type: string
  8649. pendingflag:
  8650. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8651. type: integer
  8652. pendingtime:
  8653. description: 待开市时间[通道交易-对冲](HH:mm)
  8654. type: string
  8655. performancetempid:
  8656. description: 履约计划模板ID - 作废
  8657. type: integer
  8658. premiumquotemode:
  8659. description: 权利金报价方式 - 1:自动 2:手动
  8660. type: integer
  8661. rebateratio:
  8662. description: 返利比率[竞价式]
  8663. type: number
  8664. reckonorder:
  8665. description: 结算顺序
  8666. type: integer
  8667. reckonpricealgorithm:
  8668. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8669. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8670. type: integer
  8671. reckonpriceparam:
  8672. description: 结算价参数
  8673. type: integer
  8674. reckontime:
  8675. description: 结算时间[通道交易-对冲](HH:mm)
  8676. type: string
  8677. roleprioritytype:
  8678. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8679. type: integer
  8680. selllistingauditflag:
  8681. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8682. type: integer
  8683. trademarkettype:
  8684. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8685. type: integer
  8686. trademode:
  8687. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8688. 21:竞拍-大宗式 22:受托竞价
  8689. type: integer
  8690. tradeproperty:
  8691. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8692. 8:场外期权
  8693. type: integer
  8694. tradetype:
  8695. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8696. type: integer
  8697. required:
  8698. - marketid
  8699. - marketstatus
  8700. - openmethod
  8701. - reckonpricealgorithm
  8702. - trademode
  8703. - tradeproperty
  8704. type: object
  8705. models.Marketrun:
  8706. properties:
  8707. afternexttradedate:
  8708. description: 下下交易日
  8709. type: string
  8710. clearquoteflag:
  8711. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8712. type: integer
  8713. lastreckondate:
  8714. description: 最新交易日(结算成功)
  8715. type: string
  8716. machinedate:
  8717. description: 机器时间
  8718. type: string
  8719. manualflag:
  8720. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8721. type: integer
  8722. marketid:
  8723. description: 市场ID
  8724. type: integer
  8725. nexttradedate:
  8726. description: 下一交易日
  8727. type: string
  8728. pretradedate:
  8729. description: 上一交易日
  8730. type: string
  8731. reckonflag:
  8732. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8733. type: integer
  8734. runstatus:
  8735. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8736. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8737. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8738. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8739. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8740. 62.今日免清算
  8741. type: integer
  8742. sectionid:
  8743. description: 时间段号[多时段时用]
  8744. type: integer
  8745. tradedate:
  8746. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8747. type: string
  8748. tradedate2:
  8749. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8750. type: string
  8751. updatetime:
  8752. description: 更新时间
  8753. type: string
  8754. required:
  8755. - marketid
  8756. - nexttradedate
  8757. - reckonflag
  8758. - runstatus
  8759. - tradedate
  8760. - tradedate2
  8761. type: object
  8762. models.Messageboard:
  8763. properties:
  8764. contactnum:
  8765. description: 联系电话
  8766. type: string
  8767. createtime:
  8768. description: 创建时间
  8769. type: string
  8770. message:
  8771. description: 留言信息
  8772. type: string
  8773. messageboardid:
  8774. description: 留言簿ID(SEQ_MessageBoard)
  8775. type: integer
  8776. userid:
  8777. description: 用户ID
  8778. type: integer
  8779. required:
  8780. - messageboardid
  8781. type: object
  8782. models.MyCoupon:
  8783. properties:
  8784. accountid:
  8785. description: 资金账户ID
  8786. type: integer
  8787. areauserid:
  8788. description: 所属机构
  8789. type: integer
  8790. conditionvalue:
  8791. description: 条件阈值(可为0)
  8792. type: number
  8793. couponcategroy:
  8794. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8795. type: integer
  8796. couponname:
  8797. description: 优惠券名称
  8798. type: string
  8799. coupontypeid:
  8800. description: 优惠券类型ID
  8801. type: string
  8802. couponvalue:
  8803. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8804. type: number
  8805. curfreezeqty:
  8806. description: 期末冻结数量
  8807. type: integer
  8808. curqty:
  8809. description: 期末数量
  8810. type: integer
  8811. isgeneral:
  8812. description: 是否通用券 - 0:否 1:是
  8813. type: integer
  8814. isunusable:
  8815. description: 是否不可用
  8816. type: boolean
  8817. limitedflag:
  8818. description: 是否指定商品 - 0:不限 1:限制
  8819. type: integer
  8820. limitedgoodsids:
  8821. description: 指定商品IDs[逗号分隔,前后加逗号]
  8822. type: string
  8823. orifreezeqty:
  8824. description: 期初冻结数量
  8825. type: integer
  8826. oriqty:
  8827. description: 期初数量
  8828. type: integer
  8829. reasontype:
  8830. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8831. type: integer
  8832. todaydecrease:
  8833. description: 今日减少
  8834. type: integer
  8835. todayincrease:
  8836. description: 今日增加
  8837. type: integer
  8838. userid:
  8839. description: 用户ID
  8840. type: integer
  8841. userscope:
  8842. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8843. type: string
  8844. required:
  8845. - accountid
  8846. - coupontypeid
  8847. type: object
  8848. models.MyCouponHold:
  8849. properties:
  8850. accountid:
  8851. description: 资金账户ID
  8852. type: integer
  8853. conditionvalue:
  8854. description: 条件阈值(可为0)
  8855. type: number
  8856. couponcategroy:
  8857. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8858. type: integer
  8859. couponholdid:
  8860. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8861. type: string
  8862. couponname:
  8863. description: 优惠券名称
  8864. type: string
  8865. coupontypeid:
  8866. description: 优惠券类型ID - SEQ_COUPONTYPE
  8867. type: string
  8868. couponvalue:
  8869. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8870. type: number
  8871. createtime:
  8872. description: 创建时间
  8873. type: string
  8874. enddate:
  8875. description: 结束日期
  8876. type: string
  8877. giveapplyid:
  8878. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8879. type: integer
  8880. holdstatus:
  8881. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8882. type: integer
  8883. isgeneral:
  8884. description: 是否通用券 - 0:否 1:是
  8885. type: integer
  8886. limitedflag:
  8887. description: 是否指定商品 - 0:不限 1:限制
  8888. type: integer
  8889. limitedgoodsids:
  8890. description: 指定商品IDs[逗号分隔]
  8891. type: string
  8892. qty:
  8893. description: 数量(按1平铺)
  8894. type: integer
  8895. startdate:
  8896. description: 开始日期
  8897. type: string
  8898. userid:
  8899. description: 用户ID
  8900. type: integer
  8901. userscope:
  8902. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8903. type: string
  8904. required:
  8905. - couponholdid
  8906. type: object
  8907. models.MyUsedCoupon:
  8908. properties:
  8909. accountid:
  8910. description: 资金账户ID(买方)
  8911. type: integer
  8912. conditionvalue:
  8913. description: 条件阈值(可为0)
  8914. type: number
  8915. couponcategroy:
  8916. description: 种类 - 1:现金券 2:折扣券
  8917. type: integer
  8918. couponname:
  8919. description: 优惠券名称
  8920. type: string
  8921. coupontypeid:
  8922. description: 优惠券类型ID(买方)
  8923. type: string
  8924. couponvalue:
  8925. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8926. type: number
  8927. createtime:
  8928. description: 创建时间
  8929. type: string
  8930. goodsid:
  8931. description: 商品ID
  8932. type: integer
  8933. handlestatus:
  8934. description: 处理状态
  8935. type: integer
  8936. marketid:
  8937. description: 市场ID
  8938. type: integer
  8939. offamount:
  8940. description: 优惠金额
  8941. type: number
  8942. orderid:
  8943. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8944. type: string
  8945. sellaccountid:
  8946. description: 资金账户ID(卖方)
  8947. type: integer
  8948. tradeamount:
  8949. description: 成交金额
  8950. type: number
  8951. tradeid:
  8952. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8953. type: string
  8954. usedqty:
  8955. description: 使用数量
  8956. type: integer
  8957. required:
  8958. - coupontypeid
  8959. - orderid
  8960. type: object
  8961. models.OperationPrimaryMenu:
  8962. properties:
  8963. Children:
  8964. description: 二级功能菜单
  8965. items:
  8966. $ref: '#/definitions/models.OperationSecondaryMenu'
  8967. type: array
  8968. Key:
  8969. description: 菜单KEY
  8970. type: string
  8971. Label:
  8972. description: 菜单标题
  8973. type: string
  8974. type: object
  8975. models.OperationSecondaryMenu:
  8976. properties:
  8977. Key:
  8978. description: 菜单KEY
  8979. type: string
  8980. Label:
  8981. description: 菜单标题
  8982. type: string
  8983. TabList:
  8984. description: 三级功能菜单
  8985. items:
  8986. $ref: '#/definitions/models.OperationTabMenu'
  8987. type: array
  8988. type: object
  8989. models.OperationTabMenu:
  8990. properties:
  8991. Key:
  8992. description: 菜单KEY
  8993. type: string
  8994. Label:
  8995. description: 菜单标题
  8996. type: string
  8997. type: object
  8998. models.PendingAuditBizModel:
  8999. properties:
  9000. accountid:
  9001. description: 现货账户
  9002. type: string
  9003. areaname:
  9004. description: 所属部门
  9005. type: string
  9006. bizid:
  9007. description: 业务ID
  9008. type: string
  9009. bizname:
  9010. description: 业务名称
  9011. type: string
  9012. status:
  9013. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9014. type: integer
  9015. type:
  9016. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9017. type: integer
  9018. type: object
  9019. models.QhjAccountOutInApply:
  9020. properties:
  9021. accountcode:
  9022. description: 资金账号
  9023. type: string
  9024. accountname:
  9025. description: 用户名称(名称)
  9026. type: string
  9027. accountpwd:
  9028. description: 资金密码
  9029. type: string
  9030. accountticket:
  9031. description: 最新账户服务流水号
  9032. type: string
  9033. amount:
  9034. description: 金额
  9035. type: number
  9036. applyremark:
  9037. description: 申请备注
  9038. type: string
  9039. applystatus:
  9040. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9041. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9042. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9043. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9044. type: integer
  9045. auditid:
  9046. description: 审核人
  9047. type: integer
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. bank_apply_ticket:
  9052. description: 银行申请流水
  9053. type: string
  9054. bankaccountname:
  9055. description: 银行账户名
  9056. type: string
  9057. bankaccountno:
  9058. description: 银行卡号
  9059. type: string
  9060. bankid:
  9061. description: 银行编号
  9062. type: string
  9063. bankticket:
  9064. description: 银行流水
  9065. type: string
  9066. branchbankid:
  9067. description: 银行支行号
  9068. type: string
  9069. branchbankname:
  9070. description: 银行支行名称
  9071. type: string
  9072. capamountout:
  9073. description: 出金(劣后本金) - 外部子账户
  9074. type: number
  9075. certificatephotourl:
  9076. description: 凭证地址
  9077. type: string
  9078. charge:
  9079. description: 手续费
  9080. type: number
  9081. checkerrorflag:
  9082. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9083. type: integer
  9084. currency:
  9085. description: 币种
  9086. type: string
  9087. cusbankid:
  9088. description: 托管银行编号
  9089. type: string
  9090. exchticket:
  9091. description: 银行服务流水号
  9092. type: string
  9093. executetype:
  9094. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9095. 7:外部子账户:入金 8:外部子账户:出金'
  9096. type: integer
  9097. extendinfo:
  9098. description: 扩展信息
  9099. type: string
  9100. extoperateid:
  9101. description: 交易服务流水号
  9102. type: integer
  9103. infamount:
  9104. description: 劣后金额(自有)
  9105. type: number
  9106. logincode:
  9107. description: 登录账号(账号)
  9108. type: string
  9109. netaddr:
  9110. description: 调转网址
  9111. type: string
  9112. priamount:
  9113. description: 优先金额(授信)
  9114. type: number
  9115. reauditid:
  9116. description: 复审人
  9117. type: integer
  9118. reauditremark:
  9119. description: 复审备注
  9120. type: string
  9121. reaudittime:
  9122. description: 复审时间
  9123. type: string
  9124. relatedorderid:
  9125. description: 三方关联ID
  9126. type: string
  9127. remark:
  9128. description: 备注
  9129. type: string
  9130. remark2:
  9131. description: 备注(失败原因)
  9132. type: string
  9133. soucreamount:
  9134. description: 原始出入金金额
  9135. type: number
  9136. soucrecurrencyid:
  9137. description: 原始出入金币种
  9138. type: integer
  9139. tradedate:
  9140. description: 交易日(yyyyMMdd)
  9141. type: string
  9142. updatetime:
  9143. description: 更新时间(申请时间)
  9144. type: string
  9145. userid:
  9146. description: 用户id
  9147. type: integer
  9148. userinfotype:
  9149. description: 账户类型 1-个人 2-企业
  9150. type: integer
  9151. type: object
  9152. models.QhjBankAccountSign:
  9153. properties:
  9154. accountcode:
  9155. description: 资金账号
  9156. type: string
  9157. accountname:
  9158. description: 资金账号对应的账号名(UserName)
  9159. type: string
  9160. accounttype:
  9161. description: 账户类型(UserType)
  9162. type: integer
  9163. applicationtime:
  9164. description: 最后一次更新的时间
  9165. type: string
  9166. applyexchticket:
  9167. description: 申请流水
  9168. type: string
  9169. auditid:
  9170. description: 审核人
  9171. type: integer
  9172. audittime:
  9173. description: 审核时间
  9174. type: string
  9175. bankaccountname:
  9176. description: 签约银行卡账号名
  9177. type: string
  9178. bankaccountno:
  9179. description: 银行卡号
  9180. type: string
  9181. bankaccounttype:
  9182. description: 银行账户类型 - 1-对私; 2-对公
  9183. type: integer
  9184. bankcardtype:
  9185. description: 银行卡类型
  9186. type: integer
  9187. bankchildaccount:
  9188. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9189. type: string
  9190. bankcity:
  9191. description: 开户行城市
  9192. type: string
  9193. bankid:
  9194. description: 签约银行ID
  9195. type: string
  9196. bankprovince:
  9197. description: 开户行省份
  9198. type: string
  9199. branchbankid:
  9200. description: 签约银行支行号
  9201. type: string
  9202. branchbankname:
  9203. description: 签约银行支行名称
  9204. type: string
  9205. cardno:
  9206. description: 证件号码
  9207. type: string
  9208. cardtype:
  9209. description: 证件类型
  9210. type: string
  9211. currency:
  9212. description: 币种
  9213. type: string
  9214. cusbankid:
  9215. description: 托管银行编号
  9216. type: string
  9217. direct:
  9218. description: 方向(可以判断那方先发起的签约)
  9219. type: integer
  9220. exchticket:
  9221. description: 最后一次签约成功的流水号
  9222. type: string
  9223. extendinfo:
  9224. description: 扩展信息(JSON字符串)
  9225. type: string
  9226. mobilephone:
  9227. description: 手机号
  9228. type: string
  9229. netaddr:
  9230. description: 调转网址
  9231. type: string
  9232. relateduserid:
  9233. description: 关联使用者userid
  9234. type: integer
  9235. signstatus:
  9236. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9237. 10:审核拒绝 11:换签待审核
  9238. type: integer
  9239. updatetime:
  9240. description: 更新时间(签解约更新时间)
  9241. type: string
  9242. type: object
  9243. models.QhjBankInfo:
  9244. properties:
  9245. bankid:
  9246. description: 银行ID
  9247. type: string
  9248. bankname:
  9249. description: 银行名称
  9250. type: string
  9251. clearbankno:
  9252. description: 清算系统银行编号
  9253. type: string
  9254. orderindex:
  9255. description: 排序顺序
  9256. type: integer
  9257. status:
  9258. description: 状态 - 0:正常 1:注销
  9259. type: integer
  9260. type: object
  9261. models.QhjContract:
  9262. properties:
  9263. contractconfirmtime:
  9264. description: 合同确认时间(时间)
  9265. type: string
  9266. enumdicname:
  9267. description: 单位名称
  9268. type: string
  9269. goodscode:
  9270. description: 商品代码
  9271. type: string
  9272. goodsid:
  9273. description: 商品ID [5:融资单]
  9274. type: integer
  9275. goodsname:
  9276. description: 商品名称
  9277. type: string
  9278. goodunitid:
  9279. description: 商品单位id
  9280. type: integer
  9281. initmargin:
  9282. description: 初始保证金(首付款)
  9283. type: number
  9284. lenderamount:
  9285. description: 贷款金额(总额|订单总额)
  9286. type: number
  9287. marginratio:
  9288. description: 保证金比率(首付比例)
  9289. type: number
  9290. payamount:
  9291. description: 已付(已付货款)
  9292. type: number
  9293. recoveredmargin:
  9294. description: 已追缴保证金
  9295. type: number
  9296. remainamount:
  9297. description: 合同剩余金额(融资额)
  9298. type: number
  9299. scfcontractid:
  9300. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9301. type: integer
  9302. scfcontracttype:
  9303. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9304. type: integer
  9305. totalinterest:
  9306. description: 已计总利息(利息)
  9307. type: number
  9308. tradeprice:
  9309. description: 成交价格(成本价格)
  9310. type: number
  9311. userid:
  9312. description: 用户ID
  9313. type: integer
  9314. username:
  9315. description: 用户名称
  9316. type: string
  9317. wrqty:
  9318. description: 仓单数量(数量)
  9319. type: integer
  9320. type: object
  9321. models.QhjContractLog:
  9322. properties:
  9323. amount:
  9324. description: 支付金额
  9325. type: number
  9326. amounttype:
  9327. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  9328. type: integer
  9329. logid:
  9330. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9331. type: string
  9332. remainamount:
  9333. description: 剩余货款
  9334. type: number
  9335. scfcontractid:
  9336. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9337. type: integer
  9338. updatetime:
  9339. description: 更新时间
  9340. type: string
  9341. type: object
  9342. models.QhjCusBankSignBankEx:
  9343. properties:
  9344. banklst:
  9345. description: 银行列表
  9346. items:
  9347. $ref: '#/definitions/models.QhjBankInfo'
  9348. type: array
  9349. canallot:
  9350. description: 是否支持跨行调拨 - 0:不支持 1:支持
  9351. type: integer
  9352. canallotquery:
  9353. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  9354. type: integer
  9355. canbindcard:
  9356. description: 是否可绑卡与解卡 - 0:不可 1:可以
  9357. type: integer
  9358. caninamount:
  9359. description: 是否可入金 - 0:不可 1:可以
  9360. type: integer
  9361. caninamount2:
  9362. description: 是否可入金(网银端) - 0:不可 1:可以
  9363. type: integer
  9364. canmodifybankcard:
  9365. description: 是否可修改银行卡号 - 0:不可 1:可以
  9366. type: integer
  9367. canmodifyphone:
  9368. description: 是否可修改手机号 - 0:不可 1:可以
  9369. type: integer
  9370. canmodifysigninfo:
  9371. description: 是否可修改签约信息 - 0:不可 1:可以
  9372. type: integer
  9373. canoutamount:
  9374. description: 是否可出金 - 0:不可 1:可以
  9375. type: integer
  9376. canoutamount2:
  9377. description: 是否可出金(网银端) - 0:不可 1:可以
  9378. type: integer
  9379. canrelease:
  9380. description: 是否可解约 - 0:不可 1:可以
  9381. type: integer
  9382. canrelease2:
  9383. description: 是否可解约(网银端) - 0:不可 1:可以
  9384. type: integer
  9385. cansign:
  9386. description: 是否可签约 - 0:不可 1:可以
  9387. type: integer
  9388. cansign2:
  9389. description: 是否可签约(网银端) - 0:不可 1:可以
  9390. type: integer
  9391. currency:
  9392. description: 币种
  9393. type: string
  9394. cusbankid:
  9395. description: 托管银行编号(对应清算中心TRAN_NO)
  9396. type: string
  9397. cusbankname:
  9398. description: 银行业务名称
  9399. type: string
  9400. cusbankshortname:
  9401. description: 银行业务简称
  9402. type: string
  9403. exchbankid:
  9404. description: 交易所开户银行ID
  9405. type: string
  9406. exchpaybankaccname:
  9407. description: 交易所支出结算账户户名
  9408. type: string
  9409. exchpaybankaccno:
  9410. description: 交易所支出结算账户
  9411. type: string
  9412. isneedcheck:
  9413. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  9414. type: integer
  9415. isneedclear:
  9416. description: 是否需要清算 - 0:不需要 1:需要
  9417. type: integer
  9418. riskinfo:
  9419. description: 签约风险提示书
  9420. type: string
  9421. type: object
  9422. models.QhjCustomer:
  9423. properties:
  9424. address:
  9425. description: 通讯地址
  9426. type: string
  9427. attachment1:
  9428. description: 附件1
  9429. type: string
  9430. audittime:
  9431. description: 审核时间
  9432. type: string
  9433. cardbackphotourl:
  9434. description: 证件反面图片地址
  9435. type: string
  9436. cardfrontphotourl:
  9437. description: 证件正面图片地址
  9438. type: string
  9439. cardnum:
  9440. description: 证件号码
  9441. type: string
  9442. cardtype:
  9443. description: 证件类型
  9444. type: integer
  9445. cardtypename:
  9446. description: 证件类型名称
  9447. type: string
  9448. cityid:
  9449. description: 市
  9450. type: integer
  9451. cityname:
  9452. description: 城市名称
  9453. type: string
  9454. contactname:
  9455. description: 联系人
  9456. type: string
  9457. countryid:
  9458. description: 国家
  9459. type: integer
  9460. countryname:
  9461. description: 国家名称
  9462. type: string
  9463. createtime:
  9464. description: 创建时间
  9465. type: string
  9466. customername:
  9467. description: 客户名称
  9468. type: string
  9469. districtid:
  9470. description: 区域
  9471. type: integer
  9472. districtname:
  9473. description: 地区名称
  9474. type: string
  9475. email:
  9476. description: 邮件
  9477. type: string
  9478. legalpersonname:
  9479. description: 法人姓名(企业)
  9480. type: string
  9481. memberuserid:
  9482. description: 所属机构ID(所属会员)
  9483. type: integer
  9484. memberusername:
  9485. description: 所属会员名称
  9486. type: string
  9487. mobile:
  9488. description: 手机号码
  9489. type: string
  9490. modifytime:
  9491. description: 修改时间
  9492. type: string
  9493. nickname:
  9494. description: 昵称
  9495. type: string
  9496. parentuserid:
  9497. description: 上级机构(所属机构)
  9498. type: integer
  9499. parentusername:
  9500. description: 所属机构名称
  9501. type: string
  9502. provinceid:
  9503. description: 省
  9504. type: integer
  9505. provincename:
  9506. description: 省名称
  9507. type: string
  9508. remark:
  9509. description: 备注
  9510. type: string
  9511. status:
  9512. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9513. type: integer
  9514. statusdesc:
  9515. description: 账户状态中文描述
  9516. type: string
  9517. taxpayernum:
  9518. description: 纳税人识别号
  9519. type: string
  9520. telphone:
  9521. description: 联系电话
  9522. type: string
  9523. userid:
  9524. description: 用户ID
  9525. type: integer
  9526. userinfotype:
  9527. description: 客户类型 1-个人 2-企业
  9528. type: integer
  9529. username:
  9530. description: 用户名称
  9531. type: string
  9532. type: object
  9533. models.QhjPickArea:
  9534. properties:
  9535. cityid:
  9536. description: 市
  9537. type: integer
  9538. cityname:
  9539. description: 城市名称
  9540. type: string
  9541. countryid:
  9542. description: 国家
  9543. type: integer
  9544. countryname:
  9545. description: 国家名称
  9546. type: string
  9547. districtid:
  9548. description: 地区
  9549. type: integer
  9550. districtname:
  9551. description: 地区名称
  9552. type: string
  9553. fromuserid:
  9554. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  9555. type: integer
  9556. fromusername:
  9557. description: 所属机构名称
  9558. type: string
  9559. provinceid:
  9560. description: 省
  9561. type: integer
  9562. provincename:
  9563. description: 省名称
  9564. type: string
  9565. suborgtype:
  9566. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  9567. type: integer
  9568. userid:
  9569. description: 机构用户ID 其他做市关系,都设置为 1
  9570. type: integer
  9571. username:
  9572. description: 机构用户名称(门店门称)
  9573. type: string
  9574. type: object
  9575. models.QhjPickGoods:
  9576. properties:
  9577. imageaddress:
  9578. description: 图片
  9579. type: string
  9580. modifierid:
  9581. description: 修改人
  9582. type: integer
  9583. modifiername:
  9584. description: 修改人名称
  9585. type: string
  9586. modifysrc:
  9587. description: 修改来源 - 1:管理端 2:终端
  9588. type: integer
  9589. pickupgoodsagreeunit:
  9590. description: 合约乘数
  9591. type: number
  9592. pickupgoodsdesc:
  9593. description: 描述
  9594. type: string
  9595. pickupgoodsid:
  9596. description: 提货商品ID
  9597. type: string
  9598. pickupgoodsname:
  9599. description: 提货商品名称
  9600. type: string
  9601. pickupgoodsstatus:
  9602. description: 状态 - 1:正常 2:停用 3:注销
  9603. type: integer
  9604. pickupgoodsunitid:
  9605. description: 单位ID
  9606. type: integer
  9607. preparedays:
  9608. description: 备货期(天)
  9609. type: integer
  9610. remark:
  9611. description: 备注
  9612. type: string
  9613. updatetime:
  9614. description: 更新时间
  9615. type: string
  9616. type: object
  9617. models.QhjRSTriggerLog:
  9618. properties:
  9619. accountid:
  9620. description: 用户资金账户
  9621. type: integer
  9622. accountname:
  9623. description: 账号名称(ACCOUNTID对应的名称)
  9624. type: string
  9625. currencyid:
  9626. description: 币种id
  9627. type: integer
  9628. currencyname:
  9629. description: 币种名称
  9630. type: string
  9631. enumdicname:
  9632. description: 单位名称
  9633. type: string
  9634. goodscode:
  9635. description: 定投商品代码
  9636. type: string
  9637. goodsid:
  9638. description: 定投商品ID
  9639. type: string
  9640. goodsname:
  9641. description: 定投商品名称
  9642. type: string
  9643. goodunitid:
  9644. description: 定投商品单位id
  9645. type: integer
  9646. logid:
  9647. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  9648. type: string
  9649. regularlycycle:
  9650. description: 定投频率 - 1:每周 2:每月
  9651. type: integer
  9652. regularlycyclevalue:
  9653. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9654. type: string
  9655. regularlymode:
  9656. description: 定投方式 - 1:按数量 2:按金额
  9657. type: integer
  9658. regularlymodevalue:
  9659. description: 定投方式值 - 数量或金额
  9660. type: number
  9661. regularlystrategyid:
  9662. description: 定投策略ID
  9663. type: integer
  9664. retcode:
  9665. description: 错误码
  9666. type: string
  9667. tradeid:
  9668. description: 成交单ID
  9669. type: string
  9670. triggeramount:
  9671. description: 触发金额
  9672. type: number
  9673. triggerqty:
  9674. description: 触发数量
  9675. type: number
  9676. triggerstatus:
  9677. description: 触发状态 - 1:成功 2:失败
  9678. type: integer
  9679. triggertime:
  9680. description: 触发时间
  9681. type: string
  9682. triggertradedate:
  9683. description: 触发交易日
  9684. type: string
  9685. userid:
  9686. description: 所属用户ID
  9687. type: integer
  9688. username:
  9689. description: 用户名称(userid对应的名称)
  9690. type: string
  9691. type: object
  9692. models.QhjRStrategy:
  9693. properties:
  9694. accountid:
  9695. description: 用户资金账户
  9696. type: integer
  9697. accountname:
  9698. description: 账号名称(ACCOUNTID对应的名称)
  9699. type: string
  9700. currencyid:
  9701. description: 币种id
  9702. type: integer
  9703. currencyname:
  9704. description: 币种名称
  9705. type: string
  9706. enumdicname:
  9707. description: 单位名称
  9708. type: string
  9709. goodscode:
  9710. description: 定投商品代码
  9711. type: string
  9712. goodsid:
  9713. description: 定投商品ID
  9714. type: string
  9715. goodsname:
  9716. description: 定投商品名称
  9717. type: string
  9718. goodunitid:
  9719. description: 定投商品单位id
  9720. type: integer
  9721. lasteffecttradedate:
  9722. description: 最新生效交易日
  9723. type: string
  9724. laststoptradedate:
  9725. description: 最新暂停交易日
  9726. type: string
  9727. lasttriggertradedate:
  9728. description: 最新触发交易日
  9729. type: string
  9730. nexttriggeramount:
  9731. description: 下次触发金额
  9732. type: number
  9733. nexttriggerdate:
  9734. description: 下次触发日期
  9735. type: string
  9736. nexttriggerqty:
  9737. description: 下次触发数量 [按小数位放大值]
  9738. type: number
  9739. regularlycycle:
  9740. description: 定投频率 - 1:每周 2:每月
  9741. type: integer
  9742. regularlycyclevalue:
  9743. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  9744. type: string
  9745. regularlymode:
  9746. description: 定投方式 - 1:按数量 2:按金额
  9747. type: integer
  9748. regularlymodevalue:
  9749. description: 定投方式值 - 数量或金额
  9750. type: number
  9751. regularlystrategyid:
  9752. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  9753. type: integer
  9754. regularlystrategystatus:
  9755. description: 策略状态 - 1:正常 2:暂停 3:终止
  9756. type: integer
  9757. remark:
  9758. description: 备注
  9759. type: string
  9760. triggersuccesstimes:
  9761. description: 累计定投成功次数
  9762. type: string
  9763. triggertotalamount:
  9764. description: 累计定投金额(成功)
  9765. type: number
  9766. triggertotalqty:
  9767. description: 累计定投数量(成功) [按小数位放大值]
  9768. type: number
  9769. triggertotaltimes:
  9770. description: 累计定投总次数
  9771. type: string
  9772. updatesrc:
  9773. description: 更新来源 - 1:管理端 2:终端
  9774. type: integer
  9775. updatetime:
  9776. description: 更新时间
  9777. type: string
  9778. updatorid:
  9779. description: 更新人
  9780. type: string
  9781. userid:
  9782. description: 所属用户ID
  9783. type: integer
  9784. username:
  9785. description: 用户名称(userid对应的名称)
  9786. type: string
  9787. type: object
  9788. models.QhjReckonPriceLog:
  9789. properties:
  9790. goodsid:
  9791. description: 商品ID
  9792. type: integer
  9793. lastreckonprice:
  9794. description: 上日结算价
  9795. type: number
  9796. nextdnlimitprice:
  9797. description: 下个交易日跌停价
  9798. type: number
  9799. nexttrade:
  9800. description: 下个交易日
  9801. type: string
  9802. nextuplimitprice:
  9803. description: 下个交易日涨停价
  9804. type: number
  9805. reckonprice:
  9806. description: 今日结算价(定投价)
  9807. type: number
  9808. reckontime:
  9809. description: 结算时间
  9810. type: string
  9811. totalholderqty:
  9812. description: 总持仓数
  9813. type: integer
  9814. totalstock:
  9815. description: 总库存
  9816. type: integer
  9817. tradedate:
  9818. description: 交易日
  9819. type: string
  9820. updowncount:
  9821. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  9822. type: integer
  9823. updownflag:
  9824. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  9825. type: integer
  9826. updownrate:
  9827. description: 今日涨跌幅
  9828. type: number
  9829. updownrate_2d:
  9830. description: 连续两日涨跌幅
  9831. type: number
  9832. updownrate_3d:
  9833. description: 连续三日涨跌幅
  9834. type: number
  9835. type: object
  9836. models.QhjSiteColumnDetail:
  9837. properties:
  9838. author:
  9839. description: 作者
  9840. type: string
  9841. brief:
  9842. description: 简介
  9843. type: string
  9844. columnid:
  9845. description: 所属栏目
  9846. type: integer
  9847. context:
  9848. description: 内容
  9849. type: string
  9850. coverimage:
  9851. description: 封面图片
  9852. type: string
  9853. creaedate:
  9854. description: 创建时间
  9855. type: string
  9856. creatorid:
  9857. description: 创建人
  9858. type: integer
  9859. hits:
  9860. description: 点击数
  9861. type: integer
  9862. id:
  9863. description: ID(SEQ_SITE_COLUMNDETAIL)
  9864. type: integer
  9865. isshow:
  9866. description: 是否展示 - 0:不展示 1:展示
  9867. type: integer
  9868. istop:
  9869. description: 是否置顶 - 0:不置 1:置顶
  9870. type: integer
  9871. modifierid:
  9872. description: 操作人
  9873. type: integer
  9874. publishdate:
  9875. description: 发布日期
  9876. type: string
  9877. status:
  9878. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  9879. type: integer
  9880. title:
  9881. description: 标题
  9882. type: string
  9883. updatedate:
  9884. description: 修改时间
  9885. type: string
  9886. userid:
  9887. description: 用户ID(默认为0, 核心为为机构用户ID)
  9888. type: integer
  9889. username:
  9890. description: 用户名称
  9891. type: string
  9892. type: object
  9893. models.QhjTradeGoodsPickup:
  9894. properties:
  9895. accountid:
  9896. description: 账户ID
  9897. type: integer
  9898. address:
  9899. description: 提货人详细地址
  9900. type: string
  9901. amount:
  9902. description: 提货金额
  9903. type: number
  9904. artradedate:
  9905. description: 自动收货交易日(yyyyMMdd)
  9906. type: string
  9907. auditer:
  9908. description: 审核人
  9909. type: integer
  9910. auditsrc:
  9911. description: 更新来源 - 1:管理端 2:终端
  9912. type: integer
  9913. audittime:
  9914. description: 审核时间(发货时间)
  9915. type: string
  9916. audittradedate:
  9917. description: 审核交易日(yyyyMMdd)
  9918. type: string
  9919. cardnum:
  9920. description: 提货人证件号码
  9921. type: string
  9922. cardtypeid:
  9923. description: 提货人证件类型
  9924. type: integer
  9925. checkremark:
  9926. description: 审核备注
  9927. type: string
  9928. cityid:
  9929. description: 市
  9930. type: integer
  9931. cityname:
  9932. description: 城市名称
  9933. type: string
  9934. countryid:
  9935. description: 国家
  9936. type: integer
  9937. countryname:
  9938. description: 国家名称
  9939. type: string
  9940. districtid:
  9941. description: 地区
  9942. type: integer
  9943. districtname:
  9944. description: 地区名称
  9945. type: string
  9946. enumdicname:
  9947. description: 单位名称(提货商品)
  9948. type: string
  9949. expresscompany:
  9950. description: 物流公司
  9951. type: string
  9952. expressnum:
  9953. description: 物流单号
  9954. type: string
  9955. goodsagreeunit:
  9956. description: 交易商品乘数
  9957. type: number
  9958. goodscode:
  9959. description: 商品代码
  9960. type: string
  9961. goodsid:
  9962. description: 商品ID
  9963. type: integer
  9964. goodsname:
  9965. description: 商品名称
  9966. type: string
  9967. goodsqty:
  9968. description: 交易商品手数(69模式按成交量小数位放大取整)
  9969. type: number
  9970. handlestatus:
  9971. description: 处理状态
  9972. type: integer
  9973. marketid:
  9974. description: 市场ID
  9975. type: integer
  9976. phonenum:
  9977. description: 提货人联系方式
  9978. type: string
  9979. pickupgoodsagreeunit:
  9980. description: 提货商品合约乘数
  9981. type: number
  9982. pickupgoodsid:
  9983. description: 提货商品ID
  9984. type: string
  9985. pickupgoodsname:
  9986. description: 提货商品名称
  9987. type: string
  9988. pickupgoodsqty:
  9989. description: 提货商品手数(数量)
  9990. type: number
  9991. pickupgoodsunitid:
  9992. description: 单位ID(提货商品)
  9993. type: integer
  9994. pickupratio:
  9995. description: 提货系数
  9996. type: number
  9997. preparedays:
  9998. description: 备货期(天)-提货单明细表
  9999. type: integer
  10000. provinceid:
  10001. description: 省
  10002. type: integer
  10003. provincename:
  10004. description: 省名称
  10005. type: string
  10006. qty:
  10007. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  10008. type: number
  10009. recivername:
  10010. description: 提货人姓名
  10011. type: string
  10012. reqtime:
  10013. description: 提货申请时间
  10014. type: string
  10015. storeuserid:
  10016. description: 门店用户ID (千海金)
  10017. type: integer
  10018. storeusername:
  10019. description: 门店用户名称
  10020. type: string
  10021. takemode:
  10022. description: 提货方式 - 2:自提 3:配送(邮寄)
  10023. type: integer
  10024. takeorderid:
  10025. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10026. type: integer
  10027. takeorderstatus:
  10028. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  10029. 7:已拒绝 8:已撤销
  10030. type: integer
  10031. takeremark:
  10032. description: 提货备注
  10033. type: string
  10034. tradedate:
  10035. description: 交易日(yyyyMMdd)
  10036. type: string
  10037. updatetime:
  10038. description: 更新时间
  10039. type: string
  10040. userid:
  10041. description: 用户ID
  10042. type: integer
  10043. username:
  10044. description: 用户名称
  10045. type: string
  10046. type: object
  10047. models.QueryErrorInfosRsp:
  10048. properties:
  10049. description:
  10050. description: 异常描述
  10051. type: string
  10052. errorcode:
  10053. description: 异常代码
  10054. type: string
  10055. errorid:
  10056. description: 异常ID
  10057. type: integer
  10058. modulecode:
  10059. description: 所属模块
  10060. type: string
  10061. operatecode:
  10062. description: 所属操作
  10063. type: string
  10064. rownumber:
  10065. description: 行号
  10066. type: string
  10067. required:
  10068. - errorid
  10069. type: object
  10070. models.QueryHedgeOrderDetailRsp:
  10071. properties:
  10072. accountid:
  10073. description: 账户ID
  10074. type: integer
  10075. buyorsell:
  10076. description: 买卖 - 0:买 1:卖
  10077. type: integer
  10078. cancellogincode:
  10079. description: 撤单人
  10080. type: string
  10081. channelbuildtype:
  10082. description: 开平标志 - 0:无 1:建仓 2:平仓
  10083. type: integer
  10084. channelinnerorderstatus:
  10085. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  10086. 9:全部成交
  10087. type: integer
  10088. channeloperatetype:
  10089. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  10090. type: integer
  10091. closetype:
  10092. description: 平仓方式 - 0:无 1:平今 2:平昨
  10093. type: integer
  10094. curexchangerate:
  10095. description: 当前汇率
  10096. type: number
  10097. exchangefullname:
  10098. description: 外部交易所全称
  10099. type: string
  10100. goodscode:
  10101. description: 商品代码(内部)
  10102. type: string
  10103. goodsid:
  10104. description: 商品ID
  10105. type: integer
  10106. goodsname:
  10107. description: 商品名称
  10108. type: string
  10109. marketid:
  10110. description: 市场ID
  10111. type: integer
  10112. openfreezemargin:
  10113. description: 冻结保证金(冻结交易金额)
  10114. type: number
  10115. orderid:
  10116. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10117. type: string
  10118. orderlogincode:
  10119. description: 委托人
  10120. type: string
  10121. orderprice:
  10122. description: 委托价格(账户)
  10123. type: number
  10124. orderqty:
  10125. description: 委托数量
  10126. type: integer
  10127. ordertime:
  10128. description: 委托时间
  10129. type: string
  10130. pricemode:
  10131. description: '取价方式 - 1:市价 2: 限价'
  10132. type: integer
  10133. tradedate:
  10134. description: 交易日(yyyyMMdd)
  10135. type: string
  10136. tradeqty:
  10137. description: 成交数量
  10138. type: integer
  10139. type: object
  10140. models.QueryHedgeTradeDetailRsp:
  10141. properties:
  10142. accountid:
  10143. description: 账号ID
  10144. type: integer
  10145. buyorsell:
  10146. description: 方向 - 0:买 1:卖
  10147. type: integer
  10148. channelbuildtype:
  10149. description: 委托单据类型 0:无 1:建仓 2:平仓
  10150. type: integer
  10151. closecharge:
  10152. description: 平仓手续费(账户)
  10153. type: number
  10154. closecharge2:
  10155. description: 平仓手续费(商品)
  10156. type: number
  10157. closepl:
  10158. description: 平仓盈亏(账户)
  10159. type: number
  10160. closepl2:
  10161. description: 平仓盈亏(商品)
  10162. type: number
  10163. closepl3:
  10164. description: 平仓盈亏(账户)(逐笔)
  10165. type: number
  10166. closepl4:
  10167. description: 平仓盈亏(商品)(逐笔)
  10168. type: number
  10169. closetype:
  10170. description: 平仓方式 - 0:无 1:平今 2:平昨
  10171. type: integer
  10172. curexchangerate:
  10173. description: 当前汇率
  10174. type: number
  10175. exchangefullname:
  10176. description: 外部交易所全称
  10177. type: string
  10178. goodscode:
  10179. description: 商品代码(内部)
  10180. type: string
  10181. goodsid:
  10182. description: 商品ID
  10183. type: integer
  10184. goodsname:
  10185. description: 商品名称
  10186. type: string
  10187. marketid:
  10188. description: 市场ID
  10189. type: integer
  10190. opencharge:
  10191. description: 建仓手续费(账户)
  10192. type: number
  10193. opencharge2:
  10194. description: 建仓手续费(商品)
  10195. type: number
  10196. orderid:
  10197. description: 委托单号
  10198. type: string
  10199. orderlogincode:
  10200. description: 委托人
  10201. type: string
  10202. tradeamount:
  10203. description: 成交金额(账户)
  10204. type: number
  10205. tradedate:
  10206. description: 交易日(yyyyMMdd)
  10207. type: string
  10208. tradeid:
  10209. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10210. type: string
  10211. tradeprice:
  10212. description: 成交价格
  10213. type: number
  10214. tradeqty:
  10215. description: 成交数量
  10216. type: integer
  10217. tradetime:
  10218. description: 成交时间
  10219. type: string
  10220. tradetype:
  10221. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  10222. type: integer
  10223. type: object
  10224. models.QuotePrimaryMenu:
  10225. properties:
  10226. Index:
  10227. description: 序号
  10228. type: integer
  10229. Key:
  10230. description: 键名
  10231. type: string
  10232. Name:
  10233. description: 菜单名称
  10234. type: string
  10235. SubMenus:
  10236. description: 子菜单
  10237. items:
  10238. $ref: '#/definitions/models.QuoteSecondaryMenu'
  10239. type: array
  10240. SubTitleType:
  10241. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  10242. type: integer
  10243. TradeModes:
  10244. description: 包含市场交易类型
  10245. type: string
  10246. type: object
  10247. models.QuoteSecondaryMenu:
  10248. properties:
  10249. ExExchangeCode:
  10250. description: 外部交易所代码
  10251. type: string
  10252. ExExchangeID:
  10253. description: 外部交易所ID
  10254. type: integer
  10255. GoodsGroupIDs:
  10256. description: 商品组ID列表
  10257. items:
  10258. type: integer
  10259. type: array
  10260. Index:
  10261. description: 序号
  10262. type: integer
  10263. MarketID:
  10264. description: 市场ID
  10265. type: integer
  10266. MenuTitle:
  10267. description: 菜单标题(市场名称或外部交易所名称)
  10268. type: string
  10269. TradeMode:
  10270. description: 交易模式
  10271. type: integer
  10272. type: object
  10273. models.SearchGoods:
  10274. properties:
  10275. goodscode:
  10276. description: 商品代码(内部)
  10277. type: string
  10278. goodsid:
  10279. description: 商品ID(自增ID SEQ_GOODS)
  10280. type: integer
  10281. goodsname:
  10282. description: 商品名称
  10283. type: string
  10284. marketid:
  10285. description: 所属市场ID
  10286. type: integer
  10287. marketname:
  10288. description: 市场名称
  10289. type: string
  10290. trademode:
  10291. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10292. 21:竞拍-大宗式 22:受托竞价
  10293. type: integer
  10294. required:
  10295. - goodscode
  10296. - goodsid
  10297. - goodsname
  10298. - marketid
  10299. - trademode
  10300. type: object
  10301. models.Systemparam:
  10302. properties:
  10303. loginid:
  10304. description: 更新用户账号,登录账号
  10305. type: string
  10306. modifyflag:
  10307. description: 修改标志0 不允许修改 1 允许修改
  10308. type: integer
  10309. paramcode:
  10310. description: 参数代码
  10311. type: string
  10312. paramname:
  10313. description: 参数名
  10314. type: string
  10315. paramtype:
  10316. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  10317. type: integer
  10318. paramvalue:
  10319. description: 参数值
  10320. type: string
  10321. paramvalue2:
  10322. description: 参数值(CLOB)
  10323. type: string
  10324. regexpress:
  10325. description: 正则表达式
  10326. type: string
  10327. remark:
  10328. description: 备注
  10329. type: string
  10330. serverip:
  10331. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  10332. type: string
  10333. showflag:
  10334. description: 是否显示0 不显示 1 显示
  10335. type: integer
  10336. updatetime:
  10337. description: 更新时间
  10338. type: string
  10339. userid:
  10340. description: 更新用户ID
  10341. type: integer
  10342. required:
  10343. - paramcode
  10344. type: object
  10345. models.Szdz3convertconfig:
  10346. properties:
  10347. canin:
  10348. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  10349. type: integer
  10350. canout:
  10351. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  10352. type: integer
  10353. converttype:
  10354. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  10355. 6:交易转花生米(不设置)
  10356. type: integer
  10357. createtime:
  10358. description: 创建时间
  10359. type: string
  10360. creatorid:
  10361. description: 创建人
  10362. type: integer
  10363. daymaxvalue:
  10364. description: 当日最大转入限制
  10365. type: number
  10366. freezedays:
  10367. description: 冻结天数 [5:花生米转交易]
  10368. type: integer
  10369. innergoodsid:
  10370. description: 内部商品ID[交易]
  10371. type: integer
  10372. inratio:
  10373. description: 目标值
  10374. type: integer
  10375. modifierid:
  10376. description: 修改人
  10377. type: integer
  10378. modifytime:
  10379. description: 修改时间
  10380. type: string
  10381. outergoodscode:
  10382. description: 外部商品代码[JD\PD]
  10383. type: string
  10384. outratio:
  10385. description: 源值
  10386. type: integer
  10387. pddecimalplace:
  10388. description: PD小数位
  10389. type: integer
  10390. timemaxvalue:
  10391. description: 单次最大转入限制
  10392. type: number
  10393. timeminvalue:
  10394. description: 单次最小转入限制
  10395. type: number
  10396. required:
  10397. - converttype
  10398. - innergoodsid
  10399. - outergoodscode
  10400. type: object
  10401. models.Szdz3searchwhitelist:
  10402. properties:
  10403. createtime:
  10404. description: 创建时间
  10405. type: string
  10406. creatorid:
  10407. description: 创建人
  10408. type: integer
  10409. modifierid:
  10410. description: 修改人
  10411. type: integer
  10412. modifytime:
  10413. description: 修改时间
  10414. type: string
  10415. userid:
  10416. description: 用户ID
  10417. type: integer
  10418. required:
  10419. - userid
  10420. type: object
  10421. models.Taaccount:
  10422. properties:
  10423. accountflag:
  10424. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  10425. type: integer
  10426. accountid:
  10427. description: 资金账户ID
  10428. type: integer
  10429. accountname:
  10430. description: 账户名称
  10431. type: string
  10432. balance:
  10433. description: 期初余额
  10434. type: number
  10435. capitalbalance:
  10436. description: 本金余额[外部子账户实际出入金余额]
  10437. type: number
  10438. changeflag:
  10439. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  10440. type: integer
  10441. changetime:
  10442. description: 账户状态变更时间
  10443. type: string
  10444. closepl:
  10445. description: 今日平仓盈亏
  10446. type: number
  10447. creditdecrease:
  10448. description: 今日授信减少
  10449. type: number
  10450. creditincrease:
  10451. description: 今日授信增加
  10452. type: number
  10453. currencyid:
  10454. description: 货币ID
  10455. type: integer
  10456. currentbalance:
  10457. description: 期末余额
  10458. type: number
  10459. freezecharge:
  10460. description: 手续费冻结
  10461. type: number
  10462. freezemargin:
  10463. description: 冻结保证金
  10464. type: number
  10465. fromaccountid:
  10466. description: 所属上级账户
  10467. type: integer
  10468. inamount:
  10469. description: 今日入金金额(包括三方入金)
  10470. type: number
  10471. ismain:
  10472. description: 是否母账号 0:不是母账户 1:是母账户
  10473. type: integer
  10474. ismarketaccount:
  10475. description: 是否机构接单账号 0:不是 1:是
  10476. type: integer
  10477. isreckonaccount:
  10478. description: 是否机构分润账号 0:不是 1:是
  10479. type: integer
  10480. mortgagecredit:
  10481. description: 授信金额
  10482. type: number
  10483. orifreezecharge:
  10484. description: 期初手续费冻结
  10485. type: number
  10486. orifreezemargin:
  10487. description: 期初冻结保证金
  10488. type: number
  10489. orimortgagecredit:
  10490. description: 期初授信金额
  10491. type: number
  10492. oriothercredit:
  10493. description: 期初其它授信金额
  10494. type: number
  10495. oriotherfreezemargin:
  10496. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  10497. type: number
  10498. orioutamountfreeze:
  10499. description: 期初出金冻结
  10500. type: number
  10501. oriusedmargin:
  10502. description: 期初占用保证金
  10503. type: number
  10504. othercredit:
  10505. description: 其它授信金额
  10506. type: number
  10507. othercreditdecrease:
  10508. description: 今日其它授信减少
  10509. type: number
  10510. othercreditincrease:
  10511. description: 今日其它授信增加
  10512. type: number
  10513. otherfreezemargin:
  10514. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  10515. type: number
  10516. otherincome:
  10517. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  10518. type: number
  10519. otherpay:
  10520. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  10521. type: number
  10522. outamount:
  10523. description: 今日出金金额(包括三方出金)
  10524. type: number
  10525. outamountfreeze:
  10526. description: 出金冻结
  10527. type: number
  10528. outthreshold:
  10529. description: 出金阈值
  10530. type: number
  10531. parentaccountid:
  10532. description: 所属根账号
  10533. type: integer
  10534. paycharge:
  10535. description: 今日手续费支出
  10536. type: number
  10537. relatedaccountstatus:
  10538. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  10539. type: integer
  10540. relateduserid:
  10541. description: 关联用户
  10542. type: integer
  10543. serivcegroup:
  10544. description: 服务分组
  10545. type: integer
  10546. signstatus:
  10547. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10548. type: integer
  10549. sublevelpath:
  10550. description: 账号层级路径(逗号分隔,首尾加逗号)
  10551. type: string
  10552. taaccounttype:
  10553. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  10554. type: integer
  10555. thirdinamount:
  10556. description: 今日三方入金
  10557. type: number
  10558. thirdoutamount:
  10559. description: 今日三方出金
  10560. type: number
  10561. tradestatus:
  10562. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  10563. type: integer
  10564. tradestatuschangetime:
  10565. description: 激活时间
  10566. type: string
  10567. transferamount:
  10568. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  10569. type: number
  10570. usedmargin:
  10571. description: 占用保证金
  10572. type: number
  10573. userid:
  10574. description: 用户ID
  10575. type: integer
  10576. required:
  10577. - accountid
  10578. - userid
  10579. type: object
  10580. models.Tablecolumnconfig:
  10581. properties:
  10582. aligntype:
  10583. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  10584. type: integer
  10585. autoid:
  10586. description: AutoID
  10587. type: integer
  10588. columnfield:
  10589. description: 列字段
  10590. type: string
  10591. columntitle:
  10592. description: 列Title
  10593. type: string
  10594. columnwidth:
  10595. description: 列宽
  10596. type: string
  10597. formatterstring:
  10598. description: 格式化字符
  10599. type: string
  10600. formattertype:
  10601. description: 格式化类型
  10602. type: string
  10603. groupname:
  10604. description: 表头分组名称
  10605. type: string
  10606. isshow:
  10607. description: 是否显示 - 0:不显示 1:显示
  10608. type: integer
  10609. needsummary:
  10610. description: 是否需要汇总 - 0:不需要 1:需要
  10611. type: integer
  10612. orderindex:
  10613. description: 顺序
  10614. type: integer
  10615. remark:
  10616. description: 备注
  10617. type: string
  10618. summarytype:
  10619. description: 汇总类型 - 1:加总 2:最后一个
  10620. type: integer
  10621. tablekey:
  10622. description: 列表Key
  10623. type: string
  10624. required:
  10625. - autoid
  10626. type: object
  10627. models.UserCollectConfig:
  10628. properties:
  10629. accountstatus:
  10630. description: 账户状态 - 1:正常 2:停用 3:注销
  10631. type: integer
  10632. collectaccountname:
  10633. description: 收款人账户名称
  10634. type: string
  10635. collectaccountno:
  10636. description: 收款人账户
  10637. type: string
  10638. collectbankname:
  10639. description: 收款人开户行
  10640. type: string
  10641. collectbranchbankname:
  10642. description: 收款人开户支行
  10643. type: string
  10644. collectconfigid:
  10645. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  10646. type: string
  10647. remark:
  10648. description: 备注
  10649. type: string
  10650. userid:
  10651. description: 收款人用户ID
  10652. type: integer
  10653. type: object
  10654. models.UserReceiveInfo:
  10655. properties:
  10656. address:
  10657. description: 提货人详细地址
  10658. type: string
  10659. autoid:
  10660. description: AutoID
  10661. type: integer
  10662. cardnum:
  10663. description: 证件号码(加密存储)
  10664. type: string
  10665. cardtypeid:
  10666. description: 证件类型
  10667. type: integer
  10668. cityid:
  10669. description: 市
  10670. type: integer
  10671. cityname:
  10672. description: 城市名称
  10673. type: string
  10674. countryid:
  10675. description: 国家
  10676. type: integer
  10677. countryname:
  10678. description: 国家名称
  10679. type: string
  10680. districtid:
  10681. description: 地区
  10682. type: integer
  10683. districtname:
  10684. description: 地区名称
  10685. type: string
  10686. hasencrypt:
  10687. description: 数据是否已加密 - 0:未加密 1:已加密
  10688. type: integer
  10689. isdefault:
  10690. description: 是否默认地址 - 0:否 1:是
  10691. type: integer
  10692. phonenum:
  10693. description: 提货人联系方式(加密存储)
  10694. type: string
  10695. provinceid:
  10696. description: 省
  10697. type: integer
  10698. provincename:
  10699. description: 省名称
  10700. type: string
  10701. receivername:
  10702. description: 提货人姓名
  10703. type: string
  10704. takeremark:
  10705. description: 提货备注
  10706. type: string
  10707. userid:
  10708. description: 用户ID
  10709. type: integer
  10710. type: object
  10711. models.Useraccount:
  10712. properties:
  10713. accountname:
  10714. description: 账户名称(机构名称)
  10715. type: string
  10716. accountstatus:
  10717. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  10718. type: integer
  10719. applysrc:
  10720. description: 申请来源 - 1:管理端 2:终端
  10721. type: integer
  10722. auditremark:
  10723. description: 审核备注
  10724. type: string
  10725. auditsrc:
  10726. description: 审核来源 - 1:管理端 2:终端
  10727. type: integer
  10728. audittime:
  10729. description: 审核时间
  10730. type: string
  10731. audituserid:
  10732. description: 审核人
  10733. type: integer
  10734. broker:
  10735. description: 所属经纪人ID
  10736. type: integer
  10737. canceltime:
  10738. description: 销户时间
  10739. type: string
  10740. canceluserid:
  10741. description: 销户人
  10742. type: integer
  10743. canrecommend:
  10744. description: 是否可推荐 - 0:不可 1;可
  10745. type: integer
  10746. createtime:
  10747. description: 创建时间
  10748. type: string
  10749. creatorid:
  10750. description: 创建人
  10751. type: integer
  10752. hasauth:
  10753. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  10754. type: integer
  10755. isanonymous:
  10756. description: 是否匿名下单 - 0:否 1:是
  10757. type: integer
  10758. maxinvestornum:
  10759. description: 最大用户数(经纪会员下投资者个数)
  10760. type: integer
  10761. memberuserid:
  10762. description: 所属会员ID
  10763. type: integer
  10764. modifierid:
  10765. description: 修改人
  10766. type: integer
  10767. modifyremark:
  10768. description: 变更备注
  10769. type: string
  10770. modifystatus:
  10771. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  10772. type: integer
  10773. modifytime:
  10774. description: 修改时间
  10775. type: string
  10776. parenttopuser:
  10777. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10778. type: string
  10779. parentuserid:
  10780. description: 所属机构ID
  10781. type: integer
  10782. reckonaccountid:
  10783. description: 默认结算资金账号ID(机构分润使用) 作废
  10784. type: integer
  10785. refercount:
  10786. description: 推荐总人数
  10787. type: integer
  10788. refereeuserid:
  10789. description: 推荐人ID
  10790. type: integer
  10791. refernum:
  10792. description: 推荐码
  10793. type: string
  10794. rootuserid:
  10795. description: 根用户ID
  10796. type: integer
  10797. subaccountlevel:
  10798. description: 子账户层数
  10799. type: integer
  10800. subarealevelpath:
  10801. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10802. type: string
  10803. userid:
  10804. description: 用户ID
  10805. type: integer
  10806. usertype:
  10807. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10808. type: integer
  10809. required:
  10810. - userid
  10811. type: object
  10812. models.Userfavoritegoods:
  10813. properties:
  10814. goodsid:
  10815. description: 商品ID
  10816. type: integer
  10817. required:
  10818. - goodsid
  10819. type: object
  10820. models.Userinfo:
  10821. properties:
  10822. address:
  10823. description: 地址
  10824. type: string
  10825. attachment1:
  10826. description: 附件1
  10827. type: string
  10828. attachment2:
  10829. description: 附件2
  10830. type: string
  10831. bankaccount:
  10832. description: 银行帐号 (加密存储)
  10833. type: string
  10834. bankaccountname:
  10835. description: 收款人名称
  10836. type: string
  10837. bankcardfrontphotourl:
  10838. description: 银行卡正面照地址
  10839. type: string
  10840. bankid:
  10841. description: 银行编码
  10842. type: string
  10843. bankname:
  10844. description: 银行名称
  10845. type: string
  10846. biznature:
  10847. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10848. type: integer
  10849. bizscope:
  10850. description: 企业经营范围(企业)
  10851. type: string
  10852. cardbackphotourl:
  10853. description: 证件背面图片地址
  10854. type: string
  10855. cardfrontphotourl:
  10856. description: 证件正面图片地址
  10857. type: string
  10858. cardnum:
  10859. description: 证件号码(加密存储)
  10860. type: string
  10861. cardtypeid:
  10862. description: 证件类型ID
  10863. type: integer
  10864. cityid:
  10865. description: 市
  10866. type: integer
  10867. company:
  10868. description: 公司(个人)
  10869. type: string
  10870. contactname:
  10871. description: 联系人
  10872. type: string
  10873. countryid:
  10874. description: 国家
  10875. type: integer
  10876. createtime:
  10877. description: 创建时间
  10878. type: string
  10879. creatorid:
  10880. description: 创建人
  10881. type: integer
  10882. customername:
  10883. description: 客户名称(企业名称)
  10884. type: string
  10885. districtid:
  10886. description: 地区
  10887. type: integer
  10888. email:
  10889. description: 邮件(加密存储)
  10890. type: string
  10891. fax:
  10892. description: 传真(加密存储)
  10893. type: string
  10894. halfbodyphotourl:
  10895. description: 半身照地址
  10896. type: string
  10897. hasencrypt:
  10898. description: 数据是否已加密 - 0:未加密 1:已加密
  10899. type: integer
  10900. headurl:
  10901. description: 头像地址
  10902. type: string
  10903. legalcardbackphotourl:
  10904. description: 法人身份证背面照地址
  10905. type: string
  10906. legalcardfrontphotourl:
  10907. description: 法人身份证正面照地址
  10908. type: string
  10909. legalpersonname:
  10910. description: 法人姓名(企业)
  10911. type: string
  10912. mobile:
  10913. description: 手机号码(加密存储)
  10914. type: string
  10915. mobile2:
  10916. description: 手机号码[明文-尚志]
  10917. type: string
  10918. modifierid:
  10919. description: 修改人
  10920. type: integer
  10921. modifiertime:
  10922. description: 修改时间
  10923. type: string
  10924. needinvoice:
  10925. description: 是否需要发票 - 0:不需要 1:需要
  10926. type: integer
  10927. nickname:
  10928. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10929. type: string
  10930. openmode:
  10931. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10932. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10933. type: integer
  10934. otherurl:
  10935. description: 其它图片地址[使用分号分隔]
  10936. type: string
  10937. postalcode:
  10938. description: 邮政编码
  10939. type: string
  10940. provinceid:
  10941. description: 省
  10942. type: integer
  10943. qq:
  10944. description: QQ(加密存储
  10945. type: string
  10946. remark:
  10947. description: 备注
  10948. type: string
  10949. sex:
  10950. description: '用户性别 0: 女 1: 男'
  10951. type: integer
  10952. signpdfurl:
  10953. description: 签约pdf文件
  10954. type: string
  10955. telphone:
  10956. description: 联系电话(加密存储)
  10957. type: string
  10958. userid:
  10959. description: 用户ID
  10960. type: integer
  10961. userinfotype:
  10962. description: 用户信息类型 - 1:个人 2:企业
  10963. type: integer
  10964. userstatus:
  10965. description: 用户状态 - 1:正常 2:注销
  10966. type: integer
  10967. usertype:
  10968. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10969. type: integer
  10970. wechat:
  10971. description: 微信(加密存储)
  10972. type: string
  10973. wskhinfo:
  10974. description: 开户申请信息(JSON)
  10975. type: string
  10976. required:
  10977. - userid
  10978. type: object
  10979. models.WRSConverTDetail:
  10980. properties:
  10981. convertratio:
  10982. description: 套保系数
  10983. type: number
  10984. deliverygoodscode:
  10985. description: 现货商品代码
  10986. type: string
  10987. deliverygoodsid:
  10988. description: 现货品种ID
  10989. type: integer
  10990. deliverygoodsname:
  10991. description: 现货商品名称
  10992. type: string
  10993. enumdicname:
  10994. description: 单位名称
  10995. type: string
  10996. goodsunitid:
  10997. description: 套保品种单位id
  10998. type: integer
  10999. middlegoodscode:
  11000. description: 套保品种代码
  11001. type: string
  11002. middlegoodsid:
  11003. description: 套保品种ID
  11004. type: integer
  11005. middlegoodsname:
  11006. description: 套保品种名称
  11007. type: string
  11008. modifytime:
  11009. description: 修改时间
  11010. type: string
  11011. wrstandardid:
  11012. description: 品类ID
  11013. type: integer
  11014. type: object
  11015. models.WRStandardInfo:
  11016. properties:
  11017. areauserid:
  11018. description: 所属机构
  11019. type: integer
  11020. convertfactor:
  11021. description: 标仓系数
  11022. type: number
  11023. createtime:
  11024. description: 创建时间
  11025. type: string
  11026. creatorid:
  11027. description: 创建人
  11028. type: integer
  11029. deliverygoodsid:
  11030. description: 品种ID
  11031. type: integer
  11032. deliverygoodsname:
  11033. description: 交割商品名称
  11034. type: string
  11035. factoryitemjson:
  11036. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  11037. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  11038. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  11039. 逗号分隔'
  11040. type: string
  11041. isvalid:
  11042. description: 是否有效 - 0:无效 1:有效
  11043. type: integer
  11044. minivalue:
  11045. description: 最小变动值
  11046. type: integer
  11047. minivaluedp:
  11048. description: 最小变动值小数位
  11049. type: integer
  11050. realminivalue:
  11051. description: 实际最小变动值
  11052. type: integer
  11053. realminivaluedp:
  11054. description: 实际最小变动值小数位
  11055. type: integer
  11056. remark:
  11057. description: 备注
  11058. type: string
  11059. unitid:
  11060. description: 单位ID
  11061. type: integer
  11062. unitname:
  11063. description: 单位
  11064. type: string
  11065. updatetime:
  11066. description: 更新时间
  11067. type: string
  11068. updatorid:
  11069. description: 更新人
  11070. type: integer
  11071. wrsstatus:
  11072. description: 状态 - 作废 - 0:未激活 1:正常
  11073. type: integer
  11074. wrstandardcode:
  11075. description: 现货品类代码
  11076. type: string
  11077. wrstandardid:
  11078. description: 现货品类ID(SEQ_WRSTANDARD)
  11079. type: integer
  11080. wrstandardname:
  11081. description: 现货品类名称
  11082. type: string
  11083. required:
  11084. - wrstandardid
  11085. type: object
  11086. models.Warehouseinfo:
  11087. properties:
  11088. address:
  11089. description: 详细地址
  11090. type: string
  11091. areauserid:
  11092. description: 所属机构
  11093. type: integer
  11094. autoid:
  11095. description: 自增ID
  11096. type: integer
  11097. cityid:
  11098. description: 市
  11099. type: integer
  11100. contactname:
  11101. description: 联系人
  11102. type: string
  11103. contactnum:
  11104. description: 联系电话
  11105. type: string
  11106. countryid:
  11107. description: 国家
  11108. type: integer
  11109. createtime:
  11110. description: 创建时间
  11111. type: string
  11112. districtid:
  11113. description: 区
  11114. type: integer
  11115. hasvideo:
  11116. description: 是否有视频 - 0:无 1:有
  11117. type: integer
  11118. provinceid:
  11119. description: 省
  11120. type: integer
  11121. remark:
  11122. description: 审核备注
  11123. type: string
  11124. videourl:
  11125. description: 视频地址
  11126. type: string
  11127. warehousecode:
  11128. description: 仓库代码
  11129. type: string
  11130. warehousename:
  11131. description: 仓库名称
  11132. type: string
  11133. warehousestatus:
  11134. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  11135. type: integer
  11136. warehousetype:
  11137. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  11138. type: integer
  11139. required:
  11140. - autoid
  11141. - warehousecode
  11142. type: object
  11143. order.QueryHisTradeDetailRsp:
  11144. properties:
  11145. accountid:
  11146. description: 账户ID[报价币种]
  11147. type: integer
  11148. buildtype:
  11149. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11150. type: integer
  11151. buyorsell:
  11152. description: 方向 - 0:买 1:卖
  11153. type: integer
  11154. charge:
  11155. description: 手续费
  11156. type: number
  11157. closecharge:
  11158. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11159. type: number
  11160. closeexchagechargevalue:
  11161. description: 平仓交易所手续费设置值
  11162. type: number
  11163. closefeealgorithm:
  11164. description: 平仓手续费收取方式 1:比率 2:固定
  11165. type: integer
  11166. closememberchargevalue:
  11167. description: 平仓会员手续费设置值
  11168. type: number
  11169. closepl:
  11170. description: 平仓盈亏
  11171. type: number
  11172. closepl2:
  11173. description: 平仓盈亏[逐笔]
  11174. type: number
  11175. closeqty:
  11176. description: 平仓数量(先建后平操作 需要记录)
  11177. type: integer
  11178. creditamount:
  11179. description: 授信金额
  11180. type: number
  11181. gcaccountid:
  11182. description: 账户ID[合约币种]
  11183. type: integer
  11184. goodscode:
  11185. description: 商品代码
  11186. type: string
  11187. goodsid:
  11188. description: 商品ID
  11189. type: integer
  11190. goodsname:
  11191. description: 商品名称
  11192. type: string
  11193. histradedate:
  11194. description: 历史交易日
  11195. type: string
  11196. intclosepl:
  11197. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11198. type: integer
  11199. isconfirmexercise:
  11200. description: 是否确认行权- 0:否 1:是
  11201. type: integer
  11202. ismain:
  11203. description: 是否主单 - 0:不是 1:是
  11204. type: integer
  11205. ispreexercise:
  11206. description: 是否预申报- 0:否 1:是
  11207. type: integer
  11208. isreckoned:
  11209. description: 是否结算 - 0:未结算 1:已结算
  11210. type: integer
  11211. isvaliddata:
  11212. description: 是否有效 - 0:无效 1:有效
  11213. type: integer
  11214. listingselecttype:
  11215. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11216. type: integer
  11217. marketid:
  11218. description: 市场ID
  11219. type: integer
  11220. marketname:
  11221. description: 市场名称
  11222. type: string
  11223. matchaccountid:
  11224. description: 对手账号id
  11225. type: integer
  11226. memberuserid:
  11227. description: 会员id 个人投资者 需要填写
  11228. type: integer
  11229. opencharge:
  11230. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11231. type: number
  11232. openexchagechargevalue:
  11233. description: 建仓交易所手续费设置值
  11234. type: number
  11235. openfeealgorithm:
  11236. description: 建仓手续费收取方式 1:比率 2:固定
  11237. type: integer
  11238. openmemberchargevalue:
  11239. description: 建仓会员手续费设置值
  11240. type: number
  11241. openqty:
  11242. description: 开仓数量(先建后平操作 需要记录)
  11243. type: integer
  11244. optiontype:
  11245. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11246. type: integer
  11247. orderid:
  11248. description: 委托单号
  11249. type: string
  11250. performanceplanid:
  11251. description: 履约计划ID[期权]
  11252. type: integer
  11253. performancestatus:
  11254. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11255. type: integer
  11256. preexerciseprice:
  11257. description: 预申报价格
  11258. type: number
  11259. premium:
  11260. description: 权利金 - [持仓单的权利金]
  11261. type: number
  11262. relatedouttradeid:
  11263. description: 关联外部成交单ID
  11264. type: integer
  11265. status:
  11266. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11267. type: integer
  11268. tradeamount:
  11269. description: 成交金额[账户币种,用于所有权]
  11270. type: number
  11271. tradedate:
  11272. description: 交易日(yyyyMMdd)
  11273. type: string
  11274. tradeid:
  11275. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11276. type: string
  11277. trademode:
  11278. description: 交易模式
  11279. type: integer
  11280. tradeprice:
  11281. description: 成交价格
  11282. type: number
  11283. tradeproperty:
  11284. description: 交易属性
  11285. type: integer
  11286. tradeqty:
  11287. description: 成交数量
  11288. type: integer
  11289. tradetime:
  11290. description: 成交时间
  11291. type: string
  11292. tradetype:
  11293. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11294. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11295. type: integer
  11296. required:
  11297. - accountid
  11298. - buyorsell
  11299. - goodsid
  11300. - histradedate
  11301. - marketid
  11302. - memberuserid
  11303. - orderid
  11304. - tradeamount
  11305. - tradedate
  11306. - tradeid
  11307. - tradeprice
  11308. - tradeqty
  11309. - tradetime
  11310. type: object
  11311. order.QueryHisTradeOrderDetailRsp:
  11312. properties:
  11313. accountid:
  11314. description: 账户ID[报价币种]
  11315. type: integer
  11316. buildtype:
  11317. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11318. type: integer
  11319. buyorsell:
  11320. description: 买卖 - 0:买 1:卖
  11321. type: integer
  11322. cancelorderid:
  11323. description: 撤单单号(撤单时填写)
  11324. type: string
  11325. cancelqty:
  11326. description: 撤单数量
  11327. type: integer
  11328. clientordertime:
  11329. description: 客户端委托时间
  11330. type: string
  11331. clientticket:
  11332. description: 客户端流水号
  11333. type: string
  11334. clienttype:
  11335. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11336. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11337. type: integer
  11338. closeexchagechargevalue:
  11339. description: 平仓交易所手续费设置值
  11340. type: number
  11341. closefeealgorithm:
  11342. description: 平仓手续费收取方式 1:比率 2:固定
  11343. type: integer
  11344. closefreezecharge:
  11345. description: 平仓冻结手续费(先建后平操作,需要记录)
  11346. type: number
  11347. closememberchargevalue:
  11348. description: 平仓会员手续费设置值
  11349. type: number
  11350. closeqty:
  11351. description: 平仓数量(先建后平操作 需要记录)
  11352. type: integer
  11353. closetradeqty:
  11354. description: 平仓成交数量(先建后平操作,需要记录)
  11355. type: integer
  11356. closeunfreezecharge:
  11357. description: 平仓解冻手续费(先建后平操作,需要记录)
  11358. type: number
  11359. delistingtype:
  11360. description: 摘牌类型 - 1:价格最优 2:点选成交
  11361. type: integer
  11362. freezecharge:
  11363. description: 冻结手续费
  11364. type: number
  11365. freezemargin:
  11366. description: 冻结保证金(冻结交易金额)
  11367. type: number
  11368. gcaccountid:
  11369. description: 账户ID[合约币种]
  11370. type: integer
  11371. goodscode:
  11372. description: 商品代码
  11373. type: string
  11374. goodsid:
  11375. description: 商品ID
  11376. type: integer
  11377. goodsname:
  11378. description: 商品名称
  11379. type: string
  11380. histradedate:
  11381. description: 历史交易日
  11382. type: string
  11383. isconfirmexercise:
  11384. description: 是否确认行权- 0:否 1:是
  11385. type: integer
  11386. ispreexercise:
  11387. description: 是否预申报- 0:否 1:是
  11388. type: integer
  11389. isvaliddata:
  11390. description: 是否有效 - 0:无效 1:有效
  11391. type: integer
  11392. listingselecttype:
  11393. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11394. type: integer
  11395. marginalgorithm:
  11396. description: 保证金收取方式 1:比率 2:固定
  11397. type: integer
  11398. marginvalue:
  11399. description: 即市保证金设置值
  11400. type: number
  11401. marketid:
  11402. description: 市场ID
  11403. type: integer
  11404. marketmaxsub:
  11405. description: 市价最大偏移范围
  11406. type: number
  11407. marketname:
  11408. description: 市场名称
  11409. type: string
  11410. memberuserid:
  11411. description: 所属会员UserID
  11412. type: integer
  11413. openexchagechargevalue:
  11414. description: 建仓交易所手续费设置值
  11415. type: number
  11416. openfeealgorithm:
  11417. description: 建仓手续费收取方式 1:比率 2:固定
  11418. type: integer
  11419. openfreezecharge:
  11420. description: 开仓冻结手续费(先建后平操作,需要记录)
  11421. type: number
  11422. openmemberchargevalue:
  11423. description: 建仓会员手续费设置值
  11424. type: number
  11425. openqty:
  11426. description: 开仓数量(先建后平操作,需要记录)
  11427. type: integer
  11428. opentradeqty:
  11429. description: 开仓成交数量(先建后平操作,需要记录)
  11430. type: integer
  11431. openunfreezecharge:
  11432. description: 开仓解冻手续费(先建后平操作,需要记录)
  11433. type: number
  11434. operatetype:
  11435. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11436. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11437. 15:管理端协议转让
  11438. type: integer
  11439. operatorid:
  11440. description: 登录账号(LoginID)
  11441. type: integer
  11442. optiontype:
  11443. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11444. type: integer
  11445. orderid:
  11446. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11447. type: string
  11448. orderprice:
  11449. description: 委托价格
  11450. type: number
  11451. orderqty:
  11452. description: 委托数量
  11453. type: integer
  11454. ordersrc:
  11455. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11456. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11457. type: integer
  11458. orderstatus:
  11459. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11460. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11461. 16:成交失败违约(荷兰式竞拍专用)
  11462. type: integer
  11463. ordertime:
  11464. description: 委托时间
  11465. type: string
  11466. preexerciseprice:
  11467. description: 预申报价格
  11468. type: number
  11469. premium:
  11470. description: 权利金
  11471. type: number
  11472. preorderid:
  11473. description: 关联预埋单号(止盈止损单时填写)
  11474. type: string
  11475. pricemode:
  11476. description: '取价方式 - 1:市价 2: 限价'
  11477. type: integer
  11478. quoteid:
  11479. description: 报价单ID
  11480. type: integer
  11481. relatedid:
  11482. description: 关联单号(交割单)
  11483. type: string
  11484. retcode:
  11485. description: 错误代码
  11486. type: integer
  11487. sessionid:
  11488. description: 会话ID
  11489. type: integer
  11490. tradedate:
  11491. description: 交易日(yyyyMMdd)
  11492. type: string
  11493. trademode:
  11494. description: 交易模式
  11495. type: integer
  11496. tradeproperty:
  11497. description: 交易属性
  11498. type: integer
  11499. tradeqty:
  11500. description: 成交数量
  11501. type: integer
  11502. unfreezecharge:
  11503. description: 解冻手续费
  11504. type: number
  11505. unfreezemargin:
  11506. description: 解冻保证金
  11507. type: number
  11508. updatetime:
  11509. description: 更新时间
  11510. type: string
  11511. uuid:
  11512. description: 发起端唯一id
  11513. type: string
  11514. validtime:
  11515. description: 有效期限
  11516. type: string
  11517. validtype:
  11518. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11519. type: integer
  11520. volumetype:
  11521. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11522. type: integer
  11523. required:
  11524. - accountid
  11525. - buildtype
  11526. - buyorsell
  11527. - goodsid
  11528. - histradedate
  11529. - marketid
  11530. - memberuserid
  11531. - operatetype
  11532. - orderid
  11533. - orderqty
  11534. - ordertime
  11535. - pricemode
  11536. - tradedate
  11537. - validtype
  11538. type: object
  11539. order.QueryTradeDetailRsp:
  11540. properties:
  11541. accountid:
  11542. description: 账户ID[报价币种]
  11543. type: integer
  11544. buildtype:
  11545. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  11546. type: integer
  11547. buyorsell:
  11548. description: 方向 - 0:买 1:卖
  11549. type: integer
  11550. charge:
  11551. description: 手续费
  11552. type: number
  11553. closecharge:
  11554. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11555. type: number
  11556. closeexchagechargevalue:
  11557. description: 平仓交易所手续费设置值
  11558. type: number
  11559. closefeealgorithm:
  11560. description: 平仓手续费收取方式 1:比率 2:固定
  11561. type: integer
  11562. closememberchargevalue:
  11563. description: 平仓会员手续费设置值
  11564. type: number
  11565. closepl:
  11566. description: 平仓盈亏
  11567. type: number
  11568. closepl2:
  11569. description: 平仓盈亏[逐笔]
  11570. type: number
  11571. closeqty:
  11572. description: 平仓数量(先建后平操作 需要记录)
  11573. type: integer
  11574. creditamount:
  11575. description: 授信金额
  11576. type: number
  11577. gcaccountid:
  11578. description: 账户ID[合约币种]
  11579. type: integer
  11580. goodscode:
  11581. description: 商品代码
  11582. type: string
  11583. goodsid:
  11584. description: 商品ID
  11585. type: integer
  11586. goodsname:
  11587. description: 商品名称
  11588. type: string
  11589. intclosepl:
  11590. description: 整型盈亏(用于交易结算试算平衡-收益权)
  11591. type: integer
  11592. isconfirmexercise:
  11593. description: 是否确认行权- 0:否 1:是
  11594. type: integer
  11595. ismain:
  11596. description: 是否主单 - 0:不是 1:是
  11597. type: integer
  11598. ispreexercise:
  11599. description: 是否预申报- 0:否 1:是
  11600. type: integer
  11601. isreckoned:
  11602. description: 是否结算 - 0:未结算 1:已结算
  11603. type: integer
  11604. listingselecttype:
  11605. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11606. type: integer
  11607. marketid:
  11608. description: 市场ID
  11609. type: integer
  11610. marketname:
  11611. description: 市场名称
  11612. type: string
  11613. matchaccountid:
  11614. description: 对手账号id
  11615. type: integer
  11616. memberuserid:
  11617. description: 会员id 个人投资者 需要填写
  11618. type: integer
  11619. opencharge:
  11620. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  11621. type: number
  11622. openexchagechargevalue:
  11623. description: 建仓交易所手续费设置值
  11624. type: number
  11625. openfeealgorithm:
  11626. description: 建仓手续费收取方式 1:比率 2:固定
  11627. type: integer
  11628. openmemberchargevalue:
  11629. description: 建仓会员手续费设置值
  11630. type: number
  11631. openqty:
  11632. description: 开仓数量(先建后平操作 需要记录)
  11633. type: integer
  11634. optiontype:
  11635. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  11636. type: integer
  11637. orderid:
  11638. description: 委托单号
  11639. type: string
  11640. performanceplanid:
  11641. description: 履约计划ID[期权]
  11642. type: integer
  11643. performancestatus:
  11644. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  11645. type: integer
  11646. preexerciseprice:
  11647. description: 预申报价格
  11648. type: number
  11649. premium:
  11650. description: 权利金 - [持仓单的权利金]
  11651. type: number
  11652. relatedouttradeid:
  11653. description: 关联外部成交单ID
  11654. type: integer
  11655. status:
  11656. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  11657. type: integer
  11658. tradeamount:
  11659. description: 成交金额[账户币种,用于所有权]
  11660. type: number
  11661. tradedate:
  11662. description: 交易日(yyyyMMdd)
  11663. type: string
  11664. tradeid:
  11665. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11666. type: string
  11667. trademode:
  11668. description: 交易模式
  11669. type: integer
  11670. tradeprice:
  11671. description: 成交价格
  11672. type: number
  11673. tradeproperty:
  11674. description: 交易属性
  11675. type: integer
  11676. tradeqty:
  11677. description: 成交数量
  11678. type: integer
  11679. tradetime:
  11680. description: 成交时间
  11681. type: string
  11682. tradetype:
  11683. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  11684. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  11685. type: integer
  11686. required:
  11687. - accountid
  11688. - buyorsell
  11689. - goodsid
  11690. - marketid
  11691. - memberuserid
  11692. - orderid
  11693. - tradeamount
  11694. - tradedate
  11695. - tradeid
  11696. - tradeprice
  11697. - tradeqty
  11698. - tradetime
  11699. type: object
  11700. order.QueryTradeOrderDetailRsp:
  11701. properties:
  11702. accountid:
  11703. description: 账户ID[报价币种]
  11704. type: integer
  11705. buildtype:
  11706. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  11707. type: integer
  11708. buyorsell:
  11709. description: 买卖 - 0:买 1:卖
  11710. type: integer
  11711. cancelorderid:
  11712. description: 撤单单号(撤单时填写)
  11713. type: string
  11714. cancelqty:
  11715. description: 撤单数量
  11716. type: integer
  11717. clienttype:
  11718. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  11719. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11720. type: integer
  11721. closefreezecharge:
  11722. description: 平仓冻结手续费(先建后平操作,需要记录)
  11723. type: number
  11724. closeqty:
  11725. description: 平仓数量(先建后平操作 需要记录)
  11726. type: integer
  11727. closetradeqty:
  11728. description: 平仓成交数量(先建后平操作,需要记录)
  11729. type: integer
  11730. closeunfreezecharge:
  11731. description: 平仓解冻手续费(先建后平操作,需要记录)
  11732. type: number
  11733. delistingtype:
  11734. description: 摘牌类型 - 1:价格最优 2:点选成交
  11735. type: integer
  11736. enableqty:
  11737. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  11738. type: integer
  11739. freezecharge:
  11740. description: 冻结手续费
  11741. type: number
  11742. freezemargin:
  11743. description: 冻结保证金(冻结交易金额)
  11744. type: number
  11745. goodscode:
  11746. description: 商品代码
  11747. type: string
  11748. goodsid:
  11749. description: 商品ID
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. listingselecttype:
  11755. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  11756. type: integer
  11757. marketid:
  11758. description: 市场ID
  11759. type: integer
  11760. marketname:
  11761. description: 市场名称
  11762. type: string
  11763. openfreezecharge:
  11764. description: 开仓冻结手续费(先建后平操作,需要记录)
  11765. type: number
  11766. openqty:
  11767. description: 开仓数量(先建后平操作,需要记录)
  11768. type: integer
  11769. opentradeqty:
  11770. description: 开仓成交数量(先建后平操作,需要记录)
  11771. type: integer
  11772. openunfreezecharge:
  11773. description: 开仓解冻手续费(先建后平操作,需要记录)
  11774. type: number
  11775. operatetype:
  11776. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  11777. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  11778. 15:管理端协议转让
  11779. type: integer
  11780. operatorid:
  11781. description: 登录账号(LoginID)
  11782. type: integer
  11783. orderid:
  11784. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11785. type: string
  11786. orderprice:
  11787. description: 委托价格
  11788. type: number
  11789. orderqty:
  11790. description: 委托数量
  11791. type: integer
  11792. ordersrc:
  11793. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  11794. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  11795. type: integer
  11796. orderstatus:
  11797. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11798. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11799. 16:成交失败违约(荷兰式竞拍专用)
  11800. type: integer
  11801. ordertime:
  11802. description: 委托时间
  11803. type: string
  11804. preorderid:
  11805. description: 关联预埋单号(止盈止损单时填写)
  11806. type: string
  11807. pricemode:
  11808. description: '取价方式 - 1:市价 2: 限价'
  11809. type: integer
  11810. relatedid:
  11811. description: 关联单号(交割单)
  11812. type: string
  11813. tradedate:
  11814. description: 交易日(yyyyMMdd)
  11815. type: string
  11816. trademode:
  11817. description: 交易模式
  11818. type: integer
  11819. tradeqty:
  11820. description: 成交数量
  11821. type: integer
  11822. unfreezecharge:
  11823. description: 解冻手续费
  11824. type: number
  11825. unfreezemargin:
  11826. description: 解冻保证金
  11827. type: number
  11828. validtime:
  11829. description: 有效期限
  11830. type: string
  11831. validtype:
  11832. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11833. type: integer
  11834. volumetype:
  11835. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11836. type: integer
  11837. required:
  11838. - accountid
  11839. - buildtype
  11840. - buyorsell
  11841. - goodsid
  11842. - marketid
  11843. - operatetype
  11844. - orderqty
  11845. - ordertime
  11846. - pricemode
  11847. - tradedate
  11848. - validtype
  11849. type: object
  11850. order.QueryTradePositionRsp:
  11851. properties:
  11852. accountid:
  11853. description: 资金账户
  11854. type: integer
  11855. agreeunit:
  11856. description: 合约单位
  11857. type: number
  11858. averageprice:
  11859. description: 持仓均价
  11860. type: number
  11861. buyorsell:
  11862. description: 方向 - 0:买 1:卖
  11863. type: integer
  11864. closetotalqty:
  11865. description: 平仓总数量
  11866. type: integer
  11867. curholderamount:
  11868. description: 当前持仓总金额[商品币种]
  11869. type: number
  11870. curpositionqty:
  11871. description: 当前持仓总数量
  11872. type: integer
  11873. currencyid:
  11874. description: 报价货币ID
  11875. type: integer
  11876. curtdposition:
  11877. description: 期末今日头寸
  11878. type: integer
  11879. decimalplace:
  11880. description: 报价小数位
  11881. type: integer
  11882. enableqty:
  11883. description: 可用量
  11884. type: integer
  11885. fretdposition:
  11886. description: 冻结今日头寸
  11887. type: integer
  11888. frozenqty:
  11889. description: 持仓冻结数量
  11890. type: integer
  11891. goodscode:
  11892. description: 商品代码
  11893. type: string
  11894. goodsid:
  11895. description: 商品Id
  11896. type: integer
  11897. goodsname:
  11898. description: 商品名称
  11899. type: string
  11900. goodunit:
  11901. description: 报价单位
  11902. type: string
  11903. goodunitid:
  11904. description: 报价单位ID
  11905. type: integer
  11906. holderamount:
  11907. description: 期初持仓总金额[商品币种]
  11908. type: number
  11909. marketid:
  11910. description: 所属市场ID
  11911. type: integer
  11912. openreqqty:
  11913. description: 开仓申请数量(用于比较最大持仓数量)
  11914. type: integer
  11915. opentotalqty:
  11916. description: 开仓总数量
  11917. type: integer
  11918. otherfrozenqty:
  11919. description: 持仓其他冻结数量(交割冻结)
  11920. type: integer
  11921. positionqty:
  11922. description: 期初持仓数量
  11923. type: integer
  11924. tnqty:
  11925. description: T+N冻结总量
  11926. type: integer
  11927. tnusedqty:
  11928. description: T+N使用量(可以使用T+N的冻结数量)
  11929. type: integer
  11930. trademode:
  11931. description: 交易模式
  11932. type: integer
  11933. usedmargin:
  11934. description: 占用保证金[商品币种]
  11935. type: number
  11936. required:
  11937. - goodsid
  11938. type: object
  11939. quote.HistoryData:
  11940. properties:
  11941. c:
  11942. description: 收盘价
  11943. type: number
  11944. f:
  11945. description: 是否补充数据
  11946. type: boolean
  11947. h:
  11948. description: 最高价
  11949. type: number
  11950. hv:
  11951. description: 持仓量
  11952. type: integer
  11953. l:
  11954. description: 最低价
  11955. type: number
  11956. o:
  11957. description: 开盘价
  11958. type: number
  11959. s:
  11960. description: 结算价,日线周期(包括)以上才有
  11961. type: number
  11962. ts:
  11963. description: 时间
  11964. type: string
  11965. tt:
  11966. description: 总金额
  11967. type: number
  11968. tv:
  11969. description: 总量
  11970. type: integer
  11971. type: object
  11972. quote.HistoryTikData:
  11973. properties:
  11974. AV:
  11975. description: 卖量
  11976. type: integer
  11977. Ask:
  11978. description: 卖价
  11979. type: number
  11980. BV:
  11981. description: 买量
  11982. type: integer
  11983. Bid:
  11984. description: 买价
  11985. type: number
  11986. HI:
  11987. description: 单笔持仓
  11988. type: integer
  11989. HV:
  11990. description: 持仓量
  11991. type: integer
  11992. PE:
  11993. description: 现价
  11994. type: number
  11995. TDR:
  11996. description: 交易方向,0:买 1:卖
  11997. type: integer
  11998. TK:
  11999. description: 交易类型
  12000. type: integer
  12001. TS:
  12002. description: 行情时间文本
  12003. type: string
  12004. TT:
  12005. description: 现金额
  12006. type: number
  12007. Vol:
  12008. description: 现量
  12009. type: integer
  12010. type: object
  12011. quote.QueryQuoteDayRsp:
  12012. properties:
  12013. ask:
  12014. description: 卖1
  12015. type: number
  12016. ask2:
  12017. description: 卖2
  12018. type: number
  12019. ask3:
  12020. description: 卖3
  12021. type: number
  12022. ask4:
  12023. description: 卖4
  12024. type: number
  12025. ask5:
  12026. description: 卖5
  12027. type: number
  12028. ask6:
  12029. description: 卖6
  12030. type: number
  12031. ask7:
  12032. description: 卖7
  12033. type: number
  12034. ask8:
  12035. description: 卖8
  12036. type: number
  12037. ask9:
  12038. description: 卖9
  12039. type: number
  12040. ask10:
  12041. description: 卖10
  12042. type: number
  12043. askorderid:
  12044. description: 卖单号1
  12045. type: integer
  12046. askorderid2:
  12047. description: 卖单号2
  12048. type: integer
  12049. askorderid3:
  12050. description: 卖单号3
  12051. type: integer
  12052. askorderid4:
  12053. description: 卖单号4
  12054. type: integer
  12055. askorderid5:
  12056. description: 卖单号5
  12057. type: integer
  12058. askordervolume:
  12059. description: 卖单量1
  12060. type: integer
  12061. askordervolume2:
  12062. description: 卖单量2
  12063. type: integer
  12064. askordervolume3:
  12065. description: 卖单量3
  12066. type: integer
  12067. askordervolume4:
  12068. description: 卖单量4
  12069. type: integer
  12070. askordervolume5:
  12071. description: 卖单量5
  12072. type: integer
  12073. askordervolume6:
  12074. description: 卖单量6
  12075. type: integer
  12076. askordervolume7:
  12077. description: 卖单量7
  12078. type: integer
  12079. askordervolume8:
  12080. description: 卖单量8
  12081. type: integer
  12082. askordervolume9:
  12083. description: 卖单量9
  12084. type: integer
  12085. askordervolume10:
  12086. description: 卖单量10
  12087. type: integer
  12088. askqueueinfo:
  12089. description: 大利市卖港股用
  12090. type: string
  12091. askvolume:
  12092. description: 卖量1
  12093. type: integer
  12094. askvolume2:
  12095. description: 卖量2
  12096. type: integer
  12097. askvolume3:
  12098. description: 卖量3
  12099. type: integer
  12100. askvolume4:
  12101. description: 卖量4
  12102. type: integer
  12103. askvolume5:
  12104. description: 卖量5
  12105. type: integer
  12106. askvolume6:
  12107. description: 卖量6
  12108. type: integer
  12109. askvolume7:
  12110. description: 卖量7
  12111. type: integer
  12112. askvolume8:
  12113. description: 卖量8
  12114. type: integer
  12115. askvolume9:
  12116. description: 卖量9
  12117. type: integer
  12118. askvolume10:
  12119. description: 卖量10
  12120. type: integer
  12121. averageprice:
  12122. description: 均价
  12123. type: number
  12124. bid:
  12125. description: 买1
  12126. type: number
  12127. bid2:
  12128. description: 买2
  12129. type: number
  12130. bid3:
  12131. description: 买3
  12132. type: number
  12133. bid4:
  12134. description: 买4
  12135. type: number
  12136. bid5:
  12137. description: 买5
  12138. type: number
  12139. bid6:
  12140. description: 买6
  12141. type: number
  12142. bid7:
  12143. description: 买7
  12144. type: number
  12145. bid8:
  12146. description: 买8
  12147. type: number
  12148. bid9:
  12149. description: 买9
  12150. type: number
  12151. bid10:
  12152. description: 买10
  12153. type: number
  12154. bidorderid:
  12155. description: 买单号1
  12156. type: integer
  12157. bidorderid2:
  12158. description: 买单号2
  12159. type: integer
  12160. bidorderid3:
  12161. description: 买单号3
  12162. type: integer
  12163. bidorderid4:
  12164. description: 买单号4
  12165. type: integer
  12166. bidorderid5:
  12167. description: 买单号5
  12168. type: integer
  12169. bidordervolume:
  12170. description: 买单量1
  12171. type: integer
  12172. bidordervolume2:
  12173. description: 买单量2
  12174. type: integer
  12175. bidordervolume3:
  12176. description: 买单量3
  12177. type: integer
  12178. bidordervolume4:
  12179. description: 买单量4
  12180. type: integer
  12181. bidordervolume5:
  12182. description: 买单量5
  12183. type: integer
  12184. bidordervolume6:
  12185. description: 买单量6
  12186. type: integer
  12187. bidordervolume7:
  12188. description: 买单量7
  12189. type: integer
  12190. bidordervolume8:
  12191. description: 买单量8
  12192. type: integer
  12193. bidordervolume9:
  12194. description: 买单量9
  12195. type: integer
  12196. bidordervolume10:
  12197. description: 买单量10
  12198. type: integer
  12199. bidqueueinfo:
  12200. description: 大利市买港股用
  12201. type: string
  12202. bidvolume:
  12203. description: 买量1
  12204. type: integer
  12205. bidvolume2:
  12206. description: 买量2
  12207. type: integer
  12208. bidvolume3:
  12209. description: 买量3
  12210. type: integer
  12211. bidvolume4:
  12212. description: 买量4
  12213. type: integer
  12214. bidvolume5:
  12215. description: 买量5
  12216. type: integer
  12217. bidvolume6:
  12218. description: 买量6
  12219. type: integer
  12220. bidvolume7:
  12221. description: 买量7
  12222. type: integer
  12223. bidvolume8:
  12224. description: 买量8
  12225. type: integer
  12226. bidvolume9:
  12227. description: 买量9
  12228. type: integer
  12229. bidvolume10:
  12230. description: 买量10
  12231. type: integer
  12232. calloptionpremiums:
  12233. description: 认购期权1
  12234. type: integer
  12235. calloptionpremiums2:
  12236. description: 认购期权2
  12237. type: integer
  12238. calloptionpremiums3:
  12239. description: 认购期权3
  12240. type: integer
  12241. calloptionpremiums4:
  12242. description: 认购期权4
  12243. type: integer
  12244. calloptionpremiums5:
  12245. description: 认购期权5
  12246. type: integer
  12247. cleartime:
  12248. description: 清盘时间
  12249. type: integer
  12250. exchangecode:
  12251. description: 交易所代码
  12252. type: integer
  12253. exchangedate:
  12254. description: 交易日
  12255. type: integer
  12256. goodscode:
  12257. description: 商品代码
  12258. type: string
  12259. grepmarketprice:
  12260. description: 暗盘价 港股专用
  12261. type: number
  12262. highest:
  12263. description: 最高价
  12264. type: number
  12265. holdincrement:
  12266. description: 单笔持仓
  12267. type: integer
  12268. holdvolume:
  12269. description: 持仓
  12270. type: integer
  12271. iep:
  12272. description: 平衡价 港股专用
  12273. type: number
  12274. iev:
  12275. description: 平衡量 港股专用
  12276. type: number
  12277. inventory:
  12278. description: 库存
  12279. type: integer
  12280. iscleared:
  12281. description: 是否清盘标志
  12282. type: integer
  12283. issettled:
  12284. description: 是否结算标志
  12285. type: integer
  12286. last:
  12287. description: 最新价
  12288. type: number
  12289. lastlot:
  12290. description: 最新成交手数
  12291. type: integer
  12292. lasttime:
  12293. description: 行情时间(只有现价变化行情时间才变化)
  12294. type: string
  12295. lastturnover:
  12296. description: 最新成交金额
  12297. type: number
  12298. lastvolume:
  12299. description: 最新成交量
  12300. type: integer
  12301. limitdown:
  12302. description: 跌停价
  12303. type: number
  12304. limitup:
  12305. description: 涨停价
  12306. type: number
  12307. lowest:
  12308. description: 最低价
  12309. type: number
  12310. nontotalholdervolume:
  12311. description: 非交易持仓量
  12312. type: integer
  12313. nontotallot:
  12314. description: 非交易总手数
  12315. type: integer
  12316. nontotalturnover:
  12317. description: 非交易总金额
  12318. type: integer
  12319. nontotalvolume:
  12320. description: 非交易总量
  12321. type: integer
  12322. opened:
  12323. description: 开盘价
  12324. type: number
  12325. opentime:
  12326. description: 开盘时间
  12327. type: string
  12328. orderid:
  12329. description: 序号
  12330. type: integer
  12331. preclose:
  12332. description: 昨收
  12333. type: number
  12334. preholdvolume:
  12335. description: 昨持仓
  12336. type: integer
  12337. presettle:
  12338. description: 昨结价
  12339. type: number
  12340. publictradetype:
  12341. description: 公共交易标志类型 港股专用
  12342. type: string
  12343. putoptionpremiums:
  12344. description: 认沽期权1
  12345. type: integer
  12346. putoptionpremiums2:
  12347. description: 认沽期权2
  12348. type: integer
  12349. putoptionpremiums3:
  12350. description: 认沽期权3
  12351. type: integer
  12352. putoptionpremiums4:
  12353. description: 认沽期权4
  12354. type: integer
  12355. putoptionpremiums5:
  12356. description: 认沽期权5
  12357. type: integer
  12358. settle:
  12359. description: 结算价
  12360. type: number
  12361. strikeprice:
  12362. description: 发行价
  12363. type: number
  12364. totalaskvolume:
  12365. description: 内盘
  12366. type: integer
  12367. totalbidvolume:
  12368. description: 外盘
  12369. type: integer
  12370. totallot:
  12371. description: 总手数
  12372. type: integer
  12373. totalturnover:
  12374. description: 总金额
  12375. type: number
  12376. totalvolume:
  12377. description: 总量
  12378. type: integer
  12379. utclasttime:
  12380. description: utc的行情时间
  12381. type: string
  12382. type: object
  12383. quote.QueryTSDataRsp:
  12384. properties:
  12385. Count:
  12386. description: 交易日应有数据个数
  12387. type: integer
  12388. decimalPlace:
  12389. description: 小数位
  12390. type: integer
  12391. endTime:
  12392. description: 结束时间
  12393. type: string
  12394. goodsCode:
  12395. description: 商品代码
  12396. type: string
  12397. historyDatas:
  12398. description: 历史数据
  12399. items:
  12400. $ref: '#/definitions/quote.HistoryData'
  12401. type: array
  12402. outGoodsCode:
  12403. description: 外部商品代码
  12404. type: string
  12405. preSettle:
  12406. description: 昨结价
  12407. type: number
  12408. runSteps:
  12409. description: 交易日开休市计划
  12410. items:
  12411. $ref: '#/definitions/quote.TSDataRunStep'
  12412. type: array
  12413. startTime:
  12414. description: 开始时间
  12415. type: string
  12416. tradeDate:
  12417. description: 交易日
  12418. type: string
  12419. type: object
  12420. quote.TSDataRunStep:
  12421. properties:
  12422. end:
  12423. description: 真实结束时间
  12424. type: string
  12425. endflag:
  12426. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  12427. type: integer
  12428. endtime:
  12429. description: 结束时间(HH:mm)
  12430. type: string
  12431. endweekday:
  12432. description: 结束周几
  12433. type: integer
  12434. groupid:
  12435. description: 分组ID
  12436. type: integer
  12437. runstep:
  12438. description: 运行阶段 - 2:连续交易
  12439. type: integer
  12440. sectionid:
  12441. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  12442. 结束时间=结算时间 结束周几=结算周几
  12443. type: integer
  12444. start:
  12445. description: 真实开始时间
  12446. type: string
  12447. startflag:
  12448. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  12449. type: integer
  12450. starttime:
  12451. description: 起始时间(HH:mm)
  12452. type: string
  12453. startweekday:
  12454. description: 起始周几
  12455. type: integer
  12456. tradeweekday:
  12457. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  12458. type: integer
  12459. type: object
  12460. szdz.QueryConvertLogRsp:
  12461. properties:
  12462. accountid:
  12463. description: 资金账户ID
  12464. type: integer
  12465. clientticket:
  12466. description: 客户端流水号
  12467. type: string
  12468. converttype:
  12469. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  12470. type: integer
  12471. createtime:
  12472. description: 记账时间
  12473. type: string
  12474. daymaxvalue:
  12475. description: 配置当日最大转入限制
  12476. type: number
  12477. daymaxvalue2:
  12478. description: 配置当日最大转入限制(转入)
  12479. type: number
  12480. goodscode:
  12481. description: 商品代码
  12482. type: string
  12483. goodsname:
  12484. description: 商品名称
  12485. type: string
  12486. handlestatus:
  12487. description: 处理状态
  12488. type: integer
  12489. innergoodsid:
  12490. description: 内部商品ID
  12491. type: integer
  12492. inratio:
  12493. description: 配置转入比值
  12494. type: integer
  12495. invalue:
  12496. description: 目标值
  12497. type: number
  12498. logid:
  12499. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12500. type: integer
  12501. mobile:
  12502. description: 手机号码(加密存储)
  12503. type: string
  12504. outergoodscode:
  12505. description: 外部商品代码[JD\PD]
  12506. type: string
  12507. outratio:
  12508. description: 配置转出比值
  12509. type: integer
  12510. outvalue:
  12511. description: 源值
  12512. type: number
  12513. pddecimalplace:
  12514. description: PD小数位
  12515. type: integer
  12516. qty:
  12517. description: 数量
  12518. type: string
  12519. remark:
  12520. description: 备注
  12521. type: string
  12522. sessionid:
  12523. description: 会话ID
  12524. type: integer
  12525. timemaxvalue:
  12526. description: 配置单次最大转入限制
  12527. type: number
  12528. timemaxvalue2:
  12529. description: 配置单次最大转入限制(转入)
  12530. type: number
  12531. timeminvalue:
  12532. description: 配置单次最小数量限制
  12533. type: number
  12534. timeminvalue2:
  12535. description: 配置单次最小数量限制(转入)
  12536. type: number
  12537. tradedate:
  12538. description: 交易日(yyyyMMdd)
  12539. type: string
  12540. userid:
  12541. description: 用户ID
  12542. type: integer
  12543. required:
  12544. - logid
  12545. type: object
  12546. szdz.QueryGoodsPickupRsp:
  12547. properties:
  12548. accountid:
  12549. description: 账户ID
  12550. type: integer
  12551. address:
  12552. description: 提货人详细地址
  12553. type: string
  12554. auditer:
  12555. description: 审核人
  12556. type: integer
  12557. audittime:
  12558. description: 审核时间
  12559. type: string
  12560. cardnum:
  12561. description: 提货人证件号码
  12562. type: string
  12563. cardtypeid:
  12564. description: 提货人证件类型
  12565. type: integer
  12566. checkremark:
  12567. description: 审核备注
  12568. type: string
  12569. goodscode:
  12570. description: 商品代码
  12571. type: string
  12572. goodsid:
  12573. description: 商品ID
  12574. type: integer
  12575. goodsname:
  12576. description: 商品名称
  12577. type: string
  12578. handlestatus:
  12579. description: 处理状态
  12580. type: integer
  12581. marketid:
  12582. description: 市场ID
  12583. type: integer
  12584. phonenum:
  12585. description: 提货人联系方式
  12586. type: string
  12587. qty:
  12588. description: 提货数量
  12589. type: number
  12590. recivername:
  12591. description: 提货人姓名
  12592. type: string
  12593. reqtime:
  12594. description: 更新时间
  12595. type: string
  12596. takemode:
  12597. description: 提货方式 - 2:自提 3:配送
  12598. type: integer
  12599. takeorderid:
  12600. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12601. type: string
  12602. takeorderstatus:
  12603. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12604. type: integer
  12605. takeremark:
  12606. description: 提货备注
  12607. type: string
  12608. tradedate:
  12609. description: 交易日(yyyyMMdd)
  12610. type: string
  12611. userid:
  12612. description: 用户ID
  12613. type: integer
  12614. required:
  12615. - takeorderid
  12616. type: object
  12617. szdz.QueryRecieptOrderRsp:
  12618. properties:
  12619. accountName:
  12620. description: 所属账号名称(已脱敏)
  12621. type: string
  12622. accountid:
  12623. description: 资金账号
  12624. type: integer
  12625. buyorsell:
  12626. description: 方向 - 0:买 1:卖
  12627. type: integer
  12628. enableqty:
  12629. description: 可摘数量
  12630. type: integer
  12631. goodscode:
  12632. description: 商品代码
  12633. type: string
  12634. goodsid:
  12635. description: 商品ID
  12636. type: integer
  12637. goodsname:
  12638. description: 商品名称
  12639. type: string
  12640. orderid:
  12641. description: 委托单号
  12642. type: string
  12643. orderprice:
  12644. description: 委托价格
  12645. type: number
  12646. ordertime:
  12647. description: 委托时间
  12648. type: string
  12649. tradedate:
  12650. description: 交易日(yyyyMMdd)
  12651. type: string
  12652. required:
  12653. - ordertime
  12654. type: object
  12655. szdz.QuerySZDZTradePositionRsp:
  12656. properties:
  12657. accountid:
  12658. description: 账号Id
  12659. type: integer
  12660. agreeunit:
  12661. description: 合约单位
  12662. type: number
  12663. averageprice:
  12664. description: 持仓均价
  12665. type: number
  12666. buyorsell:
  12667. description: 方向 - 0:买 1:卖
  12668. type: integer
  12669. closetotalqty:
  12670. description: 平仓总数量
  12671. type: integer
  12672. curholderamount:
  12673. description: 当前持仓总金额
  12674. type: number
  12675. curpositionqty:
  12676. description: 当前持仓总数量
  12677. type: integer
  12678. currencyid:
  12679. description: 报价货币ID
  12680. type: integer
  12681. curtdposition:
  12682. description: 期末今日头寸
  12683. type: integer
  12684. decimalplace:
  12685. description: 报价小数位
  12686. type: integer
  12687. enableqty:
  12688. description: 可用量
  12689. type: integer
  12690. fretdposition:
  12691. description: 冻结今日头寸
  12692. type: integer
  12693. frozenqty:
  12694. description: 持仓冻结数量
  12695. type: integer
  12696. goodscode:
  12697. description: 商品代码(内部)
  12698. type: string
  12699. goodsid:
  12700. description: 商品Id
  12701. type: integer
  12702. goodsname:
  12703. description: 商品名称
  12704. type: string
  12705. goodunit:
  12706. description: 报价单位
  12707. type: string
  12708. goodunitid:
  12709. description: 报价单位ID
  12710. type: integer
  12711. holderamount:
  12712. description: 期初持仓总金额
  12713. type: number
  12714. marketid:
  12715. description: 市场ID
  12716. type: integer
  12717. openreqqty:
  12718. description: 开仓申请数量
  12719. type: integer
  12720. opentotalqty:
  12721. description: 开仓总数量
  12722. type: integer
  12723. otherfrozenqty:
  12724. description: 持仓其他冻结数量(交割冻结)
  12725. type: integer
  12726. positionqty:
  12727. description: 期初持仓数量
  12728. type: integer
  12729. szdz3freezqty:
  12730. description: 尚志大宗转换冻结总数量
  12731. type: integer
  12732. tnqty:
  12733. description: T+N冻结总量
  12734. type: integer
  12735. tnusedqty:
  12736. description: T+N使用量
  12737. type: integer
  12738. trademode:
  12739. description: 交易模式
  12740. type: integer
  12741. usedmargin:
  12742. description: 占用保证金
  12743. type: number
  12744. type: object
  12745. taaccount.QueryAmountLogRsp:
  12746. properties:
  12747. OPERATETYPENAME:
  12748. description: 资金操作类型名称
  12749. type: string
  12750. accountid:
  12751. description: 资金账户ID
  12752. type: integer
  12753. agoodscode:
  12754. description: 竞拍商品代码
  12755. type: string
  12756. agoodsname:
  12757. description: 竞拍商品名称
  12758. type: string
  12759. amount:
  12760. description: 资金金额
  12761. type: number
  12762. amountadjusttype:
  12763. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12764. type: integer
  12765. autoid:
  12766. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12767. type: integer
  12768. balance:
  12769. description: 期初余额
  12770. type: number
  12771. businesscode:
  12772. description: 业务编号
  12773. type: integer
  12774. createtime:
  12775. description: 发生时间
  12776. type: string
  12777. currencyid:
  12778. description: 币种ID
  12779. type: integer
  12780. currentbalance:
  12781. description: 期末余额(变动后金额)
  12782. type: number
  12783. dgoodscode:
  12784. description: 交割商品代码
  12785. type: string
  12786. dgoodsname:
  12787. description: 交割商品名称
  12788. type: string
  12789. goodscode:
  12790. description: 商品代码
  12791. type: string
  12792. goodsid:
  12793. description: 商品ID
  12794. type: integer
  12795. goodsname:
  12796. description: 商品名称
  12797. type: string
  12798. marketid:
  12799. description: 市场ID
  12800. type: integer
  12801. marketname:
  12802. description: 市场名称
  12803. type: string
  12804. moneyticket:
  12805. description: 资金流水号:银行端流水号
  12806. type: integer
  12807. operatetype:
  12808. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12809. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12810. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12811. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12812. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12813. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12814. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12815. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12816. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12817. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12818. type: integer
  12819. relationorderid:
  12820. description: 关联单号
  12821. type: string
  12822. remark:
  12823. description: 备注
  12824. type: string
  12825. trademode:
  12826. description: 交易模式
  12827. type: integer
  12828. required:
  12829. - accountid
  12830. - amount
  12831. - amountadjusttype
  12832. - autoid
  12833. - balance
  12834. - createtime
  12835. - currentbalance
  12836. - operatetype
  12837. type: object
  12838. taaccount.QueryHisAmountLogRsp:
  12839. properties:
  12840. OPERATETYPENAME:
  12841. description: 资金操作类型名称
  12842. type: string
  12843. accountid:
  12844. description: 资金账户ID
  12845. type: integer
  12846. agoodscode:
  12847. description: 竞拍商品代码
  12848. type: string
  12849. agoodsname:
  12850. description: 竞拍商品名称
  12851. type: string
  12852. amount:
  12853. description: 资金金额
  12854. type: number
  12855. amountadjusttype:
  12856. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12857. type: integer
  12858. autoid:
  12859. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12860. type: integer
  12861. balance:
  12862. description: 期初余额
  12863. type: number
  12864. businesscode:
  12865. description: 业务编号
  12866. type: integer
  12867. createtime:
  12868. description: 发生时间
  12869. type: string
  12870. currencyid:
  12871. description: 币种ID
  12872. type: integer
  12873. currentbalance:
  12874. description: 期末余额(变动后金额)
  12875. type: number
  12876. dgoodscode:
  12877. description: 交割商品代码
  12878. type: string
  12879. dgoodsname:
  12880. description: 交割商品名称
  12881. type: string
  12882. goodscode:
  12883. description: 商品代码
  12884. type: string
  12885. goodsid:
  12886. description: 商品ID
  12887. type: integer
  12888. goodsname:
  12889. description: 商品名称
  12890. type: string
  12891. histradedate:
  12892. description: 历史交易日
  12893. type: string
  12894. isvaliddata:
  12895. description: 是否有效 - 0:无效 1:有效
  12896. type: integer
  12897. marketid:
  12898. description: 市场ID
  12899. type: integer
  12900. marketname:
  12901. description: 市场名称
  12902. type: string
  12903. moneyticket:
  12904. description: 资金流水号:银行端流水号
  12905. type: integer
  12906. operatetype:
  12907. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12908. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12909. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12910. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12911. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12912. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12913. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12914. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12915. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12916. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12917. type: integer
  12918. relationorderid:
  12919. description: 关联单号
  12920. type: string
  12921. remark:
  12922. description: 备注
  12923. type: string
  12924. trademode:
  12925. description: 交易模式
  12926. type: integer
  12927. required:
  12928. - accountid
  12929. - amount
  12930. - amountadjusttype
  12931. - autoid
  12932. - balance
  12933. - createtime
  12934. - currentbalance
  12935. - histradedate
  12936. - operatetype
  12937. type: object
  12938. trade.QueryRecieptOrderRsp:
  12939. properties:
  12940. accountName:
  12941. description: 所属账号名称(已脱敏)
  12942. type: string
  12943. accountid:
  12944. description: 资金账号
  12945. type: integer
  12946. buyorsell:
  12947. description: 方向 - 0:买 1:卖
  12948. type: integer
  12949. enableqty:
  12950. description: 可摘数量
  12951. type: integer
  12952. goodscode:
  12953. description: 商品代码
  12954. type: string
  12955. goodsid:
  12956. description: 商品ID
  12957. type: integer
  12958. goodsname:
  12959. description: 商品名称
  12960. type: string
  12961. orderid:
  12962. description: 委托单号
  12963. type: string
  12964. orderprice:
  12965. description: 委托价格
  12966. type: number
  12967. ordertime:
  12968. description: 委托时间
  12969. type: string
  12970. tradedate:
  12971. description: 交易日(yyyyMMdd)
  12972. type: string
  12973. required:
  12974. - ordertime
  12975. type: object
  12976. user.LoginQueryRsp:
  12977. properties:
  12978. areaRoles:
  12979. description: 所属角色信息
  12980. items:
  12981. $ref: '#/definitions/models.Arearole'
  12982. type: array
  12983. externalExchanges:
  12984. description: 外部交易所
  12985. items:
  12986. $ref: '#/definitions/models.Externalexchange'
  12987. type: array
  12988. goodsgroups:
  12989. description: 商品组
  12990. items:
  12991. $ref: '#/definitions/models.Goodsgroup'
  12992. type: array
  12993. loginAccount:
  12994. $ref: '#/definitions/models.Loginaccount'
  12995. description: 登录账号
  12996. type: object
  12997. markets:
  12998. description: 市场
  12999. items:
  13000. $ref: '#/definitions/models.Market'
  13001. type: array
  13002. systemParams:
  13003. description: 系统参数
  13004. items:
  13005. $ref: '#/definitions/models.Systemparam'
  13006. type: array
  13007. userAccount:
  13008. $ref: '#/definitions/models.Useraccount'
  13009. description: 用户账号
  13010. type: object
  13011. userInfo:
  13012. $ref: '#/definitions/models.Userinfo'
  13013. description: 用户信息
  13014. type: object
  13015. username:
  13016. description: 用户姓名
  13017. type: string
  13018. type: object
  13019. info:
  13020. contact: {}
  13021. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  13022. license: {}
  13023. termsOfService: http://www.muchinfo.cn
  13024. title: MTP2.0 查询服务 API
  13025. version: "1.0"
  13026. paths:
  13027. /CPTrade/QueryCPTradeMyBidInfos:
  13028. get:
  13029. parameters:
  13030. - description: 资金账户
  13031. in: query
  13032. name: accountid
  13033. required: true
  13034. type: integer
  13035. - description: 预售市场ID
  13036. in: query
  13037. name: marketid
  13038. type: integer
  13039. - description: 预售商品ID
  13040. in: query
  13041. name: goodsid
  13042. type: integer
  13043. produces:
  13044. - application/json
  13045. responses:
  13046. "200":
  13047. description: OK
  13048. schema:
  13049. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  13050. "500":
  13051. description: Internal Server Error
  13052. schema:
  13053. $ref: '#/definitions/app.Response'
  13054. security:
  13055. - ApiKeyAuth: []
  13056. summary: 查询产能预售我的出价信息
  13057. tags:
  13058. - 产能预售
  13059. /CPTrade/QueryCPTradeOrderDetail:
  13060. get:
  13061. parameters:
  13062. - description: 预售商品ID
  13063. in: query
  13064. name: goodsid
  13065. type: integer
  13066. - description: 预售市场ID
  13067. in: query
  13068. name: marketid
  13069. type: integer
  13070. - description: 预售商品ID列表 - 格式:1,2,3
  13071. in: query
  13072. name: goodsids
  13073. type: string
  13074. produces:
  13075. - application/json
  13076. responses:
  13077. "200":
  13078. description: OK
  13079. schema:
  13080. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  13081. "500":
  13082. description: Internal Server Error
  13083. schema:
  13084. $ref: '#/definitions/app.Response'
  13085. security:
  13086. - ApiKeyAuth: []
  13087. summary: 查询产能预售委托单信息
  13088. tags:
  13089. - 产能预售
  13090. /CPTrade/QueryMyCPTradeGoods:
  13091. get:
  13092. parameters:
  13093. - description: 资金账户
  13094. in: query
  13095. name: accountid
  13096. required: true
  13097. type: integer
  13098. produces:
  13099. - application/json
  13100. responses:
  13101. "200":
  13102. description: OK
  13103. schema:
  13104. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  13105. "500":
  13106. description: Internal Server Error
  13107. schema:
  13108. $ref: '#/definitions/app.Response'
  13109. security:
  13110. - ApiKeyAuth: []
  13111. summary: 查询我的预售信息
  13112. tags:
  13113. - 产能预售
  13114. /CPTrade/QueryPositionCancel:
  13115. get:
  13116. parameters:
  13117. - description: 账户ID
  13118. in: query
  13119. name: userid
  13120. required: true
  13121. type: integer
  13122. - description: 注销ID
  13123. in: query
  13124. name: cancelid
  13125. type: integer
  13126. - description: 资金账户ID
  13127. in: query
  13128. name: accountid
  13129. type: integer
  13130. produces:
  13131. - application/json
  13132. responses:
  13133. "200":
  13134. description: OK
  13135. schema:
  13136. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  13137. "500":
  13138. description: Internal Server Error
  13139. schema:
  13140. $ref: '#/definitions/app.Response'
  13141. security:
  13142. - ApiKeyAuth: []
  13143. summary: 查询远期订单注销申请信息
  13144. tags:
  13145. - 产能预售
  13146. /CPTrade/QueryPreasleApply:
  13147. get:
  13148. parameters:
  13149. - description: 账户ID
  13150. in: query
  13151. name: userid
  13152. required: true
  13153. type: integer
  13154. - description: 申请ID
  13155. in: query
  13156. name: applyid
  13157. type: integer
  13158. - description: 资金账户ID
  13159. in: query
  13160. name: accountid
  13161. type: integer
  13162. produces:
  13163. - application/json
  13164. responses:
  13165. "200":
  13166. description: OK
  13167. schema:
  13168. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  13169. "500":
  13170. description: Internal Server Error
  13171. schema:
  13172. $ref: '#/definitions/app.Response'
  13173. security:
  13174. - ApiKeyAuth: []
  13175. summary: 查询产能预售申请信息
  13176. tags:
  13177. - 产能预售
  13178. /CPTrade/QueryPresaleGoodsEx:
  13179. get:
  13180. parameters:
  13181. - description: 预售商品ID
  13182. in: query
  13183. name: goodsid
  13184. type: integer
  13185. - description: 预售市场ID
  13186. in: query
  13187. name: marketid
  13188. type: integer
  13189. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  13190. in: query
  13191. name: presalemode
  13192. type: integer
  13193. - description: 预售商品ID列表 - 格式:1,2,3
  13194. in: query
  13195. name: goodsids
  13196. type: string
  13197. - description: 预售商品代码
  13198. in: query
  13199. name: goodscode
  13200. type: string
  13201. produces:
  13202. - application/json
  13203. responses:
  13204. "200":
  13205. description: OK
  13206. schema:
  13207. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  13208. "500":
  13209. description: Internal Server Error
  13210. schema:
  13211. $ref: '#/definitions/app.Response'
  13212. security:
  13213. - ApiKeyAuth: []
  13214. summary: 查询产能预售商品扩展信息
  13215. tags:
  13216. - 产能预售
  13217. /CPTrade/QueryUserGoodsData:
  13218. get:
  13219. parameters:
  13220. - description: 资金账户ID
  13221. in: query
  13222. name: accountid
  13223. required: true
  13224. type: integer
  13225. produces:
  13226. - application/json
  13227. responses:
  13228. "200":
  13229. description: OK
  13230. schema:
  13231. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  13232. "500":
  13233. description: Internal Server Error
  13234. schema:
  13235. $ref: '#/definitions/app.Response'
  13236. security:
  13237. - ApiKeyAuth: []
  13238. summary: 查询远期订单信息
  13239. tags:
  13240. - 产能预售
  13241. /Common/GetAllEnums:
  13242. get:
  13243. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  13244. parameters:
  13245. - description: 起始自增ID
  13246. in: query
  13247. name: autoid
  13248. type: integer
  13249. produces:
  13250. - application/json
  13251. responses:
  13252. "200":
  13253. description: OK
  13254. schema:
  13255. $ref: '#/definitions/models.Enumdicitem'
  13256. "500":
  13257. description: Internal Server Error
  13258. schema:
  13259. $ref: '#/definitions/app.Response'
  13260. summary: 获取所有枚举信息
  13261. tags:
  13262. - 通用服务
  13263. /Common/GetClientMenus:
  13264. get:
  13265. parameters:
  13266. - description: 登录账号
  13267. in: query
  13268. name: loginID
  13269. required: true
  13270. type: integer
  13271. - description: 终端类型,0:PC 1:Mobile
  13272. in: query
  13273. name: clientType
  13274. type: integer
  13275. produces:
  13276. - application/json
  13277. responses:
  13278. "200":
  13279. description: OK
  13280. schema:
  13281. items:
  13282. $ref: '#/definitions/common.ClientMenu'
  13283. type: array
  13284. "500":
  13285. description: Internal Server Error
  13286. schema:
  13287. $ref: '#/definitions/app.Response'
  13288. security:
  13289. - ApiKeyAuth: []
  13290. summary: 获取交易端菜单
  13291. tags:
  13292. - 通用服务
  13293. /Common/GetDivisions:
  13294. get:
  13295. produces:
  13296. - application/json
  13297. responses:
  13298. "200":
  13299. description: OK
  13300. schema:
  13301. $ref: '#/definitions/models.Division'
  13302. "500":
  13303. description: Internal Server Error
  13304. schema:
  13305. $ref: '#/definitions/app.Response'
  13306. summary: 查询区域信息
  13307. tags:
  13308. - 通用服务
  13309. /Common/GetServerTime:
  13310. get:
  13311. produces:
  13312. - application/json
  13313. responses:
  13314. "200":
  13315. description: OK
  13316. schema:
  13317. $ref: '#/definitions/app.Response'
  13318. "500":
  13319. description: Internal Server Error
  13320. schema:
  13321. $ref: '#/definitions/app.Response'
  13322. summary: 获取服务器时间
  13323. tags:
  13324. - 通用服务
  13325. /Common/NoticeReaded:
  13326. post:
  13327. parameters:
  13328. - description: 登录账号
  13329. in: query
  13330. name: loginID
  13331. required: true
  13332. type: integer
  13333. - description: 通知公告ID
  13334. in: query
  13335. name: noticeID
  13336. required: true
  13337. type: integer
  13338. produces:
  13339. - application/json
  13340. responses:
  13341. "200":
  13342. description: OK
  13343. schema:
  13344. $ref: '#/definitions/app.Response'
  13345. "500":
  13346. description: Internal Server Error
  13347. schema:
  13348. $ref: '#/definitions/app.Response'
  13349. security:
  13350. - ApiKeyAuth: []
  13351. summary: 通知公告设置已读请求
  13352. tags:
  13353. - 通用服务
  13354. /Common/QueryErrorInfos:
  13355. get:
  13356. description: 如果传入rowNumber,则返回此rowNumber后的数据
  13357. parameters:
  13358. - description: 起始行号前索引
  13359. in: query
  13360. name: rowNumber
  13361. type: string
  13362. produces:
  13363. - application/json
  13364. responses:
  13365. "200":
  13366. description: OK
  13367. schema:
  13368. $ref: '#/definitions/models.QueryErrorInfosRsp'
  13369. "500":
  13370. description: Internal Server Error
  13371. schema:
  13372. $ref: '#/definitions/app.Response'
  13373. summary: 获取数据库错误信息
  13374. tags:
  13375. - 通用服务
  13376. /Common/QueryImageConfigs:
  13377. get:
  13378. parameters:
  13379. - description: 类型 - 1:App首页轮播 2:我的
  13380. in: query
  13381. name: imageType
  13382. type: integer
  13383. produces:
  13384. - application/json
  13385. responses:
  13386. "200":
  13387. description: OK
  13388. schema:
  13389. $ref: '#/definitions/common.QueryImageConfigsRsp'
  13390. "500":
  13391. description: Internal Server Error
  13392. schema:
  13393. $ref: '#/definitions/app.Response'
  13394. summary: 查询轮播图配置信息
  13395. tags:
  13396. - 通用服务
  13397. /Common/QueryNotice:
  13398. get:
  13399. parameters:
  13400. - description: 页码
  13401. in: query
  13402. name: page
  13403. type: integer
  13404. - description: 每页条数
  13405. in: query
  13406. name: pagesize
  13407. type: integer
  13408. - description: 登录账号
  13409. in: query
  13410. name: loginID
  13411. required: true
  13412. type: integer
  13413. - description: 消息类型 - 1:公告通知 2:系统消息
  13414. in: query
  13415. name: msgType
  13416. type: integer
  13417. - description: 是否只获取未读信息
  13418. in: query
  13419. name: onlyUnRead
  13420. type: boolean
  13421. - description: 自增ID,传入后会返回这个ID后面的记录
  13422. in: query
  13423. name: lastID
  13424. type: integer
  13425. produces:
  13426. - application/json
  13427. responses:
  13428. "200":
  13429. description: OK
  13430. schema:
  13431. $ref: '#/definitions/common.QueryNoticeRsp'
  13432. "500":
  13433. description: Internal Server Error
  13434. schema:
  13435. $ref: '#/definitions/app.Response'
  13436. security:
  13437. - ApiKeyAuth: []
  13438. summary: 通知公告系统消息查询
  13439. tags:
  13440. - 通用服务
  13441. /Common/QueryProvincesAndCities:
  13442. get:
  13443. parameters:
  13444. - description: 省ID
  13445. in: query
  13446. name: provinceID
  13447. type: integer
  13448. produces:
  13449. - application/json
  13450. responses:
  13451. "200":
  13452. description: OK
  13453. schema:
  13454. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  13455. "500":
  13456. description: Internal Server Error
  13457. schema:
  13458. $ref: '#/definitions/app.Response'
  13459. summary: 查询省市信息(不包括区)
  13460. tags:
  13461. - 通用服务
  13462. /Common/QueryTableDefine:
  13463. get:
  13464. parameters:
  13465. - description: 表key
  13466. in: query
  13467. name: tableKey
  13468. type: string
  13469. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  13470. in: query
  13471. name: tableType
  13472. type: integer
  13473. produces:
  13474. - application/json
  13475. responses:
  13476. "200":
  13477. description: OK
  13478. schema:
  13479. $ref: '#/definitions/common.QueryTableDefineRsp'
  13480. "500":
  13481. description: Internal Server Error
  13482. schema:
  13483. $ref: '#/definitions/app.Response'
  13484. summary: 查询交易端列表头信息
  13485. tags:
  13486. - 通用服务
  13487. /Common/QueryTraderMenu:
  13488. get:
  13489. parameters:
  13490. - description: 登录账号
  13491. in: query
  13492. name: loginid
  13493. required: true
  13494. type: integer
  13495. produces:
  13496. - application/json
  13497. responses:
  13498. "200":
  13499. description: OK
  13500. schema:
  13501. $ref: '#/definitions/common.QueryTraderMenuRsp'
  13502. "500":
  13503. description: Internal Server Error
  13504. schema:
  13505. $ref: '#/definitions/app.Response'
  13506. summary: 查询交易端菜单
  13507. tags:
  13508. - 通用服务
  13509. /Delivery/QueryDeliveryRelation:
  13510. get:
  13511. parameters:
  13512. - description: 商品ID
  13513. in: query
  13514. name: goodsid
  13515. type: integer
  13516. - description: 品种ID
  13517. in: query
  13518. name: deliverygoodsid
  13519. type: integer
  13520. - description: 市场ID
  13521. in: query
  13522. name: marketid
  13523. type: integer
  13524. produces:
  13525. - application/json
  13526. responses:
  13527. "200":
  13528. description: OK
  13529. schema:
  13530. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  13531. "500":
  13532. description: Internal Server Error
  13533. schema:
  13534. $ref: '#/definitions/app.Response'
  13535. security:
  13536. - ApiKeyAuth: []
  13537. summary: 查询商品交割关系表
  13538. tags:
  13539. - 交割服务
  13540. /Ermcp/GetErmcpGoods:
  13541. get:
  13542. parameters:
  13543. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13544. in: query
  13545. name: lastUpdateTime
  13546. type: string
  13547. produces:
  13548. - application/json
  13549. responses:
  13550. "200":
  13551. description: OK
  13552. schema:
  13553. $ref: '#/definitions/models.ErmcpGoods'
  13554. "500":
  13555. description: Internal Server Error
  13556. schema:
  13557. $ref: '#/definitions/app.Response'
  13558. security:
  13559. - ApiKeyAuth: []
  13560. summary: 查询企业风管期货商品信息
  13561. tags:
  13562. - 企业风险管理(app)
  13563. /Ermcp/GetErmcpGoodsSortByPosition:
  13564. get:
  13565. parameters:
  13566. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  13567. in: query
  13568. name: sortIndex
  13569. type: string
  13570. produces:
  13571. - application/json
  13572. responses:
  13573. "200":
  13574. description: OK
  13575. schema:
  13576. $ref: '#/definitions/models.Goodssortbypreposition'
  13577. "500":
  13578. description: Internal Server Error
  13579. schema:
  13580. $ref: '#/definitions/app.Response'
  13581. security:
  13582. - ApiKeyAuth: []
  13583. summary: 查询企业风管期货主力、次主力商品信息
  13584. tags:
  13585. - 企业风险管理(app)
  13586. /Ermcp/GetErmcpOutAccountStatus:
  13587. get:
  13588. parameters:
  13589. - description: 登录账号
  13590. in: query
  13591. name: loginID
  13592. required: true
  13593. type: integer
  13594. produces:
  13595. - application/json
  13596. responses:
  13597. "200":
  13598. description: OK
  13599. schema:
  13600. $ref: '#/definitions/models.Hedgemarketopenlog'
  13601. "500":
  13602. description: Internal Server Error
  13603. schema:
  13604. $ref: '#/definitions/app.Response'
  13605. security:
  13606. - ApiKeyAuth: []
  13607. summary: 获取目标登录账号当前对冲账号在线状态
  13608. tags:
  13609. - 企业风险管理(app)
  13610. /Ermcp/GetErmcpRoleFuncMenuLists:
  13611. get:
  13612. parameters:
  13613. - description: 登录账号
  13614. in: query
  13615. name: loginID
  13616. required: true
  13617. type: integer
  13618. produces:
  13619. - application/json
  13620. responses:
  13621. "200":
  13622. description: OK
  13623. schema:
  13624. $ref: '#/definitions/models.Funcmenulist'
  13625. "500":
  13626. description: Internal Server Error
  13627. schema:
  13628. $ref: '#/definitions/app.Response'
  13629. security:
  13630. - ApiKeyAuth: []
  13631. summary: 获取企业风管终端权限
  13632. tags:
  13633. - 企业风险管理(app)
  13634. /Ermcp/QueryAccMgrBizGroupSet:
  13635. get:
  13636. parameters:
  13637. - description: 用户ID
  13638. in: query
  13639. name: userid
  13640. required: true
  13641. type: integer
  13642. - description: 现货商品id
  13643. in: query
  13644. name: deliverygoodsid
  13645. type: integer
  13646. produces:
  13647. - application/json
  13648. responses:
  13649. "200":
  13650. description: OK
  13651. schema:
  13652. items:
  13653. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13654. type: array
  13655. "500":
  13656. description: Internal Server Error
  13657. schema:
  13658. $ref: '#/definitions/app.Response'
  13659. security:
  13660. - ApiKeyAuth: []
  13661. summary: 查询业务类型分组(账户管理/账户设置)
  13662. tags:
  13663. - 企业风险管理(app)
  13664. /Ermcp/QueryAccMgrLoginUser:
  13665. get:
  13666. parameters:
  13667. - description: 用户ID
  13668. in: query
  13669. name: userid
  13670. required: true
  13671. type: integer
  13672. - description: 用户类型 2-机构 7-企业成员
  13673. in: query
  13674. name: usertype
  13675. type: integer
  13676. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  13677. in: query
  13678. name: querytype
  13679. required: true
  13680. type: integer
  13681. produces:
  13682. - application/json
  13683. responses:
  13684. "200":
  13685. description: OK
  13686. schema:
  13687. items:
  13688. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13689. type: array
  13690. "500":
  13691. description: Internal Server Error
  13692. schema:
  13693. $ref: '#/definitions/app.Response'
  13694. security:
  13695. - ApiKeyAuth: []
  13696. summary: 查询账户管理登录账号(账户管理/登录账号)
  13697. tags:
  13698. - 企业风险管理(app)
  13699. /Ermcp/QueryAccMgrMainAccountInfo:
  13700. get:
  13701. parameters:
  13702. - description: 用户ID
  13703. in: query
  13704. name: userid
  13705. type: integer
  13706. - description: 主账号id
  13707. in: query
  13708. name: accountid
  13709. type: integer
  13710. produces:
  13711. - application/json
  13712. responses:
  13713. "200":
  13714. description: OK
  13715. schema:
  13716. items:
  13717. $ref: '#/definitions/models.MainAccountInfo'
  13718. type: array
  13719. "500":
  13720. description: Internal Server Error
  13721. schema:
  13722. $ref: '#/definitions/app.Response'
  13723. security:
  13724. - ApiKeyAuth: []
  13725. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13726. tags:
  13727. - 企业风险管理(app)
  13728. /Ermcp/QueryAccMgrRole:
  13729. get:
  13730. parameters:
  13731. - description: 用户ID
  13732. in: query
  13733. name: userid
  13734. required: true
  13735. type: integer
  13736. produces:
  13737. - application/json
  13738. responses:
  13739. "200":
  13740. description: OK
  13741. schema:
  13742. items:
  13743. $ref: '#/definitions/models.ErmcpRole'
  13744. type: array
  13745. "500":
  13746. description: Internal Server Error
  13747. schema:
  13748. $ref: '#/definitions/app.Response'
  13749. security:
  13750. - ApiKeyAuth: []
  13751. summary: 查询账户管理角色设置(账户管理/角色设置)
  13752. tags:
  13753. - 企业风险管理(app)
  13754. /Ermcp/QueryAccMgrRoleMenu:
  13755. get:
  13756. parameters:
  13757. - description: 用户ID
  13758. in: query
  13759. name: userid
  13760. required: true
  13761. type: integer
  13762. - description: 角色id(可多个,逗号隔开)
  13763. in: query
  13764. name: roleid
  13765. type: string
  13766. produces:
  13767. - application/json
  13768. responses:
  13769. "200":
  13770. description: OK
  13771. schema:
  13772. items:
  13773. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13774. type: array
  13775. "500":
  13776. description: Internal Server Error
  13777. schema:
  13778. $ref: '#/definitions/app.Response'
  13779. security:
  13780. - ApiKeyAuth: []
  13781. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13782. tags:
  13783. - 企业风险管理(app)
  13784. /Ermcp/QueryAccMgrTaAccountInfo:
  13785. get:
  13786. parameters:
  13787. - description: 用户ID
  13788. in: query
  13789. name: userid
  13790. required: true
  13791. type: integer
  13792. - description: 账号id
  13793. in: query
  13794. name: accountid
  13795. type: integer
  13796. produces:
  13797. - application/json
  13798. responses:
  13799. "200":
  13800. description: OK
  13801. schema:
  13802. items:
  13803. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13804. type: array
  13805. "500":
  13806. description: Internal Server Error
  13807. schema:
  13808. $ref: '#/definitions/app.Response'
  13809. security:
  13810. - ApiKeyAuth: []
  13811. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13812. tags:
  13813. - 企业风险管理(app)
  13814. /Ermcp/QueryAccMgrTaaccount:
  13815. get:
  13816. parameters:
  13817. - description: 用户ID
  13818. in: query
  13819. name: userid
  13820. required: true
  13821. type: integer
  13822. produces:
  13823. - application/json
  13824. responses:
  13825. "200":
  13826. description: OK
  13827. schema:
  13828. items:
  13829. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13830. type: array
  13831. "500":
  13832. description: Internal Server Error
  13833. schema:
  13834. $ref: '#/definitions/app.Response'
  13835. security:
  13836. - ApiKeyAuth: []
  13837. summary: 查询账户管理期货账号(账户管理/期货账号)
  13838. tags:
  13839. - 企业风险管理(app)
  13840. /Ermcp/QueryAvaildGoodsGroup:
  13841. get:
  13842. parameters:
  13843. - description: 所属机构ID
  13844. in: query
  13845. name: userid
  13846. required: true
  13847. type: integer
  13848. produces:
  13849. - application/json
  13850. responses:
  13851. "200":
  13852. description: OK
  13853. schema:
  13854. items:
  13855. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13856. type: array
  13857. "500":
  13858. description: Internal Server Error
  13859. schema:
  13860. $ref: '#/definitions/app.Response'
  13861. security:
  13862. - ApiKeyAuth: []
  13863. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13864. tags:
  13865. - 企业风险管理(app)
  13866. /Ermcp/QueryBusinessDj:
  13867. get:
  13868. parameters:
  13869. - description: 用户ID
  13870. in: query
  13871. name: UserId
  13872. required: true
  13873. type: integer
  13874. - description: 用户类型 2-机构 7-企业成员
  13875. in: query
  13876. name: usertype
  13877. type: integer
  13878. - description: 现货合同ID, 不填则查所有
  13879. in: query
  13880. name: relatedid
  13881. type: string
  13882. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13883. in: query
  13884. name: applystatus
  13885. type: string
  13886. produces:
  13887. - application/json
  13888. responses:
  13889. "200":
  13890. description: OK
  13891. schema:
  13892. items:
  13893. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13894. type: array
  13895. "500":
  13896. description: Internal Server Error
  13897. schema:
  13898. $ref: '#/definitions/app.Response'
  13899. security:
  13900. - ApiKeyAuth: []
  13901. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13902. tags:
  13903. - 企业风险管理(app)
  13904. /Ermcp/QueryBusinessFp:
  13905. get:
  13906. parameters:
  13907. - description: 用户ID
  13908. in: query
  13909. name: UserId
  13910. required: true
  13911. type: integer
  13912. - description: 用户类型 2-机构 7-企业成员
  13913. in: query
  13914. name: usertype
  13915. type: integer
  13916. - description: 现货合同ID, 不填则查所有
  13917. in: query
  13918. name: relatedid
  13919. type: string
  13920. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13921. in: query
  13922. name: applystatus
  13923. type: string
  13924. produces:
  13925. - application/json
  13926. responses:
  13927. "200":
  13928. description: OK
  13929. schema:
  13930. items:
  13931. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13932. type: array
  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/QueryBusinessJs:
  13943. get:
  13944. parameters:
  13945. - description: 用户ID
  13946. in: query
  13947. name: UserId
  13948. required: true
  13949. type: integer
  13950. - description: 用户类型 2-机构 7-企业成员
  13951. in: query
  13952. name: usertype
  13953. type: integer
  13954. - description: 现货合同ID, 不填则查所有
  13955. in: query
  13956. name: relatedid
  13957. type: string
  13958. - description: 操作申请id
  13959. in: query
  13960. name: operateapplyid
  13961. type: string
  13962. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13963. in: query
  13964. name: applystatus
  13965. type: string
  13966. produces:
  13967. - application/json
  13968. responses:
  13969. "200":
  13970. description: OK
  13971. schema:
  13972. items:
  13973. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13974. type: array
  13975. "500":
  13976. description: Internal Server Error
  13977. schema:
  13978. $ref: '#/definitions/app.Response'
  13979. security:
  13980. - ApiKeyAuth: []
  13981. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13982. tags:
  13983. - 企业风险管理(app)
  13984. /Ermcp/QueryBusinessJsEx:
  13985. get:
  13986. parameters:
  13987. - description: 用户ID
  13988. in: query
  13989. name: UserId
  13990. required: true
  13991. type: integer
  13992. - description: 用户类型 2-机构 7-企业成员
  13993. in: query
  13994. name: usertype
  13995. type: integer
  13996. - description: 现货合同ID, 不填则查所有
  13997. in: query
  13998. name: relatedid
  13999. type: string
  14000. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14001. in: query
  14002. name: applystatus
  14003. type: string
  14004. produces:
  14005. - application/json
  14006. responses:
  14007. "200":
  14008. description: OK
  14009. schema:
  14010. items:
  14011. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  14012. type: array
  14013. "500":
  14014. description: Internal Server Error
  14015. schema:
  14016. $ref: '#/definitions/app.Response'
  14017. security:
  14018. - ApiKeyAuth: []
  14019. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  14020. tags:
  14021. - 企业风险管理(app)
  14022. /Ermcp/QueryBusinessKx:
  14023. get:
  14024. parameters:
  14025. - description: 用户ID
  14026. in: query
  14027. name: UserId
  14028. required: true
  14029. type: integer
  14030. - description: 用户类型 2-机构 7-企业成员
  14031. in: query
  14032. name: usertype
  14033. type: integer
  14034. - description: 现货合同ID, 不填则查所有
  14035. in: query
  14036. name: relatedid
  14037. type: string
  14038. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14039. in: query
  14040. name: applystatus
  14041. type: string
  14042. produces:
  14043. - application/json
  14044. responses:
  14045. "200":
  14046. description: OK
  14047. schema:
  14048. items:
  14049. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  14050. type: array
  14051. "500":
  14052. description: Internal Server Error
  14053. schema:
  14054. $ref: '#/definitions/app.Response'
  14055. security:
  14056. - ApiKeyAuth: []
  14057. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  14058. tags:
  14059. - 企业风险管理(app)
  14060. /Ermcp/QueryChangeLog:
  14061. get:
  14062. parameters:
  14063. - description: 合同ID
  14064. in: query
  14065. name: RelatedId
  14066. required: true
  14067. type: string
  14068. produces:
  14069. - application/json
  14070. responses:
  14071. "200":
  14072. description: OK
  14073. schema:
  14074. items:
  14075. $ref: '#/definitions/ermcp.QryOPLogRsp'
  14076. type: array
  14077. "500":
  14078. description: Internal Server Error
  14079. schema:
  14080. $ref: '#/definitions/app.Response'
  14081. security:
  14082. - ApiKeyAuth: []
  14083. summary: 查询变更记录
  14084. tags:
  14085. - 企业风险管理(app)
  14086. /Ermcp/QueryErmcpHisOrderDetails:
  14087. get:
  14088. parameters:
  14089. - description: 资金账户ID
  14090. in: query
  14091. name: accountID
  14092. required: true
  14093. type: integer
  14094. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14095. in: query
  14096. name: startDate
  14097. type: string
  14098. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14099. in: query
  14100. name: endDate
  14101. type: string
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14109. "500":
  14110. description: Internal Server Error
  14111. schema:
  14112. $ref: '#/definitions/app.Response'
  14113. security:
  14114. - ApiKeyAuth: []
  14115. summary: 获取企业风管期货历史委托单信息
  14116. tags:
  14117. - 企业风险管理(app)
  14118. /Ermcp/QueryErmcpHisTradeDetails:
  14119. get:
  14120. parameters:
  14121. - description: 资金账户ID
  14122. in: query
  14123. name: accountID
  14124. required: true
  14125. type: integer
  14126. - description: 商品ID
  14127. in: query
  14128. name: goodsID
  14129. type: integer
  14130. - description: 买卖方向,0:买 1:卖
  14131. in: query
  14132. name: buyOrSell
  14133. type: integer
  14134. - description: 关联委托单号
  14135. in: query
  14136. name: orderID
  14137. type: integer
  14138. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14139. in: query
  14140. name: startDate
  14141. type: string
  14142. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14143. in: query
  14144. name: endDate
  14145. type: string
  14146. produces:
  14147. - application/json
  14148. responses:
  14149. "200":
  14150. description: OK
  14151. schema:
  14152. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14153. "500":
  14154. description: Internal Server Error
  14155. schema:
  14156. $ref: '#/definitions/app.Response'
  14157. security:
  14158. - ApiKeyAuth: []
  14159. summary: 获取企业风管期货历史成交单信息
  14160. tags:
  14161. - 企业风险管理(app)
  14162. /Ermcp/QueryErmcpInnerHolderDetails:
  14163. get:
  14164. parameters:
  14165. - description: 资金账户ID
  14166. in: query
  14167. name: accountID
  14168. required: true
  14169. type: integer
  14170. - description: 商品ID
  14171. in: query
  14172. name: goodsID
  14173. type: integer
  14174. - description: 买卖方向,0:买 1:卖
  14175. in: query
  14176. name: buyOrSell
  14177. type: integer
  14178. produces:
  14179. - application/json
  14180. responses:
  14181. "200":
  14182. description: OK
  14183. schema:
  14184. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  14185. "500":
  14186. description: Internal Server Error
  14187. schema:
  14188. $ref: '#/definitions/app.Response'
  14189. security:
  14190. - ApiKeyAuth: []
  14191. summary: 获取企业风管期货内部持仓单信息
  14192. tags:
  14193. - 企业风险管理(app)
  14194. /Ermcp/QueryErmcpOrderDetails:
  14195. get:
  14196. parameters:
  14197. - description: 资金账户ID
  14198. in: query
  14199. name: accountID
  14200. required: true
  14201. type: integer
  14202. produces:
  14203. - application/json
  14204. responses:
  14205. "200":
  14206. description: OK
  14207. schema:
  14208. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  14209. "500":
  14210. description: Internal Server Error
  14211. schema:
  14212. $ref: '#/definitions/app.Response'
  14213. security:
  14214. - ApiKeyAuth: []
  14215. summary: 获取企业风管期货委托单信息
  14216. tags:
  14217. - 企业风险管理(app)
  14218. /Ermcp/QueryErmcpTradeDetails:
  14219. get:
  14220. parameters:
  14221. - description: 资金账户ID
  14222. in: query
  14223. name: accountID
  14224. required: true
  14225. type: integer
  14226. - description: 商品ID
  14227. in: query
  14228. name: goodsID
  14229. type: integer
  14230. - description: 买卖方向,0:买 1:卖
  14231. in: query
  14232. name: buyOrSell
  14233. type: integer
  14234. - description: 关联委托单号
  14235. in: query
  14236. name: orderID
  14237. type: integer
  14238. produces:
  14239. - application/json
  14240. responses:
  14241. "200":
  14242. description: OK
  14243. schema:
  14244. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  14245. "500":
  14246. description: Internal Server Error
  14247. schema:
  14248. $ref: '#/definitions/app.Response'
  14249. security:
  14250. - ApiKeyAuth: []
  14251. summary: 获取企业风管期货成交单信息
  14252. tags:
  14253. - 企业风险管理(app)
  14254. /Ermcp/QueryErmcpTradePosition:
  14255. get:
  14256. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14257. parameters:
  14258. - description: 资金账户ID
  14259. in: query
  14260. name: accountID
  14261. required: true
  14262. type: integer
  14263. - description: 所属市场ID
  14264. in: query
  14265. name: marketID
  14266. type: integer
  14267. produces:
  14268. - application/json
  14269. responses:
  14270. "200":
  14271. description: OK
  14272. schema:
  14273. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  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/QueryExposureDetail:
  14284. get:
  14285. parameters:
  14286. - description: 所属机构ID
  14287. in: query
  14288. name: areaUserId
  14289. required: true
  14290. type: integer
  14291. - description: 套保商品
  14292. in: query
  14293. name: middleGoodsId
  14294. required: true
  14295. type: integer
  14296. produces:
  14297. - application/json
  14298. responses:
  14299. "200":
  14300. description: OK
  14301. schema:
  14302. items:
  14303. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14304. type: array
  14305. "500":
  14306. description: Internal Server Error
  14307. schema:
  14308. $ref: '#/definitions/app.Response'
  14309. security:
  14310. - ApiKeyAuth: []
  14311. summary: 查询敞口现货明细
  14312. tags:
  14313. - 企业风险管理(app)
  14314. /Ermcp/QueryExposureHedgePosition:
  14315. get:
  14316. parameters:
  14317. - description: 用户id
  14318. in: query
  14319. name: userid
  14320. required: true
  14321. type: integer
  14322. produces:
  14323. - application/json
  14324. responses:
  14325. "200":
  14326. description: OK
  14327. schema:
  14328. items:
  14329. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14330. type: array
  14331. "500":
  14332. description: Internal Server Error
  14333. schema:
  14334. $ref: '#/definitions/app.Response'
  14335. security:
  14336. - ApiKeyAuth: []
  14337. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14338. tags:
  14339. - 企业风险管理(app)
  14340. /Ermcp/QueryExposureHedgePositionDetail:
  14341. get:
  14342. parameters:
  14343. - description: 所属机构ID
  14344. in: query
  14345. name: userid
  14346. required: true
  14347. type: integer
  14348. - description: 商品id
  14349. in: query
  14350. name: goodsId
  14351. required: true
  14352. type: integer
  14353. produces:
  14354. - application/json
  14355. responses:
  14356. "200":
  14357. description: OK
  14358. schema:
  14359. items:
  14360. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  14361. type: array
  14362. "500":
  14363. description: Internal Server Error
  14364. schema:
  14365. $ref: '#/definitions/app.Response'
  14366. security:
  14367. - ApiKeyAuth: []
  14368. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  14369. tags:
  14370. - 企业风险管理(app)
  14371. /Ermcp/QueryExposureSpot:
  14372. get:
  14373. parameters:
  14374. - description: 所属机构ID
  14375. in: query
  14376. name: areaUserId
  14377. required: true
  14378. type: integer
  14379. produces:
  14380. - application/json
  14381. responses:
  14382. "200":
  14383. description: OK
  14384. schema:
  14385. items:
  14386. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  14387. type: array
  14388. "500":
  14389. description: Internal Server Error
  14390. schema:
  14391. $ref: '#/definitions/app.Response'
  14392. security:
  14393. - ApiKeyAuth: []
  14394. summary: 查询敞口现货头寸(敞口/现货头寸)
  14395. tags:
  14396. - 企业风险管理(app)
  14397. /Ermcp/QueryExposureSpotDetail:
  14398. get:
  14399. parameters:
  14400. - description: 所属机构ID
  14401. in: query
  14402. name: areaUserId
  14403. required: true
  14404. type: integer
  14405. - description: 现货品种ID
  14406. in: query
  14407. name: wrstandardId
  14408. required: true
  14409. type: integer
  14410. produces:
  14411. - application/json
  14412. responses:
  14413. "200":
  14414. description: OK
  14415. schema:
  14416. items:
  14417. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  14418. type: array
  14419. "500":
  14420. description: Internal Server Error
  14421. schema:
  14422. $ref: '#/definitions/app.Response'
  14423. security:
  14424. - ApiKeyAuth: []
  14425. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14426. tags:
  14427. - 企业风险管理(app)
  14428. /Ermcp/QueryFuturesCompany:
  14429. get:
  14430. produces:
  14431. - application/json
  14432. responses:
  14433. "200":
  14434. description: OK
  14435. schema:
  14436. items:
  14437. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14438. type: array
  14439. "500":
  14440. description: Internal Server Error
  14441. schema:
  14442. $ref: '#/definitions/app.Response'
  14443. security:
  14444. - ApiKeyAuth: []
  14445. summary: 查询期货公司
  14446. tags:
  14447. - 企业风险管理(app)
  14448. /Ermcp/QueryGGConvertConfig:
  14449. get:
  14450. parameters:
  14451. - description: 品种id(不填则查所有)
  14452. in: query
  14453. name: goodsgroupid
  14454. type: integer
  14455. produces:
  14456. - application/json
  14457. responses:
  14458. "200":
  14459. description: OK
  14460. schema:
  14461. items:
  14462. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14463. type: array
  14464. "500":
  14465. description: Internal Server Error
  14466. schema:
  14467. $ref: '#/definitions/app.Response'
  14468. security:
  14469. - ApiKeyAuth: []
  14470. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14471. tags:
  14472. - 企业风险管理(app)
  14473. /Ermcp/QueryGoodsBrand:
  14474. get:
  14475. parameters:
  14476. - description: 用户ID
  14477. in: query
  14478. name: userid
  14479. required: true
  14480. type: integer
  14481. - description: 现货商品ID
  14482. in: query
  14483. name: wrstandardid
  14484. type: integer
  14485. produces:
  14486. - application/json
  14487. responses:
  14488. "200":
  14489. description: OK
  14490. schema:
  14491. items:
  14492. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14493. type: array
  14494. "500":
  14495. description: Internal Server Error
  14496. schema:
  14497. $ref: '#/definitions/app.Response'
  14498. security:
  14499. - ApiKeyAuth: []
  14500. summary: 查询商品品牌
  14501. tags:
  14502. - 企业风险管理(app)
  14503. /Ermcp/QueryGoodsModel:
  14504. get:
  14505. parameters:
  14506. - description: 用户ID
  14507. in: query
  14508. name: userid
  14509. required: true
  14510. type: integer
  14511. produces:
  14512. - application/json
  14513. responses:
  14514. "200":
  14515. description: OK
  14516. schema:
  14517. items:
  14518. $ref: '#/definitions/models.ErmcpGoodsModel'
  14519. type: array
  14520. "500":
  14521. description: Internal Server Error
  14522. schema:
  14523. $ref: '#/definitions/app.Response'
  14524. security:
  14525. - ApiKeyAuth: []
  14526. summary: 查询商品型号
  14527. tags:
  14528. - 企业风险管理(app)
  14529. /Ermcp/QueryHisExposure:
  14530. get:
  14531. parameters:
  14532. - description: 用户id
  14533. in: query
  14534. name: userid
  14535. required: true
  14536. type: integer
  14537. - description: 每个品种记录数
  14538. in: query
  14539. name: lastNum
  14540. required: true
  14541. type: integer
  14542. produces:
  14543. - application/json
  14544. responses:
  14545. "200":
  14546. description: OK
  14547. schema:
  14548. items:
  14549. $ref: '#/definitions/ermcp.HisExposureRsp'
  14550. type: array
  14551. "500":
  14552. description: Internal Server Error
  14553. schema:
  14554. $ref: '#/definitions/app.Response'
  14555. security:
  14556. - ApiKeyAuth: []
  14557. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14558. tags:
  14559. - 企业风险管理(app)
  14560. /Ermcp/QueryMiddleGoods:
  14561. get:
  14562. parameters:
  14563. - description: 所属机构ID
  14564. in: query
  14565. name: userid
  14566. required: true
  14567. type: integer
  14568. - description: 状态 0-停用 1-正常
  14569. in: query
  14570. name: status
  14571. required: true
  14572. type: integer
  14573. produces:
  14574. - application/json
  14575. responses:
  14576. "200":
  14577. description: OK
  14578. schema:
  14579. items:
  14580. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14581. type: array
  14582. "500":
  14583. description: Internal Server Error
  14584. schema:
  14585. $ref: '#/definitions/app.Response'
  14586. security:
  14587. - ApiKeyAuth: []
  14588. summary: 查询套保品种(菜单:套保品种)
  14589. tags:
  14590. - 企业风险管理(app)
  14591. /Ermcp/QueryMiddleGoodsChangeLog:
  14592. get:
  14593. parameters:
  14594. - description: 所属机构ID
  14595. in: query
  14596. name: userid
  14597. required: true
  14598. type: integer
  14599. - description: 套保品种id
  14600. in: query
  14601. name: middlegoodsid
  14602. required: true
  14603. type: integer
  14604. produces:
  14605. - application/json
  14606. responses:
  14607. "200":
  14608. description: OK
  14609. schema:
  14610. items:
  14611. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14612. type: array
  14613. "500":
  14614. description: Internal Server Error
  14615. schema:
  14616. $ref: '#/definitions/app.Response'
  14617. security:
  14618. - ApiKeyAuth: []
  14619. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14620. tags:
  14621. - 企业风险管理(app)
  14622. /Ermcp/QueryMiddleGoodsDetail:
  14623. get:
  14624. parameters:
  14625. - description: 所属机构ID
  14626. in: query
  14627. name: userid
  14628. required: true
  14629. type: integer
  14630. - description: 套保品种id
  14631. in: query
  14632. name: middlegoodsid
  14633. type: integer
  14634. produces:
  14635. - application/json
  14636. responses:
  14637. "200":
  14638. description: OK
  14639. schema:
  14640. items:
  14641. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14642. type: array
  14643. "500":
  14644. description: Internal Server Error
  14645. schema:
  14646. $ref: '#/definitions/app.Response'
  14647. security:
  14648. - ApiKeyAuth: []
  14649. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14650. tags:
  14651. - 企业风险管理(app)
  14652. /Ermcp/QueryPendingAuditInfo:
  14653. get:
  14654. parameters:
  14655. - description: 用户ID
  14656. in: query
  14657. name: UserId
  14658. required: true
  14659. type: integer
  14660. produces:
  14661. - application/json
  14662. responses:
  14663. "200":
  14664. description: OK
  14665. schema:
  14666. items:
  14667. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14668. type: array
  14669. "500":
  14670. description: Internal Server Error
  14671. schema:
  14672. $ref: '#/definitions/app.Response'
  14673. security:
  14674. - ApiKeyAuth: []
  14675. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14676. tags:
  14677. - 企业风险管理(app)
  14678. /Ermcp/QueryRealtimeExposure:
  14679. get:
  14680. parameters:
  14681. - description: 所属机构ID
  14682. in: query
  14683. name: userid
  14684. required: true
  14685. type: integer
  14686. produces:
  14687. - application/json
  14688. responses:
  14689. "200":
  14690. description: OK
  14691. schema:
  14692. items:
  14693. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14694. type: array
  14695. "500":
  14696. description: Internal Server Error
  14697. schema:
  14698. $ref: '#/definitions/app.Response'
  14699. security:
  14700. - ApiKeyAuth: []
  14701. summary: 查询实时敞口
  14702. tags:
  14703. - 企业风险管理(app)
  14704. /Ermcp/QueryRealtimeExposurePosition:
  14705. get:
  14706. parameters:
  14707. - description: 用户id
  14708. in: query
  14709. name: userid
  14710. required: true
  14711. type: integer
  14712. - description: 套保商品ID
  14713. in: query
  14714. name: middleGoodsId
  14715. required: true
  14716. type: integer
  14717. produces:
  14718. - application/json
  14719. responses:
  14720. "200":
  14721. description: OK
  14722. schema:
  14723. items:
  14724. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14725. type: array
  14726. "500":
  14727. description: Internal Server Error
  14728. schema:
  14729. $ref: '#/definitions/app.Response'
  14730. security:
  14731. - ApiKeyAuth: []
  14732. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14733. tags:
  14734. - 企业风险管理(app)
  14735. /Ermcp/QueryTradeConfigTMP:
  14736. get:
  14737. parameters:
  14738. - description: 所属机构id
  14739. in: query
  14740. name: areauserid
  14741. type: integer
  14742. produces:
  14743. - application/json
  14744. responses:
  14745. "200":
  14746. description: OK
  14747. schema:
  14748. items:
  14749. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14750. type: array
  14751. "500":
  14752. description: Internal Server Error
  14753. schema:
  14754. $ref: '#/definitions/app.Response'
  14755. security:
  14756. - ApiKeyAuth: []
  14757. summary: 查询交易模板配置
  14758. tags:
  14759. - 企业风险管理(app)
  14760. /Ermcp/QueryUserInfo:
  14761. get:
  14762. parameters:
  14763. - description: 所属机构用户ID
  14764. in: query
  14765. name: MemberUserID
  14766. required: true
  14767. type: integer
  14768. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14769. in: query
  14770. name: queryType
  14771. required: true
  14772. type: integer
  14773. produces:
  14774. - application/json
  14775. responses:
  14776. "200":
  14777. description: OK
  14778. schema:
  14779. items:
  14780. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14781. type: array
  14782. "500":
  14783. description: Internal Server Error
  14784. schema:
  14785. $ref: '#/definitions/app.Response'
  14786. security:
  14787. - ApiKeyAuth: []
  14788. summary: 查询客户资料
  14789. tags:
  14790. - 企业风险管理(app)
  14791. /Ermcp/QueryWarehouseInfo:
  14792. get:
  14793. parameters:
  14794. - description: 用户ID
  14795. in: query
  14796. name: userid
  14797. required: true
  14798. type: integer
  14799. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14800. in: query
  14801. name: status
  14802. type: string
  14803. produces:
  14804. - application/json
  14805. responses:
  14806. "200":
  14807. description: OK
  14808. schema:
  14809. items:
  14810. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14811. type: array
  14812. "500":
  14813. description: Internal Server Error
  14814. schema:
  14815. $ref: '#/definitions/app.Response'
  14816. security:
  14817. - ApiKeyAuth: []
  14818. summary: 查询仓库信息
  14819. tags:
  14820. - 企业风险管理(app)
  14821. /Ermcp3/QryAreaExpourseContractDetail:
  14822. get:
  14823. parameters:
  14824. - description: 用户ID
  14825. in: query
  14826. name: userid
  14827. required: true
  14828. type: integer
  14829. - description: 套保商品id
  14830. in: query
  14831. name: middlegoodsid
  14832. required: true
  14833. type: integer
  14834. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14835. in: query
  14836. name: cycletype
  14837. required: true
  14838. type: integer
  14839. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14840. 全(0)【原值】
  14841. in: query
  14842. name: cycletime
  14843. required: true
  14844. type: string
  14845. produces:
  14846. - application/json
  14847. responses:
  14848. "200":
  14849. description: OK
  14850. schema:
  14851. items:
  14852. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  14853. type: array
  14854. "500":
  14855. description: Internal Server Error
  14856. schema:
  14857. $ref: '#/definitions/app.Response'
  14858. security:
  14859. - ApiKeyAuth: []
  14860. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  14861. tags:
  14862. - 企业风险管理v3(app)
  14863. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  14864. get:
  14865. parameters:
  14866. - description: 用户ID
  14867. in: query
  14868. name: userid
  14869. required: true
  14870. type: integer
  14871. - description: 套保商品id
  14872. in: query
  14873. name: middlegoodsid
  14874. required: true
  14875. type: integer
  14876. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14877. in: query
  14878. name: cycletype
  14879. required: true
  14880. type: integer
  14881. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14882. 全(0)【原值】
  14883. in: query
  14884. name: cycletime
  14885. required: true
  14886. type: string
  14887. produces:
  14888. - application/json
  14889. responses:
  14890. "200":
  14891. description: OK
  14892. schema:
  14893. items:
  14894. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  14895. type: array
  14896. "500":
  14897. description: Internal Server Error
  14898. schema:
  14899. $ref: '#/definitions/app.Response'
  14900. security:
  14901. - ApiKeyAuth: []
  14902. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  14903. tags:
  14904. - 企业风险管理v3(app)
  14905. /Ermcp3/QryAreaExpourseReport:
  14906. get:
  14907. parameters:
  14908. - description: 用户ID
  14909. in: query
  14910. name: userid
  14911. required: true
  14912. type: integer
  14913. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  14914. in: query
  14915. name: querytype
  14916. required: true
  14917. type: integer
  14918. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14919. in: query
  14920. name: cycletype
  14921. required: true
  14922. type: integer
  14923. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14924. 全(0)【原值】
  14925. in: query
  14926. name: cycletime
  14927. required: true
  14928. type: string
  14929. produces:
  14930. - application/json
  14931. responses:
  14932. "200":
  14933. description: OK
  14934. schema:
  14935. items:
  14936. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  14937. type: array
  14938. "500":
  14939. description: Internal Server Error
  14940. schema:
  14941. $ref: '#/definitions/app.Response'
  14942. security:
  14943. - ApiKeyAuth: []
  14944. summary: 查询敞口报表
  14945. tags:
  14946. - 企业风险管理v3(app)
  14947. /Ermcp3/QryAreaSpotplReport:
  14948. get:
  14949. parameters:
  14950. - description: 用户ID
  14951. in: query
  14952. name: userid
  14953. required: true
  14954. type: integer
  14955. - description: 查询类型 1-报表 2-报表明细
  14956. in: query
  14957. name: querytype
  14958. required: true
  14959. type: integer
  14960. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  14961. in: query
  14962. name: cycletype
  14963. required: true
  14964. type: integer
  14965. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  14966. 全(0)【原值】
  14967. in: query
  14968. name: cycletime
  14969. required: true
  14970. type: string
  14971. - description: 现货品种id(明细必填)
  14972. in: query
  14973. name: deliverygoodsid
  14974. type: integer
  14975. - description: 币种id(明细必填)
  14976. in: query
  14977. name: currencyid
  14978. type: integer
  14979. produces:
  14980. - application/json
  14981. responses:
  14982. "200":
  14983. description: OK
  14984. schema:
  14985. items:
  14986. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  14987. type: array
  14988. "500":
  14989. description: Internal Server Error
  14990. schema:
  14991. $ref: '#/definitions/app.Response'
  14992. security:
  14993. - ApiKeyAuth: []
  14994. summary: 查询现货报表
  14995. tags:
  14996. - 企业风险管理v3(app)
  14997. /Ermcp3/QryAreaStockReport:
  14998. get:
  14999. parameters:
  15000. - description: 用户ID
  15001. in: query
  15002. name: userid
  15003. required: true
  15004. type: integer
  15005. - description: 查询类型 1-报表 2-报表明细
  15006. in: query
  15007. name: querytype
  15008. required: true
  15009. type: integer
  15010. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15011. in: query
  15012. name: cycletype
  15013. required: true
  15014. type: integer
  15015. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15016. 全(0)【原值】
  15017. in: query
  15018. name: cycletime
  15019. required: true
  15020. type: string
  15021. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  15022. in: query
  15023. name: sumfields
  15024. type: string
  15025. - description: 品种ID
  15026. in: query
  15027. name: deliverygoodsid
  15028. type: integer
  15029. - description: 品类ID
  15030. in: query
  15031. name: wrstandardid
  15032. type: integer
  15033. - description: 品牌ID
  15034. in: query
  15035. name: spotgoodsbrandid
  15036. type: integer
  15037. - description: 仓库ID
  15038. in: query
  15039. name: warehouseinfoid
  15040. type: integer
  15041. produces:
  15042. - application/json
  15043. responses:
  15044. "200":
  15045. description: OK
  15046. schema:
  15047. items:
  15048. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  15049. type: array
  15050. "500":
  15051. description: Internal Server Error
  15052. schema:
  15053. $ref: '#/definitions/app.Response'
  15054. security:
  15055. - ApiKeyAuth: []
  15056. summary: 查询库存报表
  15057. tags:
  15058. - 企业风险管理v3(app)
  15059. /Ermcp3/QryAreaSumPL:
  15060. get:
  15061. parameters:
  15062. - description: 用户ID
  15063. in: query
  15064. name: userid
  15065. required: true
  15066. type: integer
  15067. - description: 查询类型 1-报表 2-报表明细
  15068. in: query
  15069. name: querytype
  15070. required: true
  15071. type: integer
  15072. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15073. in: query
  15074. name: cycletype
  15075. required: true
  15076. type: integer
  15077. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15078. 全(0)【原值】
  15079. in: query
  15080. name: cycletime
  15081. required: true
  15082. type: string
  15083. - description: 币种id(明细必填)
  15084. in: query
  15085. name: currencyid
  15086. type: integer
  15087. produces:
  15088. - application/json
  15089. responses:
  15090. "200":
  15091. description: OK
  15092. schema:
  15093. items:
  15094. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  15095. type: array
  15096. "500":
  15097. description: Internal Server Error
  15098. schema:
  15099. $ref: '#/definitions/app.Response'
  15100. security:
  15101. - ApiKeyAuth: []
  15102. summary: 查询汇总损益表
  15103. tags:
  15104. - 企业风险管理v3(app)
  15105. /Ermcp3/QryFinanceReport:
  15106. get:
  15107. parameters:
  15108. - description: 用户ID
  15109. in: query
  15110. name: userid
  15111. required: true
  15112. type: integer
  15113. - description: 查询类型 1-报表 2-报表明细
  15114. in: query
  15115. name: querytype
  15116. required: true
  15117. type: integer
  15118. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15119. in: query
  15120. name: cycletype
  15121. required: true
  15122. type: integer
  15123. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15124. 全(0)【原值】
  15125. in: query
  15126. name: cycletime
  15127. required: true
  15128. type: string
  15129. - description: 币种id(报表明细必填)
  15130. in: query
  15131. name: currencyid
  15132. type: integer
  15133. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  15134. in: query
  15135. name: sumfields
  15136. type: string
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. items:
  15144. $ref: '#/definitions/models.Ermcp3FinanceReport'
  15145. type: array
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询财务报表
  15153. tags:
  15154. - 企业风险管理v3(app)
  15155. /Ermcp3/QryTaFutureDataReport:
  15156. get:
  15157. parameters:
  15158. - description: 用户ID
  15159. in: query
  15160. name: userid
  15161. required: true
  15162. type: integer
  15163. - description: 查询类型 1-报表 2-报表明细
  15164. in: query
  15165. name: querytype
  15166. required: true
  15167. type: integer
  15168. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15169. in: query
  15170. name: cycletype
  15171. required: true
  15172. type: integer
  15173. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  15174. 全(0)【原值】
  15175. in: query
  15176. name: cycletime
  15177. required: true
  15178. type: string
  15179. - description: 币种id(查明细必填)
  15180. in: query
  15181. name: currencyid
  15182. type: integer
  15183. - description: 品种id(查明细必填)
  15184. in: query
  15185. name: goodsgroupid
  15186. type: integer
  15187. - description: 商品id(查明细必填)
  15188. in: query
  15189. name: goodsid
  15190. type: integer
  15191. - description: 买卖方向(查明细必填)
  15192. in: query
  15193. name: buyorsell
  15194. type: integer
  15195. produces:
  15196. - application/json
  15197. responses:
  15198. "200":
  15199. description: OK
  15200. schema:
  15201. items:
  15202. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  15203. type: array
  15204. "500":
  15205. description: Internal Server Error
  15206. schema:
  15207. $ref: '#/definitions/app.Response'
  15208. security:
  15209. - ApiKeyAuth: []
  15210. summary: 查询期货报表
  15211. tags:
  15212. - 企业风险管理v3(app)
  15213. /Ermcp3/QueryAreaStock:
  15214. get:
  15215. parameters:
  15216. - description: 用户ID
  15217. in: query
  15218. name: userid
  15219. required: true
  15220. type: integer
  15221. produces:
  15222. - application/json
  15223. responses:
  15224. "200":
  15225. description: OK
  15226. schema:
  15227. items:
  15228. $ref: '#/definitions/models.Ermcp3AreaStock'
  15229. type: array
  15230. "500":
  15231. description: Internal Server Error
  15232. schema:
  15233. $ref: '#/definitions/app.Response'
  15234. security:
  15235. - ApiKeyAuth: []
  15236. summary: 查询机构库存(库存管理/当前库存)
  15237. tags:
  15238. - 企业风险管理v3(app)
  15239. /Ermcp3/QueryAreaStockApply:
  15240. get:
  15241. parameters:
  15242. - description: 用户ID
  15243. in: query
  15244. name: userid
  15245. required: true
  15246. type: integer
  15247. - description: 用户类型 2-机构 7-企业成员
  15248. in: query
  15249. name: usertype
  15250. type: integer
  15251. - description: 现货商品ID
  15252. in: query
  15253. name: deliverygoodsid
  15254. type: integer
  15255. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  15256. in: query
  15257. name: inouttype
  15258. type: string
  15259. - description: 合同ID
  15260. in: query
  15261. name: spotcontractid
  15262. type: integer
  15263. - description: 品类ID
  15264. in: query
  15265. name: wrstandardid
  15266. type: integer
  15267. - description: 品牌ID
  15268. in: query
  15269. name: spotgoodsbrandid
  15270. type: integer
  15271. - description: 仓库ID
  15272. in: query
  15273. name: warehouseinfoid
  15274. type: integer
  15275. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15276. in: query
  15277. name: applystatus
  15278. type: string
  15279. produces:
  15280. - application/json
  15281. responses:
  15282. "200":
  15283. description: OK
  15284. schema:
  15285. items:
  15286. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15287. type: array
  15288. "500":
  15289. description: Internal Server Error
  15290. schema:
  15291. $ref: '#/definitions/app.Response'
  15292. security:
  15293. - ApiKeyAuth: []
  15294. summary: 查询库存申请(出入库记录|库存审核)
  15295. tags:
  15296. - 企业风险管理v3(app)
  15297. /Ermcp3/QueryAreaStockApplySum:
  15298. get:
  15299. parameters:
  15300. - description: 合同ID
  15301. in: query
  15302. name: spotcontractid
  15303. type: integer
  15304. produces:
  15305. - application/json
  15306. responses:
  15307. "200":
  15308. description: OK
  15309. schema:
  15310. items:
  15311. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15312. type: array
  15313. "500":
  15314. description: Internal Server Error
  15315. schema:
  15316. $ref: '#/definitions/app.Response'
  15317. security:
  15318. - ApiKeyAuth: []
  15319. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15320. tags:
  15321. - 企业风险管理v3(app)
  15322. /Ermcp3/QueryDGFactoryItem:
  15323. get:
  15324. parameters:
  15325. - description: 用户id
  15326. in: query
  15327. name: userid
  15328. type: integer
  15329. - description: 用户类型 2-机构 7-企业成员
  15330. in: query
  15331. name: usertype
  15332. type: integer
  15333. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15334. in: query
  15335. name: dgfactoryitemid
  15336. type: integer
  15337. - description: 现货品种ID
  15338. in: query
  15339. name: deliverygoodsid
  15340. type: integer
  15341. - description: 要素项类型
  15342. in: query
  15343. name: dgfactoryitemtypeid
  15344. type: integer
  15345. - description: 顺序
  15346. in: query
  15347. name: orderindex
  15348. type: integer
  15349. produces:
  15350. - application/json
  15351. responses:
  15352. "200":
  15353. description: OK
  15354. schema:
  15355. items:
  15356. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15357. type: array
  15358. "500":
  15359. description: Internal Server Error
  15360. schema:
  15361. $ref: '#/definitions/app.Response'
  15362. security:
  15363. - ApiKeyAuth: []
  15364. summary: 查询品种要素定义项
  15365. tags:
  15366. - 企业风险管理v3(app)
  15367. /Ermcp3/QueryDeliveryGoods:
  15368. get:
  15369. parameters:
  15370. - description: 用户id
  15371. in: query
  15372. name: userid
  15373. required: true
  15374. type: integer
  15375. - description: 用户类型 2-机构 7-企业成员
  15376. in: query
  15377. name: usertype
  15378. type: integer
  15379. - description: 排除已配置的业务类型商品 1-套保 2-套利
  15380. in: query
  15381. name: excludecfg
  15382. type: integer
  15383. produces:
  15384. - application/json
  15385. responses:
  15386. "200":
  15387. description: OK
  15388. schema:
  15389. items:
  15390. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15391. type: array
  15392. "500":
  15393. description: Internal Server Error
  15394. schema:
  15395. $ref: '#/definitions/app.Response'
  15396. security:
  15397. - ApiKeyAuth: []
  15398. summary: 查询现货商品
  15399. tags:
  15400. - 企业风险管理v3(app)
  15401. /Ermcp3/QueryDeliveryGoodsDetail:
  15402. get:
  15403. parameters:
  15404. - description: 用户id
  15405. in: query
  15406. name: userid
  15407. required: true
  15408. type: integer
  15409. - description: 用户类型 2-机构 7-企业成员
  15410. in: query
  15411. name: usertype
  15412. type: integer
  15413. - description: 现货商品id
  15414. in: query
  15415. name: deliverygoodsid
  15416. type: integer
  15417. produces:
  15418. - application/json
  15419. responses:
  15420. "200":
  15421. description: OK
  15422. schema:
  15423. items:
  15424. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15425. type: array
  15426. "500":
  15427. description: Internal Server Error
  15428. schema:
  15429. $ref: '#/definitions/app.Response'
  15430. security:
  15431. - ApiKeyAuth: []
  15432. summary: 查询现货商品详情
  15433. tags:
  15434. - 企业风险管理v3(app)
  15435. /Ermcp3/QueryExposureDetail:
  15436. get:
  15437. parameters:
  15438. - description: 用户id
  15439. in: query
  15440. name: userid
  15441. required: true
  15442. type: integer
  15443. - description: 用户类型 2-机构 7-企业成员
  15444. in: query
  15445. name: usertype
  15446. type: integer
  15447. - description: 套保商品
  15448. in: query
  15449. name: middlegoodsid
  15450. required: true
  15451. type: integer
  15452. produces:
  15453. - application/json
  15454. responses:
  15455. "200":
  15456. description: OK
  15457. schema:
  15458. items:
  15459. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15460. type: array
  15461. "500":
  15462. description: Internal Server Error
  15463. schema:
  15464. $ref: '#/definitions/app.Response'
  15465. security:
  15466. - ApiKeyAuth: []
  15467. summary: 查询敞口现货明细
  15468. tags:
  15469. - 企业风险管理v3(app)
  15470. /Ermcp3/QueryExposureSpot:
  15471. get:
  15472. parameters:
  15473. - description: 用户id
  15474. in: query
  15475. name: userid
  15476. required: true
  15477. type: integer
  15478. - description: 用户类型 2-机构 7-企业成员
  15479. in: query
  15480. name: usertype
  15481. type: integer
  15482. produces:
  15483. - application/json
  15484. responses:
  15485. "200":
  15486. description: OK
  15487. schema:
  15488. items:
  15489. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15490. type: array
  15491. "500":
  15492. description: Internal Server Error
  15493. schema:
  15494. $ref: '#/definitions/app.Response'
  15495. security:
  15496. - ApiKeyAuth: []
  15497. summary: 查询敞口现货头寸(敞口/现货头寸)
  15498. tags:
  15499. - 企业风险管理v3(app)
  15500. /Ermcp3/QueryExposureSpotDetail:
  15501. get:
  15502. parameters:
  15503. - description: 用户id
  15504. in: query
  15505. name: userid
  15506. required: true
  15507. type: integer
  15508. - description: 用户类型 2-机构 7-企业成员
  15509. in: query
  15510. name: usertype
  15511. type: integer
  15512. - description: 现货品种ID
  15513. in: query
  15514. name: deliverygoodsid
  15515. required: true
  15516. type: integer
  15517. produces:
  15518. - application/json
  15519. responses:
  15520. "200":
  15521. description: OK
  15522. schema:
  15523. items:
  15524. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15525. type: array
  15526. "500":
  15527. description: Internal Server Error
  15528. schema:
  15529. $ref: '#/definitions/app.Response'
  15530. security:
  15531. - ApiKeyAuth: []
  15532. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15533. tags:
  15534. - 企业风险管理v3(app)
  15535. /Ermcp3/QueryGoodsGroup:
  15536. get:
  15537. parameters:
  15538. - description: 用户id
  15539. in: query
  15540. name: userid
  15541. required: true
  15542. type: integer
  15543. - description: 用户类型 2-机构 7-企业成员
  15544. in: query
  15545. name: usertype
  15546. type: integer
  15547. - description: 排除套保品中已关联的商品组 1-排除
  15548. in: query
  15549. name: excludecfg
  15550. type: integer
  15551. produces:
  15552. - application/json
  15553. responses:
  15554. "200":
  15555. description: OK
  15556. schema:
  15557. items:
  15558. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15559. type: array
  15560. "500":
  15561. description: Internal Server Error
  15562. schema:
  15563. $ref: '#/definitions/app.Response'
  15564. security:
  15565. - ApiKeyAuth: []
  15566. summary: 查询期货商品组
  15567. tags:
  15568. - 企业风险管理v3(app)
  15569. /Ermcp3/QueryGoodsWrstandard:
  15570. get:
  15571. parameters:
  15572. - description: 用户id
  15573. in: query
  15574. name: userid
  15575. required: true
  15576. type: integer
  15577. - description: 用户类型 2-机构 7-企业成员
  15578. in: query
  15579. name: usertype
  15580. type: integer
  15581. - description: 现货商品id
  15582. in: query
  15583. name: deliverygoodsid
  15584. type: integer
  15585. produces:
  15586. - application/json
  15587. responses:
  15588. "200":
  15589. description: OK
  15590. schema:
  15591. items:
  15592. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15593. type: array
  15594. "500":
  15595. description: Internal Server Error
  15596. schema:
  15597. $ref: '#/definitions/app.Response'
  15598. security:
  15599. - ApiKeyAuth: []
  15600. summary: 查询商品品类
  15601. tags:
  15602. - 企业风险管理v3(app)
  15603. /Ermcp3/QueryGoodsbrand:
  15604. get:
  15605. parameters:
  15606. - description: 用户id
  15607. in: query
  15608. name: userid
  15609. required: true
  15610. type: integer
  15611. - description: 用户类型 2-机构 7-企业成员
  15612. in: query
  15613. name: usertype
  15614. type: integer
  15615. produces:
  15616. - application/json
  15617. responses:
  15618. "200":
  15619. description: OK
  15620. schema:
  15621. items:
  15622. $ref: '#/definitions/models.Ermcp3Brand'
  15623. type: array
  15624. "500":
  15625. description: Internal Server Error
  15626. schema:
  15627. $ref: '#/definitions/app.Response'
  15628. security:
  15629. - ApiKeyAuth: []
  15630. summary: 查询商品品牌
  15631. tags:
  15632. - 企业风险管理v3(app)
  15633. /Ermcp3/QueryHedgePlan:
  15634. get:
  15635. parameters:
  15636. - description: 用户ID
  15637. in: query
  15638. name: userid
  15639. required: true
  15640. type: integer
  15641. - description: 用户类型 2-机构 7-企业成员
  15642. in: query
  15643. name: usertype
  15644. type: integer
  15645. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15646. in: query
  15647. name: hedgeplanstatus
  15648. required: true
  15649. type: string
  15650. produces:
  15651. - application/json
  15652. responses:
  15653. "200":
  15654. description: OK
  15655. schema:
  15656. items:
  15657. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15658. type: array
  15659. "500":
  15660. description: Internal Server Error
  15661. schema:
  15662. $ref: '#/definitions/app.Response'
  15663. security:
  15664. - ApiKeyAuth: []
  15665. summary: 查询套保计划
  15666. tags:
  15667. - 企业风险管理v3(app)
  15668. /Ermcp3/QueryMiddleGoodsDetail:
  15669. get:
  15670. parameters:
  15671. - description: 用户id
  15672. in: query
  15673. name: userid
  15674. required: true
  15675. type: integer
  15676. - description: 用户类型 2-机构 7-企业成员
  15677. in: query
  15678. name: usertype
  15679. type: integer
  15680. - description: 套保品种id
  15681. in: query
  15682. name: middlegoodsid
  15683. type: integer
  15684. produces:
  15685. - application/json
  15686. responses:
  15687. "200":
  15688. description: OK
  15689. schema:
  15690. items:
  15691. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  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/QuerySpotContract:
  15703. get:
  15704. parameters:
  15705. - description: 用户id
  15706. in: query
  15707. name: userid
  15708. required: true
  15709. type: integer
  15710. - description: 用户类型 2-机构 7-企业成员
  15711. in: query
  15712. name: usertype
  15713. type: integer
  15714. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15715. in: query
  15716. name: querytype
  15717. required: true
  15718. type: integer
  15719. - description: 合同ID(SpotContractId)
  15720. in: query
  15721. name: contractid
  15722. type: string
  15723. produces:
  15724. - application/json
  15725. responses:
  15726. "200":
  15727. description: OK
  15728. schema:
  15729. items:
  15730. $ref: '#/definitions/models.Ermcp3Contract'
  15731. type: array
  15732. "500":
  15733. description: Internal Server Error
  15734. schema:
  15735. $ref: '#/definitions/app.Response'
  15736. security:
  15737. - ApiKeyAuth: []
  15738. summary: 查询现货合同
  15739. tags:
  15740. - 企业风险管理v3(app)
  15741. /Ermcp3/QuerySpotContractBS:
  15742. get:
  15743. parameters:
  15744. - description: 用户id
  15745. in: query
  15746. name: userid
  15747. required: true
  15748. type: integer
  15749. - description: 用户类型 2-机构 7-企业成员
  15750. in: query
  15751. name: usertype
  15752. type: integer
  15753. - description: 合同类型 1-采购, -1-销售
  15754. in: query
  15755. name: contracttype
  15756. required: true
  15757. type: integer
  15758. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15759. in: query
  15760. name: querytype
  15761. required: true
  15762. type: integer
  15763. - description: 合同ID(SpotContractId)
  15764. in: query
  15765. name: contractid
  15766. type: string
  15767. produces:
  15768. - application/json
  15769. responses:
  15770. "200":
  15771. description: OK
  15772. schema:
  15773. items:
  15774. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15775. type: array
  15776. "500":
  15777. description: Internal Server Error
  15778. schema:
  15779. $ref: '#/definitions/app.Response'
  15780. security:
  15781. - ApiKeyAuth: []
  15782. summary: 查询合同(采购/销售)
  15783. tags:
  15784. - 企业风险管理v3(app)
  15785. /Ermcp3/QuerySpotGoodsPrice:
  15786. get:
  15787. parameters:
  15788. - description: 用户ID
  15789. in: query
  15790. name: userid
  15791. required: true
  15792. type: integer
  15793. produces:
  15794. - application/json
  15795. responses:
  15796. "200":
  15797. description: OK
  15798. schema:
  15799. items:
  15800. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  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/QuerySpotGoodsPriceLog:
  15812. get:
  15813. parameters:
  15814. - description: 用户ID
  15815. in: query
  15816. name: userid
  15817. required: true
  15818. type: integer
  15819. - description: 现货商品ID
  15820. in: query
  15821. name: deliverygoodsid
  15822. required: true
  15823. type: integer
  15824. - description: 品牌ID
  15825. in: query
  15826. name: brandid
  15827. type: integer
  15828. - description: 品类ID
  15829. in: query
  15830. name: wrstandardid
  15831. type: integer
  15832. produces:
  15833. - application/json
  15834. responses:
  15835. "200":
  15836. description: OK
  15837. schema:
  15838. items:
  15839. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15840. type: array
  15841. "500":
  15842. description: Internal Server Error
  15843. schema:
  15844. $ref: '#/definitions/app.Response'
  15845. security:
  15846. - ApiKeyAuth: []
  15847. summary: 查询现货市价详情(现货市价/详情)
  15848. tags:
  15849. - 企业风险管理v3(app)
  15850. /Erms2/QueryArbitrageStrategy:
  15851. get:
  15852. parameters:
  15853. - description: 账户ID
  15854. in: query
  15855. name: userid
  15856. required: true
  15857. type: integer
  15858. - description: 商品组ID(品种ID)
  15859. in: query
  15860. name: goodsgroupid
  15861. type: string
  15862. produces:
  15863. - application/json
  15864. responses:
  15865. "200":
  15866. description: OK
  15867. schema:
  15868. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15869. "500":
  15870. description: Internal Server Error
  15871. schema:
  15872. $ref: '#/definitions/app.Response'
  15873. security:
  15874. - ApiKeyAuth: []
  15875. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15876. tags:
  15877. - 风险管理
  15878. /Erms2/QueryInnerTradeDetail:
  15879. get:
  15880. parameters:
  15881. - description: 资金账户
  15882. in: query
  15883. name: accountid
  15884. required: true
  15885. type: integer
  15886. produces:
  15887. - application/json
  15888. responses:
  15889. "200":
  15890. description: OK
  15891. schema:
  15892. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15893. "500":
  15894. description: Internal Server Error
  15895. schema:
  15896. $ref: '#/definitions/app.Response'
  15897. security:
  15898. - ApiKeyAuth: []
  15899. summary: 查询内部成交单信息
  15900. tags:
  15901. - 风险管理
  15902. /Erms2/QuerySpotContract:
  15903. get:
  15904. parameters:
  15905. - description: 策略申请ID
  15906. in: query
  15907. name: asapplyid
  15908. required: true
  15909. type: integer
  15910. - description: 现货合同ID
  15911. in: query
  15912. name: spotcontractid
  15913. type: integer
  15914. produces:
  15915. - application/json
  15916. responses:
  15917. "200":
  15918. description: OK
  15919. schema:
  15920. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15921. "500":
  15922. description: Internal Server Error
  15923. schema:
  15924. $ref: '#/definitions/app.Response'
  15925. security:
  15926. - ApiKeyAuth: []
  15927. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15928. tags:
  15929. - 风险管理
  15930. /Erms3/AddErms2ASApply:
  15931. post:
  15932. parameters:
  15933. - description: 申请参数
  15934. in: body
  15935. name: jsonBody
  15936. required: true
  15937. schema:
  15938. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15939. produces:
  15940. - application/json
  15941. responses:
  15942. "200":
  15943. description: OK
  15944. schema:
  15945. $ref: '#/definitions/app.Response'
  15946. "500":
  15947. description: Internal Server Error
  15948. schema:
  15949. $ref: '#/definitions/app.Response'
  15950. security:
  15951. - ApiKeyAuth: []
  15952. summary: 新增期现套利业务申请
  15953. tags:
  15954. - 风险管理v3
  15955. /Erms3/AddErms2SpotTradeApply:
  15956. post:
  15957. parameters:
  15958. - description: 申请参数
  15959. in: body
  15960. name: jsonBody
  15961. required: true
  15962. schema:
  15963. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15964. produces:
  15965. - application/json
  15966. responses:
  15967. "200":
  15968. description: OK
  15969. schema:
  15970. $ref: '#/definitions/app.Response'
  15971. "500":
  15972. description: Internal Server Error
  15973. schema:
  15974. $ref: '#/definitions/app.Response'
  15975. security:
  15976. - ApiKeyAuth: []
  15977. summary: 新增现货贸易业务申请
  15978. tags:
  15979. - 风险管理v3
  15980. /Erms3/AddSpotContractApply:
  15981. post:
  15982. parameters:
  15983. - description: 申请参数
  15984. in: body
  15985. name: jsonBody
  15986. required: true
  15987. schema:
  15988. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15989. produces:
  15990. - application/json
  15991. responses:
  15992. "200":
  15993. description: OK
  15994. schema:
  15995. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15996. "500":
  15997. description: Internal Server Error
  15998. schema:
  15999. $ref: '#/definitions/app.Response'
  16000. security:
  16001. - ApiKeyAuth: []
  16002. summary: 新增现货合同申请
  16003. tags:
  16004. - 风险管理v3
  16005. /Erms3/AddUserInfoApply:
  16006. post:
  16007. parameters:
  16008. - description: 用户信息
  16009. in: body
  16010. name: jsonBody
  16011. required: true
  16012. schema:
  16013. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  16014. produces:
  16015. - application/json
  16016. responses:
  16017. "200":
  16018. description: OK
  16019. schema:
  16020. $ref: '#/definitions/app.Response'
  16021. "500":
  16022. description: Internal Server Error
  16023. schema:
  16024. $ref: '#/definitions/app.Response'
  16025. security:
  16026. - ApiKeyAuth: []
  16027. summary: 新增客户申请
  16028. tags:
  16029. - 风险管理v3
  16030. /Erms3/DeleteUserInfoApply:
  16031. get:
  16032. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  16033. parameters:
  16034. - description: 用户ID
  16035. in: query
  16036. name: userID
  16037. required: true
  16038. type: integer
  16039. produces:
  16040. - application/json
  16041. responses:
  16042. "200":
  16043. description: OK
  16044. schema:
  16045. $ref: '#/definitions/app.Response'
  16046. "500":
  16047. description: Internal Server Error
  16048. schema:
  16049. $ref: '#/definitions/app.Response'
  16050. security:
  16051. - ApiKeyAuth: []
  16052. summary: 删除客户申请
  16053. tags:
  16054. - 风险管理v3
  16055. /Erms3/ModifyUserInfoApply:
  16056. post:
  16057. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  16058. int, "userstate": 2 }'
  16059. parameters:
  16060. - description: 用户信息
  16061. in: body
  16062. name: jsonBody
  16063. required: true
  16064. schema:
  16065. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  16066. produces:
  16067. - application/json
  16068. responses:
  16069. "200":
  16070. description: OK
  16071. schema:
  16072. $ref: '#/definitions/app.Response'
  16073. "500":
  16074. description: Internal Server Error
  16075. schema:
  16076. $ref: '#/definitions/app.Response'
  16077. security:
  16078. - ApiKeyAuth: []
  16079. summary: 修改客户申请
  16080. tags:
  16081. - 风险管理v3
  16082. /Erms3/QueryBusinessInfo:
  16083. get:
  16084. parameters:
  16085. - description: 资金账号ID列表,用逗号分隔
  16086. in: query
  16087. name: accountids
  16088. required: true
  16089. type: string
  16090. - description: 状态,0为未结束 1为已结束
  16091. in: query
  16092. name: status
  16093. required: true
  16094. type: integer
  16095. produces:
  16096. - application/json
  16097. responses:
  16098. "200":
  16099. description: OK
  16100. schema:
  16101. items:
  16102. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  16103. type: array
  16104. "500":
  16105. description: Internal Server Error
  16106. schema:
  16107. $ref: '#/definitions/app.Response'
  16108. security:
  16109. - ApiKeyAuth: []
  16110. summary: 查询业务表单数据
  16111. tags:
  16112. - 风险管理v3
  16113. /Erms3/QueryPendingAuditContract:
  16114. get:
  16115. parameters:
  16116. - description: 资金账号ID列表,逗号隔开
  16117. in: query
  16118. name: accountids
  16119. required: true
  16120. type: string
  16121. - description: 合同类型 1-采购 -1-销售
  16122. in: query
  16123. name: contracttype
  16124. required: true
  16125. type: integer
  16126. - description: 合同模式 1-普通 2-回购
  16127. in: query
  16128. name: contractmode
  16129. required: true
  16130. type: integer
  16131. produces:
  16132. - application/json
  16133. responses:
  16134. "200":
  16135. description: OK
  16136. schema:
  16137. items:
  16138. $ref: '#/definitions/erms3.QryAuditContractRsp'
  16139. type: array
  16140. "500":
  16141. description: Internal Server Error
  16142. schema:
  16143. $ref: '#/definitions/app.Response'
  16144. security:
  16145. - ApiKeyAuth: []
  16146. summary: 查询待审核合同
  16147. tags:
  16148. - 风险管理v3
  16149. /Erms3/QueryPendingBusiness:
  16150. get:
  16151. parameters:
  16152. - description: 资金账号ID列表,逗号隔开
  16153. in: query
  16154. name: accountids
  16155. required: true
  16156. type: string
  16157. produces:
  16158. - application/json
  16159. responses:
  16160. "200":
  16161. description: OK
  16162. schema:
  16163. items:
  16164. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16165. type: array
  16166. "500":
  16167. description: Internal Server Error
  16168. schema:
  16169. $ref: '#/definitions/app.Response'
  16170. security:
  16171. - ApiKeyAuth: []
  16172. summary: 查询待审核基差贸易业务
  16173. tags:
  16174. - 风险管理v3
  16175. /Erms3/QuerySpotContractAppleForm:
  16176. get:
  16177. parameters:
  16178. - description: 登录账号
  16179. in: query
  16180. name: loginID
  16181. required: true
  16182. type: integer
  16183. produces:
  16184. - application/json
  16185. responses:
  16186. "200":
  16187. description: OK
  16188. schema:
  16189. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16190. "500":
  16191. description: Internal Server Error
  16192. schema:
  16193. $ref: '#/definitions/app.Response'
  16194. security:
  16195. - ApiKeyAuth: []
  16196. summary: 查询合同申请表单数据
  16197. tags:
  16198. - 风险管理v3
  16199. /Erms3/QuerySpotContractDetail:
  16200. get:
  16201. parameters:
  16202. - description: 资金账号ID列表,用逗号分隔
  16203. in: query
  16204. name: accountids
  16205. required: true
  16206. type: string
  16207. - description: 合同类型,1为采购合同 -1为销售合同
  16208. in: query
  16209. name: contracttype
  16210. required: true
  16211. type: integer
  16212. - description: 合同模式,1为普通合同 2为回购销售合同
  16213. in: query
  16214. name: contractmode
  16215. required: true
  16216. type: integer
  16217. - description: 状态,0为履约中 1为已完成
  16218. in: query
  16219. name: status
  16220. required: true
  16221. type: integer
  16222. produces:
  16223. - application/json
  16224. responses:
  16225. "200":
  16226. description: OK
  16227. schema:
  16228. items:
  16229. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16230. type: array
  16231. "500":
  16232. description: Internal Server Error
  16233. schema:
  16234. $ref: '#/definitions/app.Response'
  16235. security:
  16236. - ApiKeyAuth: []
  16237. summary: 查询合同详细信息
  16238. tags:
  16239. - 风险管理v3
  16240. /Erms3/QueryUserInfoApplies:
  16241. get:
  16242. parameters:
  16243. - description: 页码
  16244. in: query
  16245. name: page
  16246. type: integer
  16247. - description: 每页条数
  16248. in: query
  16249. name: pagesize
  16250. type: integer
  16251. - description: 客户名称,支持模糊查询
  16252. in: query
  16253. name: userName
  16254. type: string
  16255. produces:
  16256. - application/json
  16257. responses:
  16258. "200":
  16259. description: OK
  16260. schema:
  16261. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16262. "500":
  16263. description: Internal Server Error
  16264. schema:
  16265. $ref: '#/definitions/app.Response'
  16266. security:
  16267. - ApiKeyAuth: []
  16268. summary: 客户申请信息查询
  16269. tags:
  16270. - 风险管理v3
  16271. /Erms3/QueryUserInfos:
  16272. get:
  16273. parameters:
  16274. - description: 页码
  16275. in: query
  16276. name: page
  16277. type: integer
  16278. - description: 每页条数
  16279. in: query
  16280. name: pagesize
  16281. type: integer
  16282. - description: 客户名称,支持模糊查询
  16283. in: query
  16284. name: userName
  16285. type: string
  16286. produces:
  16287. - application/json
  16288. responses:
  16289. "200":
  16290. description: OK
  16291. schema:
  16292. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16293. "500":
  16294. description: Internal Server Error
  16295. schema:
  16296. $ref: '#/definitions/app.Response'
  16297. security:
  16298. - ApiKeyAuth: []
  16299. summary: 客户信息查询
  16300. tags:
  16301. - 风险管理v3
  16302. /HSBY/GetHsbyMyCount:
  16303. get:
  16304. description: 说明: 不包括已完成的数量。
  16305. parameters:
  16306. - description: 资金账户列表,格式:1,2,3
  16307. in: query
  16308. name: accountIDs
  16309. required: true
  16310. type: string
  16311. produces:
  16312. - application/json
  16313. responses:
  16314. "200":
  16315. description: OK
  16316. schema:
  16317. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16318. "500":
  16319. description: Internal Server Error
  16320. schema:
  16321. $ref: '#/definitions/app.Response'
  16322. security:
  16323. - ApiKeyAuth: []
  16324. summary: 获取我的订单与包裹数量
  16325. tags:
  16326. - 定制【海商报业】
  16327. /HSBY/QueryClientFixedADConfigs:
  16328. get:
  16329. produces:
  16330. - application/json
  16331. responses:
  16332. "200":
  16333. description: OK
  16334. schema:
  16335. $ref: '#/definitions/models.Clientfixedadconfig'
  16336. "500":
  16337. description: Internal Server Error
  16338. schema:
  16339. $ref: '#/definitions/app.Response'
  16340. security:
  16341. - ApiKeyAuth: []
  16342. summary: 获取终端固定广告配置
  16343. tags:
  16344. - 定制【海商报业】
  16345. /HSBY/QueryHsbyBuyMyTradeDetail:
  16346. get:
  16347. parameters:
  16348. - description: 页码
  16349. in: query
  16350. name: page
  16351. type: integer
  16352. - description: 每页条数
  16353. in: query
  16354. name: pagesize
  16355. type: integer
  16356. - description: 资金账户列表,格式:1,2,3
  16357. in: query
  16358. name: accountIDs
  16359. required: true
  16360. type: string
  16361. produces:
  16362. - application/json
  16363. responses:
  16364. "200":
  16365. description: OK
  16366. schema:
  16367. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16368. "500":
  16369. description: Internal Server Error
  16370. schema:
  16371. $ref: '#/definitions/app.Response'
  16372. security:
  16373. - ApiKeyAuth: []
  16374. summary: 查询"我的订单 - 已完成"单据信息
  16375. tags:
  16376. - 定制【海商报业】
  16377. /HSBY/QueryHsbyGoodsOrderDetails:
  16378. get:
  16379. description: 说明:查询结果已按委托价格和委托时间排序
  16380. parameters:
  16381. - description: 商品ID
  16382. in: query
  16383. name: goodsID
  16384. required: true
  16385. type: integer
  16386. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16387. in: query
  16388. name: accountIDs
  16389. type: string
  16390. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16391. in: query
  16392. name: buyOrSell
  16393. type: integer
  16394. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16395. in: query
  16396. name: price
  16397. type: number
  16398. - description: 档位,不传则默认为3档
  16399. in: query
  16400. name: speed
  16401. type: integer
  16402. produces:
  16403. - application/json
  16404. responses:
  16405. "200":
  16406. description: OK
  16407. schema:
  16408. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16409. "500":
  16410. description: Internal Server Error
  16411. schema:
  16412. $ref: '#/definitions/app.Response'
  16413. security:
  16414. - ApiKeyAuth: []
  16415. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16416. tags:
  16417. - 定制【海商报业】
  16418. /HSBY/QueryHsbyListingGoodsDetail:
  16419. get:
  16420. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16421. parameters:
  16422. - description: 商品ID
  16423. in: query
  16424. name: goodsID
  16425. required: true
  16426. type: integer
  16427. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16428. in: query
  16429. name: accountID
  16430. type: integer
  16431. produces:
  16432. - application/json
  16433. responses:
  16434. "200":
  16435. description: OK
  16436. schema:
  16437. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16438. "500":
  16439. description: Internal Server Error
  16440. schema:
  16441. $ref: '#/definitions/app.Response'
  16442. security:
  16443. - ApiKeyAuth: []
  16444. summary: 查询二级市场(挂牌点选)商品信息详情
  16445. tags:
  16446. - 定制【海商报业】
  16447. /HSBY/QueryHsbyMarketGoodsDetail:
  16448. get:
  16449. parameters:
  16450. - description: 委托单号
  16451. in: query
  16452. name: orderID
  16453. required: true
  16454. type: integer
  16455. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16456. in: query
  16457. name: accountID
  16458. type: integer
  16459. produces:
  16460. - application/json
  16461. responses:
  16462. "200":
  16463. description: OK
  16464. schema:
  16465. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16466. "500":
  16467. description: Internal Server Error
  16468. schema:
  16469. $ref: '#/definitions/app.Response'
  16470. security:
  16471. - ApiKeyAuth: []
  16472. summary: 查询三级市场(商城)商品信息详情
  16473. tags:
  16474. - 定制【海商报业】
  16475. /HSBY/QueryHsbyMarketGoodses:
  16476. get:
  16477. parameters:
  16478. - description: 页码
  16479. in: query
  16480. name: page
  16481. type: integer
  16482. - description: 每页条数
  16483. in: query
  16484. name: pagesize
  16485. type: integer
  16486. - description: 市场ID列表,格式:1,2,3
  16487. in: query
  16488. name: marketIDs
  16489. required: true
  16490. type: string
  16491. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16492. in: query
  16493. name: accountID
  16494. required: true
  16495. type: integer
  16496. - description: 类别ID
  16497. in: query
  16498. name: categoryID
  16499. type: integer
  16500. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16501. in: query
  16502. name: goodsIDs
  16503. type: string
  16504. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16505. in: query
  16506. name: couponTypeID
  16507. type: integer
  16508. produces:
  16509. - application/json
  16510. responses:
  16511. "200":
  16512. description: OK
  16513. schema:
  16514. $ref: '#/definitions/models.HsbyMarketGoods'
  16515. "500":
  16516. description: Internal Server Error
  16517. schema:
  16518. $ref: '#/definitions/app.Response'
  16519. security:
  16520. - ApiKeyAuth: []
  16521. summary: 查询特卖商品列表(三级商城)
  16522. tags:
  16523. - 定制【海商报业】
  16524. /HSBY/QueryHsbyMarkets:
  16525. get:
  16526. produces:
  16527. - application/json
  16528. responses:
  16529. "200":
  16530. description: OK
  16531. schema:
  16532. $ref: '#/definitions/models.HsbyMarketInfo'
  16533. "500":
  16534. description: Internal Server Error
  16535. schema:
  16536. $ref: '#/definitions/app.Response'
  16537. security:
  16538. - ApiKeyAuth: []
  16539. summary: 查询海商报业相关市场信息
  16540. tags:
  16541. - 定制【海商报业】
  16542. /HSBY/QueryHsbyMyBuyOrderDetails:
  16543. get:
  16544. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16545. parameters:
  16546. - description: 资金账户列表,格式:1,2,3
  16547. in: query
  16548. name: accountIDs
  16549. required: true
  16550. type: string
  16551. produces:
  16552. - application/json
  16553. responses:
  16554. "200":
  16555. description: OK
  16556. schema:
  16557. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16558. "500":
  16559. description: Internal Server Error
  16560. schema:
  16561. $ref: '#/definitions/app.Response'
  16562. security:
  16563. - ApiKeyAuth: []
  16564. summary: 查询“我的订单”信息
  16565. tags:
  16566. - 定制【海商报业】
  16567. /HSBY/QueryHsbyMyGoods:
  16568. get:
  16569. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16570. parameters:
  16571. - description: 资金账户列表,格式:1,2,3
  16572. in: query
  16573. name: accountIDs
  16574. required: true
  16575. type: string
  16576. produces:
  16577. - application/json
  16578. responses:
  16579. "200":
  16580. description: OK
  16581. schema:
  16582. $ref: '#/definitions/models.HsbyMyGoods'
  16583. "500":
  16584. description: Internal Server Error
  16585. schema:
  16586. $ref: '#/definitions/app.Response'
  16587. security:
  16588. - ApiKeyAuth: []
  16589. summary: 查询“我的商品”信息
  16590. tags:
  16591. - 定制【海商报业】
  16592. /HSBY/QueryHsbyMyPackages:
  16593. get:
  16594. parameters:
  16595. - description: 资金账户列表,格式:1,2,3
  16596. in: query
  16597. name: accountIDs
  16598. required: true
  16599. type: string
  16600. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16601. in: query
  16602. name: takeOrderStatus
  16603. type: integer
  16604. produces:
  16605. - application/json
  16606. responses:
  16607. "200":
  16608. description: OK
  16609. schema:
  16610. $ref: '#/definitions/models.HsbyMyPackage'
  16611. "500":
  16612. description: Internal Server Error
  16613. schema:
  16614. $ref: '#/definitions/app.Response'
  16615. security:
  16616. - ApiKeyAuth: []
  16617. summary: 查询我的包裹信息
  16618. tags:
  16619. - 定制【海商报业】
  16620. /HSBY/QueryHsbyPreGoodsDetail:
  16621. get:
  16622. parameters:
  16623. - description: 商品ID
  16624. in: query
  16625. name: goodsID
  16626. required: true
  16627. type: integer
  16628. - description: 资金账户,主要用于获取预售商品购买上限
  16629. in: query
  16630. name: accountID
  16631. type: integer
  16632. produces:
  16633. - application/json
  16634. responses:
  16635. "200":
  16636. description: OK
  16637. schema:
  16638. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16639. "500":
  16640. description: Internal Server Error
  16641. schema:
  16642. $ref: '#/definitions/app.Response'
  16643. security:
  16644. - ApiKeyAuth: []
  16645. summary: 查询一级市场(预售)商品信息详情
  16646. tags:
  16647. - 定制【海商报业】
  16648. /HSBY/QueryHsbyPreGoodses:
  16649. get:
  16650. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16651. parameters:
  16652. - description: 页码
  16653. in: query
  16654. name: page
  16655. type: integer
  16656. - description: 每页条数
  16657. in: query
  16658. name: pagesize
  16659. type: integer
  16660. - description: 市场ID列表,格式:1,2,3
  16661. in: query
  16662. name: marketIDs
  16663. required: true
  16664. type: string
  16665. - description: 目的地(省)ID
  16666. in: query
  16667. name: descProvinceID
  16668. type: integer
  16669. - description: 目的地(市)ID
  16670. in: query
  16671. name: descCityID
  16672. type: integer
  16673. produces:
  16674. - application/json
  16675. responses:
  16676. "200":
  16677. description: OK
  16678. schema:
  16679. $ref: '#/definitions/models.HsbyPreGoods'
  16680. "500":
  16681. description: Internal Server Error
  16682. schema:
  16683. $ref: '#/definitions/app.Response'
  16684. security:
  16685. - ApiKeyAuth: []
  16686. summary: 查询新品上市商品列表(一级市场预售)
  16687. tags:
  16688. - 定制【海商报业】
  16689. /HSBY/QueryHsbySellMyDetails:
  16690. get:
  16691. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16692. parameters:
  16693. - description: 页码
  16694. in: query
  16695. name: page
  16696. type: integer
  16697. - description: 每页条数
  16698. in: query
  16699. name: pagesize
  16700. type: integer
  16701. - description: 资金账户列表,格式:1,2,3
  16702. in: query
  16703. name: accountIDs
  16704. required: true
  16705. type: string
  16706. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16707. in: query
  16708. name: orderType
  16709. type: integer
  16710. produces:
  16711. - application/json
  16712. responses:
  16713. "200":
  16714. description: OK
  16715. schema:
  16716. $ref: '#/definitions/models.HsbySellMyDetail'
  16717. "500":
  16718. description: Internal Server Error
  16719. schema:
  16720. $ref: '#/definitions/app.Response'
  16721. security:
  16722. - ApiKeyAuth: []
  16723. summary: 查询"我的闲置"单据信息
  16724. tags:
  16725. - 定制【海商报业】
  16726. /HSBY/QueryHsbyTopGoodses:
  16727. get:
  16728. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16729. parameters:
  16730. - description: 页码
  16731. in: query
  16732. name: page
  16733. type: integer
  16734. - description: 每页条数
  16735. in: query
  16736. name: pagesize
  16737. type: integer
  16738. - description: 市场ID列表,格式:1,2,3
  16739. in: query
  16740. name: marketIDs
  16741. required: true
  16742. type: string
  16743. - description: 目的地(省)ID
  16744. in: query
  16745. name: descProvinceID
  16746. type: integer
  16747. - description: 目的地(市)ID
  16748. in: query
  16749. name: descCityID
  16750. type: integer
  16751. produces:
  16752. - application/json
  16753. responses:
  16754. "200":
  16755. description: OK
  16756. schema:
  16757. $ref: '#/definitions/models.HsbyTopGoods'
  16758. "500":
  16759. description: Internal Server Error
  16760. schema:
  16761. $ref: '#/definitions/app.Response'
  16762. security:
  16763. - ApiKeyAuth: []
  16764. summary: 查询热卖商品列表(二级市场挂牌点选)
  16765. tags:
  16766. - 定制【海商报业】
  16767. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16768. get:
  16769. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16770. parameters:
  16771. - description: 商品ID
  16772. in: query
  16773. name: goodsID
  16774. required: true
  16775. type: integer
  16776. produces:
  16777. - application/json
  16778. responses:
  16779. "200":
  16780. description: OK
  16781. schema:
  16782. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16783. "500":
  16784. description: Internal Server Error
  16785. schema:
  16786. $ref: '#/definitions/app.Response'
  16787. security:
  16788. - ApiKeyAuth: []
  16789. summary: 查询游客三级市场(商城)商品信息详情
  16790. tags:
  16791. - 定制【海商报业】
  16792. /HSBY/QueryHsbyVisitorMarketGoodses:
  16793. get:
  16794. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16795. parameters:
  16796. - description: 页码
  16797. in: query
  16798. name: page
  16799. type: integer
  16800. - description: 每页条数
  16801. in: query
  16802. name: pagesize
  16803. type: integer
  16804. - description: 市场ID列表,格式:1,2,3
  16805. in: query
  16806. name: marketIDs
  16807. required: true
  16808. type: string
  16809. - description: 类别ID
  16810. in: query
  16811. name: categoryID
  16812. type: integer
  16813. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16814. in: query
  16815. name: goodsIDs
  16816. type: string
  16817. produces:
  16818. - application/json
  16819. responses:
  16820. "200":
  16821. description: OK
  16822. schema:
  16823. $ref: '#/definitions/models.HsbyMarketGoods'
  16824. "500":
  16825. description: Internal Server Error
  16826. schema:
  16827. $ref: '#/definitions/app.Response'
  16828. security:
  16829. - ApiKeyAuth: []
  16830. summary: 查询游客特卖商品列表(三级商城)
  16831. tags:
  16832. - 定制【海商报业】
  16833. /HSBY/QueryMyCollectionOrders:
  16834. get:
  16835. parameters:
  16836. - description: 页码
  16837. in: query
  16838. name: page
  16839. type: integer
  16840. - description: 每页条数
  16841. in: query
  16842. name: pagesize
  16843. type: integer
  16844. - description: 资金账户,格式:1,2,3
  16845. in: query
  16846. name: accountIDs
  16847. required: true
  16848. type: string
  16849. produces:
  16850. - application/json
  16851. responses:
  16852. "200":
  16853. description: OK
  16854. schema:
  16855. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16856. "500":
  16857. description: Internal Server Error
  16858. schema:
  16859. $ref: '#/definitions/app.Response'
  16860. security:
  16861. - ApiKeyAuth: []
  16862. summary: 我的闲置中收款信息查询
  16863. tags:
  16864. - 定制【海商报业】
  16865. /HSBY/QueryMyCouponHolds:
  16866. get:
  16867. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16868. parameters:
  16869. - description: 资金账户列表,格式:1,2,3
  16870. in: query
  16871. name: accountIDs
  16872. required: true
  16873. type: string
  16874. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16875. in: query
  16876. name: holdStatus
  16877. type: string
  16878. produces:
  16879. - application/json
  16880. responses:
  16881. "200":
  16882. description: OK
  16883. schema:
  16884. $ref: '#/definitions/models.MyCouponHold'
  16885. "500":
  16886. description: Internal Server Error
  16887. schema:
  16888. $ref: '#/definitions/app.Response'
  16889. security:
  16890. - ApiKeyAuth: []
  16891. summary: 我的优惠卷持仓查询
  16892. tags:
  16893. - 定制【海商报业】
  16894. /HSBY/QueryMyCoupons:
  16895. get:
  16896. parameters:
  16897. - description: 资金账户列表,格式:1,2,3
  16898. in: query
  16899. name: accountIDs
  16900. required: true
  16901. type: string
  16902. - description: 商品ID, 一般与sellUserID配套传入
  16903. in: query
  16904. name: goodsID
  16905. type: integer
  16906. - description: 卖方UserID
  16907. in: query
  16908. name: sellUserID
  16909. type: integer
  16910. produces:
  16911. - application/json
  16912. responses:
  16913. "200":
  16914. description: OK
  16915. schema:
  16916. $ref: '#/definitions/models.MyCoupon'
  16917. "500":
  16918. description: Internal Server Error
  16919. schema:
  16920. $ref: '#/definitions/app.Response'
  16921. security:
  16922. - ApiKeyAuth: []
  16923. summary: 我的优惠卷查询
  16924. tags:
  16925. - 定制【海商报业】
  16926. /HSBY/QueryMyPayOrders:
  16927. get:
  16928. parameters:
  16929. - description: 页码
  16930. in: query
  16931. name: page
  16932. type: integer
  16933. - description: 每页条数
  16934. in: query
  16935. name: pagesize
  16936. type: integer
  16937. - description: 资金账户列表,格式:1,2,3
  16938. in: query
  16939. name: accountIDs
  16940. required: true
  16941. type: string
  16942. - description: 买方委托单号
  16943. in: query
  16944. name: buyOrderID
  16945. type: integer
  16946. - description: 卖方委托单号
  16947. in: query
  16948. name: sellOrderID
  16949. type: integer
  16950. produces:
  16951. - application/json
  16952. responses:
  16953. "200":
  16954. description: OK
  16955. schema:
  16956. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16957. "500":
  16958. description: Internal Server Error
  16959. schema:
  16960. $ref: '#/definitions/app.Response'
  16961. security:
  16962. - ApiKeyAuth: []
  16963. summary: 获取我的订单中待付款信息
  16964. tags:
  16965. - 定制【海商报业】
  16966. /HSBY/QueryMyUsedCoupon:
  16967. get:
  16968. parameters:
  16969. - description: 资金账户列表,格式:1,2,3
  16970. in: query
  16971. name: accountIDs
  16972. required: true
  16973. type: string
  16974. produces:
  16975. - application/json
  16976. responses:
  16977. "200":
  16978. description: OK
  16979. schema:
  16980. $ref: '#/definitions/models.MyUsedCoupon'
  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/QueryProvincesAndCities:
  16991. get:
  16992. description: 查询结果只包括二级市场商品已关连的省市信息。
  16993. parameters:
  16994. - description: 省ID
  16995. in: query
  16996. name: provinceID
  16997. type: integer
  16998. produces:
  16999. - application/json
  17000. responses:
  17001. "200":
  17002. description: OK
  17003. schema:
  17004. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  17005. "500":
  17006. description: Internal Server Error
  17007. schema:
  17008. $ref: '#/definitions/app.Response'
  17009. security:
  17010. - ApiKeyAuth: []
  17011. summary: 查询省市信息(不包括区)
  17012. tags:
  17013. - 定制【海商报业】
  17014. /HSBY/SetHsbyMyPackagesStatus:
  17015. post:
  17016. parameters:
  17017. - description: 提货单号
  17018. in: query
  17019. name: takeOrderID
  17020. required: true
  17021. type: string
  17022. - description: 资金账号
  17023. in: query
  17024. name: accountID
  17025. required: true
  17026. type: integer
  17027. produces:
  17028. - application/json
  17029. responses:
  17030. "200":
  17031. description: OK
  17032. schema:
  17033. $ref: '#/definitions/app.Response'
  17034. "500":
  17035. description: Internal Server Error
  17036. schema:
  17037. $ref: '#/definitions/app.Response'
  17038. security:
  17039. - ApiKeyAuth: []
  17040. summary: 设置我的包裹已收货状态
  17041. tags:
  17042. - 定制【海商报业】
  17043. /Market/QueryGoodsesByLoginID:
  17044. get:
  17045. parameters:
  17046. - description: 登录账号
  17047. in: query
  17048. name: loginID
  17049. required: true
  17050. type: integer
  17051. - description: 市场ID列表,格式:1,2,3
  17052. in: query
  17053. name: marketIDs
  17054. type: string
  17055. produces:
  17056. - application/json
  17057. responses:
  17058. "200":
  17059. description: OK
  17060. schema:
  17061. $ref: '#/definitions/models.Goods'
  17062. "500":
  17063. description: Internal Server Error
  17064. schema:
  17065. $ref: '#/definitions/app.Response'
  17066. security:
  17067. - ApiKeyAuth: []
  17068. summary: 获取登录账号有权限的商品信息
  17069. tags:
  17070. - 通用市场
  17071. /Market/QueryMarketRun:
  17072. get:
  17073. parameters:
  17074. - description: 市场ID,不传返回所有
  17075. in: query
  17076. name: marketID
  17077. type: integer
  17078. produces:
  17079. - application/json
  17080. responses:
  17081. "200":
  17082. description: OK
  17083. schema:
  17084. $ref: '#/definitions/models.Marketrun'
  17085. "500":
  17086. description: Internal Server Error
  17087. schema:
  17088. $ref: '#/definitions/app.Response'
  17089. security:
  17090. - ApiKeyAuth: []
  17091. summary: 查询市场运行信息
  17092. tags:
  17093. - 通用市场
  17094. /Market/QueryMarketsByLoginID:
  17095. get:
  17096. parameters:
  17097. - description: 登录账号
  17098. in: query
  17099. name: loginID
  17100. required: true
  17101. type: integer
  17102. produces:
  17103. - application/json
  17104. responses:
  17105. "200":
  17106. description: OK
  17107. schema:
  17108. $ref: '#/definitions/models.Market'
  17109. "500":
  17110. description: Internal Server Error
  17111. schema:
  17112. $ref: '#/definitions/app.Response'
  17113. security:
  17114. - ApiKeyAuth: []
  17115. summary: 获取登录账号有权限的市场信息
  17116. tags:
  17117. - 通用市场
  17118. /Order/QueryHisTradeDetail:
  17119. get:
  17120. parameters:
  17121. - description: 资金账户 - 格式:1,2,3
  17122. in: query
  17123. name: accountID
  17124. required: true
  17125. type: string
  17126. - description: 成交单号
  17127. in: query
  17128. name: tradeID
  17129. type: integer
  17130. - description: 委托单号
  17131. in: query
  17132. name: orderID
  17133. type: integer
  17134. - description: 交易模式 - 格式:1,2,3
  17135. in: query
  17136. name: tradeMode
  17137. type: string
  17138. - description: 委托单据类型
  17139. in: query
  17140. name: buildType
  17141. type: integer
  17142. - description: 成交类别 - 格式:1,2,3
  17143. in: query
  17144. name: tradeType
  17145. type: string
  17146. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17147. in: query
  17148. name: startDate
  17149. type: string
  17150. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17151. in: query
  17152. name: endDate
  17153. type: string
  17154. produces:
  17155. - application/json
  17156. responses:
  17157. "200":
  17158. description: OK
  17159. schema:
  17160. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17161. "500":
  17162. description: Internal Server Error
  17163. schema:
  17164. $ref: '#/definitions/app.Response'
  17165. security:
  17166. - ApiKeyAuth: []
  17167. summary: 历史成交单查询(合约市场)
  17168. tags:
  17169. - 通用单据
  17170. /Order/QueryHisTradeOrderDetail:
  17171. get:
  17172. parameters:
  17173. - description: 资金账户 - 格式:1,2,3
  17174. in: query
  17175. name: accountID
  17176. required: true
  17177. type: string
  17178. - description: 交易模式 - 格式:1,2,3
  17179. in: query
  17180. name: tradeMode
  17181. type: string
  17182. - description: 委托状态 - 格式:1,2,3
  17183. in: query
  17184. name: orderStatus
  17185. type: string
  17186. - description: 委托单号
  17187. in: query
  17188. name: orderID
  17189. type: integer
  17190. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17191. in: query
  17192. name: startDate
  17193. type: string
  17194. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17195. in: query
  17196. name: endDate
  17197. type: string
  17198. produces:
  17199. - application/json
  17200. responses:
  17201. "200":
  17202. description: OK
  17203. schema:
  17204. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 历史委托单查询请求(合约市场)
  17212. tags:
  17213. - 通用单据
  17214. /Order/QueryTradeDetail:
  17215. get:
  17216. parameters:
  17217. - description: 资金账户 - 格式:1,2,3
  17218. in: query
  17219. name: accountID
  17220. required: true
  17221. type: string
  17222. - description: 成交单号
  17223. in: query
  17224. name: tradeID
  17225. type: integer
  17226. - description: 委托单号
  17227. in: query
  17228. name: orderID
  17229. type: integer
  17230. - description: 交易模式 - 格式:1,2,3
  17231. in: query
  17232. name: tradeMode
  17233. type: string
  17234. - description: 委托单据类型
  17235. in: query
  17236. name: buildType
  17237. type: integer
  17238. - description: 成交类别 - 格式:1,2,3
  17239. in: query
  17240. name: tradeType
  17241. type: string
  17242. produces:
  17243. - application/json
  17244. responses:
  17245. "200":
  17246. description: OK
  17247. schema:
  17248. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17249. "500":
  17250. description: Internal Server Error
  17251. schema:
  17252. $ref: '#/definitions/app.Response'
  17253. security:
  17254. - ApiKeyAuth: []
  17255. summary: 成交单查询(合约市场)
  17256. tags:
  17257. - 通用单据
  17258. /Order/QueryTradeOrderDetail:
  17259. get:
  17260. parameters:
  17261. - description: 资金账户 - 格式:1,2,3
  17262. in: query
  17263. name: accountID
  17264. required: true
  17265. type: string
  17266. - description: 交易模式 - 格式:1,2,3
  17267. in: query
  17268. name: tradeMode
  17269. type: string
  17270. - description: 委托状态 - 格式:1,2,3
  17271. in: query
  17272. name: orderStatus
  17273. type: string
  17274. - description: 委托单号
  17275. in: query
  17276. name: orderID
  17277. type: integer
  17278. produces:
  17279. - application/json
  17280. responses:
  17281. "200":
  17282. description: OK
  17283. schema:
  17284. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17285. "500":
  17286. description: Internal Server Error
  17287. schema:
  17288. $ref: '#/definitions/app.Response'
  17289. security:
  17290. - ApiKeyAuth: []
  17291. summary: 委托单查询请求(合约市场)
  17292. tags:
  17293. - 通用单据
  17294. /Order/QueryTradePosition:
  17295. get:
  17296. parameters:
  17297. - description: 资金账户 - 格式:1,2,3
  17298. in: query
  17299. name: accountID
  17300. required: true
  17301. type: string
  17302. - description: 交易模式 - 格式:1,2,3
  17303. in: query
  17304. name: tradeMode
  17305. type: string
  17306. produces:
  17307. - application/json
  17308. responses:
  17309. "200":
  17310. description: OK
  17311. schema:
  17312. $ref: '#/definitions/order.QueryTradePositionRsp'
  17313. "500":
  17314. description: Internal Server Error
  17315. schema:
  17316. $ref: '#/definitions/app.Response'
  17317. security:
  17318. - ApiKeyAuth: []
  17319. summary: 持仓汇总查询(合约市场)
  17320. tags:
  17321. - 通用单据
  17322. /Qhj/QueryAccountInOutApply:
  17323. get:
  17324. parameters:
  17325. - description: 申请起始日期(格式yyyymmdd)
  17326. in: query
  17327. name: begindate
  17328. type: string
  17329. - description: 申请截止日期(格式yyyymmdd)
  17330. in: query
  17331. name: enddate
  17332. type: string
  17333. - description: 模糊搜索名称
  17334. in: query
  17335. name: likename
  17336. type: string
  17337. produces:
  17338. - application/json
  17339. responses:
  17340. "200":
  17341. description: OK
  17342. schema:
  17343. items:
  17344. $ref: '#/definitions/models.QhjAccountOutInApply'
  17345. type: array
  17346. "500":
  17347. description: Internal Server Error
  17348. schema:
  17349. $ref: '#/definitions/app.Response'
  17350. security:
  17351. - ApiKeyAuth: []
  17352. summary: 查询充值提现
  17353. tags:
  17354. - 大连千海金
  17355. /Qhj/QueryBankAccountSign:
  17356. get:
  17357. parameters:
  17358. - description: 用户ID
  17359. in: query
  17360. name: userid
  17361. required: true
  17362. type: integer
  17363. produces:
  17364. - application/json
  17365. responses:
  17366. "200":
  17367. description: OK
  17368. schema:
  17369. items:
  17370. $ref: '#/definitions/models.QhjBankAccountSign'
  17371. type: array
  17372. "500":
  17373. description: Internal Server Error
  17374. schema:
  17375. $ref: '#/definitions/app.Response'
  17376. security:
  17377. - ApiKeyAuth: []
  17378. summary: 查询签约银行信息(提现账户管理)
  17379. tags:
  17380. - 大连千海金
  17381. /Qhj/QueryBankInfo:
  17382. get:
  17383. produces:
  17384. - application/json
  17385. responses:
  17386. "200":
  17387. description: OK
  17388. schema:
  17389. items:
  17390. $ref: '#/definitions/models.QhjBankInfo'
  17391. type: array
  17392. "500":
  17393. description: Internal Server Error
  17394. schema:
  17395. $ref: '#/definitions/app.Response'
  17396. security:
  17397. - ApiKeyAuth: []
  17398. summary: 查询开户行
  17399. tags:
  17400. - 大连千海金
  17401. /Qhj/QueryContract:
  17402. get:
  17403. parameters:
  17404. - description: 用户ID
  17405. in: query
  17406. name: userid
  17407. required: true
  17408. type: integer
  17409. - description: scf合同id
  17410. in: query
  17411. name: scfcontractid
  17412. type: integer
  17413. produces:
  17414. - application/json
  17415. responses:
  17416. "200":
  17417. description: OK
  17418. schema:
  17419. items:
  17420. $ref: '#/definitions/models.QhjContract'
  17421. type: array
  17422. "500":
  17423. description: Internal Server Error
  17424. schema:
  17425. $ref: '#/definitions/app.Response'
  17426. security:
  17427. - ApiKeyAuth: []
  17428. summary: 查询融资明细(合同)
  17429. tags:
  17430. - 大连千海金
  17431. /Qhj/QueryContractLog:
  17432. get:
  17433. parameters:
  17434. - description: scf合同id
  17435. in: query
  17436. name: scfcontractid
  17437. required: true
  17438. type: integer
  17439. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  17440. in: query
  17441. name: amounttype
  17442. type: string
  17443. produces:
  17444. - application/json
  17445. responses:
  17446. "200":
  17447. description: OK
  17448. schema:
  17449. items:
  17450. $ref: '#/definitions/models.QhjContractLog'
  17451. type: array
  17452. "500":
  17453. description: Internal Server Error
  17454. schema:
  17455. $ref: '#/definitions/app.Response'
  17456. security:
  17457. - ApiKeyAuth: []
  17458. summary: 查询融资明细流水(融资明细详情页中的流水)
  17459. tags:
  17460. - 大连千海金
  17461. /Qhj/QueryCusBankSignBank:
  17462. get:
  17463. produces:
  17464. - application/json
  17465. responses:
  17466. "200":
  17467. description: OK
  17468. schema:
  17469. items:
  17470. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  17471. type: array
  17472. "500":
  17473. description: Internal Server Error
  17474. schema:
  17475. $ref: '#/definitions/app.Response'
  17476. security:
  17477. - ApiKeyAuth: []
  17478. summary: 查询托管银行
  17479. tags:
  17480. - 大连千海金
  17481. /Qhj/QueryCustomerInfo:
  17482. get:
  17483. parameters:
  17484. - description: 用户ID
  17485. in: query
  17486. name: userid
  17487. required: true
  17488. type: integer
  17489. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  17490. in: query
  17491. name: querytype
  17492. required: true
  17493. type: integer
  17494. - description: 客户类型 1-个人 2-企业
  17495. in: query
  17496. name: userinfotype
  17497. type: integer
  17498. - description: 客户名称(模糊匹配)
  17499. in: query
  17500. name: customername
  17501. type: string
  17502. - description: 昵称(模糊匹配)
  17503. in: query
  17504. name: nickname
  17505. type: string
  17506. - description: 是否包含子级 1-包含
  17507. in: query
  17508. name: includesub
  17509. type: integer
  17510. produces:
  17511. - application/json
  17512. responses:
  17513. "200":
  17514. description: OK
  17515. schema:
  17516. items:
  17517. $ref: '#/definitions/models.QhjCustomer'
  17518. type: array
  17519. "500":
  17520. description: Internal Server Error
  17521. schema:
  17522. $ref: '#/definitions/app.Response'
  17523. security:
  17524. - ApiKeyAuth: []
  17525. summary: 查询客户资料
  17526. tags:
  17527. - 大连千海金
  17528. /Qhj/QueryPickArea:
  17529. get:
  17530. parameters:
  17531. - description: 用户ID
  17532. in: query
  17533. name: userid
  17534. type: integer
  17535. produces:
  17536. - application/json
  17537. responses:
  17538. "200":
  17539. description: OK
  17540. schema:
  17541. items:
  17542. $ref: '#/definitions/models.QhjPickArea'
  17543. type: array
  17544. "500":
  17545. description: Internal Server Error
  17546. schema:
  17547. $ref: '#/definitions/app.Response'
  17548. security:
  17549. - ApiKeyAuth: []
  17550. summary: 查询提货门店
  17551. tags:
  17552. - 大连千海金
  17553. /Qhj/QueryPickGoods:
  17554. get:
  17555. parameters:
  17556. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  17557. in: query
  17558. name: status
  17559. type: string
  17560. produces:
  17561. - application/json
  17562. responses:
  17563. "200":
  17564. description: OK
  17565. schema:
  17566. items:
  17567. $ref: '#/definitions/models.QhjPickGoods'
  17568. type: array
  17569. "500":
  17570. description: Internal Server Error
  17571. schema:
  17572. $ref: '#/definitions/app.Response'
  17573. security:
  17574. - ApiKeyAuth: []
  17575. summary: 查询提货商品
  17576. tags:
  17577. - 大连千海金
  17578. /Qhj/QueryRSTriggerLog:
  17579. get:
  17580. parameters:
  17581. - description: 用户ID
  17582. in: query
  17583. name: userid
  17584. required: true
  17585. type: integer
  17586. - description: 定投策略id
  17587. in: query
  17588. name: regularlystrategyid
  17589. type: integer
  17590. produces:
  17591. - application/json
  17592. responses:
  17593. "200":
  17594. description: OK
  17595. schema:
  17596. items:
  17597. $ref: '#/definitions/models.QhjRSTriggerLog'
  17598. type: array
  17599. "500":
  17600. description: Internal Server Error
  17601. schema:
  17602. $ref: '#/definitions/app.Response'
  17603. security:
  17604. - ApiKeyAuth: []
  17605. summary: 查询定投记录(定投管理/详情/定投记录)
  17606. tags:
  17607. - 大连千海金
  17608. /Qhj/QueryRStrategy:
  17609. get:
  17610. parameters:
  17611. - description: 用户ID
  17612. in: query
  17613. name: userid
  17614. required: true
  17615. type: integer
  17616. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  17617. in: query
  17618. name: status
  17619. type: string
  17620. produces:
  17621. - application/json
  17622. responses:
  17623. "200":
  17624. description: OK
  17625. schema:
  17626. items:
  17627. $ref: '#/definitions/models.QhjRStrategy'
  17628. type: array
  17629. "500":
  17630. description: Internal Server Error
  17631. schema:
  17632. $ref: '#/definitions/app.Response'
  17633. security:
  17634. - ApiKeyAuth: []
  17635. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  17636. tags:
  17637. - 大连千海金
  17638. /Qhj/QueryReckonPriceLog:
  17639. get:
  17640. parameters:
  17641. - description: 商品ID
  17642. in: query
  17643. name: goodsid
  17644. type: integer
  17645. - description: 交易日 格式(yyyymmdd)
  17646. in: query
  17647. name: tradedate
  17648. type: string
  17649. produces:
  17650. - application/json
  17651. responses:
  17652. "200":
  17653. description: OK
  17654. schema:
  17655. items:
  17656. $ref: '#/definitions/models.QhjReckonPriceLog'
  17657. type: array
  17658. "500":
  17659. description: Internal Server Error
  17660. schema:
  17661. $ref: '#/definitions/app.Response'
  17662. security:
  17663. - ApiKeyAuth: []
  17664. summary: 查询定投价(结算价)
  17665. tags:
  17666. - 大连千海金
  17667. /Qhj/QuerySiteColumnDetail:
  17668. get:
  17669. parameters:
  17670. - description: 用户ID
  17671. in: query
  17672. name: userid
  17673. required: true
  17674. type: integer
  17675. produces:
  17676. - application/json
  17677. responses:
  17678. "200":
  17679. description: OK
  17680. schema:
  17681. items:
  17682. $ref: '#/definitions/models.QhjSiteColumnDetail'
  17683. type: array
  17684. "500":
  17685. description: Internal Server Error
  17686. schema:
  17687. $ref: '#/definitions/app.Response'
  17688. security:
  17689. - ApiKeyAuth: []
  17690. summary: 查询资讯
  17691. tags:
  17692. - 大连千海金
  17693. /Qhj/QueryTradeGoodsPickup:
  17694. get:
  17695. parameters:
  17696. - description: 用户ID
  17697. in: query
  17698. name: userid
  17699. required: true
  17700. type: integer
  17701. produces:
  17702. - application/json
  17703. responses:
  17704. "200":
  17705. description: OK
  17706. schema:
  17707. items:
  17708. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  17709. type: array
  17710. "500":
  17711. description: Internal Server Error
  17712. schema:
  17713. $ref: '#/definitions/app.Response'
  17714. security:
  17715. - ApiKeyAuth: []
  17716. summary: 查询提货
  17717. tags:
  17718. - 大连千海金
  17719. /Qhj/QueryUserCollectConfig:
  17720. get:
  17721. parameters:
  17722. - description: 用户ID
  17723. in: query
  17724. name: userid
  17725. required: true
  17726. type: integer
  17727. produces:
  17728. - application/json
  17729. responses:
  17730. "200":
  17731. description: OK
  17732. schema:
  17733. items:
  17734. $ref: '#/definitions/models.UserCollectConfig'
  17735. type: array
  17736. "500":
  17737. description: Internal Server Error
  17738. schema:
  17739. $ref: '#/definitions/app.Response'
  17740. security:
  17741. - ApiKeyAuth: []
  17742. summary: 查询提现账户设置
  17743. tags:
  17744. - 大连千海金
  17745. /Qhj/QueryUserReceiveInfo:
  17746. get:
  17747. parameters:
  17748. - description: 用户ID
  17749. in: query
  17750. name: userid
  17751. required: true
  17752. type: integer
  17753. produces:
  17754. - application/json
  17755. responses:
  17756. "200":
  17757. description: OK
  17758. schema:
  17759. items:
  17760. $ref: '#/definitions/models.UserReceiveInfo'
  17761. type: array
  17762. "500":
  17763. description: Internal Server Error
  17764. schema:
  17765. $ref: '#/definitions/app.Response'
  17766. security:
  17767. - ApiKeyAuth: []
  17768. summary: 查询收货地址信息
  17769. tags:
  17770. - 大连千海金
  17771. /Quote/QueryHistoryDatas:
  17772. get:
  17773. parameters:
  17774. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17775. 日线'
  17776. in: query
  17777. name: cycleType
  17778. required: true
  17779. type: integer
  17780. - description: 商品代码
  17781. in: query
  17782. name: goodsCode
  17783. required: true
  17784. type: string
  17785. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17786. in: query
  17787. name: startTime
  17788. type: string
  17789. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17790. in: query
  17791. name: endTime
  17792. type: string
  17793. - description: 条数
  17794. in: query
  17795. name: count
  17796. type: integer
  17797. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17798. in: query
  17799. name: isAsc
  17800. type: boolean
  17801. produces:
  17802. - application/json
  17803. responses:
  17804. "200":
  17805. description: OK
  17806. schema:
  17807. $ref: '#/definitions/quote.HistoryData'
  17808. "500":
  17809. description: Internal Server Error
  17810. schema:
  17811. $ref: '#/definitions/app.Response'
  17812. security:
  17813. - ApiKeyAuth: []
  17814. summary: 查询行情历史数据
  17815. tags:
  17816. - 行情服务
  17817. /Quote/QueryHistoryTikDatas:
  17818. get:
  17819. parameters:
  17820. - description: 商品代码
  17821. in: query
  17822. name: goodsCode
  17823. required: true
  17824. type: string
  17825. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17826. in: query
  17827. name: startTime
  17828. type: string
  17829. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17830. in: query
  17831. name: endTime
  17832. type: string
  17833. - description: 条数
  17834. in: query
  17835. name: count
  17836. type: integer
  17837. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17838. in: query
  17839. name: isAsc
  17840. type: boolean
  17841. produces:
  17842. - application/json
  17843. responses:
  17844. "200":
  17845. description: OK
  17846. schema:
  17847. $ref: '#/definitions/quote.HistoryTikData'
  17848. "500":
  17849. description: Internal Server Error
  17850. schema:
  17851. $ref: '#/definitions/app.Response'
  17852. security:
  17853. - ApiKeyAuth: []
  17854. summary: 查询行情Tik数据
  17855. tags:
  17856. - 行情服务
  17857. /Quote/QueryQuoteDay:
  17858. get:
  17859. parameters:
  17860. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17861. in: query
  17862. name: goodsCodes
  17863. required: true
  17864. type: string
  17865. produces:
  17866. - application/json
  17867. responses:
  17868. "200":
  17869. description: OK
  17870. schema:
  17871. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17872. "500":
  17873. description: Internal Server Error
  17874. schema:
  17875. $ref: '#/definitions/app.Response'
  17876. security:
  17877. - ApiKeyAuth: []
  17878. summary: 获取商品盘面信息
  17879. tags:
  17880. - 行情服务
  17881. /Quote/QueryTSData:
  17882. get:
  17883. parameters:
  17884. - description: 商品代码
  17885. in: query
  17886. name: goodsCode
  17887. required: true
  17888. type: string
  17889. produces:
  17890. - application/json
  17891. responses:
  17892. "200":
  17893. description: OK
  17894. schema:
  17895. $ref: '#/definitions/quote.QueryTSDataRsp'
  17896. "500":
  17897. description: Internal Server Error
  17898. schema:
  17899. $ref: '#/definitions/app.Response'
  17900. security:
  17901. - ApiKeyAuth: []
  17902. summary: 分时图数据查询
  17903. tags:
  17904. - 行情服务
  17905. /SZDZ/QueryConvertConfig:
  17906. get:
  17907. parameters:
  17908. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17909. 6:交易转花生米(不设置)
  17910. in: query
  17911. name: convertType
  17912. type: integer
  17913. - description: 外部商品代码[JD\PD]
  17914. in: query
  17915. name: outerGoodsCode
  17916. type: string
  17917. - description: 内部商品ID列表[交易],格式:1,2,3
  17918. in: query
  17919. name: innerGoodsIDs
  17920. type: string
  17921. produces:
  17922. - application/json
  17923. responses:
  17924. "200":
  17925. description: OK
  17926. schema:
  17927. $ref: '#/definitions/models.Szdz3convertconfig'
  17928. "500":
  17929. description: Internal Server Error
  17930. schema:
  17931. $ref: '#/definitions/app.Response'
  17932. security:
  17933. - ApiKeyAuth: []
  17934. summary: 查询交易系统转换设置
  17935. tags:
  17936. - 定制【尚志大宗】
  17937. /SZDZ/QueryConvertLog:
  17938. get:
  17939. parameters:
  17940. - description: 资金账户 - 格式:1,2,3
  17941. in: query
  17942. name: accountID
  17943. required: true
  17944. type: string
  17945. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17946. in: query
  17947. name: startDate
  17948. type: string
  17949. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17950. in: query
  17951. name: endDate
  17952. type: string
  17953. produces:
  17954. - application/json
  17955. responses:
  17956. "200":
  17957. description: OK
  17958. schema:
  17959. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17960. "500":
  17961. description: Internal Server Error
  17962. schema:
  17963. $ref: '#/definitions/app.Response'
  17964. security:
  17965. - ApiKeyAuth: []
  17966. summary: 交易系统转换流水查询
  17967. tags:
  17968. - 定制【尚志大宗】
  17969. /SZDZ/QueryGoodsPickup:
  17970. get:
  17971. parameters:
  17972. - description: 资金账户 - 格式:1,2,3
  17973. in: query
  17974. name: accountID
  17975. required: true
  17976. type: string
  17977. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17978. in: query
  17979. name: takeOrderStatus
  17980. type: integer
  17981. produces:
  17982. - application/json
  17983. responses:
  17984. "200":
  17985. description: OK
  17986. schema:
  17987. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17988. "500":
  17989. description: Internal Server Error
  17990. schema:
  17991. $ref: '#/definitions/app.Response'
  17992. security:
  17993. - ApiKeyAuth: []
  17994. summary: 商品提货单查询
  17995. tags:
  17996. - 定制【尚志大宗】
  17997. /SZDZ/QueryRecieptOrder:
  17998. get:
  17999. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18000. parameters:
  18001. - description: 页码
  18002. in: query
  18003. name: page
  18004. type: integer
  18005. - description: 每页条数
  18006. in: query
  18007. name: pagesize
  18008. type: integer
  18009. - description: 商品ID
  18010. in: query
  18011. name: goodsID
  18012. required: true
  18013. type: integer
  18014. - description: 所属账户名称
  18015. in: query
  18016. name: accountName
  18017. type: string
  18018. - description: 市场ID
  18019. in: query
  18020. name: marketID
  18021. type: integer
  18022. - description: 方向 - 0:买 1:卖
  18023. in: query
  18024. name: buyorsell
  18025. required: true
  18026. type: integer
  18027. produces:
  18028. - application/json
  18029. responses:
  18030. "200":
  18031. description: OK
  18032. schema:
  18033. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  18034. "500":
  18035. description: Internal Server Error
  18036. schema:
  18037. $ref: '#/definitions/app.Response'
  18038. security:
  18039. - ApiKeyAuth: []
  18040. summary: 点选挂牌委托单据查询(摘牌大厅)
  18041. tags:
  18042. - 定制【尚志大宗】
  18043. /SZDZ/QuerySZDZTradePosition:
  18044. get:
  18045. parameters:
  18046. - description: 资金账户
  18047. in: query
  18048. name: accountID
  18049. required: true
  18050. type: integer
  18051. produces:
  18052. - application/json
  18053. responses:
  18054. "200":
  18055. description: OK
  18056. schema:
  18057. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  18058. "500":
  18059. description: Internal Server Error
  18060. schema:
  18061. $ref: '#/definitions/app.Response'
  18062. security:
  18063. - ApiKeyAuth: []
  18064. summary: 持仓汇总查询(尚志大宗)
  18065. tags:
  18066. - 定制【尚志大宗】
  18067. /SZDZ/SearchWhite:
  18068. get:
  18069. parameters:
  18070. - description: 用户ID
  18071. in: query
  18072. name: userID
  18073. required: true
  18074. type: integer
  18075. produces:
  18076. - application/json
  18077. responses:
  18078. "200":
  18079. description: OK
  18080. schema:
  18081. $ref: '#/definitions/models.Szdz3searchwhitelist'
  18082. "500":
  18083. description: Internal Server Error
  18084. schema:
  18085. $ref: '#/definitions/app.Response'
  18086. security:
  18087. - ApiKeyAuth: []
  18088. summary: 搜索白名单
  18089. tags:
  18090. - 定制【尚志大宗】
  18091. /Search/SearchGoodses:
  18092. get:
  18093. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  18094. parameters:
  18095. - description: 检索内容
  18096. in: query
  18097. name: content
  18098. required: true
  18099. type: string
  18100. - description: 交易模式,格式:1,2,3
  18101. in: query
  18102. name: tradeModes
  18103. type: string
  18104. produces:
  18105. - application/json
  18106. responses:
  18107. "200":
  18108. description: OK
  18109. schema:
  18110. $ref: '#/definitions/models.SearchGoods'
  18111. "500":
  18112. description: Internal Server Error
  18113. schema:
  18114. $ref: '#/definitions/app.Response'
  18115. summary: 检索商品信息
  18116. tags:
  18117. - 检索服务
  18118. /TaAccount/GetTaAccounts:
  18119. get:
  18120. parameters:
  18121. - description: 登录账户
  18122. in: query
  18123. name: loginID
  18124. required: true
  18125. type: integer
  18126. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18127. in: query
  18128. name: taAccountType
  18129. type: integer
  18130. produces:
  18131. - application/json
  18132. responses:
  18133. "200":
  18134. description: OK
  18135. schema:
  18136. $ref: '#/definitions/models.Taaccount'
  18137. "500":
  18138. description: Internal Server Error
  18139. schema:
  18140. $ref: '#/definitions/app.Response'
  18141. security:
  18142. - ApiKeyAuth: []
  18143. summary: 获取资金账户信息
  18144. tags:
  18145. - 资金账户
  18146. /TaAccount/QueryAmountLog:
  18147. get:
  18148. parameters:
  18149. - description: 页码
  18150. in: query
  18151. name: page
  18152. type: integer
  18153. - description: 每页条数
  18154. in: query
  18155. name: pagesize
  18156. type: integer
  18157. - description: 资金账户 - 格式:1,2,3
  18158. in: query
  18159. name: accountID
  18160. required: true
  18161. type: string
  18162. - description: 资金操作类型 - 格式:1,2,3
  18163. in: query
  18164. name: OperateType
  18165. type: string
  18166. produces:
  18167. - application/json
  18168. responses:
  18169. "200":
  18170. description: OK
  18171. schema:
  18172. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  18173. "500":
  18174. description: Internal Server Error
  18175. schema:
  18176. $ref: '#/definitions/app.Response'
  18177. security:
  18178. - ApiKeyAuth: []
  18179. summary: 资金流水查询(当前)
  18180. tags:
  18181. - 资金账户
  18182. /TaAccount/QueryHisAmountLog:
  18183. get:
  18184. parameters:
  18185. - description: 页码
  18186. in: query
  18187. name: page
  18188. type: integer
  18189. - description: 每页条数
  18190. in: query
  18191. name: pagesize
  18192. type: integer
  18193. - description: 资金账户 - 格式:1,2,3
  18194. in: query
  18195. name: accountID
  18196. required: true
  18197. type: string
  18198. - description: 资金操作类型 - 格式:1,2,3
  18199. in: query
  18200. name: OperateType
  18201. type: string
  18202. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  18203. in: query
  18204. name: startDate
  18205. type: string
  18206. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  18207. in: query
  18208. name: endDate
  18209. type: string
  18210. produces:
  18211. - application/json
  18212. responses:
  18213. "200":
  18214. description: OK
  18215. schema:
  18216. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  18217. "500":
  18218. description: Internal Server Error
  18219. schema:
  18220. $ref: '#/definitions/app.Response'
  18221. security:
  18222. - ApiKeyAuth: []
  18223. summary: 资金流水查询(历史)
  18224. tags:
  18225. - 资金账户
  18226. /Trade/QueryRecieptOrder:
  18227. get:
  18228. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  18229. parameters:
  18230. - description: 页码
  18231. in: query
  18232. name: page
  18233. type: integer
  18234. - description: 每页条数
  18235. in: query
  18236. name: pagesize
  18237. type: integer
  18238. - description: 商品ID
  18239. in: query
  18240. name: goodsID
  18241. required: true
  18242. type: integer
  18243. - description: 所属账户名称
  18244. in: query
  18245. name: accountName
  18246. type: string
  18247. - description: 市场ID
  18248. in: query
  18249. name: marketID
  18250. type: integer
  18251. - description: 方向 - 0:买 1:卖
  18252. in: query
  18253. name: buyorsell
  18254. required: true
  18255. type: integer
  18256. produces:
  18257. - application/json
  18258. responses:
  18259. "200":
  18260. description: OK
  18261. schema:
  18262. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  18263. "500":
  18264. description: Internal Server Error
  18265. schema:
  18266. $ref: '#/definitions/app.Response'
  18267. security:
  18268. - ApiKeyAuth: []
  18269. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  18270. tags:
  18271. - 通用交易
  18272. /User/AddMessageBoard:
  18273. post:
  18274. parameters:
  18275. - description: 用户ID
  18276. in: query
  18277. name: userID
  18278. required: true
  18279. type: integer
  18280. - description: 留言信息
  18281. in: query
  18282. name: message
  18283. required: true
  18284. type: string
  18285. - description: 联系电话
  18286. in: query
  18287. name: contactNum
  18288. required: true
  18289. type: string
  18290. produces:
  18291. - application/json
  18292. responses:
  18293. "200":
  18294. description: OK
  18295. schema:
  18296. $ref: '#/definitions/app.Response'
  18297. "500":
  18298. description: Internal Server Error
  18299. schema:
  18300. $ref: '#/definitions/app.Response'
  18301. security:
  18302. - ApiKeyAuth: []
  18303. summary: 添加用户留言板信息
  18304. tags:
  18305. - 用户信息
  18306. /User/AddUserFavoriteGoods:
  18307. post:
  18308. parameters:
  18309. - description: 用户ID
  18310. in: query
  18311. name: userID
  18312. required: true
  18313. type: integer
  18314. - description: 商品ID
  18315. in: query
  18316. name: goodsID
  18317. required: true
  18318. type: integer
  18319. produces:
  18320. - application/json
  18321. responses:
  18322. "200":
  18323. description: OK
  18324. schema:
  18325. $ref: '#/definitions/app.Response'
  18326. "500":
  18327. description: Internal Server Error
  18328. schema:
  18329. $ref: '#/definitions/app.Response'
  18330. security:
  18331. - ApiKeyAuth: []
  18332. summary: 添加用户商品收藏信息
  18333. tags:
  18334. - 用户信息
  18335. /User/GetLoginID:
  18336. get:
  18337. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  18338. parameters:
  18339. - description: 登录代码
  18340. in: query
  18341. name: username
  18342. required: true
  18343. type: string
  18344. produces:
  18345. - application/json
  18346. responses:
  18347. "200":
  18348. description: OK
  18349. schema:
  18350. $ref: '#/definitions/app.Response'
  18351. "500":
  18352. description: Internal Server Error
  18353. schema:
  18354. $ref: '#/definitions/app.Response'
  18355. summary: 获取登录ID
  18356. tags:
  18357. - 用户信息
  18358. /User/GetUserAccount:
  18359. get:
  18360. parameters:
  18361. - description: 用户ID
  18362. in: query
  18363. name: userID
  18364. required: true
  18365. type: integer
  18366. produces:
  18367. - application/json
  18368. responses:
  18369. "200":
  18370. description: OK
  18371. schema:
  18372. $ref: '#/definitions/models.Useraccount'
  18373. "500":
  18374. description: Internal Server Error
  18375. schema:
  18376. $ref: '#/definitions/app.Response'
  18377. security:
  18378. - ApiKeyAuth: []
  18379. summary: 获取用户账号信息
  18380. tags:
  18381. - 用户信息
  18382. /User/GetUserAuthStatus:
  18383. get:
  18384. parameters:
  18385. - description: 用户ID
  18386. in: query
  18387. name: userID
  18388. required: true
  18389. type: integer
  18390. produces:
  18391. - application/json
  18392. responses:
  18393. "200":
  18394. description: OK
  18395. schema:
  18396. $ref: '#/definitions/app.Response'
  18397. "500":
  18398. description: Internal Server Error
  18399. schema:
  18400. $ref: '#/definitions/app.Response'
  18401. security:
  18402. - ApiKeyAuth: []
  18403. summary: 获取用户实名认证状态
  18404. tags:
  18405. - 用户信息
  18406. /User/LoginQuery:
  18407. get:
  18408. parameters:
  18409. - description: 登录账号
  18410. in: query
  18411. name: loginID
  18412. required: true
  18413. type: integer
  18414. produces:
  18415. - application/json
  18416. responses:
  18417. "200":
  18418. description: OK
  18419. schema:
  18420. $ref: '#/definitions/user.LoginQueryRsp'
  18421. "500":
  18422. description: Internal Server Error
  18423. schema:
  18424. $ref: '#/definitions/app.Response'
  18425. security:
  18426. - ApiKeyAuth: []
  18427. summary: 账户登录后信息查询
  18428. tags:
  18429. - 用户信息
  18430. /User/QueryMessageBoard:
  18431. get:
  18432. parameters:
  18433. - description: 用户ID
  18434. in: query
  18435. name: userID
  18436. required: true
  18437. type: integer
  18438. produces:
  18439. - application/json
  18440. responses:
  18441. "200":
  18442. description: OK
  18443. schema:
  18444. $ref: '#/definitions/models.Messageboard'
  18445. "500":
  18446. description: Internal Server Error
  18447. schema:
  18448. $ref: '#/definitions/app.Response'
  18449. security:
  18450. - ApiKeyAuth: []
  18451. summary: 获取用户留言板信息
  18452. tags:
  18453. - 用户信息
  18454. /User/QueryUserFavoriteGoodses:
  18455. get:
  18456. parameters:
  18457. - description: 用户ID
  18458. in: query
  18459. name: userID
  18460. required: true
  18461. type: integer
  18462. produces:
  18463. - application/json
  18464. responses:
  18465. "200":
  18466. description: OK
  18467. schema:
  18468. $ref: '#/definitions/models.Userfavoritegoods'
  18469. "500":
  18470. description: Internal Server Error
  18471. schema:
  18472. $ref: '#/definitions/app.Response'
  18473. security:
  18474. - ApiKeyAuth: []
  18475. summary: 获取用户商品收藏信息
  18476. tags:
  18477. - 用户信息
  18478. /User/QueryUserInfo:
  18479. get:
  18480. parameters:
  18481. - description: 用户ID
  18482. in: query
  18483. name: userID
  18484. required: true
  18485. type: integer
  18486. - description: 是否解密
  18487. in: query
  18488. name: isDecrypt
  18489. type: boolean
  18490. produces:
  18491. - application/json
  18492. responses:
  18493. "200":
  18494. description: OK
  18495. schema:
  18496. $ref: '#/definitions/models.Userinfo'
  18497. "500":
  18498. description: Internal Server Error
  18499. schema:
  18500. $ref: '#/definitions/app.Response'
  18501. security:
  18502. - ApiKeyAuth: []
  18503. summary: 获取用户信息
  18504. tags:
  18505. - 用户信息
  18506. /User/QueryUserReferNum:
  18507. get:
  18508. parameters:
  18509. - description: 用户ID
  18510. in: query
  18511. name: userID
  18512. required: true
  18513. type: integer
  18514. produces:
  18515. - application/json
  18516. responses:
  18517. "200":
  18518. description: OK
  18519. schema:
  18520. $ref: '#/definitions/app.Response'
  18521. "500":
  18522. description: Internal Server Error
  18523. schema:
  18524. $ref: '#/definitions/app.Response'
  18525. summary: 获取用户邀请码
  18526. tags:
  18527. - 用户信息
  18528. /User/RemoveUserFavoriteGoods:
  18529. post:
  18530. parameters:
  18531. - description: 用户ID
  18532. in: query
  18533. name: userID
  18534. required: true
  18535. type: integer
  18536. - description: 商品ID
  18537. in: query
  18538. name: goodsID
  18539. required: true
  18540. type: integer
  18541. produces:
  18542. - application/json
  18543. responses:
  18544. "200":
  18545. description: OK
  18546. schema:
  18547. $ref: '#/definitions/app.Response'
  18548. "500":
  18549. description: Internal Server Error
  18550. schema:
  18551. $ref: '#/definitions/app.Response'
  18552. security:
  18553. - ApiKeyAuth: []
  18554. summary: 移除用户商品收藏信息
  18555. tags:
  18556. - 用户信息
  18557. /User/UpdateUserAccountStatus:
  18558. post:
  18559. parameters:
  18560. - description: 用户ID
  18561. in: query
  18562. name: userID
  18563. required: true
  18564. type: integer
  18565. - description: 账户状态 - 4:正常 6:注销(停用)
  18566. in: query
  18567. name: accountStatus
  18568. required: true
  18569. type: integer
  18570. produces:
  18571. - application/json
  18572. responses:
  18573. "200":
  18574. description: OK
  18575. schema:
  18576. $ref: '#/definitions/app.Response'
  18577. "500":
  18578. description: Internal Server Error
  18579. schema:
  18580. $ref: '#/definitions/app.Response'
  18581. security:
  18582. - ApiKeyAuth: []
  18583. summary: 更新用户状态
  18584. tags:
  18585. - 用户信息
  18586. /WRTrade/GetAllDeliveryGoods:
  18587. get:
  18588. produces:
  18589. - application/json
  18590. - application/json
  18591. responses:
  18592. "200":
  18593. description: OK
  18594. schema:
  18595. $ref: '#/definitions/app.Response'
  18596. "500":
  18597. description: Internal Server Error
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. security:
  18601. - ApiKeyAuth: []
  18602. - ApiKeyAuth: []
  18603. summary: 获取带仓单分类的种类信息
  18604. tags:
  18605. - 仓单贸易
  18606. - 仓单贸易
  18607. securityDefinitions:
  18608. ApiKeyAuth:
  18609. in: header
  18610. name: Authorization
  18611. type: apiKey
  18612. swagger: "2.0"