swagger.yaml 626 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744
  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.WrTradeDetail:
  13571. properties:
  13572. accountid:
  13573. description: 资金账号
  13574. type: integer
  13575. buyorsell:
  13576. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13577. type: integer
  13578. deliverygoodscode:
  13579. description: 品种代码
  13580. type: string
  13581. deliverygoodsid:
  13582. description: 品种ID
  13583. type: integer
  13584. deliverygoodsname:
  13585. description: 品种名称
  13586. type: string
  13587. deliverymonth:
  13588. description: 交收月
  13589. type: string
  13590. enumdicname:
  13591. description: 单位名称
  13592. type: string
  13593. haswr:
  13594. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13595. type: integer
  13596. marketid:
  13597. description: 市场ID
  13598. type: integer
  13599. matchaccountid:
  13600. description: 对手账号
  13601. type: integer
  13602. matchusername:
  13603. description: 对手方
  13604. type: string
  13605. optioncompare:
  13606. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13607. type: string
  13608. tradedate:
  13609. description: 交易日(yyyyMMdd)
  13610. type: string
  13611. tradeprice:
  13612. description: 成交价格
  13613. type: number
  13614. tradeqty:
  13615. description: 成交数量
  13616. type: number
  13617. tradetime:
  13618. description: 成交时间
  13619. type: string
  13620. userid:
  13621. description: 用户ID
  13622. type: integer
  13623. warehouseid:
  13624. description: 仓库ID
  13625. type: integer
  13626. warehousename:
  13627. description: 仓库名称
  13628. type: string
  13629. wrfactortypeid:
  13630. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13631. type: integer
  13632. wrfactortypename:
  13633. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13634. type: string
  13635. wrstandardcode:
  13636. description: 现货商品代码
  13637. type: string
  13638. wrstandardid:
  13639. description: 现货商品ID
  13640. type: integer
  13641. wrstandardname:
  13642. description: 商品名称
  13643. type: string
  13644. wrtradedetailid:
  13645. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13646. type: string
  13647. wrtradetype:
  13648. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13649. type: integer
  13650. wrtypename:
  13651. description: 商品
  13652. type: string
  13653. type: object
  13654. order.QueryHisTradeDetailRsp:
  13655. properties:
  13656. accountid:
  13657. description: 账户ID[报价币种]
  13658. type: integer
  13659. advanceratio:
  13660. description: 首付比率
  13661. type: number
  13662. buildtype:
  13663. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  13664. type: integer
  13665. buyorsell:
  13666. description: 方向 - 0:买 1:卖
  13667. type: integer
  13668. charge:
  13669. description: 手续费
  13670. type: number
  13671. closecharge:
  13672. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13673. type: number
  13674. closeexchagechargevalue:
  13675. description: 平仓交易所手续费设置值
  13676. type: number
  13677. closefeealgorithm:
  13678. description: 平仓手续费收取方式 1:比率 2:固定
  13679. type: integer
  13680. closememberchargevalue:
  13681. description: 平仓会员手续费设置值
  13682. type: number
  13683. closepl:
  13684. description: 平仓盈亏
  13685. type: number
  13686. closepl2:
  13687. description: 平仓盈亏[逐笔]
  13688. type: number
  13689. closeqty:
  13690. description: 平仓数量(先建后平操作 需要记录)
  13691. type: number
  13692. creditamount:
  13693. description: 授信金额
  13694. type: number
  13695. decimalplace:
  13696. description: 商品报价小数位
  13697. type: integer
  13698. enumdicname:
  13699. description: 单位名称
  13700. type: string
  13701. gcaccountid:
  13702. description: 账户ID[合约币种]
  13703. type: integer
  13704. goodscode:
  13705. description: 商品代码
  13706. type: string
  13707. goodsid:
  13708. description: 商品ID
  13709. type: integer
  13710. goodsname:
  13711. description: 商品名称
  13712. type: string
  13713. goodunitid:
  13714. description: 商品单位id
  13715. type: integer
  13716. histradedate:
  13717. description: 历史交易日
  13718. type: string
  13719. intclosepl:
  13720. description: 整型盈亏(用于交易结算试算平衡-收益权)
  13721. type: integer
  13722. isconfirmexercise:
  13723. description: 是否确认行权- 0:否 1:是
  13724. type: integer
  13725. ismain:
  13726. description: 是否主单 - 0:不是 1:是
  13727. type: integer
  13728. ispreexercise:
  13729. description: 是否预申报- 0:否 1:是
  13730. type: integer
  13731. isreckoned:
  13732. description: 是否结算 - 0:未结算 1:已结算
  13733. type: integer
  13734. isvaliddata:
  13735. description: 是否有效 - 0:无效 1:有效
  13736. type: integer
  13737. listingselecttype:
  13738. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13739. type: integer
  13740. marketid:
  13741. description: 市场ID
  13742. type: integer
  13743. marketname:
  13744. description: 市场名称
  13745. type: string
  13746. matchaccountid:
  13747. description: 对手账号id
  13748. type: integer
  13749. memberuserid:
  13750. description: 会员id 个人投资者 需要填写
  13751. type: integer
  13752. opencharge:
  13753. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  13754. type: number
  13755. openexchagechargevalue:
  13756. description: 建仓交易所手续费设置值
  13757. type: number
  13758. openfeealgorithm:
  13759. description: 建仓手续费收取方式 1:比率 2:固定
  13760. type: integer
  13761. openmemberchargevalue:
  13762. description: 建仓会员手续费设置值
  13763. type: number
  13764. openqty:
  13765. description: 开仓数量(先建后平操作 需要记录)
  13766. type: number
  13767. optiontype:
  13768. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13769. type: integer
  13770. orderid:
  13771. description: 委托单号
  13772. type: string
  13773. payamount:
  13774. description: 支付金额(付款金额)
  13775. type: number
  13776. performanceplanid:
  13777. description: 履约计划ID[期权]
  13778. type: integer
  13779. performancestatus:
  13780. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  13781. type: integer
  13782. preexerciseprice:
  13783. description: 预申报价格
  13784. type: number
  13785. premium:
  13786. description: 权利金 - [持仓单的权利金]
  13787. type: number
  13788. qtydecimalplace:
  13789. description: 商品报价小数位
  13790. type: integer
  13791. recvamount:
  13792. description: 到账金额 = 成交金额 - 手续费
  13793. type: number
  13794. relatedouttradeid:
  13795. description: 关联外部成交单ID
  13796. type: integer
  13797. status:
  13798. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  13799. type: integer
  13800. totalamount:
  13801. description: 订单总额 = 成交金额 + 手续费
  13802. type: number
  13803. tradeamount:
  13804. description: 成交金额[账户币种,用于所有权]
  13805. type: number
  13806. tradedate:
  13807. description: 交易日(yyyyMMdd)
  13808. type: string
  13809. tradeid:
  13810. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13811. type: string
  13812. trademode:
  13813. description: 交易模式
  13814. type: integer
  13815. tradeprice:
  13816. description: 成交价格
  13817. type: number
  13818. tradeproperty:
  13819. description: 交易属性
  13820. type: integer
  13821. tradeqty:
  13822. description: 成交数量
  13823. type: number
  13824. tradetime:
  13825. description: 成交时间
  13826. type: string
  13827. tradetype:
  13828. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  13829. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  13830. type: integer
  13831. required:
  13832. - accountid
  13833. - buyorsell
  13834. - goodsid
  13835. - histradedate
  13836. - marketid
  13837. - memberuserid
  13838. - orderid
  13839. - tradeamount
  13840. - tradedate
  13841. - tradeid
  13842. - tradeprice
  13843. - tradeqty
  13844. - tradetime
  13845. type: object
  13846. order.QueryHisTradeOrderDetailRsp:
  13847. properties:
  13848. accountid:
  13849. description: 账户ID[报价币种]
  13850. type: integer
  13851. buildtype:
  13852. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  13853. type: integer
  13854. buyorsell:
  13855. description: 买卖 - 0:买 1:卖
  13856. type: integer
  13857. cancelorderid:
  13858. description: 撤单单号(撤单时填写)
  13859. type: string
  13860. cancelqty:
  13861. description: 撤单数量
  13862. type: number
  13863. clientordertime:
  13864. description: 客户端委托时间
  13865. type: string
  13866. clientticket:
  13867. description: 客户端流水号
  13868. type: string
  13869. clienttype:
  13870. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  13871. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  13872. type: integer
  13873. closeexchagechargevalue:
  13874. description: 平仓交易所手续费设置值
  13875. type: number
  13876. closefeealgorithm:
  13877. description: 平仓手续费收取方式 1:比率 2:固定
  13878. type: integer
  13879. closefreezecharge:
  13880. description: 平仓冻结手续费(先建后平操作,需要记录)
  13881. type: number
  13882. closememberchargevalue:
  13883. description: 平仓会员手续费设置值
  13884. type: number
  13885. closeqty:
  13886. description: 平仓数量(先建后平操作 需要记录)
  13887. type: number
  13888. closetradeqty:
  13889. description: 平仓成交数量(先建后平操作,需要记录)
  13890. type: number
  13891. closeunfreezecharge:
  13892. description: 平仓解冻手续费(先建后平操作,需要记录)
  13893. type: number
  13894. decimalplace:
  13895. description: 商品报价小数位
  13896. type: integer
  13897. delistingtype:
  13898. description: 摘牌类型 - 1:价格最优 2:点选成交
  13899. type: integer
  13900. enumdicname:
  13901. description: 单位名称
  13902. type: string
  13903. freezecharge:
  13904. description: 冻结手续费
  13905. type: number
  13906. freezemargin:
  13907. description: 冻结保证金(冻结交易金额)
  13908. type: number
  13909. gcaccountid:
  13910. description: 账户ID[合约币种]
  13911. type: integer
  13912. goodscode:
  13913. description: 商品代码
  13914. type: string
  13915. goodsid:
  13916. description: 商品ID
  13917. type: integer
  13918. goodsname:
  13919. description: 商品名称
  13920. type: string
  13921. goodunitid:
  13922. description: 商品单位id
  13923. type: integer
  13924. histradedate:
  13925. description: 历史交易日
  13926. type: string
  13927. isconfirmexercise:
  13928. description: 是否确认行权- 0:否 1:是
  13929. type: integer
  13930. ispreexercise:
  13931. description: 是否预申报- 0:否 1:是
  13932. type: integer
  13933. isvaliddata:
  13934. description: 是否有效 - 0:无效 1:有效
  13935. type: integer
  13936. listingselecttype:
  13937. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  13938. type: integer
  13939. marginalgorithm:
  13940. description: 保证金收取方式 1:比率 2:固定
  13941. type: integer
  13942. marginvalue:
  13943. description: 即市保证金设置值
  13944. type: number
  13945. marketid:
  13946. description: 市场ID
  13947. type: integer
  13948. marketmaxsub:
  13949. description: 市价最大偏移范围
  13950. type: number
  13951. marketname:
  13952. description: 市场名称
  13953. type: string
  13954. memberuserid:
  13955. description: 所属会员UserID
  13956. type: integer
  13957. openexchagechargevalue:
  13958. description: 建仓交易所手续费设置值
  13959. type: number
  13960. openfeealgorithm:
  13961. description: 建仓手续费收取方式 1:比率 2:固定
  13962. type: integer
  13963. openfreezecharge:
  13964. description: 开仓冻结手续费(先建后平操作,需要记录)
  13965. type: number
  13966. openmemberchargevalue:
  13967. description: 建仓会员手续费设置值
  13968. type: number
  13969. openqty:
  13970. description: 开仓数量(先建后平操作,需要记录)
  13971. type: number
  13972. opentradeqty:
  13973. description: 开仓成交数量(先建后平操作,需要记录)
  13974. type: number
  13975. openunfreezecharge:
  13976. description: 开仓解冻手续费(先建后平操作,需要记录)
  13977. type: number
  13978. operatetype:
  13979. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  13980. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  13981. 15:管理端协议转让
  13982. type: integer
  13983. operatorid:
  13984. description: 登录账号(LoginID)
  13985. type: integer
  13986. optiontype:
  13987. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13988. type: integer
  13989. orderid:
  13990. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13991. type: string
  13992. orderprice:
  13993. description: 委托价格
  13994. type: number
  13995. orderqty:
  13996. description: 委托数量
  13997. type: number
  13998. ordersrc:
  13999. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14000. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14001. type: integer
  14002. orderstatus:
  14003. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14004. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14005. 16:成交失败违约(荷兰式竞拍专用)
  14006. type: integer
  14007. ordertime:
  14008. description: 委托时间
  14009. type: string
  14010. preexerciseprice:
  14011. description: 预申报价格
  14012. type: number
  14013. premium:
  14014. description: 权利金
  14015. type: number
  14016. preorderid:
  14017. description: 关联预埋单号(止盈止损单时填写)
  14018. type: string
  14019. pricemode:
  14020. description: '取价方式 - 1:市价 2: 限价'
  14021. type: integer
  14022. qtydecimalplace:
  14023. description: 成交量小数位
  14024. type: integer
  14025. quoteid:
  14026. description: 报价单ID
  14027. type: integer
  14028. relatedid:
  14029. description: 关联单号(交割单)
  14030. type: string
  14031. retcode:
  14032. description: 错误代码
  14033. type: integer
  14034. sessionid:
  14035. description: 会话ID
  14036. type: integer
  14037. tradedate:
  14038. description: 交易日(yyyyMMdd)
  14039. type: string
  14040. trademode:
  14041. description: 交易模式
  14042. type: integer
  14043. tradeproperty:
  14044. description: 交易属性
  14045. type: integer
  14046. tradeqty:
  14047. description: 成交数量
  14048. type: number
  14049. unfreezecharge:
  14050. description: 解冻手续费
  14051. type: number
  14052. unfreezemargin:
  14053. description: 解冻保证金
  14054. type: number
  14055. updatetime:
  14056. description: 更新时间
  14057. type: string
  14058. uuid:
  14059. description: 发起端唯一id
  14060. type: string
  14061. validtime:
  14062. description: 有效期限
  14063. type: string
  14064. validtype:
  14065. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14066. type: integer
  14067. volumetype:
  14068. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14069. type: integer
  14070. required:
  14071. - accountid
  14072. - buildtype
  14073. - buyorsell
  14074. - goodsid
  14075. - histradedate
  14076. - marketid
  14077. - memberuserid
  14078. - operatetype
  14079. - orderid
  14080. - orderqty
  14081. - ordertime
  14082. - pricemode
  14083. - tradedate
  14084. - validtype
  14085. type: object
  14086. order.QueryTradeDetailRsp:
  14087. properties:
  14088. accountid:
  14089. description: 账户ID[报价币种]
  14090. type: integer
  14091. advanceratio:
  14092. description: 首付比率
  14093. type: number
  14094. buildtype:
  14095. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14096. type: integer
  14097. buyorsell:
  14098. description: 方向 - 0:买 1:卖
  14099. type: integer
  14100. charge:
  14101. description: 手续费
  14102. type: number
  14103. closecharge:
  14104. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14105. type: number
  14106. closeexchagechargevalue:
  14107. description: 平仓交易所手续费设置值
  14108. type: number
  14109. closefeealgorithm:
  14110. description: 平仓手续费收取方式 1:比率 2:固定
  14111. type: integer
  14112. closememberchargevalue:
  14113. description: 平仓会员手续费设置值
  14114. type: number
  14115. closepl:
  14116. description: 平仓盈亏
  14117. type: number
  14118. closepl2:
  14119. description: 平仓盈亏[逐笔]
  14120. type: number
  14121. closeqty:
  14122. description: 平仓数量(先建后平操作 需要记录)
  14123. type: number
  14124. creditamount:
  14125. description: 授信金额
  14126. type: number
  14127. decimalplace:
  14128. description: 商品报价小数位
  14129. type: integer
  14130. enumdicname:
  14131. description: 单位名称
  14132. type: string
  14133. gcaccountid:
  14134. description: 账户ID[合约币种]
  14135. type: integer
  14136. goodscode:
  14137. description: 商品代码
  14138. type: string
  14139. goodsid:
  14140. description: 商品ID
  14141. type: integer
  14142. goodsname:
  14143. description: 商品名称
  14144. type: string
  14145. goodunitid:
  14146. description: 商品单位id
  14147. type: integer
  14148. intclosepl:
  14149. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14150. type: integer
  14151. isconfirmexercise:
  14152. description: 是否确认行权- 0:否 1:是
  14153. type: integer
  14154. ismain:
  14155. description: 是否主单 - 0:不是 1:是
  14156. type: integer
  14157. ispreexercise:
  14158. description: 是否预申报- 0:否 1:是
  14159. type: integer
  14160. isreckoned:
  14161. description: 是否结算 - 0:未结算 1:已结算
  14162. type: integer
  14163. listingselecttype:
  14164. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14165. type: integer
  14166. marketid:
  14167. description: 市场ID
  14168. type: integer
  14169. marketname:
  14170. description: 市场名称
  14171. type: string
  14172. matchaccountid:
  14173. description: 对手账号id
  14174. type: integer
  14175. memberuserid:
  14176. description: 会员id 个人投资者 需要填写
  14177. type: integer
  14178. opencharge:
  14179. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14180. type: number
  14181. openexchagechargevalue:
  14182. description: 建仓交易所手续费设置值
  14183. type: number
  14184. openfeealgorithm:
  14185. description: 建仓手续费收取方式 1:比率 2:固定
  14186. type: integer
  14187. openmemberchargevalue:
  14188. description: 建仓会员手续费设置值
  14189. type: number
  14190. openqty:
  14191. description: 开仓数量(先建后平操作 需要记录)
  14192. type: number
  14193. optiontype:
  14194. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14195. type: integer
  14196. orderid:
  14197. description: 委托单号
  14198. type: string
  14199. payamount:
  14200. description: 支付金额(付款金额)
  14201. type: number
  14202. performanceplanid:
  14203. description: 履约计划ID[期权]
  14204. type: integer
  14205. performancestatus:
  14206. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14207. type: integer
  14208. preexerciseprice:
  14209. description: 预申报价格
  14210. type: number
  14211. premium:
  14212. description: 权利金 - [持仓单的权利金]
  14213. type: number
  14214. qtydecimalplace:
  14215. description: 商品报价小数位
  14216. type: integer
  14217. recvamount:
  14218. description: 到账金额 = 成交金额 - 手续费
  14219. type: number
  14220. relatedouttradeid:
  14221. description: 关联外部成交单ID
  14222. type: integer
  14223. status:
  14224. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14225. type: integer
  14226. totalamount:
  14227. description: 订单总额 = 成交金额 + 手续费
  14228. type: number
  14229. tradeamount:
  14230. description: 成交金额[账户币种,用于所有权]
  14231. type: number
  14232. tradedate:
  14233. description: 交易日(yyyyMMdd)
  14234. type: string
  14235. tradeid:
  14236. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14237. type: string
  14238. trademode:
  14239. description: 交易模式
  14240. type: integer
  14241. tradeprice:
  14242. description: 成交价格
  14243. type: number
  14244. tradeproperty:
  14245. description: 交易属性
  14246. type: integer
  14247. tradeqty:
  14248. description: 成交数量
  14249. type: number
  14250. tradetime:
  14251. description: 成交时间
  14252. type: string
  14253. tradetype:
  14254. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14255. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14256. type: integer
  14257. required:
  14258. - accountid
  14259. - buyorsell
  14260. - goodsid
  14261. - marketid
  14262. - memberuserid
  14263. - orderid
  14264. - tradeamount
  14265. - tradedate
  14266. - tradeid
  14267. - tradeprice
  14268. - tradeqty
  14269. - tradetime
  14270. type: object
  14271. order.QueryTradeOrderDetailRsp:
  14272. properties:
  14273. accountid:
  14274. description: 账户ID[报价币种]
  14275. type: integer
  14276. buildtype:
  14277. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14278. type: integer
  14279. buyorsell:
  14280. description: 买卖 - 0:买 1:卖
  14281. type: integer
  14282. cancelorderid:
  14283. description: 撤单单号(撤单时填写)
  14284. type: string
  14285. cancelqty:
  14286. description: 撤单数量
  14287. type: number
  14288. clienttype:
  14289. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14290. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14291. type: integer
  14292. closefreezecharge:
  14293. description: 平仓冻结手续费(先建后平操作,需要记录)
  14294. type: number
  14295. closeqty:
  14296. description: 平仓数量(先建后平操作 需要记录)
  14297. type: number
  14298. closetradeqty:
  14299. description: 平仓成交数量(先建后平操作,需要记录)
  14300. type: number
  14301. closeunfreezecharge:
  14302. description: 平仓解冻手续费(先建后平操作,需要记录)
  14303. type: number
  14304. decimalplace:
  14305. description: 商品报价小数位
  14306. type: integer
  14307. delistingtype:
  14308. description: 摘牌类型 - 1:价格最优 2:点选成交
  14309. type: integer
  14310. enableqty:
  14311. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14312. type: number
  14313. enumdicname:
  14314. description: 单位名称
  14315. type: string
  14316. freezecharge:
  14317. description: 冻结手续费
  14318. type: number
  14319. freezemargin:
  14320. description: 冻结保证金(冻结交易金额)
  14321. type: number
  14322. goodscode:
  14323. description: 商品代码
  14324. type: string
  14325. goodsid:
  14326. description: 商品ID
  14327. type: integer
  14328. goodsname:
  14329. description: 商品名称
  14330. type: string
  14331. goodunitid:
  14332. description: 商品单位id
  14333. type: integer
  14334. listingselecttype:
  14335. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14336. type: integer
  14337. marketid:
  14338. description: 市场ID
  14339. type: integer
  14340. marketname:
  14341. description: 市场名称
  14342. type: string
  14343. openfreezecharge:
  14344. description: 开仓冻结手续费(先建后平操作,需要记录)
  14345. type: number
  14346. openqty:
  14347. description: 开仓数量(先建后平操作,需要记录)
  14348. type: number
  14349. opentradeqty:
  14350. description: 开仓成交数量(先建后平操作,需要记录)
  14351. type: number
  14352. openunfreezecharge:
  14353. description: 开仓解冻手续费(先建后平操作,需要记录)
  14354. type: number
  14355. operatetype:
  14356. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14357. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14358. 15:管理端协议转让
  14359. type: integer
  14360. operatorid:
  14361. description: 登录账号(LoginID)
  14362. type: integer
  14363. orderid:
  14364. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14365. type: string
  14366. orderprice:
  14367. description: 委托价格
  14368. type: number
  14369. orderqty:
  14370. description: 委托数量
  14371. type: number
  14372. ordersrc:
  14373. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14374. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14375. type: integer
  14376. orderstatus:
  14377. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14378. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14379. 16:成交失败违约(荷兰式竞拍专用)
  14380. type: integer
  14381. ordertime:
  14382. description: 委托时间
  14383. type: string
  14384. preorderid:
  14385. description: 关联预埋单号(止盈止损单时填写)
  14386. type: string
  14387. pricemode:
  14388. description: '取价方式 - 1:市价 2: 限价'
  14389. type: integer
  14390. qtydecimalplace:
  14391. description: 商品报价小数位
  14392. type: integer
  14393. relatedid:
  14394. description: 关联单号(交割单)
  14395. type: string
  14396. tradedate:
  14397. description: 交易日(yyyyMMdd)
  14398. type: string
  14399. trademode:
  14400. description: 交易模式
  14401. type: integer
  14402. tradeqty:
  14403. description: 成交数量
  14404. type: number
  14405. unfreezecharge:
  14406. description: 解冻手续费
  14407. type: number
  14408. unfreezemargin:
  14409. description: 解冻保证金
  14410. type: number
  14411. validtime:
  14412. description: 有效期限
  14413. type: string
  14414. validtype:
  14415. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14416. type: integer
  14417. volumetype:
  14418. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14419. type: integer
  14420. required:
  14421. - accountid
  14422. - buildtype
  14423. - buyorsell
  14424. - goodsid
  14425. - marketid
  14426. - operatetype
  14427. - orderqty
  14428. - ordertime
  14429. - pricemode
  14430. - tradedate
  14431. - validtype
  14432. type: object
  14433. order.QueryTradePositionRsp:
  14434. properties:
  14435. accountid:
  14436. description: 资金账户
  14437. type: integer
  14438. agreeunit:
  14439. description: 合约单位
  14440. type: number
  14441. averageprice:
  14442. description: 持仓均价
  14443. type: number
  14444. buyorsell:
  14445. description: 方向 - 0:买 1:卖
  14446. type: integer
  14447. closetotalqty:
  14448. description: 平仓总数量
  14449. type: number
  14450. curholderamount:
  14451. description: 当前持仓总金额[商品币种]
  14452. type: number
  14453. curpositionqty:
  14454. description: 当前持仓总数量
  14455. type: number
  14456. currencyid:
  14457. description: 报价货币ID
  14458. type: integer
  14459. curtdposition:
  14460. description: 期末今日头寸
  14461. type: number
  14462. decimalplace:
  14463. description: 报价小数位
  14464. type: integer
  14465. enableqty:
  14466. description: 可用量
  14467. type: number
  14468. fretdposition:
  14469. description: 冻结今日头寸
  14470. type: number
  14471. frozenqty:
  14472. description: 持仓冻结数量
  14473. type: number
  14474. goodscode:
  14475. description: 商品代码
  14476. type: string
  14477. goodsid:
  14478. description: 商品Id
  14479. type: integer
  14480. goodsname:
  14481. description: 商品名称
  14482. type: string
  14483. goodunit:
  14484. description: 报价单位
  14485. type: string
  14486. goodunitid:
  14487. description: 报价单位ID
  14488. type: integer
  14489. holderamount:
  14490. description: 期初持仓总金额[商品币种]
  14491. type: number
  14492. lastprice:
  14493. description: 最新价
  14494. type: number
  14495. marketamount:
  14496. description: 市值
  14497. type: number
  14498. marketid:
  14499. description: 所属市场ID
  14500. type: integer
  14501. openreqqty:
  14502. description: 开仓申请数量(用于比较最大持仓数量)
  14503. type: number
  14504. opentotalqty:
  14505. description: 开仓总数量
  14506. type: number
  14507. otherfrozenqty:
  14508. description: 持仓其他冻结数量(交割冻结)
  14509. type: number
  14510. positionpl:
  14511. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  14512. * 合约单位
  14513. type: number
  14514. positionplrate:
  14515. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  14516. type: number
  14517. positionqty:
  14518. description: 期初持仓数量
  14519. type: number
  14520. qtydecimalplace:
  14521. description: 成交量小数位
  14522. type: integer
  14523. tnqty:
  14524. description: T+N冻结总量
  14525. type: number
  14526. tnusedqty:
  14527. description: T+N使用量(可以使用T+N的冻结数量)
  14528. type: number
  14529. trademode:
  14530. description: 交易模式
  14531. type: integer
  14532. usedmargin:
  14533. description: 占用保证金[商品币种]
  14534. type: number
  14535. required:
  14536. - goodsid
  14537. type: object
  14538. quote.HistoryData:
  14539. properties:
  14540. c:
  14541. description: 收盘价
  14542. type: number
  14543. f:
  14544. description: 是否补充数据
  14545. type: boolean
  14546. h:
  14547. description: 最高价
  14548. type: number
  14549. hv:
  14550. description: 持仓量
  14551. type: integer
  14552. l:
  14553. description: 最低价
  14554. type: number
  14555. o:
  14556. description: 开盘价
  14557. type: number
  14558. s:
  14559. description: 结算价,日线周期(包括)以上才有
  14560. type: number
  14561. ts:
  14562. description: 时间
  14563. type: string
  14564. tt:
  14565. description: 总金额
  14566. type: number
  14567. tv:
  14568. description: 总量
  14569. type: integer
  14570. type: object
  14571. quote.HistoryTikData:
  14572. properties:
  14573. AV:
  14574. description: 卖量
  14575. type: integer
  14576. Ask:
  14577. description: 卖价
  14578. type: number
  14579. BV:
  14580. description: 买量
  14581. type: integer
  14582. Bid:
  14583. description: 买价
  14584. type: number
  14585. HI:
  14586. description: 单笔持仓
  14587. type: integer
  14588. HV:
  14589. description: 持仓量
  14590. type: integer
  14591. PE:
  14592. description: 现价
  14593. type: number
  14594. TDR:
  14595. description: 交易方向,0:买 1:卖
  14596. type: integer
  14597. TK:
  14598. description: 交易类型
  14599. type: integer
  14600. TS:
  14601. description: 行情时间文本
  14602. type: string
  14603. TT:
  14604. description: 现金额
  14605. type: number
  14606. Vol:
  14607. description: 现量
  14608. type: integer
  14609. type: object
  14610. quote.QueryQuoteDayRsp:
  14611. properties:
  14612. ask:
  14613. description: 卖1
  14614. type: number
  14615. ask2:
  14616. description: 卖2
  14617. type: number
  14618. ask3:
  14619. description: 卖3
  14620. type: number
  14621. ask4:
  14622. description: 卖4
  14623. type: number
  14624. ask5:
  14625. description: 卖5
  14626. type: number
  14627. ask6:
  14628. description: 卖6
  14629. type: number
  14630. ask7:
  14631. description: 卖7
  14632. type: number
  14633. ask8:
  14634. description: 卖8
  14635. type: number
  14636. ask9:
  14637. description: 卖9
  14638. type: number
  14639. ask10:
  14640. description: 卖10
  14641. type: number
  14642. askorderid:
  14643. description: 卖单号1
  14644. type: integer
  14645. askorderid2:
  14646. description: 卖单号2
  14647. type: integer
  14648. askorderid3:
  14649. description: 卖单号3
  14650. type: integer
  14651. askorderid4:
  14652. description: 卖单号4
  14653. type: integer
  14654. askorderid5:
  14655. description: 卖单号5
  14656. type: integer
  14657. askordervolume:
  14658. description: 卖单量1
  14659. type: integer
  14660. askordervolume2:
  14661. description: 卖单量2
  14662. type: integer
  14663. askordervolume3:
  14664. description: 卖单量3
  14665. type: integer
  14666. askordervolume4:
  14667. description: 卖单量4
  14668. type: integer
  14669. askordervolume5:
  14670. description: 卖单量5
  14671. type: integer
  14672. askordervolume6:
  14673. description: 卖单量6
  14674. type: integer
  14675. askordervolume7:
  14676. description: 卖单量7
  14677. type: integer
  14678. askordervolume8:
  14679. description: 卖单量8
  14680. type: integer
  14681. askordervolume9:
  14682. description: 卖单量9
  14683. type: integer
  14684. askordervolume10:
  14685. description: 卖单量10
  14686. type: integer
  14687. askqueueinfo:
  14688. description: 大利市卖港股用
  14689. type: string
  14690. askvolume:
  14691. description: 卖量1
  14692. type: integer
  14693. askvolume2:
  14694. description: 卖量2
  14695. type: integer
  14696. askvolume3:
  14697. description: 卖量3
  14698. type: integer
  14699. askvolume4:
  14700. description: 卖量4
  14701. type: integer
  14702. askvolume5:
  14703. description: 卖量5
  14704. type: integer
  14705. askvolume6:
  14706. description: 卖量6
  14707. type: integer
  14708. askvolume7:
  14709. description: 卖量7
  14710. type: integer
  14711. askvolume8:
  14712. description: 卖量8
  14713. type: integer
  14714. askvolume9:
  14715. description: 卖量9
  14716. type: integer
  14717. askvolume10:
  14718. description: 卖量10
  14719. type: integer
  14720. averageprice:
  14721. description: 均价
  14722. type: number
  14723. bid:
  14724. description: 买1
  14725. type: number
  14726. bid2:
  14727. description: 买2
  14728. type: number
  14729. bid3:
  14730. description: 买3
  14731. type: number
  14732. bid4:
  14733. description: 买4
  14734. type: number
  14735. bid5:
  14736. description: 买5
  14737. type: number
  14738. bid6:
  14739. description: 买6
  14740. type: number
  14741. bid7:
  14742. description: 买7
  14743. type: number
  14744. bid8:
  14745. description: 买8
  14746. type: number
  14747. bid9:
  14748. description: 买9
  14749. type: number
  14750. bid10:
  14751. description: 买10
  14752. type: number
  14753. bidorderid:
  14754. description: 买单号1
  14755. type: integer
  14756. bidorderid2:
  14757. description: 买单号2
  14758. type: integer
  14759. bidorderid3:
  14760. description: 买单号3
  14761. type: integer
  14762. bidorderid4:
  14763. description: 买单号4
  14764. type: integer
  14765. bidorderid5:
  14766. description: 买单号5
  14767. type: integer
  14768. bidordervolume:
  14769. description: 买单量1
  14770. type: integer
  14771. bidordervolume2:
  14772. description: 买单量2
  14773. type: integer
  14774. bidordervolume3:
  14775. description: 买单量3
  14776. type: integer
  14777. bidordervolume4:
  14778. description: 买单量4
  14779. type: integer
  14780. bidordervolume5:
  14781. description: 买单量5
  14782. type: integer
  14783. bidordervolume6:
  14784. description: 买单量6
  14785. type: integer
  14786. bidordervolume7:
  14787. description: 买单量7
  14788. type: integer
  14789. bidordervolume8:
  14790. description: 买单量8
  14791. type: integer
  14792. bidordervolume9:
  14793. description: 买单量9
  14794. type: integer
  14795. bidordervolume10:
  14796. description: 买单量10
  14797. type: integer
  14798. bidqueueinfo:
  14799. description: 大利市买港股用
  14800. type: string
  14801. bidvolume:
  14802. description: 买量1
  14803. type: integer
  14804. bidvolume2:
  14805. description: 买量2
  14806. type: integer
  14807. bidvolume3:
  14808. description: 买量3
  14809. type: integer
  14810. bidvolume4:
  14811. description: 买量4
  14812. type: integer
  14813. bidvolume5:
  14814. description: 买量5
  14815. type: integer
  14816. bidvolume6:
  14817. description: 买量6
  14818. type: integer
  14819. bidvolume7:
  14820. description: 买量7
  14821. type: integer
  14822. bidvolume8:
  14823. description: 买量8
  14824. type: integer
  14825. bidvolume9:
  14826. description: 买量9
  14827. type: integer
  14828. bidvolume10:
  14829. description: 买量10
  14830. type: integer
  14831. calloptionpremiums:
  14832. description: 认购期权1
  14833. type: integer
  14834. calloptionpremiums2:
  14835. description: 认购期权2
  14836. type: integer
  14837. calloptionpremiums3:
  14838. description: 认购期权3
  14839. type: integer
  14840. calloptionpremiums4:
  14841. description: 认购期权4
  14842. type: integer
  14843. calloptionpremiums5:
  14844. description: 认购期权5
  14845. type: integer
  14846. cleartime:
  14847. description: 清盘时间
  14848. type: integer
  14849. exchangecode:
  14850. description: 交易所代码
  14851. type: integer
  14852. exchangedate:
  14853. description: 交易日
  14854. type: integer
  14855. goodscode:
  14856. description: 商品代码
  14857. type: string
  14858. grepmarketprice:
  14859. description: 暗盘价 港股专用
  14860. type: number
  14861. highest:
  14862. description: 最高价
  14863. type: number
  14864. holdincrement:
  14865. description: 单笔持仓
  14866. type: integer
  14867. holdvolume:
  14868. description: 持仓
  14869. type: integer
  14870. iep:
  14871. description: 平衡价 港股专用
  14872. type: number
  14873. iev:
  14874. description: 平衡量 港股专用
  14875. type: number
  14876. inventory:
  14877. description: 库存
  14878. type: integer
  14879. iscleared:
  14880. description: 是否清盘标志
  14881. type: integer
  14882. issettled:
  14883. description: 是否结算标志
  14884. type: integer
  14885. last:
  14886. description: 最新价
  14887. type: number
  14888. lastlot:
  14889. description: 最新成交手数
  14890. type: integer
  14891. lasttime:
  14892. description: 行情时间(只有现价变化行情时间才变化)
  14893. type: string
  14894. lastturnover:
  14895. description: 最新成交金额
  14896. type: number
  14897. lastvolume:
  14898. description: 最新成交量
  14899. type: integer
  14900. limitdown:
  14901. description: 跌停价
  14902. type: number
  14903. limitup:
  14904. description: 涨停价
  14905. type: number
  14906. lowest:
  14907. description: 最低价
  14908. type: number
  14909. nontotalholdervolume:
  14910. description: 非交易持仓量
  14911. type: integer
  14912. nontotallot:
  14913. description: 非交易总手数
  14914. type: integer
  14915. nontotalturnover:
  14916. description: 非交易总金额
  14917. type: integer
  14918. nontotalvolume:
  14919. description: 非交易总量
  14920. type: integer
  14921. opened:
  14922. description: 开盘价
  14923. type: number
  14924. opentime:
  14925. description: 开盘时间
  14926. type: string
  14927. orderid:
  14928. description: 序号
  14929. type: integer
  14930. preclose:
  14931. description: 昨收
  14932. type: number
  14933. preholdvolume:
  14934. description: 昨持仓
  14935. type: integer
  14936. presettle:
  14937. description: 昨结价
  14938. type: number
  14939. publictradetype:
  14940. description: 公共交易标志类型 港股专用
  14941. type: string
  14942. putoptionpremiums:
  14943. description: 认沽期权1
  14944. type: integer
  14945. putoptionpremiums2:
  14946. description: 认沽期权2
  14947. type: integer
  14948. putoptionpremiums3:
  14949. description: 认沽期权3
  14950. type: integer
  14951. putoptionpremiums4:
  14952. description: 认沽期权4
  14953. type: integer
  14954. putoptionpremiums5:
  14955. description: 认沽期权5
  14956. type: integer
  14957. settle:
  14958. description: 结算价
  14959. type: number
  14960. strikeprice:
  14961. description: 发行价
  14962. type: number
  14963. totalaskvolume:
  14964. description: 内盘
  14965. type: integer
  14966. totalbidvolume:
  14967. description: 外盘
  14968. type: integer
  14969. totallot:
  14970. description: 总手数
  14971. type: integer
  14972. totalturnover:
  14973. description: 总金额
  14974. type: number
  14975. totalvolume:
  14976. description: 总量
  14977. type: integer
  14978. utclasttime:
  14979. description: utc的行情时间
  14980. type: string
  14981. type: object
  14982. quote.QueryTSDataRsp:
  14983. properties:
  14984. Count:
  14985. description: 交易日应有数据个数
  14986. type: integer
  14987. decimalPlace:
  14988. description: 小数位
  14989. type: integer
  14990. endTime:
  14991. description: 结束时间
  14992. type: string
  14993. goodsCode:
  14994. description: 商品代码
  14995. type: string
  14996. historyDatas:
  14997. description: 历史数据
  14998. items:
  14999. $ref: '#/definitions/quote.HistoryData'
  15000. type: array
  15001. outGoodsCode:
  15002. description: 外部商品代码
  15003. type: string
  15004. preSettle:
  15005. description: 昨结价
  15006. type: number
  15007. runSteps:
  15008. description: 交易日开休市计划
  15009. items:
  15010. $ref: '#/definitions/quote.TSDataRunStep'
  15011. type: array
  15012. startTime:
  15013. description: 开始时间
  15014. type: string
  15015. tradeDate:
  15016. description: 交易日
  15017. type: string
  15018. type: object
  15019. quote.TSDataRunStep:
  15020. properties:
  15021. end:
  15022. description: 真实结束时间
  15023. type: string
  15024. endflag:
  15025. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15026. type: integer
  15027. endtime:
  15028. description: 结束时间(HH:mm)
  15029. type: string
  15030. endweekday:
  15031. description: 结束周几
  15032. type: integer
  15033. groupid:
  15034. description: 分组ID
  15035. type: integer
  15036. runstep:
  15037. description: 运行阶段 - 2:连续交易
  15038. type: integer
  15039. sectionid:
  15040. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15041. 结束时间=结算时间 结束周几=结算周几
  15042. type: integer
  15043. start:
  15044. description: 真实开始时间
  15045. type: string
  15046. startflag:
  15047. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15048. type: integer
  15049. starttime:
  15050. description: 起始时间(HH:mm)
  15051. type: string
  15052. startweekday:
  15053. description: 起始周几
  15054. type: integer
  15055. tradeweekday:
  15056. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15057. type: integer
  15058. type: object
  15059. szdz.QueryConvertLogRsp:
  15060. properties:
  15061. accountid:
  15062. description: 资金账户ID
  15063. type: integer
  15064. clientticket:
  15065. description: 客户端流水号
  15066. type: string
  15067. converttype:
  15068. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15069. type: integer
  15070. createtime:
  15071. description: 记账时间
  15072. type: string
  15073. daymaxvalue:
  15074. description: 配置当日最大转入限制
  15075. type: number
  15076. daymaxvalue2:
  15077. description: 配置当日最大转入限制(转入)
  15078. type: number
  15079. goodscode:
  15080. description: 商品代码
  15081. type: string
  15082. goodsname:
  15083. description: 商品名称
  15084. type: string
  15085. handlestatus:
  15086. description: 处理状态
  15087. type: integer
  15088. innergoodsid:
  15089. description: 内部商品ID
  15090. type: integer
  15091. inratio:
  15092. description: 配置转入比值
  15093. type: integer
  15094. invalue:
  15095. description: 目标值
  15096. type: number
  15097. logid:
  15098. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15099. type: integer
  15100. mobile:
  15101. description: 手机号码(加密存储)
  15102. type: string
  15103. outergoodscode:
  15104. description: 外部商品代码[JD\PD]
  15105. type: string
  15106. outratio:
  15107. description: 配置转出比值
  15108. type: integer
  15109. outvalue:
  15110. description: 源值
  15111. type: number
  15112. pddecimalplace:
  15113. description: PD小数位
  15114. type: integer
  15115. qty:
  15116. description: 数量
  15117. type: string
  15118. remark:
  15119. description: 备注
  15120. type: string
  15121. sessionid:
  15122. description: 会话ID
  15123. type: integer
  15124. timemaxvalue:
  15125. description: 配置单次最大转入限制
  15126. type: number
  15127. timemaxvalue2:
  15128. description: 配置单次最大转入限制(转入)
  15129. type: number
  15130. timeminvalue:
  15131. description: 配置单次最小数量限制
  15132. type: number
  15133. timeminvalue2:
  15134. description: 配置单次最小数量限制(转入)
  15135. type: number
  15136. tradedate:
  15137. description: 交易日(yyyyMMdd)
  15138. type: string
  15139. userid:
  15140. description: 用户ID
  15141. type: integer
  15142. required:
  15143. - logid
  15144. type: object
  15145. szdz.QueryGoodsPickupRsp:
  15146. properties:
  15147. accountid:
  15148. description: 账户ID
  15149. type: integer
  15150. address:
  15151. description: 提货人详细地址
  15152. type: string
  15153. auditer:
  15154. description: 审核人
  15155. type: integer
  15156. audittime:
  15157. description: 审核时间
  15158. type: string
  15159. cardnum:
  15160. description: 提货人证件号码
  15161. type: string
  15162. cardtypeid:
  15163. description: 提货人证件类型
  15164. type: integer
  15165. checkremark:
  15166. description: 审核备注
  15167. type: string
  15168. goodscode:
  15169. description: 商品代码
  15170. type: string
  15171. goodsid:
  15172. description: 商品ID
  15173. type: integer
  15174. goodsname:
  15175. description: 商品名称
  15176. type: string
  15177. handlestatus:
  15178. description: 处理状态
  15179. type: integer
  15180. marketid:
  15181. description: 市场ID
  15182. type: integer
  15183. phonenum:
  15184. description: 提货人联系方式
  15185. type: string
  15186. qty:
  15187. description: 提货数量
  15188. type: number
  15189. recivername:
  15190. description: 提货人姓名
  15191. type: string
  15192. reqtime:
  15193. description: 更新时间
  15194. type: string
  15195. takemode:
  15196. description: 提货方式 - 2:自提 3:配送
  15197. type: integer
  15198. takeorderid:
  15199. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15200. type: string
  15201. takeorderstatus:
  15202. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15203. type: integer
  15204. takeremark:
  15205. description: 提货备注
  15206. type: string
  15207. tradedate:
  15208. description: 交易日(yyyyMMdd)
  15209. type: string
  15210. userid:
  15211. description: 用户ID
  15212. type: integer
  15213. required:
  15214. - takeorderid
  15215. type: object
  15216. szdz.QueryRecieptOrderRsp:
  15217. properties:
  15218. accountName:
  15219. description: 所属账号名称(已脱敏)
  15220. type: string
  15221. accountid:
  15222. description: 资金账号
  15223. type: integer
  15224. buyorsell:
  15225. description: 方向 - 0:买 1:卖
  15226. type: integer
  15227. enableqty:
  15228. description: 可摘数量
  15229. type: integer
  15230. goodscode:
  15231. description: 商品代码
  15232. type: string
  15233. goodsid:
  15234. description: 商品ID
  15235. type: integer
  15236. goodsname:
  15237. description: 商品名称
  15238. type: string
  15239. orderid:
  15240. description: 委托单号
  15241. type: string
  15242. orderprice:
  15243. description: 委托价格
  15244. type: number
  15245. ordertime:
  15246. description: 委托时间
  15247. type: string
  15248. tradedate:
  15249. description: 交易日(yyyyMMdd)
  15250. type: string
  15251. required:
  15252. - ordertime
  15253. type: object
  15254. szdz.QuerySZDZTradePositionRsp:
  15255. properties:
  15256. accountid:
  15257. description: 账号Id
  15258. type: integer
  15259. agreeunit:
  15260. description: 合约单位
  15261. type: number
  15262. averageprice:
  15263. description: 持仓均价
  15264. type: number
  15265. buyorsell:
  15266. description: 方向 - 0:买 1:卖
  15267. type: integer
  15268. closetotalqty:
  15269. description: 平仓总数量
  15270. type: integer
  15271. curholderamount:
  15272. description: 当前持仓总金额
  15273. type: number
  15274. curpositionqty:
  15275. description: 当前持仓总数量
  15276. type: integer
  15277. currencyid:
  15278. description: 报价货币ID
  15279. type: integer
  15280. curtdposition:
  15281. description: 期末今日头寸
  15282. type: integer
  15283. decimalplace:
  15284. description: 报价小数位
  15285. type: integer
  15286. enableqty:
  15287. description: 可用量
  15288. type: integer
  15289. fretdposition:
  15290. description: 冻结今日头寸
  15291. type: integer
  15292. frozenqty:
  15293. description: 持仓冻结数量
  15294. type: integer
  15295. goodscode:
  15296. description: 商品代码(内部)
  15297. type: string
  15298. goodsid:
  15299. description: 商品Id
  15300. type: integer
  15301. goodsname:
  15302. description: 商品名称
  15303. type: string
  15304. goodunit:
  15305. description: 报价单位
  15306. type: string
  15307. goodunitid:
  15308. description: 报价单位ID
  15309. type: integer
  15310. holderamount:
  15311. description: 期初持仓总金额
  15312. type: number
  15313. marketid:
  15314. description: 市场ID
  15315. type: integer
  15316. openreqqty:
  15317. description: 开仓申请数量
  15318. type: integer
  15319. opentotalqty:
  15320. description: 开仓总数量
  15321. type: integer
  15322. otherfrozenqty:
  15323. description: 持仓其他冻结数量(交割冻结)
  15324. type: integer
  15325. positionqty:
  15326. description: 期初持仓数量
  15327. type: integer
  15328. szdz3freezqty:
  15329. description: 尚志大宗转换冻结总数量
  15330. type: integer
  15331. tnqty:
  15332. description: T+N冻结总量
  15333. type: integer
  15334. tnusedqty:
  15335. description: T+N使用量
  15336. type: integer
  15337. trademode:
  15338. description: 交易模式
  15339. type: integer
  15340. usedmargin:
  15341. description: 占用保证金
  15342. type: number
  15343. type: object
  15344. taaccount.QueryAmountLogRsp:
  15345. properties:
  15346. OPERATETYPENAME:
  15347. description: 资金操作类型名称
  15348. type: string
  15349. accountid:
  15350. description: 资金账户ID
  15351. type: integer
  15352. agoodscode:
  15353. description: 竞拍商品代码
  15354. type: string
  15355. agoodsname:
  15356. description: 竞拍商品名称
  15357. type: string
  15358. amount:
  15359. description: 资金金额
  15360. type: number
  15361. amountadjusttype:
  15362. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15363. type: integer
  15364. autoid:
  15365. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15366. type: integer
  15367. balance:
  15368. description: 期初余额
  15369. type: number
  15370. businesscode:
  15371. description: 业务编号
  15372. type: integer
  15373. createtime:
  15374. description: 发生时间
  15375. type: string
  15376. currencyid:
  15377. description: 币种ID
  15378. type: integer
  15379. currentbalance:
  15380. description: 期末余额(变动后金额)
  15381. type: number
  15382. dgoodscode:
  15383. description: 交割商品代码
  15384. type: string
  15385. dgoodsname:
  15386. description: 交割商品名称
  15387. type: string
  15388. goodscode:
  15389. description: 商品代码
  15390. type: string
  15391. goodsid:
  15392. description: 商品ID
  15393. type: integer
  15394. goodsname:
  15395. description: 商品名称
  15396. type: string
  15397. marketid:
  15398. description: 市场ID
  15399. type: integer
  15400. marketname:
  15401. description: 市场名称
  15402. type: string
  15403. moneyticket:
  15404. description: 资金流水号:银行端流水号
  15405. type: integer
  15406. operatetype:
  15407. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15408. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15409. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15410. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15411. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15412. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15413. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15414. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15415. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15416. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15417. type: integer
  15418. relationorderid:
  15419. description: 关联单号
  15420. type: string
  15421. remark:
  15422. description: 备注
  15423. type: string
  15424. trademode:
  15425. description: 交易模式
  15426. type: integer
  15427. required:
  15428. - accountid
  15429. - amount
  15430. - amountadjusttype
  15431. - autoid
  15432. - balance
  15433. - createtime
  15434. - currentbalance
  15435. - operatetype
  15436. type: object
  15437. taaccount.QueryHisAmountLogRsp:
  15438. properties:
  15439. OPERATETYPENAME:
  15440. description: 资金操作类型名称
  15441. type: string
  15442. accountid:
  15443. description: 资金账户ID
  15444. type: integer
  15445. agoodscode:
  15446. description: 竞拍商品代码
  15447. type: string
  15448. agoodsname:
  15449. description: 竞拍商品名称
  15450. type: string
  15451. amount:
  15452. description: 资金金额
  15453. type: number
  15454. amountadjusttype:
  15455. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15456. type: integer
  15457. autoid:
  15458. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15459. type: integer
  15460. balance:
  15461. description: 期初余额
  15462. type: number
  15463. businesscode:
  15464. description: 业务编号
  15465. type: integer
  15466. createtime:
  15467. description: 发生时间
  15468. type: string
  15469. currencyid:
  15470. description: 币种ID
  15471. type: integer
  15472. currentbalance:
  15473. description: 期末余额(变动后金额)
  15474. type: number
  15475. dgoodscode:
  15476. description: 交割商品代码
  15477. type: string
  15478. dgoodsname:
  15479. description: 交割商品名称
  15480. type: string
  15481. goodscode:
  15482. description: 商品代码
  15483. type: string
  15484. goodsid:
  15485. description: 商品ID
  15486. type: integer
  15487. goodsname:
  15488. description: 商品名称
  15489. type: string
  15490. histradedate:
  15491. description: 历史交易日
  15492. type: string
  15493. isvaliddata:
  15494. description: 是否有效 - 0:无效 1:有效
  15495. type: integer
  15496. marketid:
  15497. description: 市场ID
  15498. type: integer
  15499. marketname:
  15500. description: 市场名称
  15501. type: string
  15502. moneyticket:
  15503. description: 资金流水号:银行端流水号
  15504. type: integer
  15505. operatetype:
  15506. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15507. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15508. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15509. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15510. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15511. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15512. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15513. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15514. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15515. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15516. type: integer
  15517. relationorderid:
  15518. description: 关联单号
  15519. type: string
  15520. remark:
  15521. description: 备注
  15522. type: string
  15523. trademode:
  15524. description: 交易模式
  15525. type: integer
  15526. required:
  15527. - accountid
  15528. - amount
  15529. - amountadjusttype
  15530. - autoid
  15531. - balance
  15532. - createtime
  15533. - currentbalance
  15534. - histradedate
  15535. - operatetype
  15536. type: object
  15537. trade.QueryRecieptOrderRsp:
  15538. properties:
  15539. accountName:
  15540. description: 所属账号名称(已脱敏)
  15541. type: string
  15542. accountid:
  15543. description: 资金账号
  15544. type: integer
  15545. buyorsell:
  15546. description: 方向 - 0:买 1:卖
  15547. type: integer
  15548. enableqty:
  15549. description: 可摘数量
  15550. type: integer
  15551. goodscode:
  15552. description: 商品代码
  15553. type: string
  15554. goodsid:
  15555. description: 商品ID
  15556. type: integer
  15557. goodsname:
  15558. description: 商品名称
  15559. type: string
  15560. orderid:
  15561. description: 委托单号
  15562. type: string
  15563. orderprice:
  15564. description: 委托价格
  15565. type: number
  15566. ordertime:
  15567. description: 委托时间
  15568. type: string
  15569. tradedate:
  15570. description: 交易日(yyyyMMdd)
  15571. type: string
  15572. required:
  15573. - ordertime
  15574. type: object
  15575. user.LoginQueryRsp:
  15576. properties:
  15577. areaRoles:
  15578. description: 所属角色信息
  15579. items:
  15580. $ref: '#/definitions/models.Arearole'
  15581. type: array
  15582. externalExchanges:
  15583. description: 外部交易所
  15584. items:
  15585. $ref: '#/definitions/models.Externalexchange'
  15586. type: array
  15587. goodsgroups:
  15588. description: 商品组
  15589. items:
  15590. $ref: '#/definitions/models.Goodsgroup'
  15591. type: array
  15592. loginAccount:
  15593. $ref: '#/definitions/models.Loginaccount'
  15594. description: 登录账号
  15595. type: object
  15596. markets:
  15597. description: 市场
  15598. items:
  15599. $ref: '#/definitions/models.Market'
  15600. type: array
  15601. systemParams:
  15602. description: 系统参数
  15603. items:
  15604. $ref: '#/definitions/models.Systemparam'
  15605. type: array
  15606. userAccount:
  15607. $ref: '#/definitions/models.Useraccount'
  15608. description: 用户账号
  15609. type: object
  15610. userInfo:
  15611. $ref: '#/definitions/models.Userinfo'
  15612. description: 用户信息
  15613. type: object
  15614. username:
  15615. description: 用户姓名
  15616. type: string
  15617. type: object
  15618. info:
  15619. contact: {}
  15620. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  15621. license: {}
  15622. termsOfService: http://www.muchinfo.cn
  15623. title: MTP2.0 查询服务 API
  15624. version: "1.0"
  15625. paths:
  15626. /CPTrade/QueryCPTradeMyBidInfos:
  15627. get:
  15628. parameters:
  15629. - description: 资金账户
  15630. in: query
  15631. name: accountid
  15632. required: true
  15633. type: integer
  15634. - description: 预售市场ID
  15635. in: query
  15636. name: marketid
  15637. type: integer
  15638. - description: 预售商品ID
  15639. in: query
  15640. name: goodsid
  15641. type: integer
  15642. produces:
  15643. - application/json
  15644. responses:
  15645. "200":
  15646. description: OK
  15647. schema:
  15648. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  15649. "500":
  15650. description: Internal Server Error
  15651. schema:
  15652. $ref: '#/definitions/app.Response'
  15653. security:
  15654. - ApiKeyAuth: []
  15655. summary: 查询产能预售我的出价信息
  15656. tags:
  15657. - 产能预售
  15658. /CPTrade/QueryCPTradeOrderDetail:
  15659. get:
  15660. parameters:
  15661. - description: 预售商品ID
  15662. in: query
  15663. name: goodsid
  15664. type: integer
  15665. - description: 预售市场ID
  15666. in: query
  15667. name: marketid
  15668. type: integer
  15669. - description: 预售商品ID列表 - 格式:1,2,3
  15670. in: query
  15671. name: goodsids
  15672. type: string
  15673. produces:
  15674. - application/json
  15675. responses:
  15676. "200":
  15677. description: OK
  15678. schema:
  15679. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  15680. "500":
  15681. description: Internal Server Error
  15682. schema:
  15683. $ref: '#/definitions/app.Response'
  15684. security:
  15685. - ApiKeyAuth: []
  15686. summary: 查询产能预售委托单信息
  15687. tags:
  15688. - 产能预售
  15689. /CPTrade/QueryMyCPTradeGoods:
  15690. get:
  15691. parameters:
  15692. - description: 资金账户
  15693. in: query
  15694. name: accountid
  15695. required: true
  15696. type: integer
  15697. produces:
  15698. - application/json
  15699. responses:
  15700. "200":
  15701. description: OK
  15702. schema:
  15703. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  15704. "500":
  15705. description: Internal Server Error
  15706. schema:
  15707. $ref: '#/definitions/app.Response'
  15708. security:
  15709. - ApiKeyAuth: []
  15710. summary: 查询我的预售信息
  15711. tags:
  15712. - 产能预售
  15713. /CPTrade/QueryPositionCancel:
  15714. get:
  15715. parameters:
  15716. - description: 账户ID
  15717. in: query
  15718. name: userid
  15719. required: true
  15720. type: integer
  15721. - description: 注销ID
  15722. in: query
  15723. name: cancelid
  15724. type: integer
  15725. - description: 资金账户ID
  15726. in: query
  15727. name: accountid
  15728. type: integer
  15729. produces:
  15730. - application/json
  15731. responses:
  15732. "200":
  15733. description: OK
  15734. schema:
  15735. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  15736. "500":
  15737. description: Internal Server Error
  15738. schema:
  15739. $ref: '#/definitions/app.Response'
  15740. security:
  15741. - ApiKeyAuth: []
  15742. summary: 查询远期订单注销申请信息
  15743. tags:
  15744. - 产能预售
  15745. /CPTrade/QueryPreasleApply:
  15746. get:
  15747. parameters:
  15748. - description: 账户ID
  15749. in: query
  15750. name: userid
  15751. required: true
  15752. type: integer
  15753. - description: 申请ID
  15754. in: query
  15755. name: applyid
  15756. type: integer
  15757. - description: 资金账户ID
  15758. in: query
  15759. name: accountid
  15760. type: integer
  15761. produces:
  15762. - application/json
  15763. responses:
  15764. "200":
  15765. description: OK
  15766. schema:
  15767. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  15768. "500":
  15769. description: Internal Server Error
  15770. schema:
  15771. $ref: '#/definitions/app.Response'
  15772. security:
  15773. - ApiKeyAuth: []
  15774. summary: 查询产能预售申请信息
  15775. tags:
  15776. - 产能预售
  15777. /CPTrade/QueryPresaleGoodsEx:
  15778. get:
  15779. parameters:
  15780. - description: 预售商品ID
  15781. in: query
  15782. name: goodsid
  15783. type: integer
  15784. - description: 预售市场ID
  15785. in: query
  15786. name: marketid
  15787. type: integer
  15788. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  15789. in: query
  15790. name: presalemode
  15791. type: integer
  15792. - description: 预售商品ID列表 - 格式:1,2,3
  15793. in: query
  15794. name: goodsids
  15795. type: string
  15796. - description: 预售商品代码
  15797. in: query
  15798. name: goodscode
  15799. type: string
  15800. produces:
  15801. - application/json
  15802. responses:
  15803. "200":
  15804. description: OK
  15805. schema:
  15806. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  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/QueryUserGoodsData:
  15817. get:
  15818. parameters:
  15819. - description: 资金账户ID
  15820. in: query
  15821. name: accountid
  15822. required: true
  15823. type: integer
  15824. produces:
  15825. - application/json
  15826. responses:
  15827. "200":
  15828. description: OK
  15829. schema:
  15830. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  15831. "500":
  15832. description: Internal Server Error
  15833. schema:
  15834. $ref: '#/definitions/app.Response'
  15835. security:
  15836. - ApiKeyAuth: []
  15837. summary: 查询远期订单信息
  15838. tags:
  15839. - 产能预售
  15840. /Common/GetAllEnums:
  15841. get:
  15842. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  15843. parameters:
  15844. - description: 起始自增ID
  15845. in: query
  15846. name: autoid
  15847. type: integer
  15848. produces:
  15849. - application/json
  15850. responses:
  15851. "200":
  15852. description: OK
  15853. schema:
  15854. $ref: '#/definitions/models.Enumdicitem'
  15855. "500":
  15856. description: Internal Server Error
  15857. schema:
  15858. $ref: '#/definitions/app.Response'
  15859. summary: 获取所有枚举信息
  15860. tags:
  15861. - 通用服务
  15862. /Common/GetClientMenus:
  15863. get:
  15864. parameters:
  15865. - description: 登录账号
  15866. in: query
  15867. name: loginID
  15868. required: true
  15869. type: integer
  15870. - description: 终端类型,0:PC 1:Mobile
  15871. in: query
  15872. name: clientType
  15873. type: integer
  15874. produces:
  15875. - application/json
  15876. responses:
  15877. "200":
  15878. description: OK
  15879. schema:
  15880. items:
  15881. $ref: '#/definitions/common.ClientMenu'
  15882. type: array
  15883. "500":
  15884. description: Internal Server Error
  15885. schema:
  15886. $ref: '#/definitions/app.Response'
  15887. security:
  15888. - ApiKeyAuth: []
  15889. summary: 获取交易端菜单
  15890. tags:
  15891. - 通用服务
  15892. /Common/GetDivisions:
  15893. get:
  15894. produces:
  15895. - application/json
  15896. responses:
  15897. "200":
  15898. description: OK
  15899. schema:
  15900. $ref: '#/definitions/models.Division'
  15901. "500":
  15902. description: Internal Server Error
  15903. schema:
  15904. $ref: '#/definitions/app.Response'
  15905. summary: 查询区域信息
  15906. tags:
  15907. - 通用服务
  15908. /Common/GetServerTime:
  15909. get:
  15910. produces:
  15911. - application/json
  15912. responses:
  15913. "200":
  15914. description: OK
  15915. schema:
  15916. $ref: '#/definitions/app.Response'
  15917. "500":
  15918. description: Internal Server Error
  15919. schema:
  15920. $ref: '#/definitions/app.Response'
  15921. summary: 获取服务器时间
  15922. tags:
  15923. - 通用服务
  15924. /Common/NoticeReaded:
  15925. post:
  15926. parameters:
  15927. - description: 登录账号
  15928. in: query
  15929. name: loginID
  15930. required: true
  15931. type: integer
  15932. - description: 通知公告ID
  15933. in: query
  15934. name: noticeID
  15935. required: true
  15936. type: integer
  15937. produces:
  15938. - application/json
  15939. responses:
  15940. "200":
  15941. description: OK
  15942. schema:
  15943. $ref: '#/definitions/app.Response'
  15944. "500":
  15945. description: Internal Server Error
  15946. schema:
  15947. $ref: '#/definitions/app.Response'
  15948. security:
  15949. - ApiKeyAuth: []
  15950. summary: 通知公告设置已读请求
  15951. tags:
  15952. - 通用服务
  15953. /Common/QueryErrorInfos:
  15954. get:
  15955. description: 如果传入rowNumber,则返回此rowNumber后的数据
  15956. parameters:
  15957. - description: 起始行号前索引
  15958. in: query
  15959. name: rowNumber
  15960. type: string
  15961. produces:
  15962. - application/json
  15963. responses:
  15964. "200":
  15965. description: OK
  15966. schema:
  15967. $ref: '#/definitions/models.QueryErrorInfosRsp'
  15968. "500":
  15969. description: Internal Server Error
  15970. schema:
  15971. $ref: '#/definitions/app.Response'
  15972. summary: 获取数据库错误信息
  15973. tags:
  15974. - 通用服务
  15975. /Common/QueryImageConfigs:
  15976. get:
  15977. parameters:
  15978. - description: 用户id
  15979. in: query
  15980. name: userId
  15981. type: integer
  15982. - description: 类型 - 1:App首页轮播 2:我的
  15983. in: query
  15984. name: imageType
  15985. type: integer
  15986. produces:
  15987. - application/json
  15988. responses:
  15989. "200":
  15990. description: OK
  15991. schema:
  15992. $ref: '#/definitions/common.QueryImageConfigsRsp'
  15993. "500":
  15994. description: Internal Server Error
  15995. schema:
  15996. $ref: '#/definitions/app.Response'
  15997. summary: 查询轮播图配置信息
  15998. tags:
  15999. - 通用服务
  16000. /Common/QueryNotice:
  16001. get:
  16002. parameters:
  16003. - description: 页码
  16004. in: query
  16005. name: page
  16006. type: integer
  16007. - description: 每页条数
  16008. in: query
  16009. name: pagesize
  16010. type: integer
  16011. - description: 登录账号
  16012. in: query
  16013. name: loginID
  16014. required: true
  16015. type: integer
  16016. - description: 消息类型 - 1:公告通知 2:系统消息
  16017. in: query
  16018. name: msgType
  16019. type: integer
  16020. - description: 是否只获取未读信息
  16021. in: query
  16022. name: onlyUnRead
  16023. type: boolean
  16024. - description: 自增ID,传入后会返回这个ID后面的记录
  16025. in: query
  16026. name: lastID
  16027. type: integer
  16028. produces:
  16029. - application/json
  16030. responses:
  16031. "200":
  16032. description: OK
  16033. schema:
  16034. $ref: '#/definitions/common.QueryNoticeRsp'
  16035. "500":
  16036. description: Internal Server Error
  16037. schema:
  16038. $ref: '#/definitions/app.Response'
  16039. security:
  16040. - ApiKeyAuth: []
  16041. summary: 通知公告系统消息查询
  16042. tags:
  16043. - 通用服务
  16044. /Common/QueryProvincesAndCities:
  16045. get:
  16046. parameters:
  16047. - description: 省ID
  16048. in: query
  16049. name: provinceID
  16050. type: integer
  16051. produces:
  16052. - application/json
  16053. responses:
  16054. "200":
  16055. description: OK
  16056. schema:
  16057. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16058. "500":
  16059. description: Internal Server Error
  16060. schema:
  16061. $ref: '#/definitions/app.Response'
  16062. summary: 查询省市信息(不包括区)
  16063. tags:
  16064. - 通用服务
  16065. /Common/QueryTableDefine:
  16066. get:
  16067. parameters:
  16068. - description: 表key
  16069. in: query
  16070. name: tableKey
  16071. type: string
  16072. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16073. in: query
  16074. name: tableType
  16075. type: integer
  16076. produces:
  16077. - application/json
  16078. responses:
  16079. "200":
  16080. description: OK
  16081. schema:
  16082. $ref: '#/definitions/common.QueryTableDefineRsp'
  16083. "500":
  16084. description: Internal Server Error
  16085. schema:
  16086. $ref: '#/definitions/app.Response'
  16087. summary: 查询交易端列表头信息
  16088. tags:
  16089. - 通用服务
  16090. /Common/QueryTraderMenu:
  16091. get:
  16092. parameters:
  16093. - description: 登录账号
  16094. in: query
  16095. name: loginid
  16096. required: true
  16097. type: integer
  16098. produces:
  16099. - application/json
  16100. responses:
  16101. "200":
  16102. description: OK
  16103. schema:
  16104. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16105. "500":
  16106. description: Internal Server Error
  16107. schema:
  16108. $ref: '#/definitions/app.Response'
  16109. summary: 查询交易端菜单
  16110. tags:
  16111. - 通用服务
  16112. /Delivery/QueryDeliveryRelation:
  16113. get:
  16114. parameters:
  16115. - description: 商品ID
  16116. in: query
  16117. name: goodsid
  16118. type: integer
  16119. - description: 品种ID
  16120. in: query
  16121. name: deliverygoodsid
  16122. type: integer
  16123. - description: 市场ID
  16124. in: query
  16125. name: marketid
  16126. type: integer
  16127. produces:
  16128. - application/json
  16129. responses:
  16130. "200":
  16131. description: OK
  16132. schema:
  16133. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16134. "500":
  16135. description: Internal Server Error
  16136. schema:
  16137. $ref: '#/definitions/app.Response'
  16138. security:
  16139. - ApiKeyAuth: []
  16140. summary: 查询商品交割关系表
  16141. tags:
  16142. - 交割服务
  16143. /Ermcp/GetErmcpGoods:
  16144. get:
  16145. parameters:
  16146. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16147. in: query
  16148. name: lastUpdateTime
  16149. type: string
  16150. produces:
  16151. - application/json
  16152. responses:
  16153. "200":
  16154. description: OK
  16155. schema:
  16156. $ref: '#/definitions/models.ErmcpGoods'
  16157. "500":
  16158. description: Internal Server Error
  16159. schema:
  16160. $ref: '#/definitions/app.Response'
  16161. security:
  16162. - ApiKeyAuth: []
  16163. summary: 查询企业风管期货商品信息
  16164. tags:
  16165. - 企业风险管理(app)
  16166. /Ermcp/GetErmcpGoodsSortByPosition:
  16167. get:
  16168. parameters:
  16169. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16170. in: query
  16171. name: sortIndex
  16172. type: string
  16173. produces:
  16174. - application/json
  16175. responses:
  16176. "200":
  16177. description: OK
  16178. schema:
  16179. $ref: '#/definitions/models.Goodssortbypreposition'
  16180. "500":
  16181. description: Internal Server Error
  16182. schema:
  16183. $ref: '#/definitions/app.Response'
  16184. security:
  16185. - ApiKeyAuth: []
  16186. summary: 查询企业风管期货主力、次主力商品信息
  16187. tags:
  16188. - 企业风险管理(app)
  16189. /Ermcp/GetErmcpOutAccountStatus:
  16190. get:
  16191. parameters:
  16192. - description: 登录账号
  16193. in: query
  16194. name: loginID
  16195. required: true
  16196. type: integer
  16197. produces:
  16198. - application/json
  16199. responses:
  16200. "200":
  16201. description: OK
  16202. schema:
  16203. $ref: '#/definitions/models.Hedgemarketopenlog'
  16204. "500":
  16205. description: Internal Server Error
  16206. schema:
  16207. $ref: '#/definitions/app.Response'
  16208. security:
  16209. - ApiKeyAuth: []
  16210. summary: 获取目标登录账号当前对冲账号在线状态
  16211. tags:
  16212. - 企业风险管理(app)
  16213. /Ermcp/GetErmcpRoleFuncMenuLists:
  16214. get:
  16215. parameters:
  16216. - description: 登录账号
  16217. in: query
  16218. name: loginID
  16219. required: true
  16220. type: integer
  16221. produces:
  16222. - application/json
  16223. responses:
  16224. "200":
  16225. description: OK
  16226. schema:
  16227. $ref: '#/definitions/models.Funcmenulist'
  16228. "500":
  16229. description: Internal Server Error
  16230. schema:
  16231. $ref: '#/definitions/app.Response'
  16232. security:
  16233. - ApiKeyAuth: []
  16234. summary: 获取企业风管终端权限
  16235. tags:
  16236. - 企业风险管理(app)
  16237. /Ermcp/QueryAccMgrBizGroupSet:
  16238. get:
  16239. parameters:
  16240. - description: 用户ID
  16241. in: query
  16242. name: userid
  16243. required: true
  16244. type: integer
  16245. - description: 现货商品id
  16246. in: query
  16247. name: deliverygoodsid
  16248. type: integer
  16249. produces:
  16250. - application/json
  16251. responses:
  16252. "200":
  16253. description: OK
  16254. schema:
  16255. items:
  16256. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16257. type: array
  16258. "500":
  16259. description: Internal Server Error
  16260. schema:
  16261. $ref: '#/definitions/app.Response'
  16262. security:
  16263. - ApiKeyAuth: []
  16264. summary: 查询业务类型分组(账户管理/账户设置)
  16265. tags:
  16266. - 企业风险管理(app)
  16267. /Ermcp/QueryAccMgrLoginUser:
  16268. get:
  16269. parameters:
  16270. - description: 用户ID
  16271. in: query
  16272. name: userid
  16273. required: true
  16274. type: integer
  16275. - description: 用户类型 2-机构 7-企业成员
  16276. in: query
  16277. name: usertype
  16278. type: integer
  16279. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16280. in: query
  16281. name: querytype
  16282. required: true
  16283. type: integer
  16284. produces:
  16285. - application/json
  16286. responses:
  16287. "200":
  16288. description: OK
  16289. schema:
  16290. items:
  16291. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16292. type: array
  16293. "500":
  16294. description: Internal Server Error
  16295. schema:
  16296. $ref: '#/definitions/app.Response'
  16297. security:
  16298. - ApiKeyAuth: []
  16299. summary: 查询账户管理登录账号(账户管理/登录账号)
  16300. tags:
  16301. - 企业风险管理(app)
  16302. /Ermcp/QueryAccMgrMainAccountInfo:
  16303. get:
  16304. parameters:
  16305. - description: 用户ID
  16306. in: query
  16307. name: userid
  16308. type: integer
  16309. - description: 主账号id
  16310. in: query
  16311. name: accountid
  16312. type: integer
  16313. produces:
  16314. - application/json
  16315. responses:
  16316. "200":
  16317. description: OK
  16318. schema:
  16319. items:
  16320. $ref: '#/definitions/models.MainAccountInfo'
  16321. type: array
  16322. "500":
  16323. description: Internal Server Error
  16324. schema:
  16325. $ref: '#/definitions/app.Response'
  16326. security:
  16327. - ApiKeyAuth: []
  16328. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16329. tags:
  16330. - 企业风险管理(app)
  16331. /Ermcp/QueryAccMgrRole:
  16332. get:
  16333. parameters:
  16334. - description: 用户ID
  16335. in: query
  16336. name: userid
  16337. required: true
  16338. type: integer
  16339. produces:
  16340. - application/json
  16341. responses:
  16342. "200":
  16343. description: OK
  16344. schema:
  16345. items:
  16346. $ref: '#/definitions/models.ErmcpRole'
  16347. type: array
  16348. "500":
  16349. description: Internal Server Error
  16350. schema:
  16351. $ref: '#/definitions/app.Response'
  16352. security:
  16353. - ApiKeyAuth: []
  16354. summary: 查询账户管理角色设置(账户管理/角色设置)
  16355. tags:
  16356. - 企业风险管理(app)
  16357. /Ermcp/QueryAccMgrRoleMenu:
  16358. get:
  16359. parameters:
  16360. - description: 用户ID
  16361. in: query
  16362. name: userid
  16363. required: true
  16364. type: integer
  16365. - description: 角色id(可多个,逗号隔开)
  16366. in: query
  16367. name: roleid
  16368. type: string
  16369. produces:
  16370. - application/json
  16371. responses:
  16372. "200":
  16373. description: OK
  16374. schema:
  16375. items:
  16376. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16377. type: array
  16378. "500":
  16379. description: Internal Server Error
  16380. schema:
  16381. $ref: '#/definitions/app.Response'
  16382. security:
  16383. - ApiKeyAuth: []
  16384. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16385. tags:
  16386. - 企业风险管理(app)
  16387. /Ermcp/QueryAccMgrTaAccountInfo:
  16388. get:
  16389. parameters:
  16390. - description: 用户ID
  16391. in: query
  16392. name: userid
  16393. required: true
  16394. type: integer
  16395. - description: 账号id
  16396. in: query
  16397. name: accountid
  16398. type: integer
  16399. produces:
  16400. - application/json
  16401. responses:
  16402. "200":
  16403. description: OK
  16404. schema:
  16405. items:
  16406. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16407. type: array
  16408. "500":
  16409. description: Internal Server Error
  16410. schema:
  16411. $ref: '#/definitions/app.Response'
  16412. security:
  16413. - ApiKeyAuth: []
  16414. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16415. tags:
  16416. - 企业风险管理(app)
  16417. /Ermcp/QueryAccMgrTaaccount:
  16418. get:
  16419. parameters:
  16420. - description: 用户ID
  16421. in: query
  16422. name: userid
  16423. required: true
  16424. type: integer
  16425. produces:
  16426. - application/json
  16427. responses:
  16428. "200":
  16429. description: OK
  16430. schema:
  16431. items:
  16432. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16433. type: array
  16434. "500":
  16435. description: Internal Server Error
  16436. schema:
  16437. $ref: '#/definitions/app.Response'
  16438. security:
  16439. - ApiKeyAuth: []
  16440. summary: 查询账户管理期货账号(账户管理/期货账号)
  16441. tags:
  16442. - 企业风险管理(app)
  16443. /Ermcp/QueryAvaildGoodsGroup:
  16444. get:
  16445. parameters:
  16446. - description: 所属机构ID
  16447. in: query
  16448. name: userid
  16449. required: true
  16450. type: integer
  16451. produces:
  16452. - application/json
  16453. responses:
  16454. "200":
  16455. description: OK
  16456. schema:
  16457. items:
  16458. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  16459. type: array
  16460. "500":
  16461. description: Internal Server Error
  16462. schema:
  16463. $ref: '#/definitions/app.Response'
  16464. security:
  16465. - ApiKeyAuth: []
  16466. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  16467. tags:
  16468. - 企业风险管理(app)
  16469. /Ermcp/QueryBusinessDj:
  16470. get:
  16471. parameters:
  16472. - description: 用户ID
  16473. in: query
  16474. name: UserId
  16475. required: true
  16476. type: integer
  16477. - description: 用户类型 2-机构 7-企业成员
  16478. in: query
  16479. name: usertype
  16480. type: integer
  16481. - description: 现货合同ID, 不填则查所有
  16482. in: query
  16483. name: relatedid
  16484. type: string
  16485. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16486. in: query
  16487. name: applystatus
  16488. type: string
  16489. produces:
  16490. - application/json
  16491. responses:
  16492. "200":
  16493. description: OK
  16494. schema:
  16495. items:
  16496. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  16497. type: array
  16498. "500":
  16499. description: Internal Server Error
  16500. schema:
  16501. $ref: '#/definitions/app.Response'
  16502. security:
  16503. - ApiKeyAuth: []
  16504. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  16505. tags:
  16506. - 企业风险管理(app)
  16507. /Ermcp/QueryBusinessFp:
  16508. get:
  16509. parameters:
  16510. - description: 用户ID
  16511. in: query
  16512. name: UserId
  16513. required: true
  16514. type: integer
  16515. - description: 用户类型 2-机构 7-企业成员
  16516. in: query
  16517. name: usertype
  16518. type: integer
  16519. - description: 现货合同ID, 不填则查所有
  16520. in: query
  16521. name: relatedid
  16522. type: string
  16523. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16524. in: query
  16525. name: applystatus
  16526. type: string
  16527. produces:
  16528. - application/json
  16529. responses:
  16530. "200":
  16531. description: OK
  16532. schema:
  16533. items:
  16534. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  16535. type: array
  16536. "500":
  16537. description: Internal Server Error
  16538. schema:
  16539. $ref: '#/definitions/app.Response'
  16540. security:
  16541. - ApiKeyAuth: []
  16542. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  16543. tags:
  16544. - 企业风险管理(app)
  16545. /Ermcp/QueryBusinessJs:
  16546. get:
  16547. parameters:
  16548. - description: 用户ID
  16549. in: query
  16550. name: UserId
  16551. required: true
  16552. type: integer
  16553. - description: 用户类型 2-机构 7-企业成员
  16554. in: query
  16555. name: usertype
  16556. type: integer
  16557. - description: 现货合同ID, 不填则查所有
  16558. in: query
  16559. name: relatedid
  16560. type: string
  16561. - description: 操作申请id
  16562. in: query
  16563. name: operateapplyid
  16564. type: string
  16565. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16566. in: query
  16567. name: applystatus
  16568. type: string
  16569. produces:
  16570. - application/json
  16571. responses:
  16572. "200":
  16573. description: OK
  16574. schema:
  16575. items:
  16576. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  16577. type: array
  16578. "500":
  16579. description: Internal Server Error
  16580. schema:
  16581. $ref: '#/definitions/app.Response'
  16582. security:
  16583. - ApiKeyAuth: []
  16584. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  16585. tags:
  16586. - 企业风险管理(app)
  16587. /Ermcp/QueryBusinessJsEx:
  16588. get:
  16589. parameters:
  16590. - description: 用户ID
  16591. in: query
  16592. name: UserId
  16593. required: true
  16594. type: integer
  16595. - description: 用户类型 2-机构 7-企业成员
  16596. in: query
  16597. name: usertype
  16598. type: integer
  16599. - description: 现货合同ID, 不填则查所有
  16600. in: query
  16601. name: relatedid
  16602. type: string
  16603. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16604. in: query
  16605. name: applystatus
  16606. type: string
  16607. produces:
  16608. - application/json
  16609. responses:
  16610. "200":
  16611. description: OK
  16612. schema:
  16613. items:
  16614. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  16615. type: array
  16616. "500":
  16617. description: Internal Server Error
  16618. schema:
  16619. $ref: '#/definitions/app.Response'
  16620. security:
  16621. - ApiKeyAuth: []
  16622. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  16623. tags:
  16624. - 企业风险管理(app)
  16625. /Ermcp/QueryBusinessKx:
  16626. get:
  16627. parameters:
  16628. - description: 用户ID
  16629. in: query
  16630. name: UserId
  16631. required: true
  16632. type: integer
  16633. - description: 用户类型 2-机构 7-企业成员
  16634. in: query
  16635. name: usertype
  16636. type: integer
  16637. - description: 现货合同ID, 不填则查所有
  16638. in: query
  16639. name: relatedid
  16640. type: string
  16641. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16642. in: query
  16643. name: applystatus
  16644. type: string
  16645. produces:
  16646. - application/json
  16647. responses:
  16648. "200":
  16649. description: OK
  16650. schema:
  16651. items:
  16652. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  16653. type: array
  16654. "500":
  16655. description: Internal Server Error
  16656. schema:
  16657. $ref: '#/definitions/app.Response'
  16658. security:
  16659. - ApiKeyAuth: []
  16660. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  16661. tags:
  16662. - 企业风险管理(app)
  16663. /Ermcp/QueryChangeLog:
  16664. get:
  16665. parameters:
  16666. - description: 合同ID
  16667. in: query
  16668. name: RelatedId
  16669. required: true
  16670. type: string
  16671. produces:
  16672. - application/json
  16673. responses:
  16674. "200":
  16675. description: OK
  16676. schema:
  16677. items:
  16678. $ref: '#/definitions/ermcp.QryOPLogRsp'
  16679. type: array
  16680. "500":
  16681. description: Internal Server Error
  16682. schema:
  16683. $ref: '#/definitions/app.Response'
  16684. security:
  16685. - ApiKeyAuth: []
  16686. summary: 查询变更记录
  16687. tags:
  16688. - 企业风险管理(app)
  16689. /Ermcp/QueryErmcpHisOrderDetails:
  16690. get:
  16691. parameters:
  16692. - description: 资金账户ID
  16693. in: query
  16694. name: accountID
  16695. required: true
  16696. type: integer
  16697. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16698. in: query
  16699. name: startDate
  16700. type: string
  16701. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16702. in: query
  16703. name: endDate
  16704. type: string
  16705. produces:
  16706. - application/json
  16707. responses:
  16708. "200":
  16709. description: OK
  16710. schema:
  16711. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16712. "500":
  16713. description: Internal Server Error
  16714. schema:
  16715. $ref: '#/definitions/app.Response'
  16716. security:
  16717. - ApiKeyAuth: []
  16718. summary: 获取企业风管期货历史委托单信息
  16719. tags:
  16720. - 企业风险管理(app)
  16721. /Ermcp/QueryErmcpHisTradeDetails:
  16722. get:
  16723. parameters:
  16724. - description: 资金账户ID
  16725. in: query
  16726. name: accountID
  16727. required: true
  16728. type: integer
  16729. - description: 商品ID
  16730. in: query
  16731. name: goodsID
  16732. type: integer
  16733. - description: 买卖方向,0:买 1:卖
  16734. in: query
  16735. name: buyOrSell
  16736. type: integer
  16737. - description: 关联委托单号
  16738. in: query
  16739. name: orderID
  16740. type: integer
  16741. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16742. in: query
  16743. name: startDate
  16744. type: string
  16745. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16746. in: query
  16747. name: endDate
  16748. type: string
  16749. produces:
  16750. - application/json
  16751. responses:
  16752. "200":
  16753. description: OK
  16754. schema:
  16755. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16756. "500":
  16757. description: Internal Server Error
  16758. schema:
  16759. $ref: '#/definitions/app.Response'
  16760. security:
  16761. - ApiKeyAuth: []
  16762. summary: 获取企业风管期货历史成交单信息
  16763. tags:
  16764. - 企业风险管理(app)
  16765. /Ermcp/QueryErmcpInnerHolderDetails:
  16766. get:
  16767. parameters:
  16768. - description: 资金账户ID
  16769. in: query
  16770. name: accountID
  16771. required: true
  16772. type: integer
  16773. - description: 商品ID
  16774. in: query
  16775. name: goodsID
  16776. type: integer
  16777. - description: 买卖方向,0:买 1:卖
  16778. in: query
  16779. name: buyOrSell
  16780. type: integer
  16781. produces:
  16782. - application/json
  16783. responses:
  16784. "200":
  16785. description: OK
  16786. schema:
  16787. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  16788. "500":
  16789. description: Internal Server Error
  16790. schema:
  16791. $ref: '#/definitions/app.Response'
  16792. security:
  16793. - ApiKeyAuth: []
  16794. summary: 获取企业风管期货内部持仓单信息
  16795. tags:
  16796. - 企业风险管理(app)
  16797. /Ermcp/QueryErmcpOrderDetails:
  16798. get:
  16799. parameters:
  16800. - description: 资金账户ID
  16801. in: query
  16802. name: accountID
  16803. required: true
  16804. type: integer
  16805. produces:
  16806. - application/json
  16807. responses:
  16808. "200":
  16809. description: OK
  16810. schema:
  16811. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  16812. "500":
  16813. description: Internal Server Error
  16814. schema:
  16815. $ref: '#/definitions/app.Response'
  16816. security:
  16817. - ApiKeyAuth: []
  16818. summary: 获取企业风管期货委托单信息
  16819. tags:
  16820. - 企业风险管理(app)
  16821. /Ermcp/QueryErmcpTradeDetails:
  16822. get:
  16823. parameters:
  16824. - description: 资金账户ID
  16825. in: query
  16826. name: accountID
  16827. required: true
  16828. type: integer
  16829. - description: 商品ID
  16830. in: query
  16831. name: goodsID
  16832. type: integer
  16833. - description: 买卖方向,0:买 1:卖
  16834. in: query
  16835. name: buyOrSell
  16836. type: integer
  16837. - description: 关联委托单号
  16838. in: query
  16839. name: orderID
  16840. type: integer
  16841. produces:
  16842. - application/json
  16843. responses:
  16844. "200":
  16845. description: OK
  16846. schema:
  16847. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  16848. "500":
  16849. description: Internal Server Error
  16850. schema:
  16851. $ref: '#/definitions/app.Response'
  16852. security:
  16853. - ApiKeyAuth: []
  16854. summary: 获取企业风管期货成交单信息
  16855. tags:
  16856. - 企业风险管理(app)
  16857. /Ermcp/QueryErmcpTradePosition:
  16858. get:
  16859. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  16860. parameters:
  16861. - description: 资金账户ID
  16862. in: query
  16863. name: accountID
  16864. required: true
  16865. type: integer
  16866. - description: 所属市场ID
  16867. in: query
  16868. name: marketID
  16869. type: integer
  16870. produces:
  16871. - application/json
  16872. responses:
  16873. "200":
  16874. description: OK
  16875. schema:
  16876. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  16877. "500":
  16878. description: Internal Server Error
  16879. schema:
  16880. $ref: '#/definitions/app.Response'
  16881. security:
  16882. - ApiKeyAuth: []
  16883. summary: 获取企业风管期货持仓头寸信息
  16884. tags:
  16885. - 企业风险管理(app)
  16886. /Ermcp/QueryExposureDetail:
  16887. get:
  16888. parameters:
  16889. - description: 所属机构ID
  16890. in: query
  16891. name: areaUserId
  16892. required: true
  16893. type: integer
  16894. - description: 套保商品
  16895. in: query
  16896. name: middleGoodsId
  16897. required: true
  16898. type: integer
  16899. produces:
  16900. - application/json
  16901. responses:
  16902. "200":
  16903. description: OK
  16904. schema:
  16905. items:
  16906. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  16907. type: array
  16908. "500":
  16909. description: Internal Server Error
  16910. schema:
  16911. $ref: '#/definitions/app.Response'
  16912. security:
  16913. - ApiKeyAuth: []
  16914. summary: 查询敞口现货明细
  16915. tags:
  16916. - 企业风险管理(app)
  16917. /Ermcp/QueryExposureGoods:
  16918. get:
  16919. parameters:
  16920. - description: 套保商品id
  16921. in: query
  16922. name: middlegoodsid
  16923. required: true
  16924. type: integer
  16925. produces:
  16926. - application/json
  16927. responses:
  16928. "200":
  16929. description: OK
  16930. schema:
  16931. items:
  16932. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  16933. type: array
  16934. "500":
  16935. description: Internal Server Error
  16936. schema:
  16937. $ref: '#/definitions/app.Response'
  16938. security:
  16939. - ApiKeyAuth: []
  16940. summary: 查询敞口主力合约
  16941. tags:
  16942. - 企业风险管理(app)
  16943. /Ermcp/QueryExposureHedgePosition:
  16944. get:
  16945. parameters:
  16946. - description: 用户id
  16947. in: query
  16948. name: userid
  16949. required: true
  16950. type: integer
  16951. produces:
  16952. - application/json
  16953. responses:
  16954. "200":
  16955. description: OK
  16956. schema:
  16957. items:
  16958. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  16959. type: array
  16960. "500":
  16961. description: Internal Server Error
  16962. schema:
  16963. $ref: '#/definitions/app.Response'
  16964. security:
  16965. - ApiKeyAuth: []
  16966. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  16967. tags:
  16968. - 企业风险管理(app)
  16969. /Ermcp/QueryExposureHedgePositionDetail:
  16970. get:
  16971. parameters:
  16972. - description: 所属机构ID
  16973. in: query
  16974. name: userid
  16975. required: true
  16976. type: integer
  16977. - description: 商品id
  16978. in: query
  16979. name: goodsId
  16980. required: true
  16981. type: integer
  16982. produces:
  16983. - application/json
  16984. responses:
  16985. "200":
  16986. description: OK
  16987. schema:
  16988. items:
  16989. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  16990. type: array
  16991. "500":
  16992. description: Internal Server Error
  16993. schema:
  16994. $ref: '#/definitions/app.Response'
  16995. security:
  16996. - ApiKeyAuth: []
  16997. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  16998. tags:
  16999. - 企业风险管理(app)
  17000. /Ermcp/QueryExposureSpot:
  17001. get:
  17002. parameters:
  17003. - description: 所属机构ID
  17004. in: query
  17005. name: areaUserId
  17006. required: true
  17007. type: integer
  17008. produces:
  17009. - application/json
  17010. responses:
  17011. "200":
  17012. description: OK
  17013. schema:
  17014. items:
  17015. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17016. type: array
  17017. "500":
  17018. description: Internal Server Error
  17019. schema:
  17020. $ref: '#/definitions/app.Response'
  17021. security:
  17022. - ApiKeyAuth: []
  17023. summary: 查询敞口现货头寸(敞口/现货头寸)
  17024. tags:
  17025. - 企业风险管理(app)
  17026. /Ermcp/QueryExposureSpotDetail:
  17027. get:
  17028. parameters:
  17029. - description: 所属机构ID
  17030. in: query
  17031. name: areaUserId
  17032. required: true
  17033. type: integer
  17034. - description: 现货品种ID
  17035. in: query
  17036. name: wrstandardId
  17037. required: true
  17038. type: integer
  17039. produces:
  17040. - application/json
  17041. responses:
  17042. "200":
  17043. description: OK
  17044. schema:
  17045. items:
  17046. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17047. type: array
  17048. "500":
  17049. description: Internal Server Error
  17050. schema:
  17051. $ref: '#/definitions/app.Response'
  17052. security:
  17053. - ApiKeyAuth: []
  17054. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17055. tags:
  17056. - 企业风险管理(app)
  17057. /Ermcp/QueryFuturesCompany:
  17058. get:
  17059. produces:
  17060. - application/json
  17061. responses:
  17062. "200":
  17063. description: OK
  17064. schema:
  17065. items:
  17066. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17067. type: array
  17068. "500":
  17069. description: Internal Server Error
  17070. schema:
  17071. $ref: '#/definitions/app.Response'
  17072. security:
  17073. - ApiKeyAuth: []
  17074. summary: 查询期货公司
  17075. tags:
  17076. - 企业风险管理(app)
  17077. /Ermcp/QueryGGConvertConfig:
  17078. get:
  17079. parameters:
  17080. - description: 品种id(不填则查所有)
  17081. in: query
  17082. name: goodsgroupid
  17083. type: integer
  17084. produces:
  17085. - application/json
  17086. responses:
  17087. "200":
  17088. description: OK
  17089. schema:
  17090. items:
  17091. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17092. type: array
  17093. "500":
  17094. description: Internal Server Error
  17095. schema:
  17096. $ref: '#/definitions/app.Response'
  17097. security:
  17098. - ApiKeyAuth: []
  17099. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17100. tags:
  17101. - 企业风险管理(app)
  17102. /Ermcp/QueryGoodsBrand:
  17103. get:
  17104. parameters:
  17105. - description: 用户ID
  17106. in: query
  17107. name: userid
  17108. required: true
  17109. type: integer
  17110. - description: 现货商品ID
  17111. in: query
  17112. name: wrstandardid
  17113. type: integer
  17114. produces:
  17115. - application/json
  17116. responses:
  17117. "200":
  17118. description: OK
  17119. schema:
  17120. items:
  17121. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17122. type: array
  17123. "500":
  17124. description: Internal Server Error
  17125. schema:
  17126. $ref: '#/definitions/app.Response'
  17127. security:
  17128. - ApiKeyAuth: []
  17129. summary: 查询商品品牌
  17130. tags:
  17131. - 企业风险管理(app)
  17132. /Ermcp/QueryGoodsModel:
  17133. get:
  17134. parameters:
  17135. - description: 用户ID
  17136. in: query
  17137. name: userid
  17138. required: true
  17139. type: integer
  17140. produces:
  17141. - application/json
  17142. responses:
  17143. "200":
  17144. description: OK
  17145. schema:
  17146. items:
  17147. $ref: '#/definitions/models.ErmcpGoodsModel'
  17148. type: array
  17149. "500":
  17150. description: Internal Server Error
  17151. schema:
  17152. $ref: '#/definitions/app.Response'
  17153. security:
  17154. - ApiKeyAuth: []
  17155. summary: 查询商品型号
  17156. tags:
  17157. - 企业风险管理(app)
  17158. /Ermcp/QueryHisExposure:
  17159. get:
  17160. parameters:
  17161. - description: 用户id
  17162. in: query
  17163. name: userid
  17164. required: true
  17165. type: integer
  17166. - description: 每个品种记录数
  17167. in: query
  17168. name: lastNum
  17169. required: true
  17170. type: integer
  17171. produces:
  17172. - application/json
  17173. responses:
  17174. "200":
  17175. description: OK
  17176. schema:
  17177. items:
  17178. $ref: '#/definitions/ermcp.HisExposureRsp'
  17179. type: array
  17180. "500":
  17181. description: Internal Server Error
  17182. schema:
  17183. $ref: '#/definitions/app.Response'
  17184. security:
  17185. - ApiKeyAuth: []
  17186. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17187. tags:
  17188. - 企业风险管理(app)
  17189. /Ermcp/QueryMiddleGoods:
  17190. get:
  17191. parameters:
  17192. - description: 所属机构ID
  17193. in: query
  17194. name: userid
  17195. required: true
  17196. type: integer
  17197. - description: 状态 0-停用 1-正常
  17198. in: query
  17199. name: status
  17200. required: true
  17201. type: integer
  17202. produces:
  17203. - application/json
  17204. responses:
  17205. "200":
  17206. description: OK
  17207. schema:
  17208. items:
  17209. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17210. type: array
  17211. "500":
  17212. description: Internal Server Error
  17213. schema:
  17214. $ref: '#/definitions/app.Response'
  17215. security:
  17216. - ApiKeyAuth: []
  17217. summary: 查询套保品种(菜单:套保品种)
  17218. tags:
  17219. - 企业风险管理(app)
  17220. /Ermcp/QueryMiddleGoodsChangeLog:
  17221. get:
  17222. parameters:
  17223. - description: 所属机构ID
  17224. in: query
  17225. name: userid
  17226. required: true
  17227. type: integer
  17228. - description: 套保品种id
  17229. in: query
  17230. name: middlegoodsid
  17231. required: true
  17232. type: integer
  17233. produces:
  17234. - application/json
  17235. responses:
  17236. "200":
  17237. description: OK
  17238. schema:
  17239. items:
  17240. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17241. type: array
  17242. "500":
  17243. description: Internal Server Error
  17244. schema:
  17245. $ref: '#/definitions/app.Response'
  17246. security:
  17247. - ApiKeyAuth: []
  17248. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17249. tags:
  17250. - 企业风险管理(app)
  17251. /Ermcp/QueryMiddleGoodsDetail:
  17252. get:
  17253. parameters:
  17254. - description: 所属机构ID
  17255. in: query
  17256. name: userid
  17257. required: true
  17258. type: integer
  17259. - description: 套保品种id
  17260. in: query
  17261. name: middlegoodsid
  17262. type: integer
  17263. produces:
  17264. - application/json
  17265. responses:
  17266. "200":
  17267. description: OK
  17268. schema:
  17269. items:
  17270. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17271. type: array
  17272. "500":
  17273. description: Internal Server Error
  17274. schema:
  17275. $ref: '#/definitions/app.Response'
  17276. security:
  17277. - ApiKeyAuth: []
  17278. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17279. tags:
  17280. - 企业风险管理(app)
  17281. /Ermcp/QueryPendingAuditInfo:
  17282. get:
  17283. parameters:
  17284. - description: 用户ID
  17285. in: query
  17286. name: UserId
  17287. required: true
  17288. type: integer
  17289. produces:
  17290. - application/json
  17291. responses:
  17292. "200":
  17293. description: OK
  17294. schema:
  17295. items:
  17296. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17297. type: array
  17298. "500":
  17299. description: Internal Server Error
  17300. schema:
  17301. $ref: '#/definitions/app.Response'
  17302. security:
  17303. - ApiKeyAuth: []
  17304. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17305. tags:
  17306. - 企业风险管理(app)
  17307. /Ermcp/QueryRealtimeExposure:
  17308. get:
  17309. parameters:
  17310. - description: 所属机构ID
  17311. in: query
  17312. name: userid
  17313. required: true
  17314. type: integer
  17315. produces:
  17316. - application/json
  17317. responses:
  17318. "200":
  17319. description: OK
  17320. schema:
  17321. items:
  17322. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17323. type: array
  17324. "500":
  17325. description: Internal Server Error
  17326. schema:
  17327. $ref: '#/definitions/app.Response'
  17328. security:
  17329. - ApiKeyAuth: []
  17330. summary: 查询实时敞口
  17331. tags:
  17332. - 企业风险管理(app)
  17333. /Ermcp/QueryRealtimeExposurePosition:
  17334. get:
  17335. parameters:
  17336. - description: 用户id
  17337. in: query
  17338. name: userid
  17339. required: true
  17340. type: integer
  17341. - description: 套保商品ID
  17342. in: query
  17343. name: middleGoodsId
  17344. required: true
  17345. type: integer
  17346. produces:
  17347. - application/json
  17348. responses:
  17349. "200":
  17350. description: OK
  17351. schema:
  17352. items:
  17353. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17354. type: array
  17355. "500":
  17356. description: Internal Server Error
  17357. schema:
  17358. $ref: '#/definitions/app.Response'
  17359. security:
  17360. - ApiKeyAuth: []
  17361. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17362. tags:
  17363. - 企业风险管理(app)
  17364. /Ermcp/QueryRoleMenu:
  17365. get:
  17366. parameters:
  17367. - description: 登录ID
  17368. in: query
  17369. name: loginid
  17370. required: true
  17371. type: integer
  17372. produces:
  17373. - application/json
  17374. responses:
  17375. "200":
  17376. description: OK
  17377. schema:
  17378. items:
  17379. $ref: '#/definitions/models.RoleMenu'
  17380. type: array
  17381. "500":
  17382. description: Internal Server Error
  17383. schema:
  17384. $ref: '#/definitions/app.Response'
  17385. security:
  17386. - ApiKeyAuth: []
  17387. summary: 查询角色菜单和权限
  17388. tags:
  17389. - 企业风险管理(app)
  17390. /Ermcp/QueryTradeConfigTMP:
  17391. get:
  17392. parameters:
  17393. - description: 所属机构id
  17394. in: query
  17395. name: areauserid
  17396. type: integer
  17397. produces:
  17398. - application/json
  17399. responses:
  17400. "200":
  17401. description: OK
  17402. schema:
  17403. items:
  17404. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17405. type: array
  17406. "500":
  17407. description: Internal Server Error
  17408. schema:
  17409. $ref: '#/definitions/app.Response'
  17410. security:
  17411. - ApiKeyAuth: []
  17412. summary: 查询交易模板配置
  17413. tags:
  17414. - 企业风险管理(app)
  17415. /Ermcp/QueryUserInfo:
  17416. get:
  17417. parameters:
  17418. - description: 所属机构用户ID
  17419. in: query
  17420. name: MemberUserID
  17421. required: true
  17422. type: integer
  17423. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17424. in: query
  17425. name: queryType
  17426. required: true
  17427. type: integer
  17428. produces:
  17429. - application/json
  17430. responses:
  17431. "200":
  17432. description: OK
  17433. schema:
  17434. items:
  17435. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17436. type: array
  17437. "500":
  17438. description: Internal Server Error
  17439. schema:
  17440. $ref: '#/definitions/app.Response'
  17441. security:
  17442. - ApiKeyAuth: []
  17443. summary: 查询客户资料
  17444. tags:
  17445. - 企业风险管理(app)
  17446. /Ermcp/QueryWarehouseInfo:
  17447. get:
  17448. parameters:
  17449. - description: 用户ID
  17450. in: query
  17451. name: userid
  17452. required: true
  17453. type: integer
  17454. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  17455. in: query
  17456. name: status
  17457. type: string
  17458. produces:
  17459. - application/json
  17460. responses:
  17461. "200":
  17462. description: OK
  17463. schema:
  17464. items:
  17465. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  17466. type: array
  17467. "500":
  17468. description: Internal Server Error
  17469. schema:
  17470. $ref: '#/definitions/app.Response'
  17471. security:
  17472. - ApiKeyAuth: []
  17473. summary: 查询仓库信息
  17474. tags:
  17475. - 企业风险管理(app)
  17476. /Ermcp3/QryAreaExpourseContractDetail:
  17477. get:
  17478. parameters:
  17479. - description: 用户ID
  17480. in: query
  17481. name: userid
  17482. required: true
  17483. type: integer
  17484. - description: 套保商品id
  17485. in: query
  17486. name: middlegoodsid
  17487. required: true
  17488. type: integer
  17489. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17490. in: query
  17491. name: cycletype
  17492. required: true
  17493. type: integer
  17494. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17495. 全(0)【原值】
  17496. in: query
  17497. name: cycletime
  17498. required: true
  17499. type: string
  17500. produces:
  17501. - application/json
  17502. responses:
  17503. "200":
  17504. description: OK
  17505. schema:
  17506. items:
  17507. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  17518. /Ermcp3/QryAreaExpourseFutuDetail:
  17519. get:
  17520. parameters:
  17521. - description: 用户ID
  17522. in: query
  17523. name: userid
  17524. required: true
  17525. type: integer
  17526. - description: 套保商品id
  17527. in: query
  17528. name: middlegoodsid
  17529. required: true
  17530. type: integer
  17531. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17532. in: query
  17533. name: cycletype
  17534. required: true
  17535. type: integer
  17536. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17537. 全(0)【原值】
  17538. in: query
  17539. name: cycletime
  17540. required: true
  17541. type: string
  17542. produces:
  17543. - application/json
  17544. responses:
  17545. "200":
  17546. description: OK
  17547. schema:
  17548. items:
  17549. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  17550. type: array
  17551. "500":
  17552. description: Internal Server Error
  17553. schema:
  17554. $ref: '#/definitions/app.Response'
  17555. security:
  17556. - ApiKeyAuth: []
  17557. summary: 查询敞口期货明细(敞口报表/期货明细)
  17558. tags:
  17559. - 企业风险管理v3(app)
  17560. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  17561. get:
  17562. parameters:
  17563. - description: 用户ID
  17564. in: query
  17565. name: userid
  17566. required: true
  17567. type: integer
  17568. - description: 套保商品id
  17569. in: query
  17570. name: middlegoodsid
  17571. required: true
  17572. type: integer
  17573. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17574. in: query
  17575. name: cycletype
  17576. required: true
  17577. type: integer
  17578. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17579. 全(0)【原值】
  17580. in: query
  17581. name: cycletime
  17582. required: true
  17583. type: string
  17584. produces:
  17585. - application/json
  17586. responses:
  17587. "200":
  17588. description: OK
  17589. schema:
  17590. items:
  17591. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  17592. type: array
  17593. "500":
  17594. description: Internal Server Error
  17595. schema:
  17596. $ref: '#/definitions/app.Response'
  17597. security:
  17598. - ApiKeyAuth: []
  17599. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  17600. tags:
  17601. - 企业风险管理v3(app)
  17602. /Ermcp3/QryAreaExpourseParamChLogDetail:
  17603. get:
  17604. parameters:
  17605. - description: 用户ID
  17606. in: query
  17607. name: userid
  17608. required: true
  17609. type: integer
  17610. - description: 套保商品id
  17611. in: query
  17612. name: middlegoodsid
  17613. required: true
  17614. type: integer
  17615. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17616. in: query
  17617. name: cycletype
  17618. required: true
  17619. type: integer
  17620. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17621. 全(0)【原值】
  17622. in: query
  17623. name: cycletime
  17624. required: true
  17625. type: string
  17626. produces:
  17627. - application/json
  17628. responses:
  17629. "200":
  17630. description: OK
  17631. schema:
  17632. items:
  17633. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  17634. type: array
  17635. "500":
  17636. description: Internal Server Error
  17637. schema:
  17638. $ref: '#/definitions/app.Response'
  17639. security:
  17640. - ApiKeyAuth: []
  17641. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  17642. tags:
  17643. - 企业风险管理v3(app)
  17644. /Ermcp3/QryAreaExpourseReport:
  17645. get:
  17646. parameters:
  17647. - description: 用户ID
  17648. in: query
  17649. name: userid
  17650. required: true
  17651. type: integer
  17652. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  17653. in: query
  17654. name: querytype
  17655. required: true
  17656. type: integer
  17657. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17658. in: query
  17659. name: cycletype
  17660. required: true
  17661. type: integer
  17662. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17663. 全(0)【原值】
  17664. in: query
  17665. name: cycletime
  17666. required: true
  17667. type: string
  17668. produces:
  17669. - application/json
  17670. responses:
  17671. "200":
  17672. description: OK
  17673. schema:
  17674. items:
  17675. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  17676. type: array
  17677. "500":
  17678. description: Internal Server Error
  17679. schema:
  17680. $ref: '#/definitions/app.Response'
  17681. security:
  17682. - ApiKeyAuth: []
  17683. summary: 查询敞口报表
  17684. tags:
  17685. - 企业风险管理v3(app)
  17686. /Ermcp3/QryAreaSpotplReport:
  17687. get:
  17688. parameters:
  17689. - description: 用户ID
  17690. in: query
  17691. name: userid
  17692. required: true
  17693. type: integer
  17694. - description: 查询类型 1-报表 2-报表明细
  17695. in: query
  17696. name: querytype
  17697. required: true
  17698. type: integer
  17699. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17700. in: query
  17701. name: cycletype
  17702. required: true
  17703. type: integer
  17704. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17705. 全(0)【原值】
  17706. in: query
  17707. name: cycletime
  17708. required: true
  17709. type: string
  17710. - description: 现货品种id(明细必填)
  17711. in: query
  17712. name: deliverygoodsid
  17713. type: integer
  17714. - description: 币种id(明细必填)
  17715. in: query
  17716. name: currencyid
  17717. type: integer
  17718. produces:
  17719. - application/json
  17720. responses:
  17721. "200":
  17722. description: OK
  17723. schema:
  17724. items:
  17725. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  17726. type: array
  17727. "500":
  17728. description: Internal Server Error
  17729. schema:
  17730. $ref: '#/definitions/app.Response'
  17731. security:
  17732. - ApiKeyAuth: []
  17733. summary: 查询现货报表
  17734. tags:
  17735. - 企业风险管理v3(app)
  17736. /Ermcp3/QryAreaStockReport:
  17737. get:
  17738. parameters:
  17739. - description: 用户ID
  17740. in: query
  17741. name: userid
  17742. required: true
  17743. type: integer
  17744. - description: 查询类型 1-报表 2-报表明细
  17745. in: query
  17746. name: querytype
  17747. required: true
  17748. type: integer
  17749. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17750. in: query
  17751. name: cycletype
  17752. required: true
  17753. type: integer
  17754. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17755. 全(0)【原值】
  17756. in: query
  17757. name: cycletime
  17758. required: true
  17759. type: string
  17760. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  17761. in: query
  17762. name: sumfields
  17763. type: string
  17764. - description: 品种ID
  17765. in: query
  17766. name: deliverygoodsid
  17767. type: integer
  17768. - description: 品类ID
  17769. in: query
  17770. name: wrstandardid
  17771. type: integer
  17772. - description: 品牌ID
  17773. in: query
  17774. name: spotgoodsbrandid
  17775. type: integer
  17776. - description: 仓库ID
  17777. in: query
  17778. name: warehouseinfoid
  17779. type: integer
  17780. produces:
  17781. - application/json
  17782. responses:
  17783. "200":
  17784. description: OK
  17785. schema:
  17786. items:
  17787. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  17788. type: array
  17789. "500":
  17790. description: Internal Server Error
  17791. schema:
  17792. $ref: '#/definitions/app.Response'
  17793. security:
  17794. - ApiKeyAuth: []
  17795. summary: 查询库存报表
  17796. tags:
  17797. - 企业风险管理v3(app)
  17798. /Ermcp3/QryAreaSumPL:
  17799. get:
  17800. parameters:
  17801. - description: 用户ID
  17802. in: query
  17803. name: userid
  17804. required: true
  17805. type: integer
  17806. - description: 查询类型 1-报表 2-报表明细
  17807. in: query
  17808. name: querytype
  17809. required: true
  17810. type: integer
  17811. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17812. in: query
  17813. name: cycletype
  17814. required: true
  17815. type: integer
  17816. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17817. 全(0)【原值】
  17818. in: query
  17819. name: cycletime
  17820. required: true
  17821. type: string
  17822. - description: 币种id(明细必填)
  17823. in: query
  17824. name: currencyid
  17825. type: integer
  17826. produces:
  17827. - application/json
  17828. responses:
  17829. "200":
  17830. description: OK
  17831. schema:
  17832. items:
  17833. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  17834. type: array
  17835. "500":
  17836. description: Internal Server Error
  17837. schema:
  17838. $ref: '#/definitions/app.Response'
  17839. security:
  17840. - ApiKeyAuth: []
  17841. summary: 查询汇总损益表
  17842. tags:
  17843. - 企业风险管理v3(app)
  17844. /Ermcp3/QryFinanceReport:
  17845. get:
  17846. parameters:
  17847. - description: 用户ID
  17848. in: query
  17849. name: userid
  17850. required: true
  17851. type: integer
  17852. - description: 查询类型 1-报表 2-报表明细
  17853. in: query
  17854. name: querytype
  17855. required: true
  17856. type: integer
  17857. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17858. in: query
  17859. name: cycletype
  17860. required: true
  17861. type: integer
  17862. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17863. 全(0)【原值】
  17864. in: query
  17865. name: cycletime
  17866. required: true
  17867. type: string
  17868. - description: 币种id(报表明细必填)
  17869. in: query
  17870. name: currencyid
  17871. type: integer
  17872. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  17873. in: query
  17874. name: sumfields
  17875. type: string
  17876. produces:
  17877. - application/json
  17878. responses:
  17879. "200":
  17880. description: OK
  17881. schema:
  17882. items:
  17883. $ref: '#/definitions/models.Ermcp3FinanceReport'
  17884. type: array
  17885. "500":
  17886. description: Internal Server Error
  17887. schema:
  17888. $ref: '#/definitions/app.Response'
  17889. security:
  17890. - ApiKeyAuth: []
  17891. summary: 查询财务报表
  17892. tags:
  17893. - 企业风险管理v3(app)
  17894. /Ermcp3/QryTaFutureDataReport:
  17895. get:
  17896. parameters:
  17897. - description: 用户ID
  17898. in: query
  17899. name: userid
  17900. required: true
  17901. type: integer
  17902. - description: 查询类型 1-报表 2-报表明细
  17903. in: query
  17904. name: querytype
  17905. required: true
  17906. type: integer
  17907. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  17908. in: query
  17909. name: cycletype
  17910. required: true
  17911. type: integer
  17912. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  17913. 全(0)【原值】
  17914. in: query
  17915. name: cycletime
  17916. required: true
  17917. type: string
  17918. - description: 币种id(查明细必填)
  17919. in: query
  17920. name: currencyid
  17921. type: integer
  17922. - description: 品种id(查明细必填)
  17923. in: query
  17924. name: goodsgroupid
  17925. type: integer
  17926. - description: 商品id(查明细必填)
  17927. in: query
  17928. name: goodsid
  17929. type: integer
  17930. - description: 买卖方向(查明细必填)
  17931. in: query
  17932. name: buyorsell
  17933. type: integer
  17934. produces:
  17935. - application/json
  17936. responses:
  17937. "200":
  17938. description: OK
  17939. schema:
  17940. items:
  17941. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  17942. type: array
  17943. "500":
  17944. description: Internal Server Error
  17945. schema:
  17946. $ref: '#/definitions/app.Response'
  17947. security:
  17948. - ApiKeyAuth: []
  17949. summary: 查询期货报表
  17950. tags:
  17951. - 企业风险管理v3(app)
  17952. /Ermcp3/QueryAreaStock:
  17953. get:
  17954. parameters:
  17955. - description: 用户ID
  17956. in: query
  17957. name: userid
  17958. required: true
  17959. type: integer
  17960. produces:
  17961. - application/json
  17962. responses:
  17963. "200":
  17964. description: OK
  17965. schema:
  17966. items:
  17967. $ref: '#/definitions/models.Ermcp3AreaStock'
  17968. type: array
  17969. "500":
  17970. description: Internal Server Error
  17971. schema:
  17972. $ref: '#/definitions/app.Response'
  17973. security:
  17974. - ApiKeyAuth: []
  17975. summary: 查询机构库存(库存管理/当前库存)
  17976. tags:
  17977. - 企业风险管理v3(app)
  17978. /Ermcp3/QueryAreaStockApply:
  17979. get:
  17980. parameters:
  17981. - description: 用户ID
  17982. in: query
  17983. name: userid
  17984. required: true
  17985. type: integer
  17986. - description: 用户类型 2-机构 7-企业成员
  17987. in: query
  17988. name: usertype
  17989. type: integer
  17990. - description: 现货商品ID
  17991. in: query
  17992. name: deliverygoodsid
  17993. type: integer
  17994. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  17995. in: query
  17996. name: inouttype
  17997. type: string
  17998. - description: 合同ID
  17999. in: query
  18000. name: spotcontractid
  18001. type: integer
  18002. - description: 品类ID
  18003. in: query
  18004. name: wrstandardid
  18005. type: integer
  18006. - description: 品牌ID
  18007. in: query
  18008. name: spotgoodsbrandid
  18009. type: integer
  18010. - description: 仓库ID
  18011. in: query
  18012. name: warehouseinfoid
  18013. type: integer
  18014. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18015. in: query
  18016. name: applystatus
  18017. type: string
  18018. produces:
  18019. - application/json
  18020. responses:
  18021. "200":
  18022. description: OK
  18023. schema:
  18024. items:
  18025. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18026. type: array
  18027. "500":
  18028. description: Internal Server Error
  18029. schema:
  18030. $ref: '#/definitions/app.Response'
  18031. security:
  18032. - ApiKeyAuth: []
  18033. summary: 查询库存申请(出入库记录|库存审核)
  18034. tags:
  18035. - 企业风险管理v3(app)
  18036. /Ermcp3/QueryAreaStockApplySum:
  18037. get:
  18038. parameters:
  18039. - description: 合同ID
  18040. in: query
  18041. name: spotcontractid
  18042. required: true
  18043. type: integer
  18044. produces:
  18045. - application/json
  18046. responses:
  18047. "200":
  18048. description: OK
  18049. schema:
  18050. items:
  18051. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18052. type: array
  18053. "500":
  18054. description: Internal Server Error
  18055. schema:
  18056. $ref: '#/definitions/app.Response'
  18057. security:
  18058. - ApiKeyAuth: []
  18059. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18060. tags:
  18061. - 企业风险管理v3(app)
  18062. /Ermcp3/QueryDGFactoryItem:
  18063. get:
  18064. parameters:
  18065. - description: 用户id
  18066. in: query
  18067. name: userid
  18068. type: integer
  18069. - description: 用户类型 2-机构 7-企业成员
  18070. in: query
  18071. name: usertype
  18072. type: integer
  18073. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18074. in: query
  18075. name: dgfactoryitemid
  18076. type: integer
  18077. - description: 现货品种ID
  18078. in: query
  18079. name: deliverygoodsid
  18080. type: integer
  18081. - description: 要素项类型
  18082. in: query
  18083. name: dgfactoryitemtypeid
  18084. type: integer
  18085. - description: 顺序
  18086. in: query
  18087. name: orderindex
  18088. type: integer
  18089. produces:
  18090. - application/json
  18091. responses:
  18092. "200":
  18093. description: OK
  18094. schema:
  18095. items:
  18096. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18097. type: array
  18098. "500":
  18099. description: Internal Server Error
  18100. schema:
  18101. $ref: '#/definitions/app.Response'
  18102. security:
  18103. - ApiKeyAuth: []
  18104. summary: 查询品种要素定义项
  18105. tags:
  18106. - 企业风险管理v3(app)
  18107. /Ermcp3/QueryDeliveryGoods:
  18108. get:
  18109. parameters:
  18110. - description: 用户id
  18111. in: query
  18112. name: userid
  18113. required: true
  18114. type: integer
  18115. - description: 用户类型 2-机构 7-企业成员
  18116. in: query
  18117. name: usertype
  18118. type: integer
  18119. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18120. in: query
  18121. name: excludecfg
  18122. type: integer
  18123. produces:
  18124. - application/json
  18125. responses:
  18126. "200":
  18127. description: OK
  18128. schema:
  18129. items:
  18130. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18131. type: array
  18132. "500":
  18133. description: Internal Server Error
  18134. schema:
  18135. $ref: '#/definitions/app.Response'
  18136. security:
  18137. - ApiKeyAuth: []
  18138. summary: 查询现货商品
  18139. tags:
  18140. - 企业风险管理v3(app)
  18141. /Ermcp3/QueryDeliveryGoodsDetail:
  18142. get:
  18143. parameters:
  18144. - description: 用户id
  18145. in: query
  18146. name: userid
  18147. required: true
  18148. type: integer
  18149. - description: 用户类型 2-机构 7-企业成员
  18150. in: query
  18151. name: usertype
  18152. type: integer
  18153. - description: 现货商品id
  18154. in: query
  18155. name: deliverygoodsid
  18156. type: integer
  18157. produces:
  18158. - application/json
  18159. responses:
  18160. "200":
  18161. description: OK
  18162. schema:
  18163. items:
  18164. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18165. type: array
  18166. "500":
  18167. description: Internal Server Error
  18168. schema:
  18169. $ref: '#/definitions/app.Response'
  18170. security:
  18171. - ApiKeyAuth: []
  18172. summary: 查询现货商品详情
  18173. tags:
  18174. - 企业风险管理v3(app)
  18175. /Ermcp3/QueryExposureDetail:
  18176. get:
  18177. parameters:
  18178. - description: 用户id
  18179. in: query
  18180. name: userid
  18181. required: true
  18182. type: integer
  18183. - description: 用户类型 2-机构 7-企业成员
  18184. in: query
  18185. name: usertype
  18186. type: integer
  18187. - description: 套保商品
  18188. in: query
  18189. name: middlegoodsid
  18190. required: true
  18191. type: integer
  18192. produces:
  18193. - application/json
  18194. responses:
  18195. "200":
  18196. description: OK
  18197. schema:
  18198. items:
  18199. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  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/QueryExposureSpot:
  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. produces:
  18223. - application/json
  18224. responses:
  18225. "200":
  18226. description: OK
  18227. schema:
  18228. items:
  18229. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18230. type: array
  18231. "500":
  18232. description: Internal Server Error
  18233. schema:
  18234. $ref: '#/definitions/app.Response'
  18235. security:
  18236. - ApiKeyAuth: []
  18237. summary: 查询敞口现货头寸(敞口/现货头寸)
  18238. tags:
  18239. - 企业风险管理v3(app)
  18240. /Ermcp3/QueryExposureSpotDetail:
  18241. get:
  18242. parameters:
  18243. - description: 用户id
  18244. in: query
  18245. name: userid
  18246. required: true
  18247. type: integer
  18248. - description: 用户类型 2-机构 7-企业成员
  18249. in: query
  18250. name: usertype
  18251. type: integer
  18252. - description: 现货品种ID
  18253. in: query
  18254. name: deliverygoodsid
  18255. required: true
  18256. type: integer
  18257. produces:
  18258. - application/json
  18259. responses:
  18260. "200":
  18261. description: OK
  18262. schema:
  18263. items:
  18264. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18265. type: array
  18266. "500":
  18267. description: Internal Server Error
  18268. schema:
  18269. $ref: '#/definitions/app.Response'
  18270. security:
  18271. - ApiKeyAuth: []
  18272. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18273. tags:
  18274. - 企业风险管理v3(app)
  18275. /Ermcp3/QueryGoodsGroup:
  18276. get:
  18277. parameters:
  18278. - description: 用户id
  18279. in: query
  18280. name: userid
  18281. required: true
  18282. type: integer
  18283. - description: 用户类型 2-机构 7-企业成员
  18284. in: query
  18285. name: usertype
  18286. type: integer
  18287. - description: 排除套保品中已关联的商品组 1-排除
  18288. in: query
  18289. name: excludecfg
  18290. type: integer
  18291. produces:
  18292. - application/json
  18293. responses:
  18294. "200":
  18295. description: OK
  18296. schema:
  18297. items:
  18298. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18299. type: array
  18300. "500":
  18301. description: Internal Server Error
  18302. schema:
  18303. $ref: '#/definitions/app.Response'
  18304. security:
  18305. - ApiKeyAuth: []
  18306. summary: 查询期货商品组
  18307. tags:
  18308. - 企业风险管理v3(app)
  18309. /Ermcp3/QueryGoodsWrstandard:
  18310. get:
  18311. parameters:
  18312. - description: 用户id
  18313. in: query
  18314. name: userid
  18315. required: true
  18316. type: integer
  18317. - description: 用户类型 2-机构 7-企业成员
  18318. in: query
  18319. name: usertype
  18320. type: integer
  18321. - description: 现货商品id
  18322. in: query
  18323. name: deliverygoodsid
  18324. type: integer
  18325. produces:
  18326. - application/json
  18327. responses:
  18328. "200":
  18329. description: OK
  18330. schema:
  18331. items:
  18332. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  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. produces:
  18356. - application/json
  18357. responses:
  18358. "200":
  18359. description: OK
  18360. schema:
  18361. items:
  18362. $ref: '#/definitions/models.Ermcp3Brand'
  18363. type: array
  18364. "500":
  18365. description: Internal Server Error
  18366. schema:
  18367. $ref: '#/definitions/app.Response'
  18368. security:
  18369. - ApiKeyAuth: []
  18370. summary: 查询商品品牌
  18371. tags:
  18372. - 企业风险管理v3(app)
  18373. /Ermcp3/QueryHedgePlan:
  18374. get:
  18375. parameters:
  18376. - description: 用户ID
  18377. in: query
  18378. name: userid
  18379. required: true
  18380. type: integer
  18381. - description: 用户类型 2-机构 7-企业成员
  18382. in: query
  18383. name: usertype
  18384. type: integer
  18385. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18386. in: query
  18387. name: hedgeplanstatus
  18388. required: true
  18389. type: string
  18390. produces:
  18391. - application/json
  18392. responses:
  18393. "200":
  18394. description: OK
  18395. schema:
  18396. items:
  18397. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18398. type: array
  18399. "500":
  18400. description: Internal Server Error
  18401. schema:
  18402. $ref: '#/definitions/app.Response'
  18403. security:
  18404. - ApiKeyAuth: []
  18405. summary: 查询套保计划
  18406. tags:
  18407. - 企业风险管理v3(app)
  18408. /Ermcp3/QueryMiddleGoodsDetail:
  18409. get:
  18410. parameters:
  18411. - description: 用户id
  18412. in: query
  18413. name: userid
  18414. required: true
  18415. type: integer
  18416. - description: 用户类型 2-机构 7-企业成员
  18417. in: query
  18418. name: usertype
  18419. type: integer
  18420. - description: 套保品种id
  18421. in: query
  18422. name: middlegoodsid
  18423. type: integer
  18424. produces:
  18425. - application/json
  18426. responses:
  18427. "200":
  18428. description: OK
  18429. schema:
  18430. items:
  18431. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18432. type: array
  18433. "500":
  18434. description: Internal Server Error
  18435. schema:
  18436. $ref: '#/definitions/app.Response'
  18437. security:
  18438. - ApiKeyAuth: []
  18439. summary: 查询套保品种详情(套保品种/商品详情)
  18440. tags:
  18441. - 企业风险管理v3(app)
  18442. /Ermcp3/QueryRootUserAccount:
  18443. get:
  18444. parameters:
  18445. - description: 用户ID
  18446. in: query
  18447. name: userid
  18448. required: true
  18449. type: integer
  18450. produces:
  18451. - application/json
  18452. responses:
  18453. "200":
  18454. description: OK
  18455. schema:
  18456. items:
  18457. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  18458. type: array
  18459. "500":
  18460. description: Internal Server Error
  18461. schema:
  18462. $ref: '#/definitions/app.Response'
  18463. security:
  18464. - ApiKeyAuth: []
  18465. summary: 查询顶级用户信息
  18466. tags:
  18467. - 企业风险管理v3(app)
  18468. /Ermcp3/QuerySpotContract:
  18469. get:
  18470. parameters:
  18471. - description: 用户id
  18472. in: query
  18473. name: userid
  18474. required: true
  18475. type: integer
  18476. - description: 用户类型 2-机构 7-企业成员
  18477. in: query
  18478. name: usertype
  18479. type: integer
  18480. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  18481. in: query
  18482. name: querytype
  18483. required: true
  18484. type: integer
  18485. - description: 合同ID(SpotContractId)
  18486. in: query
  18487. name: contractid
  18488. type: string
  18489. produces:
  18490. - application/json
  18491. responses:
  18492. "200":
  18493. description: OK
  18494. schema:
  18495. items:
  18496. $ref: '#/definitions/models.Ermcp3Contract'
  18497. type: array
  18498. "500":
  18499. description: Internal Server Error
  18500. schema:
  18501. $ref: '#/definitions/app.Response'
  18502. security:
  18503. - ApiKeyAuth: []
  18504. summary: 查询现货合同
  18505. tags:
  18506. - 企业风险管理v3(app)
  18507. /Ermcp3/QuerySpotContractBS:
  18508. get:
  18509. parameters:
  18510. - description: 用户id
  18511. in: query
  18512. name: userid
  18513. required: true
  18514. type: integer
  18515. - description: 用户类型 2-机构 7-企业成员
  18516. in: query
  18517. name: usertype
  18518. type: integer
  18519. - description: 合同类型 1-采购, -1-销售
  18520. in: query
  18521. name: contracttype
  18522. required: true
  18523. type: integer
  18524. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  18525. in: query
  18526. name: querytype
  18527. required: true
  18528. type: integer
  18529. - description: 合同ID(SpotContractId)
  18530. in: query
  18531. name: contractid
  18532. type: string
  18533. produces:
  18534. - application/json
  18535. responses:
  18536. "200":
  18537. description: OK
  18538. schema:
  18539. items:
  18540. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  18541. type: array
  18542. "500":
  18543. description: Internal Server Error
  18544. schema:
  18545. $ref: '#/definitions/app.Response'
  18546. security:
  18547. - ApiKeyAuth: []
  18548. summary: 查询合同(采购/销售)
  18549. tags:
  18550. - 企业风险管理v3(app)
  18551. /Ermcp3/QuerySpotGoodsPrice:
  18552. get:
  18553. parameters:
  18554. - description: 用户ID
  18555. in: query
  18556. name: userid
  18557. required: true
  18558. type: integer
  18559. produces:
  18560. - application/json
  18561. responses:
  18562. "200":
  18563. description: OK
  18564. schema:
  18565. items:
  18566. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  18567. type: array
  18568. "500":
  18569. description: Internal Server Error
  18570. schema:
  18571. $ref: '#/definitions/app.Response'
  18572. security:
  18573. - ApiKeyAuth: []
  18574. summary: 查询现货市价(现货市价)
  18575. tags:
  18576. - 企业风险管理v3(app)
  18577. /Ermcp3/QuerySpotGoodsPriceLog:
  18578. get:
  18579. parameters:
  18580. - description: 用户ID
  18581. in: query
  18582. name: userid
  18583. required: true
  18584. type: integer
  18585. - description: 现货商品ID
  18586. in: query
  18587. name: deliverygoodsid
  18588. required: true
  18589. type: integer
  18590. - description: 品牌ID
  18591. in: query
  18592. name: brandid
  18593. type: integer
  18594. - description: 品类ID
  18595. in: query
  18596. name: wrstandardid
  18597. type: integer
  18598. produces:
  18599. - application/json
  18600. responses:
  18601. "200":
  18602. description: OK
  18603. schema:
  18604. items:
  18605. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  18606. type: array
  18607. "500":
  18608. description: Internal Server Error
  18609. schema:
  18610. $ref: '#/definitions/app.Response'
  18611. security:
  18612. - ApiKeyAuth: []
  18613. summary: 查询现货市价详情(现货市价/详情)
  18614. tags:
  18615. - 企业风险管理v3(app)
  18616. /Erms2/QueryArbitrageStrategy:
  18617. get:
  18618. parameters:
  18619. - description: 账户ID
  18620. in: query
  18621. name: userid
  18622. required: true
  18623. type: integer
  18624. - description: 商品组ID(品种ID)
  18625. in: query
  18626. name: goodsgroupid
  18627. type: string
  18628. produces:
  18629. - application/json
  18630. responses:
  18631. "200":
  18632. description: OK
  18633. schema:
  18634. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  18635. "500":
  18636. description: Internal Server Error
  18637. schema:
  18638. $ref: '#/definitions/app.Response'
  18639. security:
  18640. - ApiKeyAuth: []
  18641. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  18642. tags:
  18643. - 风险管理
  18644. /Erms2/QueryInnerTradeDetail:
  18645. get:
  18646. parameters:
  18647. - description: 资金账户
  18648. in: query
  18649. name: accountid
  18650. required: true
  18651. type: integer
  18652. produces:
  18653. - application/json
  18654. responses:
  18655. "200":
  18656. description: OK
  18657. schema:
  18658. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  18659. "500":
  18660. description: Internal Server Error
  18661. schema:
  18662. $ref: '#/definitions/app.Response'
  18663. security:
  18664. - ApiKeyAuth: []
  18665. summary: 查询内部成交单信息
  18666. tags:
  18667. - 风险管理
  18668. /Erms2/QuerySpotContract:
  18669. get:
  18670. parameters:
  18671. - description: 策略申请ID
  18672. in: query
  18673. name: asapplyid
  18674. required: true
  18675. type: integer
  18676. - description: 现货合同ID
  18677. in: query
  18678. name: spotcontractid
  18679. type: integer
  18680. produces:
  18681. - application/json
  18682. responses:
  18683. "200":
  18684. description: OK
  18685. schema:
  18686. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  18687. "500":
  18688. description: Internal Server Error
  18689. schema:
  18690. $ref: '#/definitions/app.Response'
  18691. security:
  18692. - ApiKeyAuth: []
  18693. summary: 查询现货合同表信息(指定策略ID、未结束的)
  18694. tags:
  18695. - 风险管理
  18696. /Erms3/AddErms2ASApply:
  18697. post:
  18698. parameters:
  18699. - description: 申请参数
  18700. in: body
  18701. name: jsonBody
  18702. required: true
  18703. schema:
  18704. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  18705. produces:
  18706. - application/json
  18707. responses:
  18708. "200":
  18709. description: OK
  18710. schema:
  18711. $ref: '#/definitions/app.Response'
  18712. "500":
  18713. description: Internal Server Error
  18714. schema:
  18715. $ref: '#/definitions/app.Response'
  18716. security:
  18717. - ApiKeyAuth: []
  18718. summary: 新增期现套利业务申请
  18719. tags:
  18720. - 风险管理v3
  18721. /Erms3/AddErms2SpotTradeApply:
  18722. post:
  18723. parameters:
  18724. - description: 申请参数
  18725. in: body
  18726. name: jsonBody
  18727. required: true
  18728. schema:
  18729. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  18730. produces:
  18731. - application/json
  18732. responses:
  18733. "200":
  18734. description: OK
  18735. schema:
  18736. $ref: '#/definitions/app.Response'
  18737. "500":
  18738. description: Internal Server Error
  18739. schema:
  18740. $ref: '#/definitions/app.Response'
  18741. security:
  18742. - ApiKeyAuth: []
  18743. summary: 新增现货贸易业务申请
  18744. tags:
  18745. - 风险管理v3
  18746. /Erms3/AddSpotContractApply:
  18747. post:
  18748. parameters:
  18749. - description: 申请参数
  18750. in: body
  18751. name: jsonBody
  18752. required: true
  18753. schema:
  18754. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  18755. produces:
  18756. - application/json
  18757. responses:
  18758. "200":
  18759. description: OK
  18760. schema:
  18761. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  18762. "500":
  18763. description: Internal Server Error
  18764. schema:
  18765. $ref: '#/definitions/app.Response'
  18766. security:
  18767. - ApiKeyAuth: []
  18768. summary: 新增现货合同申请
  18769. tags:
  18770. - 风险管理v3
  18771. /Erms3/AddUserInfoApply:
  18772. post:
  18773. parameters:
  18774. - description: 用户信息
  18775. in: body
  18776. name: jsonBody
  18777. required: true
  18778. schema:
  18779. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  18780. produces:
  18781. - application/json
  18782. responses:
  18783. "200":
  18784. description: OK
  18785. schema:
  18786. $ref: '#/definitions/app.Response'
  18787. "500":
  18788. description: Internal Server Error
  18789. schema:
  18790. $ref: '#/definitions/app.Response'
  18791. security:
  18792. - ApiKeyAuth: []
  18793. summary: 新增客户申请
  18794. tags:
  18795. - 风险管理v3
  18796. /Erms3/DeleteUserInfoApply:
  18797. get:
  18798. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  18799. parameters:
  18800. - description: 用户ID
  18801. in: query
  18802. name: userID
  18803. required: true
  18804. type: integer
  18805. produces:
  18806. - application/json
  18807. responses:
  18808. "200":
  18809. description: OK
  18810. schema:
  18811. $ref: '#/definitions/app.Response'
  18812. "500":
  18813. description: Internal Server Error
  18814. schema:
  18815. $ref: '#/definitions/app.Response'
  18816. security:
  18817. - ApiKeyAuth: []
  18818. summary: 删除客户申请
  18819. tags:
  18820. - 风险管理v3
  18821. /Erms3/ModifyUserInfoApply:
  18822. post:
  18823. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  18824. int, "userstate": 2 }'
  18825. parameters:
  18826. - description: 用户信息
  18827. in: body
  18828. name: jsonBody
  18829. required: true
  18830. schema:
  18831. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  18832. produces:
  18833. - application/json
  18834. responses:
  18835. "200":
  18836. description: OK
  18837. schema:
  18838. $ref: '#/definitions/app.Response'
  18839. "500":
  18840. description: Internal Server Error
  18841. schema:
  18842. $ref: '#/definitions/app.Response'
  18843. security:
  18844. - ApiKeyAuth: []
  18845. summary: 修改客户申请
  18846. tags:
  18847. - 风险管理v3
  18848. /Erms3/QueryBusinessInfo:
  18849. get:
  18850. parameters:
  18851. - description: 资金账号ID列表,用逗号分隔
  18852. in: query
  18853. name: accountids
  18854. required: true
  18855. type: string
  18856. - description: 状态,0为未结束 1为已结束
  18857. in: query
  18858. name: status
  18859. required: true
  18860. type: integer
  18861. produces:
  18862. - application/json
  18863. responses:
  18864. "200":
  18865. description: OK
  18866. schema:
  18867. items:
  18868. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  18869. type: array
  18870. "500":
  18871. description: Internal Server Error
  18872. schema:
  18873. $ref: '#/definitions/app.Response'
  18874. security:
  18875. - ApiKeyAuth: []
  18876. summary: 查询业务表单数据
  18877. tags:
  18878. - 风险管理v3
  18879. /Erms3/QueryPendingAuditContract:
  18880. get:
  18881. parameters:
  18882. - description: 资金账号ID列表,逗号隔开
  18883. in: query
  18884. name: accountids
  18885. required: true
  18886. type: string
  18887. - description: 合同类型 1-采购 -1-销售
  18888. in: query
  18889. name: contracttype
  18890. required: true
  18891. type: integer
  18892. - description: 合同模式 1-普通 2-回购
  18893. in: query
  18894. name: contractmode
  18895. required: true
  18896. type: integer
  18897. produces:
  18898. - application/json
  18899. responses:
  18900. "200":
  18901. description: OK
  18902. schema:
  18903. items:
  18904. $ref: '#/definitions/erms3.QryAuditContractRsp'
  18905. type: array
  18906. "500":
  18907. description: Internal Server Error
  18908. schema:
  18909. $ref: '#/definitions/app.Response'
  18910. security:
  18911. - ApiKeyAuth: []
  18912. summary: 查询待审核合同
  18913. tags:
  18914. - 风险管理v3
  18915. /Erms3/QueryPendingBusiness:
  18916. get:
  18917. parameters:
  18918. - description: 资金账号ID列表,逗号隔开
  18919. in: query
  18920. name: accountids
  18921. required: true
  18922. type: string
  18923. produces:
  18924. - application/json
  18925. responses:
  18926. "200":
  18927. description: OK
  18928. schema:
  18929. items:
  18930. $ref: '#/definitions/erms3.QryPendingBizRsp'
  18931. type: array
  18932. "500":
  18933. description: Internal Server Error
  18934. schema:
  18935. $ref: '#/definitions/app.Response'
  18936. security:
  18937. - ApiKeyAuth: []
  18938. summary: 查询待审核基差贸易业务
  18939. tags:
  18940. - 风险管理v3
  18941. /Erms3/QuerySpotContractAppleForm:
  18942. get:
  18943. parameters:
  18944. - description: 登录账号
  18945. in: query
  18946. name: loginID
  18947. required: true
  18948. type: integer
  18949. produces:
  18950. - application/json
  18951. responses:
  18952. "200":
  18953. description: OK
  18954. schema:
  18955. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  18956. "500":
  18957. description: Internal Server Error
  18958. schema:
  18959. $ref: '#/definitions/app.Response'
  18960. security:
  18961. - ApiKeyAuth: []
  18962. summary: 查询合同申请表单数据
  18963. tags:
  18964. - 风险管理v3
  18965. /Erms3/QuerySpotContractDetail:
  18966. get:
  18967. parameters:
  18968. - description: 资金账号ID列表,用逗号分隔
  18969. in: query
  18970. name: accountids
  18971. required: true
  18972. type: string
  18973. - description: 合同类型,1为采购合同 -1为销售合同
  18974. in: query
  18975. name: contracttype
  18976. required: true
  18977. type: integer
  18978. - description: 合同模式,1为普通合同 2为回购销售合同
  18979. in: query
  18980. name: contractmode
  18981. required: true
  18982. type: integer
  18983. - description: 状态,0为履约中 1为已完成
  18984. in: query
  18985. name: status
  18986. required: true
  18987. type: integer
  18988. produces:
  18989. - application/json
  18990. responses:
  18991. "200":
  18992. description: OK
  18993. schema:
  18994. items:
  18995. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  18996. type: array
  18997. "500":
  18998. description: Internal Server Error
  18999. schema:
  19000. $ref: '#/definitions/app.Response'
  19001. security:
  19002. - ApiKeyAuth: []
  19003. summary: 查询合同详细信息
  19004. tags:
  19005. - 风险管理v3
  19006. /Erms3/QueryUserInfoApplies:
  19007. get:
  19008. parameters:
  19009. - description: 页码
  19010. in: query
  19011. name: page
  19012. type: integer
  19013. - description: 每页条数
  19014. in: query
  19015. name: pagesize
  19016. type: integer
  19017. - description: 客户名称,支持模糊查询
  19018. in: query
  19019. name: userName
  19020. type: string
  19021. produces:
  19022. - application/json
  19023. responses:
  19024. "200":
  19025. description: OK
  19026. schema:
  19027. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19028. "500":
  19029. description: Internal Server Error
  19030. schema:
  19031. $ref: '#/definitions/app.Response'
  19032. security:
  19033. - ApiKeyAuth: []
  19034. summary: 客户申请信息查询
  19035. tags:
  19036. - 风险管理v3
  19037. /Erms3/QueryUserInfos:
  19038. get:
  19039. parameters:
  19040. - description: 页码
  19041. in: query
  19042. name: page
  19043. type: integer
  19044. - description: 每页条数
  19045. in: query
  19046. name: pagesize
  19047. type: integer
  19048. - description: 客户名称,支持模糊查询
  19049. in: query
  19050. name: userName
  19051. type: string
  19052. produces:
  19053. - application/json
  19054. responses:
  19055. "200":
  19056. description: OK
  19057. schema:
  19058. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  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. /HSBY/GetHsbyMyCount:
  19069. get:
  19070. description: 说明: 不包括已完成的数量。
  19071. parameters:
  19072. - description: 资金账户列表,格式:1,2,3
  19073. in: query
  19074. name: accountIDs
  19075. required: true
  19076. type: string
  19077. produces:
  19078. - application/json
  19079. responses:
  19080. "200":
  19081. description: OK
  19082. schema:
  19083. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19084. "500":
  19085. description: Internal Server Error
  19086. schema:
  19087. $ref: '#/definitions/app.Response'
  19088. security:
  19089. - ApiKeyAuth: []
  19090. summary: 获取我的订单与包裹数量
  19091. tags:
  19092. - 定制【海商报业】
  19093. /HSBY/QueryClientFixedADConfigs:
  19094. get:
  19095. produces:
  19096. - application/json
  19097. responses:
  19098. "200":
  19099. description: OK
  19100. schema:
  19101. $ref: '#/definitions/models.Clientfixedadconfig'
  19102. "500":
  19103. description: Internal Server Error
  19104. schema:
  19105. $ref: '#/definitions/app.Response'
  19106. security:
  19107. - ApiKeyAuth: []
  19108. summary: 获取终端固定广告配置
  19109. tags:
  19110. - 定制【海商报业】
  19111. /HSBY/QueryHsbyBuyMyTradeDetail:
  19112. get:
  19113. parameters:
  19114. - description: 页码
  19115. in: query
  19116. name: page
  19117. type: integer
  19118. - description: 每页条数
  19119. in: query
  19120. name: pagesize
  19121. type: integer
  19122. - description: 资金账户列表,格式:1,2,3
  19123. in: query
  19124. name: accountIDs
  19125. required: true
  19126. type: string
  19127. produces:
  19128. - application/json
  19129. responses:
  19130. "200":
  19131. description: OK
  19132. schema:
  19133. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19134. "500":
  19135. description: Internal Server Error
  19136. schema:
  19137. $ref: '#/definitions/app.Response'
  19138. security:
  19139. - ApiKeyAuth: []
  19140. summary: 查询"我的订单 - 已完成"单据信息
  19141. tags:
  19142. - 定制【海商报业】
  19143. /HSBY/QueryHsbyGoodsOrderDetails:
  19144. get:
  19145. description: 说明:查询结果已按委托价格和委托时间排序
  19146. parameters:
  19147. - description: 商品ID
  19148. in: query
  19149. name: goodsID
  19150. required: true
  19151. type: integer
  19152. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19153. in: query
  19154. name: accountIDs
  19155. type: string
  19156. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19157. in: query
  19158. name: buyOrSell
  19159. type: integer
  19160. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19161. in: query
  19162. name: price
  19163. type: number
  19164. - description: 档位,不传则默认为3档
  19165. in: query
  19166. name: speed
  19167. type: integer
  19168. produces:
  19169. - application/json
  19170. responses:
  19171. "200":
  19172. description: OK
  19173. schema:
  19174. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19175. "500":
  19176. description: Internal Server Error
  19177. schema:
  19178. $ref: '#/definitions/app.Response'
  19179. security:
  19180. - ApiKeyAuth: []
  19181. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19182. tags:
  19183. - 定制【海商报业】
  19184. /HSBY/QueryHsbyListingGoodsDetail:
  19185. get:
  19186. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19187. parameters:
  19188. - description: 商品ID
  19189. in: query
  19190. name: goodsID
  19191. required: true
  19192. type: integer
  19193. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19194. in: query
  19195. name: accountID
  19196. type: integer
  19197. produces:
  19198. - application/json
  19199. responses:
  19200. "200":
  19201. description: OK
  19202. schema:
  19203. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19204. "500":
  19205. description: Internal Server Error
  19206. schema:
  19207. $ref: '#/definitions/app.Response'
  19208. security:
  19209. - ApiKeyAuth: []
  19210. summary: 查询二级市场(挂牌点选)商品信息详情
  19211. tags:
  19212. - 定制【海商报业】
  19213. /HSBY/QueryHsbyMarketGoodsDetail:
  19214. get:
  19215. parameters:
  19216. - description: 委托单号
  19217. in: query
  19218. name: orderID
  19219. required: true
  19220. type: integer
  19221. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19222. in: query
  19223. name: accountID
  19224. type: integer
  19225. produces:
  19226. - application/json
  19227. responses:
  19228. "200":
  19229. description: OK
  19230. schema:
  19231. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19232. "500":
  19233. description: Internal Server Error
  19234. schema:
  19235. $ref: '#/definitions/app.Response'
  19236. security:
  19237. - ApiKeyAuth: []
  19238. summary: 查询三级市场(商城)商品信息详情
  19239. tags:
  19240. - 定制【海商报业】
  19241. /HSBY/QueryHsbyMarketGoodses:
  19242. get:
  19243. parameters:
  19244. - description: 页码
  19245. in: query
  19246. name: page
  19247. type: integer
  19248. - description: 每页条数
  19249. in: query
  19250. name: pagesize
  19251. type: integer
  19252. - description: 市场ID列表,格式:1,2,3
  19253. in: query
  19254. name: marketIDs
  19255. required: true
  19256. type: string
  19257. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19258. in: query
  19259. name: accountID
  19260. required: true
  19261. type: integer
  19262. - description: 类别ID
  19263. in: query
  19264. name: categoryID
  19265. type: integer
  19266. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19267. in: query
  19268. name: goodsIDs
  19269. type: string
  19270. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19271. in: query
  19272. name: couponTypeID
  19273. type: integer
  19274. produces:
  19275. - application/json
  19276. responses:
  19277. "200":
  19278. description: OK
  19279. schema:
  19280. $ref: '#/definitions/models.HsbyMarketGoods'
  19281. "500":
  19282. description: Internal Server Error
  19283. schema:
  19284. $ref: '#/definitions/app.Response'
  19285. security:
  19286. - ApiKeyAuth: []
  19287. summary: 查询特卖商品列表(三级商城)
  19288. tags:
  19289. - 定制【海商报业】
  19290. /HSBY/QueryHsbyMarkets:
  19291. get:
  19292. produces:
  19293. - application/json
  19294. responses:
  19295. "200":
  19296. description: OK
  19297. schema:
  19298. $ref: '#/definitions/models.HsbyMarketInfo'
  19299. "500":
  19300. description: Internal Server Error
  19301. schema:
  19302. $ref: '#/definitions/app.Response'
  19303. security:
  19304. - ApiKeyAuth: []
  19305. summary: 查询海商报业相关市场信息
  19306. tags:
  19307. - 定制【海商报业】
  19308. /HSBY/QueryHsbyMyBuyOrderDetails:
  19309. get:
  19310. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19311. parameters:
  19312. - description: 资金账户列表,格式:1,2,3
  19313. in: query
  19314. name: accountIDs
  19315. required: true
  19316. type: string
  19317. produces:
  19318. - application/json
  19319. responses:
  19320. "200":
  19321. description: OK
  19322. schema:
  19323. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19324. "500":
  19325. description: Internal Server Error
  19326. schema:
  19327. $ref: '#/definitions/app.Response'
  19328. security:
  19329. - ApiKeyAuth: []
  19330. summary: 查询“我的订单”信息
  19331. tags:
  19332. - 定制【海商报业】
  19333. /HSBY/QueryHsbyMyGoods:
  19334. get:
  19335. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19336. parameters:
  19337. - description: 资金账户列表,格式:1,2,3
  19338. in: query
  19339. name: accountIDs
  19340. required: true
  19341. type: string
  19342. produces:
  19343. - application/json
  19344. responses:
  19345. "200":
  19346. description: OK
  19347. schema:
  19348. $ref: '#/definitions/models.HsbyMyGoods'
  19349. "500":
  19350. description: Internal Server Error
  19351. schema:
  19352. $ref: '#/definitions/app.Response'
  19353. security:
  19354. - ApiKeyAuth: []
  19355. summary: 查询“我的商品”信息
  19356. tags:
  19357. - 定制【海商报业】
  19358. /HSBY/QueryHsbyMyPackages:
  19359. get:
  19360. parameters:
  19361. - description: 资金账户列表,格式:1,2,3
  19362. in: query
  19363. name: accountIDs
  19364. required: true
  19365. type: string
  19366. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19367. in: query
  19368. name: takeOrderStatus
  19369. type: integer
  19370. produces:
  19371. - application/json
  19372. responses:
  19373. "200":
  19374. description: OK
  19375. schema:
  19376. $ref: '#/definitions/models.HsbyMyPackage'
  19377. "500":
  19378. description: Internal Server Error
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. security:
  19382. - ApiKeyAuth: []
  19383. summary: 查询我的包裹信息
  19384. tags:
  19385. - 定制【海商报业】
  19386. /HSBY/QueryHsbyPreGoodsDetail:
  19387. get:
  19388. parameters:
  19389. - description: 商品ID
  19390. in: query
  19391. name: goodsID
  19392. required: true
  19393. type: integer
  19394. - description: 资金账户,主要用于获取预售商品购买上限
  19395. in: query
  19396. name: accountID
  19397. type: integer
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19405. "500":
  19406. description: Internal Server Error
  19407. schema:
  19408. $ref: '#/definitions/app.Response'
  19409. security:
  19410. - ApiKeyAuth: []
  19411. summary: 查询一级市场(预售)商品信息详情
  19412. tags:
  19413. - 定制【海商报业】
  19414. /HSBY/QueryHsbyPreGoodses:
  19415. get:
  19416. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19417. parameters:
  19418. - description: 页码
  19419. in: query
  19420. name: page
  19421. type: integer
  19422. - description: 每页条数
  19423. in: query
  19424. name: pagesize
  19425. type: integer
  19426. - description: 市场ID列表,格式:1,2,3
  19427. in: query
  19428. name: marketIDs
  19429. required: true
  19430. type: string
  19431. - description: 目的地(省)ID
  19432. in: query
  19433. name: descProvinceID
  19434. type: integer
  19435. - description: 目的地(市)ID
  19436. in: query
  19437. name: descCityID
  19438. type: integer
  19439. produces:
  19440. - application/json
  19441. responses:
  19442. "200":
  19443. description: OK
  19444. schema:
  19445. $ref: '#/definitions/models.HsbyPreGoods'
  19446. "500":
  19447. description: Internal Server Error
  19448. schema:
  19449. $ref: '#/definitions/app.Response'
  19450. security:
  19451. - ApiKeyAuth: []
  19452. summary: 查询新品上市商品列表(一级市场预售)
  19453. tags:
  19454. - 定制【海商报业】
  19455. /HSBY/QueryHsbySellMyDetails:
  19456. get:
  19457. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  19458. parameters:
  19459. - description: 页码
  19460. in: query
  19461. name: page
  19462. type: integer
  19463. - description: 每页条数
  19464. in: query
  19465. name: pagesize
  19466. type: integer
  19467. - description: 资金账户列表,格式:1,2,3
  19468. in: query
  19469. name: accountIDs
  19470. required: true
  19471. type: string
  19472. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  19473. in: query
  19474. name: orderType
  19475. type: integer
  19476. produces:
  19477. - application/json
  19478. responses:
  19479. "200":
  19480. description: OK
  19481. schema:
  19482. $ref: '#/definitions/models.HsbySellMyDetail'
  19483. "500":
  19484. description: Internal Server Error
  19485. schema:
  19486. $ref: '#/definitions/app.Response'
  19487. security:
  19488. - ApiKeyAuth: []
  19489. summary: 查询"我的闲置"单据信息
  19490. tags:
  19491. - 定制【海商报业】
  19492. /HSBY/QueryHsbyTopGoodses:
  19493. get:
  19494. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  19495. parameters:
  19496. - description: 页码
  19497. in: query
  19498. name: page
  19499. type: integer
  19500. - description: 每页条数
  19501. in: query
  19502. name: pagesize
  19503. type: integer
  19504. - description: 市场ID列表,格式:1,2,3
  19505. in: query
  19506. name: marketIDs
  19507. required: true
  19508. type: string
  19509. - description: 目的地(省)ID
  19510. in: query
  19511. name: descProvinceID
  19512. type: integer
  19513. - description: 目的地(市)ID
  19514. in: query
  19515. name: descCityID
  19516. type: integer
  19517. produces:
  19518. - application/json
  19519. responses:
  19520. "200":
  19521. description: OK
  19522. schema:
  19523. $ref: '#/definitions/models.HsbyTopGoods'
  19524. "500":
  19525. description: Internal Server Error
  19526. schema:
  19527. $ref: '#/definitions/app.Response'
  19528. security:
  19529. - ApiKeyAuth: []
  19530. summary: 查询热卖商品列表(二级市场挂牌点选)
  19531. tags:
  19532. - 定制【海商报业】
  19533. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  19534. get:
  19535. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  19536. parameters:
  19537. - description: 商品ID
  19538. in: query
  19539. name: goodsID
  19540. required: true
  19541. type: integer
  19542. produces:
  19543. - application/json
  19544. responses:
  19545. "200":
  19546. description: OK
  19547. schema:
  19548. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  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/QueryHsbyVisitorMarketGoodses:
  19559. get:
  19560. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  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: 市场ID列表,格式:1,2,3
  19571. in: query
  19572. name: marketIDs
  19573. required: true
  19574. type: string
  19575. - description: 类别ID
  19576. in: query
  19577. name: categoryID
  19578. type: integer
  19579. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19580. in: query
  19581. name: goodsIDs
  19582. type: string
  19583. produces:
  19584. - application/json
  19585. responses:
  19586. "200":
  19587. description: OK
  19588. schema:
  19589. $ref: '#/definitions/models.HsbyMarketGoods'
  19590. "500":
  19591. description: Internal Server Error
  19592. schema:
  19593. $ref: '#/definitions/app.Response'
  19594. security:
  19595. - ApiKeyAuth: []
  19596. summary: 查询游客特卖商品列表(三级商城)
  19597. tags:
  19598. - 定制【海商报业】
  19599. /HSBY/QueryMyCollectionOrders:
  19600. get:
  19601. parameters:
  19602. - description: 页码
  19603. in: query
  19604. name: page
  19605. type: integer
  19606. - description: 每页条数
  19607. in: query
  19608. name: pagesize
  19609. type: integer
  19610. - description: 资金账户,格式:1,2,3
  19611. in: query
  19612. name: accountIDs
  19613. required: true
  19614. type: string
  19615. produces:
  19616. - application/json
  19617. responses:
  19618. "200":
  19619. description: OK
  19620. schema:
  19621. $ref: '#/definitions/models.HsbySellCollectionOrder'
  19622. "500":
  19623. description: Internal Server Error
  19624. schema:
  19625. $ref: '#/definitions/app.Response'
  19626. security:
  19627. - ApiKeyAuth: []
  19628. summary: 我的闲置中收款信息查询
  19629. tags:
  19630. - 定制【海商报业】
  19631. /HSBY/QueryMyCouponHolds:
  19632. get:
  19633. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  19634. parameters:
  19635. - description: 资金账户列表,格式:1,2,3
  19636. in: query
  19637. name: accountIDs
  19638. required: true
  19639. type: string
  19640. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  19641. in: query
  19642. name: holdStatus
  19643. type: string
  19644. produces:
  19645. - application/json
  19646. responses:
  19647. "200":
  19648. description: OK
  19649. schema:
  19650. $ref: '#/definitions/models.MyCouponHold'
  19651. "500":
  19652. description: Internal Server Error
  19653. schema:
  19654. $ref: '#/definitions/app.Response'
  19655. security:
  19656. - ApiKeyAuth: []
  19657. summary: 我的优惠卷持仓查询
  19658. tags:
  19659. - 定制【海商报业】
  19660. /HSBY/QueryMyCoupons:
  19661. get:
  19662. parameters:
  19663. - description: 资金账户列表,格式:1,2,3
  19664. in: query
  19665. name: accountIDs
  19666. required: true
  19667. type: string
  19668. - description: 商品ID, 一般与sellUserID配套传入
  19669. in: query
  19670. name: goodsID
  19671. type: integer
  19672. - description: 卖方UserID
  19673. in: query
  19674. name: sellUserID
  19675. type: integer
  19676. produces:
  19677. - application/json
  19678. responses:
  19679. "200":
  19680. description: OK
  19681. schema:
  19682. $ref: '#/definitions/models.MyCoupon'
  19683. "500":
  19684. description: Internal Server Error
  19685. schema:
  19686. $ref: '#/definitions/app.Response'
  19687. security:
  19688. - ApiKeyAuth: []
  19689. summary: 我的优惠卷查询
  19690. tags:
  19691. - 定制【海商报业】
  19692. /HSBY/QueryMyPayOrders:
  19693. get:
  19694. parameters:
  19695. - description: 页码
  19696. in: query
  19697. name: page
  19698. type: integer
  19699. - description: 每页条数
  19700. in: query
  19701. name: pagesize
  19702. type: integer
  19703. - description: 资金账户列表,格式:1,2,3
  19704. in: query
  19705. name: accountIDs
  19706. required: true
  19707. type: string
  19708. - description: 买方委托单号
  19709. in: query
  19710. name: buyOrderID
  19711. type: integer
  19712. - description: 卖方委托单号
  19713. in: query
  19714. name: sellOrderID
  19715. type: integer
  19716. produces:
  19717. - application/json
  19718. responses:
  19719. "200":
  19720. description: OK
  19721. schema:
  19722. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  19723. "500":
  19724. description: Internal Server Error
  19725. schema:
  19726. $ref: '#/definitions/app.Response'
  19727. security:
  19728. - ApiKeyAuth: []
  19729. summary: 获取我的订单中待付款信息
  19730. tags:
  19731. - 定制【海商报业】
  19732. /HSBY/QueryMyUsedCoupon:
  19733. get:
  19734. parameters:
  19735. - description: 资金账户列表,格式:1,2,3
  19736. in: query
  19737. name: accountIDs
  19738. required: true
  19739. type: string
  19740. produces:
  19741. - application/json
  19742. responses:
  19743. "200":
  19744. description: OK
  19745. schema:
  19746. $ref: '#/definitions/models.MyUsedCoupon'
  19747. "500":
  19748. description: Internal Server Error
  19749. schema:
  19750. $ref: '#/definitions/app.Response'
  19751. security:
  19752. - ApiKeyAuth: []
  19753. summary: 已使用优惠卷查询
  19754. tags:
  19755. - 定制【海商报业】
  19756. /HSBY/QueryProvincesAndCities:
  19757. get:
  19758. description: 查询结果只包括二级市场商品已关连的省市信息。
  19759. parameters:
  19760. - description: 省ID
  19761. in: query
  19762. name: provinceID
  19763. type: integer
  19764. produces:
  19765. - application/json
  19766. responses:
  19767. "200":
  19768. description: OK
  19769. schema:
  19770. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  19771. "500":
  19772. description: Internal Server Error
  19773. schema:
  19774. $ref: '#/definitions/app.Response'
  19775. security:
  19776. - ApiKeyAuth: []
  19777. summary: 查询省市信息(不包括区)
  19778. tags:
  19779. - 定制【海商报业】
  19780. /HSBY/SetHsbyMyPackagesStatus:
  19781. post:
  19782. parameters:
  19783. - description: 提货单号
  19784. in: query
  19785. name: takeOrderID
  19786. required: true
  19787. type: string
  19788. - description: 资金账号
  19789. in: query
  19790. name: accountID
  19791. required: true
  19792. type: integer
  19793. produces:
  19794. - application/json
  19795. responses:
  19796. "200":
  19797. description: OK
  19798. schema:
  19799. $ref: '#/definitions/app.Response'
  19800. "500":
  19801. description: Internal Server Error
  19802. schema:
  19803. $ref: '#/definitions/app.Response'
  19804. security:
  19805. - ApiKeyAuth: []
  19806. summary: 设置我的包裹已收货状态
  19807. tags:
  19808. - 定制【海商报业】
  19809. /Market/GetAllExExchanges:
  19810. get:
  19811. produces:
  19812. - application/json
  19813. responses:
  19814. "200":
  19815. description: OK
  19816. schema:
  19817. $ref: '#/definitions/models.Goods'
  19818. "500":
  19819. description: Internal Server Error
  19820. schema:
  19821. $ref: '#/definitions/app.Response'
  19822. security:
  19823. - ApiKeyAuth: []
  19824. summary: 获取所有外部交易所信息
  19825. tags:
  19826. - 通用市场
  19827. /Market/QueryGoodsesByLoginID:
  19828. get:
  19829. parameters:
  19830. - description: 登录账号
  19831. in: query
  19832. name: loginID
  19833. required: true
  19834. type: integer
  19835. - description: 市场ID列表,格式:1,2,3
  19836. in: query
  19837. name: marketIDs
  19838. type: string
  19839. produces:
  19840. - application/json
  19841. responses:
  19842. "200":
  19843. description: OK
  19844. schema:
  19845. $ref: '#/definitions/models.Goods'
  19846. "500":
  19847. description: Internal Server Error
  19848. schema:
  19849. $ref: '#/definitions/app.Response'
  19850. security:
  19851. - ApiKeyAuth: []
  19852. summary: 获取登录账号有权限的商品信息
  19853. tags:
  19854. - 通用市场
  19855. /Market/QueryMarketRun:
  19856. get:
  19857. parameters:
  19858. - description: 市场ID,不传返回所有
  19859. in: query
  19860. name: marketID
  19861. type: integer
  19862. produces:
  19863. - application/json
  19864. responses:
  19865. "200":
  19866. description: OK
  19867. schema:
  19868. $ref: '#/definitions/models.Marketrun'
  19869. "500":
  19870. description: Internal Server Error
  19871. schema:
  19872. $ref: '#/definitions/app.Response'
  19873. security:
  19874. - ApiKeyAuth: []
  19875. summary: 查询市场运行信息
  19876. tags:
  19877. - 通用市场
  19878. /Market/QueryMarketsByLoginID:
  19879. get:
  19880. parameters:
  19881. - description: 登录账号
  19882. in: query
  19883. name: loginID
  19884. required: true
  19885. type: integer
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. $ref: '#/definitions/models.Market'
  19893. "500":
  19894. description: Internal Server Error
  19895. schema:
  19896. $ref: '#/definitions/app.Response'
  19897. security:
  19898. - ApiKeyAuth: []
  19899. summary: 获取登录账号有权限的市场信息
  19900. tags:
  19901. - 通用市场
  19902. /Order/QueryHisTradeDetail:
  19903. get:
  19904. parameters:
  19905. - description: 资金账户 - 格式:1,2,3
  19906. in: query
  19907. name: accountID
  19908. required: true
  19909. type: string
  19910. - description: 成交单号
  19911. in: query
  19912. name: tradeID
  19913. type: integer
  19914. - description: 委托单号
  19915. in: query
  19916. name: orderID
  19917. type: integer
  19918. - description: 商品ID
  19919. in: query
  19920. name: goodsID
  19921. type: integer
  19922. - description: 交易模式 - 格式:1,2,3
  19923. in: query
  19924. name: tradeMode
  19925. type: string
  19926. - description: 委托单据类型
  19927. in: query
  19928. name: buildType
  19929. type: integer
  19930. - description: 成交类别 - 格式:1,2,3
  19931. in: query
  19932. name: tradeType
  19933. type: string
  19934. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19935. in: query
  19936. name: startDate
  19937. type: string
  19938. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19939. in: query
  19940. name: endDate
  19941. type: string
  19942. produces:
  19943. - application/json
  19944. responses:
  19945. "200":
  19946. description: OK
  19947. schema:
  19948. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  19949. "500":
  19950. description: Internal Server Error
  19951. schema:
  19952. $ref: '#/definitions/app.Response'
  19953. security:
  19954. - ApiKeyAuth: []
  19955. summary: 历史成交单查询(合约市场)
  19956. tags:
  19957. - 通用单据
  19958. /Order/QueryHisTradeOrderDetail:
  19959. get:
  19960. parameters:
  19961. - description: 资金账户 - 格式:1,2,3
  19962. in: query
  19963. name: accountID
  19964. required: true
  19965. type: string
  19966. - description: 交易模式 - 格式:1,2,3
  19967. in: query
  19968. name: tradeMode
  19969. type: string
  19970. - description: 委托状态 - 格式:1,2,3
  19971. in: query
  19972. name: orderStatus
  19973. type: string
  19974. - description: 委托单号
  19975. in: query
  19976. name: orderID
  19977. type: integer
  19978. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19979. in: query
  19980. name: startDate
  19981. type: string
  19982. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19983. in: query
  19984. name: endDate
  19985. type: string
  19986. produces:
  19987. - application/json
  19988. responses:
  19989. "200":
  19990. description: OK
  19991. schema:
  19992. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  19993. "500":
  19994. description: Internal Server Error
  19995. schema:
  19996. $ref: '#/definitions/app.Response'
  19997. security:
  19998. - ApiKeyAuth: []
  19999. summary: 历史委托单查询请求(合约市场)
  20000. tags:
  20001. - 通用单据
  20002. /Order/QueryTradeDetail:
  20003. get:
  20004. parameters:
  20005. - description: 资金账户 - 格式:1,2,3
  20006. in: query
  20007. name: accountID
  20008. required: true
  20009. type: string
  20010. - description: 成交单号
  20011. in: query
  20012. name: tradeID
  20013. type: integer
  20014. - description: 委托单号
  20015. in: query
  20016. name: orderID
  20017. type: integer
  20018. - description: 交易模式 - 格式:1,2,3
  20019. in: query
  20020. name: tradeMode
  20021. type: string
  20022. - description: 委托单据类型
  20023. in: query
  20024. name: buildType
  20025. type: integer
  20026. - description: 成交类别 - 格式:1,2,3
  20027. in: query
  20028. name: tradeType
  20029. type: string
  20030. - description: 商品ID
  20031. in: query
  20032. name: goodsID
  20033. type: integer
  20034. produces:
  20035. - application/json
  20036. responses:
  20037. "200":
  20038. description: OK
  20039. schema:
  20040. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20041. "500":
  20042. description: Internal Server Error
  20043. schema:
  20044. $ref: '#/definitions/app.Response'
  20045. security:
  20046. - ApiKeyAuth: []
  20047. summary: 成交单查询(合约市场)
  20048. tags:
  20049. - 通用单据
  20050. /Order/QueryTradeOrderDetail:
  20051. get:
  20052. parameters:
  20053. - description: 资金账户 - 格式:1,2,3
  20054. in: query
  20055. name: accountID
  20056. required: true
  20057. type: string
  20058. - description: 交易模式 - 格式:1,2,3
  20059. in: query
  20060. name: tradeMode
  20061. type: string
  20062. - description: 委托状态 - 格式:1,2,3
  20063. in: query
  20064. name: orderStatus
  20065. type: string
  20066. - description: 委托单号
  20067. in: query
  20068. name: orderID
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20077. "500":
  20078. description: Internal Server Error
  20079. schema:
  20080. $ref: '#/definitions/app.Response'
  20081. security:
  20082. - ApiKeyAuth: []
  20083. summary: 委托单查询请求(合约市场)
  20084. tags:
  20085. - 通用单据
  20086. /Order/QueryTradePosition:
  20087. get:
  20088. parameters:
  20089. - description: 资金账户 - 格式:1,2,3
  20090. in: query
  20091. name: accountID
  20092. required: true
  20093. type: string
  20094. - description: 交易模式 - 格式:1,2,3
  20095. in: query
  20096. name: tradeMode
  20097. type: string
  20098. produces:
  20099. - application/json
  20100. responses:
  20101. "200":
  20102. description: OK
  20103. schema:
  20104. $ref: '#/definitions/order.QueryTradePositionRsp'
  20105. "500":
  20106. description: Internal Server Error
  20107. schema:
  20108. $ref: '#/definitions/app.Response'
  20109. security:
  20110. - ApiKeyAuth: []
  20111. summary: 持仓汇总查询(合约市场)
  20112. tags:
  20113. - 通用单据
  20114. /Qhj/QueryAccountInOutApply:
  20115. get:
  20116. parameters:
  20117. - description: 用户ID
  20118. in: query
  20119. name: userid
  20120. required: true
  20121. type: integer
  20122. - description: 申请起始日期(格式yyyymmdd)
  20123. in: query
  20124. name: begindate
  20125. type: string
  20126. - description: 申请截止日期(格式yyyymmdd)
  20127. in: query
  20128. name: enddate
  20129. type: string
  20130. - description: 模糊搜索名称
  20131. in: query
  20132. name: likename
  20133. type: string
  20134. produces:
  20135. - application/json
  20136. responses:
  20137. "200":
  20138. description: OK
  20139. schema:
  20140. items:
  20141. $ref: '#/definitions/models.QhjAccountOutInApply'
  20142. type: array
  20143. "500":
  20144. description: Internal Server Error
  20145. schema:
  20146. $ref: '#/definitions/app.Response'
  20147. security:
  20148. - ApiKeyAuth: []
  20149. summary: 查询充值提现
  20150. tags:
  20151. - 大连千海金
  20152. /Qhj/QueryAreaFinanceConfig:
  20153. get:
  20154. parameters:
  20155. - description: 机构用户ID 其他做市关系,都设置为 1
  20156. in: query
  20157. name: userid
  20158. type: integer
  20159. produces:
  20160. - application/json
  20161. responses:
  20162. "200":
  20163. description: OK
  20164. schema:
  20165. items:
  20166. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20167. type: array
  20168. "500":
  20169. description: Internal Server Error
  20170. schema:
  20171. $ref: '#/definitions/app.Response'
  20172. security:
  20173. - ApiKeyAuth: []
  20174. summary: 查询企业配置表
  20175. tags:
  20176. - 大连千海金
  20177. /Qhj/QueryBankAccountSign:
  20178. get:
  20179. parameters:
  20180. - description: 用户ID
  20181. in: query
  20182. name: userid
  20183. required: true
  20184. type: integer
  20185. produces:
  20186. - application/json
  20187. responses:
  20188. "200":
  20189. description: OK
  20190. schema:
  20191. items:
  20192. $ref: '#/definitions/models.QhjBankAccountSign'
  20193. type: array
  20194. "500":
  20195. description: Internal Server Error
  20196. schema:
  20197. $ref: '#/definitions/app.Response'
  20198. security:
  20199. - ApiKeyAuth: []
  20200. summary: 查询签约银行信息(提现账户管理)
  20201. tags:
  20202. - 大连千海金
  20203. /Qhj/QueryBankInfo:
  20204. get:
  20205. produces:
  20206. - application/json
  20207. responses:
  20208. "200":
  20209. description: OK
  20210. schema:
  20211. items:
  20212. $ref: '#/definitions/models.QhjBankInfo'
  20213. type: array
  20214. "500":
  20215. description: Internal Server Error
  20216. schema:
  20217. $ref: '#/definitions/app.Response'
  20218. security:
  20219. - ApiKeyAuth: []
  20220. summary: 查询开户行
  20221. tags:
  20222. - 大连千海金
  20223. /Qhj/QueryBrokerApply:
  20224. get:
  20225. parameters:
  20226. - description: 所属机构ID
  20227. in: query
  20228. name: userid
  20229. type: integer
  20230. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20231. in: query
  20232. name: filterstatus
  20233. type: string
  20234. produces:
  20235. - application/json
  20236. responses:
  20237. "200":
  20238. description: OK
  20239. schema:
  20240. items:
  20241. $ref: '#/definitions/models.QhjBrokerApply'
  20242. type: array
  20243. "500":
  20244. description: Internal Server Error
  20245. schema:
  20246. $ref: '#/definitions/app.Response'
  20247. security:
  20248. - ApiKeyAuth: []
  20249. summary: 查询经纪人申请
  20250. tags:
  20251. - 大连千海金
  20252. /Qhj/QueryBrokerApplyEx:
  20253. get:
  20254. parameters:
  20255. - description: 所属机构ID
  20256. in: query
  20257. name: userid
  20258. type: integer
  20259. produces:
  20260. - application/json
  20261. responses:
  20262. "200":
  20263. description: OK
  20264. schema:
  20265. items:
  20266. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20267. type: array
  20268. "500":
  20269. description: Internal Server Error
  20270. schema:
  20271. $ref: '#/definitions/app.Response'
  20272. security:
  20273. - ApiKeyAuth: []
  20274. summary: 查询经纪人信息和申请记录
  20275. tags:
  20276. - 大连千海金
  20277. /Qhj/QueryBrokerRewardLog:
  20278. get:
  20279. parameters:
  20280. - description: 用户ID
  20281. in: query
  20282. name: userid
  20283. required: true
  20284. type: integer
  20285. - description: 开始交易日(yyyymmdd)
  20286. in: query
  20287. name: begindate
  20288. type: string
  20289. - description: 结束交易日(yyyymmdd)
  20290. in: query
  20291. name: enddate
  20292. type: string
  20293. produces:
  20294. - application/json
  20295. responses:
  20296. "200":
  20297. description: OK
  20298. schema:
  20299. items:
  20300. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20301. type: array
  20302. "500":
  20303. description: Internal Server Error
  20304. schema:
  20305. $ref: '#/definitions/app.Response'
  20306. security:
  20307. - ApiKeyAuth: []
  20308. summary: 查询奖励流水(我的奖励)
  20309. tags:
  20310. - 大连千海金
  20311. /Qhj/QueryContract:
  20312. get:
  20313. parameters:
  20314. - description: 用户ID
  20315. in: query
  20316. name: userid
  20317. type: integer
  20318. - description: scf合同id
  20319. in: query
  20320. name: scfcontractid
  20321. type: integer
  20322. produces:
  20323. - application/json
  20324. responses:
  20325. "200":
  20326. description: OK
  20327. schema:
  20328. items:
  20329. $ref: '#/definitions/models.QhjContract'
  20330. type: array
  20331. "500":
  20332. description: Internal Server Error
  20333. schema:
  20334. $ref: '#/definitions/app.Response'
  20335. security:
  20336. - ApiKeyAuth: []
  20337. summary: 查询融资明细(合同)
  20338. tags:
  20339. - 大连千海金
  20340. /Qhj/QueryContractLog:
  20341. get:
  20342. parameters:
  20343. - description: scf合同id
  20344. in: query
  20345. name: scfcontractid
  20346. required: true
  20347. type: integer
  20348. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20349. in: query
  20350. name: amounttype
  20351. type: string
  20352. produces:
  20353. - application/json
  20354. responses:
  20355. "200":
  20356. description: OK
  20357. schema:
  20358. items:
  20359. $ref: '#/definitions/models.QhjContractLog'
  20360. type: array
  20361. "500":
  20362. description: Internal Server Error
  20363. schema:
  20364. $ref: '#/definitions/app.Response'
  20365. security:
  20366. - ApiKeyAuth: []
  20367. summary: 查询融资明细流水(融资明细详情页中的流水)
  20368. tags:
  20369. - 大连千海金
  20370. /Qhj/QueryCusBankSignBank:
  20371. get:
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. items:
  20379. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20380. type: array
  20381. "500":
  20382. description: Internal Server Error
  20383. schema:
  20384. $ref: '#/definitions/app.Response'
  20385. security:
  20386. - ApiKeyAuth: []
  20387. summary: 查询托管银行
  20388. tags:
  20389. - 大连千海金
  20390. /Qhj/QueryCustomerInfo:
  20391. get:
  20392. parameters:
  20393. - description: 用户ID
  20394. in: query
  20395. name: userid
  20396. required: true
  20397. type: integer
  20398. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20399. in: query
  20400. name: querytype
  20401. required: true
  20402. type: integer
  20403. - description: 客户类型 1-个人 2-企业
  20404. in: query
  20405. name: userinfotype
  20406. type: integer
  20407. - description: 客户名称(模糊匹配)
  20408. in: query
  20409. name: customername
  20410. type: string
  20411. - description: 昵称(模糊匹配)
  20412. in: query
  20413. name: nickname
  20414. type: string
  20415. - description: 是否包含子级 1-包含
  20416. in: query
  20417. name: includesub
  20418. type: integer
  20419. produces:
  20420. - application/json
  20421. responses:
  20422. "200":
  20423. description: OK
  20424. schema:
  20425. items:
  20426. $ref: '#/definitions/models.QhjCustomer'
  20427. type: array
  20428. "500":
  20429. description: Internal Server Error
  20430. schema:
  20431. $ref: '#/definitions/app.Response'
  20432. security:
  20433. - ApiKeyAuth: []
  20434. summary: 查询客户资料
  20435. tags:
  20436. - 大连千海金
  20437. /Qhj/QueryGoodsEx:
  20438. get:
  20439. parameters:
  20440. - description: 商品id
  20441. in: query
  20442. name: goodsid
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. items:
  20451. $ref: '#/definitions/models.Qhjgoodsex'
  20452. type: array
  20453. "500":
  20454. description: Internal Server Error
  20455. schema:
  20456. $ref: '#/definitions/app.Response'
  20457. security:
  20458. - ApiKeyAuth: []
  20459. summary: 交易商品扩展表
  20460. tags:
  20461. - 大连千海金
  20462. /Qhj/QueryMyTeam:
  20463. get:
  20464. parameters:
  20465. - description: 用户ID
  20466. in: query
  20467. name: userid
  20468. required: true
  20469. type: integer
  20470. produces:
  20471. - application/json
  20472. responses:
  20473. "200":
  20474. description: OK
  20475. schema:
  20476. items:
  20477. $ref: '#/definitions/models.QhjMyTeamEx'
  20478. type: array
  20479. "500":
  20480. description: Internal Server Error
  20481. schema:
  20482. $ref: '#/definitions/app.Response'
  20483. security:
  20484. - ApiKeyAuth: []
  20485. summary: 查询我的团队
  20486. tags:
  20487. - 大连千海金
  20488. /Qhj/QueryMyTeamOrder:
  20489. get:
  20490. parameters:
  20491. - description: 页码
  20492. in: query
  20493. name: page
  20494. type: integer
  20495. - description: 每页条数
  20496. in: query
  20497. name: pagesize
  20498. type: integer
  20499. - description: 用户ID
  20500. in: query
  20501. name: userid
  20502. required: true
  20503. type: integer
  20504. - description: 交易模式
  20505. in: query
  20506. name: trademode
  20507. type: integer
  20508. - description: 名称(模糊搜索账户)
  20509. in: query
  20510. name: filtername
  20511. type: string
  20512. produces:
  20513. - application/json
  20514. responses:
  20515. "200":
  20516. description: OK
  20517. schema:
  20518. items:
  20519. $ref: '#/definitions/models.QhjTeamOrder'
  20520. type: array
  20521. "500":
  20522. description: Internal Server Error
  20523. schema:
  20524. $ref: '#/definitions/app.Response'
  20525. security:
  20526. - ApiKeyAuth: []
  20527. summary: 查询团队订单(我的团队/团队订单)
  20528. tags:
  20529. - 大连千海金
  20530. /Qhj/QueryParentAreaList:
  20531. get:
  20532. parameters:
  20533. - description: 用户ID
  20534. in: query
  20535. name: userid
  20536. required: true
  20537. type: integer
  20538. produces:
  20539. - application/json
  20540. responses:
  20541. "200":
  20542. description: OK
  20543. schema:
  20544. items:
  20545. $ref: '#/definitions/models.QhjParentAreaList'
  20546. type: array
  20547. "500":
  20548. description: Internal Server Error
  20549. schema:
  20550. $ref: '#/definitions/app.Response'
  20551. security:
  20552. - ApiKeyAuth: []
  20553. summary: 查询所属机构列表
  20554. tags:
  20555. - 大连千海金
  20556. /Qhj/QueryPayOrder:
  20557. get:
  20558. parameters:
  20559. - description: 资金账号id
  20560. in: query
  20561. name: accountid
  20562. required: true
  20563. type: integer
  20564. - description: 成交单号
  20565. in: query
  20566. name: tradeid
  20567. type: integer
  20568. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  20569. in: query
  20570. name: payflag
  20571. type: string
  20572. produces:
  20573. - application/json
  20574. responses:
  20575. "200":
  20576. description: OK
  20577. schema:
  20578. items:
  20579. $ref: '#/definitions/models.QhjPayOrder'
  20580. type: array
  20581. "500":
  20582. description: Internal Server Error
  20583. schema:
  20584. $ref: '#/definitions/app.Response'
  20585. security:
  20586. - ApiKeyAuth: []
  20587. summary: 查询待付款单据
  20588. tags:
  20589. - 大连千海金
  20590. /Qhj/QueryPickArea:
  20591. get:
  20592. parameters:
  20593. - description: 用户ID
  20594. in: query
  20595. name: userid
  20596. type: integer
  20597. produces:
  20598. - application/json
  20599. responses:
  20600. "200":
  20601. description: OK
  20602. schema:
  20603. items:
  20604. $ref: '#/definitions/models.QhjPickArea'
  20605. type: array
  20606. "500":
  20607. description: Internal Server Error
  20608. schema:
  20609. $ref: '#/definitions/app.Response'
  20610. security:
  20611. - ApiKeyAuth: []
  20612. summary: 查询提货门店
  20613. tags:
  20614. - 大连千海金
  20615. /Qhj/QueryPickGoods:
  20616. get:
  20617. parameters:
  20618. - description: 交易商品id
  20619. in: query
  20620. name: goodsid
  20621. required: true
  20622. type: integer
  20623. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  20624. in: query
  20625. name: status
  20626. type: string
  20627. produces:
  20628. - application/json
  20629. responses:
  20630. "200":
  20631. description: OK
  20632. schema:
  20633. items:
  20634. $ref: '#/definitions/models.QhjPickGoods'
  20635. type: array
  20636. "500":
  20637. description: Internal Server Error
  20638. schema:
  20639. $ref: '#/definitions/app.Response'
  20640. security:
  20641. - ApiKeyAuth: []
  20642. summary: 查询提货商品
  20643. tags:
  20644. - 大连千海金
  20645. /Qhj/QueryRSTriggerLog:
  20646. get:
  20647. parameters:
  20648. - description: 用户ID
  20649. in: query
  20650. name: userid
  20651. type: integer
  20652. - description: 定投策略id
  20653. in: query
  20654. name: regularlystrategyid
  20655. type: integer
  20656. - description: 商品id
  20657. in: query
  20658. name: goodsid
  20659. type: integer
  20660. - description: 开始交易日(yyyymmdd)
  20661. in: query
  20662. name: begindate
  20663. type: string
  20664. - description: 结束交易日(yyyymmdd)
  20665. in: query
  20666. name: enddate
  20667. type: string
  20668. - description: 名称(模糊搜索账户)
  20669. in: query
  20670. name: filtername
  20671. type: string
  20672. produces:
  20673. - application/json
  20674. responses:
  20675. "200":
  20676. description: OK
  20677. schema:
  20678. items:
  20679. $ref: '#/definitions/models.QhjRSTriggerLog'
  20680. type: array
  20681. "500":
  20682. description: Internal Server Error
  20683. schema:
  20684. $ref: '#/definitions/app.Response'
  20685. security:
  20686. - ApiKeyAuth: []
  20687. summary: 查询定投记录(定投管理/详情/定投记录)
  20688. tags:
  20689. - 大连千海金
  20690. /Qhj/QueryRStrategy:
  20691. get:
  20692. parameters:
  20693. - description: 用户ID
  20694. in: query
  20695. name: userid
  20696. type: integer
  20697. - description: 商品id
  20698. in: query
  20699. name: goodsid
  20700. type: integer
  20701. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  20702. in: query
  20703. name: status
  20704. type: string
  20705. - description: 名称(模糊搜索账户)
  20706. in: query
  20707. name: filtername
  20708. type: string
  20709. produces:
  20710. - application/json
  20711. responses:
  20712. "200":
  20713. description: OK
  20714. schema:
  20715. items:
  20716. $ref: '#/definitions/models.QhjRStrategy'
  20717. type: array
  20718. "500":
  20719. description: Internal Server Error
  20720. schema:
  20721. $ref: '#/definitions/app.Response'
  20722. security:
  20723. - ApiKeyAuth: []
  20724. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  20725. tags:
  20726. - 大连千海金
  20727. /Qhj/QueryReckonPriceLog:
  20728. get:
  20729. parameters:
  20730. - description: 商品ID
  20731. in: query
  20732. name: goodsid
  20733. type: integer
  20734. - description: 交易日 格式(yyyymmdd)
  20735. in: query
  20736. name: tradedate
  20737. type: string
  20738. produces:
  20739. - application/json
  20740. responses:
  20741. "200":
  20742. description: OK
  20743. schema:
  20744. items:
  20745. $ref: '#/definitions/models.QhjReckonPriceLog'
  20746. type: array
  20747. "500":
  20748. description: Internal Server Error
  20749. schema:
  20750. $ref: '#/definitions/app.Response'
  20751. security:
  20752. - ApiKeyAuth: []
  20753. summary: 查询定投价(结算价)
  20754. tags:
  20755. - 大连千海金
  20756. /Qhj/QueryScoreLog:
  20757. get:
  20758. parameters:
  20759. - description: 用户ID
  20760. in: query
  20761. name: userid
  20762. required: true
  20763. type: integer
  20764. - description: 开始交易日(yyyymmdd)
  20765. in: query
  20766. name: begindate
  20767. type: string
  20768. - description: 结束交易日(yyyymmdd)
  20769. in: query
  20770. name: enddate
  20771. type: string
  20772. - description: 最近多少条
  20773. in: query
  20774. name: lastnum
  20775. type: integer
  20776. produces:
  20777. - application/json
  20778. responses:
  20779. "200":
  20780. description: OK
  20781. schema:
  20782. items:
  20783. $ref: '#/definitions/models.QhjScoreLog'
  20784. type: array
  20785. "500":
  20786. description: Internal Server Error
  20787. schema:
  20788. $ref: '#/definitions/app.Response'
  20789. security:
  20790. - ApiKeyAuth: []
  20791. summary: 查询积分流水(我的积分)
  20792. tags:
  20793. - 大连千海金
  20794. /Qhj/QuerySiteColumnDetail:
  20795. get:
  20796. parameters:
  20797. - description: 用户ID
  20798. in: query
  20799. name: userid
  20800. required: true
  20801. type: integer
  20802. produces:
  20803. - application/json
  20804. responses:
  20805. "200":
  20806. description: OK
  20807. schema:
  20808. items:
  20809. $ref: '#/definitions/models.QhjSiteColumnDetail'
  20810. type: array
  20811. "500":
  20812. description: Internal Server Error
  20813. schema:
  20814. $ref: '#/definitions/app.Response'
  20815. security:
  20816. - ApiKeyAuth: []
  20817. summary: 查询资讯
  20818. tags:
  20819. - 大连千海金
  20820. /Qhj/QueryTradeGoodsPickup:
  20821. get:
  20822. parameters:
  20823. - description: 用户ID
  20824. in: query
  20825. name: userid
  20826. required: true
  20827. type: integer
  20828. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  20829. 7:已拒绝 8:已撤销
  20830. in: query
  20831. name: takeorderstatus
  20832. type: integer
  20833. produces:
  20834. - application/json
  20835. responses:
  20836. "200":
  20837. description: OK
  20838. schema:
  20839. items:
  20840. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  20841. type: array
  20842. "500":
  20843. description: Internal Server Error
  20844. schema:
  20845. $ref: '#/definitions/app.Response'
  20846. security:
  20847. - ApiKeyAuth: []
  20848. summary: 查询提货
  20849. tags:
  20850. - 大连千海金
  20851. /Qhj/QueryUserCollectConfig:
  20852. get:
  20853. parameters:
  20854. - description: 用户ID
  20855. in: query
  20856. name: userid
  20857. required: true
  20858. type: integer
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/models.UserCollectConfig'
  20867. type: array
  20868. "500":
  20869. description: Internal Server Error
  20870. schema:
  20871. $ref: '#/definitions/app.Response'
  20872. security:
  20873. - ApiKeyAuth: []
  20874. summary: 查询提现账户设置
  20875. tags:
  20876. - 大连千海金
  20877. /Qhj/QueryUserReceiveInfo:
  20878. get:
  20879. parameters:
  20880. - description: 用户ID
  20881. in: query
  20882. name: userid
  20883. required: true
  20884. type: integer
  20885. produces:
  20886. - application/json
  20887. responses:
  20888. "200":
  20889. description: OK
  20890. schema:
  20891. items:
  20892. $ref: '#/definitions/models.UserReceiveInfo'
  20893. type: array
  20894. "500":
  20895. description: Internal Server Error
  20896. schema:
  20897. $ref: '#/definitions/app.Response'
  20898. security:
  20899. - ApiKeyAuth: []
  20900. summary: 查询收货地址信息
  20901. tags:
  20902. - 大连千海金
  20903. /QhjMgr/QueryAccountInOutApply:
  20904. get:
  20905. parameters:
  20906. - description: 查询类型 1-提现(出金) 2-充值(出金)
  20907. in: query
  20908. name: querytype
  20909. required: true
  20910. type: integer
  20911. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  20912. in: query
  20913. name: applystatus
  20914. type: integer
  20915. - description: 申请起始日期(格式yyyymmdd)
  20916. in: query
  20917. name: begindate
  20918. type: string
  20919. - description: 申请截止日期(格式yyyymmdd)
  20920. in: query
  20921. name: enddate
  20922. type: string
  20923. - description: 模糊搜索名称
  20924. in: query
  20925. name: likename
  20926. type: string
  20927. produces:
  20928. - application/json
  20929. responses:
  20930. "200":
  20931. description: OK
  20932. schema:
  20933. items:
  20934. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  20935. type: array
  20936. "500":
  20937. description: Internal Server Error
  20938. schema:
  20939. $ref: '#/definitions/app.Response'
  20940. security:
  20941. - ApiKeyAuth: []
  20942. summary: 查询充值提现
  20943. tags:
  20944. - 大连千海金(PCWeb)
  20945. /QhjMgr/QueryBrokerApply:
  20946. get:
  20947. parameters:
  20948. - description: 所属机构ID
  20949. in: query
  20950. name: userid
  20951. type: integer
  20952. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20953. in: query
  20954. name: filterstatus
  20955. type: string
  20956. - description: 名称(模糊匹配)
  20957. in: query
  20958. name: filtername
  20959. type: string
  20960. - description: 是否包含子级 1-包含
  20961. in: query
  20962. name: includesub
  20963. type: integer
  20964. produces:
  20965. - application/json
  20966. responses:
  20967. "200":
  20968. description: OK
  20969. schema:
  20970. items:
  20971. $ref: '#/definitions/models.QhjMgrBrokerApply'
  20972. type: array
  20973. "500":
  20974. description: Internal Server Error
  20975. schema:
  20976. $ref: '#/definitions/app.Response'
  20977. security:
  20978. - ApiKeyAuth: []
  20979. summary: 查询经纪人申请
  20980. tags:
  20981. - 大连千海金(PCWeb)
  20982. /QhjMgr/QueryBrokerRewardReport:
  20983. get:
  20984. parameters:
  20985. - description: 所属机构ID
  20986. in: query
  20987. name: userid
  20988. required: true
  20989. type: integer
  20990. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20991. in: query
  20992. name: cycletype
  20993. required: true
  20994. type: integer
  20995. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  20996. in: query
  20997. name: cycletime
  20998. required: true
  20999. type: string
  21000. - description: 名称(模糊匹配)
  21001. in: query
  21002. name: filtername
  21003. type: string
  21004. - description: 是否包含子级 1-包含
  21005. in: query
  21006. name: includesub
  21007. type: integer
  21008. produces:
  21009. - application/json
  21010. responses:
  21011. "200":
  21012. description: OK
  21013. schema:
  21014. items:
  21015. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21016. type: array
  21017. "500":
  21018. description: Internal Server Error
  21019. schema:
  21020. $ref: '#/definitions/app.Response'
  21021. security:
  21022. - ApiKeyAuth: []
  21023. summary: 查询经纪人奖励报表(废弃)
  21024. tags:
  21025. - 大连千海金(PCWeb)
  21026. /QhjMgr/QueryContract:
  21027. get:
  21028. parameters:
  21029. - description: 用户ID
  21030. in: query
  21031. name: userid
  21032. type: integer
  21033. - description: 商品id
  21034. in: query
  21035. name: goodsid
  21036. type: integer
  21037. - description: 名称(模糊搜索账户)
  21038. in: query
  21039. name: filtername
  21040. type: string
  21041. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21042. in: query
  21043. name: risklevel
  21044. type: string
  21045. - description: 开始交易日(yyyymmdd)
  21046. in: query
  21047. name: begindate
  21048. type: string
  21049. - description: 结束交易日(yyyymmdd)
  21050. in: query
  21051. name: enddate
  21052. type: string
  21053. produces:
  21054. - application/json
  21055. responses:
  21056. "200":
  21057. description: OK
  21058. schema:
  21059. items:
  21060. $ref: '#/definitions/models.QhjMgrContract'
  21061. type: array
  21062. "500":
  21063. description: Internal Server Error
  21064. schema:
  21065. $ref: '#/definitions/app.Response'
  21066. security:
  21067. - ApiKeyAuth: []
  21068. summary: 查询融资信息(合同)
  21069. tags:
  21070. - 大连千海金(PCWeb)
  21071. /QhjMgr/QueryCustomerInfo:
  21072. get:
  21073. parameters:
  21074. - description: 用户ID
  21075. in: query
  21076. name: userid
  21077. required: true
  21078. type: integer
  21079. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21080. in: query
  21081. name: querytype
  21082. required: true
  21083. type: integer
  21084. - description: 客户类型 1-个人 2-企业
  21085. in: query
  21086. name: userinfotype
  21087. type: integer
  21088. - description: 客户名称(模糊匹配)
  21089. in: query
  21090. name: customername
  21091. type: string
  21092. - description: 昵称(模糊匹配)
  21093. in: query
  21094. name: nickname
  21095. type: string
  21096. - description: 是否包含子级 1-包含
  21097. in: query
  21098. name: includesub
  21099. type: integer
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. items:
  21107. $ref: '#/definitions/models.QhjMgrCustomer'
  21108. type: array
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. security:
  21114. - ApiKeyAuth: []
  21115. summary: 查询客户资料
  21116. tags:
  21117. - 大连千海金(PCWeb)
  21118. /QhjMgr/QueryPickGoods:
  21119. get:
  21120. parameters:
  21121. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21122. in: query
  21123. name: status
  21124. type: string
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. items:
  21132. $ref: '#/definitions/models.QhjMgrPickGoods'
  21133. type: array
  21134. "500":
  21135. description: Internal Server Error
  21136. schema:
  21137. $ref: '#/definitions/app.Response'
  21138. security:
  21139. - ApiKeyAuth: []
  21140. summary: 查询提货商品
  21141. tags:
  21142. - 大连千海金(PCWeb)
  21143. /QhjMgr/QuerySubArea:
  21144. get:
  21145. parameters:
  21146. - description: 用户ID
  21147. in: query
  21148. name: userid
  21149. required: true
  21150. type: integer
  21151. produces:
  21152. - application/json
  21153. responses:
  21154. "200":
  21155. description: OK
  21156. schema:
  21157. items:
  21158. $ref: '#/definitions/models.QhjMgrSubArea'
  21159. type: array
  21160. "500":
  21161. description: Internal Server Error
  21162. schema:
  21163. $ref: '#/definitions/app.Response'
  21164. security:
  21165. - ApiKeyAuth: []
  21166. summary: 查询子机构列表
  21167. tags:
  21168. - 大连千海金(PCWeb)
  21169. /QhjMgr/QueryTradeDetail:
  21170. get:
  21171. parameters:
  21172. - description: 用户ID
  21173. in: query
  21174. name: userid
  21175. required: true
  21176. type: integer
  21177. - description: 用户类型 1-个人 2-企业
  21178. in: query
  21179. name: userinfotype
  21180. type: integer
  21181. - description: 交易模式
  21182. in: query
  21183. name: trademode
  21184. type: integer
  21185. - description: 商品id
  21186. in: query
  21187. name: goodsid
  21188. type: integer
  21189. - description: 名称(模糊搜索账户)
  21190. in: query
  21191. name: filtername
  21192. type: string
  21193. - description: 开始交易日(yyyymmdd)
  21194. in: query
  21195. name: begindate
  21196. type: string
  21197. - description: 结束交易日(yyyymmdd)
  21198. in: query
  21199. name: enddate
  21200. type: string
  21201. - description: 是否包含子级 1-包含
  21202. in: query
  21203. name: includesub
  21204. type: integer
  21205. produces:
  21206. - application/json
  21207. responses:
  21208. "200":
  21209. description: OK
  21210. schema:
  21211. items:
  21212. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21213. type: array
  21214. "500":
  21215. description: Internal Server Error
  21216. schema:
  21217. $ref: '#/definitions/app.Response'
  21218. security:
  21219. - ApiKeyAuth: []
  21220. summary: 查询成交明细
  21221. tags:
  21222. - 大连千海金(PCWeb)
  21223. /QhjMgr/QueryTradeOrderDetail:
  21224. get:
  21225. parameters:
  21226. - description: 用户ID
  21227. in: query
  21228. name: userid
  21229. required: true
  21230. type: integer
  21231. - description: 用户类型 1-个人 2-企业
  21232. in: query
  21233. name: userinfotype
  21234. type: integer
  21235. - description: 交易模式
  21236. in: query
  21237. name: trademode
  21238. type: integer
  21239. - description: 商品id
  21240. in: query
  21241. name: goodsid
  21242. type: integer
  21243. - description: 名称(模糊搜索账户)
  21244. in: query
  21245. name: filtername
  21246. type: string
  21247. - description: 开始交易日(yyyymmdd)
  21248. in: query
  21249. name: begindate
  21250. type: string
  21251. - description: 结束交易日(yyyymmdd)
  21252. in: query
  21253. name: enddate
  21254. type: string
  21255. - description: 是否包含子级 1-包含
  21256. in: query
  21257. name: includesub
  21258. type: integer
  21259. produces:
  21260. - application/json
  21261. responses:
  21262. "200":
  21263. description: OK
  21264. schema:
  21265. items:
  21266. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21267. type: array
  21268. "500":
  21269. description: Internal Server Error
  21270. schema:
  21271. $ref: '#/definitions/app.Response'
  21272. security:
  21273. - ApiKeyAuth: []
  21274. summary: 查询委托明细
  21275. tags:
  21276. - 大连千海金(PCWeb)
  21277. /QhjMgr/QueryTradePayOrder:
  21278. get:
  21279. parameters:
  21280. - description: 用户ID
  21281. in: query
  21282. name: userid
  21283. required: true
  21284. type: integer
  21285. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21286. in: query
  21287. name: payflag
  21288. type: string
  21289. - description: 用户类型 1-个人 2-企业
  21290. in: query
  21291. name: userinfotype
  21292. type: integer
  21293. - description: 交易模式
  21294. in: query
  21295. name: trademode
  21296. type: integer
  21297. - description: 商品id
  21298. in: query
  21299. name: goodsid
  21300. type: integer
  21301. - description: 名称(模糊搜索账户)
  21302. in: query
  21303. name: filtername
  21304. type: string
  21305. - description: 开始交易日(yyyymmdd)
  21306. in: query
  21307. name: begindate
  21308. type: string
  21309. - description: 结束交易日(yyyymmdd)
  21310. in: query
  21311. name: enddate
  21312. type: string
  21313. - description: 是否包含子级 1-包含
  21314. in: query
  21315. name: includesub
  21316. type: integer
  21317. produces:
  21318. - application/json
  21319. responses:
  21320. "200":
  21321. description: OK
  21322. schema:
  21323. items:
  21324. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21325. type: array
  21326. "500":
  21327. description: Internal Server Error
  21328. schema:
  21329. $ref: '#/definitions/app.Response'
  21330. security:
  21331. - ApiKeyAuth: []
  21332. summary: 查询待付款单
  21333. tags:
  21334. - 大连千海金(PCWeb)
  21335. /QhjMgr/QueryTradePosition:
  21336. get:
  21337. parameters:
  21338. - description: 用户ID
  21339. in: query
  21340. name: userid
  21341. required: true
  21342. type: integer
  21343. - description: 用户类型 1-个人 2-企业
  21344. in: query
  21345. name: userinfotype
  21346. type: integer
  21347. - description: 交易模式
  21348. in: query
  21349. name: trademode
  21350. type: integer
  21351. - description: 商品id
  21352. in: query
  21353. name: goodsid
  21354. type: integer
  21355. - description: 名称(模糊搜索账户)
  21356. in: query
  21357. name: filtername
  21358. type: string
  21359. - description: 是否包含子级 1-包含
  21360. in: query
  21361. name: includesub
  21362. type: integer
  21363. produces:
  21364. - application/json
  21365. responses:
  21366. "200":
  21367. description: OK
  21368. schema:
  21369. items:
  21370. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21371. type: array
  21372. "500":
  21373. description: Internal Server Error
  21374. schema:
  21375. $ref: '#/definitions/app.Response'
  21376. security:
  21377. - ApiKeyAuth: []
  21378. summary: 查询持仓汇总
  21379. tags:
  21380. - 大连千海金(PCWeb)
  21381. /QhjSys/QueryAgreementChangeLog:
  21382. get:
  21383. parameters:
  21384. - description: 协议ID
  21385. in: query
  21386. name: agreementid
  21387. type: integer
  21388. - description: 协议版本号
  21389. in: query
  21390. name: agreementversion
  21391. type: integer
  21392. - description: 协议类型 - 1:注册 2:登录 3:交易
  21393. in: query
  21394. name: agreementtype
  21395. type: integer
  21396. - description: 协议编号(模糊匹配)
  21397. in: query
  21398. name: agreementno
  21399. type: string
  21400. - description: 协议名称(模糊匹配)
  21401. in: query
  21402. name: agreementname
  21403. type: string
  21404. produces:
  21405. - application/json
  21406. responses:
  21407. "200":
  21408. description: OK
  21409. schema:
  21410. items:
  21411. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21412. type: array
  21413. "500":
  21414. description: Internal Server Error
  21415. schema:
  21416. $ref: '#/definitions/app.Response'
  21417. security:
  21418. - ApiKeyAuth: []
  21419. summary: 查询协议配置变更流水
  21420. tags:
  21421. - 大连千海金(协议和签约信息)
  21422. /QhjSys/QueryAgreementConfig:
  21423. get:
  21424. parameters:
  21425. - description: 协议ID
  21426. in: query
  21427. name: agreementid
  21428. type: integer
  21429. - description: 协议版本号
  21430. in: query
  21431. name: agreementversion
  21432. type: integer
  21433. - description: 协议类型 - 1:注册 2:登录 3:交易
  21434. in: query
  21435. name: agreementtype
  21436. type: integer
  21437. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21438. in: query
  21439. name: isvalid
  21440. type: integer
  21441. - description: 协议编号(模糊匹配)
  21442. in: query
  21443. name: agreementno
  21444. type: string
  21445. - description: 协议名称(模糊匹配)
  21446. in: query
  21447. name: agreementname
  21448. type: string
  21449. produces:
  21450. - application/json
  21451. responses:
  21452. "200":
  21453. description: OK
  21454. schema:
  21455. items:
  21456. $ref: '#/definitions/models.QhjAgreementConfig'
  21457. type: array
  21458. "500":
  21459. description: Internal Server Error
  21460. schema:
  21461. $ref: '#/definitions/app.Response'
  21462. security:
  21463. - ApiKeyAuth: []
  21464. summary: 查询协议配置
  21465. tags:
  21466. - 大连千海金(协议和签约信息)
  21467. /QhjSys/QueryCustomerSignStatus:
  21468. get:
  21469. parameters:
  21470. - description: 客户ID
  21471. in: query
  21472. name: userid
  21473. type: integer
  21474. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  21475. in: query
  21476. name: nodetype
  21477. type: integer
  21478. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21479. in: query
  21480. name: goodsid
  21481. type: integer
  21482. - description: 创建交易日(yyyyMMdd)
  21483. in: query
  21484. name: tradedate
  21485. type: string
  21486. - description: 用户名称(模糊匹配)
  21487. in: query
  21488. name: username
  21489. type: string
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. items:
  21497. $ref: '#/definitions/models.QhjCustomerSignStatus'
  21498. type: array
  21499. "500":
  21500. description: Internal Server Error
  21501. schema:
  21502. $ref: '#/definitions/app.Response'
  21503. security:
  21504. - ApiKeyAuth: []
  21505. summary: 查询客户协议签约状态
  21506. tags:
  21507. - 大连千海金(协议和签约信息)
  21508. /QhjSys/QueryNodeAgreementConfig:
  21509. get:
  21510. parameters:
  21511. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21512. in: query
  21513. name: configid
  21514. type: integer
  21515. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21516. in: query
  21517. name: nodetype
  21518. type: integer
  21519. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21520. in: query
  21521. name: goodsid
  21522. type: integer
  21523. - description: 协议ID
  21524. in: query
  21525. name: agreementid
  21526. type: integer
  21527. - description: 协议类型 - 1:注册 2:登录 3:交易
  21528. in: query
  21529. name: agreementtype
  21530. type: integer
  21531. - description: 协议版本号
  21532. in: query
  21533. name: agreementversion
  21534. type: integer
  21535. - description: 协议编号(模糊匹配)
  21536. in: query
  21537. name: agreementno
  21538. type: string
  21539. - description: 协议名称(模糊匹配)
  21540. in: query
  21541. name: agreementname
  21542. type: string
  21543. produces:
  21544. - application/json
  21545. responses:
  21546. "200":
  21547. description: OK
  21548. schema:
  21549. items:
  21550. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  21551. type: array
  21552. "500":
  21553. description: Internal Server Error
  21554. schema:
  21555. $ref: '#/definitions/app.Response'
  21556. security:
  21557. - ApiKeyAuth: []
  21558. summary: 查询协议节点配置
  21559. tags:
  21560. - 大连千海金(协议和签约信息)
  21561. /QhjSys/QueryQhjCustomerSignLog:
  21562. get:
  21563. parameters:
  21564. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  21565. in: query
  21566. name: logid
  21567. type: integer
  21568. - description: 客户ID
  21569. in: query
  21570. name: userid
  21571. type: integer
  21572. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21573. in: query
  21574. name: nodetype
  21575. type: integer
  21576. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21577. in: query
  21578. name: goodsid
  21579. type: integer
  21580. - description: 协议ID
  21581. in: query
  21582. name: agreementid
  21583. type: integer
  21584. - description: 用户名称(模糊匹配)
  21585. in: query
  21586. name: username
  21587. type: string
  21588. - description: 协议编号(模糊匹配)
  21589. in: query
  21590. name: agreementno
  21591. type: string
  21592. - description: 协议名称(模糊匹配)
  21593. in: query
  21594. name: agreementname
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.QhjCustomerSignLog'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询客户协议签约流水
  21612. tags:
  21613. - 大连千海金(协议和签约信息)
  21614. /QhjSys/QueryUserNodeCfgAndStatus:
  21615. get:
  21616. parameters:
  21617. - description: 客户ID
  21618. in: query
  21619. name: userid
  21620. type: integer
  21621. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  21622. in: query
  21623. name: configid
  21624. type: integer
  21625. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  21626. in: query
  21627. name: nodetype
  21628. type: string
  21629. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  21630. in: query
  21631. name: goodsid
  21632. type: integer
  21633. - description: 协议ID
  21634. in: query
  21635. name: agreementid
  21636. type: integer
  21637. - description: 协议类型 - 1:注册 2:登录 3:交易
  21638. in: query
  21639. name: agreementtype
  21640. type: integer
  21641. - description: 协议版本号
  21642. in: query
  21643. name: agreementversion
  21644. type: integer
  21645. - description: 协议编号(模糊匹配)
  21646. in: query
  21647. name: agreementno
  21648. type: string
  21649. - description: 协议名称(模糊匹配)
  21650. in: query
  21651. name: agreementname
  21652. type: string
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. items:
  21660. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  21661. type: array
  21662. "500":
  21663. description: Internal Server Error
  21664. schema:
  21665. $ref: '#/definitions/app.Response'
  21666. security:
  21667. - ApiKeyAuth: []
  21668. summary: 查询用户协议节点配置和状态
  21669. tags:
  21670. - 大连千海金(协议和签约信息)
  21671. /Quote/QueryHistoryDatas:
  21672. get:
  21673. parameters:
  21674. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  21675. 日线'
  21676. in: query
  21677. name: cycleType
  21678. required: true
  21679. type: integer
  21680. - description: 商品代码
  21681. in: query
  21682. name: goodsCode
  21683. required: true
  21684. type: string
  21685. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21686. in: query
  21687. name: startTime
  21688. type: string
  21689. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21690. in: query
  21691. name: endTime
  21692. type: string
  21693. - description: 条数
  21694. in: query
  21695. name: count
  21696. type: integer
  21697. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21698. in: query
  21699. name: isAsc
  21700. type: boolean
  21701. produces:
  21702. - application/json
  21703. responses:
  21704. "200":
  21705. description: OK
  21706. schema:
  21707. $ref: '#/definitions/quote.HistoryData'
  21708. "500":
  21709. description: Internal Server Error
  21710. schema:
  21711. $ref: '#/definitions/app.Response'
  21712. security:
  21713. - ApiKeyAuth: []
  21714. summary: 查询行情历史数据
  21715. tags:
  21716. - 行情服务
  21717. /Quote/QueryHistoryTikDatas:
  21718. get:
  21719. parameters:
  21720. - description: 商品代码
  21721. in: query
  21722. name: goodsCode
  21723. required: true
  21724. type: string
  21725. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  21726. in: query
  21727. name: startTime
  21728. type: string
  21729. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  21730. in: query
  21731. name: endTime
  21732. type: string
  21733. - description: 条数
  21734. in: query
  21735. name: count
  21736. type: integer
  21737. - description: 是否按时间顺序排序(默认为时间倒序排序)
  21738. in: query
  21739. name: isAsc
  21740. type: boolean
  21741. produces:
  21742. - application/json
  21743. responses:
  21744. "200":
  21745. description: OK
  21746. schema:
  21747. $ref: '#/definitions/quote.HistoryTikData'
  21748. "500":
  21749. description: Internal Server Error
  21750. schema:
  21751. $ref: '#/definitions/app.Response'
  21752. security:
  21753. - ApiKeyAuth: []
  21754. summary: 查询行情Tik数据
  21755. tags:
  21756. - 行情服务
  21757. /Quote/QueryQuoteDay:
  21758. get:
  21759. parameters:
  21760. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  21761. in: query
  21762. name: goodsCodes
  21763. required: true
  21764. type: string
  21765. produces:
  21766. - application/json
  21767. responses:
  21768. "200":
  21769. description: OK
  21770. schema:
  21771. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  21772. "500":
  21773. description: Internal Server Error
  21774. schema:
  21775. $ref: '#/definitions/app.Response'
  21776. security:
  21777. - ApiKeyAuth: []
  21778. summary: 获取商品盘面信息
  21779. tags:
  21780. - 行情服务
  21781. /Quote/QueryTSData:
  21782. get:
  21783. parameters:
  21784. - description: 商品代码
  21785. in: query
  21786. name: goodsCode
  21787. required: true
  21788. type: string
  21789. produces:
  21790. - application/json
  21791. responses:
  21792. "200":
  21793. description: OK
  21794. schema:
  21795. $ref: '#/definitions/quote.QueryTSDataRsp'
  21796. "500":
  21797. description: Internal Server Error
  21798. schema:
  21799. $ref: '#/definitions/app.Response'
  21800. security:
  21801. - ApiKeyAuth: []
  21802. summary: 分时图数据查询
  21803. tags:
  21804. - 行情服务
  21805. /SZDZ/QueryConvertConfig:
  21806. get:
  21807. parameters:
  21808. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  21809. 6:交易转花生米(不设置)
  21810. in: query
  21811. name: convertType
  21812. type: integer
  21813. - description: 外部商品代码[JD\PD]
  21814. in: query
  21815. name: outerGoodsCode
  21816. type: string
  21817. - description: 内部商品ID列表[交易],格式:1,2,3
  21818. in: query
  21819. name: innerGoodsIDs
  21820. type: string
  21821. produces:
  21822. - application/json
  21823. responses:
  21824. "200":
  21825. description: OK
  21826. schema:
  21827. $ref: '#/definitions/models.Szdz3convertconfig'
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询交易系统转换设置
  21835. tags:
  21836. - 定制【尚志大宗】
  21837. /SZDZ/QueryConvertLog:
  21838. get:
  21839. parameters:
  21840. - description: 资金账户 - 格式:1,2,3
  21841. in: query
  21842. name: accountID
  21843. required: true
  21844. type: string
  21845. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21846. in: query
  21847. name: startDate
  21848. type: string
  21849. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21850. in: query
  21851. name: endDate
  21852. type: string
  21853. produces:
  21854. - application/json
  21855. responses:
  21856. "200":
  21857. description: OK
  21858. schema:
  21859. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  21860. "500":
  21861. description: Internal Server Error
  21862. schema:
  21863. $ref: '#/definitions/app.Response'
  21864. security:
  21865. - ApiKeyAuth: []
  21866. summary: 交易系统转换流水查询
  21867. tags:
  21868. - 定制【尚志大宗】
  21869. /SZDZ/QueryGoodsPickup:
  21870. get:
  21871. parameters:
  21872. - description: 资金账户 - 格式:1,2,3
  21873. in: query
  21874. name: accountID
  21875. required: true
  21876. type: string
  21877. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21878. in: query
  21879. name: takeOrderStatus
  21880. type: integer
  21881. produces:
  21882. - application/json
  21883. responses:
  21884. "200":
  21885. description: OK
  21886. schema:
  21887. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  21888. "500":
  21889. description: Internal Server Error
  21890. schema:
  21891. $ref: '#/definitions/app.Response'
  21892. security:
  21893. - ApiKeyAuth: []
  21894. summary: 商品提货单查询
  21895. tags:
  21896. - 定制【尚志大宗】
  21897. /SZDZ/QueryRecieptOrder:
  21898. get:
  21899. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  21900. parameters:
  21901. - description: 页码
  21902. in: query
  21903. name: page
  21904. type: integer
  21905. - description: 每页条数
  21906. in: query
  21907. name: pagesize
  21908. type: integer
  21909. - description: 商品ID
  21910. in: query
  21911. name: goodsID
  21912. required: true
  21913. type: integer
  21914. - description: 所属账户名称
  21915. in: query
  21916. name: accountName
  21917. type: string
  21918. - description: 市场ID
  21919. in: query
  21920. name: marketID
  21921. type: integer
  21922. - description: 方向 - 0:买 1:卖
  21923. in: query
  21924. name: buyorsell
  21925. required: true
  21926. type: integer
  21927. produces:
  21928. - application/json
  21929. responses:
  21930. "200":
  21931. description: OK
  21932. schema:
  21933. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  21934. "500":
  21935. description: Internal Server Error
  21936. schema:
  21937. $ref: '#/definitions/app.Response'
  21938. security:
  21939. - ApiKeyAuth: []
  21940. summary: 点选挂牌委托单据查询(摘牌大厅)
  21941. tags:
  21942. - 定制【尚志大宗】
  21943. /SZDZ/QuerySZDZTradePosition:
  21944. get:
  21945. parameters:
  21946. - description: 资金账户
  21947. in: query
  21948. name: accountID
  21949. required: true
  21950. type: integer
  21951. produces:
  21952. - application/json
  21953. responses:
  21954. "200":
  21955. description: OK
  21956. schema:
  21957. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  21958. "500":
  21959. description: Internal Server Error
  21960. schema:
  21961. $ref: '#/definitions/app.Response'
  21962. security:
  21963. - ApiKeyAuth: []
  21964. summary: 持仓汇总查询(尚志大宗)
  21965. tags:
  21966. - 定制【尚志大宗】
  21967. /SZDZ/SearchWhite:
  21968. get:
  21969. parameters:
  21970. - description: 用户ID
  21971. in: query
  21972. name: userID
  21973. required: true
  21974. type: integer
  21975. produces:
  21976. - application/json
  21977. responses:
  21978. "200":
  21979. description: OK
  21980. schema:
  21981. $ref: '#/definitions/models.Szdz3searchwhitelist'
  21982. "500":
  21983. description: Internal Server Error
  21984. schema:
  21985. $ref: '#/definitions/app.Response'
  21986. security:
  21987. - ApiKeyAuth: []
  21988. summary: 搜索白名单
  21989. tags:
  21990. - 定制【尚志大宗】
  21991. /Search/SearchGoodses:
  21992. get:
  21993. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  21994. parameters:
  21995. - description: 检索内容
  21996. in: query
  21997. name: content
  21998. required: true
  21999. type: string
  22000. - description: 交易模式,格式:1,2,3
  22001. in: query
  22002. name: tradeModes
  22003. type: string
  22004. produces:
  22005. - application/json
  22006. responses:
  22007. "200":
  22008. description: OK
  22009. schema:
  22010. $ref: '#/definitions/models.SearchGoods'
  22011. "500":
  22012. description: Internal Server Error
  22013. schema:
  22014. $ref: '#/definitions/app.Response'
  22015. summary: 检索商品信息
  22016. tags:
  22017. - 检索服务
  22018. /TaAccount/GetTaAccounts:
  22019. get:
  22020. parameters:
  22021. - description: 登录账户
  22022. in: query
  22023. name: loginID
  22024. required: true
  22025. type: integer
  22026. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22027. in: query
  22028. name: taAccountType
  22029. type: integer
  22030. produces:
  22031. - application/json
  22032. responses:
  22033. "200":
  22034. description: OK
  22035. schema:
  22036. $ref: '#/definitions/models.Taaccount'
  22037. "500":
  22038. description: Internal Server Error
  22039. schema:
  22040. $ref: '#/definitions/app.Response'
  22041. security:
  22042. - ApiKeyAuth: []
  22043. summary: 获取资金账户信息
  22044. tags:
  22045. - 资金账户
  22046. /TaAccount/QueryAmountLog:
  22047. get:
  22048. parameters:
  22049. - description: 页码
  22050. in: query
  22051. name: page
  22052. type: integer
  22053. - description: 每页条数
  22054. in: query
  22055. name: pagesize
  22056. type: integer
  22057. - description: 资金账户 - 格式:1,2,3
  22058. in: query
  22059. name: accountID
  22060. required: true
  22061. type: string
  22062. - description: 资金操作类型 - 格式:1,2,3
  22063. in: query
  22064. name: OperateType
  22065. type: string
  22066. produces:
  22067. - application/json
  22068. responses:
  22069. "200":
  22070. description: OK
  22071. schema:
  22072. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22073. "500":
  22074. description: Internal Server Error
  22075. schema:
  22076. $ref: '#/definitions/app.Response'
  22077. security:
  22078. - ApiKeyAuth: []
  22079. summary: 资金流水查询(当前)
  22080. tags:
  22081. - 资金账户
  22082. /TaAccount/QueryHisAmountLog:
  22083. get:
  22084. parameters:
  22085. - description: 页码
  22086. in: query
  22087. name: page
  22088. type: integer
  22089. - description: 每页条数
  22090. in: query
  22091. name: pagesize
  22092. type: integer
  22093. - description: 资金账户 - 格式:1,2,3
  22094. in: query
  22095. name: accountID
  22096. required: true
  22097. type: string
  22098. - description: 资金操作类型 - 格式:1,2,3
  22099. in: query
  22100. name: OperateType
  22101. type: string
  22102. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22103. in: query
  22104. name: startDate
  22105. type: string
  22106. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22107. in: query
  22108. name: endDate
  22109. type: string
  22110. produces:
  22111. - application/json
  22112. responses:
  22113. "200":
  22114. description: OK
  22115. schema:
  22116. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22117. "500":
  22118. description: Internal Server Error
  22119. schema:
  22120. $ref: '#/definitions/app.Response'
  22121. security:
  22122. - ApiKeyAuth: []
  22123. summary: 资金流水查询(历史)
  22124. tags:
  22125. - 资金账户
  22126. /Trade/QueryRecieptOrder:
  22127. get:
  22128. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22129. parameters:
  22130. - description: 页码
  22131. in: query
  22132. name: page
  22133. type: integer
  22134. - description: 每页条数
  22135. in: query
  22136. name: pagesize
  22137. type: integer
  22138. - description: 商品ID
  22139. in: query
  22140. name: goodsID
  22141. required: true
  22142. type: integer
  22143. - description: 所属账户名称
  22144. in: query
  22145. name: accountName
  22146. type: string
  22147. - description: 市场ID
  22148. in: query
  22149. name: marketID
  22150. type: integer
  22151. - description: 方向 - 0:买 1:卖
  22152. in: query
  22153. name: buyorsell
  22154. required: true
  22155. type: integer
  22156. produces:
  22157. - application/json
  22158. responses:
  22159. "200":
  22160. description: OK
  22161. schema:
  22162. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22163. "500":
  22164. description: Internal Server Error
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. security:
  22168. - ApiKeyAuth: []
  22169. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22170. tags:
  22171. - 通用交易
  22172. /User/AddMessageBoard:
  22173. post:
  22174. parameters:
  22175. - description: 用户ID
  22176. in: query
  22177. name: userID
  22178. required: true
  22179. type: integer
  22180. - description: 留言信息
  22181. in: query
  22182. name: message
  22183. required: true
  22184. type: string
  22185. - description: 联系电话
  22186. in: query
  22187. name: contactNum
  22188. required: true
  22189. type: string
  22190. produces:
  22191. - application/json
  22192. responses:
  22193. "200":
  22194. description: OK
  22195. schema:
  22196. $ref: '#/definitions/app.Response'
  22197. "500":
  22198. description: Internal Server Error
  22199. schema:
  22200. $ref: '#/definitions/app.Response'
  22201. security:
  22202. - ApiKeyAuth: []
  22203. summary: 添加用户留言板信息
  22204. tags:
  22205. - 用户信息
  22206. /User/AddUserFavoriteGoods:
  22207. post:
  22208. parameters:
  22209. - description: 用户ID
  22210. in: query
  22211. name: userID
  22212. required: true
  22213. type: integer
  22214. - description: 商品ID
  22215. in: query
  22216. name: goodsID
  22217. required: true
  22218. type: integer
  22219. produces:
  22220. - application/json
  22221. responses:
  22222. "200":
  22223. description: OK
  22224. schema:
  22225. $ref: '#/definitions/app.Response'
  22226. "500":
  22227. description: Internal Server Error
  22228. schema:
  22229. $ref: '#/definitions/app.Response'
  22230. security:
  22231. - ApiKeyAuth: []
  22232. summary: 添加用户商品收藏信息
  22233. tags:
  22234. - 用户信息
  22235. /User/GetLoginID:
  22236. get:
  22237. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22238. parameters:
  22239. - description: 登录代码
  22240. in: query
  22241. name: username
  22242. required: true
  22243. type: string
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. $ref: '#/definitions/app.Response'
  22251. "500":
  22252. description: Internal Server Error
  22253. schema:
  22254. $ref: '#/definitions/app.Response'
  22255. summary: 获取登录ID
  22256. tags:
  22257. - 用户信息
  22258. /User/GetUserAccount:
  22259. get:
  22260. parameters:
  22261. - description: 用户ID
  22262. in: query
  22263. name: userID
  22264. required: true
  22265. type: integer
  22266. produces:
  22267. - application/json
  22268. responses:
  22269. "200":
  22270. description: OK
  22271. schema:
  22272. $ref: '#/definitions/models.Useraccount'
  22273. "500":
  22274. description: Internal Server Error
  22275. schema:
  22276. $ref: '#/definitions/app.Response'
  22277. security:
  22278. - ApiKeyAuth: []
  22279. summary: 获取用户账号信息
  22280. tags:
  22281. - 用户信息
  22282. /User/GetUserAuthStatus:
  22283. get:
  22284. parameters:
  22285. - description: 用户ID
  22286. in: query
  22287. name: userID
  22288. required: true
  22289. type: integer
  22290. produces:
  22291. - application/json
  22292. responses:
  22293. "200":
  22294. description: OK
  22295. schema:
  22296. $ref: '#/definitions/app.Response'
  22297. "500":
  22298. description: Internal Server Error
  22299. schema:
  22300. $ref: '#/definitions/app.Response'
  22301. security:
  22302. - ApiKeyAuth: []
  22303. summary: 获取用户实名认证状态
  22304. tags:
  22305. - 用户信息
  22306. /User/LoginQuery:
  22307. get:
  22308. parameters:
  22309. - description: 登录账号
  22310. in: query
  22311. name: loginID
  22312. required: true
  22313. type: integer
  22314. produces:
  22315. - application/json
  22316. responses:
  22317. "200":
  22318. description: OK
  22319. schema:
  22320. $ref: '#/definitions/user.LoginQueryRsp'
  22321. "500":
  22322. description: Internal Server Error
  22323. schema:
  22324. $ref: '#/definitions/app.Response'
  22325. security:
  22326. - ApiKeyAuth: []
  22327. summary: 账户登录后信息查询
  22328. tags:
  22329. - 用户信息
  22330. /User/QueryMessageBoard:
  22331. get:
  22332. parameters:
  22333. - description: 用户ID
  22334. in: query
  22335. name: userID
  22336. required: true
  22337. type: integer
  22338. produces:
  22339. - application/json
  22340. responses:
  22341. "200":
  22342. description: OK
  22343. schema:
  22344. $ref: '#/definitions/models.Messageboard'
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 获取用户留言板信息
  22352. tags:
  22353. - 用户信息
  22354. /User/QueryUserFavoriteGoodses:
  22355. get:
  22356. parameters:
  22357. - description: 用户ID
  22358. in: query
  22359. name: userID
  22360. required: true
  22361. type: integer
  22362. produces:
  22363. - application/json
  22364. responses:
  22365. "200":
  22366. description: OK
  22367. schema:
  22368. $ref: '#/definitions/models.Userfavoritegoods'
  22369. "500":
  22370. description: Internal Server Error
  22371. schema:
  22372. $ref: '#/definitions/app.Response'
  22373. security:
  22374. - ApiKeyAuth: []
  22375. summary: 获取用户商品收藏信息
  22376. tags:
  22377. - 用户信息
  22378. /User/QueryUserInfo:
  22379. get:
  22380. parameters:
  22381. - description: 用户ID
  22382. in: query
  22383. name: userID
  22384. required: true
  22385. type: integer
  22386. - description: 是否解密
  22387. in: query
  22388. name: isDecrypt
  22389. type: boolean
  22390. produces:
  22391. - application/json
  22392. responses:
  22393. "200":
  22394. description: OK
  22395. schema:
  22396. $ref: '#/definitions/models.Userinfo'
  22397. "500":
  22398. description: Internal Server Error
  22399. schema:
  22400. $ref: '#/definitions/app.Response'
  22401. security:
  22402. - ApiKeyAuth: []
  22403. summary: 获取用户信息
  22404. tags:
  22405. - 用户信息
  22406. /User/QueryUserReferNum:
  22407. get:
  22408. parameters:
  22409. - description: 用户ID
  22410. in: query
  22411. name: userID
  22412. required: true
  22413. type: integer
  22414. produces:
  22415. - application/json
  22416. responses:
  22417. "200":
  22418. description: OK
  22419. schema:
  22420. $ref: '#/definitions/app.Response'
  22421. "500":
  22422. description: Internal Server Error
  22423. schema:
  22424. $ref: '#/definitions/app.Response'
  22425. summary: 获取用户邀请码
  22426. tags:
  22427. - 用户信息
  22428. /User/RemoveUserFavoriteGoods:
  22429. post:
  22430. parameters:
  22431. - description: 用户ID
  22432. in: query
  22433. name: userID
  22434. required: true
  22435. type: integer
  22436. - description: 商品ID
  22437. in: query
  22438. name: goodsID
  22439. required: true
  22440. type: integer
  22441. produces:
  22442. - application/json
  22443. responses:
  22444. "200":
  22445. description: OK
  22446. schema:
  22447. $ref: '#/definitions/app.Response'
  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/UpdateUserAccountStatus:
  22458. post:
  22459. parameters:
  22460. - description: 用户ID
  22461. in: query
  22462. name: userID
  22463. required: true
  22464. type: integer
  22465. - description: 账户状态 - 4:正常 6:注销(停用)
  22466. in: query
  22467. name: accountStatus
  22468. required: true
  22469. type: integer
  22470. produces:
  22471. - application/json
  22472. responses:
  22473. "200":
  22474. description: OK
  22475. schema:
  22476. $ref: '#/definitions/app.Response'
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 更新用户状态
  22484. tags:
  22485. - 用户信息
  22486. /WRTrade/GetAllDeliveryGoods:
  22487. get:
  22488. produces:
  22489. - application/json
  22490. - application/json
  22491. responses:
  22492. "200":
  22493. description: OK
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. "500":
  22497. description: Internal Server Error
  22498. schema:
  22499. $ref: '#/definitions/app.Response'
  22500. security:
  22501. - ApiKeyAuth: []
  22502. - ApiKeyAuth: []
  22503. summary: 获取带仓单分类的种类信息
  22504. tags:
  22505. - 仓单贸易
  22506. - 仓单贸易
  22507. /WrTrade2/QueryOrderQuote:
  22508. get:
  22509. parameters:
  22510. - description: 页码
  22511. in: query
  22512. name: page
  22513. type: integer
  22514. - description: 每页条数
  22515. in: query
  22516. name: pagesize
  22517. type: integer
  22518. - description: 仓单贸易市场id
  22519. in: query
  22520. name: marketid
  22521. type: integer
  22522. - description: 价格方式 - 1:固定价 2-浮动价
  22523. in: query
  22524. name: wrpricetype
  22525. required: true
  22526. type: integer
  22527. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,产能预售填0)
  22528. in: query
  22529. name: haswr
  22530. required: true
  22531. type: integer
  22532. - description: 商品名称(筛选条件)
  22533. in: query
  22534. name: wrstandardname
  22535. type: string
  22536. - description: 品牌名称(筛选条件)
  22537. in: query
  22538. name: brandname
  22539. type: string
  22540. - description: 仓库id(筛选条件)
  22541. in: query
  22542. name: warehouseid
  22543. type: integer
  22544. produces:
  22545. - application/json
  22546. responses:
  22547. "200":
  22548. description: OK
  22549. schema:
  22550. items:
  22551. $ref: '#/definitions/models.WrOrderQuote'
  22552. type: array
  22553. "500":
  22554. description: Internal Server Error
  22555. schema:
  22556. $ref: '#/definitions/app.Response'
  22557. security:
  22558. - ApiKeyAuth: []
  22559. summary: 查询大厅行情列表
  22560. tags:
  22561. - 仓单贸易v2
  22562. /WrTrade2/QueryOrderQuoteDetail:
  22563. get:
  22564. parameters:
  22565. - description: 页码
  22566. in: query
  22567. name: page
  22568. type: integer
  22569. - description: 每页条数
  22570. in: query
  22571. name: pagesize
  22572. type: integer
  22573. - description: 仓单贸易市场id
  22574. in: query
  22575. name: marketid
  22576. type: integer
  22577. - description: 价格方式 - 1:固定价 2-浮动价
  22578. in: query
  22579. name: wrpricetype
  22580. required: true
  22581. type: integer
  22582. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22583. in: query
  22584. name: haswr
  22585. required: true
  22586. type: integer
  22587. - description: 仓单要素id
  22588. in: query
  22589. name: wrfactortypeid
  22590. required: true
  22591. type: integer
  22592. - description: 期货商品id
  22593. in: query
  22594. name: goodsid
  22595. required: true
  22596. type: integer
  22597. - description: 买卖方向 0-买 1-卖
  22598. in: query
  22599. name: buyorsell
  22600. required: true
  22601. type: integer
  22602. produces:
  22603. - application/json
  22604. responses:
  22605. "200":
  22606. description: OK
  22607. schema:
  22608. items:
  22609. $ref: '#/definitions/models.WrOrderQuoteDetail'
  22610. type: array
  22611. "500":
  22612. description: Internal Server Error
  22613. schema:
  22614. $ref: '#/definitions/app.Response'
  22615. security:
  22616. - ApiKeyAuth: []
  22617. summary: 查询买卖大厅
  22618. tags:
  22619. - 仓单贸易v2
  22620. /WrTrade2/QueryWrOrderDetail:
  22621. get:
  22622. description: 页面 现货仓单 | 预售仓单 -> 挂单
  22623. parameters:
  22624. - description: 页码
  22625. in: query
  22626. name: page
  22627. type: integer
  22628. - description: 每页条数
  22629. in: query
  22630. name: pagesize
  22631. type: integer
  22632. - description: 用户id
  22633. in: query
  22634. name: userid
  22635. required: true
  22636. type: integer
  22637. - description: 仓单贸易市场id
  22638. in: query
  22639. name: marketid
  22640. type: integer
  22641. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22642. in: query
  22643. name: haswr
  22644. required: true
  22645. type: integer
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. items:
  22653. $ref: '#/definitions/models.WrOrderDetail'
  22654. type: array
  22655. "500":
  22656. description: Internal Server Error
  22657. schema:
  22658. $ref: '#/definitions/app.Response'
  22659. security:
  22660. - ApiKeyAuth: []
  22661. summary: 查询仓单委托单(挂单)
  22662. tags:
  22663. - 仓单贸易v2
  22664. /WrTrade2/QueryWrPosition:
  22665. get:
  22666. description: 页面 现货仓单->现货汇总/库存汇总/现货明细 ; 预售仓单->订单汇总
  22667. parameters:
  22668. - description: 用户id
  22669. in: query
  22670. name: userid
  22671. required: true
  22672. type: integer
  22673. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总) 3-现货明细
  22674. in: query
  22675. name: querytype
  22676. required: true
  22677. type: integer
  22678. produces:
  22679. - application/json
  22680. responses:
  22681. "200":
  22682. description: OK
  22683. schema:
  22684. items:
  22685. $ref: '#/definitions/models.WrPosition'
  22686. type: array
  22687. "500":
  22688. description: Internal Server Error
  22689. schema:
  22690. $ref: '#/definitions/app.Response'
  22691. security:
  22692. - ApiKeyAuth: []
  22693. summary: 查询现货(预售)仓单持仓
  22694. tags:
  22695. - 仓单贸易v2
  22696. /WrTrade2/QueryWrTradeDetail:
  22697. get:
  22698. parameters:
  22699. - description: 页码
  22700. in: query
  22701. name: page
  22702. type: integer
  22703. - description: 每页条数
  22704. in: query
  22705. name: pagesize
  22706. type: integer
  22707. - description: 用户id
  22708. in: query
  22709. name: userid
  22710. required: true
  22711. type: integer
  22712. - description: 仓单贸易市场id
  22713. in: query
  22714. name: marketid
  22715. type: integer
  22716. - description: 是否有仓单 0-没有 1-有(仓单贸易填1,仓单预售填0)
  22717. in: query
  22718. name: haswr
  22719. required: true
  22720. type: integer
  22721. produces:
  22722. - application/json
  22723. responses:
  22724. "200":
  22725. description: OK
  22726. schema:
  22727. items:
  22728. $ref: '#/definitions/models.WrTradeDetail'
  22729. type: array
  22730. "500":
  22731. description: Internal Server Error
  22732. schema:
  22733. $ref: '#/definitions/app.Response'
  22734. security:
  22735. - ApiKeyAuth: []
  22736. summary: 查询仓单成交明细
  22737. tags:
  22738. - 仓单贸易v2
  22739. securityDefinitions:
  22740. ApiKeyAuth:
  22741. in: header
  22742. name: Authorization
  22743. type: apiKey
  22744. swagger: "2.0"