swagger.yaml 643 KB

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