swagger.yaml 631 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891
  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. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. begindate:
  5299. description: 开始交易日
  5300. type: string
  5301. buyorsell:
  5302. description: 持仓方向
  5303. type: integer
  5304. charge:
  5305. description: 手续费
  5306. type: number
  5307. closeavgprice:
  5308. description: 平仓均价
  5309. type: number
  5310. closepl:
  5311. description: 平仓损益
  5312. type: number
  5313. currencyid:
  5314. description: 结算币种ID
  5315. type: integer
  5316. currencyname:
  5317. description: 币种名称
  5318. type: string
  5319. cycletime:
  5320. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5321. type: string
  5322. cycletype:
  5323. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5324. type: integer
  5325. enddate:
  5326. description: 结束交易日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. floatpl:
  5332. description: 浮动损益
  5333. type: number
  5334. goodscode:
  5335. description: 交易合约代码
  5336. type: string
  5337. goodsgroupid:
  5338. description: 交易品种
  5339. type: integer
  5340. goodsgroupname:
  5341. description: 交易品种名称
  5342. type: string
  5343. goodsgroupspotqty:
  5344. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5345. type: number
  5346. goodsid:
  5347. description: 交易合约
  5348. type: integer
  5349. goodsname:
  5350. description: 交易合约名称
  5351. type: string
  5352. goodunitid:
  5353. description: 交易合约单位id
  5354. type: integer
  5355. holdamount:
  5356. description: 期末持仓额
  5357. type: number
  5358. holdqty:
  5359. description: 期末持仓量
  5360. type: number
  5361. lastholdamount:
  5362. description: 当前持仓额
  5363. type: number
  5364. lastprice:
  5365. description: 最新价
  5366. type: number
  5367. middlegoodsqty:
  5368. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5369. type: number
  5370. openamount:
  5371. description: 期末开仓额
  5372. type: number
  5373. openavgprice:
  5374. description: 开仓均价
  5375. type: number
  5376. oriholdamount:
  5377. description: 期初持仓额
  5378. type: number
  5379. oriholdqty:
  5380. description: 期初持仓量
  5381. type: number
  5382. oriopenamount:
  5383. description: 期初开仓额
  5384. type: number
  5385. outergroupcode:
  5386. description: 交易品种代码
  5387. type: string
  5388. reckondate:
  5389. description: 日照时期(yyyyMMdd)
  5390. type: string
  5391. reckonholdamount:
  5392. description: 结算持仓额
  5393. type: number
  5394. reckonpl:
  5395. description: 结算损益
  5396. type: number
  5397. reckonpl2:
  5398. description: 结算逐笔盈亏
  5399. type: number
  5400. reckonprice:
  5401. description: 结算价
  5402. type: number
  5403. relateduserid:
  5404. description: 账户关联用户ID
  5405. type: integer
  5406. todaycloseamount:
  5407. description: 今平仓额
  5408. type: number
  5409. todaycloseqty:
  5410. description: 今平仓量
  5411. type: number
  5412. todaygoodsgroupspotqty:
  5413. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5414. type: number
  5415. todaymiddlegoodsqty:
  5416. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5417. type: number
  5418. todayopenamount:
  5419. description: 今开仓额
  5420. type: number
  5421. todayopenqty:
  5422. description: 今开仓量
  5423. type: number
  5424. userid:
  5425. description: 账户所属用户ID
  5426. type: integer
  5427. type: object
  5428. models.Ermcp3Wrstandard:
  5429. properties:
  5430. areauserid:
  5431. description: 所属机构
  5432. type: integer
  5433. convertfactor:
  5434. description: 标仓系数
  5435. type: number
  5436. createtime:
  5437. description: 创建时间
  5438. type: string
  5439. creatorid:
  5440. description: 创建人
  5441. type: integer
  5442. deliverygoodsid:
  5443. description: 现货品种ID
  5444. type: integer
  5445. enumdicname:
  5446. description: 品类单位名称
  5447. type: string
  5448. isvalid:
  5449. description: 是否有效 0-无效(停用) 1-有效(正常)
  5450. type: integer
  5451. minivalue:
  5452. description: 最小变动值
  5453. type: integer
  5454. minivaluedp:
  5455. description: 最小变动值小数位
  5456. type: integer
  5457. realminivalue:
  5458. description: 实际最小变动值
  5459. type: integer
  5460. realminivaluedp:
  5461. description: 实际最小变动值小数位
  5462. type: integer
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. unitid:
  5467. description: 品类单位ID
  5468. type: integer
  5469. updatetime:
  5470. description: 更新时间
  5471. type: string
  5472. wrstandardcode:
  5473. description: 品类代码
  5474. type: string
  5475. wrstandardid:
  5476. description: 品类ID(SEQ_WRSTANDARD)
  5477. type: integer
  5478. wrstandardname:
  5479. description: 品类名称
  5480. type: string
  5481. type: object
  5482. models.ErmcpAreaSpotDetailModel:
  5483. properties:
  5484. contracttype:
  5485. description: 合同类型 1-采购 -1-销售
  5486. type: integer
  5487. createtime:
  5488. description: 创建时间
  5489. type: string
  5490. enumdicname:
  5491. description: 现货商品单位名称
  5492. type: string
  5493. logtype:
  5494. description: 记录类型 1-套保 2-现货合同
  5495. type: integer
  5496. qty:
  5497. description: 数量
  5498. type: number
  5499. recordname:
  5500. description: 类型名称
  5501. type: string
  5502. relatedid:
  5503. description: 套保计划ID/现货合同ID
  5504. type: string
  5505. relatedno:
  5506. description: 编号
  5507. type: string
  5508. strtime:
  5509. description: 时间
  5510. type: string
  5511. wrstandardcode:
  5512. description: 现货商品代码
  5513. type: string
  5514. wrstandardname:
  5515. description: 现货商品名称
  5516. type: string
  5517. type: object
  5518. models.ErmcpAvalidGoodsGroupModel:
  5519. properties:
  5520. goodsgroupid:
  5521. description: 期货品种id
  5522. type: integer
  5523. goodsgroupname:
  5524. description: 期货品种名称
  5525. type: string
  5526. goodunitid:
  5527. description: 品种单位id
  5528. type: integer
  5529. goodunitname:
  5530. description: 品种单位名称
  5531. type: string
  5532. outergroupcode:
  5533. description: 期货品种代码
  5534. type: string
  5535. type: object
  5536. models.ErmcpBizGroupEx:
  5537. properties:
  5538. acclist:
  5539. description: 账号列表
  5540. items:
  5541. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5542. type: array
  5543. bizgroupid:
  5544. description: 业务分组id
  5545. type: integer
  5546. biztype:
  5547. description: 业务类型 1-套保 2-套利
  5548. type: integer
  5549. wrlist:
  5550. description: 现货商品表
  5551. items:
  5552. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5553. type: array
  5554. type: object
  5555. models.ErmcpBizGroupSpotGoods:
  5556. properties:
  5557. areauserid:
  5558. description: 所属机构id
  5559. type: integer
  5560. bizgroupid:
  5561. description: 分组id
  5562. type: integer
  5563. biztype:
  5564. description: 业务类型 1-套保 2-套利
  5565. type: integer
  5566. deliverygoodscode:
  5567. description: 现货商品代码
  5568. type: string
  5569. deliverygoodsid:
  5570. description: 现货商品id
  5571. type: integer
  5572. deliverygoodsname:
  5573. description: 现货商品名称
  5574. type: string
  5575. unitid:
  5576. description: 现货商品单位id
  5577. type: integer
  5578. type: object
  5579. models.ErmcpBizGroupTaAccount:
  5580. properties:
  5581. accountid:
  5582. description: 账号id
  5583. type: integer
  5584. accountname:
  5585. description: 账号名称
  5586. type: string
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 业务分组id
  5592. type: integer
  5593. ismain:
  5594. description: 是否主账号 1-是 0-否
  5595. type: integer
  5596. type: object
  5597. models.ErmcpDGFactoryItem:
  5598. properties:
  5599. areauserid:
  5600. description: 用户id
  5601. type: integer
  5602. deliverygoodsid:
  5603. description: 现货品种ID
  5604. type: integer
  5605. dgfactoryitemid:
  5606. description: 选择项ID(SEQ_DGFACTORYITEM)
  5607. type: integer
  5608. dgfactoryitemtypeid:
  5609. description: 要素项类型
  5610. type: integer
  5611. dgfactoryitemvalue:
  5612. description: 要素项值(类型为仓库时填写仓库名称)
  5613. type: string
  5614. isvalid:
  5615. description: 是否有效 - 0:无效 1:有效
  5616. type: integer
  5617. orderindex:
  5618. description: 顺序
  5619. type: integer
  5620. warehouseid:
  5621. description: 仓库ID(类型为仓库时填写)
  5622. type: integer
  5623. type: object
  5624. models.ErmcpDeliveryGoods:
  5625. properties:
  5626. agreeunit:
  5627. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5628. type: integer
  5629. areauserid:
  5630. description: 所属机构
  5631. type: integer
  5632. auditflag:
  5633. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5634. type: integer
  5635. categoryid:
  5636. description: 类别ID(SEQ_WRCATEGORY)
  5637. type: integer
  5638. deliverygoodscode:
  5639. description: 现货品种代码
  5640. type: string
  5641. deliverygoodsid:
  5642. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5643. type: integer
  5644. deliverygoodsname:
  5645. description: 现货品种名称
  5646. type: string
  5647. deliverygoodstype:
  5648. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5649. type: integer
  5650. dgstatus:
  5651. description: 品种状态 - 作废 - 0:未激活 1:正常
  5652. type: integer
  5653. enumdicname:
  5654. description: 现货品种单位名称
  5655. type: string
  5656. goodsunitid:
  5657. description: 现货品种单位ID
  5658. type: integer
  5659. isvalid:
  5660. description: 是否有效 - 0:无效 1:有效
  5661. type: integer
  5662. qtydecimalplace:
  5663. description: 成交量小数位
  5664. type: integer
  5665. remark:
  5666. description: 备注
  5667. type: string
  5668. standardqty:
  5669. description: 标准数量(库位数量) [标准品特有]
  5670. type: integer
  5671. standardqtyrange:
  5672. description: 标准数量偏差范围 [标准品特有]
  5673. type: integer
  5674. type: object
  5675. models.ErmcpDeliveryGoodsDetail2:
  5676. properties:
  5677. convertratio:
  5678. description: 套保系数(折算系数)
  5679. type: number
  5680. data:
  5681. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5682. description: 现货商品基本信息(交割品种)
  5683. type: object
  5684. gblist:
  5685. description: 品牌列表
  5686. items:
  5687. $ref: '#/definitions/models.Ermcp3Brand'
  5688. type: array
  5689. gmlist:
  5690. description: 品类列表(仓单标准)
  5691. items:
  5692. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5693. type: array
  5694. type: object
  5695. models.ErmcpDeliveryGoodsDetailEx:
  5696. properties:
  5697. data:
  5698. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5699. description: 现货商品基本信息(交割品种)
  5700. type: object
  5701. gblist:
  5702. description: 品牌列表
  5703. items:
  5704. $ref: '#/definitions/models.Ermcp3Brand'
  5705. type: array
  5706. gmlist:
  5707. description: 品类列表(仓单标准)
  5708. items:
  5709. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5710. type: array
  5711. mgList:
  5712. description: 套保列表
  5713. items:
  5714. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5715. type: array
  5716. type: object
  5717. models.ErmcpExposureDetailModel:
  5718. properties:
  5719. areauserid:
  5720. description: 机构ID
  5721. type: integer
  5722. changeQty:
  5723. description: 套保变动量
  5724. type: number
  5725. contracttype:
  5726. description: 现货合同类型 - 1:采购 -1:销售
  5727. type: integer
  5728. convertfactor:
  5729. description: 标仓系数
  5730. type: number
  5731. convertratio:
  5732. description: 套保系数
  5733. type: number
  5734. createtime:
  5735. description: 时间
  5736. type: string
  5737. enumdicname:
  5738. description: 现货商品单位名称
  5739. type: string
  5740. logtype:
  5741. description: 类型 - 1:套保计划 2:现货合同
  5742. type: integer
  5743. middlegoodsId:
  5744. description: 套保商品id
  5745. type: integer
  5746. middlegoodscode:
  5747. description: 套保商品代码
  5748. type: string
  5749. middlegoodsname:
  5750. description: 套保商品名称
  5751. type: string
  5752. qty:
  5753. description: 数量
  5754. type: number
  5755. relateNo:
  5756. description: 现货合同/套保计划编号
  5757. type: string
  5758. wrstandardcode:
  5759. description: 现货商品代码
  5760. type: string
  5761. wrstandardid:
  5762. description: 现货商品ID
  5763. type: integer
  5764. wrstandardname:
  5765. description: 现货商品名称
  5766. type: string
  5767. type: object
  5768. models.ErmcpExposurePostion:
  5769. properties:
  5770. agreeunit:
  5771. description: 合约单位
  5772. type: string
  5773. areauserid:
  5774. description: 所属机构id
  5775. type: integer
  5776. convertratio:
  5777. description: 期货品种系数(折算系数)
  5778. type: number
  5779. curqty:
  5780. description: 当前持仓
  5781. type: integer
  5782. diffhedgeqty:
  5783. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5784. type: number
  5785. diffqty:
  5786. description: 持仓变动量=当前持仓-昨日持仓
  5787. type: integer
  5788. goodscode:
  5789. description: 商品代码
  5790. type: string
  5791. goodsid:
  5792. description: 商品id
  5793. type: integer
  5794. goodsname:
  5795. description: 商品名称
  5796. type: string
  5797. middlegoodsid:
  5798. description: 套保商品id
  5799. type: integer
  5800. ydqty:
  5801. description: 昨日持仓
  5802. type: integer
  5803. type: object
  5804. models.ErmcpFuturesCompany:
  5805. properties:
  5806. brokerid:
  5807. description: 经纪公司代码
  5808. type: string
  5809. channeladdress:
  5810. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5811. type: string
  5812. channelid:
  5813. description: 对冲渠道ID
  5814. type: string
  5815. createtime:
  5816. description: 创建时间
  5817. type: string
  5818. creatorid:
  5819. description: 创建人
  5820. type: string
  5821. fcid:
  5822. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5823. type: integer
  5824. fcname:
  5825. description: 期货公司名称
  5826. type: string
  5827. isvalid:
  5828. description: 是否有效 - 0:无效 1:有效
  5829. type: integer
  5830. mhpaddress:
  5831. description: MHP服务地址(IP:Port)
  5832. type: string
  5833. riskrulegroupid:
  5834. description: 风控规则组ID
  5835. type: string
  5836. tradefeetmpid:
  5837. description: 手续费模板ID[TradeConfigTmpType为2]
  5838. type: string
  5839. trademargintmpid:
  5840. description: 保证金模板ID [TradeConfigTmpType为1]
  5841. type: string
  5842. traderatetmpid:
  5843. description: 汇率模板ID[TradeConfigTmpType为3]
  5844. type: string
  5845. updatetime:
  5846. description: 更新时间
  5847. type: string
  5848. updatorid:
  5849. description: 更新人
  5850. type: string
  5851. type: object
  5852. models.ErmcpGGConvertCfg:
  5853. properties:
  5854. convertratio:
  5855. description: 折算系数
  5856. type: number
  5857. destgoodsgroupid:
  5858. description: 目标品种ID
  5859. type: integer
  5860. dstcode:
  5861. description: 目录品种代码
  5862. type: string
  5863. dstexchangecode:
  5864. description: 目标期货交易所
  5865. type: string
  5866. dstname:
  5867. description: 目标品种名称
  5868. type: string
  5869. dstunitid:
  5870. description: 目标品种单位ID
  5871. type: integer
  5872. dstunitidname:
  5873. description: 目标品种单位名称
  5874. type: string
  5875. modifytime:
  5876. description: 修改时间
  5877. type: string
  5878. srccode:
  5879. description: 源品种代码
  5880. type: string
  5881. srcexchangecode:
  5882. description: 源期货交易所
  5883. type: string
  5884. srcgoodsgroupid:
  5885. description: 源品种ID
  5886. type: integer
  5887. srcname:
  5888. description: 源品种名称
  5889. type: string
  5890. srcunitid:
  5891. description: 源品种单位ID
  5892. type: integer
  5893. srcunitidname:
  5894. description: 源品种单位名称
  5895. type: string
  5896. type: object
  5897. models.ErmcpGoods:
  5898. properties:
  5899. agreeunit:
  5900. description: 合约单位
  5901. type: number
  5902. areauserid:
  5903. description: 所属机构
  5904. type: integer
  5905. auditaccountid:
  5906. description: 审核操作员账号
  5907. type: integer
  5908. audittime:
  5909. description: 审核时间
  5910. type: string
  5911. cancelaccountid:
  5912. description: 注销操作员账号
  5913. type: integer
  5914. canceltime:
  5915. description: 注销时间
  5916. type: string
  5917. closepricemode:
  5918. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5919. type: integer
  5920. closepriceparam:
  5921. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5922. type: number
  5923. createtime:
  5924. description: 创建时间
  5925. type: string
  5926. creatorid:
  5927. description: 创建人
  5928. type: integer
  5929. currencyid:
  5930. description: 报价货币ID
  5931. type: integer
  5932. cutmode:
  5933. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5934. type: integer
  5935. decimalplace:
  5936. description: 报价小数位
  5937. type: integer
  5938. delistingdate:
  5939. description: 商品退市时间(状态:退市) -- 已作废
  5940. type: string
  5941. delistingmode:
  5942. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5943. type: integer
  5944. deliveryflag:
  5945. description: 交割标志 - 0:不可交割 1:可交割
  5946. type: integer
  5947. enumdicname:
  5948. description: 单位名称
  5949. type: string
  5950. forceclosemode:
  5951. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5952. type: integer
  5953. forceclosevalue:
  5954. description: 定期强平参数 [收益权]
  5955. type: integer
  5956. goodscode:
  5957. description: 商品代码(内部)
  5958. type: string
  5959. goodscurrencyid:
  5960. description: 合约货币ID
  5961. type: integer
  5962. goodsgroupid:
  5963. description: 所属商品组ID
  5964. type: integer
  5965. goodsid:
  5966. description: 商品ID(自增ID SEQ_GOODS)
  5967. type: integer
  5968. goodsname:
  5969. description: 商品名称
  5970. type: string
  5971. goodsquotetype:
  5972. description: '合约报价类型: 1-直接报价 2-间接报价'
  5973. type: integer
  5974. goodsstatus:
  5975. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5976. type: integer
  5977. goodstradetype:
  5978. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5979. type: integer
  5980. goodunitid:
  5981. description: 报价单位ID
  5982. type: integer
  5983. hasquoter:
  5984. description: 是否有报价商 - 0:无报价商 1:有报价商
  5985. type: integer
  5986. hqprotecttime:
  5987. description: 行情保护时间(秒)
  5988. type: integer
  5989. innerdealmode:
  5990. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5991. type: integer
  5992. isbuylimited:
  5993. description: 是否限制建仓量 - 0:不限制 1:限制
  5994. type: integer
  5995. isvisible:
  5996. description: 游客是否可见 - 0:不可见 1:可见
  5997. type: integer
  5998. lasttradedate:
  5999. description: 最后交易日期(状态:待退市)
  6000. type: string
  6001. listingdate:
  6002. description: 交易开始日期
  6003. type: string
  6004. marketid:
  6005. description: 所属市场ID
  6006. type: integer
  6007. modifierid:
  6008. description: 修改人
  6009. type: integer
  6010. modifystatus:
  6011. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6012. type: integer
  6013. modifytime:
  6014. description: 修改时间
  6015. type: string
  6016. outerdealmode:
  6017. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6018. type: integer
  6019. outgoodscode:
  6020. description: 商品代码(外部)
  6021. type: string
  6022. pictureurl:
  6023. description: 商品图片
  6024. type: string
  6025. qtydecimalplace:
  6026. description: 成交量小数位
  6027. type: integer
  6028. quotegear:
  6029. description: 行情档位(1-10)
  6030. type: integer
  6031. quoteminunit:
  6032. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6033. type: integer
  6034. quoteshowtype:
  6035. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6036. type: integer
  6037. quoteshowtypeinterval:
  6038. description: 行情报价间隔时间(秒)(成交价时为0)
  6039. type: integer
  6040. relatedgoodsid:
  6041. description: 关联参考商品ID
  6042. type: integer
  6043. remark:
  6044. description: 备注
  6045. type: string
  6046. trademode:
  6047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6048. 21:竞拍-大宗式 22:受托竞价
  6049. type: integer
  6050. required:
  6051. - goodscode
  6052. - goodsid
  6053. - goodsname
  6054. - marketid
  6055. type: object
  6056. models.ErmcpGoodsBrand:
  6057. properties:
  6058. areauserid:
  6059. description: 所属机构
  6060. type: integer
  6061. brandid:
  6062. description: BrandID(SEQ_SPOTGOODSBRAND)
  6063. type: integer
  6064. brandname:
  6065. description: 品牌名称
  6066. type: string
  6067. createtime:
  6068. description: 创建时间
  6069. type: string
  6070. creatorid:
  6071. description: 创建人
  6072. type: integer
  6073. creatorsrc:
  6074. description: 创建人来源 - 1:管理端 2:终端
  6075. type: integer
  6076. deliverygoodsid:
  6077. description: 现货品种ID
  6078. type: integer
  6079. isvalid:
  6080. description: 是否有效 - 0:无效 1:有效
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. updatorid:
  6086. description: 更新人
  6087. type: integer
  6088. updatorsrc:
  6089. description: 更新人来源 - 1:管理端 2:终端
  6090. type: integer
  6091. wrstandardid:
  6092. description: 现货商品ID
  6093. type: integer
  6094. type: object
  6095. models.ErmcpGoodsModel:
  6096. properties:
  6097. areauserid:
  6098. description: 所属机构
  6099. type: integer
  6100. convertfactor:
  6101. description: 标仓系数
  6102. type: number
  6103. createtime:
  6104. description: 创建时间
  6105. type: string
  6106. creatorid:
  6107. description: 创建人
  6108. type: integer
  6109. creatorsrc:
  6110. description: 创建人来源 - 1:管理端 2:终端
  6111. type: integer
  6112. deliverygoodsid:
  6113. description: 现货品种ID
  6114. type: integer
  6115. isvalid:
  6116. description: 是否有效 - 0:无效 1:有效
  6117. type: integer
  6118. modelid:
  6119. description: ModelID(SEQ_SPOTGOODSMODEL)
  6120. type: integer
  6121. modelname:
  6122. description: 型号名称
  6123. type: string
  6124. updatetime:
  6125. description: 更新时间
  6126. type: string
  6127. updatorid:
  6128. description: 更新人
  6129. type: integer
  6130. updatorsrc:
  6131. description: 更新人来源 - 1:管理端 2:终端
  6132. type: integer
  6133. wrstandardid:
  6134. description: 现货商品ID
  6135. type: integer
  6136. type: object
  6137. models.ErmcpHedgePosition:
  6138. properties:
  6139. accountid:
  6140. description: 资金账号[外部母账户]
  6141. type: integer
  6142. curbuyposition:
  6143. description: 期末买头寸
  6144. type: integer
  6145. cursellposition:
  6146. description: 期末卖头寸
  6147. type: integer
  6148. curtdbuyposition:
  6149. description: 期末今日买头寸
  6150. type: integer
  6151. curtdsellposition:
  6152. description: 期末今日卖头寸
  6153. type: integer
  6154. curydbuyposition:
  6155. description: 期末上日买头寸
  6156. type: integer
  6157. curydsellposition:
  6158. description: 期末上日卖头寸
  6159. type: integer
  6160. decreaseqty:
  6161. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6162. type: integer
  6163. fretdbuyposition:
  6164. description: 冻结今日买头寸
  6165. type: integer
  6166. fretdsellposition:
  6167. description: 冻结今日卖头寸
  6168. type: integer
  6169. freydbuyposition:
  6170. description: 冻结上日买头寸
  6171. type: integer
  6172. freydsellposition:
  6173. description: 冻结上日卖头寸
  6174. type: integer
  6175. goodscode:
  6176. description: 商品代码
  6177. type: string
  6178. goodsid:
  6179. description: 商品id
  6180. type: integer
  6181. goodsname:
  6182. description: 商品名称
  6183. type: string
  6184. hedgeaccountcode:
  6185. description: 对冲账号
  6186. type: string
  6187. hedgegoodsid:
  6188. description: 对冲合约ID
  6189. type: integer
  6190. increaseqty:
  6191. description: 增加数量 = 期末买头寸 - 期初买头寸
  6192. type: integer
  6193. marketid:
  6194. description: 市场ID
  6195. type: integer
  6196. relateduserid:
  6197. description: 关联用户id
  6198. type: integer
  6199. totalcurqty:
  6200. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6201. type: integer
  6202. totalydqty:
  6203. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6204. type: integer
  6205. tradedate:
  6206. description: 交易日(yyyyMMdd)
  6207. type: string
  6208. ydbuyposition:
  6209. description: 期初买头寸
  6210. type: integer
  6211. ydsellposition:
  6212. description: 期初卖头寸
  6213. type: integer
  6214. type: object
  6215. models.ErmcpHedgePositionDetail:
  6216. properties:
  6217. buyorsell:
  6218. description: 买卖方向 0-买 1-卖
  6219. type: integer
  6220. channelbuildtype:
  6221. description: 开平方向 1-建仓 2-平仓
  6222. type: integer
  6223. goodscode:
  6224. description: 商品代码
  6225. type: string
  6226. goodsname:
  6227. description: 商品名称
  6228. type: string
  6229. hedgegoodsid:
  6230. description: 商品id
  6231. type: integer
  6232. tradeqty:
  6233. description: 数量(成交数量)
  6234. type: integer
  6235. tradetime:
  6236. description: 时间(成交时间)
  6237. type: string
  6238. type: object
  6239. models.ErmcpHisExposure:
  6240. properties:
  6241. needhedgeexposoure:
  6242. description: 应套保敞口
  6243. type: number
  6244. reckondate:
  6245. description: 日照时期(yyyyMMdd)
  6246. type: string
  6247. totalexposure:
  6248. description: 总敞口
  6249. type: number
  6250. type: object
  6251. models.ErmcpHisExposureS:
  6252. properties:
  6253. data:
  6254. description: 历史敞口
  6255. items:
  6256. $ref: '#/definitions/models.ErmcpHisExposure'
  6257. type: array
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. type: object
  6271. models.ErmcpLoginTaAccount:
  6272. properties:
  6273. accountid:
  6274. description: 账号id
  6275. type: integer
  6276. accountname:
  6277. description: 账号名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginUser:
  6281. properties:
  6282. acclist:
  6283. description: 关联资金账号
  6284. items:
  6285. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6286. type: array
  6287. accountname:
  6288. description: 用户名称
  6289. type: string
  6290. clientroleid:
  6291. description: 角色id(usertype=2)
  6292. type: integer
  6293. createtime:
  6294. description: 创建时间
  6295. type: string
  6296. logincode:
  6297. description: 登录代码
  6298. type: string
  6299. loginid:
  6300. description: 登录id(LOGINID)
  6301. type: integer
  6302. loginname:
  6303. description: 登录名称(loginaccount表中的accountname字段)
  6304. type: string
  6305. loginstatus:
  6306. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6307. type: integer
  6308. memberuserid:
  6309. description: 所属会员id
  6310. type: integer
  6311. mobile:
  6312. description: 手机号
  6313. type: string
  6314. modifytime:
  6315. description: 修改时间
  6316. type: string
  6317. password:
  6318. description: 密码(不可解密)
  6319. type: string
  6320. rolename:
  6321. description: 角色名称
  6322. type: string
  6323. rolestatus:
  6324. description: 角色状态 1-启用 2-停用
  6325. type: integer
  6326. roletype:
  6327. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6328. type: string
  6329. userid:
  6330. description: 用户id
  6331. type: integer
  6332. usertype:
  6333. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6334. type: integer
  6335. type: object
  6336. models.ErmcpLoginUserEx:
  6337. properties:
  6338. accountstatus:
  6339. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. querytype:
  6345. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6346. type: integer
  6347. roleid:
  6348. description: 角色id(交易账户->用户id)
  6349. type: integer
  6350. rolename:
  6351. description: 角色名称(交易账户->用户名称)
  6352. type: string
  6353. userlist:
  6354. description: 用户列表
  6355. items:
  6356. $ref: '#/definitions/models.ErmcpLoginUser'
  6357. type: array
  6358. usertype:
  6359. description: 用户类型 2-机构 7-企业成员(云平台)
  6360. type: integer
  6361. type: object
  6362. models.ErmcpMiddleGoodsChangeLog:
  6363. properties:
  6364. aftervalue:
  6365. description: 变更后
  6366. type: number
  6367. applyid:
  6368. description: 操作人
  6369. type: integer
  6370. applyname:
  6371. description: 操作人名称
  6372. type: string
  6373. applysrc:
  6374. description: 操作来源 - 1:管理端 2:终端
  6375. type: integer
  6376. beforevalue:
  6377. description: 变更前
  6378. type: number
  6379. changelogtype:
  6380. description: 变更流水类型 - 1:套保比率变更
  6381. type: integer
  6382. handlestatus:
  6383. description: 处理状态
  6384. type: integer
  6385. logdatetime:
  6386. description: 流水日期
  6387. type: string
  6388. logid:
  6389. description: 流水ID
  6390. type: integer
  6391. logremark:
  6392. description: 流水备注
  6393. type: string
  6394. middlegoodsid:
  6395. description: 套保品种ID
  6396. type: integer
  6397. tradedate:
  6398. description: 交易日(yyyyMMdd)
  6399. type: string
  6400. updatetime:
  6401. description: 更新时间
  6402. type: string
  6403. type: object
  6404. models.ErmcpMiddleGoodsDetail:
  6405. properties:
  6406. cvList:
  6407. description: 期货品种折算列表
  6408. items:
  6409. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6410. type: array
  6411. mg:
  6412. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6413. description: 套保品种基本信息
  6414. type: object
  6415. wrcList:
  6416. description: 现货品种列表(现货商品折算配置)
  6417. items:
  6418. $ref: '#/definitions/models.WRSConverTDetail'
  6419. type: array
  6420. type: object
  6421. models.ErmcpMiddleGoodsModel:
  6422. properties:
  6423. areauserid:
  6424. description: 机构用户ID
  6425. type: integer
  6426. createtime:
  6427. description: 修改时间
  6428. type: string
  6429. enumdicname:
  6430. description: 单位名称
  6431. type: string
  6432. evaluateratio:
  6433. description: 估价系数
  6434. type: number
  6435. goodsgroupid:
  6436. description: 关联期货品种ID
  6437. type: integer
  6438. goodsunitid:
  6439. description: 单位ID
  6440. type: integer
  6441. isvalid:
  6442. description: 状态 0-无效(停用) 1-有效(正常)
  6443. type: integer
  6444. middlegoodscode:
  6445. description: 套保品种代码
  6446. type: string
  6447. middlegoodsid:
  6448. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6449. type: integer
  6450. middlegoodsname:
  6451. description: 套保品种名称
  6452. type: string
  6453. modifytime:
  6454. description: 修改时间
  6455. type: string
  6456. needarbitrageratio:
  6457. description: 套利比例
  6458. type: number
  6459. needhedgeratio:
  6460. description: 套保比率
  6461. type: number
  6462. qtydecimalplace:
  6463. description: 数量小数位
  6464. type: integer
  6465. relatedgoodsid:
  6466. description: 关联交易商品ID
  6467. type: integer
  6468. relatedgoodstype:
  6469. description: 关联商品类型 - 1:期货合约 2:现货品种
  6470. type: integer
  6471. remark:
  6472. description: 备注
  6473. type: string
  6474. type: object
  6475. models.ErmcpMiddlegoodsRelateGoods:
  6476. properties:
  6477. agreeunit:
  6478. description: 合约乘数
  6479. type: number
  6480. convertratio:
  6481. description: 折算系数
  6482. type: number
  6483. enumdicname:
  6484. description: 单位名称(交易商品)
  6485. type: string
  6486. goodscode:
  6487. description: 交易商品代码
  6488. type: string
  6489. goodsgroupid:
  6490. description: 交易品种id
  6491. type: integer
  6492. goodsid:
  6493. description: 商品Id
  6494. type: integer
  6495. goodsname:
  6496. description: 交易商品名称
  6497. type: string
  6498. goodunitid:
  6499. description: 交易商品单位id
  6500. type: integer
  6501. middlegoodsid:
  6502. description: 套保商品id
  6503. type: integer
  6504. middlegoodsname:
  6505. description: 套保商品名称
  6506. type: string
  6507. middlegoodsswcode:
  6508. description: 套保商品代码
  6509. type: string
  6510. needarbitrageratio:
  6511. description: 应套利比例
  6512. type: number
  6513. needhedgeratio:
  6514. description: 应套保比例
  6515. type: number
  6516. type: object
  6517. models.ErmcpOPLogModel:
  6518. properties:
  6519. aftervalue:
  6520. description: 变更后
  6521. type: number
  6522. applyid:
  6523. description: 操作人ID
  6524. type: string
  6525. applyname:
  6526. description: 操作人名称
  6527. type: string
  6528. beforevalue:
  6529. description: 变更前
  6530. type: number
  6531. biztype:
  6532. description: 业务类型 - 1:套保计划 2:现货合同
  6533. type: integer
  6534. contracttype:
  6535. description: 现货合同类型 - 1:采购 -1:销售
  6536. type: integer
  6537. logvalue:
  6538. description: 数值
  6539. type: number
  6540. operatelogtype:
  6541. description: 操作流水类型
  6542. type: integer
  6543. operatelogtypedesc:
  6544. description: 操作流水类型名称
  6545. type: string
  6546. relatedid:
  6547. description: 现货合同ID\套保计划
  6548. type: string
  6549. updatetime:
  6550. description: 更新时间
  6551. type: string
  6552. type: object
  6553. models.ErmcpPendingAudit:
  6554. properties:
  6555. areastockqty:
  6556. description: '待审核数量: 库存申请'
  6557. type: integer
  6558. businessdjqty:
  6559. description: '待审核数量: 点价'
  6560. type: integer
  6561. businessfpqty:
  6562. description: '待审核数量: 发票'
  6563. type: integer
  6564. businessjsqty:
  6565. description: '待审核数量: 结算'
  6566. type: integer
  6567. businesskxqty:
  6568. description: '待审核数量: 款项'
  6569. type: integer
  6570. hedgeplanqty:
  6571. description: '待审核数量: 套保计划'
  6572. type: integer
  6573. spotcontractqty:
  6574. description: '待审核数量: 现货合同'
  6575. type: integer
  6576. userqty:
  6577. description: '待审核数量: 用户'
  6578. type: integer
  6579. type: object
  6580. models.ErmcpRealExposureModel:
  6581. properties:
  6582. AreaUserID:
  6583. description: 所属机构
  6584. type: integer
  6585. BuyFutureQty:
  6586. description: 买入期货数量
  6587. type: number
  6588. BuyPlanQty:
  6589. description: 采购计划数量
  6590. type: number
  6591. BuyPricedQty:
  6592. description: 采购合同已定价数量
  6593. type: number
  6594. MiddleGoodsCode:
  6595. description: 套保品种代码
  6596. type: string
  6597. MiddleGoodsHedgeRatio:
  6598. description: 套保比例
  6599. type: number
  6600. MiddleGoodsID:
  6601. description: 套保品种
  6602. type: integer
  6603. MiddleGoodsName:
  6604. description: 套保品种名称
  6605. type: string
  6606. NeedHedgeExposoure:
  6607. description: 应套保敞口(套保敞口)
  6608. type: number
  6609. NeedHedgeRatio:
  6610. description: 应套保敞口比例
  6611. type: number
  6612. OriBuyFutureQty:
  6613. description: 期初买入期货数量
  6614. type: number
  6615. OriBuyPlanQty:
  6616. description: 期初采购计划数量
  6617. type: number
  6618. OriBuyPricedQty:
  6619. description: 期初采购合同已定价数量
  6620. type: number
  6621. OriSellFutureQty:
  6622. description: 期初卖出期货数量
  6623. type: number
  6624. OriSellPlanQty:
  6625. description: 期初销售计划数量
  6626. type: number
  6627. OriSellPricedQty:
  6628. description: 期初销售合同已定价数量
  6629. type: number
  6630. SellFutureQty:
  6631. description: 卖出期货数量
  6632. type: number
  6633. SellPlanQty:
  6634. description: 销售计划数量
  6635. type: number
  6636. SellPricedQty:
  6637. description: 销售合同已定价数量
  6638. type: number
  6639. TotalExposure:
  6640. description: 总敞口
  6641. type: number
  6642. TotalFutureQty:
  6643. description: 期货总量
  6644. type: number
  6645. TotalHedgeRatio:
  6646. description: 敞口比例
  6647. type: number
  6648. TotalNeedHedgeQty:
  6649. description: 应套保总量(现货应套保总量)
  6650. type: number
  6651. TotalSpotQty:
  6652. description: 现货总量
  6653. type: number
  6654. arbitrageqty:
  6655. description: 套利量
  6656. type: number
  6657. diffArbitrageQty:
  6658. description: 套利变动量
  6659. type: number
  6660. diffExposoureQty:
  6661. description: 变动量(套保敞口)
  6662. type: number
  6663. diffFutuQty:
  6664. description: 变动量(期货总量)
  6665. type: number
  6666. diffHedgeQty:
  6667. description: 套保变动量
  6668. type: number
  6669. diffQty:
  6670. description: 变动量(总敞口)
  6671. type: number
  6672. diffSpotHedgeQty:
  6673. description: 变动量(现货应套保总量)
  6674. type: number
  6675. diffSpotQty:
  6676. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6677. type: number
  6678. enumdicname:
  6679. description: 单位名称
  6680. type: string
  6681. hedgeqty:
  6682. description: 套保量
  6683. type: number
  6684. needarbitrageqty:
  6685. description: 应套利量
  6686. type: number
  6687. needarbitrageratio:
  6688. description: 套利比例
  6689. type: number
  6690. needhedgeqty:
  6691. description: 应套保量
  6692. type: number
  6693. oriTotalFutuQty:
  6694. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6695. type: number
  6696. oriTotalSpotQty:
  6697. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6698. type: number
  6699. oriarbitrageqty:
  6700. description: 期初套利量
  6701. type: number
  6702. orihedgeqty:
  6703. description: 期初套保量
  6704. type: number
  6705. orineedhedgeexposoure:
  6706. description: 期初套保敞口
  6707. type: number
  6708. oritotalexposure:
  6709. description: 期初总敞口
  6710. type: number
  6711. oritotalfutureqty:
  6712. description: 期初期货总量
  6713. type: number
  6714. oritotalneedhedgeqty:
  6715. description: 期初现货应套保量
  6716. type: number
  6717. type: object
  6718. models.ErmcpRole:
  6719. properties:
  6720. areauserid:
  6721. description: 所属机构
  6722. type: integer
  6723. autoid:
  6724. description: 角色ID(自增ID)
  6725. type: integer
  6726. modifierid:
  6727. description: 修改人(创建人)
  6728. type: integer
  6729. modifiername:
  6730. description: 修改人名称
  6731. type: string
  6732. modifytime:
  6733. description: 修改时间(创建时间)
  6734. type: string
  6735. rolename:
  6736. description: 角色名称
  6737. type: string
  6738. rolestatus:
  6739. description: 角色状态 - 1:启用 2:停用
  6740. type: integer
  6741. roletype:
  6742. description: 角色类型 - 1- 管理端 2- 交易端
  6743. type: integer
  6744. type: object
  6745. models.ErmcpRoleMenu:
  6746. properties:
  6747. iconame:
  6748. description: 菜单图标
  6749. type: string
  6750. ishadrole:
  6751. description: 是否有权限
  6752. type: boolean
  6753. menutype:
  6754. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6755. type: integer
  6756. parentcode:
  6757. description: 上级资源代码
  6758. type: string
  6759. remark:
  6760. description: 菜单备注
  6761. type: string
  6762. resourcecode:
  6763. description: 菜单代码
  6764. type: string
  6765. resourcelevel:
  6766. description: 级别
  6767. type: integer
  6768. resourcename:
  6769. description: 菜单名称
  6770. type: string
  6771. roleid:
  6772. description: 角色id
  6773. type: integer
  6774. sort:
  6775. description: 排序
  6776. type: integer
  6777. url:
  6778. description: URL
  6779. type: string
  6780. userid:
  6781. description: 用户id
  6782. type: integer
  6783. type: object
  6784. models.ErmcpRoleMenuEx:
  6785. properties:
  6786. menu:
  6787. $ref: '#/definitions/models.ErmcpRoleMenu'
  6788. description: 父级菜单
  6789. type: object
  6790. subMenu:
  6791. description: 子级菜单
  6792. items:
  6793. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6794. type: array
  6795. type: object
  6796. models.ErmcpTaAccount:
  6797. properties:
  6798. accountid:
  6799. description: 账户id
  6800. type: integer
  6801. accountname:
  6802. description: 账户名称
  6803. type: string
  6804. currencyid:
  6805. description: 币种id
  6806. type: integer
  6807. hedgeaccountcode:
  6808. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6809. type: string
  6810. ismain:
  6811. description: 是否主账户 0-否 1-是
  6812. type: integer
  6813. parentaccountid:
  6814. description: 父账户id
  6815. type: integer
  6816. relateduserid:
  6817. description: 关联userid
  6818. type: integer
  6819. tradefeetmpid:
  6820. description: 手续费模板id
  6821. type: integer
  6822. tradefeetmpname:
  6823. description: 手续费模板名称
  6824. type: string
  6825. trademargintmpid:
  6826. description: 保证金模板id
  6827. type: integer
  6828. trademargintmpname:
  6829. description: 保证金模板名称
  6830. type: string
  6831. traderatetmpid:
  6832. description: 汇率模板id
  6833. type: integer
  6834. traderatetmpname:
  6835. description: 汇率模板名称
  6836. type: string
  6837. tradestatus:
  6838. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6839. type: integer
  6840. userid:
  6841. description: 用户id
  6842. type: integer
  6843. type: object
  6844. models.ErmcpTaAccountEx:
  6845. properties:
  6846. mainAcc:
  6847. $ref: '#/definitions/models.ErmcpTaAccountM'
  6848. description: 主账号
  6849. type: object
  6850. subacclist:
  6851. description: 子账号列表
  6852. items:
  6853. $ref: '#/definitions/models.ErmcpTaAccount'
  6854. type: array
  6855. type: object
  6856. models.ErmcpTaAccountInfo:
  6857. properties:
  6858. accountid:
  6859. description: 资金账户ID
  6860. type: integer
  6861. accountname:
  6862. description: 账户名称
  6863. type: string
  6864. balance:
  6865. description: 期初余额
  6866. type: number
  6867. capitalbalance:
  6868. description: 本金余额[外部子账户实际出入金余额]
  6869. type: number
  6870. closepl:
  6871. description: 今日平仓盈亏
  6872. type: number
  6873. creditdecrease:
  6874. description: 今日授信减少
  6875. type: number
  6876. creditincrease:
  6877. description: 今日授信增加
  6878. type: number
  6879. curdebt:
  6880. description: 期末欠款
  6881. type: number
  6882. currencyid:
  6883. description: 货币ID
  6884. type: integer
  6885. currentbalance:
  6886. description: 期末余额
  6887. type: number
  6888. freezecharge:
  6889. description: 手续费冻结
  6890. type: number
  6891. freezemargin:
  6892. description: 冻结保证金
  6893. type: number
  6894. fromaccountid:
  6895. description: 所属上级账户
  6896. type: integer
  6897. inamount:
  6898. description: 今日入金金额(包括三方入金)
  6899. type: number
  6900. ismain:
  6901. description: 是否母账号 0:不是母账户 1:是母账户
  6902. type: integer
  6903. mortgagecredit:
  6904. description: 授信金额
  6905. type: number
  6906. oridebt:
  6907. description: 期初欠款
  6908. type: number
  6909. orifreezecharge:
  6910. description: 期初手续费冻结
  6911. type: number
  6912. orifreezemargin:
  6913. description: 期初冻结保证金
  6914. type: number
  6915. orimortgagecredit:
  6916. description: 期初授信金额
  6917. type: number
  6918. oriothercredit:
  6919. description: 期初其它授信金额
  6920. type: number
  6921. oriotherfreezemargin:
  6922. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6923. type: number
  6924. orioutamountfreeze:
  6925. description: 期初出金冻结
  6926. type: number
  6927. oriusedmargin:
  6928. description: 期初占用保证金
  6929. type: number
  6930. othercredit:
  6931. description: 其它授信金额
  6932. type: number
  6933. othercreditdecrease:
  6934. description: 今日其它授信减少
  6935. type: number
  6936. othercreditincrease:
  6937. description: 今日其它授信增加
  6938. type: number
  6939. otherfreezemargin:
  6940. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6941. type: number
  6942. outamount:
  6943. description: 今日出金金额(包括三方出金)
  6944. type: number
  6945. outamountfreeze:
  6946. description: 出金冻结
  6947. type: number
  6948. outthreshold:
  6949. description: 出金阈值
  6950. type: number
  6951. parentaccountid:
  6952. description: 所属根账号
  6953. type: integer
  6954. paycharge:
  6955. description: 今日手续费支出
  6956. type: number
  6957. relateduserid:
  6958. description: 关联用户
  6959. type: integer
  6960. signstatus:
  6961. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6962. type: integer
  6963. sublevelpath:
  6964. description: 账号层级路径(逗号分隔,首尾加逗号)
  6965. type: string
  6966. taaccounttype:
  6967. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6968. type: integer
  6969. thirdinamount:
  6970. description: 今日三方入金
  6971. type: number
  6972. thirdoutamount:
  6973. description: 今日三方出金
  6974. type: number
  6975. tradestatus:
  6976. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6977. type: integer
  6978. transferamount:
  6979. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6980. type: number
  6981. usedmargin:
  6982. description: 占用保证金
  6983. type: number
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. type: object
  6988. models.ErmcpTaAccountM:
  6989. properties:
  6990. accountid:
  6991. description: 账户id
  6992. type: integer
  6993. accountname:
  6994. description: 账户名称
  6995. type: string
  6996. currencyid:
  6997. description: 币种id
  6998. type: integer
  6999. fcid:
  7000. description: 期货公司id
  7001. type: integer
  7002. fcname:
  7003. description: 期货公司代码
  7004. type: string
  7005. hedgeaccountcode:
  7006. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7007. type: string
  7008. ismain:
  7009. description: 是否主账户 0-否 1-是
  7010. type: integer
  7011. parentaccountid:
  7012. description: 父账户id
  7013. type: integer
  7014. relateduserid:
  7015. description: 关联userid
  7016. type: integer
  7017. tradefeetmpid:
  7018. description: 手续费模板id
  7019. type: integer
  7020. tradefeetmpname:
  7021. description: 手续费模板名称
  7022. type: string
  7023. trademargintmpid:
  7024. description: 保证金模板id
  7025. type: integer
  7026. trademargintmpname:
  7027. description: 保证金模板名称
  7028. type: string
  7029. traderatetmpid:
  7030. description: 汇率模板id
  7031. type: integer
  7032. traderatetmpname:
  7033. description: 汇率模板名称
  7034. type: string
  7035. tradestatus:
  7036. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7037. type: integer
  7038. userid:
  7039. description: 用户id
  7040. type: integer
  7041. type: object
  7042. models.ErmcpTradeConfigTMP:
  7043. properties:
  7044. areauserid:
  7045. description: 所属机构
  7046. type: integer
  7047. basiccurrencyid:
  7048. description: 基本币种ID[汇率] - 目标币种
  7049. type: integer
  7050. mainaccountid:
  7051. description: 主账户ID
  7052. type: integer
  7053. modifierid:
  7054. description: 修改人
  7055. type: integer
  7056. remark:
  7057. description: 备注
  7058. type: string
  7059. tradeconfigtmpid:
  7060. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7061. type: integer
  7062. tradeconfigtmpname:
  7063. description: 交易配置模板名称
  7064. type: string
  7065. tradeconfigtmptype:
  7066. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7067. type: integer
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. type: object
  7072. models.ErmcpUserModel:
  7073. properties:
  7074. address:
  7075. description: 通讯地址
  7076. type: string
  7077. attachment1:
  7078. description: 附件1
  7079. type: string
  7080. audittime:
  7081. description: 审核时间
  7082. type: string
  7083. cardbackphotourl:
  7084. description: 证件反面图片地址
  7085. type: string
  7086. cardfrontphotourl:
  7087. description: 证件正面图片地址
  7088. type: string
  7089. cardnum:
  7090. description: 证件号码
  7091. type: string
  7092. cardtype:
  7093. description: 证件类型
  7094. type: integer
  7095. cardtypename:
  7096. description: 证件类型名称
  7097. type: string
  7098. cityid:
  7099. description: 市
  7100. type: integer
  7101. contactname:
  7102. description: 联系人
  7103. type: string
  7104. countryid:
  7105. description: 国家
  7106. type: integer
  7107. createtime:
  7108. description: 创建时间
  7109. type: string
  7110. customername:
  7111. description: 企业名称
  7112. type: string
  7113. districtid:
  7114. description: 区域
  7115. type: integer
  7116. email:
  7117. description: 邮件
  7118. type: string
  7119. legalpersonname:
  7120. description: 法人姓名(企业)
  7121. type: string
  7122. memberuserid:
  7123. description: 所属机构ID
  7124. type: integer
  7125. mobile:
  7126. description: 手机号码
  7127. type: string
  7128. modifytime:
  7129. description: 修改时间
  7130. type: string
  7131. nickname:
  7132. description: 昵称
  7133. type: string
  7134. provinceid:
  7135. description: 省
  7136. type: integer
  7137. remark:
  7138. description: 备注
  7139. type: string
  7140. status:
  7141. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7142. type: integer
  7143. statusdesc:
  7144. description: 账户状态中文描述
  7145. type: string
  7146. taxpayernum:
  7147. description: 纳税人识别号
  7148. type: string
  7149. telphone:
  7150. description: 联系电话
  7151. type: string
  7152. userid:
  7153. description: 用户ID
  7154. type: integer
  7155. userinfotype:
  7156. description: 客户类型
  7157. type: string
  7158. type: object
  7159. models.ErmcpWareHouseInfo:
  7160. properties:
  7161. address:
  7162. description: 详细地址
  7163. type: string
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. autoid:
  7168. description: 自增ID(仓库ID)
  7169. type: integer
  7170. cityid:
  7171. description: 市
  7172. type: integer
  7173. contactname:
  7174. description: 联系人
  7175. type: string
  7176. contactnum:
  7177. description: 联系电话
  7178. type: string
  7179. countryid:
  7180. description: 国家
  7181. type: integer
  7182. createtime:
  7183. description: 创建时间
  7184. type: string
  7185. districtid:
  7186. description: 区
  7187. type: integer
  7188. hasvideo:
  7189. description: 是否有视频 - 0:无 1:有
  7190. type: integer
  7191. provinceid:
  7192. description: 省
  7193. type: integer
  7194. remark:
  7195. description: 审核备注
  7196. type: string
  7197. videourl:
  7198. description: 视频地址
  7199. type: string
  7200. warehousecode:
  7201. description: 仓库代码
  7202. type: string
  7203. warehousename:
  7204. description: 仓库名称
  7205. type: string
  7206. warehousestatus:
  7207. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7208. type: integer
  7209. warehousetype:
  7210. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7211. type: integer
  7212. type: object
  7213. models.Externalexchange:
  7214. properties:
  7215. autoid:
  7216. description: AutoID - SEQ_EXTERNALEXCHANGE
  7217. type: integer
  7218. exchangefullname:
  7219. description: 外部交易所全称
  7220. type: string
  7221. exexchangecode:
  7222. description: 外部交易所代码
  7223. type: string
  7224. exexchangename:
  7225. description: 外部交易所名称(简称)
  7226. type: string
  7227. ismarketprice:
  7228. description: 是否支持市价 - 0:不支持 1:支持
  7229. type: integer
  7230. quotegear:
  7231. description: 行情档位(1-10)
  7232. type: integer
  7233. showbrokerflag:
  7234. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7235. type: integer
  7236. updatetime:
  7237. description: 更新时间
  7238. type: string
  7239. required:
  7240. - autoid
  7241. type: object
  7242. models.Funcmenulist:
  7243. properties:
  7244. iconame:
  7245. description: 菜单图标
  7246. type: string
  7247. menutype:
  7248. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7249. type: integer
  7250. parentcode:
  7251. description: 上级资源代码
  7252. type: string
  7253. remark:
  7254. description: 备注
  7255. type: string
  7256. resourcecode:
  7257. description: 资源代码
  7258. type: string
  7259. resourcelevel:
  7260. description: 级别 1-一级 2-二级 3-三级 4-四级
  7261. type: integer
  7262. resourcename:
  7263. description: 资源名
  7264. type: string
  7265. sort:
  7266. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7267. type: integer
  7268. url:
  7269. description: URL
  7270. type: string
  7271. required:
  7272. - resourcecode
  7273. type: object
  7274. models.Goods:
  7275. properties:
  7276. agreeunit:
  7277. description: 合约单位
  7278. type: number
  7279. areauserid:
  7280. description: 所属机构
  7281. type: integer
  7282. auditaccountid:
  7283. description: 审核操作员账号
  7284. type: integer
  7285. audittime:
  7286. description: 审核时间
  7287. type: string
  7288. cancelaccountid:
  7289. description: 注销操作员账号
  7290. type: integer
  7291. canceltime:
  7292. description: 注销时间
  7293. type: string
  7294. closepricemode:
  7295. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7296. type: integer
  7297. closepriceparam:
  7298. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7299. type: number
  7300. createtime:
  7301. description: 创建时间
  7302. type: string
  7303. creatorid:
  7304. description: 创建人
  7305. type: integer
  7306. currencyid:
  7307. description: 报价货币ID
  7308. type: integer
  7309. cutmode:
  7310. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7311. type: integer
  7312. decimalplace:
  7313. description: 报价小数位
  7314. type: integer
  7315. delistingdate:
  7316. description: 商品退市时间(状态:退市) -- 已作废
  7317. type: string
  7318. delistingmode:
  7319. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7320. type: integer
  7321. deliveryflag:
  7322. description: 交割标志 - 0:不可交割 1:可交割
  7323. type: integer
  7324. forceclosemode:
  7325. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7326. type: integer
  7327. forceclosevalue:
  7328. description: 定期强平参数 [收益权]
  7329. type: integer
  7330. goodscode:
  7331. description: 商品代码(内部)
  7332. type: string
  7333. goodscurrencyid:
  7334. description: 合约货币ID
  7335. type: integer
  7336. goodsgroupid:
  7337. description: 所属商品组ID
  7338. type: integer
  7339. goodsid:
  7340. description: 商品ID(自增ID SEQ_GOODS)
  7341. type: integer
  7342. goodsname:
  7343. description: 商品名称
  7344. type: string
  7345. goodsquotetype:
  7346. description: '合约报价类型: 1-直接报价 2-间接报价'
  7347. type: integer
  7348. goodsstatus:
  7349. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7350. type: integer
  7351. goodstradetype:
  7352. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7353. type: integer
  7354. goodunitid:
  7355. description: 报价单位ID
  7356. type: integer
  7357. hasquoter:
  7358. description: 是否有报价商 - 0:无报价商 1:有报价商
  7359. type: integer
  7360. hqprotecttime:
  7361. description: 行情保护时间(秒)
  7362. type: integer
  7363. innerdealmode:
  7364. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. isbuylimited:
  7367. description: 是否限制建仓量 - 0:不限制 1:限制
  7368. type: integer
  7369. isvisible:
  7370. description: 游客是否可见 - 0:不可见 1:可见
  7371. type: integer
  7372. lasttradedate:
  7373. description: 最后交易日期(状态:待退市)
  7374. type: string
  7375. listingdate:
  7376. description: 交易开始日期
  7377. type: string
  7378. marketid:
  7379. description: 所属市场ID
  7380. type: integer
  7381. modifierid:
  7382. description: 修改人
  7383. type: integer
  7384. modifystatus:
  7385. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7386. type: integer
  7387. modifytime:
  7388. description: 修改时间
  7389. type: string
  7390. outerdealmode:
  7391. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7392. type: integer
  7393. outgoodscode:
  7394. description: 商品代码(外部)
  7395. type: string
  7396. pictureurl:
  7397. description: 商品图片
  7398. type: string
  7399. qtydecimalplace:
  7400. description: 成交量小数位
  7401. type: integer
  7402. quotegear:
  7403. description: 行情档位(1-10)
  7404. type: integer
  7405. quoteminunit:
  7406. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7407. type: integer
  7408. quoteshowtype:
  7409. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7410. type: integer
  7411. quoteshowtypeinterval:
  7412. description: 行情报价间隔时间(秒)(成交价时为0)
  7413. type: integer
  7414. remark:
  7415. description: 备注
  7416. type: string
  7417. required:
  7418. - goodscode
  7419. - goodsid
  7420. - goodsname
  7421. - marketid
  7422. type: object
  7423. models.GoodsIDAndName:
  7424. properties:
  7425. goodscode:
  7426. description: 商品代码(内部)
  7427. type: string
  7428. goodsid:
  7429. description: 商品ID(自增ID SEQ_GOODS)
  7430. type: integer
  7431. goodsname:
  7432. description: 商品名称
  7433. type: string
  7434. marketid:
  7435. description: 所属市场ID
  7436. type: integer
  7437. required:
  7438. - goodscode
  7439. - goodsid
  7440. - goodsname
  7441. - marketid
  7442. type: object
  7443. models.Goodsgroup:
  7444. properties:
  7445. agreeunit:
  7446. description: 合约单位
  7447. type: number
  7448. canshort:
  7449. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7450. type: integer
  7451. closepricemode:
  7452. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7453. type: integer
  7454. closepriceparam:
  7455. description: 强平最新价浮动比例 - 方式为2时使用
  7456. type: number
  7457. createtime:
  7458. description: 创建时间
  7459. type: string
  7460. creatorid:
  7461. description: 创建人
  7462. type: integer
  7463. currencyid:
  7464. description: 报价货币ID
  7465. type: integer
  7466. decimalplace:
  7467. description: 报价小数位
  7468. type: integer
  7469. exercisetype:
  7470. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7471. type: integer
  7472. exexchangeid:
  7473. description: 外部交易所ID[通道交易]
  7474. type: integer
  7475. goodsgroupid:
  7476. description: 商品组ID(自增ID)
  7477. type: integer
  7478. goodsgroupname:
  7479. description: 商品组名称
  7480. type: string
  7481. goodsgroupstatus:
  7482. description: 商品组状态 - 1:正常 2:注销
  7483. type: integer
  7484. goodunitid:
  7485. description: 报价单位ID
  7486. type: integer
  7487. innerdealmode:
  7488. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7489. type: integer
  7490. isbuylimited:
  7491. description: 是否限制建仓量 - 0:不限制 1:限制
  7492. type: integer
  7493. marketid:
  7494. description: 所属市场ID
  7495. type: integer
  7496. modifierid:
  7497. description: 修改人
  7498. type: integer
  7499. modifytime:
  7500. description: 修改时间
  7501. type: string
  7502. outerdealmode:
  7503. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7504. type: integer
  7505. outergroupcode:
  7506. description: 外部商品组代码[通道交易]
  7507. type: string
  7508. premiumdecimalplace:
  7509. description: 权利金小数位[场外期权]
  7510. type: integer
  7511. premiumspreadalgorithm:
  7512. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7513. type: integer
  7514. premiumspreadvalue:
  7515. description: 权利金点差值[场外期权]
  7516. type: number
  7517. qtydecimalplace:
  7518. description: 成交量小数位
  7519. type: integer
  7520. quotegear:
  7521. description: 行情档位(1-10)
  7522. type: integer
  7523. quoteminunit:
  7524. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7525. type: integer
  7526. quoterid:
  7527. description: 报价商ID[场外期权]
  7528. type: integer
  7529. quotesourcegroupid:
  7530. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7531. type: integer
  7532. syncgoodsqty:
  7533. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7534. type: integer
  7535. required:
  7536. - goodsgroupid
  7537. - goodsgroupname
  7538. - goodsgroupstatus
  7539. - marketid
  7540. type: object
  7541. models.Goodssortbypreposition:
  7542. properties:
  7543. goodscode:
  7544. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7545. type: string
  7546. goodsgroupcode:
  7547. description: 品种代码
  7548. type: string
  7549. prepositionqty:
  7550. description: 昨持仓量
  7551. type: integer
  7552. sortindex:
  7553. description: 排序
  7554. type: integer
  7555. tradedate:
  7556. description: 交易日
  7557. type: string
  7558. updatetime:
  7559. description: 更新时间
  7560. type: string
  7561. required:
  7562. - goodscode
  7563. - tradedate
  7564. type: object
  7565. models.Hedgeinnerholderdetail:
  7566. properties:
  7567. accountid:
  7568. description: 账号ID
  7569. type: integer
  7570. buyorsell:
  7571. description: 方向 - 0:买 1:卖
  7572. type: integer
  7573. freezeqty:
  7574. description: 冻结数量 - 按单平使用
  7575. type: integer
  7576. goodsid:
  7577. description: 商品ID
  7578. type: integer
  7579. holderamount:
  7580. description: 持仓金额 [商品币种]
  7581. type: number
  7582. holderdays:
  7583. description: 剩余冻结天数
  7584. type: integer
  7585. holderprice:
  7586. description: 持仓价格
  7587. type: number
  7588. holderqty:
  7589. description: 持仓数量
  7590. type: integer
  7591. marketid:
  7592. description: 市场ID
  7593. type: integer
  7594. openprice:
  7595. description: 建仓价格
  7596. type: number
  7597. openqty:
  7598. description: 建仓数量
  7599. type: integer
  7600. parentaccountid:
  7601. description: 所属母账户
  7602. type: integer
  7603. releaseamount:
  7604. description: 释放持仓金额[商品币种]
  7605. type: number
  7606. tradeamount:
  7607. description: 成交金额[账户]
  7608. type: number
  7609. tradedate:
  7610. description: 交易日(yyyyMMdd)
  7611. type: string
  7612. tradeid:
  7613. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7614. type: string
  7615. tradetime:
  7616. description: 交易时间
  7617. type: string
  7618. required:
  7619. - buyorsell
  7620. - tradeid
  7621. type: object
  7622. models.Hedgemarketopenlog:
  7623. properties:
  7624. accountid:
  7625. description: 资金账号[外部母账户]
  7626. type: integer
  7627. fcname:
  7628. description: 期货公司名称
  7629. type: string
  7630. handlestatus:
  7631. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7632. type: integer
  7633. marketid:
  7634. description: 市场ID
  7635. type: integer
  7636. status:
  7637. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7638. type: integer
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. updatetime:
  7643. description: 更新时间
  7644. type: string
  7645. required:
  7646. - accountid
  7647. type: object
  7648. models.HsbyBuyMyPayOrder:
  7649. properties:
  7650. agreeunit:
  7651. description: 合约单位
  7652. type: number
  7653. buyaccountid:
  7654. description: 买方账号ID[报价币种]
  7655. type: integer
  7656. buyorderid:
  7657. description: 买方委托单号
  7658. type: string
  7659. createtime:
  7660. description: 创建时间
  7661. type: string
  7662. currencysign:
  7663. description: 货币符号
  7664. type: string
  7665. decimalplace:
  7666. description: 报价小数位
  7667. type: integer
  7668. goodscode:
  7669. description: 商品代码(内部)
  7670. type: string
  7671. goodsid:
  7672. description: 商品ID
  7673. type: integer
  7674. goodsname:
  7675. description: 商品名称
  7676. type: string
  7677. marketid:
  7678. description: 市场ID
  7679. type: integer
  7680. offamount:
  7681. description: 优惠金额
  7682. type: number
  7683. originalamount:
  7684. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7685. type: number
  7686. payamount:
  7687. description: 支付金额 = TradeAmount + TradeCharge
  7688. type: number
  7689. payflag:
  7690. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7691. type: integer
  7692. paylimitedtime:
  7693. description: 支付期限
  7694. type: string
  7695. paytime:
  7696. description: 付款时间
  7697. type: string
  7698. picurls1:
  7699. description: 预售商品介绍图片[多张用逗号分隔]
  7700. type: string
  7701. picurls2:
  7702. description: 挂牌商品介绍图片[多张用逗号分隔]
  7703. type: string
  7704. sellaccountid:
  7705. description: 卖方账号ID[报价币种]
  7706. type: integer
  7707. sellorderid:
  7708. description: 卖方委托单号
  7709. type: string
  7710. tradeamount:
  7711. description: 成交金额
  7712. type: number
  7713. tradecharge:
  7714. description: 成交手续费(买方)
  7715. type: number
  7716. tradedate:
  7717. description: 交易日(yyyyMMdd)
  7718. type: string
  7719. tradeid:
  7720. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7721. type: string
  7722. trademode:
  7723. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7724. 21:竞拍-大宗式 22:受托竞价
  7725. type: integer
  7726. tradeprice:
  7727. description: 成交价格
  7728. type: number
  7729. tradeqty:
  7730. description: 成交数量
  7731. type: integer
  7732. vendorname1:
  7733. description: 预售商品供应商名称
  7734. type: string
  7735. vendorname2:
  7736. description: 挂牌商品供应商名称
  7737. type: string
  7738. required:
  7739. - goodscode
  7740. - goodsname
  7741. - tradeid
  7742. - trademode
  7743. type: object
  7744. models.HsbyBuyMyTradeDetail:
  7745. properties:
  7746. accountid:
  7747. description: 账户ID[报价币种]
  7748. type: integer
  7749. agreeunit:
  7750. description: 合约单位
  7751. type: number
  7752. amount:
  7753. description: 金额 = 价格 * 数量 * 合约单位
  7754. type: number
  7755. buyorsell:
  7756. description: 买卖 - 0:买 1:卖
  7757. type: integer
  7758. currencysign:
  7759. description: 货币符号
  7760. type: string
  7761. decimalplace:
  7762. description: 报价小数位
  7763. type: integer
  7764. goodscode:
  7765. description: 商品代码(内部)
  7766. type: string
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 商品名称
  7772. type: string
  7773. marketid:
  7774. description: 市场ID
  7775. type: integer
  7776. orderamount:
  7777. description: 委托金额
  7778. type: number
  7779. orderid:
  7780. description: 单号(成交单号)
  7781. type: string
  7782. picurls1:
  7783. description: 预售商品介绍图片[多张用逗号分隔]
  7784. type: string
  7785. picurls2:
  7786. description: 挂牌商品介绍图片[多张用逗号分隔]
  7787. type: string
  7788. price:
  7789. description: 价格
  7790. type: number
  7791. qty:
  7792. description: 数量
  7793. type: integer
  7794. time:
  7795. description: 时间
  7796. type: string
  7797. trademode:
  7798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7799. 21:竞拍-大宗式 22:受托竞价
  7800. type: integer
  7801. vendorname1:
  7802. description: 预售商品供应商名称
  7803. type: string
  7804. vendorname2:
  7805. description: 挂牌商品供应商名称
  7806. type: string
  7807. required:
  7808. - accountid
  7809. - buyorsell
  7810. - goodscode
  7811. - goodsid
  7812. - goodsname
  7813. - marketid
  7814. - orderid
  7815. - qty
  7816. - time
  7817. - trademode
  7818. type: object
  7819. models.HsbyGoodsOrderDetail:
  7820. properties:
  7821. buyorsell:
  7822. description: 买卖 - 0:买 1:卖
  7823. type: integer
  7824. currencysign:
  7825. description: 货币符号
  7826. type: string
  7827. customername:
  7828. description: 客户名称(企业名称),已脱敏
  7829. type: string
  7830. enableqty:
  7831. description: 可用数量
  7832. type: integer
  7833. goodunit:
  7834. description: 报价单位
  7835. type: string
  7836. orderid:
  7837. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7838. type: string
  7839. orderprice:
  7840. description: 委托价格
  7841. type: number
  7842. ordertime:
  7843. description: 委托时间
  7844. type: string
  7845. required:
  7846. - buyorsell
  7847. - orderid
  7848. - ordertime
  7849. type: object
  7850. models.HsbyListingGoodsDetail:
  7851. properties:
  7852. agreeunit:
  7853. description: 合约单位
  7854. type: number
  7855. buymaxqty:
  7856. description: 购买上限 [71] - 0为不限
  7857. type: integer
  7858. currency:
  7859. description: 货币
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. desccityid:
  7868. description: 目的地(市)ID
  7869. type: integer
  7870. descprovinceid:
  7871. description: 目的地(省)ID
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsdesc:
  7877. description: 商品详情
  7878. type: string
  7879. goodsid:
  7880. description: 商品ID(自增ID SEQ_GOODS)
  7881. type: integer
  7882. goodsname:
  7883. description: 商品名称
  7884. type: string
  7885. goodsprice:
  7886. description: 商品价格
  7887. type: number
  7888. hotindex:
  7889. description: 景点热度
  7890. type: integer
  7891. last:
  7892. description: 现价
  7893. type: number
  7894. limitdown:
  7895. description: 跌停价
  7896. type: number
  7897. limitup:
  7898. description: 涨停价
  7899. type: number
  7900. lotsize:
  7901. description: 手数最小变动单位
  7902. type: integer
  7903. marketid:
  7904. description: 所属市场ID
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. stepvalue:
  7913. description: 价格最小变动单位
  7914. type: number
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. vendorattr:
  7920. description: 供应商附件(多张,逗号分隔)
  7921. type: string
  7922. vendorname:
  7923. description: 供应商名称
  7924. type: string
  7925. vendorphone:
  7926. description: 供应商客服电话
  7927. type: string
  7928. videourls:
  7929. description: 介绍视频[多张用逗号分隔]
  7930. type: string
  7931. required:
  7932. - goodscode
  7933. - goodsid
  7934. - goodsname
  7935. - marketid
  7936. - trademode
  7937. type: object
  7938. models.HsbyMarketGoods:
  7939. properties:
  7940. accountid:
  7941. description: 账户ID[报价币种]
  7942. type: integer
  7943. agreeunit:
  7944. description: 合约单位
  7945. type: number
  7946. buyorsell:
  7947. description: 买卖 - 0:买 1:卖
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsid:
  7968. description: 商品ID
  7969. type: integer
  7970. goodsname:
  7971. description: 商品名称
  7972. type: string
  7973. goodsprice:
  7974. description: 商品价格
  7975. type: number
  7976. hascoupon:
  7977. description: 是否可用优惠卷
  7978. type: boolean
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. marketid:
  7983. description: 市场ID
  7984. type: integer
  7985. orderid:
  7986. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7987. type: string
  7988. orderprice:
  7989. description: 委托价格
  7990. type: number
  7991. orderstatus:
  7992. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7993. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7994. 16:成交失败违约(荷兰式竞拍专用)
  7995. type: integer
  7996. picurls:
  7997. description: 介绍图片[多张用逗号分隔]
  7998. type: string
  7999. quoteminunit:
  8000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8001. type: integer
  8002. sellUserID:
  8003. description: 卖方UserID
  8004. type: integer
  8005. trademode:
  8006. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8007. 21:竞拍-大宗式 22:受托竞价
  8008. type: integer
  8009. videourls:
  8010. description: 介绍视频[多张用逗号分隔]
  8011. type: string
  8012. required:
  8013. - accountid
  8014. - buyorsell
  8015. - goodscode
  8016. - goodsid
  8017. - goodsname
  8018. - marketid
  8019. - orderid
  8020. - trademode
  8021. type: object
  8022. models.HsbyMarketGoodsDetail:
  8023. properties:
  8024. accountid:
  8025. description: 账户ID[报价币种]
  8026. type: integer
  8027. agreeunit:
  8028. description: 合约单位
  8029. type: number
  8030. buymaxqty:
  8031. description: 购买上限 [71] - 0为不限
  8032. type: integer
  8033. buyorsell:
  8034. description: 买卖 - 0:买 1:卖
  8035. type: integer
  8036. cancelqty:
  8037. description: 撤单数量
  8038. type: integer
  8039. categoryid:
  8040. description: 类别ID(WRCATEGORY)
  8041. type: integer
  8042. currency:
  8043. description: 货币
  8044. type: string
  8045. currencysign:
  8046. description: 货币符号
  8047. type: string
  8048. customername:
  8049. description: 卖家名称
  8050. type: string
  8051. decimalplace:
  8052. description: 报价小数位
  8053. type: integer
  8054. goodscode:
  8055. description: 商品代码(内部)
  8056. type: string
  8057. goodsdesc:
  8058. description: 商品详情
  8059. type: string
  8060. goodsid:
  8061. description: 商品ID
  8062. type: integer
  8063. goodsname:
  8064. description: 商品名称
  8065. type: string
  8066. goodsprice:
  8067. description: 商品价格
  8068. type: number
  8069. hotindex:
  8070. description: 景点热度
  8071. type: integer
  8072. lotsize:
  8073. description: 手数最小变动单位
  8074. type: integer
  8075. marketid:
  8076. description: 市场ID
  8077. type: integer
  8078. orderid:
  8079. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8080. type: string
  8081. orderprice:
  8082. description: 委托价格
  8083. type: number
  8084. orderqty:
  8085. description: 委托数量
  8086. type: integer
  8087. orderstatus:
  8088. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8089. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8090. 16:成交失败违约(荷兰式竞拍专用)
  8091. type: integer
  8092. picurls:
  8093. description: 介绍图片[多张用逗号分隔]
  8094. type: string
  8095. quoteminunit:
  8096. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8097. type: integer
  8098. sellUserID:
  8099. description: 卖方UserID
  8100. type: integer
  8101. trademode:
  8102. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8103. 21:竞拍-大宗式 22:受托竞价
  8104. type: integer
  8105. tradeqty:
  8106. description: 成交数量
  8107. type: integer
  8108. vendorattr:
  8109. description: 供应商附件(多张,逗号分隔)
  8110. type: string
  8111. vendorname:
  8112. description: 供应商名称
  8113. type: string
  8114. vendorphone:
  8115. description: 供应商客服电话
  8116. type: string
  8117. videourls:
  8118. description: 介绍视频[多张用逗号分隔]
  8119. type: string
  8120. required:
  8121. - accountid
  8122. - buyorsell
  8123. - goodscode
  8124. - goodsid
  8125. - goodsname
  8126. - marketid
  8127. - orderid
  8128. - orderqty
  8129. - trademode
  8130. type: object
  8131. models.HsbyMarketInfo:
  8132. properties:
  8133. marketid:
  8134. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8135. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8136. type: integer
  8137. marketname:
  8138. description: 市场名称
  8139. type: string
  8140. marketstatus:
  8141. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8142. type: integer
  8143. trademode:
  8144. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8145. 21:竞拍-大宗式 22:受托竞价
  8146. type: integer
  8147. required:
  8148. - marketid
  8149. - marketstatus
  8150. - trademode
  8151. type: object
  8152. models.HsbyMyGoods:
  8153. properties:
  8154. accountid:
  8155. description: 账号Id
  8156. type: integer
  8157. agreeunit:
  8158. description: 合约单位
  8159. type: number
  8160. buyaverageprice:
  8161. description: 持仓均价
  8162. type: number
  8163. buycurholderamount:
  8164. description: 买当前持仓总金额[商品币种]
  8165. type: number
  8166. buycurpositionqty:
  8167. description: 买当前持仓总数量
  8168. type: integer
  8169. buymaxqty:
  8170. description: 购买上限 [71] - 0为不限
  8171. type: integer
  8172. currencysign:
  8173. description: 货币符号
  8174. type: string
  8175. decimalplace:
  8176. description: 报价小数位
  8177. type: integer
  8178. enableqty:
  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. goodsprice:
  8191. description: 商品价格
  8192. type: number
  8193. goodsstatus:
  8194. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8195. type: integer
  8196. last:
  8197. description: 现价(仅使用于挂牌点选)
  8198. type: number
  8199. limitdown:
  8200. description: 跌停价(仅使用于挂牌点选)
  8201. type: number
  8202. limitup:
  8203. description: 涨停价(仅使用于挂牌点选)
  8204. type: number
  8205. lotsize:
  8206. description: 手数最小变动单位
  8207. type: integer
  8208. marketid:
  8209. description: 所属市场ID
  8210. type: integer
  8211. picurls:
  8212. description: 介绍图片[多张用逗号分隔]
  8213. type: string
  8214. quoteminunit:
  8215. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8216. type: integer
  8217. stepvalue:
  8218. description: 价格最小变动单位
  8219. type: number
  8220. trademode:
  8221. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8222. 21:竞拍-大宗式 22:受托竞价
  8223. type: integer
  8224. required:
  8225. - accountid
  8226. - goodscode
  8227. - goodsid
  8228. - goodsname
  8229. - marketid
  8230. - trademode
  8231. type: object
  8232. models.HsbyMyPackage:
  8233. properties:
  8234. accountid:
  8235. description: 账户ID
  8236. type: integer
  8237. address:
  8238. description: 提货人详细地址
  8239. type: string
  8240. agreeunit:
  8241. description: 合约单位
  8242. type: number
  8243. amount:
  8244. description: 提货金额
  8245. type: number
  8246. auditer:
  8247. description: 审核人
  8248. type: integer
  8249. audittime:
  8250. description: 审核时间
  8251. type: string
  8252. averageprice:
  8253. description: 均价
  8254. type: number
  8255. cardnum:
  8256. description: 提货人证件号码
  8257. type: string
  8258. cardtypeid:
  8259. description: 提货人证件类型
  8260. type: integer
  8261. checkremark:
  8262. description: 审核备注
  8263. type: string
  8264. currencysign:
  8265. description: 货币符号
  8266. type: string
  8267. decimalplace:
  8268. description: 报价小数位
  8269. type: integer
  8270. goodscode:
  8271. description: 商品代码(内部)
  8272. type: string
  8273. goodsid:
  8274. description: 商品ID
  8275. type: integer
  8276. goodsname:
  8277. description: 商品名称
  8278. type: string
  8279. handlestatus:
  8280. description: 处理状态
  8281. type: integer
  8282. marketid:
  8283. description: 市场ID
  8284. type: integer
  8285. phonenum:
  8286. description: 提货人联系方式
  8287. type: string
  8288. picurls:
  8289. description: 介绍图片[多张用逗号分隔]
  8290. type: string
  8291. qty:
  8292. description: 提货数量
  8293. type: number
  8294. recivername:
  8295. description: 提货人姓名
  8296. type: string
  8297. reqtime:
  8298. description: 更新时间
  8299. type: string
  8300. takemode:
  8301. description: 提货方式 - 2:自提 3:配送
  8302. type: integer
  8303. takeorderid:
  8304. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8305. type: string
  8306. takeorderstatus:
  8307. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8308. type: integer
  8309. takeremark:
  8310. description: 提货备注
  8311. type: string
  8312. tradedate:
  8313. description: 交易日(yyyyMMdd)
  8314. type: string
  8315. trademode:
  8316. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8317. 21:竞拍-大宗式 22:受托竞价
  8318. type: integer
  8319. userid:
  8320. description: 用户ID
  8321. type: integer
  8322. vendorname:
  8323. description: 供应商名称
  8324. type: string
  8325. required:
  8326. - goodscode
  8327. - goodsname
  8328. - takeorderid
  8329. - trademode
  8330. type: object
  8331. models.HsbyPreGoods:
  8332. properties:
  8333. agreeunit:
  8334. description: 合约单位
  8335. type: number
  8336. currency:
  8337. description: 货币
  8338. type: string
  8339. currencysign:
  8340. description: 货币符号
  8341. type: string
  8342. decimalplace:
  8343. description: 报价小数位
  8344. type: integer
  8345. desccityid:
  8346. description: 目的地(市)
  8347. type: integer
  8348. descprovinceid:
  8349. description: 目的地(省)
  8350. type: integer
  8351. enableqty:
  8352. description: 剩余数量
  8353. type: integer
  8354. goodscode:
  8355. description: 商品代码(内部)
  8356. type: string
  8357. goodsid:
  8358. description: 商品ID(自增ID SEQ_GOODS)
  8359. type: integer
  8360. goodsname:
  8361. description: 商品名称
  8362. type: string
  8363. goodsstatus:
  8364. description: 商品状态- 2:未上市 3:上市
  8365. type: integer
  8366. lasttradedate:
  8367. description: 最后交易日期(状态:待退市)
  8368. type: string
  8369. listingdate:
  8370. description: 交易开始日期
  8371. type: string
  8372. marketid:
  8373. description: 所属市场ID
  8374. type: integer
  8375. picurls:
  8376. description: 介绍图片[多张用逗号分隔]
  8377. type: string
  8378. presaledqty:
  8379. description: 已预售量(预售结束时更新)
  8380. type: integer
  8381. presaleqty:
  8382. description: 预售数量
  8383. type: integer
  8384. quoteminunit:
  8385. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8386. type: integer
  8387. refprice:
  8388. description: 参考价格[一口价]
  8389. type: number
  8390. relatedgoodsid:
  8391. description: 关联交易合约ID
  8392. type: integer
  8393. trademode:
  8394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8395. 21:竞拍-大宗式 22:受托竞价
  8396. type: integer
  8397. videourls:
  8398. description: 介绍视频[多张用逗号分隔]
  8399. type: string
  8400. required:
  8401. - goodscode
  8402. - goodsid
  8403. - goodsname
  8404. - marketid
  8405. - trademode
  8406. type: object
  8407. models.HsbyPreGoodsDetail:
  8408. properties:
  8409. agreeunit:
  8410. description: 合约单位
  8411. type: number
  8412. buymaxqty:
  8413. description: 购买上限 [71] - 0为不限
  8414. type: integer
  8415. currency:
  8416. description: 货币
  8417. type: string
  8418. currencysign:
  8419. description: 货币符号
  8420. type: string
  8421. customername:
  8422. description: 发行单位
  8423. type: string
  8424. decimalplace:
  8425. description: 报价小数位
  8426. type: integer
  8427. desccityid:
  8428. description: 目的地(市)ID
  8429. type: integer
  8430. descprovinceid:
  8431. description: 目的地(省)ID
  8432. type: integer
  8433. enableqty:
  8434. description: 剩余数量
  8435. type: integer
  8436. goodscode:
  8437. description: 商品代码(内部)
  8438. type: string
  8439. goodsdesc:
  8440. description: 商品详情
  8441. type: string
  8442. goodsid:
  8443. description: 商品ID(自增ID SEQ_GOODS)
  8444. type: integer
  8445. goodsname:
  8446. description: 商品名称
  8447. type: string
  8448. goodsstatus:
  8449. description: 商品状态- 2:未上市 3:上市
  8450. type: integer
  8451. goodunit:
  8452. description: 报价单位
  8453. type: string
  8454. lasttradedate:
  8455. description: 最后交易日期(状态:待退市)
  8456. type: string
  8457. listingdate:
  8458. description: 交易开始日期
  8459. type: string
  8460. lotsize:
  8461. description: 手数最小变动单位
  8462. type: integer
  8463. marketid:
  8464. description: 所属市场ID
  8465. type: integer
  8466. picurls:
  8467. description: 介绍图片[多张用逗号分隔]
  8468. type: string
  8469. presaledqty:
  8470. description: 已预售量(预售结束时更新)
  8471. type: integer
  8472. presaleqty:
  8473. description: 预售数量
  8474. type: integer
  8475. quoteminunit:
  8476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8477. type: integer
  8478. refprice:
  8479. description: 参考价格[一口价]
  8480. type: number
  8481. relatedgoodsid:
  8482. description: 关联交易合约ID
  8483. type: integer
  8484. stepvalue:
  8485. description: 价格最小变动单位
  8486. type: number
  8487. trademode:
  8488. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8489. 21:竞拍-大宗式 22:受托竞价
  8490. type: integer
  8491. vendorattr:
  8492. description: 供应商附件(多张,逗号分隔)
  8493. type: string
  8494. vendorname:
  8495. description: 供应商名称
  8496. type: string
  8497. vendorphone:
  8498. description: 供应商客服电话
  8499. type: string
  8500. videourls:
  8501. description: 介绍视频[多张用逗号分隔]
  8502. type: string
  8503. required:
  8504. - goodscode
  8505. - goodsid
  8506. - goodsname
  8507. - marketid
  8508. - trademode
  8509. type: object
  8510. models.HsbySellCollectionOrder:
  8511. properties:
  8512. agreeunit:
  8513. description: 合约单位
  8514. type: number
  8515. buyaccountid:
  8516. description: 买方账号ID[报价币种]
  8517. type: integer
  8518. buyorderid:
  8519. description: 买方委托单号
  8520. type: string
  8521. createtime:
  8522. description: 创建时间
  8523. type: string
  8524. currencysign:
  8525. description: 货币符号
  8526. type: string
  8527. decimalplace:
  8528. description: 报价小数位
  8529. type: integer
  8530. goodscode:
  8531. description: 商品代码(内部)
  8532. type: string
  8533. goodsid:
  8534. description: 商品ID
  8535. type: integer
  8536. goodsname:
  8537. description: 商品名称
  8538. type: string
  8539. marketid:
  8540. description: 市场ID
  8541. type: integer
  8542. offamount:
  8543. description: 优惠金额
  8544. type: number
  8545. payamount:
  8546. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8547. type: number
  8548. payflag:
  8549. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8550. type: integer
  8551. paylimitedtime:
  8552. description: 支付期限
  8553. type: string
  8554. paytime:
  8555. description: 付款时间
  8556. type: string
  8557. picurls:
  8558. description: 商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. required:
  8589. - goodscode
  8590. - goodsname
  8591. - tradeid
  8592. - trademode
  8593. type: object
  8594. models.HsbySellMyDetail:
  8595. properties:
  8596. accountid:
  8597. description: 账户ID[报价币种]
  8598. type: integer
  8599. agreeunit:
  8600. description: 合约单位
  8601. type: number
  8602. buyorsell:
  8603. description: 买卖 - 0:买 1:卖
  8604. type: integer
  8605. currencysign:
  8606. description: 货币符号
  8607. type: string
  8608. decimalplace:
  8609. description: 报价小数位
  8610. type: integer
  8611. goodscode:
  8612. description: 商品代码(内部)
  8613. type: string
  8614. goodsid:
  8615. description: 商品ID
  8616. type: integer
  8617. goodsname:
  8618. description: 商品名称
  8619. type: string
  8620. marketid:
  8621. description: 市场ID
  8622. type: integer
  8623. orderid:
  8624. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8625. type: string
  8626. ordertype:
  8627. description: 单据类型:0 - 发布中, 1 - 已完成
  8628. type: integer
  8629. picurls:
  8630. description: 介绍图片[多张用逗号分隔]
  8631. type: string
  8632. price:
  8633. description: 价格
  8634. type: number
  8635. qty:
  8636. description: 数量
  8637. type: integer
  8638. time:
  8639. description: 时间
  8640. type: string
  8641. trademode:
  8642. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8643. 21:竞拍-大宗式 22:受托竞价
  8644. type: integer
  8645. vendorname:
  8646. description: 供应商名称
  8647. type: string
  8648. required:
  8649. - accountid
  8650. - buyorsell
  8651. - goodscode
  8652. - goodsid
  8653. - goodsname
  8654. - marketid
  8655. - orderid
  8656. - time
  8657. - trademode
  8658. type: object
  8659. models.HsbyTopGoods:
  8660. properties:
  8661. agreeunit:
  8662. description: 合约单位
  8663. type: number
  8664. currency:
  8665. description: 货币
  8666. type: string
  8667. currencysign:
  8668. description: 货币符号
  8669. type: string
  8670. decimalplace:
  8671. description: 报价小数位
  8672. type: integer
  8673. desccityid:
  8674. description: 目的地(市)
  8675. type: integer
  8676. descprovinceid:
  8677. description: 目的地(省)
  8678. type: integer
  8679. goodscode:
  8680. description: 商品代码(内部)
  8681. type: string
  8682. goodsid:
  8683. description: 商品ID(自增ID SEQ_GOODS)
  8684. type: integer
  8685. goodsname:
  8686. description: 商品名称
  8687. type: string
  8688. hotindex:
  8689. description: 景点热度
  8690. type: integer
  8691. last:
  8692. description: 现价
  8693. type: number
  8694. marketid:
  8695. description: 所属市场ID
  8696. type: integer
  8697. picurls:
  8698. description: 介绍图片[多张用逗号分隔]
  8699. type: string
  8700. quoteminunit:
  8701. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8702. type: integer
  8703. trademode:
  8704. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8705. 21:竞拍-大宗式 22:受托竞价
  8706. type: integer
  8707. videourls:
  8708. description: 介绍视频[多张用逗号分隔]
  8709. type: string
  8710. required:
  8711. - goodscode
  8712. - goodsid
  8713. - goodsname
  8714. - marketid
  8715. - trademode
  8716. type: object
  8717. models.HybsMyBuyOrderDetail:
  8718. properties:
  8719. accountid:
  8720. description: 账户ID[报价币种]
  8721. type: integer
  8722. agreeunit:
  8723. description: 合约单位
  8724. type: number
  8725. buyorsell:
  8726. description: 买卖 - 0:买 1:卖
  8727. type: integer
  8728. cancelqty:
  8729. description: 撤单数量
  8730. type: integer
  8731. currencysign:
  8732. description: 货币符号
  8733. type: string
  8734. decimalplace:
  8735. description: 报价小数位
  8736. type: integer
  8737. goodscode:
  8738. description: 商品代码(内部)
  8739. type: string
  8740. goodsid:
  8741. description: 商品ID
  8742. type: integer
  8743. goodsname:
  8744. description: 商品名称
  8745. type: string
  8746. listingselecttype:
  8747. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8748. type: integer
  8749. marketid:
  8750. description: 市场ID
  8751. type: integer
  8752. mybuystatus:
  8753. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8754. type: integer
  8755. orderamount:
  8756. description: 委托金额
  8757. type: number
  8758. orderid:
  8759. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8760. type: string
  8761. orderprice:
  8762. description: 委托价格
  8763. type: number
  8764. orderqty:
  8765. description: 委托数量
  8766. type: integer
  8767. orderstatus:
  8768. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8769. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8770. 16:成交失败违约(荷兰式竞拍专用)
  8771. type: integer
  8772. ordertime:
  8773. description: 委托时间
  8774. type: string
  8775. picurls1:
  8776. description: 预售商品介绍图片[多张用逗号分隔]
  8777. type: string
  8778. picurls2:
  8779. description: 挂牌商品介绍图片[多张用逗号分隔]
  8780. type: string
  8781. trademode:
  8782. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8783. 21:竞拍-大宗式 22:受托竞价
  8784. type: integer
  8785. tradeqty:
  8786. description: 成交数量
  8787. type: integer
  8788. vendorname1:
  8789. description: 预售商品供应商名称
  8790. type: string
  8791. vendorname2:
  8792. description: 挂牌商品供应商名称
  8793. type: string
  8794. required:
  8795. - accountid
  8796. - buyorsell
  8797. - goodscode
  8798. - goodsid
  8799. - goodsname
  8800. - marketid
  8801. - orderid
  8802. - orderqty
  8803. - ordertime
  8804. - trademode
  8805. type: object
  8806. models.Loginaccount:
  8807. properties:
  8808. accountname:
  8809. description: 账户名称
  8810. type: string
  8811. canoutin:
  8812. description: 是否可出入金 - 0:不可 1:可
  8813. type: integer
  8814. clientroleid:
  8815. description: 终端角色ID
  8816. type: integer
  8817. haslogined:
  8818. description: 是否已登录 - 0:未登录 1:已登录
  8819. type: integer
  8820. hasupdatedpwd:
  8821. description: 是否已更改密码 - 0:未修改 1:已修改
  8822. type: integer
  8823. lastloginip:
  8824. description: 最新登录地址
  8825. type: string
  8826. lastloginmode:
  8827. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8828. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8829. type: integer
  8830. lastloginremark:
  8831. description: 最新登录描述
  8832. type: string
  8833. lastlogintime:
  8834. description: 最新登录时间
  8835. type: string
  8836. logincode:
  8837. description: 登录代码
  8838. type: string
  8839. loginfailnum:
  8840. description: 连续登录失败次数(登录成功时清零)
  8841. type: integer
  8842. loginid:
  8843. description: 登陆账号
  8844. type: integer
  8845. loginport:
  8846. description: 最新登录端口
  8847. type: integer
  8848. loginstatus:
  8849. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8850. type: integer
  8851. loginusertype:
  8852. description: 登录账号类型 - 1:投资者 2:机构交易员
  8853. type: integer
  8854. mobile:
  8855. description: 手机号码(加密存储)
  8856. type: string
  8857. modifierid:
  8858. description: 修改人
  8859. type: integer
  8860. modifysrc:
  8861. description: 审核来源 - 1:管理端 2:终端
  8862. type: integer
  8863. modifytime:
  8864. description: 修改时间
  8865. type: string
  8866. password:
  8867. description: 登陆密码
  8868. type: string
  8869. pwdwrongcount:
  8870. description: 密码错误次数
  8871. type: integer
  8872. relateduserid:
  8873. description: 关联用户ID(机构)
  8874. type: integer
  8875. taaccountrighttype:
  8876. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8877. type: integer
  8878. unfreezetime:
  8879. description: 账户解冻时间
  8880. type: string
  8881. userid:
  8882. description: 用户ID
  8883. type: integer
  8884. required:
  8885. - loginid
  8886. type: object
  8887. models.MainAccountInfo:
  8888. properties:
  8889. accountid:
  8890. description: 账号id
  8891. type: integer
  8892. accountname:
  8893. description: 账号名称(taaccount表中的名称)
  8894. type: string
  8895. appid:
  8896. description: AppID
  8897. type: string
  8898. authcode:
  8899. description: 授权码
  8900. type: string
  8901. brokerid:
  8902. description: 经纪商id
  8903. type: string
  8904. fcid:
  8905. description: 期货公司id
  8906. type: integer
  8907. fcname:
  8908. description: 期货公司代码
  8909. type: string
  8910. hedgeaccountcode:
  8911. description: 外部账号代码(主账号登录代码)
  8912. type: string
  8913. hedgeaccountpwd:
  8914. description: 密码
  8915. type: string
  8916. ismain:
  8917. description: 是否主账号
  8918. type: integer
  8919. relateduserid:
  8920. description: 关联用户id
  8921. type: integer
  8922. userid:
  8923. description: 关联用户id
  8924. type: integer
  8925. type: object
  8926. models.Market:
  8927. properties:
  8928. auctionwrtype:
  8929. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8930. type: integer
  8931. canacceptquote:
  8932. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8933. type: integer
  8934. cangoodsexercise:
  8935. description: '[期权]是否可现货行权- 0:否 1:是'
  8936. type: integer
  8937. cangoodsexercisetype:
  8938. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8939. type: integer
  8940. canmanualquotestrike:
  8941. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8942. type: integer
  8943. canmutistage:
  8944. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8945. type: integer
  8946. canpreexercise:
  8947. description: '[期权]是否可预申报- 0:否 1:是'
  8948. type: integer
  8949. clearinterval:
  8950. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8951. type: integer
  8952. contracttmp:
  8953. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8954. type: string
  8955. exchareaid:
  8956. description: 所属交易所,可以没有
  8957. type: integer
  8958. goodstype:
  8959. description: 商品类型 - 1:交易商品 2:仓单商品
  8960. type: integer
  8961. hasrebate:
  8962. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8963. type: integer
  8964. hastradecredit:
  8965. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8966. type: integer
  8967. haswr:
  8968. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8969. type: integer
  8970. isdeductmargin:
  8971. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8972. type: integer
  8973. isrecordsource:
  8974. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8975. type: integer
  8976. isreleasemargin:
  8977. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8978. type: integer
  8979. marginformula:
  8980. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8981. type: integer
  8982. marginformula2:
  8983. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8984. type: integer
  8985. marketid:
  8986. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8987. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8988. type: integer
  8989. marketname:
  8990. description: 市场名称
  8991. type: string
  8992. marketserviceid:
  8993. description: 市场服务ID
  8994. type: integer
  8995. marketstatus:
  8996. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8997. type: integer
  8998. markettype:
  8999. description: 市场类型- 1:非交易服务 2:交易服务
  9000. type: integer
  9001. matchermode:
  9002. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9003. type: integer
  9004. openmethod:
  9005. description: 开盘模式 - 0 自动 1手动
  9006. type: integer
  9007. otcuserid:
  9008. description: 场外期权做市商[场外期权]
  9009. type: integer
  9010. outersynctime:
  9011. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9012. type: string
  9013. pendingflag:
  9014. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9015. type: integer
  9016. pendingtime:
  9017. description: 待开市时间[通道交易-对冲](HH:mm)
  9018. type: string
  9019. performancetempid:
  9020. description: 履约计划模板ID - 作废
  9021. type: integer
  9022. premiumquotemode:
  9023. description: 权利金报价方式 - 1:自动 2:手动
  9024. type: integer
  9025. rebateratio:
  9026. description: 返利比率[竞价式]
  9027. type: number
  9028. reckonorder:
  9029. description: 结算顺序
  9030. type: integer
  9031. reckonpricealgorithm:
  9032. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9033. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9034. type: integer
  9035. reckonpriceparam:
  9036. description: 结算价参数
  9037. type: integer
  9038. reckontime:
  9039. description: 结算时间[通道交易-对冲](HH:mm)
  9040. type: string
  9041. roleprioritytype:
  9042. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9043. type: integer
  9044. selllistingauditflag:
  9045. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9046. type: integer
  9047. trademarkettype:
  9048. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9049. type: integer
  9050. trademode:
  9051. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9052. 21:竞拍-大宗式 22:受托竞价
  9053. type: integer
  9054. tradeproperty:
  9055. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9056. 8:场外期权
  9057. type: integer
  9058. tradetype:
  9059. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9060. type: integer
  9061. required:
  9062. - marketid
  9063. - marketstatus
  9064. - openmethod
  9065. - reckonpricealgorithm
  9066. - trademode
  9067. - tradeproperty
  9068. type: object
  9069. models.Marketrun:
  9070. properties:
  9071. afternexttradedate:
  9072. description: 下下交易日
  9073. type: string
  9074. clearquoteflag:
  9075. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9076. type: integer
  9077. lastreckondate:
  9078. description: 最新交易日(结算成功)
  9079. type: string
  9080. machinedate:
  9081. description: 机器时间
  9082. type: string
  9083. manualflag:
  9084. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9085. type: integer
  9086. marketid:
  9087. description: 市场ID
  9088. type: integer
  9089. nexttradedate:
  9090. description: 下一交易日
  9091. type: string
  9092. pretradedate:
  9093. description: 上一交易日
  9094. type: string
  9095. reckonflag:
  9096. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9097. type: integer
  9098. runstatus:
  9099. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9100. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9101. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9102. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9103. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9104. 62.今日免清算
  9105. type: integer
  9106. sectionid:
  9107. description: 时间段号[多时段时用]
  9108. type: integer
  9109. tradedate:
  9110. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9111. type: string
  9112. tradedate2:
  9113. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9114. type: string
  9115. updatetime:
  9116. description: 更新时间
  9117. type: string
  9118. required:
  9119. - marketid
  9120. - nexttradedate
  9121. - reckonflag
  9122. - runstatus
  9123. - tradedate
  9124. - tradedate2
  9125. type: object
  9126. models.Messageboard:
  9127. properties:
  9128. contactnum:
  9129. description: 联系电话
  9130. type: string
  9131. createtime:
  9132. description: 创建时间
  9133. type: string
  9134. message:
  9135. description: 留言信息
  9136. type: string
  9137. messageboardid:
  9138. description: 留言簿ID(SEQ_MessageBoard)
  9139. type: integer
  9140. userid:
  9141. description: 用户ID
  9142. type: integer
  9143. required:
  9144. - messageboardid
  9145. type: object
  9146. models.MyCoupon:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. areauserid:
  9152. description: 所属机构
  9153. type: integer
  9154. conditionvalue:
  9155. description: 条件阈值(可为0)
  9156. type: number
  9157. couponcategroy:
  9158. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9159. type: integer
  9160. couponname:
  9161. description: 优惠券名称
  9162. type: string
  9163. coupontypeid:
  9164. description: 优惠券类型ID
  9165. type: string
  9166. couponvalue:
  9167. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9168. type: number
  9169. curfreezeqty:
  9170. description: 期末冻结数量
  9171. type: integer
  9172. curqty:
  9173. description: 期末数量
  9174. type: integer
  9175. isgeneral:
  9176. description: 是否通用券 - 0:否 1:是
  9177. type: integer
  9178. isunusable:
  9179. description: 是否不可用
  9180. type: boolean
  9181. limitedflag:
  9182. description: 是否指定商品 - 0:不限 1:限制
  9183. type: integer
  9184. limitedgoodsids:
  9185. description: 指定商品IDs[逗号分隔,前后加逗号]
  9186. type: string
  9187. orifreezeqty:
  9188. description: 期初冻结数量
  9189. type: integer
  9190. oriqty:
  9191. description: 期初数量
  9192. type: integer
  9193. reasontype:
  9194. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9195. type: integer
  9196. todaydecrease:
  9197. description: 今日减少
  9198. type: integer
  9199. todayincrease:
  9200. description: 今日增加
  9201. type: integer
  9202. userid:
  9203. description: 用户ID
  9204. type: integer
  9205. userscope:
  9206. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9207. type: string
  9208. required:
  9209. - accountid
  9210. - coupontypeid
  9211. type: object
  9212. models.MyCouponHold:
  9213. properties:
  9214. accountid:
  9215. description: 资金账户ID
  9216. type: integer
  9217. conditionvalue:
  9218. description: 条件阈值(可为0)
  9219. type: number
  9220. couponcategroy:
  9221. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9222. type: integer
  9223. couponholdid:
  9224. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9225. type: string
  9226. couponname:
  9227. description: 优惠券名称
  9228. type: string
  9229. coupontypeid:
  9230. description: 优惠券类型ID - SEQ_COUPONTYPE
  9231. type: string
  9232. couponvalue:
  9233. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9234. type: number
  9235. createtime:
  9236. description: 创建时间
  9237. type: string
  9238. enddate:
  9239. description: 结束日期
  9240. type: string
  9241. giveapplyid:
  9242. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9243. type: integer
  9244. holdstatus:
  9245. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9246. type: integer
  9247. isgeneral:
  9248. description: 是否通用券 - 0:否 1:是
  9249. type: integer
  9250. limitedflag:
  9251. description: 是否指定商品 - 0:不限 1:限制
  9252. type: integer
  9253. limitedgoodsids:
  9254. description: 指定商品IDs[逗号分隔]
  9255. type: string
  9256. qty:
  9257. description: 数量(按1平铺)
  9258. type: integer
  9259. startdate:
  9260. description: 开始日期
  9261. type: string
  9262. userid:
  9263. description: 用户ID
  9264. type: integer
  9265. userscope:
  9266. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9267. type: string
  9268. required:
  9269. - couponholdid
  9270. type: object
  9271. models.MyUsedCoupon:
  9272. properties:
  9273. accountid:
  9274. description: 资金账户ID(买方)
  9275. type: integer
  9276. conditionvalue:
  9277. description: 条件阈值(可为0)
  9278. type: number
  9279. couponcategroy:
  9280. description: 种类 - 1:现金券 2:折扣券
  9281. type: integer
  9282. couponname:
  9283. description: 优惠券名称
  9284. type: string
  9285. coupontypeid:
  9286. description: 优惠券类型ID(买方)
  9287. type: string
  9288. couponvalue:
  9289. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9290. type: number
  9291. createtime:
  9292. description: 创建时间
  9293. type: string
  9294. goodsid:
  9295. description: 商品ID
  9296. type: integer
  9297. handlestatus:
  9298. description: 处理状态
  9299. type: integer
  9300. marketid:
  9301. description: 市场ID
  9302. type: integer
  9303. offamount:
  9304. description: 优惠金额
  9305. type: number
  9306. orderid:
  9307. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9308. type: string
  9309. sellaccountid:
  9310. description: 资金账户ID(卖方)
  9311. type: integer
  9312. tradeamount:
  9313. description: 成交金额
  9314. type: number
  9315. tradeid:
  9316. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. usedqty:
  9319. description: 使用数量
  9320. type: integer
  9321. required:
  9322. - coupontypeid
  9323. - orderid
  9324. type: object
  9325. models.OperationPrimaryMenu:
  9326. properties:
  9327. Children:
  9328. description: 二级功能菜单
  9329. items:
  9330. $ref: '#/definitions/models.OperationSecondaryMenu'
  9331. type: array
  9332. Key:
  9333. description: 菜单KEY
  9334. type: string
  9335. Label:
  9336. description: 菜单标题
  9337. type: string
  9338. type: object
  9339. models.OperationSecondaryMenu:
  9340. properties:
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. TabList:
  9348. description: 三级功能菜单
  9349. items:
  9350. $ref: '#/definitions/models.OperationTabMenu'
  9351. type: array
  9352. type: object
  9353. models.OperationTabMenu:
  9354. properties:
  9355. Key:
  9356. description: 菜单KEY
  9357. type: string
  9358. Label:
  9359. description: 菜单标题
  9360. type: string
  9361. type: object
  9362. models.PendingAuditBizModel:
  9363. properties:
  9364. accountid:
  9365. description: 现货账户
  9366. type: string
  9367. areaname:
  9368. description: 所属部门
  9369. type: string
  9370. bizid:
  9371. description: 业务ID
  9372. type: string
  9373. bizname:
  9374. description: 业务名称
  9375. type: string
  9376. status:
  9377. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9378. type: integer
  9379. type:
  9380. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9381. type: integer
  9382. type: object
  9383. models.QhjAccountOutInApply:
  9384. properties:
  9385. accountcode:
  9386. description: 资金账号
  9387. type: string
  9388. accountname:
  9389. description: 用户名称(名称)
  9390. type: string
  9391. accountpwd:
  9392. description: 资金密码
  9393. type: string
  9394. accountticket:
  9395. description: 最新账户服务流水号
  9396. type: string
  9397. amount:
  9398. description: 金额
  9399. type: number
  9400. applyremark:
  9401. description: 申请备注
  9402. type: string
  9403. applystatus:
  9404. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9405. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9406. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9407. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9408. type: integer
  9409. auditid:
  9410. description: 审核人
  9411. type: integer
  9412. audittime:
  9413. description: 审核时间
  9414. type: string
  9415. bank_apply_ticket:
  9416. description: 银行申请流水
  9417. type: string
  9418. bankaccountname:
  9419. description: 银行账户名
  9420. type: string
  9421. bankaccountno:
  9422. description: 银行卡号
  9423. type: string
  9424. bankid:
  9425. description: 银行编号
  9426. type: string
  9427. bankticket:
  9428. description: 银行流水
  9429. type: string
  9430. branchbankid:
  9431. description: 银行支行号
  9432. type: string
  9433. branchbankname:
  9434. description: 银行支行名称
  9435. type: string
  9436. capamountout:
  9437. description: 出金(劣后本金) - 外部子账户
  9438. type: number
  9439. certificatephotourl:
  9440. description: 凭证地址
  9441. type: string
  9442. charge:
  9443. description: 手续费
  9444. type: number
  9445. checkerrorflag:
  9446. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9447. type: integer
  9448. currency:
  9449. description: 币种
  9450. type: string
  9451. cusbankid:
  9452. description: 托管银行编号
  9453. type: string
  9454. exchticket:
  9455. description: 银行服务流水号
  9456. type: string
  9457. executetype:
  9458. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9459. 7:外部子账户:入金 8:外部子账户:出金'
  9460. type: integer
  9461. extendinfo:
  9462. description: 扩展信息
  9463. type: string
  9464. extoperateid:
  9465. description: 交易服务流水号
  9466. type: integer
  9467. infamount:
  9468. description: 劣后金额(自有)
  9469. type: number
  9470. logincode:
  9471. description: 登录账号(账号)
  9472. type: string
  9473. netaddr:
  9474. description: 调转网址
  9475. type: string
  9476. priamount:
  9477. description: 优先金额(授信)
  9478. type: number
  9479. reauditid:
  9480. description: 复审人
  9481. type: integer
  9482. reauditremark:
  9483. description: 复审备注
  9484. type: string
  9485. reaudittime:
  9486. description: 复审时间
  9487. type: string
  9488. relatedorderid:
  9489. description: 三方关联ID
  9490. type: string
  9491. remark:
  9492. description: 备注
  9493. type: string
  9494. remark2:
  9495. description: 备注(失败原因)
  9496. type: string
  9497. soucreamount:
  9498. description: 原始出入金金额
  9499. type: number
  9500. soucrecurrencyid:
  9501. description: 原始出入金币种
  9502. type: integer
  9503. tradedate:
  9504. description: 交易日(yyyyMMdd)
  9505. type: string
  9506. updatetime:
  9507. description: 更新时间(申请时间)
  9508. type: string
  9509. userid:
  9510. description: 用户id
  9511. type: integer
  9512. userinfotype:
  9513. description: 账户类型 1-个人 2-企业
  9514. type: integer
  9515. type: object
  9516. models.QhjAgreementChangeLog:
  9517. properties:
  9518. agreementcontent:
  9519. description: 协议内容
  9520. type: string
  9521. agreementfrequency:
  9522. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9523. type: integer
  9524. agreementid:
  9525. description: 协议ID
  9526. type: integer
  9527. agreementname:
  9528. description: 协议名称
  9529. type: string
  9530. agreementno:
  9531. description: 协议编号
  9532. type: string
  9533. agreementtype:
  9534. description: 协议类型 - 1:注册 2:登录 3:交易
  9535. type: integer
  9536. agreementversion:
  9537. description: 协议版本号
  9538. type: integer
  9539. logid:
  9540. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9541. type: integer
  9542. reviserid:
  9543. description: 修改人
  9544. type: integer
  9545. revisersrc:
  9546. description: 修改来源 - 1:管理端 2:终端
  9547. type: integer
  9548. updatetime:
  9549. description: 更新时间
  9550. type: string
  9551. type: object
  9552. models.QhjAgreementConfig:
  9553. properties:
  9554. agreementcontent:
  9555. description: 协议内容
  9556. type: string
  9557. agreementfrequency:
  9558. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9559. type: integer
  9560. agreementid:
  9561. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9562. type: integer
  9563. agreementname:
  9564. description: 协议名称
  9565. type: string
  9566. agreementno:
  9567. description: 协议编号
  9568. type: string
  9569. agreementtype:
  9570. description: 协议类型 - 1:注册 2:登录 3:交易
  9571. type: integer
  9572. agreementversion:
  9573. description: 协议版本号(从1开始每次修改加1)
  9574. type: integer
  9575. createtime:
  9576. description: 创建时间
  9577. type: string
  9578. creatorid:
  9579. description: 创建人
  9580. type: integer
  9581. creatorsrc:
  9582. description: 创建来源 - 1:管理端 2:终端
  9583. type: integer
  9584. isvalid:
  9585. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9586. type: integer
  9587. reviserid:
  9588. description: 修改人
  9589. type: integer
  9590. revisersrc:
  9591. description: 修改来源 - 1:管理端 2:终端
  9592. type: integer
  9593. updatetime:
  9594. description: 更新时间
  9595. type: string
  9596. type: object
  9597. models.QhjAreaFinanceConfig:
  9598. properties:
  9599. additionalratio:
  9600. description: 追加款比例
  9601. type: number
  9602. advanceratio:
  9603. description: 预付款比例
  9604. type: number
  9605. alarmratio:
  9606. description: 告警比例
  9607. type: number
  9608. consumptiondirectreward:
  9609. description: 消费直推奖励值
  9610. type: number
  9611. consumptionenabled:
  9612. description: 是否启用消费奖励 - 0:不启用 1:启用
  9613. type: integer
  9614. consumptionindirectreward:
  9615. description: 消费间推奖励值
  9616. type: number
  9617. consumptionmodel:
  9618. description: 消费奖励方式 - 1:比率 2:固定
  9619. type: integer
  9620. customerservicenum:
  9621. description: 客服电话
  9622. type: string
  9623. dayinterestrate:
  9624. description: 日利率
  9625. type: number
  9626. disableconsumptiontips:
  9627. description: 关闭消费奖励提示
  9628. type: string
  9629. modifierid:
  9630. description: 修改人ID
  9631. type: integer
  9632. modifysrc:
  9633. description: 审核来源 - 1:管理端 2:终端
  9634. type: integer
  9635. modifytime:
  9636. description: 修改时间
  9637. type: string
  9638. promotionvalue:
  9639. description: 推广奖励值(固定)
  9640. type: number
  9641. scoreconfigvalue1:
  9642. description: 提货积分配置1
  9643. type: integer
  9644. scoreconfigvalue2:
  9645. description: 提货积分配置2
  9646. type: integer
  9647. userid:
  9648. description: 机构用户ID其他做市关系,都设置为 1
  9649. type: integer
  9650. username:
  9651. description: 用户名称
  9652. type: string
  9653. type: object
  9654. models.QhjBankAccountSign:
  9655. properties:
  9656. accountcode:
  9657. description: 资金账号
  9658. type: string
  9659. accountname:
  9660. description: 资金账号对应的账号名(UserName)
  9661. type: string
  9662. accountname2:
  9663. description: 资金账号对应的账号名(UserName) - 密文
  9664. type: string
  9665. accounttype:
  9666. description: 账户类型(UserType)
  9667. type: integer
  9668. applicationtime:
  9669. description: 最后一次更新的时间
  9670. type: string
  9671. applyexchticket:
  9672. description: 申请流水
  9673. type: string
  9674. auditid:
  9675. description: 审核人
  9676. type: integer
  9677. audittime:
  9678. description: 审核时间
  9679. type: string
  9680. bankaccountname:
  9681. description: 签约银行卡账号名
  9682. type: string
  9683. bankaccountname2:
  9684. description: 签约银行卡账号名 - 密文
  9685. type: string
  9686. bankaccountno:
  9687. description: 银行卡号
  9688. type: string
  9689. bankaccountno2:
  9690. description: 银行卡号 - 密文
  9691. type: string
  9692. bankaccounttype:
  9693. description: 银行账户类型 - 1-对私; 2-对公
  9694. type: integer
  9695. bankcardtype:
  9696. description: 银行卡类型
  9697. type: integer
  9698. bankchildaccount:
  9699. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9700. type: string
  9701. bankcity:
  9702. description: 开户行城市
  9703. type: string
  9704. bankid:
  9705. description: 签约银行ID
  9706. type: string
  9707. bankname:
  9708. description: 签约银行名称
  9709. type: string
  9710. bankprovince:
  9711. description: 开户行省份
  9712. type: string
  9713. branchbankid:
  9714. description: 签约银行支行号
  9715. type: string
  9716. branchbankname:
  9717. description: 签约银行支行名称
  9718. type: string
  9719. cardno:
  9720. description: 证件号码
  9721. type: string
  9722. cardno2:
  9723. description: 证件号码 - 密文
  9724. type: string
  9725. cardtype:
  9726. description: 证件类型
  9727. type: string
  9728. currency:
  9729. description: 币种
  9730. type: string
  9731. cusbankid:
  9732. description: 托管银行编号
  9733. type: string
  9734. direct:
  9735. description: 方向(可以判断那方先发起的签约)
  9736. type: integer
  9737. exchticket:
  9738. description: 最后一次签约成功的流水号
  9739. type: string
  9740. extendinfo:
  9741. description: 扩展信息(JSON字符串)
  9742. type: string
  9743. mobilephone:
  9744. description: 手机号
  9745. type: string
  9746. mobilephone2:
  9747. description: 手机号 - 密文
  9748. type: string
  9749. netaddr:
  9750. description: 调转网址
  9751. type: string
  9752. relateduserid:
  9753. description: 关联使用者userid
  9754. type: integer
  9755. signstatus:
  9756. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9757. 10:审核拒绝 11:换签待审核
  9758. type: integer
  9759. updatetime:
  9760. description: 更新时间(签解约更新时间)
  9761. type: string
  9762. type: object
  9763. models.QhjBankInfo:
  9764. properties:
  9765. bankid:
  9766. description: 银行ID
  9767. type: string
  9768. bankname:
  9769. description: 银行名称
  9770. type: string
  9771. clearbankno:
  9772. description: 清算系统银行编号
  9773. type: string
  9774. orderindex:
  9775. description: 排序顺序
  9776. type: integer
  9777. status:
  9778. description: 状态 - 0:正常 1:注销
  9779. type: integer
  9780. type: object
  9781. models.QhjBrokerApply:
  9782. properties:
  9783. applicantid:
  9784. description: 申请人
  9785. type: integer
  9786. applysrc:
  9787. description: 申请来源 - 1:管理端 2:终端
  9788. type: integer
  9789. applystatus:
  9790. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9791. type: integer
  9792. applytime:
  9793. description: 申请时间
  9794. type: string
  9795. auditorid:
  9796. description: 审核人
  9797. type: integer
  9798. auditremark:
  9799. description: 审核备注
  9800. type: string
  9801. auditsrc:
  9802. description: 审核来源 - 1:管理端 2:终端
  9803. type: integer
  9804. audittime:
  9805. description: 审核时间
  9806. type: string
  9807. audittradedate:
  9808. description: 审核交易日(yyyyMMdd)
  9809. type: string
  9810. brokerapplyid:
  9811. description: 申请ID(SEQ_BROKERAPPLY)
  9812. type: integer
  9813. cardbackphotourl:
  9814. description: 证件背面图片地址
  9815. type: string
  9816. cardfrontphotourl:
  9817. description: 证件正面图片地址
  9818. type: string
  9819. cardnum:
  9820. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9821. type: string
  9822. customername:
  9823. description: 姓名
  9824. type: string
  9825. logincode:
  9826. description: 登录代码
  9827. type: string
  9828. mobile:
  9829. description: 手机号码
  9830. type: string
  9831. parentuserid:
  9832. description: 所属机构id
  9833. type: integer
  9834. parentusername:
  9835. description: 所属机构名称
  9836. type: string
  9837. refereeuserid:
  9838. description: 推荐人id(经纪人)
  9839. type: integer
  9840. refernum:
  9841. description: 推荐码
  9842. type: string
  9843. remark:
  9844. description: 备注
  9845. type: string
  9846. subarealevelpath:
  9847. description: 层级路径
  9848. type: string
  9849. tradedate:
  9850. description: 交易日(yyyyMMdd)
  9851. type: string
  9852. userid:
  9853. description: 申请人用户ID
  9854. type: integer
  9855. userinfotype:
  9856. description: 用户类型 1-个人 2-企业
  9857. type: integer
  9858. username:
  9859. description: 用户名称
  9860. type: string
  9861. type: object
  9862. models.QhjBrokerApplyEx:
  9863. properties:
  9864. applylist:
  9865. description: 经纪人申请记录(只返回最新一条)
  9866. items:
  9867. $ref: '#/definitions/models.QhjBrokerApply'
  9868. type: array
  9869. canrecommend:
  9870. description: 是否经纪人 0-不是 1-是
  9871. type: integer
  9872. refernum:
  9873. description: 推荐码
  9874. type: string
  9875. userid:
  9876. description: 用户id
  9877. type: integer
  9878. userinfotype:
  9879. description: 用户类型 1-个人 2-企业
  9880. type: integer
  9881. type: object
  9882. models.QhjBrokerRewardLog:
  9883. properties:
  9884. accountid:
  9885. description: 资金账号ID
  9886. type: integer
  9887. createtime:
  9888. description: 创建时间(时间)
  9889. type: string
  9890. handlestatus:
  9891. description: 处理状态
  9892. type: integer
  9893. logid:
  9894. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9895. type: string
  9896. marketid:
  9897. description: 市场ID
  9898. type: integer
  9899. mmaccountid:
  9900. description: 做市商资金账号ID
  9901. type: string
  9902. mmuserid:
  9903. description: 做市商用户ID
  9904. type: string
  9905. rewardamount:
  9906. description: 奖励金额
  9907. type: number
  9908. rewardmodel:
  9909. description: 消费奖励方式 - 1:比率 2:固定
  9910. type: integer
  9911. rewardtype:
  9912. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9913. type: integer
  9914. rewardvalue:
  9915. description: 配置奖励值
  9916. type: number
  9917. srcamount:
  9918. description: 成交金额 [消费奖励] (金额)
  9919. type: number
  9920. srcgoodsid:
  9921. description: 来源商品ID [消费奖励]
  9922. type: string
  9923. srctime:
  9924. description: 来源时间 (成交时间) [消费奖励]
  9925. type: string
  9926. srctradeid:
  9927. description: 来源成交单ID [消费奖励] - 排除提货成交
  9928. type: string
  9929. srcuserid:
  9930. description: 来源用户ID(推广账户)
  9931. type: string
  9932. srcusername:
  9933. description: 推广账户名称
  9934. type: string
  9935. tradedate:
  9936. description: 交易日(yyyyMMdd)
  9937. type: string
  9938. userid:
  9939. description: 经纪人用户ID
  9940. type: integer
  9941. type: object
  9942. models.QhjContract:
  9943. properties:
  9944. contractconfirmtime:
  9945. description: 合同确认时间(时间)
  9946. type: string
  9947. currisklevel:
  9948. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9949. type: integer
  9950. decimalplace:
  9951. description: 商品报价小数位
  9952. type: integer
  9953. enumdicname:
  9954. description: 单位名称
  9955. type: string
  9956. goodscode:
  9957. description: 商品代码
  9958. type: string
  9959. goodsid:
  9960. description: 商品ID [5:融资单]
  9961. type: integer
  9962. goodsname:
  9963. description: 商品名称
  9964. type: string
  9965. goodunitid:
  9966. description: 商品单位id
  9967. type: integer
  9968. initmargin:
  9969. description: 初始保证金(首付款)
  9970. type: number
  9971. lenderamount:
  9972. description: 贷款金额(总额|订单总额)
  9973. type: number
  9974. marginratio:
  9975. description: 保证金比率(首付比例)
  9976. type: number
  9977. payamount:
  9978. description: 已付(已付货款)
  9979. type: number
  9980. reckonrecovermargin:
  9981. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9982. type: number
  9983. recoveredmargin:
  9984. description: 已追缴保证金
  9985. type: number
  9986. remainamount:
  9987. description: 合同剩余金额(融资额)
  9988. type: number
  9989. scfcontractid:
  9990. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9991. type: string
  9992. scfcontractstatus:
  9993. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9994. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9995. type: integer
  9996. scfcontracttype:
  9997. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9998. type: integer
  9999. totalinterest:
  10000. description: 已计总利息(利息)
  10001. type: number
  10002. tradeprice:
  10003. description: 成交价格(成本价格)
  10004. type: number
  10005. userid:
  10006. description: 用户ID
  10007. type: integer
  10008. username:
  10009. description: 用户名称
  10010. type: string
  10011. wrqty:
  10012. description: 仓单数量(数量)
  10013. type: number
  10014. type: object
  10015. models.QhjContractLog:
  10016. properties:
  10017. amount:
  10018. description: 支付金额
  10019. type: number
  10020. amounttype:
  10021. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10022. type: integer
  10023. logid:
  10024. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10025. type: string
  10026. remainamount:
  10027. description: 剩余货款
  10028. type: number
  10029. scfcontractid:
  10030. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10031. type: integer
  10032. updatetime:
  10033. description: 更新时间
  10034. type: string
  10035. type: object
  10036. models.QhjCusBankSignBankEx:
  10037. properties:
  10038. banklst:
  10039. description: 银行列表
  10040. items:
  10041. $ref: '#/definitions/models.QhjBankInfo'
  10042. type: array
  10043. canallot:
  10044. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10045. type: integer
  10046. canallotquery:
  10047. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10048. type: integer
  10049. canbindcard:
  10050. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10051. type: integer
  10052. caninamount:
  10053. description: 是否可入金 - 0:不可 1:可以
  10054. type: integer
  10055. caninamount2:
  10056. description: 是否可入金(网银端) - 0:不可 1:可以
  10057. type: integer
  10058. canmodifybankcard:
  10059. description: 是否可修改银行卡号 - 0:不可 1:可以
  10060. type: integer
  10061. canmodifyphone:
  10062. description: 是否可修改手机号 - 0:不可 1:可以
  10063. type: integer
  10064. canmodifysigninfo:
  10065. description: 是否可修改签约信息 - 0:不可 1:可以
  10066. type: integer
  10067. canoutamount:
  10068. description: 是否可出金 - 0:不可 1:可以
  10069. type: integer
  10070. canoutamount2:
  10071. description: 是否可出金(网银端) - 0:不可 1:可以
  10072. type: integer
  10073. canrelease:
  10074. description: 是否可解约 - 0:不可 1:可以
  10075. type: integer
  10076. canrelease2:
  10077. description: 是否可解约(网银端) - 0:不可 1:可以
  10078. type: integer
  10079. cansign:
  10080. description: 是否可签约 - 0:不可 1:可以
  10081. type: integer
  10082. cansign2:
  10083. description: 是否可签约(网银端) - 0:不可 1:可以
  10084. type: integer
  10085. currency:
  10086. description: 币种
  10087. type: string
  10088. cusbankid:
  10089. description: 托管银行编号(对应清算中心TRAN_NO)
  10090. type: string
  10091. cusbankname:
  10092. description: 银行业务名称
  10093. type: string
  10094. cusbankshortname:
  10095. description: 银行业务简称
  10096. type: string
  10097. exchbankid:
  10098. description: 交易所开户银行ID
  10099. type: string
  10100. exchpaybankaccname:
  10101. description: 交易所支出结算账户户名
  10102. type: string
  10103. exchpaybankaccno:
  10104. description: 交易所支出结算账户
  10105. type: string
  10106. isneedcheck:
  10107. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10108. type: integer
  10109. isneedclear:
  10110. description: 是否需要清算 - 0:不需要 1:需要
  10111. type: integer
  10112. lastcheckstatus:
  10113. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10114. type: integer
  10115. lastchecktime:
  10116. description: 最后对账时间
  10117. type: string
  10118. lastclearstatus:
  10119. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10120. type: integer
  10121. lastcleartime:
  10122. description: 最后清算时间
  10123. type: string
  10124. lastsignintime:
  10125. description: 最后签到时间
  10126. type: string
  10127. lastsignouttime:
  10128. description: 最后签退时间
  10129. type: string
  10130. riskinfo:
  10131. description: 签约风险提示书
  10132. type: string
  10133. signstatus:
  10134. description: 当前签到/签退状态 - 1:签到 2:签退
  10135. type: integer
  10136. tradedate:
  10137. description: 交易日(yyyyMMdd)
  10138. type: string
  10139. updatetime:
  10140. description: 当前签到/签退更新时间
  10141. type: string
  10142. type: object
  10143. models.QhjCustomer:
  10144. properties:
  10145. address:
  10146. description: 通讯地址
  10147. type: string
  10148. attachment1:
  10149. description: 附件1
  10150. type: string
  10151. audittime:
  10152. description: 审核时间
  10153. type: string
  10154. cardbackphotourl:
  10155. description: 证件反面图片地址
  10156. type: string
  10157. cardfrontphotourl:
  10158. description: 证件正面图片地址
  10159. type: string
  10160. cardnum:
  10161. description: 证件号码
  10162. type: string
  10163. cardtype:
  10164. description: 证件类型
  10165. type: integer
  10166. cardtypename:
  10167. description: 证件类型名称
  10168. type: string
  10169. cityid:
  10170. description: 市
  10171. type: integer
  10172. cityname:
  10173. description: 城市名称
  10174. type: string
  10175. contactname:
  10176. description: 联系人
  10177. type: string
  10178. countryid:
  10179. description: 国家
  10180. type: integer
  10181. countryname:
  10182. description: 国家名称
  10183. type: string
  10184. createtime:
  10185. description: 创建时间
  10186. type: string
  10187. customername:
  10188. description: 客户名称
  10189. type: string
  10190. districtid:
  10191. description: 区域
  10192. type: integer
  10193. districtname:
  10194. description: 地区名称
  10195. type: string
  10196. email:
  10197. description: 邮件
  10198. type: string
  10199. legalpersonname:
  10200. description: 法人姓名(企业)
  10201. type: string
  10202. logincode:
  10203. description: 登录账号(代码)
  10204. type: string
  10205. memberuserid:
  10206. description: 所属机构ID(所属会员)
  10207. type: integer
  10208. memberusername:
  10209. description: 所属会员名称
  10210. type: string
  10211. mobile:
  10212. description: 手机号码
  10213. type: string
  10214. modifytime:
  10215. description: 修改时间
  10216. type: string
  10217. nickname:
  10218. description: 昵称
  10219. type: string
  10220. parentuserid:
  10221. description: 上级机构(所属机构)
  10222. type: integer
  10223. parentusername:
  10224. description: 所属机构名称
  10225. type: string
  10226. provinceid:
  10227. description: 省
  10228. type: integer
  10229. provincename:
  10230. description: 省名称
  10231. type: string
  10232. proxystatementurl:
  10233. description: 授权委托书
  10234. type: string
  10235. remark:
  10236. description: 备注
  10237. type: string
  10238. status:
  10239. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10240. type: integer
  10241. statusdesc:
  10242. description: 账户状态中文描述
  10243. type: string
  10244. taxpayernum:
  10245. description: 纳税人识别号
  10246. type: string
  10247. telphone:
  10248. description: 联系电话
  10249. type: string
  10250. userid:
  10251. description: 用户ID
  10252. type: integer
  10253. userinfotype:
  10254. description: 客户类型 1-个人 2-企业
  10255. type: integer
  10256. username:
  10257. description: 用户名称
  10258. type: string
  10259. type: object
  10260. models.QhjCustomerSignLog:
  10261. properties:
  10262. agreementcontent:
  10263. description: 协议内容
  10264. type: string
  10265. agreementid:
  10266. description: 协议ID
  10267. type: integer
  10268. agreementname:
  10269. description: 协议名称
  10270. type: string
  10271. agreementno:
  10272. description: 协议编号
  10273. type: string
  10274. agreementtype:
  10275. description: 协议类型 - 1:注册 2:登录 3:交易
  10276. type: integer
  10277. agreementversion:
  10278. description: 协议版本号
  10279. type: integer
  10280. createtime:
  10281. description: 创建时间
  10282. type: string
  10283. goodscode:
  10284. description: 商品代码
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. logid:
  10293. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10294. type: integer
  10295. nodetype:
  10296. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10297. type: integer
  10298. signadressurl:
  10299. description: 签约文件地址
  10300. type: string
  10301. signtimestamp:
  10302. description: 签约状态时间戳
  10303. type: string
  10304. userid:
  10305. description: 客户ID
  10306. type: integer
  10307. username:
  10308. description: 客户名称
  10309. type: string
  10310. type: object
  10311. models.QhjCustomerSignStatus:
  10312. properties:
  10313. createtime:
  10314. description: 创建时间
  10315. type: string
  10316. goodscode:
  10317. description: 商品代码
  10318. type: string
  10319. goodsid:
  10320. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10321. type: integer
  10322. goodsname:
  10323. description: 商品名称
  10324. type: string
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10327. type: integer
  10328. signtimestamp:
  10329. description: 签约状态时间戳
  10330. type: string
  10331. tradedate:
  10332. description: 创建交易日(yyyyMMdd)
  10333. type: string
  10334. updatetime:
  10335. description: 更新时间
  10336. type: string
  10337. userid:
  10338. description: 客户ID
  10339. type: integer
  10340. username:
  10341. description: 客户名称
  10342. type: string
  10343. type: object
  10344. models.QhjMgrAccountOutInApply:
  10345. properties:
  10346. accountcode:
  10347. description: 资金账号
  10348. type: string
  10349. accountname:
  10350. description: 用户名称(名称)
  10351. type: string
  10352. accountpwd:
  10353. description: 资金密码
  10354. type: string
  10355. accountticket:
  10356. description: 最新账户服务流水号
  10357. type: string
  10358. amount:
  10359. description: 金额
  10360. type: number
  10361. applyremark:
  10362. description: 申请备注
  10363. type: string
  10364. applystatus:
  10365. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10366. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10367. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10368. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10369. type: integer
  10370. auditid:
  10371. description: 审核人
  10372. type: integer
  10373. audittime:
  10374. description: 审核时间
  10375. type: string
  10376. bank_apply_ticket:
  10377. description: 银行申请流水
  10378. type: string
  10379. bankaccountname:
  10380. description: 银行账户名
  10381. type: string
  10382. bankaccountno:
  10383. description: 银行卡号
  10384. type: string
  10385. bankid:
  10386. description: 银行编号
  10387. type: string
  10388. bankname:
  10389. description: 银行名称
  10390. type: string
  10391. bankticket:
  10392. description: 银行流水
  10393. type: string
  10394. branchbankid:
  10395. description: 银行支行号
  10396. type: string
  10397. branchbankname:
  10398. description: 银行支行名称
  10399. type: string
  10400. capamountout:
  10401. description: 出金(劣后本金) - 外部子账户
  10402. type: number
  10403. certificatephotourl:
  10404. description: 凭证地址
  10405. type: string
  10406. charge:
  10407. description: 手续费
  10408. type: number
  10409. checkerrorflag:
  10410. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10411. type: integer
  10412. currency:
  10413. description: 币种
  10414. type: string
  10415. cusbankid:
  10416. description: 托管银行编号
  10417. type: string
  10418. exchticket:
  10419. description: 银行服务流水号
  10420. type: string
  10421. executetype:
  10422. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10423. 7:外部子账户:入金 8:外部子账户:出金'
  10424. type: integer
  10425. extendinfo:
  10426. description: 扩展信息
  10427. type: string
  10428. extoperateid:
  10429. description: 交易服务流水号
  10430. type: integer
  10431. infamount:
  10432. description: 劣后金额(自有)
  10433. type: number
  10434. logincode:
  10435. description: 登录账号(账号)
  10436. type: string
  10437. netaddr:
  10438. description: 调转网址
  10439. type: string
  10440. priamount:
  10441. description: 优先金额(授信)
  10442. type: number
  10443. reauditid:
  10444. description: 复审人
  10445. type: integer
  10446. reauditremark:
  10447. description: 复审备注
  10448. type: string
  10449. reaudittime:
  10450. description: 复审时间
  10451. type: string
  10452. relatedorderid:
  10453. description: 三方关联ID
  10454. type: string
  10455. remark:
  10456. description: 备注
  10457. type: string
  10458. remark2:
  10459. description: 备注(失败原因)
  10460. type: string
  10461. soucreamount:
  10462. description: 原始出入金金额
  10463. type: number
  10464. soucrecurrencyid:
  10465. description: 原始出入金币种
  10466. type: integer
  10467. tradedate:
  10468. description: 交易日(yyyyMMdd)
  10469. type: string
  10470. updatetime:
  10471. description: 更新时间(申请时间)
  10472. type: string
  10473. userid:
  10474. description: 用户id
  10475. type: integer
  10476. userinfotype:
  10477. description: 账户类型 1-个人 2-企业
  10478. type: integer
  10479. type: object
  10480. models.QhjMgrBrokerApply:
  10481. properties:
  10482. applicantid:
  10483. description: 申请人
  10484. type: integer
  10485. applysrc:
  10486. description: 申请来源 - 1:管理端 2:终端
  10487. type: integer
  10488. applystatus:
  10489. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10490. type: integer
  10491. applytime:
  10492. description: 申请时间
  10493. type: string
  10494. auditorid:
  10495. description: 审核人
  10496. type: integer
  10497. auditremark:
  10498. description: 审核备注
  10499. type: string
  10500. auditsrc:
  10501. description: 审核来源 - 1:管理端 2:终端
  10502. type: integer
  10503. audittime:
  10504. description: 审核时间
  10505. type: string
  10506. audittradedate:
  10507. description: 审核交易日(yyyyMMdd)
  10508. type: string
  10509. brokerapplyid:
  10510. description: 申请ID(SEQ_BROKERAPPLY)
  10511. type: integer
  10512. cardbackphotourl:
  10513. description: 证件背面图片地址
  10514. type: string
  10515. cardfrontphotourl:
  10516. description: 证件正面图片地址
  10517. type: string
  10518. cardnum:
  10519. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10520. type: string
  10521. customername:
  10522. description: 姓名
  10523. type: string
  10524. filterstatus:
  10525. description: 筛选条件
  10526. type: string
  10527. logincode:
  10528. description: 登录代码
  10529. type: string
  10530. mobile:
  10531. description: 手机号码
  10532. type: string
  10533. parentuserid:
  10534. description: 所属机构id
  10535. type: integer
  10536. parentusername:
  10537. description: 所属机构名称
  10538. type: string
  10539. refereeuserid:
  10540. description: 推荐人id(经纪人)
  10541. type: integer
  10542. refernum:
  10543. description: 推荐码
  10544. type: string
  10545. remark:
  10546. description: 备注
  10547. type: string
  10548. subarealevelpath:
  10549. description: 层级路径
  10550. type: string
  10551. tradedate:
  10552. description: 交易日(yyyyMMdd)
  10553. type: string
  10554. userid:
  10555. description: 申请人用户ID
  10556. type: integer
  10557. userinfotype:
  10558. description: 用户类型 1-个人 2-企业
  10559. type: integer
  10560. username:
  10561. description: 用户名称
  10562. type: string
  10563. type: object
  10564. models.QhjMgrBrokerRewardReport:
  10565. properties:
  10566. createtime:
  10567. description: 创建时间(注册时间)
  10568. type: string
  10569. cycletime:
  10570. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10571. type: string
  10572. cycletype:
  10573. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10574. type: integer
  10575. directtotalnum:
  10576. description: 直推总人数【期末】
  10577. type: integer
  10578. indirecttotalnum:
  10579. description: 间推总人数【期末】
  10580. type: integer
  10581. mobile:
  10582. description: 电话号码
  10583. type: string
  10584. refereeuserid:
  10585. description: 推荐人id(经纪人id)
  10586. type: integer
  10587. refereeusername:
  10588. description: 推荐人名称(经纪人) 上级经纪人名称
  10589. type: string
  10590. refernum:
  10591. description: 推荐码
  10592. type: string
  10593. subarealevelpath:
  10594. description: 用户层级路径
  10595. type: string
  10596. todayrewardamount:
  10597. description: 奖励总金额【汇总】
  10598. type: number
  10599. updatetime:
  10600. description: 更新时间
  10601. type: string
  10602. userid:
  10603. description: 经纪人用户ID
  10604. type: integer
  10605. userinfotype:
  10606. description: 用户类型 1-个人 2-企业
  10607. type: integer
  10608. username:
  10609. description: 用户名称
  10610. type: string
  10611. type: object
  10612. models.QhjMgrContract:
  10613. properties:
  10614. contractconfirmtime:
  10615. description: 合同确认时间(时间)
  10616. type: string
  10617. currisklevel:
  10618. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10619. type: integer
  10620. decimalplace:
  10621. description: 商品报价小数位
  10622. type: integer
  10623. enumdicname:
  10624. description: 单位名称
  10625. type: string
  10626. goodscode:
  10627. description: 商品代码
  10628. type: string
  10629. goodsid:
  10630. description: 商品ID [5:融资单]
  10631. type: integer
  10632. goodsname:
  10633. description: 商品名称
  10634. type: string
  10635. goodunitid:
  10636. description: 商品单位id
  10637. type: integer
  10638. initmargin:
  10639. description: 初始保证金(首付款)
  10640. type: number
  10641. lenderamount:
  10642. description: 贷款金额(总额|订单总额)
  10643. type: number
  10644. logincode:
  10645. description: 账号(登录代码)
  10646. type: string
  10647. marginratio:
  10648. description: 保证金比率(首付比例)
  10649. type: number
  10650. mobile:
  10651. description: 电话号码(用户资料里的电话)
  10652. type: string
  10653. payamount:
  10654. description: 已付(已付货款)
  10655. type: number
  10656. reckonrecovermargin:
  10657. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10658. type: number
  10659. recoveredmargin:
  10660. description: 已追缴保证金
  10661. type: number
  10662. remainamount:
  10663. description: 合同剩余金额(融资额)
  10664. type: number
  10665. scfcontractid:
  10666. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10667. type: string
  10668. scfcontractstatus:
  10669. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10670. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10671. type: integer
  10672. scfcontracttype:
  10673. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10674. type: integer
  10675. totalinterest:
  10676. description: 已计总利息(利息)
  10677. type: number
  10678. tradedate:
  10679. description: 交易日
  10680. type: string
  10681. tradeprice:
  10682. description: 成交价格(成本价格)
  10683. type: number
  10684. userid:
  10685. description: 用户ID
  10686. type: integer
  10687. userinfotype:
  10688. description: 用户类型 1-个人 2-企业
  10689. type: integer
  10690. username:
  10691. description: 用户名称
  10692. type: string
  10693. wrqty:
  10694. description: 仓单数量(数量)
  10695. type: number
  10696. type: object
  10697. models.QhjMgrCustomer:
  10698. properties:
  10699. address:
  10700. description: 通讯地址
  10701. type: string
  10702. attachment1:
  10703. description: 附件1
  10704. type: string
  10705. audittime:
  10706. description: 审核时间
  10707. type: string
  10708. cardbackphotourl:
  10709. description: 证件反面图片地址
  10710. type: string
  10711. cardfrontphotourl:
  10712. description: 证件正面图片地址
  10713. type: string
  10714. cardnum:
  10715. description: 证件号码
  10716. type: string
  10717. cardtype:
  10718. description: 证件类型
  10719. type: integer
  10720. cardtypename:
  10721. description: 证件类型名称
  10722. type: string
  10723. cityid:
  10724. description: 市
  10725. type: integer
  10726. cityname:
  10727. description: 城市名称
  10728. type: string
  10729. contactname:
  10730. description: 联系人
  10731. type: string
  10732. countryid:
  10733. description: 国家
  10734. type: integer
  10735. countryname:
  10736. description: 国家名称
  10737. type: string
  10738. createtime:
  10739. description: 创建时间
  10740. type: string
  10741. customername:
  10742. description: 客户名称
  10743. type: string
  10744. districtid:
  10745. description: 区域
  10746. type: integer
  10747. districtname:
  10748. description: 地区名称
  10749. type: string
  10750. email:
  10751. description: 邮件
  10752. type: string
  10753. legalpersonname:
  10754. description: 法人姓名(企业)
  10755. type: string
  10756. logincode:
  10757. description: 登录账号(代码)
  10758. type: string
  10759. memberuserid:
  10760. description: 所属机构ID(所属会员)
  10761. type: integer
  10762. memberusername:
  10763. description: 所属会员名称
  10764. type: string
  10765. mobile:
  10766. description: 手机号码
  10767. type: string
  10768. modifytime:
  10769. description: 修改时间
  10770. type: string
  10771. nickname:
  10772. description: 昵称
  10773. type: string
  10774. parentuserid:
  10775. description: 上级机构(所属机构)
  10776. type: integer
  10777. parentusername:
  10778. description: 所属机构名称
  10779. type: string
  10780. provinceid:
  10781. description: 省
  10782. type: integer
  10783. provincename:
  10784. description: 省名称
  10785. type: string
  10786. proxystatementurl:
  10787. description: 授权委托书
  10788. type: string
  10789. querytype:
  10790. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10791. type: integer
  10792. remark:
  10793. description: 备注
  10794. type: string
  10795. status:
  10796. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10797. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10798. type: integer
  10799. statusdesc:
  10800. description: 账户状态中文描述
  10801. type: string
  10802. taxpayernum:
  10803. description: 纳税人识别号
  10804. type: string
  10805. telphone:
  10806. description: 联系电话
  10807. type: string
  10808. userid:
  10809. description: 用户ID
  10810. type: integer
  10811. userinfotype:
  10812. description: 客户类型 1-个人 2-企业
  10813. type: integer
  10814. username:
  10815. description: 用户名称
  10816. type: string
  10817. type: object
  10818. models.QhjMgrPickGoods:
  10819. properties:
  10820. enumdicname:
  10821. description: 单位名称(提货商品)
  10822. type: string
  10823. goodsid:
  10824. description: 商品id
  10825. type: integer
  10826. imageaddress:
  10827. description: 图片
  10828. type: string
  10829. modifierid:
  10830. description: 修改人
  10831. type: integer
  10832. modifiername:
  10833. description: 修改人名称
  10834. type: string
  10835. modifysrc:
  10836. description: 修改来源 - 1:管理端 2:终端
  10837. type: integer
  10838. pickupgoodsagreeunit:
  10839. description: 合约乘数
  10840. type: number
  10841. pickupgoodsdesc:
  10842. description: 描述
  10843. type: string
  10844. pickupgoodsid:
  10845. description: 提货商品ID
  10846. type: string
  10847. pickupgoodsname:
  10848. description: 提货商品名称
  10849. type: string
  10850. pickupgoodsstatus:
  10851. description: 状态 - 1:正常 2:停用 3:注销
  10852. type: integer
  10853. pickupgoodsunitid:
  10854. description: 单位ID
  10855. type: integer
  10856. pickupratio:
  10857. description: 提货系数
  10858. type: number
  10859. preparedays:
  10860. description: 备货期(天)
  10861. type: integer
  10862. remark:
  10863. description: 备注
  10864. type: string
  10865. updatetime:
  10866. description: 更新时间
  10867. type: string
  10868. type: object
  10869. models.QhjMgrPositionRsp:
  10870. properties:
  10871. accountid:
  10872. description: 账号Id
  10873. type: integer
  10874. accountname:
  10875. description: 用户名称
  10876. type: string
  10877. agreeunit:
  10878. description: 合约乘数
  10879. type: number
  10880. averageprice:
  10881. description: 均价
  10882. type: number
  10883. avialqty:
  10884. description: 可用数量
  10885. type: number
  10886. decimalplace:
  10887. description: 报价小数位
  10888. type: integer
  10889. enumdicname:
  10890. description: 单位名称(商品)
  10891. type: string
  10892. frozenqty:
  10893. description: 冻结数量
  10894. type: number
  10895. goodscode:
  10896. description: 商品代码(内部)
  10897. type: string
  10898. goodsid:
  10899. description: 商品Id
  10900. type: integer
  10901. goodsname:
  10902. description: 商品名称
  10903. type: string
  10904. goodunitid:
  10905. description: 报价单位ID
  10906. type: integer
  10907. holderamount:
  10908. description: 金额
  10909. type: number
  10910. holderqty:
  10911. description: 持有数量
  10912. type: number
  10913. holdertype:
  10914. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10915. type: integer
  10916. logincode:
  10917. description: 登录代码(账户)
  10918. type: string
  10919. marketid:
  10920. description: 市场id
  10921. type: integer
  10922. qtydecimalplace:
  10923. description: 成交量小数位
  10924. type: integer
  10925. trademode:
  10926. description: 交易模式
  10927. type: integer
  10928. userid:
  10929. description: 用户id
  10930. type: integer
  10931. userinfotype:
  10932. description: 账户类型 1-个人 2-企业
  10933. type: integer
  10934. type: object
  10935. models.QhjMgrSubArea:
  10936. properties:
  10937. accountname:
  10938. description: 账户名称(机构名称)
  10939. type: string
  10940. memberuserid:
  10941. description: 所属会员ID
  10942. type: integer
  10943. parenttopuser:
  10944. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10945. type: string
  10946. parentuserid:
  10947. description: 所属机构ID
  10948. type: integer
  10949. rootuserid:
  10950. description: 根用户ID
  10951. type: string
  10952. subaccountlevel:
  10953. description: 子账户层数
  10954. type: integer
  10955. subarealevelpath:
  10956. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10957. type: string
  10958. userid:
  10959. description: 用户ID
  10960. type: integer
  10961. usertype:
  10962. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrTradeDetailRsp:
  10966. properties:
  10967. accountid:
  10968. description: 资金账号
  10969. type: integer
  10970. accountname:
  10971. description: 用户名称
  10972. type: string
  10973. agreeunit:
  10974. description: 合约乘数
  10975. type: number
  10976. buyorsell:
  10977. description: 成交类型(方向) 0:买 1:卖
  10978. type: integer
  10979. decimalplace:
  10980. description: 报价小数位
  10981. type: integer
  10982. enumdicname:
  10983. description: 单位名称(商品)
  10984. type: string
  10985. goodscode:
  10986. description: 商品代码(内部)
  10987. type: string
  10988. goodsid:
  10989. description: 商品id
  10990. type: integer
  10991. goodsname:
  10992. description: 商品名称
  10993. type: string
  10994. goodunitid:
  10995. description: 报价单位ID
  10996. type: integer
  10997. logincode:
  10998. description: 登录代码(账户)
  10999. type: string
  11000. marketid:
  11001. description: 市场id
  11002. type: integer
  11003. orderid:
  11004. description: 关联委托单号
  11005. type: string
  11006. qtydecimalplace:
  11007. description: 成交量小数位
  11008. type: integer
  11009. tradeamount:
  11010. description: 金额
  11011. type: number
  11012. tradedate:
  11013. description: 交易日
  11014. type: string
  11015. tradeid:
  11016. description: 成交单号
  11017. type: string
  11018. trademode:
  11019. description: 交易模式
  11020. type: integer
  11021. tradeprice:
  11022. description: 价格
  11023. type: number
  11024. tradeqty:
  11025. description: 数量
  11026. type: number
  11027. tradetime:
  11028. description: 成交时间
  11029. type: string
  11030. userid:
  11031. description: 用户id
  11032. type: integer
  11033. userinfotype:
  11034. description: 账户类型 1-个人 2-企业
  11035. type: integer
  11036. type: object
  11037. models.QhjMgrTradeOrderDetailRsp:
  11038. properties:
  11039. accountid:
  11040. description: 资金账号
  11041. type: integer
  11042. accountname:
  11043. description: 用户名称
  11044. type: string
  11045. agreeunit:
  11046. description: 合约乘数
  11047. type: number
  11048. amount:
  11049. description: 金额
  11050. type: number
  11051. decimalplace:
  11052. description: 报价小数位
  11053. type: integer
  11054. enumdicname:
  11055. description: 单位名称(商品)
  11056. type: string
  11057. goodscode:
  11058. description: 商品代码(内部)
  11059. type: string
  11060. goodsid:
  11061. description: 商品id
  11062. type: integer
  11063. goodsname:
  11064. description: 商品名称
  11065. type: string
  11066. goodunitid:
  11067. description: 报价单位ID
  11068. type: integer
  11069. logincode:
  11070. description: 登录代码(账户)
  11071. type: string
  11072. marketid:
  11073. description: 市场id
  11074. type: integer
  11075. orderid:
  11076. description: 关联委托单号
  11077. type: string
  11078. orderprice:
  11079. description: 价格
  11080. type: number
  11081. orderqty:
  11082. description: 数量
  11083. type: number
  11084. orderstatus:
  11085. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11086. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11087. 16:成交失败违约(荷兰式竞拍专用)
  11088. type: integer
  11089. ordertime:
  11090. description: 委托时间
  11091. type: string
  11092. qtydecimalplace:
  11093. description: 成交量小数位
  11094. type: integer
  11095. tradedate:
  11096. description: 交易日
  11097. type: string
  11098. trademode:
  11099. description: 交易模式
  11100. type: integer
  11101. userid:
  11102. description: 用户id
  11103. type: integer
  11104. userinfotype:
  11105. description: 账户类型 1-个人 2-企业
  11106. type: integer
  11107. type: object
  11108. models.QhjMgrTradePayOrder:
  11109. properties:
  11110. accountname:
  11111. description: 用户名称
  11112. type: string
  11113. advanceratio:
  11114. description: 首付比率
  11115. type: number
  11116. agreeunit:
  11117. description: 合约乘数
  11118. type: number
  11119. buyaccountid:
  11120. description: 买方账号ID[报价币种]
  11121. type: integer
  11122. buyorderid:
  11123. description: 买方委托单号(关联单号)
  11124. type: string
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. decimalplace:
  11129. description: 报价小数位
  11130. type: integer
  11131. enumdicname:
  11132. description: 单位名称(商品)
  11133. type: string
  11134. goodscode:
  11135. description: 商品代码(内部)
  11136. type: string
  11137. goodsid:
  11138. description: 商品ID
  11139. type: integer
  11140. goodsname:
  11141. description: 商品名称
  11142. type: string
  11143. goodunitid:
  11144. description: 报价单位ID
  11145. type: integer
  11146. logincode:
  11147. description: 登录代码(账户)
  11148. type: string
  11149. marketid:
  11150. description: 市场id
  11151. type: integer
  11152. offamount:
  11153. description: 优惠金额
  11154. type: number
  11155. operatetype:
  11156. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11157. type: integer
  11158. payamount:
  11159. description: 支付金额(金额)
  11160. type: number
  11161. payflag:
  11162. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11163. type: integer
  11164. paylimitedtime:
  11165. description: 支付期限
  11166. type: string
  11167. paytime:
  11168. description: 付款时间
  11169. type: string
  11170. qtydecimalplace:
  11171. description: 成交量小数位
  11172. type: integer
  11173. sellaccountid:
  11174. description: 卖方账号ID[报价币种]
  11175. type: integer
  11176. sellorderid:
  11177. description: 卖方委托单号
  11178. type: string
  11179. tradeamount:
  11180. description: 成交金额(优惠后金额)
  11181. type: number
  11182. tradecharge:
  11183. description: 成交手续费(买方)
  11184. type: number
  11185. tradedate:
  11186. description: 交易日(yyyyMMdd)
  11187. type: string
  11188. tradeid:
  11189. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11190. type: string
  11191. trademode:
  11192. description: 交易模式
  11193. type: integer
  11194. tradeprice:
  11195. description: 成交价格(价格)
  11196. type: number
  11197. tradeqty:
  11198. description: 成交数量(数量)
  11199. type: number
  11200. tradetime:
  11201. description: 成交时间
  11202. type: string
  11203. userid:
  11204. description: 用户id
  11205. type: integer
  11206. userinfotype:
  11207. description: 账户类型 1-个人 2-企业
  11208. type: integer
  11209. type: object
  11210. models.QhjMyTeamEx:
  11211. properties:
  11212. accountname:
  11213. description: 用户名称
  11214. type: string
  11215. accountstatus:
  11216. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11217. type: integer
  11218. createtime:
  11219. description: 创建时间
  11220. type: string
  11221. mobile:
  11222. description: 手机号码
  11223. type: string
  11224. refereeuserid:
  11225. description: 推荐人id
  11226. type: integer
  11227. refernum:
  11228. description: 推荐码
  11229. type: string
  11230. subList:
  11231. items:
  11232. $ref: '#/definitions/models.QhjMyTeamEx'
  11233. type: array
  11234. userid:
  11235. description: 用户id
  11236. type: integer
  11237. userinfotype:
  11238. description: 用户类型 1-个人 2-企业
  11239. type: integer
  11240. type: object
  11241. models.QhjNodeAgreementConfig:
  11242. properties:
  11243. agreementcontent:
  11244. description: 协议内容
  11245. type: string
  11246. agreementid:
  11247. description: 协议ID
  11248. type: integer
  11249. agreementname:
  11250. description: 协议名称
  11251. type: string
  11252. agreementno:
  11253. description: 协议编号
  11254. type: string
  11255. agreementtype:
  11256. description: 协议类型 - 1:注册 2:登录 3:交易
  11257. type: integer
  11258. agreementversion:
  11259. description: 协议版本号
  11260. type: integer
  11261. configid:
  11262. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11263. type: integer
  11264. createtime:
  11265. description: 创建时间
  11266. type: string
  11267. goodsid:
  11268. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11269. type: integer
  11270. nodetype:
  11271. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11272. type: integer
  11273. type: object
  11274. models.QhjParentAreaList:
  11275. properties:
  11276. accountname:
  11277. description: 账户名称(机构名称)
  11278. type: string
  11279. userid:
  11280. description: 用户ID
  11281. type: integer
  11282. usertype:
  11283. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11284. type: integer
  11285. type: object
  11286. models.QhjPayOrder:
  11287. properties:
  11288. advanceratio:
  11289. description: 首付比率
  11290. type: number
  11291. buyaccountid:
  11292. description: 买方账号ID[报价币种]
  11293. type: integer
  11294. buyorderid:
  11295. description: 买方委托单号
  11296. type: string
  11297. createtime:
  11298. description: 创建时间
  11299. type: string
  11300. decimalplace:
  11301. description: 商品报价小数位
  11302. type: integer
  11303. enumdicname:
  11304. description: 单位名称
  11305. type: string
  11306. goodscode:
  11307. description: 商品代码
  11308. type: string
  11309. goodsid:
  11310. description: 商品ID
  11311. type: integer
  11312. goodsname:
  11313. description: 商品名称
  11314. type: string
  11315. goodunitid:
  11316. description: 商品单位id
  11317. type: integer
  11318. marketid:
  11319. description: 市场ID
  11320. type: integer
  11321. offamount:
  11322. description: 优惠金额
  11323. type: number
  11324. operatetype:
  11325. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11326. type: integer
  11327. payamount:
  11328. description: 支付金额
  11329. type: number
  11330. payflag:
  11331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11332. type: integer
  11333. paylimitedtime:
  11334. description: 支付期限
  11335. type: string
  11336. paytime:
  11337. description: 付款时间
  11338. type: string
  11339. qtydecimalplace:
  11340. description: 成交量小数位
  11341. type: integer
  11342. sellaccountid:
  11343. description: 卖方账号ID[报价币种]
  11344. type: integer
  11345. sellorderid:
  11346. description: 卖方委托单号
  11347. type: string
  11348. tradeamount:
  11349. description: 成交金额(优惠后金额)
  11350. type: number
  11351. tradecharge:
  11352. description: 成交手续费(买方)
  11353. type: number
  11354. tradedate:
  11355. description: 交易日(yyyyMMdd)
  11356. type: string
  11357. tradeid:
  11358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11359. type: string
  11360. tradeprice:
  11361. description: 成交价格
  11362. type: number
  11363. tradeqty:
  11364. description: 成交数量
  11365. type: number
  11366. type: object
  11367. models.QhjPickArea:
  11368. properties:
  11369. address:
  11370. description: 详细地址
  11371. type: string
  11372. cityid:
  11373. description: 市
  11374. type: integer
  11375. cityname:
  11376. description: 城市名称
  11377. type: string
  11378. countryid:
  11379. description: 国家
  11380. type: integer
  11381. countryname:
  11382. description: 国家名称
  11383. type: string
  11384. districtid:
  11385. description: 地区
  11386. type: integer
  11387. districtname:
  11388. description: 地区名称
  11389. type: string
  11390. fromuserid:
  11391. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11392. type: integer
  11393. fromusername:
  11394. description: 所属机构名称
  11395. type: string
  11396. provinceid:
  11397. description: 省
  11398. type: integer
  11399. provincename:
  11400. description: 省名称
  11401. type: string
  11402. suborgtype:
  11403. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11404. type: integer
  11405. userid:
  11406. description: 机构用户ID 其他做市关系,都设置为 1
  11407. type: integer
  11408. username:
  11409. description: 机构用户名称(门店门称)
  11410. type: string
  11411. type: object
  11412. models.QhjPickGoods:
  11413. properties:
  11414. enumdicname:
  11415. description: 单位名称(提货商品)
  11416. type: string
  11417. goodsid:
  11418. description: 商品id
  11419. type: integer
  11420. imageaddress:
  11421. description: 图片
  11422. type: string
  11423. modifierid:
  11424. description: 修改人
  11425. type: integer
  11426. modifiername:
  11427. description: 修改人名称
  11428. type: string
  11429. modifysrc:
  11430. description: 修改来源 - 1:管理端 2:终端
  11431. type: integer
  11432. pickupgoodsagreeunit:
  11433. description: 合约乘数
  11434. type: number
  11435. pickupgoodsdesc:
  11436. description: 描述
  11437. type: string
  11438. pickupgoodsid:
  11439. description: 提货商品ID
  11440. type: string
  11441. pickupgoodsname:
  11442. description: 提货商品名称
  11443. type: string
  11444. pickupgoodsstatus:
  11445. description: 状态 - 1:正常 2:停用 3:注销
  11446. type: integer
  11447. pickupgoodsunitid:
  11448. description: 单位ID
  11449. type: integer
  11450. pickupratio:
  11451. description: 提货系数
  11452. type: number
  11453. preparedays:
  11454. description: 备货期(天)
  11455. type: integer
  11456. remark:
  11457. description: 备注
  11458. type: string
  11459. updatetime:
  11460. description: 更新时间
  11461. type: string
  11462. type: object
  11463. models.QhjRSTriggerLog:
  11464. properties:
  11465. accountid:
  11466. description: 用户资金账户
  11467. type: integer
  11468. accountname:
  11469. description: 账号名称(ACCOUNTID对应的名称)
  11470. type: string
  11471. currencyid:
  11472. description: 币种id
  11473. type: integer
  11474. currencyname:
  11475. description: 币种名称
  11476. type: string
  11477. decimalplace:
  11478. description: 商品报价小数位
  11479. type: integer
  11480. enumdicname:
  11481. description: 单位名称
  11482. type: string
  11483. goodscode:
  11484. description: 定投商品代码
  11485. type: string
  11486. goodsid:
  11487. description: 定投商品ID
  11488. type: integer
  11489. goodsname:
  11490. description: 定投商品名称
  11491. type: string
  11492. goodunitid:
  11493. description: 定投商品单位id
  11494. type: integer
  11495. logid:
  11496. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11497. type: string
  11498. logincode:
  11499. description: 账号(登录代码)
  11500. type: string
  11501. qtydecimalplace:
  11502. description: 成交量小数位
  11503. type: integer
  11504. regularlycycle:
  11505. description: 定投频率 - 1:每周 2:每月
  11506. type: integer
  11507. regularlycyclevalue:
  11508. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11509. type: string
  11510. regularlymode:
  11511. description: 定投方式 - 1:按数量 2:按金额
  11512. type: integer
  11513. regularlymodevalue:
  11514. description: 定投方式值 - 数量或金额
  11515. type: number
  11516. regularlystrategyid:
  11517. description: 定投策略ID
  11518. type: integer
  11519. retcode:
  11520. description: 错误码
  11521. type: string
  11522. tradeid:
  11523. description: 成交单ID
  11524. type: string
  11525. triggeramount:
  11526. description: 触发金额
  11527. type: number
  11528. triggerqty:
  11529. description: 触发数量
  11530. type: number
  11531. triggerstatus:
  11532. description: 触发状态 - 1:成功 2:失败
  11533. type: integer
  11534. triggertime:
  11535. description: 触发时间
  11536. type: string
  11537. triggertradedate:
  11538. description: 触发交易日
  11539. type: string
  11540. userid:
  11541. description: 所属用户ID
  11542. type: integer
  11543. userinfotype:
  11544. description: 用户类型 1-个人 2-企业
  11545. type: integer
  11546. username:
  11547. description: 用户名称(userid对应的名称)
  11548. type: string
  11549. type: object
  11550. models.QhjRStrategy:
  11551. properties:
  11552. accountid:
  11553. description: 用户资金账户
  11554. type: integer
  11555. accountname:
  11556. description: 账号名称(ACCOUNTID对应的名称)
  11557. type: string
  11558. currencyid:
  11559. description: 币种id
  11560. type: integer
  11561. currencyname:
  11562. description: 币种名称
  11563. type: string
  11564. decimalplace:
  11565. description: 商品报价小数位
  11566. type: integer
  11567. enumdicname:
  11568. description: 单位名称
  11569. type: string
  11570. goodscode:
  11571. description: 定投商品代码
  11572. type: string
  11573. goodsid:
  11574. description: 定投商品ID
  11575. type: integer
  11576. goodsname:
  11577. description: 定投商品名称
  11578. type: string
  11579. goodunitid:
  11580. description: 定投商品单位id
  11581. type: integer
  11582. lasteffecttradedate:
  11583. description: 最新生效交易日
  11584. type: string
  11585. laststoptradedate:
  11586. description: 最新暂停交易日
  11587. type: string
  11588. lasttriggertradedate:
  11589. description: 最新触发交易日
  11590. type: string
  11591. logincode:
  11592. description: 账号(登录代码)
  11593. type: string
  11594. nexttriggeramount:
  11595. description: 下次触发金额
  11596. type: number
  11597. nexttriggerdate:
  11598. description: 下次触发日期
  11599. type: string
  11600. nexttriggerqty:
  11601. description: 下次触发数量 [按小数位放大值]
  11602. type: number
  11603. qtydecimalplace:
  11604. description: 成交量小数位
  11605. type: integer
  11606. regularlycycle:
  11607. description: 定投频率 - 1:每周 2:每月
  11608. type: integer
  11609. regularlycyclevalue:
  11610. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11611. type: string
  11612. regularlymode:
  11613. description: 定投方式 - 1:按数量 2:按金额
  11614. type: integer
  11615. regularlymodevalue:
  11616. description: 定投方式值 - 数量或金额
  11617. type: number
  11618. regularlystrategyid:
  11619. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11620. type: integer
  11621. regularlystrategystatus:
  11622. description: 策略状态 - 1:正常 2:暂停 3:终止
  11623. type: integer
  11624. remark:
  11625. description: 备注
  11626. type: string
  11627. triggersuccesstimes:
  11628. description: 累计定投成功次数
  11629. type: string
  11630. triggertotalamount:
  11631. description: 累计定投金额(成功)
  11632. type: number
  11633. triggertotalqty:
  11634. description: 累计定投数量(成功) [按小数位放大值]
  11635. type: number
  11636. triggertotaltimes:
  11637. description: 累计定投总次数
  11638. type: string
  11639. updatesrc:
  11640. description: 更新来源 - 1:管理端 2:终端
  11641. type: integer
  11642. updatetime:
  11643. description: 更新时间
  11644. type: string
  11645. updatorid:
  11646. description: 更新人
  11647. type: string
  11648. userid:
  11649. description: 所属用户ID
  11650. type: integer
  11651. userinfotype:
  11652. description: 用户类型 1-个人 2-企业
  11653. type: integer
  11654. username:
  11655. description: 用户名称(userid对应的名称)
  11656. type: string
  11657. type: object
  11658. models.QhjReckonPriceLog:
  11659. properties:
  11660. decimalplace:
  11661. description: 商品报价小数位
  11662. type: integer
  11663. goodscode:
  11664. description: 商品代码
  11665. type: string
  11666. goodsid:
  11667. description: 商品ID
  11668. type: integer
  11669. goodsname:
  11670. description: 商品名称
  11671. type: string
  11672. lastreckonprice:
  11673. description: 上日结算价
  11674. type: number
  11675. nextdnlimitprice:
  11676. description: 下个交易日跌停价
  11677. type: number
  11678. nexttrade:
  11679. description: 下个交易日
  11680. type: string
  11681. nextuplimitprice:
  11682. description: 下个交易日涨停价
  11683. type: number
  11684. reckonprice:
  11685. description: 今日结算价(定投价)
  11686. type: number
  11687. reckontime:
  11688. description: 结算时间
  11689. type: string
  11690. totalholderqty:
  11691. description: 总持仓数
  11692. type: integer
  11693. totalstock:
  11694. description: 总库存
  11695. type: integer
  11696. tradedate:
  11697. description: 交易日
  11698. type: string
  11699. updowncount:
  11700. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11701. type: integer
  11702. updownflag:
  11703. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11704. type: integer
  11705. updownrate:
  11706. description: 今日涨跌幅
  11707. type: number
  11708. updownrate_2d:
  11709. description: 连续两日涨跌幅
  11710. type: number
  11711. updownrate_3d:
  11712. description: 连续三日涨跌幅
  11713. type: number
  11714. type: object
  11715. models.QhjScoreLog:
  11716. properties:
  11717. accountid:
  11718. description: 账户ID
  11719. type: integer
  11720. createtime:
  11721. description: 创建时间(时间)
  11722. type: string
  11723. goodsid:
  11724. description: 商品ID
  11725. type: integer
  11726. hasuploaded:
  11727. description: 是否已同步(千海金) 0:未同步 1;已同步
  11728. type: integer
  11729. logid:
  11730. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11731. type: string
  11732. marketid:
  11733. description: 市场ID
  11734. type: integer
  11735. relatedamount:
  11736. description: 关联金额
  11737. type: number
  11738. relatedorderid:
  11739. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11740. type: string
  11741. scoreconfigvalue1:
  11742. description: 积分配置1
  11743. type: integer
  11744. scoreconfigvalue2:
  11745. description: 积分配置1
  11746. type: integer
  11747. scoretype:
  11748. description: 积分类型 - 1:提货积分
  11749. type: integer
  11750. scorevalue:
  11751. description: 积分
  11752. type: number
  11753. tradedate:
  11754. description: 交易日(yyyyMMdd)
  11755. type: string
  11756. uploadedtime:
  11757. description: 同步时间
  11758. type: string
  11759. userid:
  11760. description: 用户ID
  11761. type: integer
  11762. type: object
  11763. models.QhjSiteColumnDetail:
  11764. properties:
  11765. author:
  11766. description: 作者
  11767. type: string
  11768. brief:
  11769. description: 简介
  11770. type: string
  11771. columnid:
  11772. description: 所属栏目
  11773. type: integer
  11774. context:
  11775. description: 内容
  11776. type: string
  11777. coverimage:
  11778. description: 封面图片
  11779. type: string
  11780. creaedate:
  11781. description: 创建时间
  11782. type: string
  11783. creatorid:
  11784. description: 创建人
  11785. type: integer
  11786. hits:
  11787. description: 点击数
  11788. type: integer
  11789. id:
  11790. description: ID(SEQ_SITE_COLUMNDETAIL)
  11791. type: integer
  11792. isshow:
  11793. description: 是否展示 - 0:不展示 1:展示
  11794. type: integer
  11795. istop:
  11796. description: 是否置顶 - 0:不置 1:置顶
  11797. type: integer
  11798. modifierid:
  11799. description: 操作人
  11800. type: integer
  11801. publishdate:
  11802. description: 发布日期
  11803. type: string
  11804. status:
  11805. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11806. type: integer
  11807. title:
  11808. description: 标题
  11809. type: string
  11810. updatedate:
  11811. description: 修改时间
  11812. type: string
  11813. userid:
  11814. description: 用户ID(默认为0, 核心为为机构用户ID)
  11815. type: integer
  11816. username:
  11817. description: 用户名称
  11818. type: string
  11819. type: object
  11820. models.QhjTeamOrder:
  11821. properties:
  11822. accountid:
  11823. description: 账户ID[报价币种]
  11824. type: integer
  11825. accountname:
  11826. description: 账户名称
  11827. type: string
  11828. agreeunit:
  11829. description: 合约乘数
  11830. type: number
  11831. buyorsell:
  11832. description: 方向 - 0:买 1:卖
  11833. type: integer
  11834. decimalplace:
  11835. description: 报价小数位
  11836. type: integer
  11837. enumdicname:
  11838. description: 单位名称
  11839. type: string
  11840. goodscode:
  11841. description: 商品代码(内部)
  11842. type: string
  11843. goodsid:
  11844. description: 商品ID
  11845. type: integer
  11846. goodsname:
  11847. description: 商品名称
  11848. type: string
  11849. goodunitid:
  11850. description: 报价单位ID
  11851. type: integer
  11852. marketid:
  11853. description: 市场ID
  11854. type: integer
  11855. marketname:
  11856. description: 市场名称
  11857. type: string
  11858. qtydecimalplace:
  11859. description: 成交量小数位
  11860. type: integer
  11861. refereeuserid:
  11862. description: 推荐人ID
  11863. type: integer
  11864. tradeamount:
  11865. description: 成交金额[账户币种,用于所有权]
  11866. type: number
  11867. tradedate:
  11868. description: 交易日(yyyyMMdd)
  11869. type: string
  11870. trademode:
  11871. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11872. 21:竞拍-大宗式 22:受托竞价
  11873. type: integer
  11874. tradeprice:
  11875. description: 成交价格
  11876. type: number
  11877. tradeqty:
  11878. description: 成交数量
  11879. type: number
  11880. tradetime:
  11881. description: 成交时间
  11882. type: string
  11883. userid:
  11884. description: 用户ID
  11885. type: integer
  11886. type: object
  11887. models.QhjTradeGoodsPickup:
  11888. properties:
  11889. accountid:
  11890. description: 账户ID
  11891. type: integer
  11892. address:
  11893. description: 提货人详细地址
  11894. type: string
  11895. amount:
  11896. description: 提货金额
  11897. type: number
  11898. artradedate:
  11899. description: 自动收货交易日(yyyyMMdd)
  11900. type: string
  11901. auditer:
  11902. description: 审核人
  11903. type: integer
  11904. auditsrc:
  11905. description: 更新来源 - 1:管理端 2:终端
  11906. type: integer
  11907. audittime:
  11908. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11909. type: string
  11910. audittradedate:
  11911. description: 审核交易日(yyyyMMdd)
  11912. type: string
  11913. cardnum:
  11914. description: 提货人证件号码
  11915. type: string
  11916. cardtypeid:
  11917. description: 提货人证件类型
  11918. type: integer
  11919. checkremark:
  11920. description: 审核备注
  11921. type: string
  11922. cityid:
  11923. description: 市
  11924. type: integer
  11925. cityname:
  11926. description: 城市名称
  11927. type: string
  11928. confirmtime:
  11929. description: 取货时间 或 收货时间
  11930. type: string
  11931. countryid:
  11932. description: 国家
  11933. type: integer
  11934. countryname:
  11935. description: 国家名称
  11936. type: string
  11937. decimalplace:
  11938. description: 商品报价小数位
  11939. type: integer
  11940. districtid:
  11941. description: 地区
  11942. type: integer
  11943. districtname:
  11944. description: 地区名称
  11945. type: string
  11946. enumdicname:
  11947. description: 单位名称(提货商品)
  11948. type: string
  11949. expresscompany:
  11950. description: 物流公司
  11951. type: string
  11952. expressnum:
  11953. description: 物流单号
  11954. type: string
  11955. goodsagreeunit:
  11956. description: 交易商品乘数
  11957. type: number
  11958. goodscode:
  11959. description: 商品代码
  11960. type: string
  11961. goodsid:
  11962. description: 商品ID
  11963. type: integer
  11964. goodsname:
  11965. description: 商品名称
  11966. type: string
  11967. goodsqty:
  11968. description: 交易商品手数(69模式按成交量小数位放大取整)
  11969. type: number
  11970. handlestatus:
  11971. description: 处理状态
  11972. type: integer
  11973. logincode:
  11974. description: 账号(登录代码, 有可能为空)
  11975. type: string
  11976. marketid:
  11977. description: 市场ID
  11978. type: integer
  11979. phonenum:
  11980. description: 提货人联系方式
  11981. type: string
  11982. pickupgoodsagreeunit:
  11983. description: 提货商品合约乘数
  11984. type: number
  11985. pickupgoodsid:
  11986. description: 提货商品ID
  11987. type: string
  11988. pickupgoodsname:
  11989. description: 提货商品名称
  11990. type: string
  11991. pickupgoodsqty:
  11992. description: 提货商品手数(数量)
  11993. type: number
  11994. pickupgoodsunitid:
  11995. description: 单位ID(提货商品)
  11996. type: integer
  11997. pickupratio:
  11998. description: 提货系数
  11999. type: number
  12000. preparedays:
  12001. description: 备货期(天)-提货单明细表
  12002. type: integer
  12003. provinceid:
  12004. description: 省
  12005. type: integer
  12006. provincename:
  12007. description: 省名称
  12008. type: string
  12009. qty:
  12010. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12011. type: number
  12012. qtydecimalplace:
  12013. description: 商品数量小数位
  12014. type: integer
  12015. recivername:
  12016. description: 提货人姓名
  12017. type: string
  12018. reqtime:
  12019. description: 提货申请时间
  12020. type: string
  12021. storeuserid:
  12022. description: 门店用户ID (千海金)
  12023. type: integer
  12024. storeusername:
  12025. description: 门店用户名称
  12026. type: string
  12027. takemode:
  12028. description: 提货方式 - 2:自提 3:配送(邮寄)
  12029. type: integer
  12030. takeorderid:
  12031. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12032. type: string
  12033. takeorderstatus:
  12034. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12035. 7:已拒绝 8:已撤销
  12036. type: integer
  12037. takeremark:
  12038. description: 提货备注
  12039. type: string
  12040. tradedate:
  12041. description: 交易日(yyyyMMdd)
  12042. type: string
  12043. updatetime:
  12044. description: 更新时间
  12045. type: string
  12046. userid:
  12047. description: 用户ID
  12048. type: integer
  12049. userinfotype:
  12050. description: 客户类型 1-个人 2-企业
  12051. type: integer
  12052. username:
  12053. description: 用户名称
  12054. type: string
  12055. type: object
  12056. models.QhjUserNodeCfgAndStatus:
  12057. properties:
  12058. agreementcontent:
  12059. description: 协议内容
  12060. type: string
  12061. agreementid:
  12062. description: 协议ID
  12063. type: integer
  12064. agreementname:
  12065. description: 协议名称
  12066. type: string
  12067. agreementno:
  12068. description: 协议编号
  12069. type: string
  12070. agreementtype:
  12071. description: 协议类型 - 1:注册 2:登录 3:交易
  12072. type: integer
  12073. agreementversion:
  12074. description: 协议版本号
  12075. type: integer
  12076. configid:
  12077. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12078. type: integer
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. goodsid:
  12083. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12084. type: integer
  12085. nodetype:
  12086. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12087. type: integer
  12088. signtimestamp:
  12089. description: 签约状态时间戳(最近一次)
  12090. type: string
  12091. tradedate:
  12092. description: 签约交易日(yyyyMMdd)
  12093. type: string
  12094. userid:
  12095. description: 客户ID
  12096. type: integer
  12097. type: object
  12098. models.Qhjgoodsex:
  12099. properties:
  12100. canfinance:
  12101. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12102. type: integer
  12103. canregularlybuy:
  12104. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12105. type: integer
  12106. defaulttradeuserid:
  12107. description: 默认交易用户ID
  12108. type: integer
  12109. deliverygoodsid:
  12110. description: 现货品种ID
  12111. type: integer
  12112. goodsid:
  12113. description: 商品ID(自增ID SEQ_GOODS)
  12114. type: integer
  12115. minamount:
  12116. description: 最小购买金额
  12117. type: number
  12118. regularlybuyminamount:
  12119. description: 定投最小金额
  12120. type: number
  12121. regularlybuyminqty:
  12122. description: 定投最小数量
  12123. type: number
  12124. spotgoodsbrandid:
  12125. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12126. type: integer
  12127. visibilityforenterprise:
  12128. description: 企业客户是否可见 - 0:不可见 1:可见
  12129. type: integer
  12130. visibilityforpersonal:
  12131. description: 个人客户是否可见 - 0:不可见 1:可见
  12132. type: integer
  12133. wrstandardid:
  12134. description: 现货商品ID
  12135. type: integer
  12136. type: object
  12137. models.QueryErrorInfosRsp:
  12138. properties:
  12139. description:
  12140. description: 异常描述
  12141. type: string
  12142. errorcode:
  12143. description: 异常代码
  12144. type: string
  12145. errorid:
  12146. description: 异常ID
  12147. type: integer
  12148. modulecode:
  12149. description: 所属模块
  12150. type: string
  12151. operatecode:
  12152. description: 所属操作
  12153. type: string
  12154. rownumber:
  12155. description: 行号
  12156. type: string
  12157. required:
  12158. - errorid
  12159. type: object
  12160. models.QueryHedgeOrderDetailRsp:
  12161. properties:
  12162. accountid:
  12163. description: 账户ID
  12164. type: integer
  12165. buyorsell:
  12166. description: 买卖 - 0:买 1:卖
  12167. type: integer
  12168. cancellogincode:
  12169. description: 撤单人
  12170. type: string
  12171. channelbuildtype:
  12172. description: 开平标志 - 0:无 1:建仓 2:平仓
  12173. type: integer
  12174. channelinnerorderstatus:
  12175. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12176. 9:全部成交
  12177. type: integer
  12178. channeloperatetype:
  12179. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12180. type: integer
  12181. closetype:
  12182. description: 平仓方式 - 0:无 1:平今 2:平昨
  12183. type: integer
  12184. curexchangerate:
  12185. description: 当前汇率
  12186. type: number
  12187. exchangefullname:
  12188. description: 外部交易所全称
  12189. type: string
  12190. goodscode:
  12191. description: 商品代码(内部)
  12192. type: string
  12193. goodsid:
  12194. description: 商品ID
  12195. type: integer
  12196. goodsname:
  12197. description: 商品名称
  12198. type: string
  12199. marketid:
  12200. description: 市场ID
  12201. type: integer
  12202. openfreezemargin:
  12203. description: 冻结保证金(冻结交易金额)
  12204. type: number
  12205. orderid:
  12206. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12207. type: string
  12208. orderlogincode:
  12209. description: 委托人
  12210. type: string
  12211. orderprice:
  12212. description: 委托价格(账户)
  12213. type: number
  12214. orderqty:
  12215. description: 委托数量
  12216. type: integer
  12217. ordertime:
  12218. description: 委托时间
  12219. type: string
  12220. pricemode:
  12221. description: '取价方式 - 1:市价 2: 限价'
  12222. type: integer
  12223. tradedate:
  12224. description: 交易日(yyyyMMdd)
  12225. type: string
  12226. tradeqty:
  12227. description: 成交数量
  12228. type: integer
  12229. type: object
  12230. models.QueryHedgeTradeDetailRsp:
  12231. properties:
  12232. accountid:
  12233. description: 账号ID
  12234. type: integer
  12235. buyorsell:
  12236. description: 方向 - 0:买 1:卖
  12237. type: integer
  12238. channelbuildtype:
  12239. description: 委托单据类型 0:无 1:建仓 2:平仓
  12240. type: integer
  12241. closecharge:
  12242. description: 平仓手续费(账户)
  12243. type: number
  12244. closecharge2:
  12245. description: 平仓手续费(商品)
  12246. type: number
  12247. closepl:
  12248. description: 平仓盈亏(账户)
  12249. type: number
  12250. closepl2:
  12251. description: 平仓盈亏(商品)
  12252. type: number
  12253. closepl3:
  12254. description: 平仓盈亏(账户)(逐笔)
  12255. type: number
  12256. closepl4:
  12257. description: 平仓盈亏(商品)(逐笔)
  12258. type: number
  12259. closetype:
  12260. description: 平仓方式 - 0:无 1:平今 2:平昨
  12261. type: integer
  12262. curexchangerate:
  12263. description: 当前汇率
  12264. type: number
  12265. exchangefullname:
  12266. description: 外部交易所全称
  12267. type: string
  12268. goodscode:
  12269. description: 商品代码(内部)
  12270. type: string
  12271. goodsid:
  12272. description: 商品ID
  12273. type: integer
  12274. goodsname:
  12275. description: 商品名称
  12276. type: string
  12277. marketid:
  12278. description: 市场ID
  12279. type: integer
  12280. opencharge:
  12281. description: 建仓手续费(账户)
  12282. type: number
  12283. opencharge2:
  12284. description: 建仓手续费(商品)
  12285. type: number
  12286. orderid:
  12287. description: 委托单号
  12288. type: string
  12289. orderlogincode:
  12290. description: 委托人
  12291. type: string
  12292. tradeamount:
  12293. description: 成交金额(账户)
  12294. type: number
  12295. tradedate:
  12296. description: 交易日(yyyyMMdd)
  12297. type: string
  12298. tradeid:
  12299. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12300. type: string
  12301. tradeprice:
  12302. description: 成交价格
  12303. type: number
  12304. tradeqty:
  12305. description: 成交数量
  12306. type: integer
  12307. tradetime:
  12308. description: 成交时间
  12309. type: string
  12310. tradetype:
  12311. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12312. type: integer
  12313. type: object
  12314. models.QuotePrimaryMenu:
  12315. properties:
  12316. Index:
  12317. description: 序号
  12318. type: integer
  12319. Key:
  12320. description: 键名
  12321. type: string
  12322. Name:
  12323. description: 菜单名称
  12324. type: string
  12325. SubMenus:
  12326. description: 子菜单
  12327. items:
  12328. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12329. type: array
  12330. SubTitleType:
  12331. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12332. type: integer
  12333. TradeModes:
  12334. description: 包含市场交易类型
  12335. type: string
  12336. type: object
  12337. models.QuoteSecondaryMenu:
  12338. properties:
  12339. ExExchangeCode:
  12340. description: 外部交易所代码
  12341. type: string
  12342. ExExchangeID:
  12343. description: 外部交易所ID
  12344. type: integer
  12345. GoodsGroupIDs:
  12346. description: 商品组ID列表
  12347. items:
  12348. type: integer
  12349. type: array
  12350. Index:
  12351. description: 序号
  12352. type: integer
  12353. MarketID:
  12354. description: 市场ID
  12355. type: integer
  12356. MenuTitle:
  12357. description: 菜单标题(市场名称或外部交易所名称)
  12358. type: string
  12359. TradeMode:
  12360. description: 交易模式
  12361. type: integer
  12362. type: object
  12363. models.RoleMenu:
  12364. properties:
  12365. hasright:
  12366. description: 是否有权限 0-没有权限 1-有权限
  12367. type: integer
  12368. iconame:
  12369. description: 菜单图标
  12370. type: string
  12371. menutype:
  12372. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12373. type: integer
  12374. parentcode:
  12375. description: 上级资源代码
  12376. type: string
  12377. remark:
  12378. description: 菜单备注
  12379. type: string
  12380. resourcecode:
  12381. description: 菜单代码
  12382. type: string
  12383. resourcelevel:
  12384. description: 级别
  12385. type: integer
  12386. resourcename:
  12387. description: 菜单名称
  12388. type: string
  12389. roleid:
  12390. description: 角色id
  12391. type: integer
  12392. sort:
  12393. description: 排序
  12394. type: integer
  12395. subMenu:
  12396. description: 子级菜单(结构同上层一样, swag解析不出来)
  12397. items:
  12398. $ref: '#/definitions/models.RoleMenu'
  12399. type: array
  12400. url:
  12401. description: URL
  12402. type: string
  12403. userid:
  12404. description: 用户id
  12405. type: integer
  12406. type: object
  12407. models.SearchGoods:
  12408. properties:
  12409. goodscode:
  12410. description: 商品代码(内部)
  12411. type: string
  12412. goodsid:
  12413. description: 商品ID(自增ID SEQ_GOODS)
  12414. type: integer
  12415. goodsname:
  12416. description: 商品名称
  12417. type: string
  12418. marketid:
  12419. description: 所属市场ID
  12420. type: integer
  12421. marketname:
  12422. description: 市场名称
  12423. type: string
  12424. trademode:
  12425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12426. 21:竞拍-大宗式 22:受托竞价
  12427. type: integer
  12428. required:
  12429. - goodscode
  12430. - goodsid
  12431. - goodsname
  12432. - marketid
  12433. - trademode
  12434. type: object
  12435. models.Systemparam:
  12436. properties:
  12437. loginid:
  12438. description: 更新用户账号,登录账号
  12439. type: string
  12440. modifyflag:
  12441. description: 修改标志0 不允许修改 1 允许修改
  12442. type: integer
  12443. paramcode:
  12444. description: 参数代码
  12445. type: string
  12446. paramname:
  12447. description: 参数名
  12448. type: string
  12449. paramtype:
  12450. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12451. type: integer
  12452. paramvalue:
  12453. description: 参数值
  12454. type: string
  12455. paramvalue2:
  12456. description: 参数值(CLOB)
  12457. type: string
  12458. regexpress:
  12459. description: 正则表达式
  12460. type: string
  12461. remark:
  12462. description: 备注
  12463. type: string
  12464. serverip:
  12465. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12466. type: string
  12467. showflag:
  12468. description: 是否显示0 不显示 1 显示
  12469. type: integer
  12470. updatetime:
  12471. description: 更新时间
  12472. type: string
  12473. userid:
  12474. description: 更新用户ID
  12475. type: integer
  12476. required:
  12477. - paramcode
  12478. type: object
  12479. models.Szdz3convertconfig:
  12480. properties:
  12481. canin:
  12482. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12483. type: integer
  12484. canout:
  12485. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12486. type: integer
  12487. converttype:
  12488. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12489. 6:交易转花生米(不设置)
  12490. type: integer
  12491. createtime:
  12492. description: 创建时间
  12493. type: string
  12494. creatorid:
  12495. description: 创建人
  12496. type: integer
  12497. daymaxvalue:
  12498. description: 当日最大转入限制
  12499. type: number
  12500. freezedays:
  12501. description: 冻结天数 [5:花生米转交易]
  12502. type: integer
  12503. innergoodsid:
  12504. description: 内部商品ID[交易]
  12505. type: integer
  12506. inratio:
  12507. description: 目标值
  12508. type: integer
  12509. modifierid:
  12510. description: 修改人
  12511. type: integer
  12512. modifytime:
  12513. description: 修改时间
  12514. type: string
  12515. outergoodscode:
  12516. description: 外部商品代码[JD\PD]
  12517. type: string
  12518. outratio:
  12519. description: 源值
  12520. type: integer
  12521. pddecimalplace:
  12522. description: PD小数位
  12523. type: integer
  12524. timemaxvalue:
  12525. description: 单次最大转入限制
  12526. type: number
  12527. timeminvalue:
  12528. description: 单次最小转入限制
  12529. type: number
  12530. required:
  12531. - converttype
  12532. - innergoodsid
  12533. - outergoodscode
  12534. type: object
  12535. models.Szdz3searchwhitelist:
  12536. properties:
  12537. createtime:
  12538. description: 创建时间
  12539. type: string
  12540. creatorid:
  12541. description: 创建人
  12542. type: integer
  12543. modifierid:
  12544. description: 修改人
  12545. type: integer
  12546. modifytime:
  12547. description: 修改时间
  12548. type: string
  12549. userid:
  12550. description: 用户ID
  12551. type: integer
  12552. required:
  12553. - userid
  12554. type: object
  12555. models.Taaccount:
  12556. properties:
  12557. accountflag:
  12558. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12559. type: integer
  12560. accountid:
  12561. description: 资金账户ID
  12562. type: integer
  12563. accountname:
  12564. description: 账户名称
  12565. type: string
  12566. balance:
  12567. description: 期初余额
  12568. type: number
  12569. capitalbalance:
  12570. description: 本金余额[外部子账户实际出入金余额]
  12571. type: number
  12572. changeflag:
  12573. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12574. type: integer
  12575. changetime:
  12576. description: 账户状态变更时间
  12577. type: string
  12578. closepl:
  12579. description: 今日平仓盈亏
  12580. type: number
  12581. creditdecrease:
  12582. description: 今日授信减少
  12583. type: number
  12584. creditincrease:
  12585. description: 今日授信增加
  12586. type: number
  12587. curamount:
  12588. description: 总市值(从持仓中统计)
  12589. type: number
  12590. currencyid:
  12591. description: 货币ID
  12592. type: integer
  12593. currentbalance:
  12594. description: 期末余额
  12595. type: number
  12596. freezecharge:
  12597. description: 手续费冻结
  12598. type: number
  12599. freezemargin:
  12600. description: 冻结保证金
  12601. type: number
  12602. fromaccountid:
  12603. description: 所属上级账户
  12604. type: integer
  12605. inamount:
  12606. description: 今日入金金额(包括三方入金)
  12607. type: number
  12608. ismain:
  12609. description: 是否母账号 0:不是母账户 1:是母账户
  12610. type: integer
  12611. ismarketaccount:
  12612. description: 是否机构接单账号 0:不是 1:是
  12613. type: integer
  12614. isreckonaccount:
  12615. description: 是否机构分润账号 0:不是 1:是
  12616. type: integer
  12617. mortgagecredit:
  12618. description: 授信金额
  12619. type: number
  12620. orifreezecharge:
  12621. description: 期初手续费冻结
  12622. type: number
  12623. orifreezemargin:
  12624. description: 期初冻结保证金
  12625. type: number
  12626. orimortgagecredit:
  12627. description: 期初授信金额
  12628. type: number
  12629. oriothercredit:
  12630. description: 期初其它授信金额
  12631. type: number
  12632. oriotherfreezemargin:
  12633. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12634. type: number
  12635. orioutamountfreeze:
  12636. description: 期初出金冻结
  12637. type: number
  12638. oriusedmargin:
  12639. description: 期初占用保证金
  12640. type: number
  12641. othercredit:
  12642. description: 其它授信金额
  12643. type: number
  12644. othercreditdecrease:
  12645. description: 今日其它授信减少
  12646. type: number
  12647. othercreditincrease:
  12648. description: 今日其它授信增加
  12649. type: number
  12650. otherfreezemargin:
  12651. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12652. type: number
  12653. otherincome:
  12654. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12655. type: number
  12656. otherpay:
  12657. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12658. type: number
  12659. outamount:
  12660. description: 今日出金金额(包括三方出金)
  12661. type: number
  12662. outamountfreeze:
  12663. description: 出金冻结
  12664. type: number
  12665. outthreshold:
  12666. description: 出金阈值
  12667. type: number
  12668. parentaccountid:
  12669. description: 所属根账号
  12670. type: integer
  12671. paycharge:
  12672. description: 今日手续费支出
  12673. type: number
  12674. relatedaccountstatus:
  12675. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12676. type: integer
  12677. relateduserid:
  12678. description: 关联用户
  12679. type: integer
  12680. remainamount:
  12681. description: 融资额(从融资合同中统计)
  12682. type: number
  12683. serivcegroup:
  12684. description: 服务分组
  12685. type: integer
  12686. signstatus:
  12687. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12688. type: integer
  12689. sublevelpath:
  12690. description: 账号层级路径(逗号分隔,首尾加逗号)
  12691. type: string
  12692. taaccounttype:
  12693. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12694. type: integer
  12695. thirdinamount:
  12696. description: 今日三方入金
  12697. type: number
  12698. thirdoutamount:
  12699. description: 今日三方出金
  12700. type: number
  12701. tradestatus:
  12702. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12703. type: integer
  12704. tradestatuschangetime:
  12705. description: 激活时间
  12706. type: string
  12707. transferamount:
  12708. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12709. type: number
  12710. usedmargin:
  12711. description: 占用保证金
  12712. type: number
  12713. userid:
  12714. description: 用户ID
  12715. type: integer
  12716. required:
  12717. - accountid
  12718. - userid
  12719. type: object
  12720. models.Tablecolumnconfig:
  12721. properties:
  12722. aligntype:
  12723. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12724. type: integer
  12725. autoid:
  12726. description: AutoID
  12727. type: integer
  12728. columnfield:
  12729. description: 列字段
  12730. type: string
  12731. columntitle:
  12732. description: 列Title
  12733. type: string
  12734. columnwidth:
  12735. description: 列宽
  12736. type: string
  12737. formatterstring:
  12738. description: 格式化字符
  12739. type: string
  12740. formattertype:
  12741. description: 格式化类型
  12742. type: string
  12743. groupname:
  12744. description: 表头分组名称
  12745. type: string
  12746. isshow:
  12747. description: 是否显示 - 0:不显示 1:显示
  12748. type: integer
  12749. needsummary:
  12750. description: 是否需要汇总 - 0:不需要 1:需要
  12751. type: integer
  12752. orderindex:
  12753. description: 顺序
  12754. type: integer
  12755. remark:
  12756. description: 备注
  12757. type: string
  12758. summarytype:
  12759. description: 汇总类型 - 1:加总 2:最后一个
  12760. type: integer
  12761. tablekey:
  12762. description: 列表Key
  12763. type: string
  12764. required:
  12765. - autoid
  12766. type: object
  12767. models.UserCollectConfig:
  12768. properties:
  12769. accountstatus:
  12770. description: 账户状态 - 1:正常 2:停用 3:注销
  12771. type: integer
  12772. collectaccountname:
  12773. description: 收款人账户名称
  12774. type: string
  12775. collectaccountno:
  12776. description: 收款人账户
  12777. type: string
  12778. collectbankname:
  12779. description: 收款人开户行
  12780. type: string
  12781. collectbranchbankname:
  12782. description: 收款人开户支行
  12783. type: string
  12784. collectconfigid:
  12785. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12786. type: string
  12787. remark:
  12788. description: 备注
  12789. type: string
  12790. userid:
  12791. description: 收款人用户ID
  12792. type: integer
  12793. type: object
  12794. models.UserReceiveInfo:
  12795. properties:
  12796. address:
  12797. description: 提货人详细地址
  12798. type: string
  12799. autoid:
  12800. description: AutoID
  12801. type: integer
  12802. cardnum:
  12803. description: 证件号码(加密存储)
  12804. type: string
  12805. cardtypeid:
  12806. description: 证件类型
  12807. type: integer
  12808. cityid:
  12809. description: 市
  12810. type: integer
  12811. cityname:
  12812. description: 城市名称
  12813. type: string
  12814. countryid:
  12815. description: 国家
  12816. type: integer
  12817. countryname:
  12818. description: 国家名称
  12819. type: string
  12820. districtid:
  12821. description: 地区
  12822. type: integer
  12823. districtname:
  12824. description: 地区名称
  12825. type: string
  12826. hasencrypt:
  12827. description: 数据是否已加密 - 0:未加密 1:已加密
  12828. type: integer
  12829. isdefault:
  12830. description: 是否默认地址 - 0:否 1:是
  12831. type: integer
  12832. phonenum:
  12833. description: 提货人联系方式(加密存储)
  12834. type: string
  12835. provinceid:
  12836. description: 省
  12837. type: integer
  12838. provincename:
  12839. description: 省名称
  12840. type: string
  12841. receivername:
  12842. description: 提货人姓名
  12843. type: string
  12844. takeremark:
  12845. description: 提货备注
  12846. type: string
  12847. userid:
  12848. description: 用户ID
  12849. type: integer
  12850. type: object
  12851. models.Useraccount:
  12852. properties:
  12853. accountname:
  12854. description: 账户名称(机构名称)
  12855. type: string
  12856. accountstatus:
  12857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12858. type: integer
  12859. applysrc:
  12860. description: 申请来源 - 1:管理端 2:终端
  12861. type: integer
  12862. auditremark:
  12863. description: 审核备注
  12864. type: string
  12865. auditsrc:
  12866. description: 审核来源 - 1:管理端 2:终端
  12867. type: integer
  12868. audittime:
  12869. description: 审核时间
  12870. type: string
  12871. audituserid:
  12872. description: 审核人
  12873. type: integer
  12874. broker:
  12875. description: 所属经纪人ID
  12876. type: integer
  12877. canceltime:
  12878. description: 销户时间
  12879. type: string
  12880. canceluserid:
  12881. description: 销户人
  12882. type: integer
  12883. canrecommend:
  12884. description: 是否可推荐 - 0:不可 1;可
  12885. type: integer
  12886. createtime:
  12887. description: 创建时间
  12888. type: string
  12889. creatorid:
  12890. description: 创建人
  12891. type: integer
  12892. hasauth:
  12893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12894. type: integer
  12895. isanonymous:
  12896. description: 是否匿名下单 - 0:否 1:是
  12897. type: integer
  12898. maxinvestornum:
  12899. description: 最大用户数(经纪会员下投资者个数)
  12900. type: integer
  12901. memberuserid:
  12902. description: 所属会员ID
  12903. type: integer
  12904. modifierid:
  12905. description: 修改人
  12906. type: integer
  12907. modifyremark:
  12908. description: 变更备注
  12909. type: string
  12910. modifystatus:
  12911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12912. type: integer
  12913. modifytime:
  12914. description: 修改时间
  12915. type: string
  12916. parenttopuser:
  12917. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12918. type: string
  12919. parentuserid:
  12920. description: 所属机构ID
  12921. type: integer
  12922. reckonaccountid:
  12923. description: 默认结算资金账号ID(机构分润使用) 作废
  12924. type: integer
  12925. refercount:
  12926. description: 推荐总人数
  12927. type: integer
  12928. refereeuserid:
  12929. description: 推荐人ID
  12930. type: integer
  12931. refernum:
  12932. description: 推荐码
  12933. type: string
  12934. rootuserid:
  12935. description: 根用户ID
  12936. type: integer
  12937. subaccountlevel:
  12938. description: 子账户层数
  12939. type: integer
  12940. subarealevelpath:
  12941. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12942. type: string
  12943. userid:
  12944. description: 用户ID
  12945. type: integer
  12946. usertype:
  12947. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12948. type: integer
  12949. required:
  12950. - userid
  12951. type: object
  12952. models.Userfavoritegoods:
  12953. properties:
  12954. goodsid:
  12955. description: 商品ID
  12956. type: integer
  12957. required:
  12958. - goodsid
  12959. type: object
  12960. models.Userinfo:
  12961. properties:
  12962. address:
  12963. description: 地址
  12964. type: string
  12965. attachment1:
  12966. description: 附件1
  12967. type: string
  12968. attachment2:
  12969. description: 附件2
  12970. type: string
  12971. bankaccount:
  12972. description: 银行帐号 (加密存储)
  12973. type: string
  12974. bankaccountname:
  12975. description: 收款人名称
  12976. type: string
  12977. bankcardfrontphotourl:
  12978. description: 银行卡正面照地址
  12979. type: string
  12980. bankid:
  12981. description: 银行编码
  12982. type: string
  12983. bankname:
  12984. description: 银行名称
  12985. type: string
  12986. biznature:
  12987. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12988. type: integer
  12989. bizscope:
  12990. description: 企业经营范围(企业)
  12991. type: string
  12992. cardbackphotourl:
  12993. description: 证件背面图片地址
  12994. type: string
  12995. cardfrontphotourl:
  12996. description: 证件正面图片地址
  12997. type: string
  12998. cardnum:
  12999. description: 证件号码(加密存储)
  13000. type: string
  13001. cardtypeid:
  13002. description: 证件类型ID
  13003. type: integer
  13004. cityid:
  13005. description: 市
  13006. type: integer
  13007. company:
  13008. description: 公司(个人)
  13009. type: string
  13010. contactname:
  13011. description: 联系人
  13012. type: string
  13013. countryid:
  13014. description: 国家
  13015. type: integer
  13016. createtime:
  13017. description: 创建时间
  13018. type: string
  13019. creatorid:
  13020. description: 创建人
  13021. type: integer
  13022. customername:
  13023. description: 客户名称(企业名称)
  13024. type: string
  13025. districtid:
  13026. description: 地区
  13027. type: integer
  13028. email:
  13029. description: 邮件(加密存储)
  13030. type: string
  13031. fax:
  13032. description: 传真(加密存储)
  13033. type: string
  13034. halfbodyphotourl:
  13035. description: 半身照地址
  13036. type: string
  13037. hasencrypt:
  13038. description: 数据是否已加密 - 0:未加密 1:已加密
  13039. type: integer
  13040. headurl:
  13041. description: 头像地址
  13042. type: string
  13043. legalcardbackphotourl:
  13044. description: 法人身份证背面照地址
  13045. type: string
  13046. legalcardfrontphotourl:
  13047. description: 法人身份证正面照地址
  13048. type: string
  13049. legalpersonname:
  13050. description: 法人姓名(企业)
  13051. type: string
  13052. mobile:
  13053. description: 手机号码(加密存储)
  13054. type: string
  13055. mobile2:
  13056. description: 手机号码[明文-尚志]
  13057. type: string
  13058. modifierid:
  13059. description: 修改人
  13060. type: integer
  13061. modifiertime:
  13062. description: 修改时间
  13063. type: string
  13064. needinvoice:
  13065. description: 是否需要发票 - 0:不需要 1:需要
  13066. type: integer
  13067. nickname:
  13068. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13069. type: string
  13070. openmode:
  13071. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13072. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13073. type: integer
  13074. otherurl:
  13075. description: 其它图片地址[使用分号分隔]
  13076. type: string
  13077. postalcode:
  13078. description: 邮政编码
  13079. type: string
  13080. provinceid:
  13081. description: 省
  13082. type: integer
  13083. qq:
  13084. description: QQ(加密存储
  13085. type: string
  13086. remark:
  13087. description: 备注
  13088. type: string
  13089. sex:
  13090. description: '用户性别 0: 女 1: 男'
  13091. type: integer
  13092. signpdfurl:
  13093. description: 签约pdf文件
  13094. type: string
  13095. telphone:
  13096. description: 联系电话(加密存储)
  13097. type: string
  13098. userid:
  13099. description: 用户ID
  13100. type: integer
  13101. userinfotype:
  13102. description: 用户信息类型 - 1:个人 2:企业
  13103. type: integer
  13104. userstatus:
  13105. description: 用户状态 - 1:正常 2:注销
  13106. type: integer
  13107. usertype:
  13108. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13109. type: integer
  13110. wechat:
  13111. description: 微信(加密存储)
  13112. type: string
  13113. wskhinfo:
  13114. description: 开户申请信息(JSON)
  13115. type: string
  13116. required:
  13117. - userid
  13118. type: object
  13119. models.WRSConverTDetail:
  13120. properties:
  13121. convertratio:
  13122. description: 套保系数
  13123. type: number
  13124. deliverygoodscode:
  13125. description: 现货商品代码
  13126. type: string
  13127. deliverygoodsid:
  13128. description: 现货品种ID
  13129. type: integer
  13130. deliverygoodsname:
  13131. description: 现货商品名称
  13132. type: string
  13133. enumdicname:
  13134. description: 单位名称
  13135. type: string
  13136. goodsunitid:
  13137. description: 套保品种单位id
  13138. type: integer
  13139. middlegoodscode:
  13140. description: 套保品种代码
  13141. type: string
  13142. middlegoodsid:
  13143. description: 套保品种ID
  13144. type: integer
  13145. middlegoodsname:
  13146. description: 套保品种名称
  13147. type: string
  13148. modifytime:
  13149. description: 修改时间
  13150. type: string
  13151. wrstandardid:
  13152. description: 品类ID
  13153. type: integer
  13154. type: object
  13155. models.WRStandardInfo:
  13156. properties:
  13157. areauserid:
  13158. description: 所属机构
  13159. type: integer
  13160. convertfactor:
  13161. description: 标仓系数
  13162. type: number
  13163. createtime:
  13164. description: 创建时间
  13165. type: string
  13166. creatorid:
  13167. description: 创建人
  13168. type: integer
  13169. deliverygoodsid:
  13170. description: 品种ID
  13171. type: integer
  13172. deliverygoodsname:
  13173. description: 交割商品名称
  13174. type: string
  13175. factoryitemjson:
  13176. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13177. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13178. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13179. 逗号分隔'
  13180. type: string
  13181. isvalid:
  13182. description: 是否有效 - 0:无效 1:有效
  13183. type: integer
  13184. minivalue:
  13185. description: 最小变动值
  13186. type: integer
  13187. minivaluedp:
  13188. description: 最小变动值小数位
  13189. type: integer
  13190. realminivalue:
  13191. description: 实际最小变动值
  13192. type: integer
  13193. realminivaluedp:
  13194. description: 实际最小变动值小数位
  13195. type: integer
  13196. remark:
  13197. description: 备注
  13198. type: string
  13199. unitid:
  13200. description: 单位ID
  13201. type: integer
  13202. unitname:
  13203. description: 单位
  13204. type: string
  13205. updatetime:
  13206. description: 更新时间
  13207. type: string
  13208. updatorid:
  13209. description: 更新人
  13210. type: integer
  13211. wrsstatus:
  13212. description: 状态 - 作废 - 0:未激活 1:正常
  13213. type: integer
  13214. wrstandardcode:
  13215. description: 现货品类代码
  13216. type: string
  13217. wrstandardid:
  13218. description: 现货品类ID(SEQ_WRSTANDARD)
  13219. type: integer
  13220. wrstandardname:
  13221. description: 现货品类名称
  13222. type: string
  13223. required:
  13224. - wrstandardid
  13225. type: object
  13226. models.Warehouseinfo:
  13227. properties:
  13228. address:
  13229. description: 详细地址
  13230. type: string
  13231. areauserid:
  13232. description: 所属机构
  13233. type: integer
  13234. autoid:
  13235. description: 自增ID
  13236. type: integer
  13237. cityid:
  13238. description: 市
  13239. type: integer
  13240. contactname:
  13241. description: 联系人
  13242. type: string
  13243. contactnum:
  13244. description: 联系电话
  13245. type: string
  13246. countryid:
  13247. description: 国家
  13248. type: integer
  13249. createtime:
  13250. description: 创建时间
  13251. type: string
  13252. districtid:
  13253. description: 区
  13254. type: integer
  13255. hasvideo:
  13256. description: 是否有视频 - 0:无 1:有
  13257. type: integer
  13258. provinceid:
  13259. description: 省
  13260. type: integer
  13261. remark:
  13262. description: 审核备注
  13263. type: string
  13264. videourl:
  13265. description: 视频地址
  13266. type: string
  13267. warehousecode:
  13268. description: 仓库代码
  13269. type: string
  13270. warehousename:
  13271. description: 仓库名称
  13272. type: string
  13273. warehousestatus:
  13274. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13275. type: integer
  13276. warehousetype:
  13277. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13278. type: integer
  13279. required:
  13280. - autoid
  13281. - warehousecode
  13282. type: object
  13283. models.WrOrderDetail:
  13284. properties:
  13285. buyorsell:
  13286. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13287. type: integer
  13288. cancelqty:
  13289. description: 撤销数量
  13290. type: number
  13291. deliverygoodscode:
  13292. description: 品种代码
  13293. type: string
  13294. deliverygoodsid:
  13295. description: 品种ID
  13296. type: integer
  13297. deliverygoodsname:
  13298. description: 品种名称
  13299. type: string
  13300. deliverymonth:
  13301. description: 交收月
  13302. type: string
  13303. enumdicname:
  13304. description: 单位名称
  13305. type: string
  13306. fixedprice:
  13307. description: 固定价格 - [挂牌]
  13308. type: number
  13309. futupricemove:
  13310. description: 期货升贴水
  13311. type: number
  13312. futushow:
  13313. description: 期货合约/升贴水
  13314. type: string
  13315. goodscode:
  13316. description: 期货合约
  13317. type: string
  13318. goodsid:
  13319. description: 期货商品id
  13320. type: integer
  13321. haswr:
  13322. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13323. type: integer
  13324. marketid:
  13325. description: 市场ID
  13326. type: integer
  13327. optioncompare:
  13328. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13329. type: string
  13330. orderqty:
  13331. description: 委托数量
  13332. type: number
  13333. ordertime:
  13334. description: 委托时间(挂牌时间)
  13335. type: string
  13336. pricemove:
  13337. description: 升贴水(浮动价时填写) - [挂牌]
  13338. type: number
  13339. tradedate:
  13340. description: 交易日(yyyyMMdd)
  13341. type: string
  13342. tradeprice:
  13343. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13344. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13345. type: number
  13346. tradeqty:
  13347. description: 成交数量
  13348. type: number
  13349. userid:
  13350. description: 用户ID
  13351. type: integer
  13352. warehouseid:
  13353. description: 仓库ID
  13354. type: integer
  13355. warehousename:
  13356. description: 仓库名称
  13357. type: string
  13358. wrfactortypeid:
  13359. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13360. type: integer
  13361. wrfactortypename:
  13362. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13363. type: string
  13364. wrpricetype:
  13365. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13366. type: integer
  13367. wrstandardcode:
  13368. description: 现货商品代码
  13369. type: string
  13370. wrstandardid:
  13371. description: 现货商品ID
  13372. type: integer
  13373. wrstandardname:
  13374. description: 商品名称
  13375. type: string
  13376. wrtradeorderid:
  13377. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13378. type: string
  13379. wrtradeorderstatus:
  13380. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13381. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13382. type: integer
  13383. wrtradetype:
  13384. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13385. type: integer
  13386. wrtypename:
  13387. description: 商品
  13388. type: string
  13389. type: object
  13390. models.WrOrderQuote:
  13391. properties:
  13392. buyprice:
  13393. description: 买价
  13394. type: number
  13395. buypricemove:
  13396. description: 买升贴水(基差)
  13397. type: number
  13398. buyqty:
  13399. description: 买量
  13400. type: number
  13401. deliverygoodscode:
  13402. description: 品种代码
  13403. type: string
  13404. deliverygoodsid:
  13405. description: 品种id
  13406. type: integer
  13407. deliverygoodsname:
  13408. description: 品种名称
  13409. type: string
  13410. goodscode:
  13411. description: 商品合约(浮动价列表才有)
  13412. type: string
  13413. goodsid:
  13414. description: 商品id(浮动价列表才有)
  13415. type: integer
  13416. sellprice:
  13417. description: 卖价
  13418. type: number
  13419. sellpricemove:
  13420. description: 卖升贴水(基差)
  13421. type: number
  13422. sellqty:
  13423. description: 卖量
  13424. type: number
  13425. warehousecode:
  13426. description: 仓库代码
  13427. type: string
  13428. warehouseid:
  13429. description: 仓库id
  13430. type: integer
  13431. warehousename:
  13432. description: 仓库名称
  13433. type: string
  13434. wrfactortypeid:
  13435. description: 仓单要素id
  13436. type: integer
  13437. wrfactortypename:
  13438. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13439. type: string
  13440. wrgoodsname:
  13441. description: 商品(商品名称+仓库要素名称 拼接)
  13442. type: string
  13443. wrstandardcode:
  13444. description: 商品代码
  13445. type: string
  13446. wrstandardid:
  13447. description: 商品id
  13448. type: integer
  13449. wrstandardname:
  13450. description: 商品名称
  13451. type: string
  13452. type: object
  13453. models.WrOrderQuoteDetail:
  13454. properties:
  13455. buyorsell:
  13456. description: 买卖 - 0:买 1:卖
  13457. type: integer
  13458. fixedprice:
  13459. description: 买(卖)价
  13460. type: number
  13461. orderqty:
  13462. description: 买(卖)量(=委托量-成交量)
  13463. type: number
  13464. pricemove:
  13465. description: 买(卖)升贴水- 基差
  13466. type: number
  13467. userid:
  13468. description: 购买方(销售方)用户ID
  13469. type: integer
  13470. username:
  13471. description: 购买方(销售方)
  13472. type: string
  13473. wrtradeorderid:
  13474. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13475. type: string
  13476. type: object
  13477. models.WrPosition:
  13478. properties:
  13479. accountid:
  13480. description: 帐户ID
  13481. type: integer
  13482. buyexcuteqty:
  13483. description: 采购履约中数量
  13484. type: number
  13485. creditcurqty:
  13486. description: 授信当前数量(预售仓单:预售当前量)
  13487. type: number
  13488. creditenableqty:
  13489. description: '授信可用数量(预售仓单: 可用数量)'
  13490. type: number
  13491. creditfreezeqty:
  13492. description: '授信冻结数量(预售仓单: 当前数量)'
  13493. type: number
  13494. credittotalqty:
  13495. description: 授信总数量(预售仓单:预售总量)
  13496. type: number
  13497. credittradeqty:
  13498. description: 授信成交数量(预售仓单:成交总量)
  13499. type: number
  13500. deliverygoodscode:
  13501. description: 品种代码
  13502. type: string
  13503. deliverygoodsid:
  13504. description: 品种ID
  13505. type: integer
  13506. deliverygoodsname:
  13507. description: 品种名称
  13508. type: string
  13509. enalbeqty:
  13510. description: 可用数量
  13511. type: number
  13512. enumdicname:
  13513. description: 单位名称
  13514. type: string
  13515. freezeqty:
  13516. description: 总冻结数量
  13517. type: number
  13518. modifytime:
  13519. description: 修改时间(过户时间)
  13520. type: string
  13521. optioncompare:
  13522. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13523. type: string
  13524. pledgeqty:
  13525. description: 质押数量
  13526. type: number
  13527. querytype:
  13528. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细
  13529. type: integer
  13530. sellexcuteqty:
  13531. description: 销售履约中数量
  13532. type: number
  13533. totalqty:
  13534. description: 总数量(库存数量)
  13535. type: number
  13536. warehouseid:
  13537. description: 仓库ID
  13538. type: integer
  13539. warehousename:
  13540. description: 仓库名称
  13541. type: string
  13542. wrfactortypeid:
  13543. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13544. type: integer
  13545. wrfactortypename:
  13546. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13547. type: string
  13548. wrpositionid:
  13549. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13550. type: integer
  13551. wrpositionno:
  13552. description: 仓单编号
  13553. type: string
  13554. wrstandardcode:
  13555. description: 现货商品代码
  13556. type: string
  13557. wrstandardid:
  13558. description: 现货商品ID
  13559. type: integer
  13560. wrstandardname:
  13561. description: 商品名称
  13562. type: string
  13563. wrtypename:
  13564. description: 商品
  13565. type: string
  13566. wruserid:
  13567. description: 持有人ID
  13568. type: integer
  13569. type: object
  13570. models.WrSpecialMatchOrder:
  13571. properties:
  13572. amount:
  13573. description: 金额 = 数量 * 价格
  13574. type: number
  13575. buyorsell:
  13576. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13577. type: integer
  13578. cancelqty:
  13579. description: 撤销数量
  13580. type: number
  13581. deliverygoodscode:
  13582. description: 品种代码
  13583. type: string
  13584. deliverygoodsid:
  13585. description: 品种ID
  13586. type: integer
  13587. deliverygoodsname:
  13588. description: 品种名称
  13589. type: string
  13590. enumdicname:
  13591. description: 单位名称
  13592. type: string
  13593. fixedprice:
  13594. description: 固定价格(价格)
  13595. type: number
  13596. haswr:
  13597. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13598. type: integer
  13599. marketid:
  13600. description: 市场ID
  13601. type: integer
  13602. matchuserid:
  13603. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  13604. type: integer
  13605. matchusername:
  13606. description: 指定方
  13607. type: string
  13608. optioncompare:
  13609. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13610. type: string
  13611. orderqty:
  13612. description: 委托数量
  13613. type: number
  13614. ordertime:
  13615. description: 委托时间
  13616. type: string
  13617. pricemove:
  13618. description: 升贴水(浮动价时填写) - [挂牌]
  13619. type: number
  13620. tradedate:
  13621. description: 交易日(yyyyMMdd)
  13622. type: string
  13623. tradeprice:
  13624. description: 成交价格
  13625. type: number
  13626. tradeqty:
  13627. description: 成交数量
  13628. type: number
  13629. userid:
  13630. description: 用户ID
  13631. type: integer
  13632. username:
  13633. description: 发起方
  13634. type: string
  13635. warehouseid:
  13636. description: 仓库ID
  13637. type: integer
  13638. warehousename:
  13639. description: 仓库名称
  13640. type: string
  13641. wrfactortypeid:
  13642. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13643. type: integer
  13644. wrfactortypename:
  13645. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13646. type: string
  13647. wrpricetype:
  13648. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13649. type: integer
  13650. wrstandardcode:
  13651. description: 现货商品代码
  13652. type: string
  13653. wrstandardid:
  13654. description: 现货商品ID
  13655. type: integer
  13656. wrstandardname:
  13657. description: 商品名称
  13658. type: string
  13659. wrtradeorderid:
  13660. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13661. type: string
  13662. wrtradeorderstatus:
  13663. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13664. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13665. type: integer
  13666. wrtradetype:
  13667. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13668. type: integer
  13669. wrtypename:
  13670. description: 商品
  13671. type: string
  13672. type: object
  13673. models.WrTradeDetail:
  13674. properties:
  13675. accountid:
  13676. description: 资金账号
  13677. type: integer
  13678. buyorsell:
  13679. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13680. type: integer
  13681. deliverygoodscode:
  13682. description: 品种代码
  13683. type: string
  13684. deliverygoodsid:
  13685. description: 品种ID
  13686. type: integer
  13687. deliverygoodsname:
  13688. description: 品种名称
  13689. type: string
  13690. deliverymonth:
  13691. description: 交收月
  13692. type: string
  13693. enumdicname:
  13694. description: 单位名称
  13695. type: string
  13696. haswr:
  13697. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13698. type: integer
  13699. marketid:
  13700. description: 市场ID
  13701. type: integer
  13702. matchaccountid:
  13703. description: 对手账号
  13704. type: integer
  13705. matchusername:
  13706. description: 对手方
  13707. type: string
  13708. optioncompare:
  13709. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13710. type: string
  13711. tradedate:
  13712. description: 交易日(yyyyMMdd)
  13713. type: string
  13714. tradeprice:
  13715. description: 成交价格
  13716. type: number
  13717. tradeqty:
  13718. description: 成交数量
  13719. type: number
  13720. tradetime:
  13721. description: 成交时间
  13722. type: string
  13723. userid:
  13724. description: 用户ID
  13725. type: integer
  13726. warehouseid:
  13727. description: 仓库ID
  13728. type: integer
  13729. warehousename:
  13730. description: 仓库名称
  13731. type: string
  13732. wrfactortypeid:
  13733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13734. type: integer
  13735. wrfactortypename:
  13736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13737. type: string
  13738. wrstandardcode:
  13739. description: 现货商品代码
  13740. type: string
  13741. wrstandardid:
  13742. description: 现货商品ID
  13743. type: integer
  13744. wrstandardname:
  13745. description: 商品名称
  13746. type: string
  13747. wrtradedetailid:
  13748. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13749. type: string
  13750. wrtradetype:
  13751. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13752. type: integer
  13753. wrtypename:
  13754. description: 商品
  13755. type: string
  13756. type: object
  13757. order.QueryHisTradeDetailRsp:
  13758. properties:
  13759. accountid:
  13760. description: 账户ID[报价币种]
  13761. type: integer
  13762. advanceratio:
  13763. description: 首付比率
  13764. type: number
  13765. buildtype:
  13766. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13767. type: integer
  13768. buyorsell:
  13769. description: 方向 - 0:买 1:卖
  13770. type: integer
  13771. charge:
  13772. description: 手续费
  13773. type: number
  13774. closecharge:
  13775. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13776. type: number
  13777. closeexchagechargevalue:
  13778. description: 平仓交易所手续费设置值
  13779. type: number
  13780. closefeealgorithm:
  13781. description: 平仓手续费收取方式 1:比率 2:固定
  13782. type: integer
  13783. closememberchargevalue:
  13784. description: 平仓会员手续费设置值
  13785. type: number
  13786. closepl:
  13787. description: 平仓盈亏
  13788. type: number
  13789. closepl2:
  13790. description: 平仓盈亏[逐笔]
  13791. type: number
  13792. closeqty:
  13793. description: 平仓数量(先建后平操作 需要记录)
  13794. type: number
  13795. creditamount:
  13796. description: 授信金额
  13797. type: number
  13798. decimalplace:
  13799. description: 商品报价小数位
  13800. type: integer
  13801. enumdicname:
  13802. description: 单位名称
  13803. type: string
  13804. gcaccountid:
  13805. description: 账户ID[合约币种]
  13806. type: integer
  13807. goodscode:
  13808. description: 商品代码
  13809. type: string
  13810. goodsid:
  13811. description: 商品ID
  13812. type: integer
  13813. goodsname:
  13814. description: 商品名称
  13815. type: string
  13816. goodunitid:
  13817. description: 商品单位id
  13818. type: integer
  13819. histradedate:
  13820. description: 历史交易日
  13821. type: string
  13822. intclosepl:
  13823. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13824. type: integer
  13825. isconfirmexercise:
  13826. description: 是否确认行权- 0:否 1:是
  13827. type: integer
  13828. ismain:
  13829. description: 是否主单 - 0:不是 1:是
  13830. type: integer
  13831. ispreexercise:
  13832. description: 是否预申报- 0:否 1:是
  13833. type: integer
  13834. isreckoned:
  13835. description: 是否结算 - 0:未结算 1:已结算
  13836. type: integer
  13837. isvaliddata:
  13838. description: 是否有效 - 0:无效 1:有效
  13839. type: integer
  13840. listingselecttype:
  13841. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13842. type: integer
  13843. marketid:
  13844. description: 市场ID
  13845. type: integer
  13846. marketname:
  13847. description: 市场名称
  13848. type: string
  13849. matchaccountid:
  13850. description: 对手账号id
  13851. type: integer
  13852. memberuserid:
  13853. description: 会员id 个人投资者 需要填写
  13854. type: integer
  13855. opencharge:
  13856. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13857. type: number
  13858. openexchagechargevalue:
  13859. description: 建仓交易所手续费设置值
  13860. type: number
  13861. openfeealgorithm:
  13862. description: 建仓手续费收取方式 1:比率 2:固定
  13863. type: integer
  13864. openmemberchargevalue:
  13865. description: 建仓会员手续费设置值
  13866. type: number
  13867. openqty:
  13868. description: 开仓数量(先建后平操作 需要记录)
  13869. type: number
  13870. optiontype:
  13871. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13872. type: integer
  13873. orderid:
  13874. description: 委托单号
  13875. type: string
  13876. payamount:
  13877. description: 支付金额(付款金额)
  13878. type: number
  13879. performanceplanid:
  13880. description: 履约计划ID[期权]
  13881. type: integer
  13882. performancestatus:
  13883. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13884. type: integer
  13885. preexerciseprice:
  13886. description: 预申报价格
  13887. type: number
  13888. premium:
  13889. description: 权利金 - [持仓单的权利金]
  13890. type: number
  13891. qtydecimalplace:
  13892. description: 商品报价小数位
  13893. type: integer
  13894. recvamount:
  13895. description: 到账金额 = 成交金额 - 手续费
  13896. type: number
  13897. relatedouttradeid:
  13898. description: 关联外部成交单ID
  13899. type: integer
  13900. status:
  13901. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13902. type: integer
  13903. totalamount:
  13904. description: 订单总额 = 成交金额 + 手续费
  13905. type: number
  13906. tradeamount:
  13907. description: 成交金额[账户币种,用于所有权]
  13908. type: number
  13909. tradedate:
  13910. description: 交易日(yyyyMMdd)
  13911. type: string
  13912. tradeid:
  13913. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13914. type: string
  13915. trademode:
  13916. description: 交易模式
  13917. type: integer
  13918. tradeprice:
  13919. description: 成交价格
  13920. type: number
  13921. tradeproperty:
  13922. description: 交易属性
  13923. type: integer
  13924. tradeqty:
  13925. description: 成交数量
  13926. type: number
  13927. tradetime:
  13928. description: 成交时间
  13929. type: string
  13930. tradetype:
  13931. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13932. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13933. type: integer
  13934. required:
  13935. - accountid
  13936. - buyorsell
  13937. - goodsid
  13938. - histradedate
  13939. - marketid
  13940. - memberuserid
  13941. - orderid
  13942. - tradeamount
  13943. - tradedate
  13944. - tradeid
  13945. - tradeprice
  13946. - tradeqty
  13947. - tradetime
  13948. type: object
  13949. order.QueryHisTradeOrderDetailRsp:
  13950. properties:
  13951. accountid:
  13952. description: 账户ID[报价币种]
  13953. type: integer
  13954. buildtype:
  13955. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13956. type: integer
  13957. buyorsell:
  13958. description: 买卖 - 0:买 1:卖
  13959. type: integer
  13960. cancelorderid:
  13961. description: 撤单单号(撤单时填写)
  13962. type: string
  13963. cancelqty:
  13964. description: 撤单数量
  13965. type: number
  13966. clientordertime:
  13967. description: 客户端委托时间
  13968. type: string
  13969. clientticket:
  13970. description: 客户端流水号
  13971. type: string
  13972. clienttype:
  13973. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13974. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13975. type: integer
  13976. closeexchagechargevalue:
  13977. description: 平仓交易所手续费设置值
  13978. type: number
  13979. closefeealgorithm:
  13980. description: 平仓手续费收取方式 1:比率 2:固定
  13981. type: integer
  13982. closefreezecharge:
  13983. description: 平仓冻结手续费(先建后平操作,需要记录)
  13984. type: number
  13985. closememberchargevalue:
  13986. description: 平仓会员手续费设置值
  13987. type: number
  13988. closeqty:
  13989. description: 平仓数量(先建后平操作 需要记录)
  13990. type: number
  13991. closetradeqty:
  13992. description: 平仓成交数量(先建后平操作,需要记录)
  13993. type: number
  13994. closeunfreezecharge:
  13995. description: 平仓解冻手续费(先建后平操作,需要记录)
  13996. type: number
  13997. decimalplace:
  13998. description: 商品报价小数位
  13999. type: integer
  14000. delistingtype:
  14001. description: 摘牌类型 - 1:价格最优 2:点选成交
  14002. type: integer
  14003. enumdicname:
  14004. description: 单位名称
  14005. type: string
  14006. freezecharge:
  14007. description: 冻结手续费
  14008. type: number
  14009. freezemargin:
  14010. description: 冻结保证金(冻结交易金额)
  14011. type: number
  14012. gcaccountid:
  14013. description: 账户ID[合约币种]
  14014. type: integer
  14015. goodscode:
  14016. description: 商品代码
  14017. type: string
  14018. goodsid:
  14019. description: 商品ID
  14020. type: integer
  14021. goodsname:
  14022. description: 商品名称
  14023. type: string
  14024. goodunitid:
  14025. description: 商品单位id
  14026. type: integer
  14027. histradedate:
  14028. description: 历史交易日
  14029. type: string
  14030. isconfirmexercise:
  14031. description: 是否确认行权- 0:否 1:是
  14032. type: integer
  14033. ispreexercise:
  14034. description: 是否预申报- 0:否 1:是
  14035. type: integer
  14036. isvaliddata:
  14037. description: 是否有效 - 0:无效 1:有效
  14038. type: integer
  14039. listingselecttype:
  14040. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14041. type: integer
  14042. marginalgorithm:
  14043. description: 保证金收取方式 1:比率 2:固定
  14044. type: integer
  14045. marginvalue:
  14046. description: 即市保证金设置值
  14047. type: number
  14048. marketid:
  14049. description: 市场ID
  14050. type: integer
  14051. marketmaxsub:
  14052. description: 市价最大偏移范围
  14053. type: number
  14054. marketname:
  14055. description: 市场名称
  14056. type: string
  14057. memberuserid:
  14058. description: 所属会员UserID
  14059. type: integer
  14060. openexchagechargevalue:
  14061. description: 建仓交易所手续费设置值
  14062. type: number
  14063. openfeealgorithm:
  14064. description: 建仓手续费收取方式 1:比率 2:固定
  14065. type: integer
  14066. openfreezecharge:
  14067. description: 开仓冻结手续费(先建后平操作,需要记录)
  14068. type: number
  14069. openmemberchargevalue:
  14070. description: 建仓会员手续费设置值
  14071. type: number
  14072. openqty:
  14073. description: 开仓数量(先建后平操作,需要记录)
  14074. type: number
  14075. opentradeqty:
  14076. description: 开仓成交数量(先建后平操作,需要记录)
  14077. type: number
  14078. openunfreezecharge:
  14079. description: 开仓解冻手续费(先建后平操作,需要记录)
  14080. type: number
  14081. operatetype:
  14082. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14083. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14084. 15:管理端协议转让
  14085. type: integer
  14086. operatorid:
  14087. description: 登录账号(LoginID)
  14088. type: integer
  14089. optiontype:
  14090. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14091. type: integer
  14092. orderid:
  14093. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14094. type: string
  14095. orderprice:
  14096. description: 委托价格
  14097. type: number
  14098. orderqty:
  14099. description: 委托数量
  14100. type: number
  14101. ordersrc:
  14102. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14103. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14104. type: integer
  14105. orderstatus:
  14106. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14107. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14108. 16:成交失败违约(荷兰式竞拍专用)
  14109. type: integer
  14110. ordertime:
  14111. description: 委托时间
  14112. type: string
  14113. preexerciseprice:
  14114. description: 预申报价格
  14115. type: number
  14116. premium:
  14117. description: 权利金
  14118. type: number
  14119. preorderid:
  14120. description: 关联预埋单号(止盈止损单时填写)
  14121. type: string
  14122. pricemode:
  14123. description: '取价方式 - 1:市价 2: 限价'
  14124. type: integer
  14125. qtydecimalplace:
  14126. description: 成交量小数位
  14127. type: integer
  14128. quoteid:
  14129. description: 报价单ID
  14130. type: integer
  14131. relatedid:
  14132. description: 关联单号(交割单)
  14133. type: string
  14134. retcode:
  14135. description: 错误代码
  14136. type: integer
  14137. sessionid:
  14138. description: 会话ID
  14139. type: integer
  14140. tradedate:
  14141. description: 交易日(yyyyMMdd)
  14142. type: string
  14143. trademode:
  14144. description: 交易模式
  14145. type: integer
  14146. tradeproperty:
  14147. description: 交易属性
  14148. type: integer
  14149. tradeqty:
  14150. description: 成交数量
  14151. type: number
  14152. unfreezecharge:
  14153. description: 解冻手续费
  14154. type: number
  14155. unfreezemargin:
  14156. description: 解冻保证金
  14157. type: number
  14158. updatetime:
  14159. description: 更新时间
  14160. type: string
  14161. uuid:
  14162. description: 发起端唯一id
  14163. type: string
  14164. validtime:
  14165. description: 有效期限
  14166. type: string
  14167. validtype:
  14168. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14169. type: integer
  14170. volumetype:
  14171. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14172. type: integer
  14173. required:
  14174. - accountid
  14175. - buildtype
  14176. - buyorsell
  14177. - goodsid
  14178. - histradedate
  14179. - marketid
  14180. - memberuserid
  14181. - operatetype
  14182. - orderid
  14183. - orderqty
  14184. - ordertime
  14185. - pricemode
  14186. - tradedate
  14187. - validtype
  14188. type: object
  14189. order.QueryTradeDetailRsp:
  14190. properties:
  14191. accountid:
  14192. description: 账户ID[报价币种]
  14193. type: integer
  14194. advanceratio:
  14195. description: 首付比率
  14196. type: number
  14197. buildtype:
  14198. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14199. type: integer
  14200. buyorsell:
  14201. description: 方向 - 0:买 1:卖
  14202. type: integer
  14203. charge:
  14204. description: 手续费
  14205. type: number
  14206. closecharge:
  14207. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14208. type: number
  14209. closeexchagechargevalue:
  14210. description: 平仓交易所手续费设置值
  14211. type: number
  14212. closefeealgorithm:
  14213. description: 平仓手续费收取方式 1:比率 2:固定
  14214. type: integer
  14215. closememberchargevalue:
  14216. description: 平仓会员手续费设置值
  14217. type: number
  14218. closepl:
  14219. description: 平仓盈亏
  14220. type: number
  14221. closepl2:
  14222. description: 平仓盈亏[逐笔]
  14223. type: number
  14224. closeqty:
  14225. description: 平仓数量(先建后平操作 需要记录)
  14226. type: number
  14227. creditamount:
  14228. description: 授信金额
  14229. type: number
  14230. decimalplace:
  14231. description: 商品报价小数位
  14232. type: integer
  14233. enumdicname:
  14234. description: 单位名称
  14235. type: string
  14236. gcaccountid:
  14237. description: 账户ID[合约币种]
  14238. type: integer
  14239. goodscode:
  14240. description: 商品代码
  14241. type: string
  14242. goodsid:
  14243. description: 商品ID
  14244. type: integer
  14245. goodsname:
  14246. description: 商品名称
  14247. type: string
  14248. goodunitid:
  14249. description: 商品单位id
  14250. type: integer
  14251. intclosepl:
  14252. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14253. type: integer
  14254. isconfirmexercise:
  14255. description: 是否确认行权- 0:否 1:是
  14256. type: integer
  14257. ismain:
  14258. description: 是否主单 - 0:不是 1:是
  14259. type: integer
  14260. ispreexercise:
  14261. description: 是否预申报- 0:否 1:是
  14262. type: integer
  14263. isreckoned:
  14264. description: 是否结算 - 0:未结算 1:已结算
  14265. type: integer
  14266. listingselecttype:
  14267. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14268. type: integer
  14269. marketid:
  14270. description: 市场ID
  14271. type: integer
  14272. marketname:
  14273. description: 市场名称
  14274. type: string
  14275. matchaccountid:
  14276. description: 对手账号id
  14277. type: integer
  14278. memberuserid:
  14279. description: 会员id 个人投资者 需要填写
  14280. type: integer
  14281. opencharge:
  14282. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14283. type: number
  14284. openexchagechargevalue:
  14285. description: 建仓交易所手续费设置值
  14286. type: number
  14287. openfeealgorithm:
  14288. description: 建仓手续费收取方式 1:比率 2:固定
  14289. type: integer
  14290. openmemberchargevalue:
  14291. description: 建仓会员手续费设置值
  14292. type: number
  14293. openqty:
  14294. description: 开仓数量(先建后平操作 需要记录)
  14295. type: number
  14296. optiontype:
  14297. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14298. type: integer
  14299. orderid:
  14300. description: 委托单号
  14301. type: string
  14302. payamount:
  14303. description: 支付金额(付款金额)
  14304. type: number
  14305. performanceplanid:
  14306. description: 履约计划ID[期权]
  14307. type: integer
  14308. performancestatus:
  14309. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14310. type: integer
  14311. preexerciseprice:
  14312. description: 预申报价格
  14313. type: number
  14314. premium:
  14315. description: 权利金 - [持仓单的权利金]
  14316. type: number
  14317. qtydecimalplace:
  14318. description: 商品报价小数位
  14319. type: integer
  14320. recvamount:
  14321. description: 到账金额 = 成交金额 - 手续费
  14322. type: number
  14323. relatedouttradeid:
  14324. description: 关联外部成交单ID
  14325. type: integer
  14326. status:
  14327. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14328. type: integer
  14329. totalamount:
  14330. description: 订单总额 = 成交金额 + 手续费
  14331. type: number
  14332. tradeamount:
  14333. description: 成交金额[账户币种,用于所有权]
  14334. type: number
  14335. tradedate:
  14336. description: 交易日(yyyyMMdd)
  14337. type: string
  14338. tradeid:
  14339. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14340. type: string
  14341. trademode:
  14342. description: 交易模式
  14343. type: integer
  14344. tradeprice:
  14345. description: 成交价格
  14346. type: number
  14347. tradeproperty:
  14348. description: 交易属性
  14349. type: integer
  14350. tradeqty:
  14351. description: 成交数量
  14352. type: number
  14353. tradetime:
  14354. description: 成交时间
  14355. type: string
  14356. tradetype:
  14357. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14358. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14359. type: integer
  14360. required:
  14361. - accountid
  14362. - buyorsell
  14363. - goodsid
  14364. - marketid
  14365. - memberuserid
  14366. - orderid
  14367. - tradeamount
  14368. - tradedate
  14369. - tradeid
  14370. - tradeprice
  14371. - tradeqty
  14372. - tradetime
  14373. type: object
  14374. order.QueryTradeOrderDetailRsp:
  14375. properties:
  14376. accountid:
  14377. description: 账户ID[报价币种]
  14378. type: integer
  14379. buildtype:
  14380. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14381. type: integer
  14382. buyorsell:
  14383. description: 买卖 - 0:买 1:卖
  14384. type: integer
  14385. cancelorderid:
  14386. description: 撤单单号(撤单时填写)
  14387. type: string
  14388. cancelqty:
  14389. description: 撤单数量
  14390. type: number
  14391. clienttype:
  14392. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14393. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14394. type: integer
  14395. closefreezecharge:
  14396. description: 平仓冻结手续费(先建后平操作,需要记录)
  14397. type: number
  14398. closeqty:
  14399. description: 平仓数量(先建后平操作 需要记录)
  14400. type: number
  14401. closetradeqty:
  14402. description: 平仓成交数量(先建后平操作,需要记录)
  14403. type: number
  14404. closeunfreezecharge:
  14405. description: 平仓解冻手续费(先建后平操作,需要记录)
  14406. type: number
  14407. decimalplace:
  14408. description: 商品报价小数位
  14409. type: integer
  14410. delistingtype:
  14411. description: 摘牌类型 - 1:价格最优 2:点选成交
  14412. type: integer
  14413. enableqty:
  14414. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14415. type: number
  14416. enumdicname:
  14417. description: 单位名称
  14418. type: string
  14419. freezecharge:
  14420. description: 冻结手续费
  14421. type: number
  14422. freezemargin:
  14423. description: 冻结保证金(冻结交易金额)
  14424. type: number
  14425. goodscode:
  14426. description: 商品代码
  14427. type: string
  14428. goodsid:
  14429. description: 商品ID
  14430. type: integer
  14431. goodsname:
  14432. description: 商品名称
  14433. type: string
  14434. goodunitid:
  14435. description: 商品单位id
  14436. type: integer
  14437. listingselecttype:
  14438. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14439. type: integer
  14440. marketid:
  14441. description: 市场ID
  14442. type: integer
  14443. marketname:
  14444. description: 市场名称
  14445. type: string
  14446. openfreezecharge:
  14447. description: 开仓冻结手续费(先建后平操作,需要记录)
  14448. type: number
  14449. openqty:
  14450. description: 开仓数量(先建后平操作,需要记录)
  14451. type: number
  14452. opentradeqty:
  14453. description: 开仓成交数量(先建后平操作,需要记录)
  14454. type: number
  14455. openunfreezecharge:
  14456. description: 开仓解冻手续费(先建后平操作,需要记录)
  14457. type: number
  14458. operatetype:
  14459. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14460. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14461. 15:管理端协议转让
  14462. type: integer
  14463. operatorid:
  14464. description: 登录账号(LoginID)
  14465. type: integer
  14466. orderid:
  14467. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14468. type: string
  14469. orderprice:
  14470. description: 委托价格
  14471. type: number
  14472. orderqty:
  14473. description: 委托数量
  14474. type: number
  14475. ordersrc:
  14476. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14477. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14478. type: integer
  14479. orderstatus:
  14480. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14481. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14482. 16:成交失败违约(荷兰式竞拍专用)
  14483. type: integer
  14484. ordertime:
  14485. description: 委托时间
  14486. type: string
  14487. preorderid:
  14488. description: 关联预埋单号(止盈止损单时填写)
  14489. type: string
  14490. pricemode:
  14491. description: '取价方式 - 1:市价 2: 限价'
  14492. type: integer
  14493. qtydecimalplace:
  14494. description: 商品报价小数位
  14495. type: integer
  14496. relatedid:
  14497. description: 关联单号(交割单)
  14498. type: string
  14499. tradedate:
  14500. description: 交易日(yyyyMMdd)
  14501. type: string
  14502. trademode:
  14503. description: 交易模式
  14504. type: integer
  14505. tradeqty:
  14506. description: 成交数量
  14507. type: number
  14508. unfreezecharge:
  14509. description: 解冻手续费
  14510. type: number
  14511. unfreezemargin:
  14512. description: 解冻保证金
  14513. type: number
  14514. validtime:
  14515. description: 有效期限
  14516. type: string
  14517. validtype:
  14518. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14519. type: integer
  14520. volumetype:
  14521. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14522. type: integer
  14523. required:
  14524. - accountid
  14525. - buildtype
  14526. - buyorsell
  14527. - goodsid
  14528. - marketid
  14529. - operatetype
  14530. - orderqty
  14531. - ordertime
  14532. - pricemode
  14533. - tradedate
  14534. - validtype
  14535. type: object
  14536. order.QueryTradePositionRsp:
  14537. properties:
  14538. accountid:
  14539. description: 资金账户
  14540. type: integer
  14541. agreeunit:
  14542. description: 合约单位
  14543. type: number
  14544. averageprice:
  14545. description: 持仓均价
  14546. type: number
  14547. buyorsell:
  14548. description: 方向 - 0:买 1:卖
  14549. type: integer
  14550. closetotalqty:
  14551. description: 平仓总数量
  14552. type: number
  14553. curholderamount:
  14554. description: 当前持仓总金额[商品币种]
  14555. type: number
  14556. curpositionqty:
  14557. description: 当前持仓总数量
  14558. type: number
  14559. currencyid:
  14560. description: 报价货币ID
  14561. type: integer
  14562. curtdposition:
  14563. description: 期末今日头寸
  14564. type: number
  14565. decimalplace:
  14566. description: 报价小数位
  14567. type: integer
  14568. enableqty:
  14569. description: 可用量
  14570. type: number
  14571. fretdposition:
  14572. description: 冻结今日头寸
  14573. type: number
  14574. frozenqty:
  14575. description: 持仓冻结数量
  14576. type: number
  14577. goodscode:
  14578. description: 商品代码
  14579. type: string
  14580. goodsid:
  14581. description: 商品Id
  14582. type: integer
  14583. goodsname:
  14584. description: 商品名称
  14585. type: string
  14586. goodunit:
  14587. description: 报价单位
  14588. type: string
  14589. goodunitid:
  14590. description: 报价单位ID
  14591. type: integer
  14592. holderamount:
  14593. description: 期初持仓总金额[商品币种]
  14594. type: number
  14595. lastprice:
  14596. description: 最新价
  14597. type: number
  14598. marketamount:
  14599. description: 市值
  14600. type: number
  14601. marketid:
  14602. description: 所属市场ID
  14603. type: integer
  14604. openreqqty:
  14605. description: 开仓申请数量(用于比较最大持仓数量)
  14606. type: number
  14607. opentotalqty:
  14608. description: 开仓总数量
  14609. type: number
  14610. otherfrozenqty:
  14611. description: 持仓其他冻结数量(交割冻结)
  14612. type: number
  14613. positionpl:
  14614. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  14615. * 合约单位
  14616. type: number
  14617. positionplrate:
  14618. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  14619. type: number
  14620. positionqty:
  14621. description: 期初持仓数量
  14622. type: number
  14623. qtydecimalplace:
  14624. description: 成交量小数位
  14625. type: integer
  14626. tnqty:
  14627. description: T+N冻结总量
  14628. type: number
  14629. tnusedqty:
  14630. description: T+N使用量(可以使用T+N的冻结数量)
  14631. type: number
  14632. trademode:
  14633. description: 交易模式
  14634. type: integer
  14635. usedmargin:
  14636. description: 占用保证金[商品币种]
  14637. type: number
  14638. required:
  14639. - goodsid
  14640. type: object
  14641. quote.HistoryData:
  14642. properties:
  14643. c:
  14644. description: 收盘价
  14645. type: number
  14646. f:
  14647. description: 是否补充数据
  14648. type: boolean
  14649. h:
  14650. description: 最高价
  14651. type: number
  14652. hv:
  14653. description: 持仓量
  14654. type: integer
  14655. l:
  14656. description: 最低价
  14657. type: number
  14658. o:
  14659. description: 开盘价
  14660. type: number
  14661. s:
  14662. description: 结算价,日线周期(包括)以上才有
  14663. type: number
  14664. ts:
  14665. description: 时间
  14666. type: string
  14667. tt:
  14668. description: 总金额
  14669. type: number
  14670. tv:
  14671. description: 总量
  14672. type: integer
  14673. type: object
  14674. quote.HistoryTikData:
  14675. properties:
  14676. AV:
  14677. description: 卖量
  14678. type: integer
  14679. Ask:
  14680. description: 卖价
  14681. type: number
  14682. BV:
  14683. description: 买量
  14684. type: integer
  14685. Bid:
  14686. description: 买价
  14687. type: number
  14688. HI:
  14689. description: 单笔持仓
  14690. type: integer
  14691. HV:
  14692. description: 持仓量
  14693. type: integer
  14694. PE:
  14695. description: 现价
  14696. type: number
  14697. TDR:
  14698. description: 交易方向,0:买 1:卖
  14699. type: integer
  14700. TK:
  14701. description: 交易类型
  14702. type: integer
  14703. TS:
  14704. description: 行情时间文本
  14705. type: string
  14706. TT:
  14707. description: 现金额
  14708. type: number
  14709. Vol:
  14710. description: 现量
  14711. type: integer
  14712. type: object
  14713. quote.QueryQuoteDayRsp:
  14714. properties:
  14715. ask:
  14716. description: 卖1
  14717. type: number
  14718. ask2:
  14719. description: 卖2
  14720. type: number
  14721. ask3:
  14722. description: 卖3
  14723. type: number
  14724. ask4:
  14725. description: 卖4
  14726. type: number
  14727. ask5:
  14728. description: 卖5
  14729. type: number
  14730. ask6:
  14731. description: 卖6
  14732. type: number
  14733. ask7:
  14734. description: 卖7
  14735. type: number
  14736. ask8:
  14737. description: 卖8
  14738. type: number
  14739. ask9:
  14740. description: 卖9
  14741. type: number
  14742. ask10:
  14743. description: 卖10
  14744. type: number
  14745. askorderid:
  14746. description: 卖单号1
  14747. type: integer
  14748. askorderid2:
  14749. description: 卖单号2
  14750. type: integer
  14751. askorderid3:
  14752. description: 卖单号3
  14753. type: integer
  14754. askorderid4:
  14755. description: 卖单号4
  14756. type: integer
  14757. askorderid5:
  14758. description: 卖单号5
  14759. type: integer
  14760. askordervolume:
  14761. description: 卖单量1
  14762. type: integer
  14763. askordervolume2:
  14764. description: 卖单量2
  14765. type: integer
  14766. askordervolume3:
  14767. description: 卖单量3
  14768. type: integer
  14769. askordervolume4:
  14770. description: 卖单量4
  14771. type: integer
  14772. askordervolume5:
  14773. description: 卖单量5
  14774. type: integer
  14775. askordervolume6:
  14776. description: 卖单量6
  14777. type: integer
  14778. askordervolume7:
  14779. description: 卖单量7
  14780. type: integer
  14781. askordervolume8:
  14782. description: 卖单量8
  14783. type: integer
  14784. askordervolume9:
  14785. description: 卖单量9
  14786. type: integer
  14787. askordervolume10:
  14788. description: 卖单量10
  14789. type: integer
  14790. askqueueinfo:
  14791. description: 大利市卖港股用
  14792. type: string
  14793. askvolume:
  14794. description: 卖量1
  14795. type: integer
  14796. askvolume2:
  14797. description: 卖量2
  14798. type: integer
  14799. askvolume3:
  14800. description: 卖量3
  14801. type: integer
  14802. askvolume4:
  14803. description: 卖量4
  14804. type: integer
  14805. askvolume5:
  14806. description: 卖量5
  14807. type: integer
  14808. askvolume6:
  14809. description: 卖量6
  14810. type: integer
  14811. askvolume7:
  14812. description: 卖量7
  14813. type: integer
  14814. askvolume8:
  14815. description: 卖量8
  14816. type: integer
  14817. askvolume9:
  14818. description: 卖量9
  14819. type: integer
  14820. askvolume10:
  14821. description: 卖量10
  14822. type: integer
  14823. averageprice:
  14824. description: 均价
  14825. type: number
  14826. bid:
  14827. description: 买1
  14828. type: number
  14829. bid2:
  14830. description: 买2
  14831. type: number
  14832. bid3:
  14833. description: 买3
  14834. type: number
  14835. bid4:
  14836. description: 买4
  14837. type: number
  14838. bid5:
  14839. description: 买5
  14840. type: number
  14841. bid6:
  14842. description: 买6
  14843. type: number
  14844. bid7:
  14845. description: 买7
  14846. type: number
  14847. bid8:
  14848. description: 买8
  14849. type: number
  14850. bid9:
  14851. description: 买9
  14852. type: number
  14853. bid10:
  14854. description: 买10
  14855. type: number
  14856. bidorderid:
  14857. description: 买单号1
  14858. type: integer
  14859. bidorderid2:
  14860. description: 买单号2
  14861. type: integer
  14862. bidorderid3:
  14863. description: 买单号3
  14864. type: integer
  14865. bidorderid4:
  14866. description: 买单号4
  14867. type: integer
  14868. bidorderid5:
  14869. description: 买单号5
  14870. type: integer
  14871. bidordervolume:
  14872. description: 买单量1
  14873. type: integer
  14874. bidordervolume2:
  14875. description: 买单量2
  14876. type: integer
  14877. bidordervolume3:
  14878. description: 买单量3
  14879. type: integer
  14880. bidordervolume4:
  14881. description: 买单量4
  14882. type: integer
  14883. bidordervolume5:
  14884. description: 买单量5
  14885. type: integer
  14886. bidordervolume6:
  14887. description: 买单量6
  14888. type: integer
  14889. bidordervolume7:
  14890. description: 买单量7
  14891. type: integer
  14892. bidordervolume8:
  14893. description: 买单量8
  14894. type: integer
  14895. bidordervolume9:
  14896. description: 买单量9
  14897. type: integer
  14898. bidordervolume10:
  14899. description: 买单量10
  14900. type: integer
  14901. bidqueueinfo:
  14902. description: 大利市买港股用
  14903. type: string
  14904. bidvolume:
  14905. description: 买量1
  14906. type: integer
  14907. bidvolume2:
  14908. description: 买量2
  14909. type: integer
  14910. bidvolume3:
  14911. description: 买量3
  14912. type: integer
  14913. bidvolume4:
  14914. description: 买量4
  14915. type: integer
  14916. bidvolume5:
  14917. description: 买量5
  14918. type: integer
  14919. bidvolume6:
  14920. description: 买量6
  14921. type: integer
  14922. bidvolume7:
  14923. description: 买量7
  14924. type: integer
  14925. bidvolume8:
  14926. description: 买量8
  14927. type: integer
  14928. bidvolume9:
  14929. description: 买量9
  14930. type: integer
  14931. bidvolume10:
  14932. description: 买量10
  14933. type: integer
  14934. calloptionpremiums:
  14935. description: 认购期权1
  14936. type: integer
  14937. calloptionpremiums2:
  14938. description: 认购期权2
  14939. type: integer
  14940. calloptionpremiums3:
  14941. description: 认购期权3
  14942. type: integer
  14943. calloptionpremiums4:
  14944. description: 认购期权4
  14945. type: integer
  14946. calloptionpremiums5:
  14947. description: 认购期权5
  14948. type: integer
  14949. cleartime:
  14950. description: 清盘时间
  14951. type: integer
  14952. exchangecode:
  14953. description: 交易所代码
  14954. type: integer
  14955. exchangedate:
  14956. description: 交易日
  14957. type: integer
  14958. goodscode:
  14959. description: 商品代码
  14960. type: string
  14961. grepmarketprice:
  14962. description: 暗盘价 港股专用
  14963. type: number
  14964. highest:
  14965. description: 最高价
  14966. type: number
  14967. holdincrement:
  14968. description: 单笔持仓
  14969. type: integer
  14970. holdvolume:
  14971. description: 持仓
  14972. type: integer
  14973. iep:
  14974. description: 平衡价 港股专用
  14975. type: number
  14976. iev:
  14977. description: 平衡量 港股专用
  14978. type: number
  14979. inventory:
  14980. description: 库存
  14981. type: integer
  14982. iscleared:
  14983. description: 是否清盘标志
  14984. type: integer
  14985. issettled:
  14986. description: 是否结算标志
  14987. type: integer
  14988. last:
  14989. description: 最新价
  14990. type: number
  14991. lastlot:
  14992. description: 最新成交手数
  14993. type: integer
  14994. lasttime:
  14995. description: 行情时间(只有现价变化行情时间才变化)
  14996. type: string
  14997. lastturnover:
  14998. description: 最新成交金额
  14999. type: number
  15000. lastvolume:
  15001. description: 最新成交量
  15002. type: integer
  15003. limitdown:
  15004. description: 跌停价
  15005. type: number
  15006. limitup:
  15007. description: 涨停价
  15008. type: number
  15009. lowest:
  15010. description: 最低价
  15011. type: number
  15012. nontotalholdervolume:
  15013. description: 非交易持仓量
  15014. type: integer
  15015. nontotallot:
  15016. description: 非交易总手数
  15017. type: integer
  15018. nontotalturnover:
  15019. description: 非交易总金额
  15020. type: integer
  15021. nontotalvolume:
  15022. description: 非交易总量
  15023. type: integer
  15024. opened:
  15025. description: 开盘价
  15026. type: number
  15027. opentime:
  15028. description: 开盘时间
  15029. type: string
  15030. orderid:
  15031. description: 序号
  15032. type: integer
  15033. preclose:
  15034. description: 昨收
  15035. type: number
  15036. preholdvolume:
  15037. description: 昨持仓
  15038. type: integer
  15039. presettle:
  15040. description: 昨结价
  15041. type: number
  15042. publictradetype:
  15043. description: 公共交易标志类型 港股专用
  15044. type: string
  15045. putoptionpremiums:
  15046. description: 认沽期权1
  15047. type: integer
  15048. putoptionpremiums2:
  15049. description: 认沽期权2
  15050. type: integer
  15051. putoptionpremiums3:
  15052. description: 认沽期权3
  15053. type: integer
  15054. putoptionpremiums4:
  15055. description: 认沽期权4
  15056. type: integer
  15057. putoptionpremiums5:
  15058. description: 认沽期权5
  15059. type: integer
  15060. settle:
  15061. description: 结算价
  15062. type: number
  15063. strikeprice:
  15064. description: 发行价
  15065. type: number
  15066. totalaskvolume:
  15067. description: 内盘
  15068. type: integer
  15069. totalbidvolume:
  15070. description: 外盘
  15071. type: integer
  15072. totallot:
  15073. description: 总手数
  15074. type: integer
  15075. totalturnover:
  15076. description: 总金额
  15077. type: number
  15078. totalvolume:
  15079. description: 总量
  15080. type: integer
  15081. utclasttime:
  15082. description: utc的行情时间
  15083. type: string
  15084. type: object
  15085. quote.QueryTSDataRsp:
  15086. properties:
  15087. Count:
  15088. description: 交易日应有数据个数
  15089. type: integer
  15090. decimalPlace:
  15091. description: 小数位
  15092. type: integer
  15093. endTime:
  15094. description: 结束时间
  15095. type: string
  15096. goodsCode:
  15097. description: 商品代码
  15098. type: string
  15099. historyDatas:
  15100. description: 历史数据
  15101. items:
  15102. $ref: '#/definitions/quote.HistoryData'
  15103. type: array
  15104. outGoodsCode:
  15105. description: 外部商品代码
  15106. type: string
  15107. preSettle:
  15108. description: 昨结价
  15109. type: number
  15110. runSteps:
  15111. description: 交易日开休市计划
  15112. items:
  15113. $ref: '#/definitions/quote.TSDataRunStep'
  15114. type: array
  15115. startTime:
  15116. description: 开始时间
  15117. type: string
  15118. tradeDate:
  15119. description: 交易日
  15120. type: string
  15121. type: object
  15122. quote.TSDataRunStep:
  15123. properties:
  15124. end:
  15125. description: 真实结束时间
  15126. type: string
  15127. endflag:
  15128. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15129. type: integer
  15130. endtime:
  15131. description: 结束时间(HH:mm)
  15132. type: string
  15133. endweekday:
  15134. description: 结束周几
  15135. type: integer
  15136. groupid:
  15137. description: 分组ID
  15138. type: integer
  15139. runstep:
  15140. description: 运行阶段 - 2:连续交易
  15141. type: integer
  15142. sectionid:
  15143. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15144. 结束时间=结算时间 结束周几=结算周几
  15145. type: integer
  15146. start:
  15147. description: 真实开始时间
  15148. type: string
  15149. startflag:
  15150. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15151. type: integer
  15152. starttime:
  15153. description: 起始时间(HH:mm)
  15154. type: string
  15155. startweekday:
  15156. description: 起始周几
  15157. type: integer
  15158. tradeweekday:
  15159. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15160. type: integer
  15161. type: object
  15162. szdz.QueryConvertLogRsp:
  15163. properties:
  15164. accountid:
  15165. description: 资金账户ID
  15166. type: integer
  15167. clientticket:
  15168. description: 客户端流水号
  15169. type: string
  15170. converttype:
  15171. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15172. type: integer
  15173. createtime:
  15174. description: 记账时间
  15175. type: string
  15176. daymaxvalue:
  15177. description: 配置当日最大转入限制
  15178. type: number
  15179. daymaxvalue2:
  15180. description: 配置当日最大转入限制(转入)
  15181. type: number
  15182. goodscode:
  15183. description: 商品代码
  15184. type: string
  15185. goodsname:
  15186. description: 商品名称
  15187. type: string
  15188. handlestatus:
  15189. description: 处理状态
  15190. type: integer
  15191. innergoodsid:
  15192. description: 内部商品ID
  15193. type: integer
  15194. inratio:
  15195. description: 配置转入比值
  15196. type: integer
  15197. invalue:
  15198. description: 目标值
  15199. type: number
  15200. logid:
  15201. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15202. type: integer
  15203. mobile:
  15204. description: 手机号码(加密存储)
  15205. type: string
  15206. outergoodscode:
  15207. description: 外部商品代码[JD\PD]
  15208. type: string
  15209. outratio:
  15210. description: 配置转出比值
  15211. type: integer
  15212. outvalue:
  15213. description: 源值
  15214. type: number
  15215. pddecimalplace:
  15216. description: PD小数位
  15217. type: integer
  15218. qty:
  15219. description: 数量
  15220. type: string
  15221. remark:
  15222. description: 备注
  15223. type: string
  15224. sessionid:
  15225. description: 会话ID
  15226. type: integer
  15227. timemaxvalue:
  15228. description: 配置单次最大转入限制
  15229. type: number
  15230. timemaxvalue2:
  15231. description: 配置单次最大转入限制(转入)
  15232. type: number
  15233. timeminvalue:
  15234. description: 配置单次最小数量限制
  15235. type: number
  15236. timeminvalue2:
  15237. description: 配置单次最小数量限制(转入)
  15238. type: number
  15239. tradedate:
  15240. description: 交易日(yyyyMMdd)
  15241. type: string
  15242. userid:
  15243. description: 用户ID
  15244. type: integer
  15245. required:
  15246. - logid
  15247. type: object
  15248. szdz.QueryGoodsPickupRsp:
  15249. properties:
  15250. accountid:
  15251. description: 账户ID
  15252. type: integer
  15253. address:
  15254. description: 提货人详细地址
  15255. type: string
  15256. auditer:
  15257. description: 审核人
  15258. type: integer
  15259. audittime:
  15260. description: 审核时间
  15261. type: string
  15262. cardnum:
  15263. description: 提货人证件号码
  15264. type: string
  15265. cardtypeid:
  15266. description: 提货人证件类型
  15267. type: integer
  15268. checkremark:
  15269. description: 审核备注
  15270. type: string
  15271. goodscode:
  15272. description: 商品代码
  15273. type: string
  15274. goodsid:
  15275. description: 商品ID
  15276. type: integer
  15277. goodsname:
  15278. description: 商品名称
  15279. type: string
  15280. handlestatus:
  15281. description: 处理状态
  15282. type: integer
  15283. marketid:
  15284. description: 市场ID
  15285. type: integer
  15286. phonenum:
  15287. description: 提货人联系方式
  15288. type: string
  15289. qty:
  15290. description: 提货数量
  15291. type: number
  15292. recivername:
  15293. description: 提货人姓名
  15294. type: string
  15295. reqtime:
  15296. description: 更新时间
  15297. type: string
  15298. takemode:
  15299. description: 提货方式 - 2:自提 3:配送
  15300. type: integer
  15301. takeorderid:
  15302. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15303. type: string
  15304. takeorderstatus:
  15305. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15306. type: integer
  15307. takeremark:
  15308. description: 提货备注
  15309. type: string
  15310. tradedate:
  15311. description: 交易日(yyyyMMdd)
  15312. type: string
  15313. userid:
  15314. description: 用户ID
  15315. type: integer
  15316. required:
  15317. - takeorderid
  15318. type: object
  15319. szdz.QueryRecieptOrderRsp:
  15320. properties:
  15321. accountName:
  15322. description: 所属账号名称(已脱敏)
  15323. type: string
  15324. accountid:
  15325. description: 资金账号
  15326. type: integer
  15327. buyorsell:
  15328. description: 方向 - 0:买 1:卖
  15329. type: integer
  15330. enableqty:
  15331. description: 可摘数量
  15332. type: integer
  15333. goodscode:
  15334. description: 商品代码
  15335. type: string
  15336. goodsid:
  15337. description: 商品ID
  15338. type: integer
  15339. goodsname:
  15340. description: 商品名称
  15341. type: string
  15342. orderid:
  15343. description: 委托单号
  15344. type: string
  15345. orderprice:
  15346. description: 委托价格
  15347. type: number
  15348. ordertime:
  15349. description: 委托时间
  15350. type: string
  15351. tradedate:
  15352. description: 交易日(yyyyMMdd)
  15353. type: string
  15354. required:
  15355. - ordertime
  15356. type: object
  15357. szdz.QuerySZDZTradePositionRsp:
  15358. properties:
  15359. accountid:
  15360. description: 账号Id
  15361. type: integer
  15362. agreeunit:
  15363. description: 合约单位
  15364. type: number
  15365. averageprice:
  15366. description: 持仓均价
  15367. type: number
  15368. buyorsell:
  15369. description: 方向 - 0:买 1:卖
  15370. type: integer
  15371. closetotalqty:
  15372. description: 平仓总数量
  15373. type: integer
  15374. curholderamount:
  15375. description: 当前持仓总金额
  15376. type: number
  15377. curpositionqty:
  15378. description: 当前持仓总数量
  15379. type: integer
  15380. currencyid:
  15381. description: 报价货币ID
  15382. type: integer
  15383. curtdposition:
  15384. description: 期末今日头寸
  15385. type: integer
  15386. decimalplace:
  15387. description: 报价小数位
  15388. type: integer
  15389. enableqty:
  15390. description: 可用量
  15391. type: integer
  15392. fretdposition:
  15393. description: 冻结今日头寸
  15394. type: integer
  15395. frozenqty:
  15396. description: 持仓冻结数量
  15397. type: integer
  15398. goodscode:
  15399. description: 商品代码(内部)
  15400. type: string
  15401. goodsid:
  15402. description: 商品Id
  15403. type: integer
  15404. goodsname:
  15405. description: 商品名称
  15406. type: string
  15407. goodunit:
  15408. description: 报价单位
  15409. type: string
  15410. goodunitid:
  15411. description: 报价单位ID
  15412. type: integer
  15413. holderamount:
  15414. description: 期初持仓总金额
  15415. type: number
  15416. marketid:
  15417. description: 市场ID
  15418. type: integer
  15419. openreqqty:
  15420. description: 开仓申请数量
  15421. type: integer
  15422. opentotalqty:
  15423. description: 开仓总数量
  15424. type: integer
  15425. otherfrozenqty:
  15426. description: 持仓其他冻结数量(交割冻结)
  15427. type: integer
  15428. positionqty:
  15429. description: 期初持仓数量
  15430. type: integer
  15431. szdz3freezqty:
  15432. description: 尚志大宗转换冻结总数量
  15433. type: integer
  15434. tnqty:
  15435. description: T+N冻结总量
  15436. type: integer
  15437. tnusedqty:
  15438. description: T+N使用量
  15439. type: integer
  15440. trademode:
  15441. description: 交易模式
  15442. type: integer
  15443. usedmargin:
  15444. description: 占用保证金
  15445. type: number
  15446. type: object
  15447. taaccount.QueryAmountLogRsp:
  15448. properties:
  15449. OPERATETYPENAME:
  15450. description: 资金操作类型名称
  15451. type: string
  15452. accountid:
  15453. description: 资金账户ID
  15454. type: integer
  15455. agoodscode:
  15456. description: 竞拍商品代码
  15457. type: string
  15458. agoodsname:
  15459. description: 竞拍商品名称
  15460. type: string
  15461. amount:
  15462. description: 资金金额
  15463. type: number
  15464. amountadjusttype:
  15465. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15466. type: integer
  15467. autoid:
  15468. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15469. type: integer
  15470. balance:
  15471. description: 期初余额
  15472. type: number
  15473. businesscode:
  15474. description: 业务编号
  15475. type: integer
  15476. createtime:
  15477. description: 发生时间
  15478. type: string
  15479. currencyid:
  15480. description: 币种ID
  15481. type: integer
  15482. currentbalance:
  15483. description: 期末余额(变动后金额)
  15484. type: number
  15485. dgoodscode:
  15486. description: 交割商品代码
  15487. type: string
  15488. dgoodsname:
  15489. description: 交割商品名称
  15490. type: string
  15491. goodscode:
  15492. description: 商品代码
  15493. type: string
  15494. goodsid:
  15495. description: 商品ID
  15496. type: integer
  15497. goodsname:
  15498. description: 商品名称
  15499. type: string
  15500. marketid:
  15501. description: 市场ID
  15502. type: integer
  15503. marketname:
  15504. description: 市场名称
  15505. type: string
  15506. moneyticket:
  15507. description: 资金流水号:银行端流水号
  15508. type: integer
  15509. operatetype:
  15510. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15511. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15512. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15513. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15514. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15515. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15516. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15517. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15518. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15519. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15520. type: integer
  15521. relationorderid:
  15522. description: 关联单号
  15523. type: string
  15524. remark:
  15525. description: 备注
  15526. type: string
  15527. trademode:
  15528. description: 交易模式
  15529. type: integer
  15530. required:
  15531. - accountid
  15532. - amount
  15533. - amountadjusttype
  15534. - autoid
  15535. - balance
  15536. - createtime
  15537. - currentbalance
  15538. - operatetype
  15539. type: object
  15540. taaccount.QueryHisAmountLogRsp:
  15541. properties:
  15542. OPERATETYPENAME:
  15543. description: 资金操作类型名称
  15544. type: string
  15545. accountid:
  15546. description: 资金账户ID
  15547. type: integer
  15548. agoodscode:
  15549. description: 竞拍商品代码
  15550. type: string
  15551. agoodsname:
  15552. description: 竞拍商品名称
  15553. type: string
  15554. amount:
  15555. description: 资金金额
  15556. type: number
  15557. amountadjusttype:
  15558. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15559. type: integer
  15560. autoid:
  15561. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15562. type: integer
  15563. balance:
  15564. description: 期初余额
  15565. type: number
  15566. businesscode:
  15567. description: 业务编号
  15568. type: integer
  15569. createtime:
  15570. description: 发生时间
  15571. type: string
  15572. currencyid:
  15573. description: 币种ID
  15574. type: integer
  15575. currentbalance:
  15576. description: 期末余额(变动后金额)
  15577. type: number
  15578. dgoodscode:
  15579. description: 交割商品代码
  15580. type: string
  15581. dgoodsname:
  15582. description: 交割商品名称
  15583. type: string
  15584. goodscode:
  15585. description: 商品代码
  15586. type: string
  15587. goodsid:
  15588. description: 商品ID
  15589. type: integer
  15590. goodsname:
  15591. description: 商品名称
  15592. type: string
  15593. histradedate:
  15594. description: 历史交易日
  15595. type: string
  15596. isvaliddata:
  15597. description: 是否有效 - 0:无效 1:有效
  15598. type: integer
  15599. marketid:
  15600. description: 市场ID
  15601. type: integer
  15602. marketname:
  15603. description: 市场名称
  15604. type: string
  15605. moneyticket:
  15606. description: 资金流水号:银行端流水号
  15607. type: integer
  15608. operatetype:
  15609. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15610. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15611. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15612. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15613. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15614. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15615. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15616. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15617. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15618. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15619. type: integer
  15620. relationorderid:
  15621. description: 关联单号
  15622. type: string
  15623. remark:
  15624. description: 备注
  15625. type: string
  15626. trademode:
  15627. description: 交易模式
  15628. type: integer
  15629. required:
  15630. - accountid
  15631. - amount
  15632. - amountadjusttype
  15633. - autoid
  15634. - balance
  15635. - createtime
  15636. - currentbalance
  15637. - histradedate
  15638. - operatetype
  15639. type: object
  15640. trade.QueryRecieptOrderRsp:
  15641. properties:
  15642. accountName:
  15643. description: 所属账号名称(已脱敏)
  15644. type: string
  15645. accountid:
  15646. description: 资金账号
  15647. type: integer
  15648. buyorsell:
  15649. description: 方向 - 0:买 1:卖
  15650. type: integer
  15651. enableqty:
  15652. description: 可摘数量
  15653. type: integer
  15654. goodscode:
  15655. description: 商品代码
  15656. type: string
  15657. goodsid:
  15658. description: 商品ID
  15659. type: integer
  15660. goodsname:
  15661. description: 商品名称
  15662. type: string
  15663. orderid:
  15664. description: 委托单号
  15665. type: string
  15666. orderprice:
  15667. description: 委托价格
  15668. type: number
  15669. ordertime:
  15670. description: 委托时间
  15671. type: string
  15672. tradedate:
  15673. description: 交易日(yyyyMMdd)
  15674. type: string
  15675. required:
  15676. - ordertime
  15677. type: object
  15678. user.LoginQueryRsp:
  15679. properties:
  15680. areaRoles:
  15681. description: 所属角色信息
  15682. items:
  15683. $ref: '#/definitions/models.Arearole'
  15684. type: array
  15685. externalExchanges:
  15686. description: 外部交易所
  15687. items:
  15688. $ref: '#/definitions/models.Externalexchange'
  15689. type: array
  15690. goodsgroups:
  15691. description: 商品组
  15692. items:
  15693. $ref: '#/definitions/models.Goodsgroup'
  15694. type: array
  15695. loginAccount:
  15696. $ref: '#/definitions/models.Loginaccount'
  15697. description: 登录账号
  15698. type: object
  15699. markets:
  15700. description: 市场
  15701. items:
  15702. $ref: '#/definitions/models.Market'
  15703. type: array
  15704. systemParams:
  15705. description: 系统参数
  15706. items:
  15707. $ref: '#/definitions/models.Systemparam'
  15708. type: array
  15709. userAccount:
  15710. $ref: '#/definitions/models.Useraccount'
  15711. description: 用户账号
  15712. type: object
  15713. userInfo:
  15714. $ref: '#/definitions/models.Userinfo'
  15715. description: 用户信息
  15716. type: object
  15717. username:
  15718. description: 用户姓名
  15719. type: string
  15720. type: object
  15721. info:
  15722. contact: {}
  15723. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  15724. license: {}
  15725. termsOfService: http://www.muchinfo.cn
  15726. title: MTP2.0 查询服务 API
  15727. version: "1.0"
  15728. paths:
  15729. /CPTrade/QueryCPTradeMyBidInfos:
  15730. get:
  15731. parameters:
  15732. - description: 资金账户
  15733. in: query
  15734. name: accountid
  15735. required: true
  15736. type: integer
  15737. - description: 预售市场ID
  15738. in: query
  15739. name: marketid
  15740. type: integer
  15741. - description: 预售商品ID
  15742. in: query
  15743. name: goodsid
  15744. type: integer
  15745. produces:
  15746. - application/json
  15747. responses:
  15748. "200":
  15749. description: OK
  15750. schema:
  15751. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  15752. "500":
  15753. description: Internal Server Error
  15754. schema:
  15755. $ref: '#/definitions/app.Response'
  15756. security:
  15757. - ApiKeyAuth: []
  15758. summary: 查询产能预售我的出价信息
  15759. tags:
  15760. - 产能预售
  15761. /CPTrade/QueryCPTradeOrderDetail:
  15762. get:
  15763. parameters:
  15764. - description: 预售商品ID
  15765. in: query
  15766. name: goodsid
  15767. type: integer
  15768. - description: 预售市场ID
  15769. in: query
  15770. name: marketid
  15771. type: integer
  15772. - description: 预售商品ID列表 - 格式:1,2,3
  15773. in: query
  15774. name: goodsids
  15775. type: string
  15776. produces:
  15777. - application/json
  15778. responses:
  15779. "200":
  15780. description: OK
  15781. schema:
  15782. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  15783. "500":
  15784. description: Internal Server Error
  15785. schema:
  15786. $ref: '#/definitions/app.Response'
  15787. security:
  15788. - ApiKeyAuth: []
  15789. summary: 查询产能预售委托单信息
  15790. tags:
  15791. - 产能预售
  15792. /CPTrade/QueryMyCPTradeGoods:
  15793. get:
  15794. parameters:
  15795. - description: 资金账户
  15796. in: query
  15797. name: accountid
  15798. required: true
  15799. type: integer
  15800. produces:
  15801. - application/json
  15802. responses:
  15803. "200":
  15804. description: OK
  15805. schema:
  15806. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  15807. "500":
  15808. description: Internal Server Error
  15809. schema:
  15810. $ref: '#/definitions/app.Response'
  15811. security:
  15812. - ApiKeyAuth: []
  15813. summary: 查询我的预售信息
  15814. tags:
  15815. - 产能预售
  15816. /CPTrade/QueryPositionCancel:
  15817. get:
  15818. parameters:
  15819. - description: 账户ID
  15820. in: query
  15821. name: userid
  15822. required: true
  15823. type: integer
  15824. - description: 注销ID
  15825. in: query
  15826. name: cancelid
  15827. type: integer
  15828. - description: 资金账户ID
  15829. in: query
  15830. name: accountid
  15831. type: integer
  15832. produces:
  15833. - application/json
  15834. responses:
  15835. "200":
  15836. description: OK
  15837. schema:
  15838. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  15839. "500":
  15840. description: Internal Server Error
  15841. schema:
  15842. $ref: '#/definitions/app.Response'
  15843. security:
  15844. - ApiKeyAuth: []
  15845. summary: 查询远期订单注销申请信息
  15846. tags:
  15847. - 产能预售
  15848. /CPTrade/QueryPreasleApply:
  15849. get:
  15850. parameters:
  15851. - description: 账户ID
  15852. in: query
  15853. name: userid
  15854. required: true
  15855. type: integer
  15856. - description: 申请ID
  15857. in: query
  15858. name: applyid
  15859. type: integer
  15860. - description: 资金账户ID
  15861. in: query
  15862. name: accountid
  15863. type: integer
  15864. produces:
  15865. - application/json
  15866. responses:
  15867. "200":
  15868. description: OK
  15869. schema:
  15870. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15871. "500":
  15872. description: Internal Server Error
  15873. schema:
  15874. $ref: '#/definitions/app.Response'
  15875. security:
  15876. - ApiKeyAuth: []
  15877. summary: 查询产能预售申请信息
  15878. tags:
  15879. - 产能预售
  15880. /CPTrade/QueryPresaleGoodsEx:
  15881. get:
  15882. parameters:
  15883. - description: 预售商品ID
  15884. in: query
  15885. name: goodsid
  15886. type: integer
  15887. - description: 预售市场ID
  15888. in: query
  15889. name: marketid
  15890. type: integer
  15891. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15892. in: query
  15893. name: presalemode
  15894. type: integer
  15895. - description: 预售商品ID列表 - 格式:1,2,3
  15896. in: query
  15897. name: goodsids
  15898. type: string
  15899. - description: 预售商品代码
  15900. in: query
  15901. name: goodscode
  15902. type: string
  15903. produces:
  15904. - application/json
  15905. responses:
  15906. "200":
  15907. description: OK
  15908. schema:
  15909. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  15910. "500":
  15911. description: Internal Server Error
  15912. schema:
  15913. $ref: '#/definitions/app.Response'
  15914. security:
  15915. - ApiKeyAuth: []
  15916. summary: 查询产能预售商品扩展信息
  15917. tags:
  15918. - 产能预售
  15919. /CPTrade/QueryUserGoodsData:
  15920. get:
  15921. parameters:
  15922. - description: 资金账户ID
  15923. in: query
  15924. name: accountid
  15925. required: true
  15926. type: integer
  15927. produces:
  15928. - application/json
  15929. responses:
  15930. "200":
  15931. description: OK
  15932. schema:
  15933. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15934. "500":
  15935. description: Internal Server Error
  15936. schema:
  15937. $ref: '#/definitions/app.Response'
  15938. security:
  15939. - ApiKeyAuth: []
  15940. summary: 查询远期订单信息
  15941. tags:
  15942. - 产能预售
  15943. /Common/GetAllEnums:
  15944. get:
  15945. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15946. parameters:
  15947. - description: 起始自增ID
  15948. in: query
  15949. name: autoid
  15950. type: integer
  15951. produces:
  15952. - application/json
  15953. responses:
  15954. "200":
  15955. description: OK
  15956. schema:
  15957. $ref: '#/definitions/models.Enumdicitem'
  15958. "500":
  15959. description: Internal Server Error
  15960. schema:
  15961. $ref: '#/definitions/app.Response'
  15962. summary: 获取所有枚举信息
  15963. tags:
  15964. - 通用服务
  15965. /Common/GetClientMenus:
  15966. get:
  15967. parameters:
  15968. - description: 登录账号
  15969. in: query
  15970. name: loginID
  15971. required: true
  15972. type: integer
  15973. - description: 终端类型,0:PC 1:Mobile
  15974. in: query
  15975. name: clientType
  15976. type: integer
  15977. produces:
  15978. - application/json
  15979. responses:
  15980. "200":
  15981. description: OK
  15982. schema:
  15983. items:
  15984. $ref: '#/definitions/common.ClientMenu'
  15985. type: array
  15986. "500":
  15987. description: Internal Server Error
  15988. schema:
  15989. $ref: '#/definitions/app.Response'
  15990. security:
  15991. - ApiKeyAuth: []
  15992. summary: 获取交易端菜单
  15993. tags:
  15994. - 通用服务
  15995. /Common/GetDivisions:
  15996. get:
  15997. produces:
  15998. - application/json
  15999. responses:
  16000. "200":
  16001. description: OK
  16002. schema:
  16003. $ref: '#/definitions/models.Division'
  16004. "500":
  16005. description: Internal Server Error
  16006. schema:
  16007. $ref: '#/definitions/app.Response'
  16008. summary: 查询区域信息
  16009. tags:
  16010. - 通用服务
  16011. /Common/GetServerTime:
  16012. get:
  16013. produces:
  16014. - application/json
  16015. responses:
  16016. "200":
  16017. description: OK
  16018. schema:
  16019. $ref: '#/definitions/app.Response'
  16020. "500":
  16021. description: Internal Server Error
  16022. schema:
  16023. $ref: '#/definitions/app.Response'
  16024. summary: 获取服务器时间
  16025. tags:
  16026. - 通用服务
  16027. /Common/NoticeReaded:
  16028. post:
  16029. parameters:
  16030. - description: 登录账号
  16031. in: query
  16032. name: loginID
  16033. required: true
  16034. type: integer
  16035. - description: 通知公告ID
  16036. in: query
  16037. name: noticeID
  16038. required: true
  16039. type: integer
  16040. produces:
  16041. - application/json
  16042. responses:
  16043. "200":
  16044. description: OK
  16045. schema:
  16046. $ref: '#/definitions/app.Response'
  16047. "500":
  16048. description: Internal Server Error
  16049. schema:
  16050. $ref: '#/definitions/app.Response'
  16051. security:
  16052. - ApiKeyAuth: []
  16053. summary: 通知公告设置已读请求
  16054. tags:
  16055. - 通用服务
  16056. /Common/QueryErrorInfos:
  16057. get:
  16058. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16059. parameters:
  16060. - description: 起始行号前索引
  16061. in: query
  16062. name: rowNumber
  16063. type: string
  16064. produces:
  16065. - application/json
  16066. responses:
  16067. "200":
  16068. description: OK
  16069. schema:
  16070. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16071. "500":
  16072. description: Internal Server Error
  16073. schema:
  16074. $ref: '#/definitions/app.Response'
  16075. summary: 获取数据库错误信息
  16076. tags:
  16077. - 通用服务
  16078. /Common/QueryImageConfigs:
  16079. get:
  16080. parameters:
  16081. - description: 用户id
  16082. in: query
  16083. name: userId
  16084. type: integer
  16085. - description: 类型 - 1:App首页轮播 2:我的
  16086. in: query
  16087. name: imageType
  16088. type: integer
  16089. produces:
  16090. - application/json
  16091. responses:
  16092. "200":
  16093. description: OK
  16094. schema:
  16095. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16096. "500":
  16097. description: Internal Server Error
  16098. schema:
  16099. $ref: '#/definitions/app.Response'
  16100. summary: 查询轮播图配置信息
  16101. tags:
  16102. - 通用服务
  16103. /Common/QueryNotice:
  16104. get:
  16105. parameters:
  16106. - description: 页码
  16107. in: query
  16108. name: page
  16109. type: integer
  16110. - description: 每页条数
  16111. in: query
  16112. name: pagesize
  16113. type: integer
  16114. - description: 登录账号
  16115. in: query
  16116. name: loginID
  16117. required: true
  16118. type: integer
  16119. - description: 消息类型 - 1:公告通知 2:系统消息
  16120. in: query
  16121. name: msgType
  16122. type: integer
  16123. - description: 是否只获取未读信息
  16124. in: query
  16125. name: onlyUnRead
  16126. type: boolean
  16127. - description: 自增ID,传入后会返回这个ID后面的记录
  16128. in: query
  16129. name: lastID
  16130. type: integer
  16131. produces:
  16132. - application/json
  16133. responses:
  16134. "200":
  16135. description: OK
  16136. schema:
  16137. $ref: '#/definitions/common.QueryNoticeRsp'
  16138. "500":
  16139. description: Internal Server Error
  16140. schema:
  16141. $ref: '#/definitions/app.Response'
  16142. security:
  16143. - ApiKeyAuth: []
  16144. summary: 通知公告系统消息查询
  16145. tags:
  16146. - 通用服务
  16147. /Common/QueryProvincesAndCities:
  16148. get:
  16149. parameters:
  16150. - description: 省ID
  16151. in: query
  16152. name: provinceID
  16153. type: integer
  16154. produces:
  16155. - application/json
  16156. responses:
  16157. "200":
  16158. description: OK
  16159. schema:
  16160. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16161. "500":
  16162. description: Internal Server Error
  16163. schema:
  16164. $ref: '#/definitions/app.Response'
  16165. summary: 查询省市信息(不包括区)
  16166. tags:
  16167. - 通用服务
  16168. /Common/QueryTableDefine:
  16169. get:
  16170. parameters:
  16171. - description: 表key
  16172. in: query
  16173. name: tableKey
  16174. type: string
  16175. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16176. in: query
  16177. name: tableType
  16178. type: integer
  16179. produces:
  16180. - application/json
  16181. responses:
  16182. "200":
  16183. description: OK
  16184. schema:
  16185. $ref: '#/definitions/common.QueryTableDefineRsp'
  16186. "500":
  16187. description: Internal Server Error
  16188. schema:
  16189. $ref: '#/definitions/app.Response'
  16190. summary: 查询交易端列表头信息
  16191. tags:
  16192. - 通用服务
  16193. /Common/QueryTraderMenu:
  16194. get:
  16195. parameters:
  16196. - description: 登录账号
  16197. in: query
  16198. name: loginid
  16199. required: true
  16200. type: integer
  16201. produces:
  16202. - application/json
  16203. responses:
  16204. "200":
  16205. description: OK
  16206. schema:
  16207. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16208. "500":
  16209. description: Internal Server Error
  16210. schema:
  16211. $ref: '#/definitions/app.Response'
  16212. summary: 查询交易端菜单
  16213. tags:
  16214. - 通用服务
  16215. /Delivery/QueryDeliveryRelation:
  16216. get:
  16217. parameters:
  16218. - description: 商品ID
  16219. in: query
  16220. name: goodsid
  16221. type: integer
  16222. - description: 品种ID
  16223. in: query
  16224. name: deliverygoodsid
  16225. type: integer
  16226. - description: 市场ID
  16227. in: query
  16228. name: marketid
  16229. type: integer
  16230. produces:
  16231. - application/json
  16232. responses:
  16233. "200":
  16234. description: OK
  16235. schema:
  16236. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16237. "500":
  16238. description: Internal Server Error
  16239. schema:
  16240. $ref: '#/definitions/app.Response'
  16241. security:
  16242. - ApiKeyAuth: []
  16243. summary: 查询商品交割关系表
  16244. tags:
  16245. - 交割服务
  16246. /Ermcp/GetErmcpGoods:
  16247. get:
  16248. parameters:
  16249. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16250. in: query
  16251. name: lastUpdateTime
  16252. type: string
  16253. produces:
  16254. - application/json
  16255. responses:
  16256. "200":
  16257. description: OK
  16258. schema:
  16259. $ref: '#/definitions/models.ErmcpGoods'
  16260. "500":
  16261. description: Internal Server Error
  16262. schema:
  16263. $ref: '#/definitions/app.Response'
  16264. security:
  16265. - ApiKeyAuth: []
  16266. summary: 查询企业风管期货商品信息
  16267. tags:
  16268. - 企业风险管理(app)
  16269. /Ermcp/GetErmcpGoodsSortByPosition:
  16270. get:
  16271. parameters:
  16272. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16273. in: query
  16274. name: sortIndex
  16275. type: string
  16276. produces:
  16277. - application/json
  16278. responses:
  16279. "200":
  16280. description: OK
  16281. schema:
  16282. $ref: '#/definitions/models.Goodssortbypreposition'
  16283. "500":
  16284. description: Internal Server Error
  16285. schema:
  16286. $ref: '#/definitions/app.Response'
  16287. security:
  16288. - ApiKeyAuth: []
  16289. summary: 查询企业风管期货主力、次主力商品信息
  16290. tags:
  16291. - 企业风险管理(app)
  16292. /Ermcp/GetErmcpOutAccountStatus:
  16293. get:
  16294. parameters:
  16295. - description: 登录账号
  16296. in: query
  16297. name: loginID
  16298. required: true
  16299. type: integer
  16300. produces:
  16301. - application/json
  16302. responses:
  16303. "200":
  16304. description: OK
  16305. schema:
  16306. $ref: '#/definitions/models.Hedgemarketopenlog'
  16307. "500":
  16308. description: Internal Server Error
  16309. schema:
  16310. $ref: '#/definitions/app.Response'
  16311. security:
  16312. - ApiKeyAuth: []
  16313. summary: 获取目标登录账号当前对冲账号在线状态
  16314. tags:
  16315. - 企业风险管理(app)
  16316. /Ermcp/GetErmcpRoleFuncMenuLists:
  16317. get:
  16318. parameters:
  16319. - description: 登录账号
  16320. in: query
  16321. name: loginID
  16322. required: true
  16323. type: integer
  16324. produces:
  16325. - application/json
  16326. responses:
  16327. "200":
  16328. description: OK
  16329. schema:
  16330. $ref: '#/definitions/models.Funcmenulist'
  16331. "500":
  16332. description: Internal Server Error
  16333. schema:
  16334. $ref: '#/definitions/app.Response'
  16335. security:
  16336. - ApiKeyAuth: []
  16337. summary: 获取企业风管终端权限
  16338. tags:
  16339. - 企业风险管理(app)
  16340. /Ermcp/QueryAccMgrBizGroupSet:
  16341. get:
  16342. parameters:
  16343. - description: 用户ID
  16344. in: query
  16345. name: userid
  16346. required: true
  16347. type: integer
  16348. - description: 现货商品id
  16349. in: query
  16350. name: deliverygoodsid
  16351. type: integer
  16352. produces:
  16353. - application/json
  16354. responses:
  16355. "200":
  16356. description: OK
  16357. schema:
  16358. items:
  16359. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16360. type: array
  16361. "500":
  16362. description: Internal Server Error
  16363. schema:
  16364. $ref: '#/definitions/app.Response'
  16365. security:
  16366. - ApiKeyAuth: []
  16367. summary: 查询业务类型分组(账户管理/账户设置)
  16368. tags:
  16369. - 企业风险管理(app)
  16370. /Ermcp/QueryAccMgrLoginUser:
  16371. get:
  16372. parameters:
  16373. - description: 用户ID
  16374. in: query
  16375. name: userid
  16376. required: true
  16377. type: integer
  16378. - description: 用户类型 2-机构 7-企业成员
  16379. in: query
  16380. name: usertype
  16381. type: integer
  16382. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16383. in: query
  16384. name: querytype
  16385. required: true
  16386. type: integer
  16387. produces:
  16388. - application/json
  16389. responses:
  16390. "200":
  16391. description: OK
  16392. schema:
  16393. items:
  16394. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16395. type: array
  16396. "500":
  16397. description: Internal Server Error
  16398. schema:
  16399. $ref: '#/definitions/app.Response'
  16400. security:
  16401. - ApiKeyAuth: []
  16402. summary: 查询账户管理登录账号(账户管理/登录账号)
  16403. tags:
  16404. - 企业风险管理(app)
  16405. /Ermcp/QueryAccMgrMainAccountInfo:
  16406. get:
  16407. parameters:
  16408. - description: 用户ID
  16409. in: query
  16410. name: userid
  16411. type: integer
  16412. - description: 主账号id
  16413. in: query
  16414. name: accountid
  16415. type: integer
  16416. produces:
  16417. - application/json
  16418. responses:
  16419. "200":
  16420. description: OK
  16421. schema:
  16422. items:
  16423. $ref: '#/definitions/models.MainAccountInfo'
  16424. type: array
  16425. "500":
  16426. description: Internal Server Error
  16427. schema:
  16428. $ref: '#/definitions/app.Response'
  16429. security:
  16430. - ApiKeyAuth: []
  16431. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16432. tags:
  16433. - 企业风险管理(app)
  16434. /Ermcp/QueryAccMgrRole:
  16435. get:
  16436. parameters:
  16437. - description: 用户ID
  16438. in: query
  16439. name: userid
  16440. required: true
  16441. type: integer
  16442. produces:
  16443. - application/json
  16444. responses:
  16445. "200":
  16446. description: OK
  16447. schema:
  16448. items:
  16449. $ref: '#/definitions/models.ErmcpRole'
  16450. type: array
  16451. "500":
  16452. description: Internal Server Error
  16453. schema:
  16454. $ref: '#/definitions/app.Response'
  16455. security:
  16456. - ApiKeyAuth: []
  16457. summary: 查询账户管理角色设置(账户管理/角色设置)
  16458. tags:
  16459. - 企业风险管理(app)
  16460. /Ermcp/QueryAccMgrRoleMenu:
  16461. get:
  16462. parameters:
  16463. - description: 用户ID
  16464. in: query
  16465. name: userid
  16466. required: true
  16467. type: integer
  16468. - description: 角色id(可多个,逗号隔开)
  16469. in: query
  16470. name: roleid
  16471. type: string
  16472. produces:
  16473. - application/json
  16474. responses:
  16475. "200":
  16476. description: OK
  16477. schema:
  16478. items:
  16479. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16480. type: array
  16481. "500":
  16482. description: Internal Server Error
  16483. schema:
  16484. $ref: '#/definitions/app.Response'
  16485. security:
  16486. - ApiKeyAuth: []
  16487. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16488. tags:
  16489. - 企业风险管理(app)
  16490. /Ermcp/QueryAccMgrTaAccountInfo:
  16491. get:
  16492. parameters:
  16493. - description: 用户ID
  16494. in: query
  16495. name: userid
  16496. required: true
  16497. type: integer
  16498. - description: 账号id
  16499. in: query
  16500. name: accountid
  16501. type: integer
  16502. produces:
  16503. - application/json
  16504. responses:
  16505. "200":
  16506. description: OK
  16507. schema:
  16508. items:
  16509. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16510. type: array
  16511. "500":
  16512. description: Internal Server Error
  16513. schema:
  16514. $ref: '#/definitions/app.Response'
  16515. security:
  16516. - ApiKeyAuth: []
  16517. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16518. tags:
  16519. - 企业风险管理(app)
  16520. /Ermcp/QueryAccMgrTaaccount:
  16521. get:
  16522. parameters:
  16523. - description: 用户ID
  16524. in: query
  16525. name: userid
  16526. required: true
  16527. type: integer
  16528. produces:
  16529. - application/json
  16530. responses:
  16531. "200":
  16532. description: OK
  16533. schema:
  16534. items:
  16535. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16536. type: array
  16537. "500":
  16538. description: Internal Server Error
  16539. schema:
  16540. $ref: '#/definitions/app.Response'
  16541. security:
  16542. - ApiKeyAuth: []
  16543. summary: 查询账户管理期货账号(账户管理/期货账号)
  16544. tags:
  16545. - 企业风险管理(app)
  16546. /Ermcp/QueryAvaildGoodsGroup:
  16547. get:
  16548. parameters:
  16549. - description: 所属机构ID
  16550. in: query
  16551. name: userid
  16552. required: true
  16553. type: integer
  16554. produces:
  16555. - application/json
  16556. responses:
  16557. "200":
  16558. description: OK
  16559. schema:
  16560. items:
  16561. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  16562. type: array
  16563. "500":
  16564. description: Internal Server Error
  16565. schema:
  16566. $ref: '#/definitions/app.Response'
  16567. security:
  16568. - ApiKeyAuth: []
  16569. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  16570. tags:
  16571. - 企业风险管理(app)
  16572. /Ermcp/QueryBusinessDj:
  16573. get:
  16574. parameters:
  16575. - description: 用户ID
  16576. in: query
  16577. name: UserId
  16578. required: true
  16579. type: integer
  16580. - description: 用户类型 2-机构 7-企业成员
  16581. in: query
  16582. name: usertype
  16583. type: integer
  16584. - description: 现货合同ID, 不填则查所有
  16585. in: query
  16586. name: relatedid
  16587. type: string
  16588. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16589. in: query
  16590. name: applystatus
  16591. type: string
  16592. produces:
  16593. - application/json
  16594. responses:
  16595. "200":
  16596. description: OK
  16597. schema:
  16598. items:
  16599. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  16600. type: array
  16601. "500":
  16602. description: Internal Server Error
  16603. schema:
  16604. $ref: '#/definitions/app.Response'
  16605. security:
  16606. - ApiKeyAuth: []
  16607. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  16608. tags:
  16609. - 企业风险管理(app)
  16610. /Ermcp/QueryBusinessFp:
  16611. get:
  16612. parameters:
  16613. - description: 用户ID
  16614. in: query
  16615. name: UserId
  16616. required: true
  16617. type: integer
  16618. - description: 用户类型 2-机构 7-企业成员
  16619. in: query
  16620. name: usertype
  16621. type: integer
  16622. - description: 现货合同ID, 不填则查所有
  16623. in: query
  16624. name: relatedid
  16625. type: string
  16626. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16627. in: query
  16628. name: applystatus
  16629. type: string
  16630. produces:
  16631. - application/json
  16632. responses:
  16633. "200":
  16634. description: OK
  16635. schema:
  16636. items:
  16637. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  16638. type: array
  16639. "500":
  16640. description: Internal Server Error
  16641. schema:
  16642. $ref: '#/definitions/app.Response'
  16643. security:
  16644. - ApiKeyAuth: []
  16645. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  16646. tags:
  16647. - 企业风险管理(app)
  16648. /Ermcp/QueryBusinessJs:
  16649. get:
  16650. parameters:
  16651. - description: 用户ID
  16652. in: query
  16653. name: UserId
  16654. required: true
  16655. type: integer
  16656. - description: 用户类型 2-机构 7-企业成员
  16657. in: query
  16658. name: usertype
  16659. type: integer
  16660. - description: 现货合同ID, 不填则查所有
  16661. in: query
  16662. name: relatedid
  16663. type: string
  16664. - description: 操作申请id
  16665. in: query
  16666. name: operateapplyid
  16667. type: string
  16668. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16669. in: query
  16670. name: applystatus
  16671. type: string
  16672. produces:
  16673. - application/json
  16674. responses:
  16675. "200":
  16676. description: OK
  16677. schema:
  16678. items:
  16679. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  16680. type: array
  16681. "500":
  16682. description: Internal Server Error
  16683. schema:
  16684. $ref: '#/definitions/app.Response'
  16685. security:
  16686. - ApiKeyAuth: []
  16687. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  16688. tags:
  16689. - 企业风险管理(app)
  16690. /Ermcp/QueryBusinessJsEx:
  16691. get:
  16692. parameters:
  16693. - description: 用户ID
  16694. in: query
  16695. name: UserId
  16696. required: true
  16697. type: integer
  16698. - description: 用户类型 2-机构 7-企业成员
  16699. in: query
  16700. name: usertype
  16701. type: integer
  16702. - description: 现货合同ID, 不填则查所有
  16703. in: query
  16704. name: relatedid
  16705. type: string
  16706. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16707. in: query
  16708. name: applystatus
  16709. type: string
  16710. produces:
  16711. - application/json
  16712. responses:
  16713. "200":
  16714. description: OK
  16715. schema:
  16716. items:
  16717. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  16718. type: array
  16719. "500":
  16720. description: Internal Server Error
  16721. schema:
  16722. $ref: '#/definitions/app.Response'
  16723. security:
  16724. - ApiKeyAuth: []
  16725. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  16726. tags:
  16727. - 企业风险管理(app)
  16728. /Ermcp/QueryBusinessKx:
  16729. get:
  16730. parameters:
  16731. - description: 用户ID
  16732. in: query
  16733. name: UserId
  16734. required: true
  16735. type: integer
  16736. - description: 用户类型 2-机构 7-企业成员
  16737. in: query
  16738. name: usertype
  16739. type: integer
  16740. - description: 现货合同ID, 不填则查所有
  16741. in: query
  16742. name: relatedid
  16743. type: string
  16744. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16745. in: query
  16746. name: applystatus
  16747. type: string
  16748. produces:
  16749. - application/json
  16750. responses:
  16751. "200":
  16752. description: OK
  16753. schema:
  16754. items:
  16755. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  16756. type: array
  16757. "500":
  16758. description: Internal Server Error
  16759. schema:
  16760. $ref: '#/definitions/app.Response'
  16761. security:
  16762. - ApiKeyAuth: []
  16763. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  16764. tags:
  16765. - 企业风险管理(app)
  16766. /Ermcp/QueryChangeLog:
  16767. get:
  16768. parameters:
  16769. - description: 合同ID
  16770. in: query
  16771. name: RelatedId
  16772. required: true
  16773. type: string
  16774. produces:
  16775. - application/json
  16776. responses:
  16777. "200":
  16778. description: OK
  16779. schema:
  16780. items:
  16781. $ref: '#/definitions/ermcp.QryOPLogRsp'
  16782. type: array
  16783. "500":
  16784. description: Internal Server Error
  16785. schema:
  16786. $ref: '#/definitions/app.Response'
  16787. security:
  16788. - ApiKeyAuth: []
  16789. summary: 查询变更记录
  16790. tags:
  16791. - 企业风险管理(app)
  16792. /Ermcp/QueryErmcpHisOrderDetails:
  16793. get:
  16794. parameters:
  16795. - description: 资金账户ID
  16796. in: query
  16797. name: accountID
  16798. required: true
  16799. type: integer
  16800. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16801. in: query
  16802. name: startDate
  16803. type: string
  16804. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16805. in: query
  16806. name: endDate
  16807. type: string
  16808. produces:
  16809. - application/json
  16810. responses:
  16811. "200":
  16812. description: OK
  16813. schema:
  16814. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16815. "500":
  16816. description: Internal Server Error
  16817. schema:
  16818. $ref: '#/definitions/app.Response'
  16819. security:
  16820. - ApiKeyAuth: []
  16821. summary: 获取企业风管期货历史委托单信息
  16822. tags:
  16823. - 企业风险管理(app)
  16824. /Ermcp/QueryErmcpHisTradeDetails:
  16825. get:
  16826. parameters:
  16827. - description: 资金账户ID
  16828. in: query
  16829. name: accountID
  16830. required: true
  16831. type: integer
  16832. - description: 商品ID
  16833. in: query
  16834. name: goodsID
  16835. type: integer
  16836. - description: 买卖方向,0:买 1:卖
  16837. in: query
  16838. name: buyOrSell
  16839. type: integer
  16840. - description: 关联委托单号
  16841. in: query
  16842. name: orderID
  16843. type: integer
  16844. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16845. in: query
  16846. name: startDate
  16847. type: string
  16848. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16849. in: query
  16850. name: endDate
  16851. type: string
  16852. produces:
  16853. - application/json
  16854. responses:
  16855. "200":
  16856. description: OK
  16857. schema:
  16858. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16859. "500":
  16860. description: Internal Server Error
  16861. schema:
  16862. $ref: '#/definitions/app.Response'
  16863. security:
  16864. - ApiKeyAuth: []
  16865. summary: 获取企业风管期货历史成交单信息
  16866. tags:
  16867. - 企业风险管理(app)
  16868. /Ermcp/QueryErmcpInnerHolderDetails:
  16869. get:
  16870. parameters:
  16871. - description: 资金账户ID
  16872. in: query
  16873. name: accountID
  16874. required: true
  16875. type: integer
  16876. - description: 商品ID
  16877. in: query
  16878. name: goodsID
  16879. type: integer
  16880. - description: 买卖方向,0:买 1:卖
  16881. in: query
  16882. name: buyOrSell
  16883. type: integer
  16884. produces:
  16885. - application/json
  16886. responses:
  16887. "200":
  16888. description: OK
  16889. schema:
  16890. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16891. "500":
  16892. description: Internal Server Error
  16893. schema:
  16894. $ref: '#/definitions/app.Response'
  16895. security:
  16896. - ApiKeyAuth: []
  16897. summary: 获取企业风管期货内部持仓单信息
  16898. tags:
  16899. - 企业风险管理(app)
  16900. /Ermcp/QueryErmcpOrderDetails:
  16901. get:
  16902. parameters:
  16903. - description: 资金账户ID
  16904. in: query
  16905. name: accountID
  16906. required: true
  16907. type: integer
  16908. produces:
  16909. - application/json
  16910. responses:
  16911. "200":
  16912. description: OK
  16913. schema:
  16914. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16915. "500":
  16916. description: Internal Server Error
  16917. schema:
  16918. $ref: '#/definitions/app.Response'
  16919. security:
  16920. - ApiKeyAuth: []
  16921. summary: 获取企业风管期货委托单信息
  16922. tags:
  16923. - 企业风险管理(app)
  16924. /Ermcp/QueryErmcpTradeDetails:
  16925. get:
  16926. parameters:
  16927. - description: 资金账户ID
  16928. in: query
  16929. name: accountID
  16930. required: true
  16931. type: integer
  16932. - description: 商品ID
  16933. in: query
  16934. name: goodsID
  16935. type: integer
  16936. - description: 买卖方向,0:买 1:卖
  16937. in: query
  16938. name: buyOrSell
  16939. type: integer
  16940. - description: 关联委托单号
  16941. in: query
  16942. name: orderID
  16943. type: integer
  16944. produces:
  16945. - application/json
  16946. responses:
  16947. "200":
  16948. description: OK
  16949. schema:
  16950. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16951. "500":
  16952. description: Internal Server Error
  16953. schema:
  16954. $ref: '#/definitions/app.Response'
  16955. security:
  16956. - ApiKeyAuth: []
  16957. summary: 获取企业风管期货成交单信息
  16958. tags:
  16959. - 企业风险管理(app)
  16960. /Ermcp/QueryErmcpTradePosition:
  16961. get:
  16962. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16963. parameters:
  16964. - description: 资金账户ID
  16965. in: query
  16966. name: accountID
  16967. required: true
  16968. type: integer
  16969. - description: 所属市场ID
  16970. in: query
  16971. name: marketID
  16972. type: integer
  16973. produces:
  16974. - application/json
  16975. responses:
  16976. "200":
  16977. description: OK
  16978. schema:
  16979. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16980. "500":
  16981. description: Internal Server Error
  16982. schema:
  16983. $ref: '#/definitions/app.Response'
  16984. security:
  16985. - ApiKeyAuth: []
  16986. summary: 获取企业风管期货持仓头寸信息
  16987. tags:
  16988. - 企业风险管理(app)
  16989. /Ermcp/QueryExposureDetail:
  16990. get:
  16991. parameters:
  16992. - description: 所属机构ID
  16993. in: query
  16994. name: areaUserId
  16995. required: true
  16996. type: integer
  16997. - description: 套保商品
  16998. in: query
  16999. name: middleGoodsId
  17000. required: true
  17001. type: integer
  17002. produces:
  17003. - application/json
  17004. responses:
  17005. "200":
  17006. description: OK
  17007. schema:
  17008. items:
  17009. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17010. type: array
  17011. "500":
  17012. description: Internal Server Error
  17013. schema:
  17014. $ref: '#/definitions/app.Response'
  17015. security:
  17016. - ApiKeyAuth: []
  17017. summary: 查询敞口现货明细
  17018. tags:
  17019. - 企业风险管理(app)
  17020. /Ermcp/QueryExposureGoods:
  17021. get:
  17022. parameters:
  17023. - description: 套保商品id
  17024. in: query
  17025. name: middlegoodsid
  17026. required: true
  17027. type: integer
  17028. produces:
  17029. - application/json
  17030. responses:
  17031. "200":
  17032. description: OK
  17033. schema:
  17034. items:
  17035. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17036. type: array
  17037. "500":
  17038. description: Internal Server Error
  17039. schema:
  17040. $ref: '#/definitions/app.Response'
  17041. security:
  17042. - ApiKeyAuth: []
  17043. summary: 查询敞口主力合约
  17044. tags:
  17045. - 企业风险管理(app)
  17046. /Ermcp/QueryExposureHedgePosition:
  17047. get:
  17048. parameters:
  17049. - description: 用户id
  17050. in: query
  17051. name: userid
  17052. required: true
  17053. type: integer
  17054. produces:
  17055. - application/json
  17056. responses:
  17057. "200":
  17058. description: OK
  17059. schema:
  17060. items:
  17061. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17062. type: array
  17063. "500":
  17064. description: Internal Server Error
  17065. schema:
  17066. $ref: '#/definitions/app.Response'
  17067. security:
  17068. - ApiKeyAuth: []
  17069. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17070. tags:
  17071. - 企业风险管理(app)
  17072. /Ermcp/QueryExposureHedgePositionDetail:
  17073. get:
  17074. parameters:
  17075. - description: 所属机构ID
  17076. in: query
  17077. name: userid
  17078. required: true
  17079. type: integer
  17080. - description: 商品id
  17081. in: query
  17082. name: goodsId
  17083. required: true
  17084. type: integer
  17085. produces:
  17086. - application/json
  17087. responses:
  17088. "200":
  17089. description: OK
  17090. schema:
  17091. items:
  17092. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17093. type: array
  17094. "500":
  17095. description: Internal Server Error
  17096. schema:
  17097. $ref: '#/definitions/app.Response'
  17098. security:
  17099. - ApiKeyAuth: []
  17100. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17101. tags:
  17102. - 企业风险管理(app)
  17103. /Ermcp/QueryExposureSpot:
  17104. get:
  17105. parameters:
  17106. - description: 所属机构ID
  17107. in: query
  17108. name: areaUserId
  17109. required: true
  17110. type: integer
  17111. produces:
  17112. - application/json
  17113. responses:
  17114. "200":
  17115. description: OK
  17116. schema:
  17117. items:
  17118. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17119. type: array
  17120. "500":
  17121. description: Internal Server Error
  17122. schema:
  17123. $ref: '#/definitions/app.Response'
  17124. security:
  17125. - ApiKeyAuth: []
  17126. summary: 查询敞口现货头寸(敞口/现货头寸)
  17127. tags:
  17128. - 企业风险管理(app)
  17129. /Ermcp/QueryExposureSpotDetail:
  17130. get:
  17131. parameters:
  17132. - description: 所属机构ID
  17133. in: query
  17134. name: areaUserId
  17135. required: true
  17136. type: integer
  17137. - description: 现货品种ID
  17138. in: query
  17139. name: wrstandardId
  17140. required: true
  17141. type: integer
  17142. produces:
  17143. - application/json
  17144. responses:
  17145. "200":
  17146. description: OK
  17147. schema:
  17148. items:
  17149. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17150. type: array
  17151. "500":
  17152. description: Internal Server Error
  17153. schema:
  17154. $ref: '#/definitions/app.Response'
  17155. security:
  17156. - ApiKeyAuth: []
  17157. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17158. tags:
  17159. - 企业风险管理(app)
  17160. /Ermcp/QueryFuturesCompany:
  17161. get:
  17162. produces:
  17163. - application/json
  17164. responses:
  17165. "200":
  17166. description: OK
  17167. schema:
  17168. items:
  17169. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17170. type: array
  17171. "500":
  17172. description: Internal Server Error
  17173. schema:
  17174. $ref: '#/definitions/app.Response'
  17175. security:
  17176. - ApiKeyAuth: []
  17177. summary: 查询期货公司
  17178. tags:
  17179. - 企业风险管理(app)
  17180. /Ermcp/QueryGGConvertConfig:
  17181. get:
  17182. parameters:
  17183. - description: 品种id(不填则查所有)
  17184. in: query
  17185. name: goodsgroupid
  17186. type: integer
  17187. produces:
  17188. - application/json
  17189. responses:
  17190. "200":
  17191. description: OK
  17192. schema:
  17193. items:
  17194. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17195. type: array
  17196. "500":
  17197. description: Internal Server Error
  17198. schema:
  17199. $ref: '#/definitions/app.Response'
  17200. security:
  17201. - ApiKeyAuth: []
  17202. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17203. tags:
  17204. - 企业风险管理(app)
  17205. /Ermcp/QueryGoodsBrand:
  17206. get:
  17207. parameters:
  17208. - description: 用户ID
  17209. in: query
  17210. name: userid
  17211. required: true
  17212. type: integer
  17213. - description: 现货商品ID
  17214. in: query
  17215. name: wrstandardid
  17216. type: integer
  17217. produces:
  17218. - application/json
  17219. responses:
  17220. "200":
  17221. description: OK
  17222. schema:
  17223. items:
  17224. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17225. type: array
  17226. "500":
  17227. description: Internal Server Error
  17228. schema:
  17229. $ref: '#/definitions/app.Response'
  17230. security:
  17231. - ApiKeyAuth: []
  17232. summary: 查询商品品牌
  17233. tags:
  17234. - 企业风险管理(app)
  17235. /Ermcp/QueryGoodsModel:
  17236. get:
  17237. parameters:
  17238. - description: 用户ID
  17239. in: query
  17240. name: userid
  17241. required: true
  17242. type: integer
  17243. produces:
  17244. - application/json
  17245. responses:
  17246. "200":
  17247. description: OK
  17248. schema:
  17249. items:
  17250. $ref: '#/definitions/models.ErmcpGoodsModel'
  17251. type: array
  17252. "500":
  17253. description: Internal Server Error
  17254. schema:
  17255. $ref: '#/definitions/app.Response'
  17256. security:
  17257. - ApiKeyAuth: []
  17258. summary: 查询商品型号
  17259. tags:
  17260. - 企业风险管理(app)
  17261. /Ermcp/QueryHisExposure:
  17262. get:
  17263. parameters:
  17264. - description: 用户id
  17265. in: query
  17266. name: userid
  17267. required: true
  17268. type: integer
  17269. - description: 每个品种记录数
  17270. in: query
  17271. name: lastNum
  17272. required: true
  17273. type: integer
  17274. produces:
  17275. - application/json
  17276. responses:
  17277. "200":
  17278. description: OK
  17279. schema:
  17280. items:
  17281. $ref: '#/definitions/ermcp.HisExposureRsp'
  17282. type: array
  17283. "500":
  17284. description: Internal Server Error
  17285. schema:
  17286. $ref: '#/definitions/app.Response'
  17287. security:
  17288. - ApiKeyAuth: []
  17289. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17290. tags:
  17291. - 企业风险管理(app)
  17292. /Ermcp/QueryMiddleGoods:
  17293. get:
  17294. parameters:
  17295. - description: 所属机构ID
  17296. in: query
  17297. name: userid
  17298. required: true
  17299. type: integer
  17300. - description: 状态 0-停用 1-正常
  17301. in: query
  17302. name: status
  17303. required: true
  17304. type: integer
  17305. produces:
  17306. - application/json
  17307. responses:
  17308. "200":
  17309. description: OK
  17310. schema:
  17311. items:
  17312. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17313. type: array
  17314. "500":
  17315. description: Internal Server Error
  17316. schema:
  17317. $ref: '#/definitions/app.Response'
  17318. security:
  17319. - ApiKeyAuth: []
  17320. summary: 查询套保品种(菜单:套保品种)
  17321. tags:
  17322. - 企业风险管理(app)
  17323. /Ermcp/QueryMiddleGoodsChangeLog:
  17324. get:
  17325. parameters:
  17326. - description: 所属机构ID
  17327. in: query
  17328. name: userid
  17329. required: true
  17330. type: integer
  17331. - description: 套保品种id
  17332. in: query
  17333. name: middlegoodsid
  17334. required: true
  17335. type: integer
  17336. produces:
  17337. - application/json
  17338. responses:
  17339. "200":
  17340. description: OK
  17341. schema:
  17342. items:
  17343. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17344. type: array
  17345. "500":
  17346. description: Internal Server Error
  17347. schema:
  17348. $ref: '#/definitions/app.Response'
  17349. security:
  17350. - ApiKeyAuth: []
  17351. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17352. tags:
  17353. - 企业风险管理(app)
  17354. /Ermcp/QueryMiddleGoodsDetail:
  17355. get:
  17356. parameters:
  17357. - description: 所属机构ID
  17358. in: query
  17359. name: userid
  17360. required: true
  17361. type: integer
  17362. - description: 套保品种id
  17363. in: query
  17364. name: middlegoodsid
  17365. type: integer
  17366. produces:
  17367. - application/json
  17368. responses:
  17369. "200":
  17370. description: OK
  17371. schema:
  17372. items:
  17373. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17374. type: array
  17375. "500":
  17376. description: Internal Server Error
  17377. schema:
  17378. $ref: '#/definitions/app.Response'
  17379. security:
  17380. - ApiKeyAuth: []
  17381. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17382. tags:
  17383. - 企业风险管理(app)
  17384. /Ermcp/QueryPendingAuditInfo:
  17385. get:
  17386. parameters:
  17387. - description: 用户ID
  17388. in: query
  17389. name: UserId
  17390. required: true
  17391. type: integer
  17392. produces:
  17393. - application/json
  17394. responses:
  17395. "200":
  17396. description: OK
  17397. schema:
  17398. items:
  17399. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17400. type: array
  17401. "500":
  17402. description: Internal Server Error
  17403. schema:
  17404. $ref: '#/definitions/app.Response'
  17405. security:
  17406. - ApiKeyAuth: []
  17407. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17408. tags:
  17409. - 企业风险管理(app)
  17410. /Ermcp/QueryRealtimeExposure:
  17411. get:
  17412. parameters:
  17413. - description: 所属机构ID
  17414. in: query
  17415. name: userid
  17416. required: true
  17417. type: integer
  17418. produces:
  17419. - application/json
  17420. responses:
  17421. "200":
  17422. description: OK
  17423. schema:
  17424. items:
  17425. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17426. type: array
  17427. "500":
  17428. description: Internal Server Error
  17429. schema:
  17430. $ref: '#/definitions/app.Response'
  17431. security:
  17432. - ApiKeyAuth: []
  17433. summary: 查询实时敞口
  17434. tags:
  17435. - 企业风险管理(app)
  17436. /Ermcp/QueryRealtimeExposurePosition:
  17437. get:
  17438. parameters:
  17439. - description: 用户id
  17440. in: query
  17441. name: userid
  17442. required: true
  17443. type: integer
  17444. - description: 套保商品ID
  17445. in: query
  17446. name: middleGoodsId
  17447. required: true
  17448. type: integer
  17449. produces:
  17450. - application/json
  17451. responses:
  17452. "200":
  17453. description: OK
  17454. schema:
  17455. items:
  17456. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17457. type: array
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. security:
  17463. - ApiKeyAuth: []
  17464. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17465. tags:
  17466. - 企业风险管理(app)
  17467. /Ermcp/QueryRoleMenu:
  17468. get:
  17469. parameters:
  17470. - description: 登录ID
  17471. in: query
  17472. name: loginid
  17473. required: true
  17474. type: integer
  17475. produces:
  17476. - application/json
  17477. responses:
  17478. "200":
  17479. description: OK
  17480. schema:
  17481. items:
  17482. $ref: '#/definitions/models.RoleMenu'
  17483. type: array
  17484. "500":
  17485. description: Internal Server Error
  17486. schema:
  17487. $ref: '#/definitions/app.Response'
  17488. security:
  17489. - ApiKeyAuth: []
  17490. summary: 查询角色菜单和权限
  17491. tags:
  17492. - 企业风险管理(app)
  17493. /Ermcp/QueryTradeConfigTMP:
  17494. get:
  17495. parameters:
  17496. - description: 所属机构id
  17497. in: query
  17498. name: areauserid
  17499. type: integer
  17500. produces:
  17501. - application/json
  17502. responses:
  17503. "200":
  17504. description: OK
  17505. schema:
  17506. items:
  17507. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17508. type: array
  17509. "500":
  17510. description: Internal Server Error
  17511. schema:
  17512. $ref: '#/definitions/app.Response'
  17513. security:
  17514. - ApiKeyAuth: []
  17515. summary: 查询交易模板配置
  17516. tags:
  17517. - 企业风险管理(app)
  17518. /Ermcp/QueryUserInfo:
  17519. get:
  17520. parameters:
  17521. - description: 所属机构用户ID
  17522. in: query
  17523. name: MemberUserID
  17524. required: true
  17525. type: integer
  17526. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17527. in: query
  17528. name: queryType
  17529. required: true
  17530. type: integer
  17531. produces:
  17532. - application/json
  17533. responses:
  17534. "200":
  17535. description: OK
  17536. schema:
  17537. items:
  17538. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17539. type: array
  17540. "500":
  17541. description: Internal Server Error
  17542. schema:
  17543. $ref: '#/definitions/app.Response'
  17544. security:
  17545. - ApiKeyAuth: []
  17546. summary: 查询客户资料
  17547. tags:
  17548. - 企业风险管理(app)
  17549. /Ermcp/QueryWarehouseInfo:
  17550. get:
  17551. parameters:
  17552. - description: 用户ID
  17553. in: query
  17554. name: userid
  17555. required: true
  17556. type: integer
  17557. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  17558. in: query
  17559. name: status
  17560. type: string
  17561. produces:
  17562. - application/json
  17563. responses:
  17564. "200":
  17565. description: OK
  17566. schema:
  17567. items:
  17568. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  17569. type: array
  17570. "500":
  17571. description: Internal Server Error
  17572. schema:
  17573. $ref: '#/definitions/app.Response'
  17574. security:
  17575. - ApiKeyAuth: []
  17576. summary: 查询仓库信息
  17577. tags:
  17578. - 企业风险管理(app)
  17579. /Ermcp3/QryAreaExpourseContractDetail:
  17580. get:
  17581. parameters:
  17582. - description: 用户ID
  17583. in: query
  17584. name: userid
  17585. required: true
  17586. type: integer
  17587. - description: 套保商品id
  17588. in: query
  17589. name: middlegoodsid
  17590. required: true
  17591. type: integer
  17592. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17593. in: query
  17594. name: cycletype
  17595. required: true
  17596. type: integer
  17597. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17598. 全(0)【原值】
  17599. in: query
  17600. name: cycletime
  17601. required: true
  17602. type: string
  17603. produces:
  17604. - application/json
  17605. responses:
  17606. "200":
  17607. description: OK
  17608. schema:
  17609. items:
  17610. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  17611. type: array
  17612. "500":
  17613. description: Internal Server Error
  17614. schema:
  17615. $ref: '#/definitions/app.Response'
  17616. security:
  17617. - ApiKeyAuth: []
  17618. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  17619. tags:
  17620. - 企业风险管理v3(app)
  17621. /Ermcp3/QryAreaExpourseFutuDetail:
  17622. get:
  17623. parameters:
  17624. - description: 用户ID
  17625. in: query
  17626. name: userid
  17627. required: true
  17628. type: integer
  17629. - description: 套保商品id
  17630. in: query
  17631. name: middlegoodsid
  17632. required: true
  17633. type: integer
  17634. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17635. in: query
  17636. name: cycletype
  17637. required: true
  17638. type: integer
  17639. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17640. 全(0)【原值】
  17641. in: query
  17642. name: cycletime
  17643. required: true
  17644. type: string
  17645. produces:
  17646. - application/json
  17647. responses:
  17648. "200":
  17649. description: OK
  17650. schema:
  17651. items:
  17652. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  17653. type: array
  17654. "500":
  17655. description: Internal Server Error
  17656. schema:
  17657. $ref: '#/definitions/app.Response'
  17658. security:
  17659. - ApiKeyAuth: []
  17660. summary: 查询敞口期货明细(敞口报表/期货明细)
  17661. tags:
  17662. - 企业风险管理v3(app)
  17663. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  17664. get:
  17665. parameters:
  17666. - description: 用户ID
  17667. in: query
  17668. name: userid
  17669. required: true
  17670. type: integer
  17671. - description: 套保商品id
  17672. in: query
  17673. name: middlegoodsid
  17674. required: true
  17675. type: integer
  17676. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17677. in: query
  17678. name: cycletype
  17679. required: true
  17680. type: integer
  17681. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17682. 全(0)【原值】
  17683. in: query
  17684. name: cycletime
  17685. required: true
  17686. type: string
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. items:
  17694. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  17695. type: array
  17696. "500":
  17697. description: Internal Server Error
  17698. schema:
  17699. $ref: '#/definitions/app.Response'
  17700. security:
  17701. - ApiKeyAuth: []
  17702. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  17703. tags:
  17704. - 企业风险管理v3(app)
  17705. /Ermcp3/QryAreaExpourseParamChLogDetail:
  17706. get:
  17707. parameters:
  17708. - description: 用户ID
  17709. in: query
  17710. name: userid
  17711. required: true
  17712. type: integer
  17713. - description: 套保商品id
  17714. in: query
  17715. name: middlegoodsid
  17716. required: true
  17717. type: integer
  17718. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17719. in: query
  17720. name: cycletype
  17721. required: true
  17722. type: integer
  17723. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17724. 全(0)【原值】
  17725. in: query
  17726. name: cycletime
  17727. required: true
  17728. type: string
  17729. produces:
  17730. - application/json
  17731. responses:
  17732. "200":
  17733. description: OK
  17734. schema:
  17735. items:
  17736. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  17737. type: array
  17738. "500":
  17739. description: Internal Server Error
  17740. schema:
  17741. $ref: '#/definitions/app.Response'
  17742. security:
  17743. - ApiKeyAuth: []
  17744. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  17745. tags:
  17746. - 企业风险管理v3(app)
  17747. /Ermcp3/QryAreaExpourseReport:
  17748. get:
  17749. parameters:
  17750. - description: 用户ID
  17751. in: query
  17752. name: userid
  17753. required: true
  17754. type: integer
  17755. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  17756. in: query
  17757. name: querytype
  17758. required: true
  17759. type: integer
  17760. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17761. in: query
  17762. name: cycletype
  17763. required: true
  17764. type: integer
  17765. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17766. 全(0)【原值】
  17767. in: query
  17768. name: cycletime
  17769. required: true
  17770. type: string
  17771. produces:
  17772. - application/json
  17773. responses:
  17774. "200":
  17775. description: OK
  17776. schema:
  17777. items:
  17778. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  17779. type: array
  17780. "500":
  17781. description: Internal Server Error
  17782. schema:
  17783. $ref: '#/definitions/app.Response'
  17784. security:
  17785. - ApiKeyAuth: []
  17786. summary: 查询敞口报表
  17787. tags:
  17788. - 企业风险管理v3(app)
  17789. /Ermcp3/QryAreaSpotplReport:
  17790. get:
  17791. parameters:
  17792. - description: 用户ID
  17793. in: query
  17794. name: userid
  17795. required: true
  17796. type: integer
  17797. - description: 查询类型 1-报表 2-报表明细
  17798. in: query
  17799. name: querytype
  17800. required: true
  17801. type: integer
  17802. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17803. in: query
  17804. name: cycletype
  17805. required: true
  17806. type: integer
  17807. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17808. 全(0)【原值】
  17809. in: query
  17810. name: cycletime
  17811. required: true
  17812. type: string
  17813. - description: 现货品种id(明细必填)
  17814. in: query
  17815. name: deliverygoodsid
  17816. type: integer
  17817. - description: 币种id(明细必填)
  17818. in: query
  17819. name: currencyid
  17820. type: integer
  17821. produces:
  17822. - application/json
  17823. responses:
  17824. "200":
  17825. description: OK
  17826. schema:
  17827. items:
  17828. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  17829. type: array
  17830. "500":
  17831. description: Internal Server Error
  17832. schema:
  17833. $ref: '#/definitions/app.Response'
  17834. security:
  17835. - ApiKeyAuth: []
  17836. summary: 查询现货报表
  17837. tags:
  17838. - 企业风险管理v3(app)
  17839. /Ermcp3/QryAreaStockReport:
  17840. get:
  17841. parameters:
  17842. - description: 用户ID
  17843. in: query
  17844. name: userid
  17845. required: true
  17846. type: integer
  17847. - description: 查询类型 1-报表 2-报表明细
  17848. in: query
  17849. name: querytype
  17850. required: true
  17851. type: integer
  17852. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17853. in: query
  17854. name: cycletype
  17855. required: true
  17856. type: integer
  17857. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17858. 全(0)【原值】
  17859. in: query
  17860. name: cycletime
  17861. required: true
  17862. type: string
  17863. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  17864. in: query
  17865. name: sumfields
  17866. type: string
  17867. - description: 品种ID
  17868. in: query
  17869. name: deliverygoodsid
  17870. type: integer
  17871. - description: 品类ID
  17872. in: query
  17873. name: wrstandardid
  17874. type: integer
  17875. - description: 品牌ID
  17876. in: query
  17877. name: spotgoodsbrandid
  17878. type: integer
  17879. - description: 仓库ID
  17880. in: query
  17881. name: warehouseinfoid
  17882. type: integer
  17883. produces:
  17884. - application/json
  17885. responses:
  17886. "200":
  17887. description: OK
  17888. schema:
  17889. items:
  17890. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  17891. type: array
  17892. "500":
  17893. description: Internal Server Error
  17894. schema:
  17895. $ref: '#/definitions/app.Response'
  17896. security:
  17897. - ApiKeyAuth: []
  17898. summary: 查询库存报表
  17899. tags:
  17900. - 企业风险管理v3(app)
  17901. /Ermcp3/QryAreaSumPL:
  17902. get:
  17903. parameters:
  17904. - description: 用户ID
  17905. in: query
  17906. name: userid
  17907. required: true
  17908. type: integer
  17909. - description: 查询类型 1-报表 2-报表明细
  17910. in: query
  17911. name: querytype
  17912. required: true
  17913. type: integer
  17914. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17915. in: query
  17916. name: cycletype
  17917. required: true
  17918. type: integer
  17919. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17920. 全(0)【原值】
  17921. in: query
  17922. name: cycletime
  17923. required: true
  17924. type: string
  17925. - description: 币种id(明细必填)
  17926. in: query
  17927. name: currencyid
  17928. type: integer
  17929. produces:
  17930. - application/json
  17931. responses:
  17932. "200":
  17933. description: OK
  17934. schema:
  17935. items:
  17936. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17937. type: array
  17938. "500":
  17939. description: Internal Server Error
  17940. schema:
  17941. $ref: '#/definitions/app.Response'
  17942. security:
  17943. - ApiKeyAuth: []
  17944. summary: 查询汇总损益表
  17945. tags:
  17946. - 企业风险管理v3(app)
  17947. /Ermcp3/QryFinanceReport:
  17948. get:
  17949. parameters:
  17950. - description: 用户ID
  17951. in: query
  17952. name: userid
  17953. required: true
  17954. type: integer
  17955. - description: 查询类型 1-报表 2-报表明细
  17956. in: query
  17957. name: querytype
  17958. required: true
  17959. type: integer
  17960. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17961. in: query
  17962. name: cycletype
  17963. required: true
  17964. type: integer
  17965. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17966. 全(0)【原值】
  17967. in: query
  17968. name: cycletime
  17969. required: true
  17970. type: string
  17971. - description: 币种id(报表明细必填)
  17972. in: query
  17973. name: currencyid
  17974. type: integer
  17975. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17976. in: query
  17977. name: sumfields
  17978. type: string
  17979. produces:
  17980. - application/json
  17981. responses:
  17982. "200":
  17983. description: OK
  17984. schema:
  17985. items:
  17986. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17987. type: array
  17988. "500":
  17989. description: Internal Server Error
  17990. schema:
  17991. $ref: '#/definitions/app.Response'
  17992. security:
  17993. - ApiKeyAuth: []
  17994. summary: 查询财务报表
  17995. tags:
  17996. - 企业风险管理v3(app)
  17997. /Ermcp3/QryTaFutureDataReport:
  17998. get:
  17999. parameters:
  18000. - description: 用户ID
  18001. in: query
  18002. name: userid
  18003. required: true
  18004. type: integer
  18005. - description: 查询类型 1-报表 2-报表明细
  18006. in: query
  18007. name: querytype
  18008. required: true
  18009. type: integer
  18010. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18011. in: query
  18012. name: cycletype
  18013. required: true
  18014. type: integer
  18015. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18016. 全(0)【原值】
  18017. in: query
  18018. name: cycletime
  18019. required: true
  18020. type: string
  18021. - description: 币种id(查明细必填)
  18022. in: query
  18023. name: currencyid
  18024. type: integer
  18025. - description: 品种id(查明细必填)
  18026. in: query
  18027. name: goodsgroupid
  18028. type: integer
  18029. - description: 商品id(查明细必填)
  18030. in: query
  18031. name: goodsid
  18032. type: integer
  18033. - description: 买卖方向(查明细必填)
  18034. in: query
  18035. name: buyorsell
  18036. type: integer
  18037. produces:
  18038. - application/json
  18039. responses:
  18040. "200":
  18041. description: OK
  18042. schema:
  18043. items:
  18044. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18045. type: array
  18046. "500":
  18047. description: Internal Server Error
  18048. schema:
  18049. $ref: '#/definitions/app.Response'
  18050. security:
  18051. - ApiKeyAuth: []
  18052. summary: 查询期货报表
  18053. tags:
  18054. - 企业风险管理v3(app)
  18055. /Ermcp3/QueryAreaStock:
  18056. get:
  18057. parameters:
  18058. - description: 用户ID
  18059. in: query
  18060. name: userid
  18061. required: true
  18062. type: integer
  18063. produces:
  18064. - application/json
  18065. responses:
  18066. "200":
  18067. description: OK
  18068. schema:
  18069. items:
  18070. $ref: '#/definitions/models.Ermcp3AreaStock'
  18071. type: array
  18072. "500":
  18073. description: Internal Server Error
  18074. schema:
  18075. $ref: '#/definitions/app.Response'
  18076. security:
  18077. - ApiKeyAuth: []
  18078. summary: 查询机构库存(库存管理/当前库存)
  18079. tags:
  18080. - 企业风险管理v3(app)
  18081. /Ermcp3/QueryAreaStockApply:
  18082. get:
  18083. parameters:
  18084. - description: 用户ID
  18085. in: query
  18086. name: userid
  18087. required: true
  18088. type: integer
  18089. - description: 用户类型 2-机构 7-企业成员
  18090. in: query
  18091. name: usertype
  18092. type: integer
  18093. - description: 现货商品ID
  18094. in: query
  18095. name: deliverygoodsid
  18096. type: integer
  18097. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18098. in: query
  18099. name: inouttype
  18100. type: string
  18101. - description: 合同ID
  18102. in: query
  18103. name: spotcontractid
  18104. type: integer
  18105. - description: 品类ID
  18106. in: query
  18107. name: wrstandardid
  18108. type: integer
  18109. - description: 品牌ID
  18110. in: query
  18111. name: spotgoodsbrandid
  18112. type: integer
  18113. - description: 仓库ID
  18114. in: query
  18115. name: warehouseinfoid
  18116. type: integer
  18117. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18118. in: query
  18119. name: applystatus
  18120. type: string
  18121. produces:
  18122. - application/json
  18123. responses:
  18124. "200":
  18125. description: OK
  18126. schema:
  18127. items:
  18128. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18129. type: array
  18130. "500":
  18131. description: Internal Server Error
  18132. schema:
  18133. $ref: '#/definitions/app.Response'
  18134. security:
  18135. - ApiKeyAuth: []
  18136. summary: 查询库存申请(出入库记录|库存审核)
  18137. tags:
  18138. - 企业风险管理v3(app)
  18139. /Ermcp3/QueryAreaStockApplySum:
  18140. get:
  18141. parameters:
  18142. - description: 合同ID
  18143. in: query
  18144. name: spotcontractid
  18145. required: true
  18146. type: integer
  18147. produces:
  18148. - application/json
  18149. responses:
  18150. "200":
  18151. description: OK
  18152. schema:
  18153. items:
  18154. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18155. type: array
  18156. "500":
  18157. description: Internal Server Error
  18158. schema:
  18159. $ref: '#/definitions/app.Response'
  18160. security:
  18161. - ApiKeyAuth: []
  18162. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18163. tags:
  18164. - 企业风险管理v3(app)
  18165. /Ermcp3/QueryDGFactoryItem:
  18166. get:
  18167. parameters:
  18168. - description: 用户id
  18169. in: query
  18170. name: userid
  18171. type: integer
  18172. - description: 用户类型 2-机构 7-企业成员
  18173. in: query
  18174. name: usertype
  18175. type: integer
  18176. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18177. in: query
  18178. name: dgfactoryitemid
  18179. type: integer
  18180. - description: 现货品种ID
  18181. in: query
  18182. name: deliverygoodsid
  18183. type: integer
  18184. - description: 要素项类型
  18185. in: query
  18186. name: dgfactoryitemtypeid
  18187. type: integer
  18188. - description: 顺序
  18189. in: query
  18190. name: orderindex
  18191. type: integer
  18192. produces:
  18193. - application/json
  18194. responses:
  18195. "200":
  18196. description: OK
  18197. schema:
  18198. items:
  18199. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18200. type: array
  18201. "500":
  18202. description: Internal Server Error
  18203. schema:
  18204. $ref: '#/definitions/app.Response'
  18205. security:
  18206. - ApiKeyAuth: []
  18207. summary: 查询品种要素定义项
  18208. tags:
  18209. - 企业风险管理v3(app)
  18210. /Ermcp3/QueryDeliveryGoods:
  18211. get:
  18212. parameters:
  18213. - description: 用户id
  18214. in: query
  18215. name: userid
  18216. required: true
  18217. type: integer
  18218. - description: 用户类型 2-机构 7-企业成员
  18219. in: query
  18220. name: usertype
  18221. type: integer
  18222. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18223. in: query
  18224. name: excludecfg
  18225. type: integer
  18226. produces:
  18227. - application/json
  18228. responses:
  18229. "200":
  18230. description: OK
  18231. schema:
  18232. items:
  18233. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18234. type: array
  18235. "500":
  18236. description: Internal Server Error
  18237. schema:
  18238. $ref: '#/definitions/app.Response'
  18239. security:
  18240. - ApiKeyAuth: []
  18241. summary: 查询现货商品
  18242. tags:
  18243. - 企业风险管理v3(app)
  18244. /Ermcp3/QueryDeliveryGoodsDetail:
  18245. get:
  18246. parameters:
  18247. - description: 用户id
  18248. in: query
  18249. name: userid
  18250. required: true
  18251. type: integer
  18252. - description: 用户类型 2-机构 7-企业成员
  18253. in: query
  18254. name: usertype
  18255. type: integer
  18256. - description: 现货商品id
  18257. in: query
  18258. name: deliverygoodsid
  18259. type: integer
  18260. produces:
  18261. - application/json
  18262. responses:
  18263. "200":
  18264. description: OK
  18265. schema:
  18266. items:
  18267. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18268. type: array
  18269. "500":
  18270. description: Internal Server Error
  18271. schema:
  18272. $ref: '#/definitions/app.Response'
  18273. security:
  18274. - ApiKeyAuth: []
  18275. summary: 查询现货商品详情
  18276. tags:
  18277. - 企业风险管理v3(app)
  18278. /Ermcp3/QueryExposureDetail:
  18279. get:
  18280. parameters:
  18281. - description: 用户id
  18282. in: query
  18283. name: userid
  18284. required: true
  18285. type: integer
  18286. - description: 用户类型 2-机构 7-企业成员
  18287. in: query
  18288. name: usertype
  18289. type: integer
  18290. - description: 套保商品
  18291. in: query
  18292. name: middlegoodsid
  18293. required: true
  18294. type: integer
  18295. produces:
  18296. - application/json
  18297. responses:
  18298. "200":
  18299. description: OK
  18300. schema:
  18301. items:
  18302. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18303. type: array
  18304. "500":
  18305. description: Internal Server Error
  18306. schema:
  18307. $ref: '#/definitions/app.Response'
  18308. security:
  18309. - ApiKeyAuth: []
  18310. summary: 查询敞口现货明细
  18311. tags:
  18312. - 企业风险管理v3(app)
  18313. /Ermcp3/QueryExposureSpot:
  18314. get:
  18315. parameters:
  18316. - description: 用户id
  18317. in: query
  18318. name: userid
  18319. required: true
  18320. type: integer
  18321. - description: 用户类型 2-机构 7-企业成员
  18322. in: query
  18323. name: usertype
  18324. type: integer
  18325. produces:
  18326. - application/json
  18327. responses:
  18328. "200":
  18329. description: OK
  18330. schema:
  18331. items:
  18332. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18333. type: array
  18334. "500":
  18335. description: Internal Server Error
  18336. schema:
  18337. $ref: '#/definitions/app.Response'
  18338. security:
  18339. - ApiKeyAuth: []
  18340. summary: 查询敞口现货头寸(敞口/现货头寸)
  18341. tags:
  18342. - 企业风险管理v3(app)
  18343. /Ermcp3/QueryExposureSpotDetail:
  18344. get:
  18345. parameters:
  18346. - description: 用户id
  18347. in: query
  18348. name: userid
  18349. required: true
  18350. type: integer
  18351. - description: 用户类型 2-机构 7-企业成员
  18352. in: query
  18353. name: usertype
  18354. type: integer
  18355. - description: 现货品种ID
  18356. in: query
  18357. name: deliverygoodsid
  18358. required: true
  18359. type: integer
  18360. produces:
  18361. - application/json
  18362. responses:
  18363. "200":
  18364. description: OK
  18365. schema:
  18366. items:
  18367. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18368. type: array
  18369. "500":
  18370. description: Internal Server Error
  18371. schema:
  18372. $ref: '#/definitions/app.Response'
  18373. security:
  18374. - ApiKeyAuth: []
  18375. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18376. tags:
  18377. - 企业风险管理v3(app)
  18378. /Ermcp3/QueryGoodsGroup:
  18379. get:
  18380. parameters:
  18381. - description: 用户id
  18382. in: query
  18383. name: userid
  18384. required: true
  18385. type: integer
  18386. - description: 用户类型 2-机构 7-企业成员
  18387. in: query
  18388. name: usertype
  18389. type: integer
  18390. - description: 排除套保品中已关联的商品组 1-排除
  18391. in: query
  18392. name: excludecfg
  18393. type: integer
  18394. produces:
  18395. - application/json
  18396. responses:
  18397. "200":
  18398. description: OK
  18399. schema:
  18400. items:
  18401. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18402. type: array
  18403. "500":
  18404. description: Internal Server Error
  18405. schema:
  18406. $ref: '#/definitions/app.Response'
  18407. security:
  18408. - ApiKeyAuth: []
  18409. summary: 查询期货商品组
  18410. tags:
  18411. - 企业风险管理v3(app)
  18412. /Ermcp3/QueryGoodsWrstandard:
  18413. get:
  18414. parameters:
  18415. - description: 用户id
  18416. in: query
  18417. name: userid
  18418. required: true
  18419. type: integer
  18420. - description: 用户类型 2-机构 7-企业成员
  18421. in: query
  18422. name: usertype
  18423. type: integer
  18424. - description: 现货商品id
  18425. in: query
  18426. name: deliverygoodsid
  18427. type: integer
  18428. produces:
  18429. - application/json
  18430. responses:
  18431. "200":
  18432. description: OK
  18433. schema:
  18434. items:
  18435. $ref: '#/definitions/models.Ermcp3Wrstandard'
  18436. type: array
  18437. "500":
  18438. description: Internal Server Error
  18439. schema:
  18440. $ref: '#/definitions/app.Response'
  18441. security:
  18442. - ApiKeyAuth: []
  18443. summary: 查询商品品类
  18444. tags:
  18445. - 企业风险管理v3(app)
  18446. /Ermcp3/QueryGoodsbrand:
  18447. get:
  18448. parameters:
  18449. - description: 用户id
  18450. in: query
  18451. name: userid
  18452. required: true
  18453. type: integer
  18454. - description: 用户类型 2-机构 7-企业成员
  18455. in: query
  18456. name: usertype
  18457. type: integer
  18458. produces:
  18459. - application/json
  18460. responses:
  18461. "200":
  18462. description: OK
  18463. schema:
  18464. items:
  18465. $ref: '#/definitions/models.Ermcp3Brand'
  18466. type: array
  18467. "500":
  18468. description: Internal Server Error
  18469. schema:
  18470. $ref: '#/definitions/app.Response'
  18471. security:
  18472. - ApiKeyAuth: []
  18473. summary: 查询商品品牌
  18474. tags:
  18475. - 企业风险管理v3(app)
  18476. /Ermcp3/QueryHedgePlan:
  18477. get:
  18478. parameters:
  18479. - description: 用户ID
  18480. in: query
  18481. name: userid
  18482. required: true
  18483. type: integer
  18484. - description: 用户类型 2-机构 7-企业成员
  18485. in: query
  18486. name: usertype
  18487. type: integer
  18488. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18489. in: query
  18490. name: hedgeplanstatus
  18491. required: true
  18492. type: string
  18493. produces:
  18494. - application/json
  18495. responses:
  18496. "200":
  18497. description: OK
  18498. schema:
  18499. items:
  18500. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18501. type: array
  18502. "500":
  18503. description: Internal Server Error
  18504. schema:
  18505. $ref: '#/definitions/app.Response'
  18506. security:
  18507. - ApiKeyAuth: []
  18508. summary: 查询套保计划
  18509. tags:
  18510. - 企业风险管理v3(app)
  18511. /Ermcp3/QueryMiddleGoodsDetail:
  18512. get:
  18513. parameters:
  18514. - description: 用户id
  18515. in: query
  18516. name: userid
  18517. required: true
  18518. type: integer
  18519. - description: 用户类型 2-机构 7-企业成员
  18520. in: query
  18521. name: usertype
  18522. type: integer
  18523. - description: 套保品种id
  18524. in: query
  18525. name: middlegoodsid
  18526. type: integer
  18527. produces:
  18528. - application/json
  18529. responses:
  18530. "200":
  18531. description: OK
  18532. schema:
  18533. items:
  18534. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18535. type: array
  18536. "500":
  18537. description: Internal Server Error
  18538. schema:
  18539. $ref: '#/definitions/app.Response'
  18540. security:
  18541. - ApiKeyAuth: []
  18542. summary: 查询套保品种详情(套保品种/商品详情)
  18543. tags:
  18544. - 企业风险管理v3(app)
  18545. /Ermcp3/QueryRootUserAccount:
  18546. get:
  18547. parameters:
  18548. - description: 用户ID
  18549. in: query
  18550. name: userid
  18551. required: true
  18552. type: integer
  18553. produces:
  18554. - application/json
  18555. responses:
  18556. "200":
  18557. description: OK
  18558. schema:
  18559. items:
  18560. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  18561. type: array
  18562. "500":
  18563. description: Internal Server Error
  18564. schema:
  18565. $ref: '#/definitions/app.Response'
  18566. security:
  18567. - ApiKeyAuth: []
  18568. summary: 查询顶级用户信息
  18569. tags:
  18570. - 企业风险管理v3(app)
  18571. /Ermcp3/QuerySpotContract:
  18572. get:
  18573. parameters:
  18574. - description: 用户id
  18575. in: query
  18576. name: userid
  18577. required: true
  18578. type: integer
  18579. - description: 用户类型 2-机构 7-企业成员
  18580. in: query
  18581. name: usertype
  18582. type: integer
  18583. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  18584. in: query
  18585. name: querytype
  18586. required: true
  18587. type: integer
  18588. - description: 合同ID(SpotContractId)
  18589. in: query
  18590. name: contractid
  18591. type: string
  18592. produces:
  18593. - application/json
  18594. responses:
  18595. "200":
  18596. description: OK
  18597. schema:
  18598. items:
  18599. $ref: '#/definitions/models.Ermcp3Contract'
  18600. type: array
  18601. "500":
  18602. description: Internal Server Error
  18603. schema:
  18604. $ref: '#/definitions/app.Response'
  18605. security:
  18606. - ApiKeyAuth: []
  18607. summary: 查询现货合同
  18608. tags:
  18609. - 企业风险管理v3(app)
  18610. /Ermcp3/QuerySpotContractBS:
  18611. get:
  18612. parameters:
  18613. - description: 用户id
  18614. in: query
  18615. name: userid
  18616. required: true
  18617. type: integer
  18618. - description: 用户类型 2-机构 7-企业成员
  18619. in: query
  18620. name: usertype
  18621. type: integer
  18622. - description: 合同类型 1-采购, -1-销售
  18623. in: query
  18624. name: contracttype
  18625. required: true
  18626. type: integer
  18627. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  18628. in: query
  18629. name: querytype
  18630. required: true
  18631. type: integer
  18632. - description: 合同ID(SpotContractId)
  18633. in: query
  18634. name: contractid
  18635. type: string
  18636. produces:
  18637. - application/json
  18638. responses:
  18639. "200":
  18640. description: OK
  18641. schema:
  18642. items:
  18643. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  18644. type: array
  18645. "500":
  18646. description: Internal Server Error
  18647. schema:
  18648. $ref: '#/definitions/app.Response'
  18649. security:
  18650. - ApiKeyAuth: []
  18651. summary: 查询合同(采购/销售)
  18652. tags:
  18653. - 企业风险管理v3(app)
  18654. /Ermcp3/QuerySpotGoodsPrice:
  18655. get:
  18656. parameters:
  18657. - description: 用户ID
  18658. in: query
  18659. name: userid
  18660. required: true
  18661. type: integer
  18662. produces:
  18663. - application/json
  18664. responses:
  18665. "200":
  18666. description: OK
  18667. schema:
  18668. items:
  18669. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  18670. type: array
  18671. "500":
  18672. description: Internal Server Error
  18673. schema:
  18674. $ref: '#/definitions/app.Response'
  18675. security:
  18676. - ApiKeyAuth: []
  18677. summary: 查询现货市价(现货市价)
  18678. tags:
  18679. - 企业风险管理v3(app)
  18680. /Ermcp3/QuerySpotGoodsPriceLog:
  18681. get:
  18682. parameters:
  18683. - description: 用户ID
  18684. in: query
  18685. name: userid
  18686. required: true
  18687. type: integer
  18688. - description: 现货商品ID
  18689. in: query
  18690. name: deliverygoodsid
  18691. required: true
  18692. type: integer
  18693. - description: 品牌ID
  18694. in: query
  18695. name: brandid
  18696. type: integer
  18697. - description: 品类ID
  18698. in: query
  18699. name: wrstandardid
  18700. type: integer
  18701. produces:
  18702. - application/json
  18703. responses:
  18704. "200":
  18705. description: OK
  18706. schema:
  18707. items:
  18708. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  18709. type: array
  18710. "500":
  18711. description: Internal Server Error
  18712. schema:
  18713. $ref: '#/definitions/app.Response'
  18714. security:
  18715. - ApiKeyAuth: []
  18716. summary: 查询现货市价详情(现货市价/详情)
  18717. tags:
  18718. - 企业风险管理v3(app)
  18719. /Erms2/QueryArbitrageStrategy:
  18720. get:
  18721. parameters:
  18722. - description: 账户ID
  18723. in: query
  18724. name: userid
  18725. required: true
  18726. type: integer
  18727. - description: 商品组ID(品种ID)
  18728. in: query
  18729. name: goodsgroupid
  18730. type: string
  18731. produces:
  18732. - application/json
  18733. responses:
  18734. "200":
  18735. description: OK
  18736. schema:
  18737. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  18738. "500":
  18739. description: Internal Server Error
  18740. schema:
  18741. $ref: '#/definitions/app.Response'
  18742. security:
  18743. - ApiKeyAuth: []
  18744. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  18745. tags:
  18746. - 风险管理
  18747. /Erms2/QueryInnerTradeDetail:
  18748. get:
  18749. parameters:
  18750. - description: 资金账户
  18751. in: query
  18752. name: accountid
  18753. required: true
  18754. type: integer
  18755. produces:
  18756. - application/json
  18757. responses:
  18758. "200":
  18759. description: OK
  18760. schema:
  18761. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  18762. "500":
  18763. description: Internal Server Error
  18764. schema:
  18765. $ref: '#/definitions/app.Response'
  18766. security:
  18767. - ApiKeyAuth: []
  18768. summary: 查询内部成交单信息
  18769. tags:
  18770. - 风险管理
  18771. /Erms2/QuerySpotContract:
  18772. get:
  18773. parameters:
  18774. - description: 策略申请ID
  18775. in: query
  18776. name: asapplyid
  18777. required: true
  18778. type: integer
  18779. - description: 现货合同ID
  18780. in: query
  18781. name: spotcontractid
  18782. type: integer
  18783. produces:
  18784. - application/json
  18785. responses:
  18786. "200":
  18787. description: OK
  18788. schema:
  18789. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  18790. "500":
  18791. description: Internal Server Error
  18792. schema:
  18793. $ref: '#/definitions/app.Response'
  18794. security:
  18795. - ApiKeyAuth: []
  18796. summary: 查询现货合同表信息(指定策略ID、未结束的)
  18797. tags:
  18798. - 风险管理
  18799. /Erms3/AddErms2ASApply:
  18800. post:
  18801. parameters:
  18802. - description: 申请参数
  18803. in: body
  18804. name: jsonBody
  18805. required: true
  18806. schema:
  18807. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  18808. produces:
  18809. - application/json
  18810. responses:
  18811. "200":
  18812. description: OK
  18813. schema:
  18814. $ref: '#/definitions/app.Response'
  18815. "500":
  18816. description: Internal Server Error
  18817. schema:
  18818. $ref: '#/definitions/app.Response'
  18819. security:
  18820. - ApiKeyAuth: []
  18821. summary: 新增期现套利业务申请
  18822. tags:
  18823. - 风险管理v3
  18824. /Erms3/AddErms2SpotTradeApply:
  18825. post:
  18826. parameters:
  18827. - description: 申请参数
  18828. in: body
  18829. name: jsonBody
  18830. required: true
  18831. schema:
  18832. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  18833. produces:
  18834. - application/json
  18835. responses:
  18836. "200":
  18837. description: OK
  18838. schema:
  18839. $ref: '#/definitions/app.Response'
  18840. "500":
  18841. description: Internal Server Error
  18842. schema:
  18843. $ref: '#/definitions/app.Response'
  18844. security:
  18845. - ApiKeyAuth: []
  18846. summary: 新增现货贸易业务申请
  18847. tags:
  18848. - 风险管理v3
  18849. /Erms3/AddSpotContractApply:
  18850. post:
  18851. parameters:
  18852. - description: 申请参数
  18853. in: body
  18854. name: jsonBody
  18855. required: true
  18856. schema:
  18857. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  18858. produces:
  18859. - application/json
  18860. responses:
  18861. "200":
  18862. description: OK
  18863. schema:
  18864. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  18865. "500":
  18866. description: Internal Server Error
  18867. schema:
  18868. $ref: '#/definitions/app.Response'
  18869. security:
  18870. - ApiKeyAuth: []
  18871. summary: 新增现货合同申请
  18872. tags:
  18873. - 风险管理v3
  18874. /Erms3/AddUserInfoApply:
  18875. post:
  18876. parameters:
  18877. - description: 用户信息
  18878. in: body
  18879. name: jsonBody
  18880. required: true
  18881. schema:
  18882. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. $ref: '#/definitions/app.Response'
  18890. "500":
  18891. description: Internal Server Error
  18892. schema:
  18893. $ref: '#/definitions/app.Response'
  18894. security:
  18895. - ApiKeyAuth: []
  18896. summary: 新增客户申请
  18897. tags:
  18898. - 风险管理v3
  18899. /Erms3/DeleteUserInfoApply:
  18900. get:
  18901. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18902. parameters:
  18903. - description: 用户ID
  18904. in: query
  18905. name: userID
  18906. required: true
  18907. type: integer
  18908. produces:
  18909. - application/json
  18910. responses:
  18911. "200":
  18912. description: OK
  18913. schema:
  18914. $ref: '#/definitions/app.Response'
  18915. "500":
  18916. description: Internal Server Error
  18917. schema:
  18918. $ref: '#/definitions/app.Response'
  18919. security:
  18920. - ApiKeyAuth: []
  18921. summary: 删除客户申请
  18922. tags:
  18923. - 风险管理v3
  18924. /Erms3/ModifyUserInfoApply:
  18925. post:
  18926. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18927. int, "userstate": 2 }'
  18928. parameters:
  18929. - description: 用户信息
  18930. in: body
  18931. name: jsonBody
  18932. required: true
  18933. schema:
  18934. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18935. produces:
  18936. - application/json
  18937. responses:
  18938. "200":
  18939. description: OK
  18940. schema:
  18941. $ref: '#/definitions/app.Response'
  18942. "500":
  18943. description: Internal Server Error
  18944. schema:
  18945. $ref: '#/definitions/app.Response'
  18946. security:
  18947. - ApiKeyAuth: []
  18948. summary: 修改客户申请
  18949. tags:
  18950. - 风险管理v3
  18951. /Erms3/QueryBusinessInfo:
  18952. get:
  18953. parameters:
  18954. - description: 资金账号ID列表,用逗号分隔
  18955. in: query
  18956. name: accountids
  18957. required: true
  18958. type: string
  18959. - description: 状态,0为未结束 1为已结束
  18960. in: query
  18961. name: status
  18962. required: true
  18963. type: integer
  18964. produces:
  18965. - application/json
  18966. responses:
  18967. "200":
  18968. description: OK
  18969. schema:
  18970. items:
  18971. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18972. type: array
  18973. "500":
  18974. description: Internal Server Error
  18975. schema:
  18976. $ref: '#/definitions/app.Response'
  18977. security:
  18978. - ApiKeyAuth: []
  18979. summary: 查询业务表单数据
  18980. tags:
  18981. - 风险管理v3
  18982. /Erms3/QueryPendingAuditContract:
  18983. get:
  18984. parameters:
  18985. - description: 资金账号ID列表,逗号隔开
  18986. in: query
  18987. name: accountids
  18988. required: true
  18989. type: string
  18990. - description: 合同类型 1-采购 -1-销售
  18991. in: query
  18992. name: contracttype
  18993. required: true
  18994. type: integer
  18995. - description: 合同模式 1-普通 2-回购
  18996. in: query
  18997. name: contractmode
  18998. required: true
  18999. type: integer
  19000. produces:
  19001. - application/json
  19002. responses:
  19003. "200":
  19004. description: OK
  19005. schema:
  19006. items:
  19007. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19008. type: array
  19009. "500":
  19010. description: Internal Server Error
  19011. schema:
  19012. $ref: '#/definitions/app.Response'
  19013. security:
  19014. - ApiKeyAuth: []
  19015. summary: 查询待审核合同
  19016. tags:
  19017. - 风险管理v3
  19018. /Erms3/QueryPendingBusiness:
  19019. get:
  19020. parameters:
  19021. - description: 资金账号ID列表,逗号隔开
  19022. in: query
  19023. name: accountids
  19024. required: true
  19025. type: string
  19026. produces:
  19027. - application/json
  19028. responses:
  19029. "200":
  19030. description: OK
  19031. schema:
  19032. items:
  19033. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19034. type: array
  19035. "500":
  19036. description: Internal Server Error
  19037. schema:
  19038. $ref: '#/definitions/app.Response'
  19039. security:
  19040. - ApiKeyAuth: []
  19041. summary: 查询待审核基差贸易业务
  19042. tags:
  19043. - 风险管理v3
  19044. /Erms3/QuerySpotContractAppleForm:
  19045. get:
  19046. parameters:
  19047. - description: 登录账号
  19048. in: query
  19049. name: loginID
  19050. required: true
  19051. type: integer
  19052. produces:
  19053. - application/json
  19054. responses:
  19055. "200":
  19056. description: OK
  19057. schema:
  19058. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19059. "500":
  19060. description: Internal Server Error
  19061. schema:
  19062. $ref: '#/definitions/app.Response'
  19063. security:
  19064. - ApiKeyAuth: []
  19065. summary: 查询合同申请表单数据
  19066. tags:
  19067. - 风险管理v3
  19068. /Erms3/QuerySpotContractDetail:
  19069. get:
  19070. parameters:
  19071. - description: 资金账号ID列表,用逗号分隔
  19072. in: query
  19073. name: accountids
  19074. required: true
  19075. type: string
  19076. - description: 合同类型,1为采购合同 -1为销售合同
  19077. in: query
  19078. name: contracttype
  19079. required: true
  19080. type: integer
  19081. - description: 合同模式,1为普通合同 2为回购销售合同
  19082. in: query
  19083. name: contractmode
  19084. required: true
  19085. type: integer
  19086. - description: 状态,0为履约中 1为已完成
  19087. in: query
  19088. name: status
  19089. required: true
  19090. type: integer
  19091. produces:
  19092. - application/json
  19093. responses:
  19094. "200":
  19095. description: OK
  19096. schema:
  19097. items:
  19098. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19099. type: array
  19100. "500":
  19101. description: Internal Server Error
  19102. schema:
  19103. $ref: '#/definitions/app.Response'
  19104. security:
  19105. - ApiKeyAuth: []
  19106. summary: 查询合同详细信息
  19107. tags:
  19108. - 风险管理v3
  19109. /Erms3/QueryUserInfoApplies:
  19110. get:
  19111. parameters:
  19112. - description: 页码
  19113. in: query
  19114. name: page
  19115. type: integer
  19116. - description: 每页条数
  19117. in: query
  19118. name: pagesize
  19119. type: integer
  19120. - description: 客户名称,支持模糊查询
  19121. in: query
  19122. name: userName
  19123. type: string
  19124. produces:
  19125. - application/json
  19126. responses:
  19127. "200":
  19128. description: OK
  19129. schema:
  19130. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19131. "500":
  19132. description: Internal Server Error
  19133. schema:
  19134. $ref: '#/definitions/app.Response'
  19135. security:
  19136. - ApiKeyAuth: []
  19137. summary: 客户申请信息查询
  19138. tags:
  19139. - 风险管理v3
  19140. /Erms3/QueryUserInfos:
  19141. get:
  19142. parameters:
  19143. - description: 页码
  19144. in: query
  19145. name: page
  19146. type: integer
  19147. - description: 每页条数
  19148. in: query
  19149. name: pagesize
  19150. type: integer
  19151. - description: 客户名称,支持模糊查询
  19152. in: query
  19153. name: userName
  19154. type: string
  19155. produces:
  19156. - application/json
  19157. responses:
  19158. "200":
  19159. description: OK
  19160. schema:
  19161. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19162. "500":
  19163. description: Internal Server Error
  19164. schema:
  19165. $ref: '#/definitions/app.Response'
  19166. security:
  19167. - ApiKeyAuth: []
  19168. summary: 客户信息查询
  19169. tags:
  19170. - 风险管理v3
  19171. /HSBY/GetHsbyMyCount:
  19172. get:
  19173. description: 说明: 不包括已完成的数量。
  19174. parameters:
  19175. - description: 资金账户列表,格式:1,2,3
  19176. in: query
  19177. name: accountIDs
  19178. required: true
  19179. type: string
  19180. produces:
  19181. - application/json
  19182. responses:
  19183. "200":
  19184. description: OK
  19185. schema:
  19186. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. security:
  19192. - ApiKeyAuth: []
  19193. summary: 获取我的订单与包裹数量
  19194. tags:
  19195. - 定制【海商报业】
  19196. /HSBY/QueryClientFixedADConfigs:
  19197. get:
  19198. produces:
  19199. - application/json
  19200. responses:
  19201. "200":
  19202. description: OK
  19203. schema:
  19204. $ref: '#/definitions/models.Clientfixedadconfig'
  19205. "500":
  19206. description: Internal Server Error
  19207. schema:
  19208. $ref: '#/definitions/app.Response'
  19209. security:
  19210. - ApiKeyAuth: []
  19211. summary: 获取终端固定广告配置
  19212. tags:
  19213. - 定制【海商报业】
  19214. /HSBY/QueryHsbyBuyMyTradeDetail:
  19215. get:
  19216. parameters:
  19217. - description: 页码
  19218. in: query
  19219. name: page
  19220. type: integer
  19221. - description: 每页条数
  19222. in: query
  19223. name: pagesize
  19224. type: integer
  19225. - description: 资金账户列表,格式:1,2,3
  19226. in: query
  19227. name: accountIDs
  19228. required: true
  19229. type: string
  19230. produces:
  19231. - application/json
  19232. responses:
  19233. "200":
  19234. description: OK
  19235. schema:
  19236. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19237. "500":
  19238. description: Internal Server Error
  19239. schema:
  19240. $ref: '#/definitions/app.Response'
  19241. security:
  19242. - ApiKeyAuth: []
  19243. summary: 查询"我的订单 - 已完成"单据信息
  19244. tags:
  19245. - 定制【海商报业】
  19246. /HSBY/QueryHsbyGoodsOrderDetails:
  19247. get:
  19248. description: 说明:查询结果已按委托价格和委托时间排序
  19249. parameters:
  19250. - description: 商品ID
  19251. in: query
  19252. name: goodsID
  19253. required: true
  19254. type: integer
  19255. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19256. in: query
  19257. name: accountIDs
  19258. type: string
  19259. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19260. in: query
  19261. name: buyOrSell
  19262. type: integer
  19263. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19264. in: query
  19265. name: price
  19266. type: number
  19267. - description: 档位,不传则默认为3档
  19268. in: query
  19269. name: speed
  19270. type: integer
  19271. produces:
  19272. - application/json
  19273. responses:
  19274. "200":
  19275. description: OK
  19276. schema:
  19277. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19278. "500":
  19279. description: Internal Server Error
  19280. schema:
  19281. $ref: '#/definitions/app.Response'
  19282. security:
  19283. - ApiKeyAuth: []
  19284. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19285. tags:
  19286. - 定制【海商报业】
  19287. /HSBY/QueryHsbyListingGoodsDetail:
  19288. get:
  19289. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19290. parameters:
  19291. - description: 商品ID
  19292. in: query
  19293. name: goodsID
  19294. required: true
  19295. type: integer
  19296. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19297. in: query
  19298. name: accountID
  19299. type: integer
  19300. produces:
  19301. - application/json
  19302. responses:
  19303. "200":
  19304. description: OK
  19305. schema:
  19306. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19307. "500":
  19308. description: Internal Server Error
  19309. schema:
  19310. $ref: '#/definitions/app.Response'
  19311. security:
  19312. - ApiKeyAuth: []
  19313. summary: 查询二级市场(挂牌点选)商品信息详情
  19314. tags:
  19315. - 定制【海商报业】
  19316. /HSBY/QueryHsbyMarketGoodsDetail:
  19317. get:
  19318. parameters:
  19319. - description: 委托单号
  19320. in: query
  19321. name: orderID
  19322. required: true
  19323. type: integer
  19324. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19325. in: query
  19326. name: accountID
  19327. type: integer
  19328. produces:
  19329. - application/json
  19330. responses:
  19331. "200":
  19332. description: OK
  19333. schema:
  19334. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19335. "500":
  19336. description: Internal Server Error
  19337. schema:
  19338. $ref: '#/definitions/app.Response'
  19339. security:
  19340. - ApiKeyAuth: []
  19341. summary: 查询三级市场(商城)商品信息详情
  19342. tags:
  19343. - 定制【海商报业】
  19344. /HSBY/QueryHsbyMarketGoodses:
  19345. get:
  19346. parameters:
  19347. - description: 页码
  19348. in: query
  19349. name: page
  19350. type: integer
  19351. - description: 每页条数
  19352. in: query
  19353. name: pagesize
  19354. type: integer
  19355. - description: 市场ID列表,格式:1,2,3
  19356. in: query
  19357. name: marketIDs
  19358. required: true
  19359. type: string
  19360. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19361. in: query
  19362. name: accountID
  19363. required: true
  19364. type: integer
  19365. - description: 类别ID
  19366. in: query
  19367. name: categoryID
  19368. type: integer
  19369. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19370. in: query
  19371. name: goodsIDs
  19372. type: string
  19373. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19374. in: query
  19375. name: couponTypeID
  19376. type: integer
  19377. produces:
  19378. - application/json
  19379. responses:
  19380. "200":
  19381. description: OK
  19382. schema:
  19383. $ref: '#/definitions/models.HsbyMarketGoods'
  19384. "500":
  19385. description: Internal Server Error
  19386. schema:
  19387. $ref: '#/definitions/app.Response'
  19388. security:
  19389. - ApiKeyAuth: []
  19390. summary: 查询特卖商品列表(三级商城)
  19391. tags:
  19392. - 定制【海商报业】
  19393. /HSBY/QueryHsbyMarkets:
  19394. get:
  19395. produces:
  19396. - application/json
  19397. responses:
  19398. "200":
  19399. description: OK
  19400. schema:
  19401. $ref: '#/definitions/models.HsbyMarketInfo'
  19402. "500":
  19403. description: Internal Server Error
  19404. schema:
  19405. $ref: '#/definitions/app.Response'
  19406. security:
  19407. - ApiKeyAuth: []
  19408. summary: 查询海商报业相关市场信息
  19409. tags:
  19410. - 定制【海商报业】
  19411. /HSBY/QueryHsbyMyBuyOrderDetails:
  19412. get:
  19413. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19414. parameters:
  19415. - description: 资金账户列表,格式:1,2,3
  19416. in: query
  19417. name: accountIDs
  19418. required: true
  19419. type: string
  19420. produces:
  19421. - application/json
  19422. responses:
  19423. "200":
  19424. description: OK
  19425. schema:
  19426. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19427. "500":
  19428. description: Internal Server Error
  19429. schema:
  19430. $ref: '#/definitions/app.Response'
  19431. security:
  19432. - ApiKeyAuth: []
  19433. summary: 查询“我的订单”信息
  19434. tags:
  19435. - 定制【海商报业】
  19436. /HSBY/QueryHsbyMyGoods:
  19437. get:
  19438. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19439. parameters:
  19440. - description: 资金账户列表,格式:1,2,3
  19441. in: query
  19442. name: accountIDs
  19443. required: true
  19444. type: string
  19445. produces:
  19446. - application/json
  19447. responses:
  19448. "200":
  19449. description: OK
  19450. schema:
  19451. $ref: '#/definitions/models.HsbyMyGoods'
  19452. "500":
  19453. description: Internal Server Error
  19454. schema:
  19455. $ref: '#/definitions/app.Response'
  19456. security:
  19457. - ApiKeyAuth: []
  19458. summary: 查询“我的商品”信息
  19459. tags:
  19460. - 定制【海商报业】
  19461. /HSBY/QueryHsbyMyPackages:
  19462. get:
  19463. parameters:
  19464. - description: 资金账户列表,格式:1,2,3
  19465. in: query
  19466. name: accountIDs
  19467. required: true
  19468. type: string
  19469. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19470. in: query
  19471. name: takeOrderStatus
  19472. type: integer
  19473. produces:
  19474. - application/json
  19475. responses:
  19476. "200":
  19477. description: OK
  19478. schema:
  19479. $ref: '#/definitions/models.HsbyMyPackage'
  19480. "500":
  19481. description: Internal Server Error
  19482. schema:
  19483. $ref: '#/definitions/app.Response'
  19484. security:
  19485. - ApiKeyAuth: []
  19486. summary: 查询我的包裹信息
  19487. tags:
  19488. - 定制【海商报业】
  19489. /HSBY/QueryHsbyPreGoodsDetail:
  19490. get:
  19491. parameters:
  19492. - description: 商品ID
  19493. in: query
  19494. name: goodsID
  19495. required: true
  19496. type: integer
  19497. - description: 资金账户,主要用于获取预售商品购买上限
  19498. in: query
  19499. name: accountID
  19500. type: integer
  19501. produces:
  19502. - application/json
  19503. responses:
  19504. "200":
  19505. description: OK
  19506. schema:
  19507. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19508. "500":
  19509. description: Internal Server Error
  19510. schema:
  19511. $ref: '#/definitions/app.Response'
  19512. security:
  19513. - ApiKeyAuth: []
  19514. summary: 查询一级市场(预售)商品信息详情
  19515. tags:
  19516. - 定制【海商报业】
  19517. /HSBY/QueryHsbyPreGoodses:
  19518. get:
  19519. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19520. parameters:
  19521. - description: 页码
  19522. in: query
  19523. name: page
  19524. type: integer
  19525. - description: 每页条数
  19526. in: query
  19527. name: pagesize
  19528. type: integer
  19529. - description: 市场ID列表,格式:1,2,3
  19530. in: query
  19531. name: marketIDs
  19532. required: true
  19533. type: string
  19534. - description: 目的地(省)ID
  19535. in: query
  19536. name: descProvinceID
  19537. type: integer
  19538. - description: 目的地(市)ID
  19539. in: query
  19540. name: descCityID
  19541. type: integer
  19542. produces:
  19543. - application/json
  19544. responses:
  19545. "200":
  19546. description: OK
  19547. schema:
  19548. $ref: '#/definitions/models.HsbyPreGoods'
  19549. "500":
  19550. description: Internal Server Error
  19551. schema:
  19552. $ref: '#/definitions/app.Response'
  19553. security:
  19554. - ApiKeyAuth: []
  19555. summary: 查询新品上市商品列表(一级市场预售)
  19556. tags:
  19557. - 定制【海商报业】
  19558. /HSBY/QueryHsbySellMyDetails:
  19559. get:
  19560. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  19561. parameters:
  19562. - description: 页码
  19563. in: query
  19564. name: page
  19565. type: integer
  19566. - description: 每页条数
  19567. in: query
  19568. name: pagesize
  19569. type: integer
  19570. - description: 资金账户列表,格式:1,2,3
  19571. in: query
  19572. name: accountIDs
  19573. required: true
  19574. type: string
  19575. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  19576. in: query
  19577. name: orderType
  19578. type: integer
  19579. produces:
  19580. - application/json
  19581. responses:
  19582. "200":
  19583. description: OK
  19584. schema:
  19585. $ref: '#/definitions/models.HsbySellMyDetail'
  19586. "500":
  19587. description: Internal Server Error
  19588. schema:
  19589. $ref: '#/definitions/app.Response'
  19590. security:
  19591. - ApiKeyAuth: []
  19592. summary: 查询"我的闲置"单据信息
  19593. tags:
  19594. - 定制【海商报业】
  19595. /HSBY/QueryHsbyTopGoodses:
  19596. get:
  19597. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  19598. parameters:
  19599. - description: 页码
  19600. in: query
  19601. name: page
  19602. type: integer
  19603. - description: 每页条数
  19604. in: query
  19605. name: pagesize
  19606. type: integer
  19607. - description: 市场ID列表,格式:1,2,3
  19608. in: query
  19609. name: marketIDs
  19610. required: true
  19611. type: string
  19612. - description: 目的地(省)ID
  19613. in: query
  19614. name: descProvinceID
  19615. type: integer
  19616. - description: 目的地(市)ID
  19617. in: query
  19618. name: descCityID
  19619. type: integer
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. $ref: '#/definitions/models.HsbyTopGoods'
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 查询热卖商品列表(二级市场挂牌点选)
  19634. tags:
  19635. - 定制【海商报业】
  19636. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  19637. get:
  19638. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  19639. parameters:
  19640. - description: 商品ID
  19641. in: query
  19642. name: goodsID
  19643. required: true
  19644. type: integer
  19645. produces:
  19646. - application/json
  19647. responses:
  19648. "200":
  19649. description: OK
  19650. schema:
  19651. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19652. "500":
  19653. description: Internal Server Error
  19654. schema:
  19655. $ref: '#/definitions/app.Response'
  19656. security:
  19657. - ApiKeyAuth: []
  19658. summary: 查询游客三级市场(商城)商品信息详情
  19659. tags:
  19660. - 定制【海商报业】
  19661. /HSBY/QueryHsbyVisitorMarketGoodses:
  19662. get:
  19663. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  19664. parameters:
  19665. - description: 页码
  19666. in: query
  19667. name: page
  19668. type: integer
  19669. - description: 每页条数
  19670. in: query
  19671. name: pagesize
  19672. type: integer
  19673. - description: 市场ID列表,格式:1,2,3
  19674. in: query
  19675. name: marketIDs
  19676. required: true
  19677. type: string
  19678. - description: 类别ID
  19679. in: query
  19680. name: categoryID
  19681. type: integer
  19682. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19683. in: query
  19684. name: goodsIDs
  19685. type: string
  19686. produces:
  19687. - application/json
  19688. responses:
  19689. "200":
  19690. description: OK
  19691. schema:
  19692. $ref: '#/definitions/models.HsbyMarketGoods'
  19693. "500":
  19694. description: Internal Server Error
  19695. schema:
  19696. $ref: '#/definitions/app.Response'
  19697. security:
  19698. - ApiKeyAuth: []
  19699. summary: 查询游客特卖商品列表(三级商城)
  19700. tags:
  19701. - 定制【海商报业】
  19702. /HSBY/QueryMyCollectionOrders:
  19703. get:
  19704. parameters:
  19705. - description: 页码
  19706. in: query
  19707. name: page
  19708. type: integer
  19709. - description: 每页条数
  19710. in: query
  19711. name: pagesize
  19712. type: integer
  19713. - description: 资金账户,格式:1,2,3
  19714. in: query
  19715. name: accountIDs
  19716. required: true
  19717. type: string
  19718. produces:
  19719. - application/json
  19720. responses:
  19721. "200":
  19722. description: OK
  19723. schema:
  19724. $ref: '#/definitions/models.HsbySellCollectionOrder'
  19725. "500":
  19726. description: Internal Server Error
  19727. schema:
  19728. $ref: '#/definitions/app.Response'
  19729. security:
  19730. - ApiKeyAuth: []
  19731. summary: 我的闲置中收款信息查询
  19732. tags:
  19733. - 定制【海商报业】
  19734. /HSBY/QueryMyCouponHolds:
  19735. get:
  19736. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  19737. parameters:
  19738. - description: 资金账户列表,格式:1,2,3
  19739. in: query
  19740. name: accountIDs
  19741. required: true
  19742. type: string
  19743. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  19744. in: query
  19745. name: holdStatus
  19746. type: string
  19747. produces:
  19748. - application/json
  19749. responses:
  19750. "200":
  19751. description: OK
  19752. schema:
  19753. $ref: '#/definitions/models.MyCouponHold'
  19754. "500":
  19755. description: Internal Server Error
  19756. schema:
  19757. $ref: '#/definitions/app.Response'
  19758. security:
  19759. - ApiKeyAuth: []
  19760. summary: 我的优惠卷持仓查询
  19761. tags:
  19762. - 定制【海商报业】
  19763. /HSBY/QueryMyCoupons:
  19764. get:
  19765. parameters:
  19766. - description: 资金账户列表,格式:1,2,3
  19767. in: query
  19768. name: accountIDs
  19769. required: true
  19770. type: string
  19771. - description: 商品ID, 一般与sellUserID配套传入
  19772. in: query
  19773. name: goodsID
  19774. type: integer
  19775. - description: 卖方UserID
  19776. in: query
  19777. name: sellUserID
  19778. type: integer
  19779. produces:
  19780. - application/json
  19781. responses:
  19782. "200":
  19783. description: OK
  19784. schema:
  19785. $ref: '#/definitions/models.MyCoupon'
  19786. "500":
  19787. description: Internal Server Error
  19788. schema:
  19789. $ref: '#/definitions/app.Response'
  19790. security:
  19791. - ApiKeyAuth: []
  19792. summary: 我的优惠卷查询
  19793. tags:
  19794. - 定制【海商报业】
  19795. /HSBY/QueryMyPayOrders:
  19796. get:
  19797. parameters:
  19798. - description: 页码
  19799. in: query
  19800. name: page
  19801. type: integer
  19802. - description: 每页条数
  19803. in: query
  19804. name: pagesize
  19805. type: integer
  19806. - description: 资金账户列表,格式:1,2,3
  19807. in: query
  19808. name: accountIDs
  19809. required: true
  19810. type: string
  19811. - description: 买方委托单号
  19812. in: query
  19813. name: buyOrderID
  19814. type: integer
  19815. - description: 卖方委托单号
  19816. in: query
  19817. name: sellOrderID
  19818. type: integer
  19819. produces:
  19820. - application/json
  19821. responses:
  19822. "200":
  19823. description: OK
  19824. schema:
  19825. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  19826. "500":
  19827. description: Internal Server Error
  19828. schema:
  19829. $ref: '#/definitions/app.Response'
  19830. security:
  19831. - ApiKeyAuth: []
  19832. summary: 获取我的订单中待付款信息
  19833. tags:
  19834. - 定制【海商报业】
  19835. /HSBY/QueryMyUsedCoupon:
  19836. get:
  19837. parameters:
  19838. - description: 资金账户列表,格式:1,2,3
  19839. in: query
  19840. name: accountIDs
  19841. required: true
  19842. type: string
  19843. produces:
  19844. - application/json
  19845. responses:
  19846. "200":
  19847. description: OK
  19848. schema:
  19849. $ref: '#/definitions/models.MyUsedCoupon'
  19850. "500":
  19851. description: Internal Server Error
  19852. schema:
  19853. $ref: '#/definitions/app.Response'
  19854. security:
  19855. - ApiKeyAuth: []
  19856. summary: 已使用优惠卷查询
  19857. tags:
  19858. - 定制【海商报业】
  19859. /HSBY/QueryProvincesAndCities:
  19860. get:
  19861. description: 查询结果只包括二级市场商品已关连的省市信息。
  19862. parameters:
  19863. - description: 省ID
  19864. in: query
  19865. name: provinceID
  19866. type: integer
  19867. produces:
  19868. - application/json
  19869. responses:
  19870. "200":
  19871. description: OK
  19872. schema:
  19873. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  19874. "500":
  19875. description: Internal Server Error
  19876. schema:
  19877. $ref: '#/definitions/app.Response'
  19878. security:
  19879. - ApiKeyAuth: []
  19880. summary: 查询省市信息(不包括区)
  19881. tags:
  19882. - 定制【海商报业】
  19883. /HSBY/SetHsbyMyPackagesStatus:
  19884. post:
  19885. parameters:
  19886. - description: 提货单号
  19887. in: query
  19888. name: takeOrderID
  19889. required: true
  19890. type: string
  19891. - description: 资金账号
  19892. in: query
  19893. name: accountID
  19894. required: true
  19895. type: integer
  19896. produces:
  19897. - application/json
  19898. responses:
  19899. "200":
  19900. description: OK
  19901. schema:
  19902. $ref: '#/definitions/app.Response'
  19903. "500":
  19904. description: Internal Server Error
  19905. schema:
  19906. $ref: '#/definitions/app.Response'
  19907. security:
  19908. - ApiKeyAuth: []
  19909. summary: 设置我的包裹已收货状态
  19910. tags:
  19911. - 定制【海商报业】
  19912. /Market/GetAllExExchanges:
  19913. get:
  19914. produces:
  19915. - application/json
  19916. responses:
  19917. "200":
  19918. description: OK
  19919. schema:
  19920. $ref: '#/definitions/models.Goods'
  19921. "500":
  19922. description: Internal Server Error
  19923. schema:
  19924. $ref: '#/definitions/app.Response'
  19925. security:
  19926. - ApiKeyAuth: []
  19927. summary: 获取所有外部交易所信息
  19928. tags:
  19929. - 通用市场
  19930. /Market/QueryGoodsesByLoginID:
  19931. get:
  19932. parameters:
  19933. - description: 登录账号
  19934. in: query
  19935. name: loginID
  19936. required: true
  19937. type: integer
  19938. - description: 市场ID列表,格式:1,2,3
  19939. in: query
  19940. name: marketIDs
  19941. type: string
  19942. produces:
  19943. - application/json
  19944. responses:
  19945. "200":
  19946. description: OK
  19947. schema:
  19948. $ref: '#/definitions/models.Goods'
  19949. "500":
  19950. description: Internal Server Error
  19951. schema:
  19952. $ref: '#/definitions/app.Response'
  19953. security:
  19954. - ApiKeyAuth: []
  19955. summary: 获取登录账号有权限的商品信息
  19956. tags:
  19957. - 通用市场
  19958. /Market/QueryMarketRun:
  19959. get:
  19960. parameters:
  19961. - description: 市场ID,不传返回所有
  19962. in: query
  19963. name: marketID
  19964. type: integer
  19965. produces:
  19966. - application/json
  19967. responses:
  19968. "200":
  19969. description: OK
  19970. schema:
  19971. $ref: '#/definitions/models.Marketrun'
  19972. "500":
  19973. description: Internal Server Error
  19974. schema:
  19975. $ref: '#/definitions/app.Response'
  19976. security:
  19977. - ApiKeyAuth: []
  19978. summary: 查询市场运行信息
  19979. tags:
  19980. - 通用市场
  19981. /Market/QueryMarketsByLoginID:
  19982. get:
  19983. parameters:
  19984. - description: 登录账号
  19985. in: query
  19986. name: loginID
  19987. required: true
  19988. type: integer
  19989. produces:
  19990. - application/json
  19991. responses:
  19992. "200":
  19993. description: OK
  19994. schema:
  19995. $ref: '#/definitions/models.Market'
  19996. "500":
  19997. description: Internal Server Error
  19998. schema:
  19999. $ref: '#/definitions/app.Response'
  20000. security:
  20001. - ApiKeyAuth: []
  20002. summary: 获取登录账号有权限的市场信息
  20003. tags:
  20004. - 通用市场
  20005. /Order/QueryHisTradeDetail:
  20006. get:
  20007. parameters:
  20008. - description: 资金账户 - 格式:1,2,3
  20009. in: query
  20010. name: accountID
  20011. required: true
  20012. type: string
  20013. - description: 成交单号
  20014. in: query
  20015. name: tradeID
  20016. type: integer
  20017. - description: 委托单号
  20018. in: query
  20019. name: orderID
  20020. type: integer
  20021. - description: 商品ID
  20022. in: query
  20023. name: goodsID
  20024. type: integer
  20025. - description: 交易模式 - 格式:1,2,3
  20026. in: query
  20027. name: tradeMode
  20028. type: string
  20029. - description: 委托单据类型
  20030. in: query
  20031. name: buildType
  20032. type: integer
  20033. - description: 成交类别 - 格式:1,2,3
  20034. in: query
  20035. name: tradeType
  20036. type: string
  20037. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20038. in: query
  20039. name: startDate
  20040. type: string
  20041. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20042. in: query
  20043. name: endDate
  20044. type: string
  20045. produces:
  20046. - application/json
  20047. responses:
  20048. "200":
  20049. description: OK
  20050. schema:
  20051. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20052. "500":
  20053. description: Internal Server Error
  20054. schema:
  20055. $ref: '#/definitions/app.Response'
  20056. security:
  20057. - ApiKeyAuth: []
  20058. summary: 历史成交单查询(合约市场)
  20059. tags:
  20060. - 通用单据
  20061. /Order/QueryHisTradeOrderDetail:
  20062. get:
  20063. parameters:
  20064. - description: 资金账户 - 格式:1,2,3
  20065. in: query
  20066. name: accountID
  20067. required: true
  20068. type: string
  20069. - description: 交易模式 - 格式:1,2,3
  20070. in: query
  20071. name: tradeMode
  20072. type: string
  20073. - description: 委托状态 - 格式:1,2,3
  20074. in: query
  20075. name: orderStatus
  20076. type: string
  20077. - description: 委托单号
  20078. in: query
  20079. name: orderID
  20080. type: integer
  20081. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20082. in: query
  20083. name: startDate
  20084. type: string
  20085. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20086. in: query
  20087. name: endDate
  20088. type: string
  20089. produces:
  20090. - application/json
  20091. responses:
  20092. "200":
  20093. description: OK
  20094. schema:
  20095. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20096. "500":
  20097. description: Internal Server Error
  20098. schema:
  20099. $ref: '#/definitions/app.Response'
  20100. security:
  20101. - ApiKeyAuth: []
  20102. summary: 历史委托单查询请求(合约市场)
  20103. tags:
  20104. - 通用单据
  20105. /Order/QueryTradeDetail:
  20106. get:
  20107. parameters:
  20108. - description: 资金账户 - 格式:1,2,3
  20109. in: query
  20110. name: accountID
  20111. required: true
  20112. type: string
  20113. - description: 成交单号
  20114. in: query
  20115. name: tradeID
  20116. type: integer
  20117. - description: 委托单号
  20118. in: query
  20119. name: orderID
  20120. type: integer
  20121. - description: 交易模式 - 格式:1,2,3
  20122. in: query
  20123. name: tradeMode
  20124. type: string
  20125. - description: 委托单据类型
  20126. in: query
  20127. name: buildType
  20128. type: integer
  20129. - description: 成交类别 - 格式:1,2,3
  20130. in: query
  20131. name: tradeType
  20132. type: string
  20133. - description: 商品ID
  20134. in: query
  20135. name: goodsID
  20136. type: integer
  20137. produces:
  20138. - application/json
  20139. responses:
  20140. "200":
  20141. description: OK
  20142. schema:
  20143. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20144. "500":
  20145. description: Internal Server Error
  20146. schema:
  20147. $ref: '#/definitions/app.Response'
  20148. security:
  20149. - ApiKeyAuth: []
  20150. summary: 成交单查询(合约市场)
  20151. tags:
  20152. - 通用单据
  20153. /Order/QueryTradeOrderDetail:
  20154. get:
  20155. parameters:
  20156. - description: 资金账户 - 格式:1,2,3
  20157. in: query
  20158. name: accountID
  20159. required: true
  20160. type: string
  20161. - description: 交易模式 - 格式:1,2,3
  20162. in: query
  20163. name: tradeMode
  20164. type: string
  20165. - description: 委托状态 - 格式:1,2,3
  20166. in: query
  20167. name: orderStatus
  20168. type: string
  20169. - description: 委托单号
  20170. in: query
  20171. name: orderID
  20172. type: integer
  20173. produces:
  20174. - application/json
  20175. responses:
  20176. "200":
  20177. description: OK
  20178. schema:
  20179. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20180. "500":
  20181. description: Internal Server Error
  20182. schema:
  20183. $ref: '#/definitions/app.Response'
  20184. security:
  20185. - ApiKeyAuth: []
  20186. summary: 委托单查询请求(合约市场)
  20187. tags:
  20188. - 通用单据
  20189. /Order/QueryTradePosition:
  20190. get:
  20191. parameters:
  20192. - description: 资金账户 - 格式:1,2,3
  20193. in: query
  20194. name: accountID
  20195. required: true
  20196. type: string
  20197. - description: 交易模式 - 格式:1,2,3
  20198. in: query
  20199. name: tradeMode
  20200. type: string
  20201. produces:
  20202. - application/json
  20203. responses:
  20204. "200":
  20205. description: OK
  20206. schema:
  20207. $ref: '#/definitions/order.QueryTradePositionRsp'
  20208. "500":
  20209. description: Internal Server Error
  20210. schema:
  20211. $ref: '#/definitions/app.Response'
  20212. security:
  20213. - ApiKeyAuth: []
  20214. summary: 持仓汇总查询(合约市场)
  20215. tags:
  20216. - 通用单据
  20217. /Qhj/QueryAccountInOutApply:
  20218. get:
  20219. parameters:
  20220. - description: 用户ID
  20221. in: query
  20222. name: userid
  20223. required: true
  20224. type: integer
  20225. - description: 申请起始日期(格式yyyymmdd)
  20226. in: query
  20227. name: begindate
  20228. type: string
  20229. - description: 申请截止日期(格式yyyymmdd)
  20230. in: query
  20231. name: enddate
  20232. type: string
  20233. - description: 模糊搜索名称
  20234. in: query
  20235. name: likename
  20236. type: string
  20237. produces:
  20238. - application/json
  20239. responses:
  20240. "200":
  20241. description: OK
  20242. schema:
  20243. items:
  20244. $ref: '#/definitions/models.QhjAccountOutInApply'
  20245. type: array
  20246. "500":
  20247. description: Internal Server Error
  20248. schema:
  20249. $ref: '#/definitions/app.Response'
  20250. security:
  20251. - ApiKeyAuth: []
  20252. summary: 查询充值提现
  20253. tags:
  20254. - 大连千海金
  20255. /Qhj/QueryAreaFinanceConfig:
  20256. get:
  20257. parameters:
  20258. - description: 机构用户ID 其他做市关系,都设置为 1
  20259. in: query
  20260. name: userid
  20261. type: integer
  20262. produces:
  20263. - application/json
  20264. responses:
  20265. "200":
  20266. description: OK
  20267. schema:
  20268. items:
  20269. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20270. type: array
  20271. "500":
  20272. description: Internal Server Error
  20273. schema:
  20274. $ref: '#/definitions/app.Response'
  20275. security:
  20276. - ApiKeyAuth: []
  20277. summary: 查询企业配置表
  20278. tags:
  20279. - 大连千海金
  20280. /Qhj/QueryBankAccountSign:
  20281. get:
  20282. parameters:
  20283. - description: 用户ID
  20284. in: query
  20285. name: userid
  20286. required: true
  20287. type: integer
  20288. produces:
  20289. - application/json
  20290. responses:
  20291. "200":
  20292. description: OK
  20293. schema:
  20294. items:
  20295. $ref: '#/definitions/models.QhjBankAccountSign'
  20296. type: array
  20297. "500":
  20298. description: Internal Server Error
  20299. schema:
  20300. $ref: '#/definitions/app.Response'
  20301. security:
  20302. - ApiKeyAuth: []
  20303. summary: 查询签约银行信息(提现账户管理)
  20304. tags:
  20305. - 大连千海金
  20306. /Qhj/QueryBankInfo:
  20307. get:
  20308. produces:
  20309. - application/json
  20310. responses:
  20311. "200":
  20312. description: OK
  20313. schema:
  20314. items:
  20315. $ref: '#/definitions/models.QhjBankInfo'
  20316. type: array
  20317. "500":
  20318. description: Internal Server Error
  20319. schema:
  20320. $ref: '#/definitions/app.Response'
  20321. security:
  20322. - ApiKeyAuth: []
  20323. summary: 查询开户行
  20324. tags:
  20325. - 大连千海金
  20326. /Qhj/QueryBrokerApply:
  20327. get:
  20328. parameters:
  20329. - description: 所属机构ID
  20330. in: query
  20331. name: userid
  20332. type: integer
  20333. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20334. in: query
  20335. name: filterstatus
  20336. type: string
  20337. produces:
  20338. - application/json
  20339. responses:
  20340. "200":
  20341. description: OK
  20342. schema:
  20343. items:
  20344. $ref: '#/definitions/models.QhjBrokerApply'
  20345. type: array
  20346. "500":
  20347. description: Internal Server Error
  20348. schema:
  20349. $ref: '#/definitions/app.Response'
  20350. security:
  20351. - ApiKeyAuth: []
  20352. summary: 查询经纪人申请
  20353. tags:
  20354. - 大连千海金
  20355. /Qhj/QueryBrokerApplyEx:
  20356. get:
  20357. parameters:
  20358. - description: 所属机构ID
  20359. in: query
  20360. name: userid
  20361. type: integer
  20362. produces:
  20363. - application/json
  20364. responses:
  20365. "200":
  20366. description: OK
  20367. schema:
  20368. items:
  20369. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20370. type: array
  20371. "500":
  20372. description: Internal Server Error
  20373. schema:
  20374. $ref: '#/definitions/app.Response'
  20375. security:
  20376. - ApiKeyAuth: []
  20377. summary: 查询经纪人信息和申请记录
  20378. tags:
  20379. - 大连千海金
  20380. /Qhj/QueryBrokerRewardLog:
  20381. get:
  20382. parameters:
  20383. - description: 用户ID
  20384. in: query
  20385. name: userid
  20386. required: true
  20387. type: integer
  20388. - description: 开始交易日(yyyymmdd)
  20389. in: query
  20390. name: begindate
  20391. type: string
  20392. - description: 结束交易日(yyyymmdd)
  20393. in: query
  20394. name: enddate
  20395. type: string
  20396. produces:
  20397. - application/json
  20398. responses:
  20399. "200":
  20400. description: OK
  20401. schema:
  20402. items:
  20403. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20404. type: array
  20405. "500":
  20406. description: Internal Server Error
  20407. schema:
  20408. $ref: '#/definitions/app.Response'
  20409. security:
  20410. - ApiKeyAuth: []
  20411. summary: 查询奖励流水(我的奖励)
  20412. tags:
  20413. - 大连千海金
  20414. /Qhj/QueryContract:
  20415. get:
  20416. parameters:
  20417. - description: 用户ID
  20418. in: query
  20419. name: userid
  20420. type: integer
  20421. - description: scf合同id
  20422. in: query
  20423. name: scfcontractid
  20424. type: integer
  20425. produces:
  20426. - application/json
  20427. responses:
  20428. "200":
  20429. description: OK
  20430. schema:
  20431. items:
  20432. $ref: '#/definitions/models.QhjContract'
  20433. type: array
  20434. "500":
  20435. description: Internal Server Error
  20436. schema:
  20437. $ref: '#/definitions/app.Response'
  20438. security:
  20439. - ApiKeyAuth: []
  20440. summary: 查询融资明细(合同)
  20441. tags:
  20442. - 大连千海金
  20443. /Qhj/QueryContractLog:
  20444. get:
  20445. parameters:
  20446. - description: scf合同id
  20447. in: query
  20448. name: scfcontractid
  20449. required: true
  20450. type: integer
  20451. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20452. in: query
  20453. name: amounttype
  20454. type: string
  20455. produces:
  20456. - application/json
  20457. responses:
  20458. "200":
  20459. description: OK
  20460. schema:
  20461. items:
  20462. $ref: '#/definitions/models.QhjContractLog'
  20463. type: array
  20464. "500":
  20465. description: Internal Server Error
  20466. schema:
  20467. $ref: '#/definitions/app.Response'
  20468. security:
  20469. - ApiKeyAuth: []
  20470. summary: 查询融资明细流水(融资明细详情页中的流水)
  20471. tags:
  20472. - 大连千海金
  20473. /Qhj/QueryCusBankSignBank:
  20474. get:
  20475. produces:
  20476. - application/json
  20477. responses:
  20478. "200":
  20479. description: OK
  20480. schema:
  20481. items:
  20482. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20483. type: array
  20484. "500":
  20485. description: Internal Server Error
  20486. schema:
  20487. $ref: '#/definitions/app.Response'
  20488. security:
  20489. - ApiKeyAuth: []
  20490. summary: 查询托管银行
  20491. tags:
  20492. - 大连千海金
  20493. /Qhj/QueryCustomerInfo:
  20494. get:
  20495. parameters:
  20496. - description: 用户ID
  20497. in: query
  20498. name: userid
  20499. required: true
  20500. type: integer
  20501. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20502. in: query
  20503. name: querytype
  20504. required: true
  20505. type: integer
  20506. - description: 客户类型 1-个人 2-企业
  20507. in: query
  20508. name: userinfotype
  20509. type: integer
  20510. - description: 客户名称(模糊匹配)
  20511. in: query
  20512. name: customername
  20513. type: string
  20514. - description: 昵称(模糊匹配)
  20515. in: query
  20516. name: nickname
  20517. type: string
  20518. - description: 是否包含子级 1-包含
  20519. in: query
  20520. name: includesub
  20521. type: integer
  20522. produces:
  20523. - application/json
  20524. responses:
  20525. "200":
  20526. description: OK
  20527. schema:
  20528. items:
  20529. $ref: '#/definitions/models.QhjCustomer'
  20530. type: array
  20531. "500":
  20532. description: Internal Server Error
  20533. schema:
  20534. $ref: '#/definitions/app.Response'
  20535. security:
  20536. - ApiKeyAuth: []
  20537. summary: 查询客户资料
  20538. tags:
  20539. - 大连千海金
  20540. /Qhj/QueryGoodsEx:
  20541. get:
  20542. parameters:
  20543. - description: 商品id
  20544. in: query
  20545. name: goodsid
  20546. type: integer
  20547. produces:
  20548. - application/json
  20549. responses:
  20550. "200":
  20551. description: OK
  20552. schema:
  20553. items:
  20554. $ref: '#/definitions/models.Qhjgoodsex'
  20555. type: array
  20556. "500":
  20557. description: Internal Server Error
  20558. schema:
  20559. $ref: '#/definitions/app.Response'
  20560. security:
  20561. - ApiKeyAuth: []
  20562. summary: 交易商品扩展表
  20563. tags:
  20564. - 大连千海金
  20565. /Qhj/QueryMyTeam:
  20566. get:
  20567. parameters:
  20568. - description: 用户ID
  20569. in: query
  20570. name: userid
  20571. required: true
  20572. type: integer
  20573. produces:
  20574. - application/json
  20575. responses:
  20576. "200":
  20577. description: OK
  20578. schema:
  20579. items:
  20580. $ref: '#/definitions/models.QhjMyTeamEx'
  20581. type: array
  20582. "500":
  20583. description: Internal Server Error
  20584. schema:
  20585. $ref: '#/definitions/app.Response'
  20586. security:
  20587. - ApiKeyAuth: []
  20588. summary: 查询我的团队
  20589. tags:
  20590. - 大连千海金
  20591. /Qhj/QueryMyTeamOrder:
  20592. get:
  20593. parameters:
  20594. - description: 页码
  20595. in: query
  20596. name: page
  20597. type: integer
  20598. - description: 每页条数
  20599. in: query
  20600. name: pagesize
  20601. type: integer
  20602. - description: 用户ID
  20603. in: query
  20604. name: userid
  20605. required: true
  20606. type: integer
  20607. - description: 交易模式
  20608. in: query
  20609. name: trademode
  20610. type: integer
  20611. - description: 名称(模糊搜索账户)
  20612. in: query
  20613. name: filtername
  20614. type: string
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. items:
  20622. $ref: '#/definitions/models.QhjTeamOrder'
  20623. type: array
  20624. "500":
  20625. description: Internal Server Error
  20626. schema:
  20627. $ref: '#/definitions/app.Response'
  20628. security:
  20629. - ApiKeyAuth: []
  20630. summary: 查询团队订单(我的团队/团队订单)
  20631. tags:
  20632. - 大连千海金
  20633. /Qhj/QueryParentAreaList:
  20634. get:
  20635. parameters:
  20636. - description: 用户ID
  20637. in: query
  20638. name: userid
  20639. required: true
  20640. type: integer
  20641. produces:
  20642. - application/json
  20643. responses:
  20644. "200":
  20645. description: OK
  20646. schema:
  20647. items:
  20648. $ref: '#/definitions/models.QhjParentAreaList'
  20649. type: array
  20650. "500":
  20651. description: Internal Server Error
  20652. schema:
  20653. $ref: '#/definitions/app.Response'
  20654. security:
  20655. - ApiKeyAuth: []
  20656. summary: 查询所属机构列表
  20657. tags:
  20658. - 大连千海金
  20659. /Qhj/QueryPayOrder:
  20660. get:
  20661. parameters:
  20662. - description: 资金账号id
  20663. in: query
  20664. name: accountid
  20665. required: true
  20666. type: integer
  20667. - description: 成交单号
  20668. in: query
  20669. name: tradeid
  20670. type: integer
  20671. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20672. in: query
  20673. name: payflag
  20674. type: string
  20675. produces:
  20676. - application/json
  20677. responses:
  20678. "200":
  20679. description: OK
  20680. schema:
  20681. items:
  20682. $ref: '#/definitions/models.QhjPayOrder'
  20683. type: array
  20684. "500":
  20685. description: Internal Server Error
  20686. schema:
  20687. $ref: '#/definitions/app.Response'
  20688. security:
  20689. - ApiKeyAuth: []
  20690. summary: 查询待付款单据
  20691. tags:
  20692. - 大连千海金
  20693. /Qhj/QueryPickArea:
  20694. get:
  20695. parameters:
  20696. - description: 用户ID
  20697. in: query
  20698. name: userid
  20699. type: integer
  20700. produces:
  20701. - application/json
  20702. responses:
  20703. "200":
  20704. description: OK
  20705. schema:
  20706. items:
  20707. $ref: '#/definitions/models.QhjPickArea'
  20708. type: array
  20709. "500":
  20710. description: Internal Server Error
  20711. schema:
  20712. $ref: '#/definitions/app.Response'
  20713. security:
  20714. - ApiKeyAuth: []
  20715. summary: 查询提货门店
  20716. tags:
  20717. - 大连千海金
  20718. /Qhj/QueryPickGoods:
  20719. get:
  20720. parameters:
  20721. - description: 交易商品id
  20722. in: query
  20723. name: goodsid
  20724. required: true
  20725. type: integer
  20726. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20727. in: query
  20728. name: status
  20729. type: string
  20730. produces:
  20731. - application/json
  20732. responses:
  20733. "200":
  20734. description: OK
  20735. schema:
  20736. items:
  20737. $ref: '#/definitions/models.QhjPickGoods'
  20738. type: array
  20739. "500":
  20740. description: Internal Server Error
  20741. schema:
  20742. $ref: '#/definitions/app.Response'
  20743. security:
  20744. - ApiKeyAuth: []
  20745. summary: 查询提货商品
  20746. tags:
  20747. - 大连千海金
  20748. /Qhj/QueryRSTriggerLog:
  20749. get:
  20750. parameters:
  20751. - description: 用户ID
  20752. in: query
  20753. name: userid
  20754. type: integer
  20755. - description: 定投策略id
  20756. in: query
  20757. name: regularlystrategyid
  20758. type: integer
  20759. - description: 商品id
  20760. in: query
  20761. name: goodsid
  20762. type: integer
  20763. - description: 开始交易日(yyyymmdd)
  20764. in: query
  20765. name: begindate
  20766. type: string
  20767. - description: 结束交易日(yyyymmdd)
  20768. in: query
  20769. name: enddate
  20770. type: string
  20771. - description: 名称(模糊搜索账户)
  20772. in: query
  20773. name: filtername
  20774. type: string
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. items:
  20782. $ref: '#/definitions/models.QhjRSTriggerLog'
  20783. type: array
  20784. "500":
  20785. description: Internal Server Error
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. security:
  20789. - ApiKeyAuth: []
  20790. summary: 查询定投记录(定投管理/详情/定投记录)
  20791. tags:
  20792. - 大连千海金
  20793. /Qhj/QueryRStrategy:
  20794. get:
  20795. parameters:
  20796. - description: 用户ID
  20797. in: query
  20798. name: userid
  20799. type: integer
  20800. - description: 商品id
  20801. in: query
  20802. name: goodsid
  20803. type: integer
  20804. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  20805. in: query
  20806. name: status
  20807. type: string
  20808. - description: 名称(模糊搜索账户)
  20809. in: query
  20810. name: filtername
  20811. type: string
  20812. produces:
  20813. - application/json
  20814. responses:
  20815. "200":
  20816. description: OK
  20817. schema:
  20818. items:
  20819. $ref: '#/definitions/models.QhjRStrategy'
  20820. type: array
  20821. "500":
  20822. description: Internal Server Error
  20823. schema:
  20824. $ref: '#/definitions/app.Response'
  20825. security:
  20826. - ApiKeyAuth: []
  20827. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  20828. tags:
  20829. - 大连千海金
  20830. /Qhj/QueryReckonPriceLog:
  20831. get:
  20832. parameters:
  20833. - description: 商品ID
  20834. in: query
  20835. name: goodsid
  20836. type: integer
  20837. - description: 交易日 格式(yyyymmdd)
  20838. in: query
  20839. name: tradedate
  20840. type: string
  20841. produces:
  20842. - application/json
  20843. responses:
  20844. "200":
  20845. description: OK
  20846. schema:
  20847. items:
  20848. $ref: '#/definitions/models.QhjReckonPriceLog'
  20849. type: array
  20850. "500":
  20851. description: Internal Server Error
  20852. schema:
  20853. $ref: '#/definitions/app.Response'
  20854. security:
  20855. - ApiKeyAuth: []
  20856. summary: 查询定投价(结算价)
  20857. tags:
  20858. - 大连千海金
  20859. /Qhj/QueryScoreLog:
  20860. get:
  20861. parameters:
  20862. - description: 用户ID
  20863. in: query
  20864. name: userid
  20865. required: true
  20866. type: integer
  20867. - description: 开始交易日(yyyymmdd)
  20868. in: query
  20869. name: begindate
  20870. type: string
  20871. - description: 结束交易日(yyyymmdd)
  20872. in: query
  20873. name: enddate
  20874. type: string
  20875. - description: 最近多少条
  20876. in: query
  20877. name: lastnum
  20878. type: integer
  20879. produces:
  20880. - application/json
  20881. responses:
  20882. "200":
  20883. description: OK
  20884. schema:
  20885. items:
  20886. $ref: '#/definitions/models.QhjScoreLog'
  20887. type: array
  20888. "500":
  20889. description: Internal Server Error
  20890. schema:
  20891. $ref: '#/definitions/app.Response'
  20892. security:
  20893. - ApiKeyAuth: []
  20894. summary: 查询积分流水(我的积分)
  20895. tags:
  20896. - 大连千海金
  20897. /Qhj/QuerySiteColumnDetail:
  20898. get:
  20899. parameters:
  20900. - description: 用户ID
  20901. in: query
  20902. name: userid
  20903. required: true
  20904. type: integer
  20905. produces:
  20906. - application/json
  20907. responses:
  20908. "200":
  20909. description: OK
  20910. schema:
  20911. items:
  20912. $ref: '#/definitions/models.QhjSiteColumnDetail'
  20913. type: array
  20914. "500":
  20915. description: Internal Server Error
  20916. schema:
  20917. $ref: '#/definitions/app.Response'
  20918. security:
  20919. - ApiKeyAuth: []
  20920. summary: 查询资讯
  20921. tags:
  20922. - 大连千海金
  20923. /Qhj/QueryTradeGoodsPickup:
  20924. get:
  20925. parameters:
  20926. - description: 用户ID
  20927. in: query
  20928. name: userid
  20929. required: true
  20930. type: integer
  20931. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  20932. 7:已拒绝 8:已撤销
  20933. in: query
  20934. name: takeorderstatus
  20935. type: integer
  20936. produces:
  20937. - application/json
  20938. responses:
  20939. "200":
  20940. description: OK
  20941. schema:
  20942. items:
  20943. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  20944. type: array
  20945. "500":
  20946. description: Internal Server Error
  20947. schema:
  20948. $ref: '#/definitions/app.Response'
  20949. security:
  20950. - ApiKeyAuth: []
  20951. summary: 查询提货
  20952. tags:
  20953. - 大连千海金
  20954. /Qhj/QueryUserCollectConfig:
  20955. get:
  20956. parameters:
  20957. - description: 用户ID
  20958. in: query
  20959. name: userid
  20960. required: true
  20961. type: integer
  20962. produces:
  20963. - application/json
  20964. responses:
  20965. "200":
  20966. description: OK
  20967. schema:
  20968. items:
  20969. $ref: '#/definitions/models.UserCollectConfig'
  20970. type: array
  20971. "500":
  20972. description: Internal Server Error
  20973. schema:
  20974. $ref: '#/definitions/app.Response'
  20975. security:
  20976. - ApiKeyAuth: []
  20977. summary: 查询提现账户设置
  20978. tags:
  20979. - 大连千海金
  20980. /Qhj/QueryUserReceiveInfo:
  20981. get:
  20982. parameters:
  20983. - description: 用户ID
  20984. in: query
  20985. name: userid
  20986. required: true
  20987. type: integer
  20988. produces:
  20989. - application/json
  20990. responses:
  20991. "200":
  20992. description: OK
  20993. schema:
  20994. items:
  20995. $ref: '#/definitions/models.UserReceiveInfo'
  20996. type: array
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 查询收货地址信息
  21004. tags:
  21005. - 大连千海金
  21006. /QhjMgr/QueryAccountInOutApply:
  21007. get:
  21008. parameters:
  21009. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21010. in: query
  21011. name: querytype
  21012. required: true
  21013. type: integer
  21014. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21015. in: query
  21016. name: applystatus
  21017. type: integer
  21018. - description: 申请起始日期(格式yyyymmdd)
  21019. in: query
  21020. name: begindate
  21021. type: string
  21022. - description: 申请截止日期(格式yyyymmdd)
  21023. in: query
  21024. name: enddate
  21025. type: string
  21026. - description: 模糊搜索名称
  21027. in: query
  21028. name: likename
  21029. type: string
  21030. produces:
  21031. - application/json
  21032. responses:
  21033. "200":
  21034. description: OK
  21035. schema:
  21036. items:
  21037. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21038. type: array
  21039. "500":
  21040. description: Internal Server Error
  21041. schema:
  21042. $ref: '#/definitions/app.Response'
  21043. security:
  21044. - ApiKeyAuth: []
  21045. summary: 查询充值提现
  21046. tags:
  21047. - 大连千海金(PCWeb)
  21048. /QhjMgr/QueryBrokerApply:
  21049. get:
  21050. parameters:
  21051. - description: 所属机构ID
  21052. in: query
  21053. name: userid
  21054. type: integer
  21055. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21056. in: query
  21057. name: filterstatus
  21058. type: string
  21059. - description: 名称(模糊匹配)
  21060. in: query
  21061. name: filtername
  21062. type: string
  21063. - description: 是否包含子级 1-包含
  21064. in: query
  21065. name: includesub
  21066. type: integer
  21067. produces:
  21068. - application/json
  21069. responses:
  21070. "200":
  21071. description: OK
  21072. schema:
  21073. items:
  21074. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21075. type: array
  21076. "500":
  21077. description: Internal Server Error
  21078. schema:
  21079. $ref: '#/definitions/app.Response'
  21080. security:
  21081. - ApiKeyAuth: []
  21082. summary: 查询经纪人申请
  21083. tags:
  21084. - 大连千海金(PCWeb)
  21085. /QhjMgr/QueryBrokerRewardReport:
  21086. get:
  21087. parameters:
  21088. - description: 所属机构ID
  21089. in: query
  21090. name: userid
  21091. required: true
  21092. type: integer
  21093. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21094. in: query
  21095. name: cycletype
  21096. required: true
  21097. type: integer
  21098. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21099. in: query
  21100. name: cycletime
  21101. required: true
  21102. type: string
  21103. - description: 名称(模糊匹配)
  21104. in: query
  21105. name: filtername
  21106. type: string
  21107. - description: 是否包含子级 1-包含
  21108. in: query
  21109. name: includesub
  21110. type: integer
  21111. produces:
  21112. - application/json
  21113. responses:
  21114. "200":
  21115. description: OK
  21116. schema:
  21117. items:
  21118. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21119. type: array
  21120. "500":
  21121. description: Internal Server Error
  21122. schema:
  21123. $ref: '#/definitions/app.Response'
  21124. security:
  21125. - ApiKeyAuth: []
  21126. summary: 查询经纪人奖励报表(废弃)
  21127. tags:
  21128. - 大连千海金(PCWeb)
  21129. /QhjMgr/QueryContract:
  21130. get:
  21131. parameters:
  21132. - description: 用户ID
  21133. in: query
  21134. name: userid
  21135. type: integer
  21136. - description: 商品id
  21137. in: query
  21138. name: goodsid
  21139. type: integer
  21140. - description: 名称(模糊搜索账户)
  21141. in: query
  21142. name: filtername
  21143. type: string
  21144. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21145. in: query
  21146. name: risklevel
  21147. type: string
  21148. - description: 开始交易日(yyyymmdd)
  21149. in: query
  21150. name: begindate
  21151. type: string
  21152. - description: 结束交易日(yyyymmdd)
  21153. in: query
  21154. name: enddate
  21155. type: string
  21156. produces:
  21157. - application/json
  21158. responses:
  21159. "200":
  21160. description: OK
  21161. schema:
  21162. items:
  21163. $ref: '#/definitions/models.QhjMgrContract'
  21164. type: array
  21165. "500":
  21166. description: Internal Server Error
  21167. schema:
  21168. $ref: '#/definitions/app.Response'
  21169. security:
  21170. - ApiKeyAuth: []
  21171. summary: 查询融资信息(合同)
  21172. tags:
  21173. - 大连千海金(PCWeb)
  21174. /QhjMgr/QueryCustomerInfo:
  21175. get:
  21176. parameters:
  21177. - description: 用户ID
  21178. in: query
  21179. name: userid
  21180. required: true
  21181. type: integer
  21182. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21183. in: query
  21184. name: querytype
  21185. required: true
  21186. type: integer
  21187. - description: 客户类型 1-个人 2-企业
  21188. in: query
  21189. name: userinfotype
  21190. type: integer
  21191. - description: 客户名称(模糊匹配)
  21192. in: query
  21193. name: customername
  21194. type: string
  21195. - description: 昵称(模糊匹配)
  21196. in: query
  21197. name: nickname
  21198. type: string
  21199. - description: 是否包含子级 1-包含
  21200. in: query
  21201. name: includesub
  21202. type: integer
  21203. produces:
  21204. - application/json
  21205. responses:
  21206. "200":
  21207. description: OK
  21208. schema:
  21209. items:
  21210. $ref: '#/definitions/models.QhjMgrCustomer'
  21211. type: array
  21212. "500":
  21213. description: Internal Server Error
  21214. schema:
  21215. $ref: '#/definitions/app.Response'
  21216. security:
  21217. - ApiKeyAuth: []
  21218. summary: 查询客户资料
  21219. tags:
  21220. - 大连千海金(PCWeb)
  21221. /QhjMgr/QueryPickGoods:
  21222. get:
  21223. parameters:
  21224. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21225. in: query
  21226. name: status
  21227. type: string
  21228. produces:
  21229. - application/json
  21230. responses:
  21231. "200":
  21232. description: OK
  21233. schema:
  21234. items:
  21235. $ref: '#/definitions/models.QhjMgrPickGoods'
  21236. type: array
  21237. "500":
  21238. description: Internal Server Error
  21239. schema:
  21240. $ref: '#/definitions/app.Response'
  21241. security:
  21242. - ApiKeyAuth: []
  21243. summary: 查询提货商品
  21244. tags:
  21245. - 大连千海金(PCWeb)
  21246. /QhjMgr/QuerySubArea:
  21247. get:
  21248. parameters:
  21249. - description: 用户ID
  21250. in: query
  21251. name: userid
  21252. required: true
  21253. type: integer
  21254. produces:
  21255. - application/json
  21256. responses:
  21257. "200":
  21258. description: OK
  21259. schema:
  21260. items:
  21261. $ref: '#/definitions/models.QhjMgrSubArea'
  21262. type: array
  21263. "500":
  21264. description: Internal Server Error
  21265. schema:
  21266. $ref: '#/definitions/app.Response'
  21267. security:
  21268. - ApiKeyAuth: []
  21269. summary: 查询子机构列表
  21270. tags:
  21271. - 大连千海金(PCWeb)
  21272. /QhjMgr/QueryTradeDetail:
  21273. get:
  21274. parameters:
  21275. - description: 用户ID
  21276. in: query
  21277. name: userid
  21278. required: true
  21279. type: integer
  21280. - description: 用户类型 1-个人 2-企业
  21281. in: query
  21282. name: userinfotype
  21283. type: integer
  21284. - description: 交易模式
  21285. in: query
  21286. name: trademode
  21287. type: integer
  21288. - description: 商品id
  21289. in: query
  21290. name: goodsid
  21291. type: integer
  21292. - description: 名称(模糊搜索账户)
  21293. in: query
  21294. name: filtername
  21295. type: string
  21296. - description: 开始交易日(yyyymmdd)
  21297. in: query
  21298. name: begindate
  21299. type: string
  21300. - description: 结束交易日(yyyymmdd)
  21301. in: query
  21302. name: enddate
  21303. type: string
  21304. - description: 是否包含子级 1-包含
  21305. in: query
  21306. name: includesub
  21307. type: integer
  21308. produces:
  21309. - application/json
  21310. responses:
  21311. "200":
  21312. description: OK
  21313. schema:
  21314. items:
  21315. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21316. type: array
  21317. "500":
  21318. description: Internal Server Error
  21319. schema:
  21320. $ref: '#/definitions/app.Response'
  21321. security:
  21322. - ApiKeyAuth: []
  21323. summary: 查询成交明细
  21324. tags:
  21325. - 大连千海金(PCWeb)
  21326. /QhjMgr/QueryTradeOrderDetail:
  21327. get:
  21328. parameters:
  21329. - description: 用户ID
  21330. in: query
  21331. name: userid
  21332. required: true
  21333. type: integer
  21334. - description: 用户类型 1-个人 2-企业
  21335. in: query
  21336. name: userinfotype
  21337. type: integer
  21338. - description: 交易模式
  21339. in: query
  21340. name: trademode
  21341. type: integer
  21342. - description: 商品id
  21343. in: query
  21344. name: goodsid
  21345. type: integer
  21346. - description: 名称(模糊搜索账户)
  21347. in: query
  21348. name: filtername
  21349. type: string
  21350. - description: 开始交易日(yyyymmdd)
  21351. in: query
  21352. name: begindate
  21353. type: string
  21354. - description: 结束交易日(yyyymmdd)
  21355. in: query
  21356. name: enddate
  21357. type: string
  21358. - description: 是否包含子级 1-包含
  21359. in: query
  21360. name: includesub
  21361. type: integer
  21362. produces:
  21363. - application/json
  21364. responses:
  21365. "200":
  21366. description: OK
  21367. schema:
  21368. items:
  21369. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21370. type: array
  21371. "500":
  21372. description: Internal Server Error
  21373. schema:
  21374. $ref: '#/definitions/app.Response'
  21375. security:
  21376. - ApiKeyAuth: []
  21377. summary: 查询委托明细
  21378. tags:
  21379. - 大连千海金(PCWeb)
  21380. /QhjMgr/QueryTradePayOrder:
  21381. get:
  21382. parameters:
  21383. - description: 用户ID
  21384. in: query
  21385. name: userid
  21386. required: true
  21387. type: integer
  21388. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21389. in: query
  21390. name: payflag
  21391. type: string
  21392. - description: 用户类型 1-个人 2-企业
  21393. in: query
  21394. name: userinfotype
  21395. type: integer
  21396. - description: 交易模式
  21397. in: query
  21398. name: trademode
  21399. type: integer
  21400. - description: 商品id
  21401. in: query
  21402. name: goodsid
  21403. type: integer
  21404. - description: 名称(模糊搜索账户)
  21405. in: query
  21406. name: filtername
  21407. type: string
  21408. - description: 开始交易日(yyyymmdd)
  21409. in: query
  21410. name: begindate
  21411. type: string
  21412. - description: 结束交易日(yyyymmdd)
  21413. in: query
  21414. name: enddate
  21415. type: string
  21416. - description: 是否包含子级 1-包含
  21417. in: query
  21418. name: includesub
  21419. type: integer
  21420. produces:
  21421. - application/json
  21422. responses:
  21423. "200":
  21424. description: OK
  21425. schema:
  21426. items:
  21427. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21428. type: array
  21429. "500":
  21430. description: Internal Server Error
  21431. schema:
  21432. $ref: '#/definitions/app.Response'
  21433. security:
  21434. - ApiKeyAuth: []
  21435. summary: 查询待付款单
  21436. tags:
  21437. - 大连千海金(PCWeb)
  21438. /QhjMgr/QueryTradePosition:
  21439. get:
  21440. parameters:
  21441. - description: 用户ID
  21442. in: query
  21443. name: userid
  21444. required: true
  21445. type: integer
  21446. - description: 用户类型 1-个人 2-企业
  21447. in: query
  21448. name: userinfotype
  21449. type: integer
  21450. - description: 交易模式
  21451. in: query
  21452. name: trademode
  21453. type: integer
  21454. - description: 商品id
  21455. in: query
  21456. name: goodsid
  21457. type: integer
  21458. - description: 名称(模糊搜索账户)
  21459. in: query
  21460. name: filtername
  21461. type: string
  21462. - description: 是否包含子级 1-包含
  21463. in: query
  21464. name: includesub
  21465. type: integer
  21466. produces:
  21467. - application/json
  21468. responses:
  21469. "200":
  21470. description: OK
  21471. schema:
  21472. items:
  21473. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21474. type: array
  21475. "500":
  21476. description: Internal Server Error
  21477. schema:
  21478. $ref: '#/definitions/app.Response'
  21479. security:
  21480. - ApiKeyAuth: []
  21481. summary: 查询持仓汇总
  21482. tags:
  21483. - 大连千海金(PCWeb)
  21484. /QhjSys/QueryAgreementChangeLog:
  21485. get:
  21486. parameters:
  21487. - description: 协议ID
  21488. in: query
  21489. name: agreementid
  21490. type: integer
  21491. - description: 协议版本号
  21492. in: query
  21493. name: agreementversion
  21494. type: integer
  21495. - description: 协议类型 - 1:注册 2:登录 3:交易
  21496. in: query
  21497. name: agreementtype
  21498. type: integer
  21499. - description: 协议编号(模糊匹配)
  21500. in: query
  21501. name: agreementno
  21502. type: string
  21503. - description: 协议名称(模糊匹配)
  21504. in: query
  21505. name: agreementname
  21506. type: string
  21507. produces:
  21508. - application/json
  21509. responses:
  21510. "200":
  21511. description: OK
  21512. schema:
  21513. items:
  21514. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21515. type: array
  21516. "500":
  21517. description: Internal Server Error
  21518. schema:
  21519. $ref: '#/definitions/app.Response'
  21520. security:
  21521. - ApiKeyAuth: []
  21522. summary: 查询协议配置变更流水
  21523. tags:
  21524. - 大连千海金(协议和签约信息)
  21525. /QhjSys/QueryAgreementConfig:
  21526. get:
  21527. parameters:
  21528. - description: 协议ID
  21529. in: query
  21530. name: agreementid
  21531. type: integer
  21532. - description: 协议版本号
  21533. in: query
  21534. name: agreementversion
  21535. type: integer
  21536. - description: 协议类型 - 1:注册 2:登录 3:交易
  21537. in: query
  21538. name: agreementtype
  21539. type: integer
  21540. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21541. in: query
  21542. name: isvalid
  21543. type: integer
  21544. - description: 协议编号(模糊匹配)
  21545. in: query
  21546. name: agreementno
  21547. type: string
  21548. - description: 协议名称(模糊匹配)
  21549. in: query
  21550. name: agreementname
  21551. type: string
  21552. produces:
  21553. - application/json
  21554. responses:
  21555. "200":
  21556. description: OK
  21557. schema:
  21558. items:
  21559. $ref: '#/definitions/models.QhjAgreementConfig'
  21560. type: array
  21561. "500":
  21562. description: Internal Server Error
  21563. schema:
  21564. $ref: '#/definitions/app.Response'
  21565. security:
  21566. - ApiKeyAuth: []
  21567. summary: 查询协议配置
  21568. tags:
  21569. - 大连千海金(协议和签约信息)
  21570. /QhjSys/QueryCustomerSignStatus:
  21571. get:
  21572. parameters:
  21573. - description: 客户ID
  21574. in: query
  21575. name: userid
  21576. type: integer
  21577. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  21578. in: query
  21579. name: nodetype
  21580. type: integer
  21581. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21582. in: query
  21583. name: goodsid
  21584. type: integer
  21585. - description: 创建交易日(yyyyMMdd)
  21586. in: query
  21587. name: tradedate
  21588. type: string
  21589. - description: 用户名称(模糊匹配)
  21590. in: query
  21591. name: username
  21592. type: string
  21593. produces:
  21594. - application/json
  21595. responses:
  21596. "200":
  21597. description: OK
  21598. schema:
  21599. items:
  21600. $ref: '#/definitions/models.QhjCustomerSignStatus'
  21601. type: array
  21602. "500":
  21603. description: Internal Server Error
  21604. schema:
  21605. $ref: '#/definitions/app.Response'
  21606. security:
  21607. - ApiKeyAuth: []
  21608. summary: 查询客户协议签约状态
  21609. tags:
  21610. - 大连千海金(协议和签约信息)
  21611. /QhjSys/QueryNodeAgreementConfig:
  21612. get:
  21613. parameters:
  21614. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21615. in: query
  21616. name: configid
  21617. type: integer
  21618. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21619. in: query
  21620. name: nodetype
  21621. type: integer
  21622. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21623. in: query
  21624. name: goodsid
  21625. type: integer
  21626. - description: 协议ID
  21627. in: query
  21628. name: agreementid
  21629. type: integer
  21630. - description: 协议类型 - 1:注册 2:登录 3:交易
  21631. in: query
  21632. name: agreementtype
  21633. type: integer
  21634. - description: 协议版本号
  21635. in: query
  21636. name: agreementversion
  21637. type: integer
  21638. - description: 协议编号(模糊匹配)
  21639. in: query
  21640. name: agreementno
  21641. type: string
  21642. - description: 协议名称(模糊匹配)
  21643. in: query
  21644. name: agreementname
  21645. type: string
  21646. produces:
  21647. - application/json
  21648. responses:
  21649. "200":
  21650. description: OK
  21651. schema:
  21652. items:
  21653. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  21654. type: array
  21655. "500":
  21656. description: Internal Server Error
  21657. schema:
  21658. $ref: '#/definitions/app.Response'
  21659. security:
  21660. - ApiKeyAuth: []
  21661. summary: 查询协议节点配置
  21662. tags:
  21663. - 大连千海金(协议和签约信息)
  21664. /QhjSys/QueryQhjCustomerSignLog:
  21665. get:
  21666. parameters:
  21667. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  21668. in: query
  21669. name: logid
  21670. type: integer
  21671. - description: 客户ID
  21672. in: query
  21673. name: userid
  21674. type: integer
  21675. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21676. in: query
  21677. name: nodetype
  21678. type: integer
  21679. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21680. in: query
  21681. name: goodsid
  21682. type: integer
  21683. - description: 协议ID
  21684. in: query
  21685. name: agreementid
  21686. type: integer
  21687. - description: 用户名称(模糊匹配)
  21688. in: query
  21689. name: username
  21690. type: string
  21691. - description: 协议编号(模糊匹配)
  21692. in: query
  21693. name: agreementno
  21694. type: string
  21695. - description: 协议名称(模糊匹配)
  21696. in: query
  21697. name: agreementname
  21698. type: string
  21699. produces:
  21700. - application/json
  21701. responses:
  21702. "200":
  21703. description: OK
  21704. schema:
  21705. items:
  21706. $ref: '#/definitions/models.QhjCustomerSignLog'
  21707. type: array
  21708. "500":
  21709. description: Internal Server Error
  21710. schema:
  21711. $ref: '#/definitions/app.Response'
  21712. security:
  21713. - ApiKeyAuth: []
  21714. summary: 查询客户协议签约流水
  21715. tags:
  21716. - 大连千海金(协议和签约信息)
  21717. /QhjSys/QueryUserNodeCfgAndStatus:
  21718. get:
  21719. parameters:
  21720. - description: 客户ID
  21721. in: query
  21722. name: userid
  21723. type: integer
  21724. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21725. in: query
  21726. name: configid
  21727. type: integer
  21728. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21729. in: query
  21730. name: nodetype
  21731. type: string
  21732. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21733. in: query
  21734. name: goodsid
  21735. type: integer
  21736. - description: 协议ID
  21737. in: query
  21738. name: agreementid
  21739. type: integer
  21740. - description: 协议类型 - 1:注册 2:登录 3:交易
  21741. in: query
  21742. name: agreementtype
  21743. type: integer
  21744. - description: 协议版本号
  21745. in: query
  21746. name: agreementversion
  21747. type: integer
  21748. - description: 协议编号(模糊匹配)
  21749. in: query
  21750. name: agreementno
  21751. type: string
  21752. - description: 协议名称(模糊匹配)
  21753. in: query
  21754. name: agreementname
  21755. type: string
  21756. produces:
  21757. - application/json
  21758. responses:
  21759. "200":
  21760. description: OK
  21761. schema:
  21762. items:
  21763. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  21764. type: array
  21765. "500":
  21766. description: Internal Server Error
  21767. schema:
  21768. $ref: '#/definitions/app.Response'
  21769. security:
  21770. - ApiKeyAuth: []
  21771. summary: 查询用户协议节点配置和状态
  21772. tags:
  21773. - 大连千海金(协议和签约信息)
  21774. /Quote/QueryHistoryDatas:
  21775. get:
  21776. parameters:
  21777. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  21778. 日线'
  21779. in: query
  21780. name: cycleType
  21781. required: true
  21782. type: integer
  21783. - description: 商品代码
  21784. in: query
  21785. name: goodsCode
  21786. required: true
  21787. type: string
  21788. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21789. in: query
  21790. name: startTime
  21791. type: string
  21792. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21793. in: query
  21794. name: endTime
  21795. type: string
  21796. - description: 条数
  21797. in: query
  21798. name: count
  21799. type: integer
  21800. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21801. in: query
  21802. name: isAsc
  21803. type: boolean
  21804. produces:
  21805. - application/json
  21806. responses:
  21807. "200":
  21808. description: OK
  21809. schema:
  21810. $ref: '#/definitions/quote.HistoryData'
  21811. "500":
  21812. description: Internal Server Error
  21813. schema:
  21814. $ref: '#/definitions/app.Response'
  21815. security:
  21816. - ApiKeyAuth: []
  21817. summary: 查询行情历史数据
  21818. tags:
  21819. - 行情服务
  21820. /Quote/QueryHistoryTikDatas:
  21821. get:
  21822. parameters:
  21823. - description: 商品代码
  21824. in: query
  21825. name: goodsCode
  21826. required: true
  21827. type: string
  21828. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21829. in: query
  21830. name: startTime
  21831. type: string
  21832. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21833. in: query
  21834. name: endTime
  21835. type: string
  21836. - description: 条数
  21837. in: query
  21838. name: count
  21839. type: integer
  21840. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21841. in: query
  21842. name: isAsc
  21843. type: boolean
  21844. produces:
  21845. - application/json
  21846. responses:
  21847. "200":
  21848. description: OK
  21849. schema:
  21850. $ref: '#/definitions/quote.HistoryTikData'
  21851. "500":
  21852. description: Internal Server Error
  21853. schema:
  21854. $ref: '#/definitions/app.Response'
  21855. security:
  21856. - ApiKeyAuth: []
  21857. summary: 查询行情Tik数据
  21858. tags:
  21859. - 行情服务
  21860. /Quote/QueryQuoteDay:
  21861. get:
  21862. parameters:
  21863. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  21864. in: query
  21865. name: goodsCodes
  21866. required: true
  21867. type: string
  21868. produces:
  21869. - application/json
  21870. responses:
  21871. "200":
  21872. description: OK
  21873. schema:
  21874. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  21875. "500":
  21876. description: Internal Server Error
  21877. schema:
  21878. $ref: '#/definitions/app.Response'
  21879. security:
  21880. - ApiKeyAuth: []
  21881. summary: 获取商品盘面信息
  21882. tags:
  21883. - 行情服务
  21884. /Quote/QueryTSData:
  21885. get:
  21886. parameters:
  21887. - description: 商品代码
  21888. in: query
  21889. name: goodsCode
  21890. required: true
  21891. type: string
  21892. produces:
  21893. - application/json
  21894. responses:
  21895. "200":
  21896. description: OK
  21897. schema:
  21898. $ref: '#/definitions/quote.QueryTSDataRsp'
  21899. "500":
  21900. description: Internal Server Error
  21901. schema:
  21902. $ref: '#/definitions/app.Response'
  21903. security:
  21904. - ApiKeyAuth: []
  21905. summary: 分时图数据查询
  21906. tags:
  21907. - 行情服务
  21908. /SZDZ/QueryConvertConfig:
  21909. get:
  21910. parameters:
  21911. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  21912. 6:交易转花生米(不设置)
  21913. in: query
  21914. name: convertType
  21915. type: integer
  21916. - description: 外部商品代码[JD\PD]
  21917. in: query
  21918. name: outerGoodsCode
  21919. type: string
  21920. - description: 内部商品ID列表[交易],格式:1,2,3
  21921. in: query
  21922. name: innerGoodsIDs
  21923. type: string
  21924. produces:
  21925. - application/json
  21926. responses:
  21927. "200":
  21928. description: OK
  21929. schema:
  21930. $ref: '#/definitions/models.Szdz3convertconfig'
  21931. "500":
  21932. description: Internal Server Error
  21933. schema:
  21934. $ref: '#/definitions/app.Response'
  21935. security:
  21936. - ApiKeyAuth: []
  21937. summary: 查询交易系统转换设置
  21938. tags:
  21939. - 定制【尚志大宗】
  21940. /SZDZ/QueryConvertLog:
  21941. get:
  21942. parameters:
  21943. - description: 资金账户 - 格式:1,2,3
  21944. in: query
  21945. name: accountID
  21946. required: true
  21947. type: string
  21948. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21949. in: query
  21950. name: startDate
  21951. type: string
  21952. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21953. in: query
  21954. name: endDate
  21955. type: string
  21956. produces:
  21957. - application/json
  21958. responses:
  21959. "200":
  21960. description: OK
  21961. schema:
  21962. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  21963. "500":
  21964. description: Internal Server Error
  21965. schema:
  21966. $ref: '#/definitions/app.Response'
  21967. security:
  21968. - ApiKeyAuth: []
  21969. summary: 交易系统转换流水查询
  21970. tags:
  21971. - 定制【尚志大宗】
  21972. /SZDZ/QueryGoodsPickup:
  21973. get:
  21974. parameters:
  21975. - description: 资金账户 - 格式:1,2,3
  21976. in: query
  21977. name: accountID
  21978. required: true
  21979. type: string
  21980. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21981. in: query
  21982. name: takeOrderStatus
  21983. type: integer
  21984. produces:
  21985. - application/json
  21986. responses:
  21987. "200":
  21988. description: OK
  21989. schema:
  21990. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  21991. "500":
  21992. description: Internal Server Error
  21993. schema:
  21994. $ref: '#/definitions/app.Response'
  21995. security:
  21996. - ApiKeyAuth: []
  21997. summary: 商品提货单查询
  21998. tags:
  21999. - 定制【尚志大宗】
  22000. /SZDZ/QueryRecieptOrder:
  22001. get:
  22002. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22003. parameters:
  22004. - description: 页码
  22005. in: query
  22006. name: page
  22007. type: integer
  22008. - description: 每页条数
  22009. in: query
  22010. name: pagesize
  22011. type: integer
  22012. - description: 商品ID
  22013. in: query
  22014. name: goodsID
  22015. required: true
  22016. type: integer
  22017. - description: 所属账户名称
  22018. in: query
  22019. name: accountName
  22020. type: string
  22021. - description: 市场ID
  22022. in: query
  22023. name: marketID
  22024. type: integer
  22025. - description: 方向 - 0:买 1:卖
  22026. in: query
  22027. name: buyorsell
  22028. required: true
  22029. type: integer
  22030. produces:
  22031. - application/json
  22032. responses:
  22033. "200":
  22034. description: OK
  22035. schema:
  22036. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22037. "500":
  22038. description: Internal Server Error
  22039. schema:
  22040. $ref: '#/definitions/app.Response'
  22041. security:
  22042. - ApiKeyAuth: []
  22043. summary: 点选挂牌委托单据查询(摘牌大厅)
  22044. tags:
  22045. - 定制【尚志大宗】
  22046. /SZDZ/QuerySZDZTradePosition:
  22047. get:
  22048. parameters:
  22049. - description: 资金账户
  22050. in: query
  22051. name: accountID
  22052. required: true
  22053. type: integer
  22054. produces:
  22055. - application/json
  22056. responses:
  22057. "200":
  22058. description: OK
  22059. schema:
  22060. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22061. "500":
  22062. description: Internal Server Error
  22063. schema:
  22064. $ref: '#/definitions/app.Response'
  22065. security:
  22066. - ApiKeyAuth: []
  22067. summary: 持仓汇总查询(尚志大宗)
  22068. tags:
  22069. - 定制【尚志大宗】
  22070. /SZDZ/SearchWhite:
  22071. get:
  22072. parameters:
  22073. - description: 用户ID
  22074. in: query
  22075. name: userID
  22076. required: true
  22077. type: integer
  22078. produces:
  22079. - application/json
  22080. responses:
  22081. "200":
  22082. description: OK
  22083. schema:
  22084. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22085. "500":
  22086. description: Internal Server Error
  22087. schema:
  22088. $ref: '#/definitions/app.Response'
  22089. security:
  22090. - ApiKeyAuth: []
  22091. summary: 搜索白名单
  22092. tags:
  22093. - 定制【尚志大宗】
  22094. /Search/SearchGoodses:
  22095. get:
  22096. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22097. parameters:
  22098. - description: 检索内容
  22099. in: query
  22100. name: content
  22101. required: true
  22102. type: string
  22103. - description: 交易模式,格式:1,2,3
  22104. in: query
  22105. name: tradeModes
  22106. type: string
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. $ref: '#/definitions/models.SearchGoods'
  22114. "500":
  22115. description: Internal Server Error
  22116. schema:
  22117. $ref: '#/definitions/app.Response'
  22118. summary: 检索商品信息
  22119. tags:
  22120. - 检索服务
  22121. /TaAccount/GetTaAccounts:
  22122. get:
  22123. parameters:
  22124. - description: 登录账户
  22125. in: query
  22126. name: loginID
  22127. required: true
  22128. type: integer
  22129. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22130. in: query
  22131. name: taAccountType
  22132. type: integer
  22133. produces:
  22134. - application/json
  22135. responses:
  22136. "200":
  22137. description: OK
  22138. schema:
  22139. $ref: '#/definitions/models.Taaccount'
  22140. "500":
  22141. description: Internal Server Error
  22142. schema:
  22143. $ref: '#/definitions/app.Response'
  22144. security:
  22145. - ApiKeyAuth: []
  22146. summary: 获取资金账户信息
  22147. tags:
  22148. - 资金账户
  22149. /TaAccount/QueryAmountLog:
  22150. get:
  22151. parameters:
  22152. - description: 页码
  22153. in: query
  22154. name: page
  22155. type: integer
  22156. - description: 每页条数
  22157. in: query
  22158. name: pagesize
  22159. type: integer
  22160. - description: 资金账户 - 格式:1,2,3
  22161. in: query
  22162. name: accountID
  22163. required: true
  22164. type: string
  22165. - description: 资金操作类型 - 格式:1,2,3
  22166. in: query
  22167. name: OperateType
  22168. type: string
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22176. "500":
  22177. description: Internal Server Error
  22178. schema:
  22179. $ref: '#/definitions/app.Response'
  22180. security:
  22181. - ApiKeyAuth: []
  22182. summary: 资金流水查询(当前)
  22183. tags:
  22184. - 资金账户
  22185. /TaAccount/QueryHisAmountLog:
  22186. get:
  22187. parameters:
  22188. - description: 页码
  22189. in: query
  22190. name: page
  22191. type: integer
  22192. - description: 每页条数
  22193. in: query
  22194. name: pagesize
  22195. type: integer
  22196. - description: 资金账户 - 格式:1,2,3
  22197. in: query
  22198. name: accountID
  22199. required: true
  22200. type: string
  22201. - description: 资金操作类型 - 格式:1,2,3
  22202. in: query
  22203. name: OperateType
  22204. type: string
  22205. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22206. in: query
  22207. name: startDate
  22208. type: string
  22209. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22210. in: query
  22211. name: endDate
  22212. type: string
  22213. produces:
  22214. - application/json
  22215. responses:
  22216. "200":
  22217. description: OK
  22218. schema:
  22219. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22220. "500":
  22221. description: Internal Server Error
  22222. schema:
  22223. $ref: '#/definitions/app.Response'
  22224. security:
  22225. - ApiKeyAuth: []
  22226. summary: 资金流水查询(历史)
  22227. tags:
  22228. - 资金账户
  22229. /Trade/QueryRecieptOrder:
  22230. get:
  22231. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22232. parameters:
  22233. - description: 页码
  22234. in: query
  22235. name: page
  22236. type: integer
  22237. - description: 每页条数
  22238. in: query
  22239. name: pagesize
  22240. type: integer
  22241. - description: 商品ID
  22242. in: query
  22243. name: goodsID
  22244. required: true
  22245. type: integer
  22246. - description: 所属账户名称
  22247. in: query
  22248. name: accountName
  22249. type: string
  22250. - description: 市场ID
  22251. in: query
  22252. name: marketID
  22253. type: integer
  22254. - description: 方向 - 0:买 1:卖
  22255. in: query
  22256. name: buyorsell
  22257. required: true
  22258. type: integer
  22259. produces:
  22260. - application/json
  22261. responses:
  22262. "200":
  22263. description: OK
  22264. schema:
  22265. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22266. "500":
  22267. description: Internal Server Error
  22268. schema:
  22269. $ref: '#/definitions/app.Response'
  22270. security:
  22271. - ApiKeyAuth: []
  22272. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22273. tags:
  22274. - 通用交易
  22275. /User/AddMessageBoard:
  22276. post:
  22277. parameters:
  22278. - description: 用户ID
  22279. in: query
  22280. name: userID
  22281. required: true
  22282. type: integer
  22283. - description: 留言信息
  22284. in: query
  22285. name: message
  22286. required: true
  22287. type: string
  22288. - description: 联系电话
  22289. in: query
  22290. name: contactNum
  22291. required: true
  22292. type: string
  22293. produces:
  22294. - application/json
  22295. responses:
  22296. "200":
  22297. description: OK
  22298. schema:
  22299. $ref: '#/definitions/app.Response'
  22300. "500":
  22301. description: Internal Server Error
  22302. schema:
  22303. $ref: '#/definitions/app.Response'
  22304. security:
  22305. - ApiKeyAuth: []
  22306. summary: 添加用户留言板信息
  22307. tags:
  22308. - 用户信息
  22309. /User/AddUserFavoriteGoods:
  22310. post:
  22311. parameters:
  22312. - description: 用户ID
  22313. in: query
  22314. name: userID
  22315. required: true
  22316. type: integer
  22317. - description: 商品ID
  22318. in: query
  22319. name: goodsID
  22320. required: true
  22321. type: integer
  22322. produces:
  22323. - application/json
  22324. responses:
  22325. "200":
  22326. description: OK
  22327. schema:
  22328. $ref: '#/definitions/app.Response'
  22329. "500":
  22330. description: Internal Server Error
  22331. schema:
  22332. $ref: '#/definitions/app.Response'
  22333. security:
  22334. - ApiKeyAuth: []
  22335. summary: 添加用户商品收藏信息
  22336. tags:
  22337. - 用户信息
  22338. /User/GetLoginID:
  22339. get:
  22340. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22341. parameters:
  22342. - description: 登录代码
  22343. in: query
  22344. name: username
  22345. required: true
  22346. type: string
  22347. produces:
  22348. - application/json
  22349. responses:
  22350. "200":
  22351. description: OK
  22352. schema:
  22353. $ref: '#/definitions/app.Response'
  22354. "500":
  22355. description: Internal Server Error
  22356. schema:
  22357. $ref: '#/definitions/app.Response'
  22358. summary: 获取登录ID
  22359. tags:
  22360. - 用户信息
  22361. /User/GetUserAccount:
  22362. get:
  22363. parameters:
  22364. - description: 用户ID
  22365. in: query
  22366. name: userID
  22367. required: true
  22368. type: integer
  22369. produces:
  22370. - application/json
  22371. responses:
  22372. "200":
  22373. description: OK
  22374. schema:
  22375. $ref: '#/definitions/models.Useraccount'
  22376. "500":
  22377. description: Internal Server Error
  22378. schema:
  22379. $ref: '#/definitions/app.Response'
  22380. security:
  22381. - ApiKeyAuth: []
  22382. summary: 获取用户账号信息
  22383. tags:
  22384. - 用户信息
  22385. /User/GetUserAuthStatus:
  22386. get:
  22387. parameters:
  22388. - description: 用户ID
  22389. in: query
  22390. name: userID
  22391. required: true
  22392. type: integer
  22393. produces:
  22394. - application/json
  22395. responses:
  22396. "200":
  22397. description: OK
  22398. schema:
  22399. $ref: '#/definitions/app.Response'
  22400. "500":
  22401. description: Internal Server Error
  22402. schema:
  22403. $ref: '#/definitions/app.Response'
  22404. security:
  22405. - ApiKeyAuth: []
  22406. summary: 获取用户实名认证状态
  22407. tags:
  22408. - 用户信息
  22409. /User/LoginQuery:
  22410. get:
  22411. parameters:
  22412. - description: 登录账号
  22413. in: query
  22414. name: loginID
  22415. required: true
  22416. type: integer
  22417. produces:
  22418. - application/json
  22419. responses:
  22420. "200":
  22421. description: OK
  22422. schema:
  22423. $ref: '#/definitions/user.LoginQueryRsp'
  22424. "500":
  22425. description: Internal Server Error
  22426. schema:
  22427. $ref: '#/definitions/app.Response'
  22428. security:
  22429. - ApiKeyAuth: []
  22430. summary: 账户登录后信息查询
  22431. tags:
  22432. - 用户信息
  22433. /User/QueryMessageBoard:
  22434. get:
  22435. parameters:
  22436. - description: 用户ID
  22437. in: query
  22438. name: userID
  22439. required: true
  22440. type: integer
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. $ref: '#/definitions/models.Messageboard'
  22448. "500":
  22449. description: Internal Server Error
  22450. schema:
  22451. $ref: '#/definitions/app.Response'
  22452. security:
  22453. - ApiKeyAuth: []
  22454. summary: 获取用户留言板信息
  22455. tags:
  22456. - 用户信息
  22457. /User/QueryUserFavoriteGoodses:
  22458. get:
  22459. parameters:
  22460. - description: 用户ID
  22461. in: query
  22462. name: userID
  22463. required: true
  22464. type: integer
  22465. produces:
  22466. - application/json
  22467. responses:
  22468. "200":
  22469. description: OK
  22470. schema:
  22471. $ref: '#/definitions/models.Userfavoritegoods'
  22472. "500":
  22473. description: Internal Server Error
  22474. schema:
  22475. $ref: '#/definitions/app.Response'
  22476. security:
  22477. - ApiKeyAuth: []
  22478. summary: 获取用户商品收藏信息
  22479. tags:
  22480. - 用户信息
  22481. /User/QueryUserInfo:
  22482. get:
  22483. parameters:
  22484. - description: 用户ID
  22485. in: query
  22486. name: userID
  22487. required: true
  22488. type: integer
  22489. - description: 是否解密
  22490. in: query
  22491. name: isDecrypt
  22492. type: boolean
  22493. produces:
  22494. - application/json
  22495. responses:
  22496. "200":
  22497. description: OK
  22498. schema:
  22499. $ref: '#/definitions/models.Userinfo'
  22500. "500":
  22501. description: Internal Server Error
  22502. schema:
  22503. $ref: '#/definitions/app.Response'
  22504. security:
  22505. - ApiKeyAuth: []
  22506. summary: 获取用户信息
  22507. tags:
  22508. - 用户信息
  22509. /User/QueryUserReferNum:
  22510. get:
  22511. parameters:
  22512. - description: 用户ID
  22513. in: query
  22514. name: userID
  22515. required: true
  22516. type: integer
  22517. produces:
  22518. - application/json
  22519. responses:
  22520. "200":
  22521. description: OK
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. "500":
  22525. description: Internal Server Error
  22526. schema:
  22527. $ref: '#/definitions/app.Response'
  22528. summary: 获取用户邀请码
  22529. tags:
  22530. - 用户信息
  22531. /User/RemoveUserFavoriteGoods:
  22532. post:
  22533. parameters:
  22534. - description: 用户ID
  22535. in: query
  22536. name: userID
  22537. required: true
  22538. type: integer
  22539. - description: 商品ID
  22540. in: query
  22541. name: goodsID
  22542. required: true
  22543. type: integer
  22544. produces:
  22545. - application/json
  22546. responses:
  22547. "200":
  22548. description: OK
  22549. schema:
  22550. $ref: '#/definitions/app.Response'
  22551. "500":
  22552. description: Internal Server Error
  22553. schema:
  22554. $ref: '#/definitions/app.Response'
  22555. security:
  22556. - ApiKeyAuth: []
  22557. summary: 移除用户商品收藏信息
  22558. tags:
  22559. - 用户信息
  22560. /User/UpdateUserAccountStatus:
  22561. post:
  22562. parameters:
  22563. - description: 用户ID
  22564. in: query
  22565. name: userID
  22566. required: true
  22567. type: integer
  22568. - description: 账户状态 - 4:正常 6:注销(停用)
  22569. in: query
  22570. name: accountStatus
  22571. required: true
  22572. type: integer
  22573. produces:
  22574. - application/json
  22575. responses:
  22576. "200":
  22577. description: OK
  22578. schema:
  22579. $ref: '#/definitions/app.Response'
  22580. "500":
  22581. description: Internal Server Error
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. security:
  22585. - ApiKeyAuth: []
  22586. summary: 更新用户状态
  22587. tags:
  22588. - 用户信息
  22589. /WRTrade/GetAllDeliveryGoods:
  22590. get:
  22591. produces:
  22592. - application/json
  22593. - application/json
  22594. responses:
  22595. "200":
  22596. description: OK
  22597. schema:
  22598. $ref: '#/definitions/app.Response'
  22599. "500":
  22600. description: Internal Server Error
  22601. schema:
  22602. $ref: '#/definitions/app.Response'
  22603. security:
  22604. - ApiKeyAuth: []
  22605. - ApiKeyAuth: []
  22606. summary: 获取带仓单分类的种类信息
  22607. tags:
  22608. - 仓单贸易
  22609. - 仓单贸易
  22610. /WrTrade2/QueryOrderQuote:
  22611. get:
  22612. parameters:
  22613. - description: 页码
  22614. in: query
  22615. name: page
  22616. type: integer
  22617. - description: 每页条数
  22618. in: query
  22619. name: pagesize
  22620. type: integer
  22621. - description: 仓单贸易市场id
  22622. in: query
  22623. name: marketid
  22624. type: integer
  22625. - description: 价格方式 - 1:固定价 2-浮动价
  22626. in: query
  22627. name: wrpricetype
  22628. required: true
  22629. type: integer
  22630. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,产能预售填0)
  22631. in: query
  22632. name: haswr
  22633. required: true
  22634. type: integer
  22635. - description: 商品名称(筛选条件)
  22636. in: query
  22637. name: wrstandardname
  22638. type: string
  22639. - description: 品牌名称(筛选条件)
  22640. in: query
  22641. name: brandname
  22642. type: string
  22643. - description: 仓库id(筛选条件)
  22644. in: query
  22645. name: warehouseid
  22646. type: integer
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.WrOrderQuote'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询大厅行情列表
  22663. tags:
  22664. - 仓单贸易v2
  22665. /WrTrade2/QueryOrderQuoteDetail:
  22666. get:
  22667. parameters:
  22668. - description: 页码
  22669. in: query
  22670. name: page
  22671. type: integer
  22672. - description: 每页条数
  22673. in: query
  22674. name: pagesize
  22675. type: integer
  22676. - description: 仓单贸易市场id
  22677. in: query
  22678. name: marketid
  22679. type: integer
  22680. - description: 价格方式 - 1:固定价 2-浮动价
  22681. in: query
  22682. name: wrpricetype
  22683. required: true
  22684. type: integer
  22685. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22686. in: query
  22687. name: haswr
  22688. required: true
  22689. type: integer
  22690. - description: 仓单要素id
  22691. in: query
  22692. name: wrfactortypeid
  22693. required: true
  22694. type: integer
  22695. - description: 期货商品id
  22696. in: query
  22697. name: goodsid
  22698. required: true
  22699. type: integer
  22700. - description: 买卖方向 0-买 1-卖
  22701. in: query
  22702. name: buyorsell
  22703. required: true
  22704. type: integer
  22705. produces:
  22706. - application/json
  22707. responses:
  22708. "200":
  22709. description: OK
  22710. schema:
  22711. items:
  22712. $ref: '#/definitions/models.WrOrderQuoteDetail'
  22713. type: array
  22714. "500":
  22715. description: Internal Server Error
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. security:
  22719. - ApiKeyAuth: []
  22720. summary: 查询买卖大厅
  22721. tags:
  22722. - 仓单贸易v2
  22723. /WrTrade2/QueryWrOrderDetail:
  22724. get:
  22725. description: 页面 现货仓单 | 预售仓单 -> 挂单
  22726. parameters:
  22727. - description: 页码
  22728. in: query
  22729. name: page
  22730. type: integer
  22731. - description: 每页条数
  22732. in: query
  22733. name: pagesize
  22734. type: integer
  22735. - description: 用户id
  22736. in: query
  22737. name: userid
  22738. required: true
  22739. type: integer
  22740. - description: 仓单贸易市场id
  22741. in: query
  22742. name: marketid
  22743. type: integer
  22744. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22745. in: query
  22746. name: haswr
  22747. required: true
  22748. type: integer
  22749. produces:
  22750. - application/json
  22751. responses:
  22752. "200":
  22753. description: OK
  22754. schema:
  22755. items:
  22756. $ref: '#/definitions/models.WrOrderDetail'
  22757. type: array
  22758. "500":
  22759. description: Internal Server Error
  22760. schema:
  22761. $ref: '#/definitions/app.Response'
  22762. security:
  22763. - ApiKeyAuth: []
  22764. summary: 查询仓单委托单(挂单)
  22765. tags:
  22766. - 仓单贸易v2
  22767. /WrTrade2/QueryWrPosition:
  22768. get:
  22769. description: 页面 现货仓单->现货汇总/库存汇总/现货明细 ; 预售仓单->订单汇总
  22770. parameters:
  22771. - description: 用户id
  22772. in: query
  22773. name: userid
  22774. required: true
  22775. type: integer
  22776. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细
  22777. in: query
  22778. name: querytype
  22779. required: true
  22780. type: integer
  22781. produces:
  22782. - application/json
  22783. responses:
  22784. "200":
  22785. description: OK
  22786. schema:
  22787. items:
  22788. $ref: '#/definitions/models.WrPosition'
  22789. type: array
  22790. "500":
  22791. description: Internal Server Error
  22792. schema:
  22793. $ref: '#/definitions/app.Response'
  22794. security:
  22795. - ApiKeyAuth: []
  22796. summary: 查询现货(预售)仓单持仓
  22797. tags:
  22798. - 仓单贸易v2
  22799. /WrTrade2/QueryWrSpecialMatchOrder:
  22800. get:
  22801. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  22802. parameters:
  22803. - description: 页码
  22804. in: query
  22805. name: page
  22806. type: integer
  22807. - description: 每页条数
  22808. in: query
  22809. name: pagesize
  22810. type: integer
  22811. - description: 用户id
  22812. in: query
  22813. name: userid
  22814. required: true
  22815. type: integer
  22816. - description: 仓单贸易市场id
  22817. in: query
  22818. name: marketid
  22819. type: integer
  22820. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22821. in: query
  22822. name: haswr
  22823. required: true
  22824. type: integer
  22825. produces:
  22826. - application/json
  22827. responses:
  22828. "200":
  22829. description: OK
  22830. schema:
  22831. items:
  22832. $ref: '#/definitions/models.WrSpecialMatchOrder'
  22833. type: array
  22834. "500":
  22835. description: Internal Server Error
  22836. schema:
  22837. $ref: '#/definitions/app.Response'
  22838. security:
  22839. - ApiKeyAuth: []
  22840. summary: 查询指定成交
  22841. tags:
  22842. - 仓单贸易v2
  22843. /WrTrade2/QueryWrTradeDetail:
  22844. get:
  22845. parameters:
  22846. - description: 页码
  22847. in: query
  22848. name: page
  22849. type: integer
  22850. - description: 每页条数
  22851. in: query
  22852. name: pagesize
  22853. type: integer
  22854. - description: 用户id
  22855. in: query
  22856. name: userid
  22857. required: true
  22858. type: integer
  22859. - description: 仓单贸易市场id
  22860. in: query
  22861. name: marketid
  22862. type: integer
  22863. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22864. in: query
  22865. name: haswr
  22866. required: true
  22867. type: integer
  22868. produces:
  22869. - application/json
  22870. responses:
  22871. "200":
  22872. description: OK
  22873. schema:
  22874. items:
  22875. $ref: '#/definitions/models.WrTradeDetail'
  22876. type: array
  22877. "500":
  22878. description: Internal Server Error
  22879. schema:
  22880. $ref: '#/definitions/app.Response'
  22881. security:
  22882. - ApiKeyAuth: []
  22883. summary: 查询仓单成交明细
  22884. tags:
  22885. - 仓单贸易v2
  22886. securityDefinitions:
  22887. ApiKeyAuth:
  22888. in: header
  22889. name: Authorization
  22890. type: apiKey
  22891. swagger: "2.0"