swagger.yaml 753 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154
  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. common.QueryTableDefineRsp:
  174. properties:
  175. columns:
  176. description: 列头信息数组
  177. items:
  178. $ref: '#/definitions/models.Tablecolumnconfig'
  179. type: array
  180. remark:
  181. description: Remark
  182. type: string
  183. tabelmenu:
  184. description: 列表菜单
  185. type: string
  186. tablekey:
  187. description: 列表Key
  188. type: string
  189. tablename:
  190. description: 列表名称
  191. type: string
  192. tabletype:
  193. description: 列表类型 - 1:管理端 2:终端
  194. type: integer
  195. required:
  196. - tablekey
  197. type: object
  198. common.QueryTraderMenuRsp:
  199. properties:
  200. OperationMenu:
  201. description: 功能菜单
  202. items:
  203. $ref: '#/definitions/models.OperationPrimaryMenu'
  204. type: array
  205. QuoteMenu:
  206. description: 报价牌分类菜单
  207. items:
  208. $ref: '#/definitions/models.QuotePrimaryMenu'
  209. type: array
  210. type: object
  211. cptrade.Cptradepositioncancel:
  212. properties:
  213. accountid:
  214. description: 申请人账户ID
  215. type: integer
  216. applystatus:
  217. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  218. type: integer
  219. applytime:
  220. description: 申请时间
  221. type: string
  222. cancelid:
  223. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  224. type: integer
  225. cancelqty:
  226. description: 注销数量
  227. type: integer
  228. createtime:
  229. description: 创建时间
  230. type: string
  231. creatorid:
  232. description: 创建人ID
  233. type: integer
  234. creatorname:
  235. description: 创建人
  236. type: string
  237. goodscode:
  238. description: 订单商品代码
  239. type: string
  240. goodsid:
  241. description: 商品ID
  242. type: integer
  243. goodsname:
  244. description: 订单商品名称
  245. type: string
  246. goodunit:
  247. description: 报价单位
  248. type: string
  249. handlestatus:
  250. description: 处理状态
  251. type: integer
  252. marketid:
  253. description: 市场ID
  254. type: integer
  255. marketname:
  256. description: 市场名称
  257. type: string
  258. tradedate:
  259. description: 交易日(yyyyMMdd)
  260. type: string
  261. userid:
  262. description: 申请人ID
  263. type: integer
  264. required:
  265. - cancelid
  266. type: object
  267. cptrade.Cptradepresaleapply:
  268. properties:
  269. accountid:
  270. description: 申请人账户ID
  271. type: integer
  272. applyid:
  273. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  274. type: integer
  275. applyremark:
  276. description: 申请备注
  277. type: string
  278. applystatus:
  279. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  280. type: integer
  281. applytime:
  282. description: 申请时间
  283. type: string
  284. attachmenturl:
  285. description: 附件地址
  286. type: string
  287. endtime:
  288. description: 预售结束时间
  289. type: string
  290. goodscode:
  291. description: 商品代码
  292. type: string
  293. goodsid:
  294. description: 商品ID
  295. type: integer
  296. goodsname:
  297. description: 商品名称
  298. type: string
  299. goodunit:
  300. description: 报价单位
  301. type: string
  302. handlestatus:
  303. description: 处理状态
  304. type: integer
  305. marketid:
  306. description: 预售市场ID
  307. type: integer
  308. marketname:
  309. description: 预售市场名称
  310. type: string
  311. presaleqty:
  312. description: 预售数量
  313. type: integer
  314. relatedgoodscode:
  315. description: 关联交易合约代码
  316. type: string
  317. relatedgoodsid:
  318. description: 关联交易合约ID
  319. type: integer
  320. relatedgoodsname:
  321. description: 关联交易合约名称
  322. type: string
  323. starttime:
  324. description: 预售开始时间
  325. type: string
  326. tradedate:
  327. description: 交易日(yyyyMMdd)
  328. type: string
  329. trademode:
  330. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  331. type: integer
  332. userid:
  333. description: 申请人ID
  334. type: integer
  335. required:
  336. - applyid
  337. type: object
  338. cptrade.Cptradeusergoodsdata:
  339. properties:
  340. EnabledQty:
  341. description: 可用量
  342. type: integer
  343. GoodsCode:
  344. description: 订单商品代码
  345. type: string
  346. GoodsName:
  347. description: 订单商品名称
  348. type: string
  349. WRStandardCode:
  350. description: 仓单标准代码
  351. type: string
  352. WRStandardName:
  353. description: 仓单标准名称
  354. type: string
  355. accountid:
  356. description: 账户ID
  357. type: integer
  358. cancelqty:
  359. description: 注销量
  360. type: integer
  361. curpresaleqty:
  362. description: 当前预售量
  363. type: integer
  364. deliveryqty:
  365. description: 交割量
  366. type: integer
  367. freezeamount:
  368. description: 冻结金额
  369. type: number
  370. goodsid:
  371. description: 商品ID
  372. type: integer
  373. goodunit:
  374. description: 报价单位
  375. type: string
  376. hasspotfreeze:
  377. description: 是否有现货冻结 - 0:否 1:有
  378. type: integer
  379. inqty:
  380. description: 转入量(总数量)
  381. type: integer
  382. marketid:
  383. description: 市场ID
  384. type: integer
  385. presaledamount:
  386. description: 已预售总金额
  387. type: integer
  388. presaledqty:
  389. description: 已预售量
  390. type: integer
  391. userid:
  392. description: 用户ID
  393. type: integer
  394. wrstandardid:
  395. description: 仓单标准ID
  396. type: integer
  397. required:
  398. - accountid
  399. - goodsid
  400. type: object
  401. cptrade.QueryCPTradeMyBidRsp:
  402. properties:
  403. accountid:
  404. description: 账户ID[报价币种]
  405. type: integer
  406. goodsid:
  407. description: 商品ID
  408. type: integer
  409. goodunit:
  410. description: 报价单位
  411. type: string
  412. marketid:
  413. description: 市场ID
  414. type: integer
  415. orderid:
  416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  417. type: integer
  418. orderprice:
  419. description: 委托价格
  420. type: number
  421. orderqty:
  422. description: 委托数量
  423. type: integer
  424. ordertime:
  425. description: 委托时间
  426. type: string
  427. ordertotalprice:
  428. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  429. type: number
  430. ordertotalweight:
  431. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  432. type: integer
  433. totaltotalprice:
  434. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  435. type: number
  436. tradeprice:
  437. description: 成交价格
  438. type: number
  439. tradeqty:
  440. description: 成交数量
  441. type: integer
  442. required:
  443. - accountid
  444. - goodsid
  445. - marketid
  446. - orderid
  447. - orderqty
  448. - ordertime
  449. - tradeprice
  450. - tradeqty
  451. type: object
  452. cptrade.QueryCPTradeOrderDetailRsq:
  453. properties:
  454. accountid:
  455. description: 账户ID[报价币种]
  456. type: integer
  457. buildtype:
  458. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  459. type: integer
  460. buyorsell:
  461. description: 买卖 - 0:买 1:卖
  462. type: integer
  463. cancelorderid:
  464. description: 撤单单号(撤单时填写)
  465. type: integer
  466. cancelqty:
  467. description: 撤单数量
  468. type: integer
  469. clientordertime:
  470. description: 客户端委托时间
  471. type: string
  472. clientticket:
  473. description: 客户端流水号
  474. type: string
  475. clienttype:
  476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  477. type: integer
  478. closeexchagechargevalue:
  479. description: 平仓交易所手续费设置值
  480. type: number
  481. closefeealgorithm:
  482. description: 平仓手续费收取方式 1:比率 2:固定
  483. type: integer
  484. closefreezecharge:
  485. description: 平仓冻结手续费(先建后平操作,需要记录)
  486. type: number
  487. closememberchargevalue:
  488. description: 平仓会员手续费设置值
  489. type: number
  490. closeqty:
  491. description: 平仓数量(先建后平操作 需要记录)
  492. type: integer
  493. closetradeqty:
  494. description: 平仓成交数量(先建后平操作,需要记录)
  495. type: integer
  496. closeunfreezecharge:
  497. description: 平仓解冻手续费(先建后平操作,需要记录)
  498. type: number
  499. delistingtype:
  500. description: 摘牌类型 - 1:价格最优 2:点选成交
  501. type: integer
  502. freezecharge:
  503. description: 冻结手续费
  504. type: number
  505. freezemargin:
  506. description: 冻结保证金(冻结交易金额)
  507. type: number
  508. gcaccountid:
  509. description: 账户ID[合约币种]
  510. type: integer
  511. goodsid:
  512. description: 商品ID
  513. type: integer
  514. isconfirmexercise:
  515. description: 是否确认行权- 0:否 1:是
  516. type: integer
  517. ispreexercise:
  518. description: 是否预申报- 0:否 1:是
  519. type: integer
  520. listingselecttype:
  521. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  522. type: integer
  523. marginalgorithm:
  524. description: 保证金收取方式 1:比率 2:固定
  525. type: integer
  526. marginvalue:
  527. description: 即市保证金设置值
  528. type: number
  529. marketid:
  530. description: 市场ID
  531. type: integer
  532. marketmaxsub:
  533. description: 市价最大偏移范围
  534. type: number
  535. memberuserid:
  536. description: 所属会员UserID
  537. type: integer
  538. openexchagechargevalue:
  539. description: 建仓交易所手续费设置值
  540. type: number
  541. openfeealgorithm:
  542. description: 建仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. openfreezecharge:
  545. description: 开仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. openmemberchargevalue:
  548. description: 建仓会员手续费设置值
  549. type: number
  550. openqty:
  551. description: 开仓数量(先建后平操作,需要记录)
  552. type: integer
  553. opentradeqty:
  554. description: 开仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. openunfreezecharge:
  557. description: 开仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. operatetype:
  560. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  561. type: integer
  562. operatorid:
  563. description: 登录账号(LoginID)
  564. type: integer
  565. optiontype:
  566. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  567. type: integer
  568. orderprice:
  569. description: 委托价格
  570. type: number
  571. orderqty:
  572. description: 委托数量
  573. type: integer
  574. ordersrc:
  575. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  576. type: integer
  577. orderstatus:
  578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. enumdicname:
  856. description: 品类单位名称
  857. type: string
  858. goodscode:
  859. description: 商品代码
  860. type: string
  861. goodsid:
  862. description: 交易合约ID
  863. type: integer
  864. goodsname:
  865. description: 商品名称
  866. type: string
  867. marketid:
  868. description: 市场ID
  869. type: integer
  870. mindeliveryqty:
  871. description: 最小交割系数(K)
  872. type: integer
  873. p2deliveryprice:
  874. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  875. type: number
  876. p2deliveryratio:
  877. description: P2合约系数(p)
  878. type: integer
  879. p2goodsid:
  880. description: P2合约ID
  881. type: integer
  882. p2pricemode:
  883. description: P2合约价格方式 - 1:商品价 2:固定值
  884. type: integer
  885. pdeliveryprice:
  886. description: P合约价格(商品价时填写0,固定值时填写固定值)
  887. type: number
  888. pdeliveryratio:
  889. description: P合约系数(n)
  890. type: integer
  891. pgoodscode:
  892. description: p合约代码
  893. type: string
  894. pgoodsid:
  895. description: P合约ID
  896. type: integer
  897. ppricemode:
  898. description: P合约价格方式 - 1:商品价 2:固定值
  899. type: integer
  900. rratio:
  901. description: 兑换系数(R)
  902. type: integer
  903. rratio1:
  904. description: 兑换系数(交易合约)(R1)
  905. type: integer
  906. rratio2:
  907. description: 兑换系数(仓单标准)(R2)
  908. type: integer
  909. selltemplateid:
  910. description: 卖履约计划模板ID
  911. type: integer
  912. wrstandardid:
  913. description: 仓单标准ID
  914. type: integer
  915. xdeliveryratio:
  916. description: 交易合约系数(m)
  917. type: integer
  918. required:
  919. - begindate
  920. - enddate
  921. - goodsid
  922. - mindeliveryqty
  923. - xdeliveryratio
  924. type: object
  925. ermcp.ExposureDetailRsp:
  926. properties:
  927. areauserid:
  928. description: 机构ID
  929. type: integer
  930. changeQty:
  931. description: 套保变动量
  932. type: number
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. convertfactor:
  937. description: 标仓系数
  938. type: number
  939. convertratio:
  940. description: 套保系数
  941. type: number
  942. createtime:
  943. description: 时间
  944. type: string
  945. enumdicname:
  946. description: 现货商品单位名称
  947. type: string
  948. logtype:
  949. description: 类型 - 1:套保计划 2:现货合同
  950. type: integer
  951. middlegoodsId:
  952. description: 套保商品id
  953. type: integer
  954. middlegoodscode:
  955. description: 套保商品代码
  956. type: string
  957. middlegoodsname:
  958. description: 套保商品名称
  959. type: string
  960. qty:
  961. description: 数量
  962. type: number
  963. relateNo:
  964. description: 现货合同/套保计划编号
  965. type: string
  966. wrstandardcode:
  967. description: 现货商品代码
  968. type: string
  969. wrstandardid:
  970. description: 现货商品ID
  971. type: integer
  972. wrstandardname:
  973. description: 现货商品名称
  974. type: string
  975. type: object
  976. ermcp.ExposureHedgePosDetailRsp:
  977. properties:
  978. buyorsell:
  979. description: 买卖方向 0-买 1-卖
  980. type: integer
  981. channelbuildtype:
  982. description: 开平方向 1-建仓 2-平仓
  983. type: integer
  984. goodscode:
  985. description: 商品代码
  986. type: string
  987. goodsname:
  988. description: 商品名称
  989. type: string
  990. hedgegoodsid:
  991. description: 商品id
  992. type: integer
  993. tradeqty:
  994. description: 数量(成交数量)
  995. type: integer
  996. tradetime:
  997. description: 时间(成交时间)
  998. type: string
  999. type: object
  1000. ermcp.ExposureHedgePositionRsp:
  1001. properties:
  1002. accountid:
  1003. description: 资金账号[外部母账户]
  1004. type: integer
  1005. curbuyposition:
  1006. description: 期末买头寸
  1007. type: integer
  1008. cursellposition:
  1009. description: 期末卖头寸
  1010. type: integer
  1011. curtdbuyposition:
  1012. description: 期末今日买头寸
  1013. type: integer
  1014. curtdsellposition:
  1015. description: 期末今日卖头寸
  1016. type: integer
  1017. curydbuyposition:
  1018. description: 期末上日买头寸
  1019. type: integer
  1020. curydsellposition:
  1021. description: 期末上日卖头寸
  1022. type: integer
  1023. decreaseqty:
  1024. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1025. type: integer
  1026. fretdbuyposition:
  1027. description: 冻结今日买头寸
  1028. type: integer
  1029. fretdsellposition:
  1030. description: 冻结今日卖头寸
  1031. type: integer
  1032. freydbuyposition:
  1033. description: 冻结上日买头寸
  1034. type: integer
  1035. freydsellposition:
  1036. description: 冻结上日卖头寸
  1037. type: integer
  1038. goodscode:
  1039. description: 商品代码
  1040. type: string
  1041. goodsid:
  1042. description: 商品id
  1043. type: integer
  1044. goodsname:
  1045. description: 商品名称
  1046. type: string
  1047. hedgeaccountcode:
  1048. description: 对冲账号
  1049. type: string
  1050. hedgegoodsid:
  1051. description: 对冲合约ID
  1052. type: integer
  1053. increaseqty:
  1054. description: 增加数量 = 期末买头寸 - 期初买头寸
  1055. type: integer
  1056. marketid:
  1057. description: 市场ID
  1058. type: integer
  1059. relateduserid:
  1060. description: 关联用户id
  1061. type: integer
  1062. totalcurqty:
  1063. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1064. type: integer
  1065. totalydqty:
  1066. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1067. type: integer
  1068. tradedate:
  1069. description: 交易日(yyyyMMdd)
  1070. type: string
  1071. ydbuyposition:
  1072. description: 期初买头寸
  1073. type: integer
  1074. ydsellposition:
  1075. description: 期初卖头寸
  1076. type: integer
  1077. type: object
  1078. ermcp.ExposureSpotDetailRsp:
  1079. properties:
  1080. contracttype:
  1081. description: 合同类型 1-采购 -1-销售
  1082. type: integer
  1083. createtime:
  1084. description: 创建时间
  1085. type: string
  1086. enumdicname:
  1087. description: 现货商品单位名称
  1088. type: string
  1089. logtype:
  1090. description: 记录类型 1-套保 2-现货合同
  1091. type: integer
  1092. qty:
  1093. description: 数量
  1094. type: number
  1095. recordname:
  1096. description: 类型名称
  1097. type: string
  1098. relatedid:
  1099. description: 套保计划ID/现货合同ID
  1100. type: string
  1101. relatedno:
  1102. description: 编号
  1103. type: string
  1104. strtime:
  1105. description: 时间
  1106. type: string
  1107. wrstandardcode:
  1108. description: 现货商品代码
  1109. type: string
  1110. wrstandardname:
  1111. description: 现货商品名称
  1112. type: string
  1113. type: object
  1114. ermcp.ExposureSpotRsp:
  1115. properties:
  1116. areauserid:
  1117. description: 所属机构
  1118. type: integer
  1119. decreaseqty:
  1120. description: 减少数量=-(销售已定价数量+采购计划数量)
  1121. type: number
  1122. increaseqty:
  1123. description: 增加数量=销售计划数量+采购已定价数量
  1124. type: number
  1125. oritoalspotqty:
  1126. description: 昨日数量
  1127. type: number
  1128. totalspotqty:
  1129. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1130. type: number
  1131. updatetime:
  1132. description: 更新时间
  1133. type: string
  1134. wrstandardcode:
  1135. description: 现货品种代码
  1136. type: string
  1137. wrstandardid:
  1138. description: 现货商品ID
  1139. type: integer
  1140. wrstandardname:
  1141. description: 现货品种
  1142. type: string
  1143. type: object
  1144. ermcp.HisExposureRsp:
  1145. properties:
  1146. data:
  1147. description: 历史敞口
  1148. items:
  1149. $ref: '#/definitions/models.ErmcpHisExposure'
  1150. type: array
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. middlegoodscode:
  1155. description: 套保品种代码
  1156. type: string
  1157. middlegoodsid:
  1158. description: 套保品种ID
  1159. type: integer
  1160. middlegoodsname:
  1161. description: 套保品种名称
  1162. type: string
  1163. type: object
  1164. ermcp.PendingAuditCntRsp:
  1165. properties:
  1166. areastockqty:
  1167. description: '待审核数量: 库存申请'
  1168. type: integer
  1169. businessdjqty:
  1170. description: '待审核数量: 点价'
  1171. type: integer
  1172. businessfpqty:
  1173. description: '待审核数量: 发票'
  1174. type: integer
  1175. businessjsqty:
  1176. description: '待审核数量: 结算'
  1177. type: integer
  1178. businesskxqty:
  1179. description: '待审核数量: 款项'
  1180. type: integer
  1181. hedgeplanqty:
  1182. description: '待审核数量: 套保计划'
  1183. type: integer
  1184. spotcontractqty:
  1185. description: '待审核数量: 现货合同'
  1186. type: integer
  1187. userqty:
  1188. description: '待审核数量: 用户'
  1189. type: integer
  1190. type: object
  1191. ermcp.QryAvalidGPRsp:
  1192. properties:
  1193. goodsgroupid:
  1194. description: 期货品种id
  1195. type: integer
  1196. goodsgroupname:
  1197. description: 期货品种名称
  1198. type: string
  1199. goodunitid:
  1200. description: 品种单位id
  1201. type: integer
  1202. goodunitname:
  1203. description: 品种单位名称
  1204. type: string
  1205. outergroupcode:
  1206. description: 期货品种代码
  1207. type: string
  1208. type: object
  1209. ermcp.QryBusinessDjRsp:
  1210. properties:
  1211. amount:
  1212. description: 点价金额=(点价价格+升贴水)*点价数量
  1213. type: number
  1214. applyid:
  1215. description: 申请人
  1216. type: string
  1217. applyname:
  1218. description: 申请人名称
  1219. type: string
  1220. applystatus:
  1221. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1222. type: integer
  1223. applytime:
  1224. description: 申请时间
  1225. type: string
  1226. attachurl:
  1227. description: 附件
  1228. type: string
  1229. auditid:
  1230. description: 审核人ID
  1231. type: string
  1232. auditname:
  1233. description: 审核人名称
  1234. type: string
  1235. audittime:
  1236. description: 审核时间
  1237. type: string
  1238. buyusername:
  1239. description: 采购方名称
  1240. type: string
  1241. contractno:
  1242. description: 合同编号
  1243. type: string
  1244. contractstatus:
  1245. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1246. type: integer
  1247. contracttype:
  1248. description: 现货合同类型 - 1:采购 -1:销售
  1249. type: integer
  1250. deliverygoodscode:
  1251. description: 现货品种代码
  1252. type: string
  1253. deliverygoodsid:
  1254. description: 现货商品ID
  1255. type: integer
  1256. deliverygoodsname:
  1257. description: 现货品种名称
  1258. type: string
  1259. enumdicname:
  1260. description: 单位名称
  1261. type: string
  1262. goodscode:
  1263. description: 点价合约
  1264. type: string
  1265. goodsname:
  1266. description: 商品名称
  1267. type: string
  1268. operateapplyid:
  1269. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1270. type: string
  1271. operateapplytype:
  1272. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1273. type: integer
  1274. pricedPrice:
  1275. description: 点价价格(非必填)
  1276. type: number
  1277. pricedQty:
  1278. description: 点价数量(非必填)
  1279. type: number
  1280. pricemove:
  1281. description: 升贴水
  1282. type: number
  1283. pricetype:
  1284. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1285. type: integer
  1286. relatedid:
  1287. description: 现货合同ID
  1288. type: string
  1289. sellusername:
  1290. description: 销售方名字
  1291. type: string
  1292. userid:
  1293. description: 用户ID
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 品类代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 品类id
  1300. type: integer
  1301. wrstandardname:
  1302. description: 品类名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryBussinessFpRsp:
  1306. properties:
  1307. applyid:
  1308. description: 申请人
  1309. type: string
  1310. applyname:
  1311. description: 申请人名称
  1312. type: string
  1313. applystatus:
  1314. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1315. type: integer
  1316. applytime:
  1317. description: 申请时间
  1318. type: string
  1319. attachurl:
  1320. description: 附件
  1321. type: string
  1322. auditid:
  1323. description: 审核人ID
  1324. type: string
  1325. auditname:
  1326. description: 审核人名称
  1327. type: string
  1328. audittime:
  1329. description: 审核时间
  1330. type: string
  1331. buyusername:
  1332. description: 采购方名称
  1333. type: string
  1334. contractno:
  1335. description: 合同编号
  1336. type: string
  1337. contractstatus:
  1338. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1339. type: integer
  1340. contracttype:
  1341. description: 现货合同类型 - 1:采购 -1:销售
  1342. type: integer
  1343. deliverygoodscode:
  1344. description: 现货品种代码
  1345. type: string
  1346. deliverygoodsid:
  1347. description: 现货商品ID
  1348. type: integer
  1349. deliverygoodsname:
  1350. description: 现货品种名称
  1351. type: string
  1352. enumdicname:
  1353. description: 单位名称
  1354. type: string
  1355. goodscode:
  1356. description: 点价合约
  1357. type: string
  1358. goodsname:
  1359. description: 商品名称
  1360. type: string
  1361. invoiceAmount:
  1362. description: 已开收票金额(销售为开票,采购为收票)
  1363. type: number
  1364. operateapplyid:
  1365. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. operateapplytype:
  1368. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1369. type: integer
  1370. pricemove:
  1371. description: 升贴水
  1372. type: number
  1373. pricetype:
  1374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1375. type: integer
  1376. relatedid:
  1377. description: 现货合同ID
  1378. type: string
  1379. sellusername:
  1380. description: 销售方名字
  1381. type: string
  1382. userid:
  1383. description: 用户ID
  1384. type: integer
  1385. wrstandardcode:
  1386. description: 品类代码
  1387. type: string
  1388. wrstandardid:
  1389. description: 品类id
  1390. type: integer
  1391. wrstandardname:
  1392. description: 品类名称
  1393. type: string
  1394. type: object
  1395. ermcp.QryBussinessJsExRsp:
  1396. properties:
  1397. applyid:
  1398. description: 申请人
  1399. type: string
  1400. applyname:
  1401. description: 申请人名称
  1402. type: string
  1403. applystatus:
  1404. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1405. type: integer
  1406. applytime:
  1407. description: 申请时间
  1408. type: string
  1409. attachurl:
  1410. description: 附件
  1411. type: string
  1412. auditid:
  1413. description: 审核人ID
  1414. type: string
  1415. auditname:
  1416. description: 审核人名称
  1417. type: string
  1418. audittime:
  1419. description: 审核时间
  1420. type: string
  1421. buyusername:
  1422. description: 采购方名称
  1423. type: string
  1424. contractno:
  1425. description: 合同编号
  1426. type: string
  1427. contractstatus:
  1428. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1429. type: integer
  1430. contracttype:
  1431. description: 现货合同类型 - 1:采购 -1:销售
  1432. type: integer
  1433. deliverygoodscode:
  1434. description: 现货品种代码
  1435. type: string
  1436. deliverygoodsid:
  1437. description: 现货商品ID
  1438. type: integer
  1439. deliverygoodsname:
  1440. description: 现货品种名称
  1441. type: string
  1442. enumdicname:
  1443. description: 单位名称
  1444. type: string
  1445. goodscode:
  1446. description: 点价合约
  1447. type: string
  1448. goodsname:
  1449. description: 商品名称
  1450. type: string
  1451. operateapplyid:
  1452. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1453. type: string
  1454. operateapplytype:
  1455. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1456. type: integer
  1457. pricemove:
  1458. description: 升贴水
  1459. type: number
  1460. pricetype:
  1461. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1462. type: integer
  1463. reckontype:
  1464. description: 结算类型
  1465. type: string
  1466. reckonvalue:
  1467. description: 值
  1468. type: number
  1469. relatedid:
  1470. description: 现货合同ID
  1471. type: string
  1472. sellusername:
  1473. description: 销售方名字
  1474. type: string
  1475. userid:
  1476. description: 用户ID
  1477. type: integer
  1478. wrstandardcode:
  1479. description: 品类代码
  1480. type: string
  1481. wrstandardid:
  1482. description: 品类id
  1483. type: integer
  1484. wrstandardname:
  1485. description: 品类名称
  1486. type: string
  1487. type: object
  1488. ermcp.QryBussinessJsRsp:
  1489. properties:
  1490. addmargin:
  1491. description: 追加保证金(非必填)
  1492. type: number
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. decmargin:
  1530. description: 减少保证金(非必填)
  1531. type: number
  1532. deliverygoodscode:
  1533. description: 现货品种代码
  1534. type: string
  1535. deliverygoodsid:
  1536. description: 现货商品ID
  1537. type: integer
  1538. deliverygoodsname:
  1539. description: 现货品种名称
  1540. type: string
  1541. enumdicname:
  1542. description: 单位名称
  1543. type: string
  1544. goodscode:
  1545. description: 点价合约
  1546. type: string
  1547. goodsname:
  1548. description: 商品名称
  1549. type: string
  1550. operateapplyid:
  1551. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1552. type: string
  1553. operateapplytype:
  1554. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1555. type: integer
  1556. pricemove:
  1557. description: 升贴水
  1558. type: number
  1559. pricetype:
  1560. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1561. type: integer
  1562. reckonadjustamount:
  1563. description: 结算调整金额(非必填)
  1564. type: number
  1565. reckonosamount:
  1566. description: 结算溢短金额(非必填)
  1567. type: number
  1568. reckonotheramount:
  1569. description: 结算其他费用(非必填)
  1570. type: number
  1571. reckonrealqty:
  1572. description: 结算实际数量(非必填)
  1573. type: number
  1574. relatedid:
  1575. description: 现货合同ID
  1576. type: string
  1577. sellusername:
  1578. description: 销售方名字
  1579. type: string
  1580. userid:
  1581. description: 用户ID
  1582. type: integer
  1583. wrstandardcode:
  1584. description: 品类代码
  1585. type: string
  1586. wrstandardid:
  1587. description: 品类id
  1588. type: integer
  1589. wrstandardname:
  1590. description: 品类名称
  1591. type: string
  1592. type: object
  1593. ermcp.QryBussinessKxRsp:
  1594. properties:
  1595. applyid:
  1596. description: 申请人
  1597. type: string
  1598. applyname:
  1599. description: 申请人名称
  1600. type: string
  1601. applystatus:
  1602. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1603. type: integer
  1604. applytime:
  1605. description: 申请时间
  1606. type: string
  1607. attachurl:
  1608. description: 附件
  1609. type: string
  1610. auditid:
  1611. description: 审核人ID
  1612. type: string
  1613. auditname:
  1614. description: 审核人名称
  1615. type: string
  1616. audittime:
  1617. description: 审核时间
  1618. type: string
  1619. buyusername:
  1620. description: 采购方名称
  1621. type: string
  1622. contractno:
  1623. description: 合同编号
  1624. type: string
  1625. contractstatus:
  1626. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1627. type: integer
  1628. contracttype:
  1629. description: 现货合同类型 - 1:采购 -1:销售
  1630. type: integer
  1631. deductamount:
  1632. description: 退款(非必填)
  1633. type: number
  1634. deliverygoodscode:
  1635. description: 现货品种代码
  1636. type: string
  1637. deliverygoodsid:
  1638. description: 现货商品ID
  1639. type: integer
  1640. deliverygoodsname:
  1641. description: 现货品种名称
  1642. type: string
  1643. enumdicname:
  1644. description: 单位名称
  1645. type: string
  1646. goodscode:
  1647. description: 点价合约
  1648. type: string
  1649. goodsname:
  1650. description: 商品名称
  1651. type: string
  1652. kxtype:
  1653. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1654. type: integer
  1655. operateapplyid:
  1656. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1657. type: string
  1658. operateapplytype:
  1659. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1660. type: integer
  1661. payamount:
  1662. description: 收付款(非必填)
  1663. type: number
  1664. pricemove:
  1665. description: 升贴水
  1666. type: number
  1667. pricetype:
  1668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1669. type: integer
  1670. relatedid:
  1671. description: 现货合同ID
  1672. type: string
  1673. sellusername:
  1674. description: 销售方名字
  1675. type: string
  1676. userid:
  1677. description: 用户ID
  1678. type: integer
  1679. wrstandardcode:
  1680. description: 品类代码
  1681. type: string
  1682. wrstandardid:
  1683. description: 品类id
  1684. type: integer
  1685. wrstandardname:
  1686. description: 品类名称
  1687. type: string
  1688. type: object
  1689. ermcp.QryGGCovertCfgRsp:
  1690. properties:
  1691. convertratio:
  1692. description: 折算系数
  1693. type: number
  1694. destgoodsgroupid:
  1695. description: 目标品种ID
  1696. type: integer
  1697. dstcode:
  1698. description: 目录品种代码
  1699. type: string
  1700. dstexchangecode:
  1701. description: 目标期货交易所
  1702. type: string
  1703. dstname:
  1704. description: 目标品种名称
  1705. type: string
  1706. dstunitid:
  1707. description: 目标品种单位ID
  1708. type: integer
  1709. dstunitidname:
  1710. description: 目标品种单位名称
  1711. type: string
  1712. modifytime:
  1713. description: 修改时间
  1714. type: string
  1715. srccode:
  1716. description: 源品种代码
  1717. type: string
  1718. srcexchangecode:
  1719. description: 源期货交易所
  1720. type: string
  1721. srcgoodsgroupid:
  1722. description: 源品种ID
  1723. type: integer
  1724. srcname:
  1725. description: 源品种名称
  1726. type: string
  1727. srcunitid:
  1728. description: 源品种单位ID
  1729. type: integer
  1730. srcunitidname:
  1731. description: 源品种单位名称
  1732. type: string
  1733. type: object
  1734. ermcp.QryMGChangeLogRsp:
  1735. properties:
  1736. aftervalue:
  1737. description: 变更后
  1738. type: number
  1739. applyid:
  1740. description: 操作人
  1741. type: integer
  1742. applyname:
  1743. description: 操作人名称
  1744. type: string
  1745. applysrc:
  1746. description: 操作来源 - 1:管理端 2:终端
  1747. type: integer
  1748. beforevalue:
  1749. description: 变更前
  1750. type: number
  1751. changelogtype:
  1752. description: 变更流水类型 - 1:套保比率变更
  1753. type: integer
  1754. handlestatus:
  1755. description: 处理状态
  1756. type: integer
  1757. logdatetime:
  1758. description: 流水日期
  1759. type: string
  1760. logid:
  1761. description: 流水ID
  1762. type: integer
  1763. logremark:
  1764. description: 流水备注
  1765. type: string
  1766. middlegoodsid:
  1767. description: 套保品种ID
  1768. type: integer
  1769. tradedate:
  1770. description: 交易日(yyyyMMdd)
  1771. type: string
  1772. updatetime:
  1773. description: 更新时间
  1774. type: string
  1775. type: object
  1776. ermcp.QryMiddleGoodsDetailRsp:
  1777. properties:
  1778. cvList:
  1779. description: 期货品种折算列表
  1780. items:
  1781. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1782. type: array
  1783. mg:
  1784. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1785. description: 套保品种基本信息
  1786. wrcList:
  1787. description: 现货品种列表(现货商品折算配置)
  1788. items:
  1789. $ref: '#/definitions/models.WRSConverTDetail'
  1790. type: array
  1791. type: object
  1792. ermcp.QryMiddleGoodsRsp:
  1793. properties:
  1794. areauserid:
  1795. description: 机构用户ID
  1796. type: integer
  1797. createtime:
  1798. description: 修改时间
  1799. type: string
  1800. enumdicname:
  1801. description: 单位名称
  1802. type: string
  1803. evaluateratio:
  1804. description: 估价系数
  1805. type: number
  1806. goodsgroupid:
  1807. description: 关联期货品种ID
  1808. type: integer
  1809. goodsunitid:
  1810. description: 单位ID
  1811. type: integer
  1812. isvalid:
  1813. description: 状态 0-无效(停用) 1-有效(正常)
  1814. type: integer
  1815. middlegoodscode:
  1816. description: 套保品种代码
  1817. type: string
  1818. middlegoodsid:
  1819. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1820. type: integer
  1821. middlegoodsname:
  1822. description: 套保品种名称
  1823. type: string
  1824. modifytime:
  1825. description: 修改时间
  1826. type: string
  1827. needarbitrageratio:
  1828. description: 套利比例
  1829. type: number
  1830. needhedgeratio:
  1831. description: 套保比率
  1832. type: number
  1833. qtydecimalplace:
  1834. description: 数量小数位
  1835. type: integer
  1836. relatedgoodsid:
  1837. description: 关联交易商品ID
  1838. type: integer
  1839. relatedgoodstype:
  1840. description: 关联商品类型 - 1:期货合约 2:现货品种
  1841. type: integer
  1842. remark:
  1843. description: 备注
  1844. type: string
  1845. type: object
  1846. ermcp.QryOPLogRsp:
  1847. properties:
  1848. aftervalue:
  1849. description: 变更后
  1850. type: number
  1851. applyid:
  1852. description: 操作人ID
  1853. type: string
  1854. applyname:
  1855. description: 操作人名称
  1856. type: string
  1857. beforevalue:
  1858. description: 变更前
  1859. type: number
  1860. biztype:
  1861. description: 业务类型 - 1:套保计划 2:现货合同
  1862. type: integer
  1863. contracttype:
  1864. description: 现货合同类型 - 1:采购 -1:销售
  1865. type: integer
  1866. logvalue:
  1867. description: 数值
  1868. type: number
  1869. operatelogtype:
  1870. description: 操作流水类型
  1871. type: integer
  1872. operatelogtypedesc:
  1873. description: 操作流水类型名称
  1874. type: string
  1875. relatedid:
  1876. description: 现货合同ID\套保计划
  1877. type: string
  1878. updatetime:
  1879. description: 更新时间
  1880. type: string
  1881. type: object
  1882. ermcp.QryUserInfoRsp:
  1883. properties:
  1884. address:
  1885. description: 通讯地址
  1886. type: string
  1887. attachment1:
  1888. description: 附件1
  1889. type: string
  1890. audittime:
  1891. description: 审核时间
  1892. type: string
  1893. cardbackphotourl:
  1894. description: 证件反面图片地址
  1895. type: string
  1896. cardfrontphotourl:
  1897. description: 证件正面图片地址
  1898. type: string
  1899. cardnum:
  1900. description: 证件号码
  1901. type: string
  1902. cardtype:
  1903. description: 证件类型
  1904. type: integer
  1905. cardtypename:
  1906. description: 证件类型名称
  1907. type: string
  1908. cityid:
  1909. description: 市
  1910. type: integer
  1911. contactname:
  1912. description: 联系人
  1913. type: string
  1914. countryid:
  1915. description: 国家
  1916. type: integer
  1917. createtime:
  1918. description: 创建时间
  1919. type: string
  1920. customername:
  1921. description: 企业名称
  1922. type: string
  1923. districtid:
  1924. description: 区域
  1925. type: integer
  1926. email:
  1927. description: 邮件
  1928. type: string
  1929. legalpersonname:
  1930. description: 法人姓名(企业)
  1931. type: string
  1932. memberuserid:
  1933. description: 所属机构ID
  1934. type: integer
  1935. mobile:
  1936. description: 手机号码
  1937. type: string
  1938. modifytime:
  1939. description: 修改时间
  1940. type: string
  1941. nickname:
  1942. description: 昵称
  1943. type: string
  1944. provinceid:
  1945. description: 省
  1946. type: integer
  1947. remark:
  1948. description: 备注
  1949. type: string
  1950. status:
  1951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1952. type: integer
  1953. statusdesc:
  1954. description: 账户状态中文描述
  1955. type: string
  1956. taxpayernum:
  1957. description: 纳税人识别号
  1958. type: string
  1959. telphone:
  1960. description: 联系电话
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. userinfotype:
  1966. description: 客户类型
  1967. type: string
  1968. type: object
  1969. ermcp.QryWarehouseRsp:
  1970. properties:
  1971. address:
  1972. description: 详细地址
  1973. type: string
  1974. areauserid:
  1975. description: 所属机构
  1976. type: integer
  1977. autoid:
  1978. description: 自增ID(仓库ID)
  1979. type: integer
  1980. cityid:
  1981. description: 市
  1982. type: integer
  1983. contactname:
  1984. description: 联系人
  1985. type: string
  1986. contactnum:
  1987. description: 联系电话
  1988. type: string
  1989. countryid:
  1990. description: 国家
  1991. type: integer
  1992. createtime:
  1993. description: 创建时间
  1994. type: string
  1995. districtid:
  1996. description: 区
  1997. type: integer
  1998. hasvideo:
  1999. description: 是否有视频 - 0:无 1:有
  2000. type: integer
  2001. provinceid:
  2002. description: 省
  2003. type: integer
  2004. remark:
  2005. description: 审核备注
  2006. type: string
  2007. videourl:
  2008. description: 视频地址
  2009. type: string
  2010. warehousecode:
  2011. description: 仓库代码
  2012. type: string
  2013. warehousename:
  2014. description: 仓库名称
  2015. type: string
  2016. warehousestatus:
  2017. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2018. type: integer
  2019. warehousetype:
  2020. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2021. type: integer
  2022. type: object
  2023. ermcp.QueryErmcpTradePositionRsp:
  2024. properties:
  2025. agreeunit:
  2026. description: 合约单位
  2027. type: number
  2028. buyorsell:
  2029. description: 方向 - 0:买 1:卖
  2030. type: integer
  2031. curpositionqty:
  2032. description: 持仓(总仓数量, 期末头寸)
  2033. type: integer
  2034. curtdposition:
  2035. description: 今仓数量(期末今日头寸)
  2036. type: integer
  2037. curtdpositionenabled:
  2038. description: 今仓可用
  2039. type: integer
  2040. decimalplace:
  2041. description: 报价小数位
  2042. type: integer
  2043. enableqty:
  2044. description: 可用(总仓可用)
  2045. type: integer
  2046. exexchangename:
  2047. description: 外部交易所名称
  2048. type: string
  2049. goodscode:
  2050. description: 商品代码(内部)
  2051. type: string
  2052. goodsid:
  2053. description: 商品ID(自增ID SEQ_GOODS)
  2054. type: integer
  2055. goodsname:
  2056. description: 商品名称
  2057. type: string
  2058. last:
  2059. description: 现价
  2060. type: number
  2061. marketid:
  2062. description: 所属市场ID
  2063. type: integer
  2064. openaverageprice:
  2065. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2066. type: number
  2067. opencost:
  2068. description: 开仓成本
  2069. type: number
  2070. openpl:
  2071. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2072. type: number
  2073. outgoodscode:
  2074. description: 商品代码(外部)
  2075. type: string
  2076. positionaverageprice:
  2077. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2078. type: number
  2079. positioncost:
  2080. description: 持仓成本
  2081. type: number
  2082. positionpl:
  2083. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2084. type: number
  2085. positionplrate:
  2086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2087. type: number
  2088. usedmargin:
  2089. description: 占用保证金
  2090. type: number
  2091. type: object
  2092. ermcp.RealtimeExposurePositionRsp:
  2093. properties:
  2094. agreeunit:
  2095. description: 合约单位
  2096. type: string
  2097. areauserid:
  2098. description: 所属机构id
  2099. type: integer
  2100. convertratio:
  2101. description: 期货品种系数(折算系数)
  2102. type: number
  2103. curqty:
  2104. description: 当前持仓
  2105. type: integer
  2106. diffhedgeqty:
  2107. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2108. type: number
  2109. diffqty:
  2110. description: 持仓变动量=当前持仓-昨日持仓
  2111. type: integer
  2112. goodscode:
  2113. description: 商品代码
  2114. type: string
  2115. goodsid:
  2116. description: 商品id
  2117. type: integer
  2118. goodsname:
  2119. description: 商品名称
  2120. type: string
  2121. middlegoodsid:
  2122. description: 套保商品id
  2123. type: integer
  2124. ydqty:
  2125. description: 昨日持仓
  2126. type: integer
  2127. type: object
  2128. ermcp.RealtimeExposureRsp:
  2129. properties:
  2130. AreaUserID:
  2131. description: 所属机构
  2132. type: integer
  2133. BuyFutureQty:
  2134. description: 买入期货数量
  2135. type: number
  2136. BuyPlanQty:
  2137. description: 采购计划数量
  2138. type: number
  2139. BuyPricedQty:
  2140. description: 采购合同已定价数量
  2141. type: number
  2142. MiddleGoodsCode:
  2143. description: 套保品种代码
  2144. type: string
  2145. MiddleGoodsHedgeRatio:
  2146. description: 套保比例
  2147. type: number
  2148. MiddleGoodsID:
  2149. description: 套保品种
  2150. type: integer
  2151. MiddleGoodsName:
  2152. description: 套保品种名称
  2153. type: string
  2154. NeedHedgeExposoure:
  2155. description: 应套保敞口(套保敞口)
  2156. type: number
  2157. NeedHedgeRatio:
  2158. description: 应套保敞口比例
  2159. type: number
  2160. OriBuyFutureQty:
  2161. description: 期初买入期货数量
  2162. type: number
  2163. OriBuyPlanQty:
  2164. description: 期初采购计划数量
  2165. type: number
  2166. OriBuyPricedQty:
  2167. description: 期初采购合同已定价数量
  2168. type: number
  2169. OriSellFutureQty:
  2170. description: 期初卖出期货数量
  2171. type: number
  2172. OriSellPlanQty:
  2173. description: 期初销售计划数量
  2174. type: number
  2175. OriSellPricedQty:
  2176. description: 期初销售合同已定价数量
  2177. type: number
  2178. SellFutureQty:
  2179. description: 卖出期货数量
  2180. type: number
  2181. SellPlanQty:
  2182. description: 销售计划数量
  2183. type: number
  2184. SellPricedQty:
  2185. description: 销售合同已定价数量
  2186. type: number
  2187. TotalExposure:
  2188. description: 总敞口 平安:净敞口
  2189. type: number
  2190. TotalFutureQty:
  2191. description: 期货总量 平安:保值净持仓量
  2192. type: number
  2193. TotalHedgeRatio:
  2194. description: 敞口比例
  2195. type: number
  2196. TotalNeedHedgeQty:
  2197. description: 应套保总量(现货应套保总量)
  2198. type: number
  2199. TotalSpotQty:
  2200. description: 现货总量 平安:采销定价净值
  2201. type: number
  2202. arbitrageqty:
  2203. description: 套利量
  2204. type: number
  2205. diffArbitrageQty:
  2206. description: 套利变动量
  2207. type: number
  2208. diffExposoureQty:
  2209. description: 变动量(套保敞口)
  2210. type: number
  2211. diffFutuQty:
  2212. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2213. type: number
  2214. diffHedgeQty:
  2215. description: 套保变动量
  2216. type: number
  2217. diffQty:
  2218. description: 变动量(总敞口) 平安:净敞口今日变动
  2219. type: number
  2220. diffSpotHedgeQty:
  2221. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2222. type: number
  2223. diffSpotQty:
  2224. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2225. type: number
  2226. enumdicname:
  2227. description: 单位名称
  2228. type: string
  2229. hedgeqty:
  2230. description: 套保量
  2231. type: number
  2232. needarbitrageqty:
  2233. description: 应套利量
  2234. type: number
  2235. needarbitrageratio:
  2236. description: 套利比例
  2237. type: number
  2238. needhedgeqty:
  2239. description: 应套保量
  2240. type: number
  2241. oriTotalFutuQty:
  2242. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2243. type: number
  2244. oriTotalSpotQty:
  2245. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2246. type: number
  2247. oriarbitrageqty:
  2248. description: 期初套利量
  2249. type: number
  2250. orihedgeqty:
  2251. description: 期初套保量
  2252. type: number
  2253. orineedhedgeexposoure:
  2254. description: 期初套保敞口
  2255. type: number
  2256. oritotalexposure:
  2257. description: 期初总敞口
  2258. type: number
  2259. oritotalfutureqty:
  2260. description: 期初期货总量
  2261. type: number
  2262. oritotalneedhedgeqty:
  2263. description: 期初现货应套保量
  2264. type: number
  2265. type: object
  2266. erms2.QueryArbitrageStrategyRsp:
  2267. properties:
  2268. applybasis:
  2269. description: 申请基差
  2270. type: number
  2271. asapplyid:
  2272. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2273. type: string
  2274. asname:
  2275. description: 策略名称
  2276. type: string
  2277. asno:
  2278. description: 策略编号
  2279. type: string
  2280. basischangepl:
  2281. description: 基差变动损益[结算更新]
  2282. type: number
  2283. biztype:
  2284. description: 业务类型 - 1:正向套利 -1:反向套利
  2285. type: integer
  2286. closetradedate:
  2287. description: 完结交易日(yyyyMMdd)
  2288. type: string
  2289. curbasis:
  2290. description: 当前基差[结算更新]
  2291. type: number
  2292. deliverygoodsid:
  2293. description: 现货品种ID
  2294. type: integer
  2295. futureavgprice:
  2296. description: 期货建仓均价
  2297. type: number
  2298. futurecloseamount:
  2299. description: 期货平仓金额
  2300. type: number
  2301. futurecloseqty:
  2302. description: 期货平仓数量
  2303. type: number
  2304. futureopenamount:
  2305. description: 期货开仓金额
  2306. type: number
  2307. futureopenqty:
  2308. description: 期货开仓数量
  2309. type: number
  2310. futurepl:
  2311. description: 期货总盈亏[结算更新]
  2312. type: number
  2313. futureqty:
  2314. description: 期货持仓数量
  2315. type: number
  2316. futurequote:
  2317. description: 期货额度
  2318. type: number
  2319. goodsgroupid:
  2320. description: 期货品种ID
  2321. type: integer
  2322. marketid:
  2323. description: 市场ID
  2324. type: integer
  2325. netexposure:
  2326. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2327. type: number
  2328. netexposurepl:
  2329. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2330. type: number
  2331. netexposurerate:
  2332. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2333. type: number
  2334. openbasis:
  2335. description: 建仓基差
  2336. type: number
  2337. pricedspotqty:
  2338. description: 已定价现货数量
  2339. type: number
  2340. pricedspotqtynotax:
  2341. description: 已定价现货不含税数量
  2342. type: number
  2343. remark:
  2344. description: 备注
  2345. type: string
  2346. spotavgprice:
  2347. description: 现货均价
  2348. type: number
  2349. spotbuyamount:
  2350. description: 现货采购金额
  2351. type: number
  2352. spotbuyqty:
  2353. description: 现货采购数量
  2354. type: number
  2355. spotpl:
  2356. description: 现货总盈亏[结算更新]
  2357. type: number
  2358. spotquota:
  2359. description: 现货额度
  2360. type: number
  2361. spotsellamount:
  2362. description: 现货销售金额
  2363. type: number
  2364. spotsellqty:
  2365. description: 现货销售数量
  2366. type: number
  2367. spotusedquota:
  2368. description: 现货占用资金
  2369. type: number
  2370. strategystatus:
  2371. description: 策略状态 - 0:未结束 1:已结束
  2372. type: integer
  2373. totalpl:
  2374. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2375. type: number
  2376. tradedate:
  2377. description: 交易日(yyyyMMdd)
  2378. type: string
  2379. updatetime:
  2380. description: 更新时间
  2381. type: string
  2382. usedquota:
  2383. description: 已占用资金
  2384. type: number
  2385. userid:
  2386. description: 所属机构
  2387. type: integer
  2388. required:
  2389. - asapplyid
  2390. type: object
  2391. erms2.QueryInnerTradeDetailRsp:
  2392. properties:
  2393. accountid:
  2394. description: 账号ID
  2395. type: integer
  2396. agreeunit:
  2397. description: 合约单位
  2398. type: number
  2399. asapplyid:
  2400. description: 策略申请ID
  2401. type: integer
  2402. asname:
  2403. description: 策略名称
  2404. type: string
  2405. asno:
  2406. description: 策略编号
  2407. type: string
  2408. buyorsell:
  2409. description: 方向 - 0:买 1:卖
  2410. type: integer
  2411. channelbuildtype:
  2412. description: 委托单据类型 0:无 1:建仓 2:平仓
  2413. type: integer
  2414. closetype:
  2415. description: 平仓方式 - 0:无 1:平今 2:平昨
  2416. type: integer
  2417. decimalplace:
  2418. description: 报价小数位
  2419. type: integer
  2420. detailtype:
  2421. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2422. type: integer
  2423. exexchangecode:
  2424. description: 外部交易所代码
  2425. type: string
  2426. exexchangename:
  2427. description: 外部交易所名称
  2428. type: string
  2429. goodscode:
  2430. description: 商品代码(合约)
  2431. type: string
  2432. goodsgroupid:
  2433. description: 商品组ID(品种ID)
  2434. type: integer
  2435. goodsgroupname:
  2436. description: 商品组名称(品种)
  2437. type: string
  2438. goodsid:
  2439. description: 商品ID
  2440. type: integer
  2441. goodsname:
  2442. description: 商品名称(合约)
  2443. type: string
  2444. goodunit:
  2445. description: 报价单位
  2446. type: string
  2447. marketid:
  2448. description: 市场ID
  2449. type: integer
  2450. orderid:
  2451. description: 委托单号
  2452. type: string
  2453. outgoodscode:
  2454. description: 商品代码(外部)
  2455. type: string
  2456. relatedouttradeid:
  2457. description: 关联外部成交单ID
  2458. type: string
  2459. remark:
  2460. description: 备注
  2461. type: string
  2462. spotcontractid:
  2463. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2464. type: integer
  2465. spotcontractno:
  2466. description: 现货合同编号
  2467. type: string
  2468. tradeid:
  2469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2470. type: string
  2471. tradeprice:
  2472. description: 成交价格
  2473. type: number
  2474. tradeqty:
  2475. description: 成交数量
  2476. type: integer
  2477. tradetime:
  2478. description: 成交时间
  2479. type: string
  2480. updatetime:
  2481. description: 更新时间
  2482. type: string
  2483. required:
  2484. - asapplyid
  2485. - buyorsell
  2486. - goodscode
  2487. - goodsgroupid
  2488. - goodsgroupname
  2489. - goodsname
  2490. - tradeid
  2491. type: object
  2492. erms2.QuerySpotContractRsp:
  2493. properties:
  2494. accountid:
  2495. description: 资金账户ID
  2496. type: integer
  2497. areauserid:
  2498. description: 所属机构
  2499. type: integer
  2500. closedate:
  2501. description: 终止日期
  2502. type: string
  2503. closeremark:
  2504. description: 结束备注
  2505. type: string
  2506. closetradedate:
  2507. description: 完结交易日(yyyyMMdd)
  2508. type: string
  2509. closetype:
  2510. description: 终止类型 - 1:违约 2:提前终止
  2511. type: integer
  2512. contractamount:
  2513. description: 合同金额
  2514. type: number
  2515. contractattachment:
  2516. description: 合同附件
  2517. type: string
  2518. contractno:
  2519. description: 现货合同编号
  2520. type: string
  2521. contractqty:
  2522. description: 合同数量(数值) (用于计算)
  2523. type: number
  2524. contractqtychar:
  2525. description: 合同数量\已订价数量 (用于显示)
  2526. type: string
  2527. contractstatus:
  2528. description: 合同状态 - 0:未结束 1:已结束
  2529. type: integer
  2530. contracttype:
  2531. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2532. type: integer
  2533. customeraccountid:
  2534. description: 客户资金账户ID
  2535. type: integer
  2536. customeruserid:
  2537. description: 客户ID
  2538. type: integer
  2539. deliverygoodsdesc:
  2540. description: 品种说明
  2541. type: string
  2542. deliverygoodsid:
  2543. description: 现货品种ID
  2544. type: integer
  2545. handlestatus:
  2546. description: 处理状态
  2547. type: integer
  2548. invoiceatt:
  2549. description: 发票附件
  2550. type: string
  2551. invoicedatetime:
  2552. description: 开收票更新时间
  2553. type: string
  2554. invoiceopentime:
  2555. description: 开票时间
  2556. type: string
  2557. invoiceremark:
  2558. description: 发票备注
  2559. type: string
  2560. invoicestatus:
  2561. description: 开收票状态 - 0:未开票 1:已开票
  2562. type: integer
  2563. lastdate:
  2564. description: 交货时间
  2565. type: string
  2566. marketid:
  2567. description: 市场ID
  2568. type: integer
  2569. paydatetime:
  2570. description: 收付款更新时间
  2571. type: string
  2572. payremark:
  2573. description: 收付款备注
  2574. type: string
  2575. paystatus:
  2576. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2577. type: integer
  2578. positionqty:
  2579. description: 头寸数量 - 合同数量去小数部分
  2580. type: integer
  2581. producttype:
  2582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2583. type: integer
  2584. relatedqty:
  2585. description: 已关联数量
  2586. type: number
  2587. relatedstatus:
  2588. description: 关联完结状态 - 0:未结束 1:已结束
  2589. type: integer
  2590. remark:
  2591. description: 备注
  2592. type: string
  2593. signdate:
  2594. description: 签订日期
  2595. type: string
  2596. spotcontractid:
  2597. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2598. type: string
  2599. spotdatetime:
  2600. description: 收发货更新时间
  2601. type: string
  2602. spotprice:
  2603. description: 价格
  2604. type: number
  2605. spotremark:
  2606. description: 收发货备注
  2607. type: string
  2608. spotstatus:
  2609. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2610. type: integer
  2611. tradedate:
  2612. description: 交易日(yyyyMMdd)
  2613. type: string
  2614. userid:
  2615. description: 业务员用户ID
  2616. type: integer
  2617. warehouseid:
  2618. description: 仓库ID
  2619. type: integer
  2620. wrfactortypeid:
  2621. description: 仓单要素类型ID
  2622. type: integer
  2623. wrstandardid:
  2624. description: 仓单标准ID(SEQ_WRSTANDARD)
  2625. type: integer
  2626. required:
  2627. - spotcontractid
  2628. type: object
  2629. erms3.AddErms2ASApplyReq:
  2630. properties:
  2631. applybasis:
  2632. description: 申请基差
  2633. type: number
  2634. applystatus:
  2635. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2636. type: integer
  2637. asapplyid:
  2638. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2639. type: integer
  2640. asname:
  2641. description: 策略名称
  2642. type: string
  2643. asno:
  2644. description: 策略编号
  2645. type: string
  2646. auditid:
  2647. description: 审核人
  2648. type: integer
  2649. auditremark:
  2650. description: 审核备注
  2651. type: string
  2652. audittime:
  2653. description: 审核时间
  2654. type: string
  2655. biztype:
  2656. description: 业务类型 - 1:正向套利 2:反向套利
  2657. type: integer
  2658. createtime:
  2659. description: 创建时间
  2660. type: string
  2661. creatorid:
  2662. description: 创建人
  2663. type: integer
  2664. deliverygoodsid:
  2665. description: 现货品种ID
  2666. type: integer
  2667. futurequote:
  2668. description: 期货额度
  2669. type: number
  2670. goodsgroupid:
  2671. description: 期货品种ID
  2672. type: integer
  2673. marketid:
  2674. description: 市场ID
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. spotquota:
  2680. description: 现货额度
  2681. type: number
  2682. tradedate:
  2683. description: 交易日(yyyyMMdd)
  2684. type: string
  2685. userid:
  2686. description: 所属机构
  2687. type: integer
  2688. required:
  2689. - asapplyid
  2690. type: object
  2691. erms3.AddErms2SpotTradeApplyReq:
  2692. properties:
  2693. applyjsondetail:
  2694. description: 申请明细(JSON)
  2695. type: string
  2696. applystatus:
  2697. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2698. type: integer
  2699. areauserid:
  2700. description: 所属机构
  2701. type: integer
  2702. auditid:
  2703. description: 审核人
  2704. type: integer
  2705. auditremark:
  2706. description: 审核备注
  2707. type: string
  2708. audittime:
  2709. description: 审核时间
  2710. type: string
  2711. createtime:
  2712. description: 创建时间
  2713. type: string
  2714. creatorid:
  2715. description: 创建人
  2716. type: integer
  2717. deliverygoodsid:
  2718. description: 现货品种ID
  2719. type: integer
  2720. futureaccountid:
  2721. description: 期货资金账户
  2722. type: integer
  2723. goodsgroupid:
  2724. description: 期货品种
  2725. type: integer
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. spotaccountid:
  2733. description: 现货资金账户
  2734. type: integer
  2735. spottradeid:
  2736. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2737. type: integer
  2738. spottradename:
  2739. description: 业务名称
  2740. type: string
  2741. spottradeno:
  2742. description: 业务编号
  2743. type: string
  2744. tradedate:
  2745. description: 交易日(yyyyMMdd)
  2746. type: string
  2747. wrstandardid:
  2748. description: 仓单标准ID
  2749. type: integer
  2750. required:
  2751. - spottradeid
  2752. type: object
  2753. erms3.AddSpotContractApplyReq:
  2754. properties:
  2755. accountid:
  2756. description: 资金账户ID
  2757. type: integer
  2758. areauserid:
  2759. description: 所属机构
  2760. type: integer
  2761. contractattachment:
  2762. description: 合同附件
  2763. type: string
  2764. contractno:
  2765. description: 现货合同编号
  2766. type: string
  2767. contracttype:
  2768. description: 现货合同类型 - 1:采购 -1:销售
  2769. type: integer
  2770. creatorid:
  2771. description: 申请人
  2772. type: integer
  2773. customeraccountid:
  2774. description: 客户资金账户ID
  2775. type: integer
  2776. customeruserid:
  2777. description: 客户ID
  2778. type: integer
  2779. details:
  2780. description: 明细
  2781. items:
  2782. $ref: '#/definitions/erms3.SoptContractDetail'
  2783. type: array
  2784. orimargin:
  2785. description: 初始保证金
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. signdate:
  2791. description: 签订日期
  2792. type: string
  2793. required:
  2794. - accountid
  2795. - areauserid
  2796. - contractno
  2797. - contracttype
  2798. - customeraccountid
  2799. - customeruserid
  2800. - details
  2801. - orimargin
  2802. - signdate
  2803. type: object
  2804. erms3.AddSpotContractApplyRsp:
  2805. properties:
  2806. contractno:
  2807. description: 现货合同编号
  2808. type: string
  2809. spotcontractid:
  2810. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2811. type: integer
  2812. required:
  2813. - contractno
  2814. type: object
  2815. erms3.AddUserInfoApplyReq:
  2816. properties:
  2817. accountid:
  2818. description: 交易系统帐号Id (加密存储)
  2819. type: integer
  2820. areacode:
  2821. description: 机构代码
  2822. type: string
  2823. areaid:
  2824. description: 机构Id
  2825. type: integer
  2826. attachment1:
  2827. description: 附件1
  2828. type: string
  2829. attachment2:
  2830. description: 附件2
  2831. type: string
  2832. attachment3:
  2833. description: 附件3
  2834. type: string
  2835. attachment4:
  2836. description: 附件4
  2837. type: string
  2838. attachment5:
  2839. description: 附件5
  2840. type: string
  2841. auditedby:
  2842. description: 审核人
  2843. type: string
  2844. auditime:
  2845. description: 审核时间
  2846. type: string
  2847. auditsrc:
  2848. description: 审核来源 - 1:管理端 2:终端
  2849. type: integer
  2850. bankaccount:
  2851. description: 银行帐号 (加密存储)
  2852. type: string
  2853. bankaccountname:
  2854. description: 收款人名称
  2855. type: string
  2856. bankcardbackphotourl:
  2857. description: 银行卡背面照地址
  2858. type: string
  2859. bankcardfrontphotourl:
  2860. description: 银行卡正面照地址
  2861. type: string
  2862. bankid:
  2863. description: 银行编码
  2864. type: string
  2865. bankname:
  2866. description: 银行名称
  2867. type: string
  2868. bankpictureurl:
  2869. description: 银行卡正面地址
  2870. type: string
  2871. biznature:
  2872. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2873. type: integer
  2874. bizscope:
  2875. description: 企业经营范围(企业)
  2876. type: string
  2877. biztype:
  2878. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2879. type: integer
  2880. brokerid:
  2881. description: 经纪人ID(加密存储)
  2882. type: string
  2883. cardaddress:
  2884. description: 证件地址 (加密存储)
  2885. type: string
  2886. cardbackphotourl:
  2887. description: 背面证件照地址
  2888. type: string
  2889. cardfrontphotourl:
  2890. description: 正面证件照地址
  2891. type: string
  2892. cardnum:
  2893. description: 证件号码 (加密存储)
  2894. type: string
  2895. cardtype:
  2896. description: 证件类型
  2897. type: integer
  2898. cityid:
  2899. description: 市
  2900. type: integer
  2901. company:
  2902. description: 公司(个人)
  2903. type: string
  2904. contactcardbackphotourl:
  2905. description: 联系人证件背面图片地址
  2906. type: string
  2907. contactcardfrontphotourl:
  2908. description: 联系人证件正面图片地址
  2909. type: string
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. countryid:
  2914. description: 国家
  2915. type: integer
  2916. createtime:
  2917. description: 开户申请时间
  2918. type: string
  2919. cusbankid:
  2920. description: 签约类型
  2921. type: string
  2922. cusbankname:
  2923. description: 签约类型名称
  2924. type: string
  2925. customername:
  2926. description: 客户名称(企业名称)
  2927. type: string
  2928. districtid:
  2929. description: 地区
  2930. type: integer
  2931. email:
  2932. description: Email地址(加密存储)
  2933. type: string
  2934. halfbodyphotourl:
  2935. description: 半身照地址
  2936. type: string
  2937. headurl:
  2938. description: 头像地址
  2939. type: string
  2940. ipaddress:
  2941. description: IP地址
  2942. type: string
  2943. isvalidate:
  2944. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2945. type: string
  2946. legalcardbackphotourl:
  2947. description: 法人身份证背面照地址
  2948. type: string
  2949. legalcardfrontphotourl:
  2950. description: 法人身份证正面照地址
  2951. type: string
  2952. legalpersonname:
  2953. description: 法人姓名(企业)
  2954. type: string
  2955. logincode:
  2956. description: 登录帐号 (加密存储)
  2957. type: string
  2958. memberareaid:
  2959. description: 所属会员ID
  2960. type: integer
  2961. mobile2:
  2962. description: 手机号码[明文-尚志]
  2963. type: string
  2964. mobilephone:
  2965. description: 手机号码 (加密存储)
  2966. type: string
  2967. modifiedby:
  2968. description: 修改人帐号
  2969. type: integer
  2970. modifiedtime:
  2971. description: 修改时间
  2972. type: string
  2973. nickname:
  2974. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2975. type: string
  2976. openmode:
  2977. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2978. type: integer
  2979. otherurl:
  2980. description: 其它图片地址[使用分号分隔]
  2981. type: string
  2982. postalcode:
  2983. description: 邮政编码
  2984. type: string
  2985. provinceid:
  2986. description: 省
  2987. type: integer
  2988. proxystatementurl:
  2989. description: 授权委托书
  2990. type: string
  2991. qq:
  2992. description: QQ(加密存储
  2993. type: string
  2994. referral:
  2995. description: 推荐人编码
  2996. type: string
  2997. remark:
  2998. description: 备注
  2999. type: string
  3000. removebeforestatus:
  3001. description: REMOVEBEFORESTATUS
  3002. type: integer
  3003. sex:
  3004. description: 性别 - 0:女 1:男
  3005. type: integer
  3006. signedstatus:
  3007. description: 账户一号签签约状态
  3008. type: integer
  3009. signpdfurl:
  3010. description: 签约pdf文件
  3011. type: string
  3012. subbranch:
  3013. description: 开户支行
  3014. type: string
  3015. taxpayernum:
  3016. description: 纳税人识别号
  3017. type: string
  3018. telphone:
  3019. description: 联系电话(加密存储)
  3020. type: string
  3021. userid:
  3022. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3023. type: integer
  3024. userinfotype:
  3025. description: 用户信息类型 - 1:个人 2:企业
  3026. type: integer
  3027. username:
  3028. description: 用户姓名
  3029. type: string
  3030. userstate:
  3031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3032. type: integer
  3033. usertype:
  3034. description: 用户类型 - 1:投资者 2:机构
  3035. type: integer
  3036. videourl:
  3037. description: 视频地址
  3038. type: string
  3039. wechat:
  3040. description: 微信号 (加密存储)
  3041. type: string
  3042. required:
  3043. - userid
  3044. type: object
  3045. erms3.CustomerInfo:
  3046. properties:
  3047. accountids:
  3048. description: 资金账户ID列表
  3049. items:
  3050. type: integer
  3051. type: array
  3052. customername:
  3053. description: 名称(企业名称)
  3054. type: string
  3055. mobile:
  3056. description: 手机号码
  3057. type: string
  3058. userid:
  3059. description: 用户ID
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. erms3.ModifyUserInfoApplyReq:
  3065. properties:
  3066. accountid:
  3067. description: 交易系统帐号Id (加密存储)
  3068. type: integer
  3069. areacode:
  3070. description: 机构代码
  3071. type: string
  3072. areaid:
  3073. description: 机构Id
  3074. type: integer
  3075. attachment1:
  3076. description: 附件1
  3077. type: string
  3078. attachment2:
  3079. description: 附件2
  3080. type: string
  3081. attachment3:
  3082. description: 附件3
  3083. type: string
  3084. attachment4:
  3085. description: 附件4
  3086. type: string
  3087. attachment5:
  3088. description: 附件5
  3089. type: string
  3090. auditedby:
  3091. description: 审核人
  3092. type: string
  3093. auditime:
  3094. description: 审核时间
  3095. type: string
  3096. auditsrc:
  3097. description: 审核来源 - 1:管理端 2:终端
  3098. type: integer
  3099. bankaccount:
  3100. description: 银行帐号 (加密存储)
  3101. type: string
  3102. bankaccountname:
  3103. description: 收款人名称
  3104. type: string
  3105. bankcardbackphotourl:
  3106. description: 银行卡背面照地址
  3107. type: string
  3108. bankcardfrontphotourl:
  3109. description: 银行卡正面照地址
  3110. type: string
  3111. bankid:
  3112. description: 银行编码
  3113. type: string
  3114. bankname:
  3115. description: 银行名称
  3116. type: string
  3117. bankpictureurl:
  3118. description: 银行卡正面地址
  3119. type: string
  3120. biznature:
  3121. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3122. type: integer
  3123. bizscope:
  3124. description: 企业经营范围(企业)
  3125. type: string
  3126. biztype:
  3127. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3128. type: integer
  3129. brokerid:
  3130. description: 经纪人ID(加密存储)
  3131. type: string
  3132. cardaddress:
  3133. description: 证件地址 (加密存储)
  3134. type: string
  3135. cardbackphotourl:
  3136. description: 背面证件照地址
  3137. type: string
  3138. cardfrontphotourl:
  3139. description: 正面证件照地址
  3140. type: string
  3141. cardnum:
  3142. description: 证件号码 (加密存储)
  3143. type: string
  3144. cardtype:
  3145. description: 证件类型
  3146. type: integer
  3147. cityid:
  3148. description: 市
  3149. type: integer
  3150. company:
  3151. description: 公司(个人)
  3152. type: string
  3153. contactcardbackphotourl:
  3154. description: 联系人证件背面图片地址
  3155. type: string
  3156. contactcardfrontphotourl:
  3157. description: 联系人证件正面图片地址
  3158. type: string
  3159. contactname:
  3160. description: 联系人
  3161. type: string
  3162. countryid:
  3163. description: 国家
  3164. type: integer
  3165. createtime:
  3166. description: 开户申请时间
  3167. type: string
  3168. cusbankid:
  3169. description: 签约类型
  3170. type: string
  3171. cusbankname:
  3172. description: 签约类型名称
  3173. type: string
  3174. customername:
  3175. description: 客户名称(企业名称)
  3176. type: string
  3177. districtid:
  3178. description: 地区
  3179. type: integer
  3180. email:
  3181. description: Email地址(加密存储)
  3182. type: string
  3183. halfbodyphotourl:
  3184. description: 半身照地址
  3185. type: string
  3186. headurl:
  3187. description: 头像地址
  3188. type: string
  3189. ipaddress:
  3190. description: IP地址
  3191. type: string
  3192. isvalidate:
  3193. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3194. type: string
  3195. legalcardbackphotourl:
  3196. description: 法人身份证背面照地址
  3197. type: string
  3198. legalcardfrontphotourl:
  3199. description: 法人身份证正面照地址
  3200. type: string
  3201. legalpersonname:
  3202. description: 法人姓名(企业)
  3203. type: string
  3204. logincode:
  3205. description: 登录帐号 (加密存储)
  3206. type: string
  3207. memberareaid:
  3208. description: 所属会员ID
  3209. type: integer
  3210. mobile2:
  3211. description: 手机号码[明文-尚志]
  3212. type: string
  3213. mobilephone:
  3214. description: 手机号码 (加密存储)
  3215. type: string
  3216. modifiedby:
  3217. description: 修改人帐号
  3218. type: integer
  3219. modifiedtime:
  3220. description: 修改时间
  3221. type: string
  3222. nickname:
  3223. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3224. type: string
  3225. openmode:
  3226. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3227. type: integer
  3228. otherurl:
  3229. description: 其它图片地址[使用分号分隔]
  3230. type: string
  3231. postalcode:
  3232. description: 邮政编码
  3233. type: string
  3234. provinceid:
  3235. description: 省
  3236. type: integer
  3237. proxystatementurl:
  3238. description: 授权委托书
  3239. type: string
  3240. qq:
  3241. description: QQ(加密存储
  3242. type: string
  3243. referral:
  3244. description: 推荐人编码
  3245. type: string
  3246. remark:
  3247. description: 备注
  3248. type: string
  3249. removebeforestatus:
  3250. description: REMOVEBEFORESTATUS
  3251. type: integer
  3252. sex:
  3253. description: 性别 - 0:女 1:男
  3254. type: integer
  3255. signedstatus:
  3256. description: 账户一号签签约状态
  3257. type: integer
  3258. signpdfurl:
  3259. description: 签约pdf文件
  3260. type: string
  3261. subbranch:
  3262. description: 开户支行
  3263. type: string
  3264. taxpayernum:
  3265. description: 纳税人识别号
  3266. type: string
  3267. telphone:
  3268. description: 联系电话(加密存储)
  3269. type: string
  3270. userid:
  3271. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3272. type: integer
  3273. userinfotype:
  3274. description: 用户信息类型 - 1:个人 2:企业
  3275. type: integer
  3276. username:
  3277. description: 用户姓名
  3278. type: string
  3279. userstate:
  3280. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3281. type: integer
  3282. usertype:
  3283. description: 用户类型 - 1:投资者 2:机构
  3284. type: integer
  3285. videourl:
  3286. description: 视频地址
  3287. type: string
  3288. wechat:
  3289. description: 微信号 (加密存储)
  3290. type: string
  3291. required:
  3292. - userid
  3293. type: object
  3294. erms3.QryAuditContractRsp:
  3295. properties:
  3296. accountid:
  3297. description: 交易员ID
  3298. type: string
  3299. applystatus:
  3300. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3301. type: integer
  3302. curdeliveryqty:
  3303. description: 未交收量
  3304. type: integer
  3305. customername:
  3306. description: 采购方ID
  3307. type: string
  3308. deliverygoodsid:
  3309. description: 品种ID
  3310. type: string
  3311. deliveryqty:
  3312. description: 交收量
  3313. type: integer
  3314. enumdicname:
  3315. description: 单位名称
  3316. type: string
  3317. matchaccountid:
  3318. description: 业务员ID
  3319. type: string
  3320. matchcustomername:
  3321. description: 销售方ID
  3322. type: string
  3323. pricedqty:
  3324. description: 定价量
  3325. type: number
  3326. signdate:
  3327. description: 签订日期
  3328. type: string
  3329. spotcontractid:
  3330. description: 合同ID
  3331. type: string
  3332. totaldqty:
  3333. description: 合同量
  3334. type: number
  3335. unpricedqty:
  3336. description: 未定价量
  3337. type: number
  3338. wrstandardname:
  3339. description: 商品名称
  3340. type: string
  3341. required:
  3342. - matchcustomername
  3343. - spotcontractid
  3344. type: object
  3345. erms3.QryPendingBizRsp:
  3346. properties:
  3347. accountid:
  3348. description: 现货账户
  3349. type: string
  3350. areaname:
  3351. description: 所属部门
  3352. type: string
  3353. bizid:
  3354. description: 业务ID
  3355. type: string
  3356. bizname:
  3357. description: 业务名称
  3358. type: string
  3359. status:
  3360. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3361. type: integer
  3362. type:
  3363. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3364. type: integer
  3365. type: object
  3366. erms3.QueryBusinessInfoRsp:
  3367. properties:
  3368. businessid:
  3369. description: 业务ID.
  3370. type: integer
  3371. buyamount:
  3372. description: 采购额.
  3373. type: number
  3374. buyqty:
  3375. description: 采购量.
  3376. type: string
  3377. futurepl:
  3378. description: 期货盈亏.
  3379. type: number
  3380. futureqty:
  3381. description: 期货敞口.
  3382. type: string
  3383. goodsid:
  3384. description: 商品名称/商品代码.
  3385. type: string
  3386. hedgingqty:
  3387. description: 套保量.
  3388. type: string
  3389. sellamount:
  3390. description: 销售额.
  3391. type: number
  3392. sellqty:
  3393. description: 销售量.
  3394. type: string
  3395. spotmarketvalue:
  3396. description: 现货市值.
  3397. type: number
  3398. spotpl:
  3399. description: 浮动权益.
  3400. type: number
  3401. spotqty:
  3402. description: 现货量.
  3403. type: string
  3404. statu:
  3405. description: 状态,0-未结束 1-已结束.
  3406. type: integer
  3407. totalpl:
  3408. description: 总盈亏.
  3409. type: number
  3410. totalqty:
  3411. description: 总敞口.
  3412. type: string
  3413. type:
  3414. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3415. type: integer
  3416. type: object
  3417. erms3.QuerySpotContractAppleFormRsp:
  3418. properties:
  3419. goodses:
  3420. description: 合约列表
  3421. items:
  3422. $ref: '#/definitions/models.GoodsIDAndName'
  3423. type: array
  3424. oppositeusers:
  3425. description: 对方账号列表
  3426. items:
  3427. $ref: '#/definitions/erms3.CustomerInfo'
  3428. type: array
  3429. ouruser:
  3430. $ref: '#/definitions/erms3.CustomerInfo'
  3431. description: 我方账号
  3432. warehouseinfos:
  3433. description: 仓库信息列表
  3434. items:
  3435. $ref: '#/definitions/models.Warehouseinfo'
  3436. type: array
  3437. wrstandards:
  3438. description: 仓单标准列表
  3439. items:
  3440. $ref: '#/definitions/models.WRStandardInfo'
  3441. type: array
  3442. type: object
  3443. erms3.QuerySpotContractInfoRsp:
  3444. properties:
  3445. accountid:
  3446. description: 表示交易员ID.
  3447. type: integer
  3448. curdeliveryqty:
  3449. description: 表示未交收量.
  3450. type: number
  3451. customername:
  3452. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3453. type: string
  3454. deliverygoodsid:
  3455. description: 表示品种ID.
  3456. type: string
  3457. deliveryqty:
  3458. description: 表示交收量.
  3459. type: number
  3460. matchaccountid:
  3461. description: 表示业务员ID.
  3462. type: integer
  3463. matchcustomername:
  3464. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3465. type: string
  3466. priceqty:
  3467. description: 表示定价量.
  3468. type: number
  3469. relatedbizid:
  3470. description: 表示业务ID.
  3471. type: string
  3472. signdate:
  3473. description: 表示签订日期.
  3474. type: string
  3475. spotcontractid:
  3476. description: 合同ID
  3477. type: string
  3478. status:
  3479. description: 表示状态,0-履约中 1-已完成.
  3480. type: integer
  3481. totalqty:
  3482. description: 表示合同量.
  3483. type: number
  3484. unpricedqty:
  3485. description: 表示未定价量.
  3486. type: number
  3487. wrstandardname:
  3488. description: 表示商品ID.
  3489. type: string
  3490. type: object
  3491. erms3.QueryUserInfoAppliesRsp:
  3492. properties:
  3493. biznature:
  3494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3495. type: integer
  3496. contactname:
  3497. description: 联系人
  3498. type: string
  3499. createtime:
  3500. description: 开户申请时间
  3501. type: string
  3502. userid:
  3503. description: 用户ID(自增ID)
  3504. type: integer
  3505. userinfotype:
  3506. description: 用户信息类型 - 1:个人 2:企业
  3507. type: integer
  3508. username:
  3509. description: 用户姓名
  3510. type: string
  3511. userstate:
  3512. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3513. type: integer
  3514. required:
  3515. - userid
  3516. type: object
  3517. erms3.QueryUserInfosRsp:
  3518. properties:
  3519. biznature:
  3520. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3521. type: integer
  3522. contactname:
  3523. description: 联系人
  3524. type: string
  3525. customername:
  3526. description: 客户名称(企业名称)
  3527. type: string
  3528. userid:
  3529. description: 用户ID
  3530. type: integer
  3531. userinfotype:
  3532. description: 用户信息类型 - 1:个人 2:企业
  3533. type: integer
  3534. userstatus:
  3535. description: 用户状态 - 1:正常 2:注销
  3536. type: integer
  3537. required:
  3538. - userid
  3539. type: object
  3540. erms3.SoptContractDetail:
  3541. properties:
  3542. deliverygoodsdesc:
  3543. description: 现货品种说明
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种ID
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. pointdesc:
  3552. description: 点价描述
  3553. type: string
  3554. producttype:
  3555. description: 产品类型 1:标准仓单 2:等标 3:非标
  3556. type: integer
  3557. producttypename:
  3558. description: 产品类型名称
  3559. type: string
  3560. spotPointOrderVoList:
  3561. description: 点价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPointOrder'
  3564. type: array
  3565. spotPriceOrderList:
  3566. description: 定价列表
  3567. items:
  3568. $ref: '#/definitions/erms3.SpotPriceOrder'
  3569. type: array
  3570. unitname:
  3571. description: 单位名称
  3572. type: string
  3573. warehouseid:
  3574. description: 仓库ID
  3575. type: integer
  3576. warehousename:
  3577. description: 仓库名称
  3578. type: string
  3579. wrstandardid:
  3580. description: 交易标的ID
  3581. type: integer
  3582. wrstandardname:
  3583. description: 交易标的名称
  3584. type: string
  3585. required:
  3586. - deliverygoodsid
  3587. - producttype
  3588. - unitname
  3589. - warehouseid
  3590. - wrstandardid
  3591. - wrstandardname
  3592. type: object
  3593. erms3.SpotPointOrder:
  3594. properties:
  3595. basic:
  3596. description: 基差
  3597. type: number
  3598. deliveryenddate:
  3599. description: 交收结束日期
  3600. type: string
  3601. deliverystartdate:
  3602. description: 交收开始日期
  3603. type: string
  3604. enddate:
  3605. description: 点价结束日期
  3606. type: string
  3607. goodsid:
  3608. description: 商品ID
  3609. type: integer
  3610. goodsname:
  3611. description: 商品名称
  3612. type: string
  3613. qty:
  3614. description: 数量
  3615. type: number
  3616. startdate:
  3617. description: 点价开始日期
  3618. type: string
  3619. required:
  3620. - basic
  3621. - goodsid
  3622. - qty
  3623. type: object
  3624. erms3.SpotPriceOrder:
  3625. properties:
  3626. amount:
  3627. description: 金额
  3628. type: number
  3629. deliveryenddate:
  3630. description: 交收结束日期
  3631. type: string
  3632. deliverystartdate:
  3633. description: 交收开始日期
  3634. type: string
  3635. price:
  3636. description: 价格
  3637. type: number
  3638. qty:
  3639. description: 数量
  3640. type: number
  3641. required:
  3642. - amount
  3643. - price
  3644. - qty
  3645. type: object
  3646. hsby.GetHsbyMyCountRsp:
  3647. properties:
  3648. myCouponCount:
  3649. description: 我的优惠卷数量
  3650. type: integer
  3651. myOrderDetailListingCount:
  3652. description: 我的订单求购中数量
  3653. type: integer
  3654. myOrderDetailPreCount:
  3655. description: 我的订单抢购中数量
  3656. type: integer
  3657. myPackageUnReceiveCount:
  3658. description: 我的包裹待收货数量
  3659. type: integer
  3660. myPackageUnSendCount:
  3661. description: 我的包裹待发货数量
  3662. type: integer
  3663. myPayOrderCount:
  3664. description: 我的订单待付款数量
  3665. type: integer
  3666. type: object
  3667. hsby.QueryProvincesAndCitiesRsp:
  3668. properties:
  3669. cities:
  3670. description: 市
  3671. items:
  3672. $ref: '#/definitions/models.Division'
  3673. type: array
  3674. province:
  3675. $ref: '#/definitions/models.Division'
  3676. description: 省
  3677. type: object
  3678. models.Arearole:
  3679. properties:
  3680. createtime:
  3681. description: 创建时间
  3682. type: string
  3683. creatorid:
  3684. description: 创建人ID
  3685. type: integer
  3686. fromuserid:
  3687. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3688. type: integer
  3689. isreturnscore:
  3690. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3691. type: integer
  3692. modifierid:
  3693. description: 修改人ID
  3694. type: integer
  3695. modifytime:
  3696. description: 修改时间
  3697. type: string
  3698. orgtype:
  3699. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3700. type: integer
  3701. outuserid:
  3702. description: 外部账户[场外期权做市商]
  3703. type: string
  3704. parentuserid:
  3705. description: 上级组织机构(组织机构)
  3706. type: integer
  3707. roletype:
  3708. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3709. type: integer
  3710. rootuserid:
  3711. description: 顶级组织机构用户ID(组织机构)
  3712. type: integer
  3713. shoppassword:
  3714. description: 商城店铺登陆密码(商城店铺角色使用)
  3715. type: string
  3716. sublevelpath:
  3717. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3718. type: string
  3719. suborgtype:
  3720. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3721. type: integer
  3722. tradeaccountid:
  3723. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3724. type: integer
  3725. transurl:
  3726. description: 物流地址(物流机构)
  3727. type: string
  3728. userid:
  3729. description: 机构用户ID其他做市关系,都设置为 1
  3730. type: integer
  3731. required:
  3732. - roletype
  3733. - userid
  3734. type: object
  3735. models.Clientfixedadconfig:
  3736. properties:
  3737. adsort:
  3738. description: 排序
  3739. type: integer
  3740. adtype:
  3741. description: 广告位类型 - 1:新品抢购(HSBY)
  3742. type: integer
  3743. areauserid:
  3744. description: 所属机构ID
  3745. type: integer
  3746. createdate:
  3747. description: 创建时间
  3748. type: string
  3749. creatorid:
  3750. description: 创建人
  3751. type: integer
  3752. imagepath:
  3753. description: 图片
  3754. type: string
  3755. isshow:
  3756. description: 是否展示 - 0:不展示 1:展示
  3757. type: integer
  3758. modifierid:
  3759. description: 操作人
  3760. type: integer
  3761. recsize:
  3762. description: 推荐尺寸
  3763. type: string
  3764. title:
  3765. description: 标题
  3766. type: string
  3767. updatedate:
  3768. description: 更新时间
  3769. type: string
  3770. urlcontent:
  3771. description: 链接(地址或商品ID)
  3772. type: string
  3773. urltype:
  3774. description: 链接类型 - 1:直接地址 2:商品ID
  3775. type: integer
  3776. required:
  3777. - adsort
  3778. - adtype
  3779. type: object
  3780. models.Division:
  3781. properties:
  3782. autoid:
  3783. description: 自增ID
  3784. type: integer
  3785. divisioncode:
  3786. description: 行政代码
  3787. type: string
  3788. divisionlevel:
  3789. description: 行政级别
  3790. type: string
  3791. divisionname:
  3792. description: 行政名称
  3793. type: string
  3794. modifierid:
  3795. description: 修改人
  3796. type: integer
  3797. modifytime:
  3798. description: 修改时间
  3799. type: string
  3800. parentcode:
  3801. description: 上级行政代码
  3802. type: string
  3803. pathname:
  3804. description: 路径名称
  3805. type: string
  3806. postcode:
  3807. description: 邮政编码
  3808. type: string
  3809. separablename:
  3810. description: 可拆分的全称
  3811. type: string
  3812. shortcode:
  3813. description: 地区简码
  3814. type: string
  3815. required:
  3816. - autoid
  3817. - divisioncode
  3818. type: object
  3819. models.Enumdicitem:
  3820. properties:
  3821. autoid:
  3822. description: 自增ID
  3823. type: integer
  3824. bankmappedvalue:
  3825. description: 银行服务对应值
  3826. type: string
  3827. enumdiccode:
  3828. description: 所属枚举代码
  3829. type: string
  3830. enumdicid:
  3831. description: 所属枚举ID
  3832. type: integer
  3833. enumdicname:
  3834. description: 枚举项名称
  3835. type: string
  3836. enumitemname:
  3837. description: 枚举项值
  3838. type: integer
  3839. enumitemstatus:
  3840. description: 枚举项状态 - 1.启用 2.不启用
  3841. type: integer
  3842. enumitemvalue:
  3843. description: 通用值 - [币种通用简写]
  3844. type: string
  3845. param1:
  3846. description: 参数1[币种:币种小数位]
  3847. type: string
  3848. param2:
  3849. description: 参数1[币种:币种显示单位]
  3850. type: string
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. required:
  3855. - autoid
  3856. - enumdiccode
  3857. - enumdicid
  3858. - enumitemname
  3859. type: object
  3860. models.Ermcp3AreaSpot:
  3861. properties:
  3862. areauserid:
  3863. description: 所属机构
  3864. type: integer
  3865. convertratio:
  3866. description: 套保系数
  3867. type: number
  3868. decreaseqty:
  3869. description: 减少数量=-(销售已定价数量+采购计划数量)
  3870. type: number
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. unitid:
  3884. description: 现货商品单位id
  3885. type: integer
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. wrstandardcode:
  3890. description: 现货商品代码
  3891. type: string
  3892. wrstandardid:
  3893. description: 现货商品ID(SEQ_WRSTANDARD)
  3894. type: integer
  3895. wrstandardname:
  3896. description: 现货商品名称
  3897. type: string
  3898. type: object
  3899. models.Ermcp3AreaSpotDetail:
  3900. properties:
  3901. contracttype:
  3902. description: 合同类型 1-采购 -1-销售
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. wrstandardcode:
  3929. description: 现货商品代码
  3930. type: string
  3931. wrstandardid:
  3932. description: 现货商品ID(SEQ_WRSTANDARD)
  3933. type: integer
  3934. wrstandardname:
  3935. description: 现货商品名称
  3936. type: string
  3937. type: object
  3938. models.Ermcp3AreaSpotPLReport:
  3939. properties:
  3940. accountid:
  3941. description: 期货账户ID (作废, 默认为0)
  3942. type: integer
  3943. accountname:
  3944. description: 机构名称
  3945. type: string
  3946. actualpl:
  3947. description: 现货损益
  3948. type: number
  3949. areauserid:
  3950. description: 所属机构\交易用户ID
  3951. type: integer
  3952. begindate:
  3953. description: 开始交易日
  3954. type: string
  3955. biztype:
  3956. description: 业务类型 - 1:套保 2:套利
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. curamount:
  3962. description: 期末额
  3963. type: number
  3964. curaverageprice:
  3965. description: 期末均价
  3966. type: number
  3967. curbuyamount:
  3968. description: 期末采购总额
  3969. type: number
  3970. curbuyqty:
  3971. description: 期末采购总量
  3972. type: number
  3973. curmarketvalue:
  3974. description: 参考市值(期末市值)
  3975. type: number
  3976. curqty:
  3977. description: 期末量
  3978. type: number
  3979. currencyid:
  3980. description: 结算币种ID【原值】
  3981. type: integer
  3982. currencyname:
  3983. description: 币种名称
  3984. type: string
  3985. cursellamount:
  3986. description: 期末销售总额
  3987. type: number
  3988. cursellqty:
  3989. description: 期末销售总量
  3990. type: number
  3991. curspotprice:
  3992. description: 参考市价(最新价)
  3993. type: number
  3994. cycletime:
  3995. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3996. type: string
  3997. cycletype:
  3998. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3999. type: integer
  4000. deliverygoodscode:
  4001. description: 现货商品代码
  4002. type: string
  4003. deliverygoodsid:
  4004. description: 现货品种ID
  4005. type: integer
  4006. deliverygoodsname:
  4007. description: 现货商品名称
  4008. type: string
  4009. enddate:
  4010. description: 结束交易日
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. floatpl:
  4016. description: 浮动损益
  4017. type: number
  4018. goodsunitid:
  4019. description: 现货商品单位id
  4020. type: integer
  4021. oriamount:
  4022. description: 期初额
  4023. type: number
  4024. oriaverageprice:
  4025. description: 期初均价
  4026. type: number
  4027. oribuyamount:
  4028. description: 期初采购总额
  4029. type: number
  4030. oribuyqty:
  4031. description: 期初采购总量
  4032. type: number
  4033. oriqty:
  4034. description: 期初量
  4035. type: number
  4036. orisellamount:
  4037. description: 期初销售总额
  4038. type: number
  4039. orisellqty:
  4040. description: 期初销售总量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. spotgoodsbrandid:
  4046. description: 现货品牌ID
  4047. type: integer
  4048. todaybuyamount:
  4049. description: 今日采购额(今采购额)
  4050. type: number
  4051. todaybuyaverageprice:
  4052. description: 今日采购均价
  4053. type: number
  4054. todaybuyqty:
  4055. description: 今日采购量(今采购量)
  4056. type: number
  4057. todayinqty:
  4058. description: 今日入库量(今入库量)
  4059. type: number
  4060. todayoutqty:
  4061. description: 今日出库量(今出库量)
  4062. type: number
  4063. todaysellamount:
  4064. description: 今日销售额(今销售额)
  4065. type: number
  4066. todaysellaverageprice:
  4067. description: 今日销售均价
  4068. type: number
  4069. todaysellqty:
  4070. description: 今日销售量(今销售量)
  4071. type: number
  4072. unitid:
  4073. description: 品类单位id
  4074. type: integer
  4075. unitidname:
  4076. description: 品类单位名称
  4077. type: string
  4078. updatetime:
  4079. description: 更新时间
  4080. type: string
  4081. wrfactortypeid:
  4082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4083. type: integer
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 现货品类ID
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. type: object
  4094. models.Ermcp3AreaStock:
  4095. properties:
  4096. brandname:
  4097. description: 品牌名称
  4098. type: string
  4099. curstock:
  4100. description: 期末库存量(今日量)
  4101. type: number
  4102. deliverygoodscode:
  4103. description: 现货品种代码
  4104. type: string
  4105. deliverygoodsid:
  4106. description: 现货品种id
  4107. type: integer
  4108. deliverygoodsname:
  4109. description: 现货品种名称
  4110. type: string
  4111. enumdicname:
  4112. description: 单位名称
  4113. type: string
  4114. goodsunitid:
  4115. description: 现货商品单位id
  4116. type: integer
  4117. oristock:
  4118. description: 期初库存量(昨日量)
  4119. type: number
  4120. spotgoodsbrandid:
  4121. description: 现货品牌ID
  4122. type: integer
  4123. todaybuyinqty:
  4124. description: 今日采购入库量
  4125. type: number
  4126. todayproduceinqty:
  4127. description: 今日生产入库量
  4128. type: number
  4129. todayproduceoutqty:
  4130. description: 今日生产出库量
  4131. type: number
  4132. todayselloutqty:
  4133. description: 今日销售出库量
  4134. type: number
  4135. unitid:
  4136. description: 单位id
  4137. type: integer
  4138. updatetime:
  4139. description: 更新时间
  4140. type: string
  4141. userid:
  4142. description: 机构ID
  4143. type: integer
  4144. username:
  4145. description: 机构名称
  4146. type: string
  4147. warehousecode:
  4148. description: 仓库代码
  4149. type: string
  4150. warehouseinfoid:
  4151. description: 仓库ID
  4152. type: string
  4153. warehousename:
  4154. description: 仓库名称
  4155. type: string
  4156. warehousetype:
  4157. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4158. type: integer
  4159. wrstandardcode:
  4160. description: 品类代码
  4161. type: string
  4162. wrstandardid:
  4163. description: 品类ID
  4164. type: string
  4165. wrstandardname:
  4166. description: 品类名称
  4167. type: string
  4168. required:
  4169. - userid
  4170. type: object
  4171. models.Ermcp3AreaStockApply:
  4172. properties:
  4173. applyid:
  4174. description: 申请人
  4175. type: integer
  4176. applyname:
  4177. description: 申请人名称
  4178. type: string
  4179. applyremark:
  4180. description: 申请备注
  4181. type: string
  4182. applysrc:
  4183. description: 申请来源 - 1:管理端 2:终端
  4184. type: integer
  4185. applystatus:
  4186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4187. type: integer
  4188. applytime:
  4189. description: 申请时间
  4190. type: string
  4191. auditid:
  4192. description: 审核人
  4193. type: integer
  4194. auditname:
  4195. description: 审核人名称
  4196. type: string
  4197. auditremark:
  4198. description: 审核备注
  4199. type: string
  4200. auditsrc:
  4201. description: 审核来源 - 1:管理端 2:终端
  4202. type: integer
  4203. audittime:
  4204. description: 审核时间
  4205. type: string
  4206. audittradedate:
  4207. description: 审核交易日(yyyyMMdd)
  4208. type: string
  4209. brandname:
  4210. description: 品牌名称
  4211. type: string
  4212. buynickname:
  4213. description: 采购方昵称
  4214. type: string
  4215. buyuserid:
  4216. description: 采购方userid
  4217. type: integer
  4218. buyusername:
  4219. description: 采购方名称
  4220. type: string
  4221. contractno:
  4222. description: 合同编号
  4223. type: string
  4224. contractqty:
  4225. description: 合同量
  4226. type: number
  4227. contracttype:
  4228. description: 现货合同类型 - 1:采购 -1:销售
  4229. type: integer
  4230. deliverygoodscode:
  4231. description: 现货品种代码
  4232. type: string
  4233. deliverygoodsid:
  4234. description: 现货品种id
  4235. type: integer
  4236. deliverygoodsname:
  4237. description: 现货品种名称
  4238. type: string
  4239. detailjson:
  4240. description: 明细数据
  4241. type: string
  4242. enumdicname:
  4243. description: 现货商品单位名称
  4244. type: string
  4245. inoutapplyid:
  4246. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4247. type: string
  4248. inouttype:
  4249. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4250. type: integer
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. qty:
  4255. description: 数量
  4256. type: number
  4257. sellnickname:
  4258. description: 销售方昵称
  4259. type: string
  4260. selluserid:
  4261. description: 销售方userid
  4262. type: integer
  4263. sellusername:
  4264. description: 销售方名称
  4265. type: string
  4266. spotcontractid:
  4267. description: 关联现货合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. unitid:
  4273. description: 单位id
  4274. type: integer
  4275. userid:
  4276. description: 机构ID
  4277. type: integer
  4278. warehousecode:
  4279. description: 仓库代码
  4280. type: string
  4281. warehouseinfoid:
  4282. description: 现货仓库ID
  4283. type: string
  4284. warehousename:
  4285. description: 仓库名称
  4286. type: string
  4287. warehousetype:
  4288. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4289. type: integer
  4290. wrstandardcode:
  4291. description: 品类代码
  4292. type: string
  4293. wrstandardid:
  4294. description: 品类ID
  4295. type: integer
  4296. wrstandardname:
  4297. description: 品类名称
  4298. type: string
  4299. type: object
  4300. models.Ermcp3AreaStockApplySum:
  4301. properties:
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. inouttype:
  4306. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4307. type: integer
  4308. spotcontractid:
  4309. description: 关联现货合同ID
  4310. type: string
  4311. spotgoodsbrandid:
  4312. description: 品牌id
  4313. type: integer
  4314. totalqty:
  4315. description: 总数量
  4316. type: number
  4317. wrstandardid:
  4318. description: 品类id
  4319. type: integer
  4320. wrstandardname:
  4321. description: 品类名称
  4322. type: string
  4323. type: object
  4324. models.Ermcp3AreaStockReportEx:
  4325. properties:
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. curstock:
  4333. description: 期末库存量
  4334. type: number
  4335. cycletime:
  4336. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4337. type: string
  4338. cycletype:
  4339. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. diffqty:
  4351. description: 库存变化量 = 期末 - 期初
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. goodsunitid:
  4360. description: 现货单位id
  4361. type: integer
  4362. oristock:
  4363. description: 期初库存量
  4364. type: number
  4365. reckondate:
  4366. description: 日照时期(yyyyMMdd)
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID
  4370. type: integer
  4371. todaybuyinqty:
  4372. description: 今采购入库量
  4373. type: number
  4374. todayproduceinqty:
  4375. description: 今内部入库量
  4376. type: number
  4377. todayproduceoutqty:
  4378. description: 今内部出库量
  4379. type: number
  4380. todayselloutqty:
  4381. description: 今销售出库量
  4382. type: number
  4383. unbuyinqty:
  4384. description: 采购未入库量(数据库未找到相关字段?)
  4385. type: number
  4386. unitid:
  4387. description: 品类单位id
  4388. type: integer
  4389. unselloutqty:
  4390. description: 销售未出库量(数据库未找到相关字段?)
  4391. type: number
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. userid:
  4396. description: 机构ID
  4397. type: integer
  4398. username:
  4399. description: 机构名称
  4400. type: string
  4401. warehousecode:
  4402. description: 仓库代码
  4403. type: string
  4404. warehouseinfoid:
  4405. description: 仓库ID
  4406. type: string
  4407. warehousename:
  4408. description: 仓库名称
  4409. type: string
  4410. warehousetype:
  4411. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4412. type: integer
  4413. wrstandardcode:
  4414. description: 品类代码
  4415. type: string
  4416. wrstandardid:
  4417. description: 品类ID
  4418. type: integer
  4419. wrstandardname:
  4420. description: 品类名称
  4421. type: string
  4422. type: object
  4423. models.Ermcp3ArealSumPL:
  4424. properties:
  4425. accountname:
  4426. description: 机构名称
  4427. type: string
  4428. areauserid:
  4429. description: 所属机构\交易用户ID
  4430. type: integer
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. enddate:
  4447. description: 结束交易日
  4448. type: string
  4449. enumdicname:
  4450. description: 单位名称(套保品种)
  4451. type: string
  4452. futureactualpl:
  4453. description: 期货损益
  4454. type: number
  4455. futurefloatpl:
  4456. description: 期货浮动损益
  4457. type: number
  4458. goodsunitid:
  4459. description: 套保品种单位id
  4460. type: integer
  4461. middlegoodscode:
  4462. description: 套保品种代码
  4463. type: string
  4464. middlegoodsid:
  4465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4466. type: integer
  4467. middlegoodsname:
  4468. description: 套保品种名称
  4469. type: string
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotactualpl:
  4474. description: 现货损益
  4475. type: number
  4476. spotfloatpl:
  4477. description: 现货浮动损益
  4478. type: number
  4479. sumactualpl:
  4480. description: 实际损益 = (ActualPL + FutureActualPL)
  4481. type: number
  4482. sumpl:
  4483. description: 汇总损益
  4484. type: number
  4485. updatetime:
  4486. description: 更新时间
  4487. type: string
  4488. type: object
  4489. models.Ermcp3Brand:
  4490. properties:
  4491. areauserid:
  4492. description: 用户id
  4493. type: integer
  4494. brandid:
  4495. description: 品牌id
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. deliverygoodsid:
  4501. description: 品种ID
  4502. type: integer
  4503. type: object
  4504. models.Ermcp3Contract:
  4505. properties:
  4506. accountid:
  4507. description: 期货账户id
  4508. type: string
  4509. amount:
  4510. description: 金额 [1:一口价、3:暂定价]
  4511. type: number
  4512. attachment:
  4513. description: 附件
  4514. type: string
  4515. auditremark:
  4516. description: 审核意见
  4517. type: string
  4518. audittime:
  4519. description: 审核时间
  4520. type: string
  4521. biztype:
  4522. description: 业务类型 1-套保 2-套利
  4523. type: integer
  4524. brandname:
  4525. description: 品牌名称
  4526. type: string
  4527. buynickname:
  4528. description: 销售方昵称
  4529. type: string
  4530. buyuserid:
  4531. description: 采购方ID
  4532. type: integer
  4533. buyusername:
  4534. description: 采购方名称
  4535. type: string
  4536. contracctstatus:
  4537. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4538. type: integer
  4539. contractmargin:
  4540. description: 合同保证金
  4541. type: number
  4542. contractno:
  4543. description: 现货合同编号
  4544. type: string
  4545. contracttype:
  4546. description: 现货合同类型 - 1:采购 -1:销售
  4547. type: integer
  4548. convertfactor:
  4549. description: 标仓系数(品类)
  4550. type: number
  4551. createtime:
  4552. description: 创建时间
  4553. type: string
  4554. currencyid:
  4555. description: 币种id
  4556. type: integer
  4557. currencyname:
  4558. description: 币种名称
  4559. type: string
  4560. deliveryenddate:
  4561. description: 交收期(结束)
  4562. type: string
  4563. deliverygoodscode:
  4564. description: 现货品种代码
  4565. type: string
  4566. deliverygoodsid:
  4567. description: 现货品种ID
  4568. type: integer
  4569. deliverygoodsname:
  4570. description: 现货品种名称
  4571. type: string
  4572. deliverystartdate:
  4573. description: 交收期(开始)
  4574. type: string
  4575. enddate:
  4576. description: 点价结束日期 [2:点价 3:暂定价]
  4577. type: string
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. goodscode:
  4582. description: 点价合约代码
  4583. type: string
  4584. goodsid:
  4585. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4586. type: integer
  4587. goodsname:
  4588. description: 点价商品名称
  4589. type: string
  4590. margin:
  4591. description: 当前保证金
  4592. type: number
  4593. meruserid:
  4594. description: 跟单员id
  4595. type: integer
  4596. meruserlogincode:
  4597. description: 跟单员登录代码
  4598. type: string
  4599. merusername:
  4600. description: 跟单员名称
  4601. type: string
  4602. price:
  4603. description: 价格\暂定价 [1:一口价、3:暂定价]
  4604. type: number
  4605. pricemove:
  4606. description: 升贴水 [2:点价 3:暂定价]
  4607. type: number
  4608. pricetype:
  4609. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4610. type: integer
  4611. producttype:
  4612. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4613. type: integer
  4614. qty:
  4615. description: 数量
  4616. type: number
  4617. remark:
  4618. description: 备注
  4619. type: string
  4620. saleuserid:
  4621. description: 业务员id
  4622. type: integer
  4623. saleuserlogincode:
  4624. description: 业务员登录代码
  4625. type: string
  4626. saleusername:
  4627. description: 业务员名称
  4628. type: string
  4629. sellnickname:
  4630. description: 采购方昵称
  4631. type: string
  4632. selluserid:
  4633. description: 销售方ID
  4634. type: integer
  4635. sellusername:
  4636. description: 销售方名称
  4637. type: string
  4638. spotcontractid:
  4639. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(DGFactoryItem表的ID)
  4643. type: integer
  4644. spotgoodsdesc:
  4645. description: 商品型号
  4646. type: string
  4647. startdate:
  4648. description: 点价开始日期 [2:点价 3:暂定价]
  4649. type: string
  4650. subjectid:
  4651. description: 交易主体ID
  4652. type: string
  4653. subjectname:
  4654. description: 交易主体名称
  4655. type: string
  4656. tradeuserid:
  4657. description: 交易员id
  4658. type: integer
  4659. tradeuserlogincode:
  4660. description: 交易员登录代码
  4661. type: string
  4662. tradeusername:
  4663. description: 交易员名称
  4664. type: string
  4665. unitid:
  4666. description: 单位id(取品类上的单位id)
  4667. type: integer
  4668. updatetime:
  4669. description: 更新时间
  4670. type: string
  4671. userid:
  4672. description: 所属机构ID
  4673. type: integer
  4674. vatrate:
  4675. description: 增值税率
  4676. type: number
  4677. wrstandardcode:
  4678. description: 品类代码
  4679. type: string
  4680. wrstandardid:
  4681. description: 品类ID
  4682. type: integer
  4683. wrstandardname:
  4684. description: 品类名称
  4685. type: string
  4686. type: object
  4687. models.Ermcp3ExposureContractDetail:
  4688. properties:
  4689. biztype:
  4690. description: 业务类型 1-套保 2-套利
  4691. type: integer
  4692. brandname:
  4693. description: 品牌名称
  4694. type: string
  4695. buyuserid:
  4696. description: 采购方id
  4697. type: integer
  4698. buyusername:
  4699. description: 采购方名称
  4700. type: string
  4701. contractno:
  4702. description: 合同编号
  4703. type: string
  4704. contracttype:
  4705. description: 现货合同类型 - 1:采购 -1:销售
  4706. type: integer
  4707. convertfactor:
  4708. description: 标仓系数
  4709. type: number
  4710. convertratio:
  4711. description: 折算系数(套保品种)
  4712. type: number
  4713. curqty:
  4714. description: 今定价量
  4715. type: number
  4716. deliverygoodscode:
  4717. description: 现货商品代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货商品id
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货商品名称
  4724. type: string
  4725. diffhedgeqty:
  4726. description: 套保变动量
  4727. type: number
  4728. diffneedhedgeqty:
  4729. description: 应套保变动量
  4730. type: number
  4731. diffqty:
  4732. description: 套保品种今变动量
  4733. type: number
  4734. enumdicname:
  4735. description: 单位名称
  4736. type: string
  4737. mgunitname:
  4738. description: 套保品种单位名称
  4739. type: string
  4740. middlegoodscode:
  4741. description: 套保品种代码
  4742. type: string
  4743. middlegoodsid:
  4744. description: 套保品种id
  4745. type: integer
  4746. middlegoodsname:
  4747. description: 套保品种名称
  4748. type: string
  4749. needarbitrageratio:
  4750. description: 应套利比例
  4751. type: number
  4752. needhedgeratio:
  4753. description: 应套保比例
  4754. type: number
  4755. pricedqty:
  4756. description: 已定价量
  4757. type: number
  4758. qty:
  4759. description: 合同量
  4760. type: number
  4761. selluserid:
  4762. description: 销售方id
  4763. type: integer
  4764. sellusername:
  4765. description: 销售方名称
  4766. type: string
  4767. spotcontractid:
  4768. description: 合同id
  4769. type: string
  4770. todaypricedqty:
  4771. description: 今定价量
  4772. type: number
  4773. tradedate:
  4774. description: 交易日
  4775. type: string
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. userid:
  4780. description: 机构id
  4781. type: integer
  4782. username:
  4783. description: 交易用户
  4784. type: string
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类id
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureDetail:
  4796. properties:
  4797. areauserid:
  4798. description: 机构ID
  4799. type: integer
  4800. changeQty:
  4801. description: 套保变动量
  4802. type: number
  4803. contracttype:
  4804. description: 现货合同类型 - 1:采购 -1:销售
  4805. type: integer
  4806. convertfactor:
  4807. description: 标仓系数
  4808. type: number
  4809. convertratio:
  4810. description: 折算系数
  4811. type: number
  4812. createtime:
  4813. description: 时间
  4814. type: string
  4815. enumdicname:
  4816. description: 现货商品单位名称
  4817. type: string
  4818. logtype:
  4819. description: 类型 - 1:套保计划 2:现货合同
  4820. type: integer
  4821. mgunitid:
  4822. description: 套保品种单位id
  4823. type: integer
  4824. mgunitidname:
  4825. description: 套保品种单位名称
  4826. type: string
  4827. middlegoodsId:
  4828. description: 套保商品id
  4829. type: integer
  4830. middlegoodscode:
  4831. description: 套保商品代码
  4832. type: string
  4833. middlegoodsname:
  4834. description: 套保商品名称
  4835. type: string
  4836. qty:
  4837. description: 数量
  4838. type: number
  4839. relateNo:
  4840. description: 现货合同/套保计划编号
  4841. type: string
  4842. unitid:
  4843. description: 现货商品单位id
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID(SEQ_WRSTANDARD)
  4850. type: integer
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.Ermcp3ExposureFutuDetail:
  4856. properties:
  4857. accountid:
  4858. description: 交易账户id
  4859. type: integer
  4860. accountname:
  4861. description: 交易账户
  4862. type: string
  4863. begindate:
  4864. description: 开始交易日
  4865. type: string
  4866. buyorsell:
  4867. description: 方向 0-买 1-卖
  4868. type: integer
  4869. diffmgqty:
  4870. description: 套保品种今变化量
  4871. type: number
  4872. diffneedqty:
  4873. description: 应套保总量变化量
  4874. type: number
  4875. difftradeqty:
  4876. description: 交易品种今变化量
  4877. type: number
  4878. enddate:
  4879. description: 结束交易日
  4880. type: string
  4881. enumdicname:
  4882. description: 单位名称
  4883. type: string
  4884. goodscode:
  4885. description: 商品代码
  4886. type: string
  4887. goodsid:
  4888. description: 商品id
  4889. type: integer
  4890. goodsname:
  4891. description: 商品名称
  4892. type: string
  4893. holdqty:
  4894. description: 期末持仓量
  4895. type: number
  4896. middlegoodscode:
  4897. description: 套保商品代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保商品id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保商品名称
  4904. type: string
  4905. oriholdqty:
  4906. description: 期初持仓量
  4907. type: number
  4908. todaycloseqty:
  4909. description: 今平仓量
  4910. type: number
  4911. todayopenqty:
  4912. description: 今开仓量
  4913. type: number
  4914. tradedate:
  4915. description: 交易日
  4916. type: string
  4917. type: object
  4918. models.Ermcp3ExposureHedgeplanDetail:
  4919. properties:
  4920. biztype:
  4921. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4922. type: integer
  4923. changqty:
  4924. description: 应套保总量变化量
  4925. type: number
  4926. contracttype:
  4927. description: 计划类型 - 1:采购 -1:销售
  4928. type: integer
  4929. convertratio:
  4930. description: 折算系数(套保品种)
  4931. type: number
  4932. deliverygoodscode:
  4933. description: 现货商品代码
  4934. type: string
  4935. deliverygoodsid:
  4936. description: 现货商品id
  4937. type: integer
  4938. deliverygoodsname:
  4939. description: 现货商吕名称
  4940. type: string
  4941. dgunitid:
  4942. description: 现货商品单位id
  4943. type: integer
  4944. dgunitidname:
  4945. description: 单位名称(现货商品)
  4946. type: string
  4947. diffqty:
  4948. description: 套保品种今变动量
  4949. type: number
  4950. enumdicname:
  4951. description: 单位名称(品类)
  4952. type: string
  4953. hedgeplanid:
  4954. description: 套保计划id
  4955. type: string
  4956. hedgeplanno:
  4957. description: 套保计划名称
  4958. type: string
  4959. hedgeplanstatus:
  4960. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4961. type: integer
  4962. mgunitidname:
  4963. description: 单位名称(套保商品)
  4964. type: string
  4965. middlegoodscode:
  4966. description: 套保品种代码
  4967. type: string
  4968. middlegoodsid:
  4969. description: 套保品种id
  4970. type: integer
  4971. middlegoodsname:
  4972. description: 套保品种名称
  4973. type: string
  4974. needarbitrageratio:
  4975. description: 应套利比例
  4976. type: number
  4977. needhedgeratio:
  4978. description: 应套保比例
  4979. type: number
  4980. pricedqty:
  4981. description: 已定价量
  4982. type: number
  4983. qty:
  4984. description: 合同量
  4985. type: number
  4986. tradedate:
  4987. description: 交易日(登记日)
  4988. type: string
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. userid:
  4993. description: 机构id
  4994. type: integer
  4995. wrstandardcode:
  4996. description: 品类代码
  4997. type: string
  4998. wrstandardid:
  4999. description: 品类id
  5000. type: integer
  5001. wrstandardname:
  5002. description: 品类名称
  5003. type: string
  5004. type: object
  5005. models.Ermcp3ExposureParamChLog:
  5006. properties:
  5007. accountid:
  5008. description: 期货账户ID (作废, 默认为0)
  5009. type: integer
  5010. aftervalue:
  5011. description: 应套保\套利量变更后(调整后应套保总量)
  5012. type: number
  5013. areauserid:
  5014. description: 所属机构\交易用户ID
  5015. type: integer
  5016. beforevalue:
  5017. description: 应套保\套利量变更前(调整前应套保总量)
  5018. type: number
  5019. begindate:
  5020. description: 开始交易日
  5021. type: string
  5022. changelogtype:
  5023. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5024. type: integer
  5025. curvalue:
  5026. description: 当前套保\套利量(套保总量|套利总量)
  5027. type: number
  5028. diffvalue:
  5029. description: 应套保总量变化量
  5030. type: number
  5031. enddate:
  5032. description: 结束交易日
  5033. type: string
  5034. logdatetime:
  5035. description: 流水日期
  5036. type: string
  5037. logid:
  5038. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5039. type: string
  5040. middlegoodscode:
  5041. description: 套保品种代码
  5042. type: string
  5043. middlegoodsid:
  5044. description: 套保品种
  5045. type: integer
  5046. middlegoodsname:
  5047. description: 套保品种名称
  5048. type: string
  5049. paramaftervalue:
  5050. description: 参数变更后(调整后参数值)
  5051. type: number
  5052. parambeforevalue:
  5053. description: 参数变更前(调整前参数值)
  5054. type: number
  5055. tradedate:
  5056. description: 交易日(yyyyMMdd)
  5057. type: string
  5058. type: object
  5059. models.Ermcp3ExpourseReport:
  5060. properties:
  5061. accountid:
  5062. description: 期货账户ID (作废, 默认为0)
  5063. type: integer
  5064. accountname:
  5065. description: 机构名称
  5066. type: string
  5067. arbitrageqty:
  5068. description: 套利量
  5069. type: number
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. buyfutureqty:
  5077. description: 买入期货数量
  5078. type: number
  5079. buyplanqty:
  5080. description: 采购计划数量
  5081. type: number
  5082. buypricedqty:
  5083. description: 采购合同已定价数量
  5084. type: number
  5085. cycletime:
  5086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5087. type: string
  5088. cycletype:
  5089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5090. type: integer
  5091. diffexposure:
  5092. description: 变动量(套保敞口)
  5093. type: number
  5094. difffutuqty:
  5095. description: 变动量(期货)
  5096. type: number
  5097. diffhedgeqty:
  5098. description: 变动量(现货应套保总量)
  5099. type: number
  5100. diffmgqtya:
  5101. description: 套保变动量
  5102. type: number
  5103. diffmgqtyb:
  5104. description: 套利变动量
  5105. type: number
  5106. diffqty:
  5107. description: 变动量(总敞口)
  5108. type: number
  5109. diffspotqty:
  5110. description: 变动量(现货)
  5111. type: number
  5112. enddate:
  5113. description: 结束交易日
  5114. type: string
  5115. enumdicname:
  5116. description: 单位名称
  5117. type: string
  5118. hedgeqty:
  5119. description: 套保量
  5120. type: number
  5121. mgneedhedgeratio:
  5122. description: 套保比例(套保品的)
  5123. type: number
  5124. middlegoodsid:
  5125. description: 套保品种ID
  5126. type: integer
  5127. middlegoodsname:
  5128. description: 套保商品名称
  5129. type: string
  5130. middlgoodscode:
  5131. description: 套保商品代码
  5132. type: string
  5133. needarbitrageqty:
  5134. description: 应套利量
  5135. type: number
  5136. needarbitrageratio:
  5137. description: 套利比例(套保品的)
  5138. type: number
  5139. needhedgeexposoure:
  5140. description: 应套保敞口(套保敞口)
  5141. type: number
  5142. needhedgeqty:
  5143. description: 应套保量
  5144. type: number
  5145. needhedgeratio:
  5146. description: 应套保敞口比例
  5147. type: number
  5148. oriarbitrageqty:
  5149. description: 期初套利量
  5150. type: number
  5151. oribuyfutureqty:
  5152. description: 期初买入期货数量
  5153. type: number
  5154. oribuyplanqty:
  5155. description: 期初采购计划数量
  5156. type: number
  5157. oribuypricedqty:
  5158. description: 期初采购合同已定价数量
  5159. type: number
  5160. orihedgeqty:
  5161. description: 期初套保量
  5162. type: number
  5163. orineedarbitrageqty:
  5164. description: 期初应套利量
  5165. type: number
  5166. orineedhedgeexposoure:
  5167. description: 期初应套保敞口
  5168. type: number
  5169. orineedhedgeqty:
  5170. description: 期初应套保量
  5171. type: number
  5172. orisellfutureqty:
  5173. description: 期初卖出期货数量
  5174. type: number
  5175. orisellplanqty:
  5176. description: 期初销售计划数量
  5177. type: number
  5178. orisellpricedqty:
  5179. description: 期初销售合同已定价数量
  5180. type: number
  5181. oritotalexposure:
  5182. description: 期初实时总敞口
  5183. type: number
  5184. oritotalfutureqty:
  5185. description: 期初期货头寸总量
  5186. type: number
  5187. oritotalneedhedgeqty:
  5188. description: 期初应套保总量
  5189. type: number
  5190. oritotalspotqty:
  5191. description: 期初现货头寸总量
  5192. type: number
  5193. reckondate:
  5194. description: 日照时期(yyyyMMdd)
  5195. type: string
  5196. sellfutureqty:
  5197. description: 卖出期货数量
  5198. type: number
  5199. sellplanqty:
  5200. description: 销售计划数量
  5201. type: number
  5202. sellpricedqty:
  5203. description: 销售合同已定价数量
  5204. type: number
  5205. totalexposure:
  5206. description: 实时总敞口(总敞口)
  5207. type: number
  5208. totalfutureqty:
  5209. description: 期货头寸总量(期货总量)
  5210. type: number
  5211. totalhedgeratio:
  5212. description: 敞口比例
  5213. type: number
  5214. totalneedhedgeqty:
  5215. description: 应套保总量(现货应套保总量)
  5216. type: number
  5217. totalspotqty:
  5218. description: 现货头寸总量
  5219. type: number
  5220. unitid:
  5221. description: 单位id
  5222. type: integer
  5223. updatetime:
  5224. description: 更新时间
  5225. type: string
  5226. type: object
  5227. models.Ermcp3FinanceReport:
  5228. properties:
  5229. accountname:
  5230. description: 机构名称
  5231. type: string
  5232. areauserid:
  5233. description: 所属机构\交易用户ID
  5234. type: integer
  5235. begindate:
  5236. description: 开始交易日
  5237. type: string
  5238. biztype:
  5239. description: 业务类型 - 1:套保 2:套利
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. buypreinvoicedamount:
  5245. description: 采购预收票额(预收票额)
  5246. type: number
  5247. buyprepaidamount:
  5248. description: 采购预付款额(预付货款额)
  5249. type: number
  5250. buytodayinvoiceamount:
  5251. description: 采购今收票额(今收票额)
  5252. type: number
  5253. buytodayrefundamount:
  5254. description: 采购今收退款额(今收退款额)
  5255. type: number
  5256. buytodaysettleamount:
  5257. description: 采购今付款额(今付货款额)
  5258. type: number
  5259. buyuninvoicedamount:
  5260. description: 采购应收票额(应收票额)
  5261. type: number
  5262. buyunpaidamount:
  5263. description: 采购应付款额(应付货款额)
  5264. type: number
  5265. currencyid:
  5266. description: 结算币种ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. cycletime:
  5272. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5273. type: string
  5274. cycletype:
  5275. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5276. type: integer
  5277. deliverygoodscode:
  5278. description: 现货品种代码
  5279. type: string
  5280. deliverygoodsid:
  5281. description: 现货品种ID
  5282. type: integer
  5283. deliverygoodsname:
  5284. description: 现货品种名称
  5285. type: string
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. sellpreinvoicedamount:
  5293. description: 销售预开票额(预开票额)
  5294. type: number
  5295. sellprepaidamount:
  5296. description: 销售预收款额(预收货款额)
  5297. type: number
  5298. selltodayinvoiceamount:
  5299. description: 销售今开票额(今开票额)
  5300. type: number
  5301. selltodayrefundamount:
  5302. description: 销售今付退款额(今付退款额)
  5303. type: number
  5304. selltodaysettleamount:
  5305. description: 销售今收款额(今收货款额)
  5306. type: number
  5307. selluninvoicedamount:
  5308. description: 销售应开票额(应开票额)
  5309. type: number
  5310. sellunpaidamount:
  5311. description: 销售应收款额(应收货款额)
  5312. type: number
  5313. spotgoodsbrandid:
  5314. description: 现货品牌ID
  5315. type: integer
  5316. todaypaysum:
  5317. description: 今付款合计
  5318. type: number
  5319. todayreceivesum:
  5320. description: 今收款合计
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. wrfactortypeid:
  5326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5327. type: integer
  5328. wrstandardcode:
  5329. description: 品类代码
  5330. type: string
  5331. wrstandardid:
  5332. description: 现货商品ID
  5333. type: integer
  5334. wrstandardname:
  5335. description: 品类名称
  5336. type: string
  5337. type: object
  5338. models.Ermcp3GoodsGroup:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. areauserid:
  5344. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5345. type: integer
  5346. canshort:
  5347. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5348. type: integer
  5349. closepricemode:
  5350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5351. type: integer
  5352. createtime:
  5353. description: 创建时间
  5354. type: string
  5355. creatorid:
  5356. description: 创建人
  5357. type: integer
  5358. currencyid:
  5359. description: 报价货币ID
  5360. type: integer
  5361. decimalplace:
  5362. description: 报价小数位
  5363. type: integer
  5364. enumdicname:
  5365. description: 单位名称
  5366. type: string
  5367. exchangefullname:
  5368. description: 交易所全称
  5369. type: string
  5370. excludecfg:
  5371. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5372. type: integer
  5373. exexchangecode:
  5374. description: 交易所代码
  5375. type: string
  5376. exexchangeid:
  5377. description: 外部交易所ID[通道交易]
  5378. type: integer
  5379. exexchangename:
  5380. description: 交易所名称
  5381. type: string
  5382. goodsgroupid:
  5383. description: 商品组ID(自增ID)
  5384. type: integer
  5385. goodsgroupname:
  5386. description: 商品组名称
  5387. type: string
  5388. goodsgroupstatus:
  5389. description: 商品组状态 - 1:正常 2:注销
  5390. type: integer
  5391. goodunitid:
  5392. description: 报价单位ID
  5393. type: integer
  5394. groupcategroyid:
  5395. description: 品种分类ID
  5396. type: integer
  5397. innerdealmode:
  5398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5399. type: integer
  5400. marketid:
  5401. description: 所属市场ID
  5402. type: integer
  5403. modifierid:
  5404. description: 修改人
  5405. type: integer
  5406. modifytime:
  5407. description: 修改时间
  5408. type: string
  5409. outerdealmode:
  5410. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5411. type: integer
  5412. outergroupcode:
  5413. description: 外部商品组代码[通道交易]
  5414. type: string
  5415. quoteminunit:
  5416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5417. type: integer
  5418. quotesourcegroupid:
  5419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5420. type: integer
  5421. syncgoodsqty:
  5422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5423. type: integer
  5424. required:
  5425. - areauserid
  5426. type: object
  5427. models.Ermcp3HedgePlan:
  5428. properties:
  5429. accountid:
  5430. description: 资金账号
  5431. type: integer
  5432. areauserid:
  5433. description: 用户ID
  5434. type: integer
  5435. auditid:
  5436. description: 审核id
  5437. type: integer
  5438. auditname:
  5439. description: 审核人名称
  5440. type: string
  5441. auditremark:
  5442. description: 审核备注
  5443. type: string
  5444. auditsrc:
  5445. description: 审核来源 1-管理端 2-终端
  5446. type: integer
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. contracttype:
  5451. description: 计划类型 - 1:采购 -1:销售
  5452. type: integer
  5453. convertfactor:
  5454. description: 标仓系数
  5455. type: number
  5456. createtime:
  5457. description: 创建时间
  5458. type: string
  5459. currencyid:
  5460. description: 币种id
  5461. type: integer
  5462. currencyname:
  5463. description: 币种名称
  5464. type: string
  5465. deliverygoodscode:
  5466. description: 现货品种代码
  5467. type: string
  5468. deliverygoodsid:
  5469. description: 现货品种ID
  5470. type: integer
  5471. deliverygoodsname:
  5472. description: 现货品种名称
  5473. type: string
  5474. enumdicname:
  5475. description: 单位名称(现货商品)
  5476. type: string
  5477. hedgeplanid:
  5478. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5479. type: string
  5480. hedgeplanno:
  5481. description: 套保计划编号(名称)
  5482. type: string
  5483. hedgeplanstatus:
  5484. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5485. type: integer
  5486. planqty:
  5487. description: 计划数量
  5488. type: number
  5489. plantime:
  5490. description: 计划时间
  5491. type: string
  5492. producttype:
  5493. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. spotgoodsdesc:
  5499. description: 商品型号
  5500. type: string
  5501. taaccountname:
  5502. description: 资金账号名称
  5503. type: string
  5504. tradeuserid:
  5505. description: 交易用户id
  5506. type: integer
  5507. tradeusername:
  5508. description: 交易用户名称
  5509. type: string
  5510. unitid:
  5511. description: 单位id(现货商品)
  5512. type: integer
  5513. updatetime:
  5514. description: 更新时间
  5515. type: string
  5516. vatrate:
  5517. description: 增值税率
  5518. type: number
  5519. wrstandardcode:
  5520. description: 品类代码
  5521. type: string
  5522. wrstandardid:
  5523. description: 品类id
  5524. type: integer
  5525. wrstandardname:
  5526. description: 品类名称
  5527. type: string
  5528. wrunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. wrunitidame:
  5532. description: 品类单位名称
  5533. type: string
  5534. type: object
  5535. models.Ermcp3InnerTradeLink:
  5536. properties:
  5537. accountid:
  5538. description: 期货账号代码 | 资金账号ID
  5539. type: integer
  5540. buyorsell:
  5541. description: 方向 - 0:买 1:卖
  5542. type: integer
  5543. channelbuildtype:
  5544. description: 委托单据类型 0:无 1:建仓 2:平仓
  5545. type: integer
  5546. currencyid:
  5547. description: 币种id
  5548. type: integer
  5549. currencyname:
  5550. description: 结算币种 名称
  5551. type: string
  5552. goodscode:
  5553. description: 商品代码
  5554. type: string
  5555. goodsid:
  5556. description: 商品ID
  5557. type: integer
  5558. goodsname:
  5559. description: 商品名称
  5560. type: string
  5561. outtradeid:
  5562. description: 外部成交单号
  5563. type: string
  5564. taname:
  5565. description: 期货账户名称
  5566. type: string
  5567. tradeid:
  5568. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5569. type: string
  5570. tradeprice:
  5571. description: 成交价格
  5572. type: number
  5573. tradeqty:
  5574. description: 期货成交数量
  5575. type: integer
  5576. tradetime:
  5577. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5578. type: string
  5579. username:
  5580. description: 用户名称
  5581. type: string
  5582. type: object
  5583. models.Ermcp3OutTradeLink:
  5584. properties:
  5585. buyorsell:
  5586. description: 买卖方向 - 0:买 1:卖
  5587. type: integer
  5588. channelbuildtype:
  5589. description: 开平标志- 0:无 1:建仓 2:平仓
  5590. type: integer
  5591. currencyname:
  5592. description: 币种名称
  5593. type: string
  5594. exexchangecode:
  5595. description: 交易所代码
  5596. type: string
  5597. exexchangename:
  5598. description: 交易所名称
  5599. type: string
  5600. goodscode:
  5601. description: 合约代码
  5602. type: string
  5603. goodsid:
  5604. description: 合约id
  5605. type: integer
  5606. goodsname:
  5607. description: 合约名称
  5608. type: string
  5609. hasinnerorder:
  5610. description: 是否有内部单关联 - 0:无 1:有
  5611. type: integer
  5612. hedgeaccountcode:
  5613. description: 外部账号 | 对冲账号
  5614. type: string
  5615. outtradeid:
  5616. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5617. type: string
  5618. tradeprice:
  5619. description: 成交价格
  5620. type: number
  5621. tradeqty:
  5622. description: 成交数量
  5623. type: integer
  5624. tradetime:
  5625. description: 成交时间
  5626. type: string
  5627. type: object
  5628. models.Ermcp3PaAreaAuditCfg:
  5629. properties:
  5630. areauserid:
  5631. description: 用户ID
  5632. type: integer
  5633. buyinauditflag:
  5634. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5635. type: integer
  5636. customerauditflag:
  5637. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5638. type: integer
  5639. deliveryauditflag:
  5640. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5641. type: integer
  5642. invoiceauditflag:
  5643. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5644. type: integer
  5645. moneyauditflag:
  5646. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5647. type: integer
  5648. operatorid:
  5649. description: 操作人
  5650. type: integer
  5651. operatorsrc:
  5652. description: 操作来源 - 1:管理端 2:终端
  5653. type: integer
  5654. pointpriceauditflag:
  5655. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5656. type: integer
  5657. produceinauditflag:
  5658. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5659. type: integer
  5660. produceoutauditflag:
  5661. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5662. type: integer
  5663. selloutauditflag:
  5664. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5665. type: integer
  5666. spotcontractauditflag:
  5667. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5668. type: integer
  5669. updatetime:
  5670. description: 更新时间
  5671. type: string
  5672. type: object
  5673. models.Ermcp3PaAreaSubject:
  5674. properties:
  5675. areauserid:
  5676. description: 所属机构
  5677. type: integer
  5678. canmodify:
  5679. description: 是否可修改 - 0:否 1:是
  5680. type: integer
  5681. createtime:
  5682. description: 创建时间
  5683. type: string
  5684. creatorid:
  5685. description: 创建人ID
  5686. type: string
  5687. creatorsrc:
  5688. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5689. type: integer
  5690. modifierid:
  5691. description: 修改人
  5692. type: string
  5693. modifiersrc:
  5694. description: 修改人来源 - 1:管理端 2:终端
  5695. type: integer
  5696. modifytime:
  5697. description: 修改时间
  5698. type: string
  5699. parentsubjectid:
  5700. description: 上级主体ID
  5701. type: string
  5702. remark:
  5703. description: 备注
  5704. type: string
  5705. subjectid:
  5706. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5707. type: integer
  5708. subjectname:
  5709. description: 主体名称
  5710. type: string
  5711. subjectstatus:
  5712. description: '主体状态 - 1:正常 2: 停用'
  5713. type: integer
  5714. subjecttype:
  5715. description: 主体类型 - 1:交易主体 2:业务部门
  5716. type: integer
  5717. type: object
  5718. models.Ermcp3PaTradeLink:
  5719. properties:
  5720. accountid:
  5721. description: 期货账户代码 | 账号ID
  5722. type: integer
  5723. agreeunit:
  5724. description: 合约乘数
  5725. type: number
  5726. buyorsell:
  5727. description: 方向 - 0:买 1:卖
  5728. type: integer
  5729. channelbuildtype:
  5730. description: 委托单据类型 0:无 1:建仓 2:平仓
  5731. type: integer
  5732. charge:
  5733. description: 手续费
  5734. type: number
  5735. closepl:
  5736. description: 平仓盈亏
  5737. type: number
  5738. closetype:
  5739. description: 平仓方式 - 0:无 1:平今 2:平昨
  5740. type: integer
  5741. convertratio:
  5742. description: 折算系数
  5743. type: number
  5744. enumdicname:
  5745. description: 单位名称
  5746. type: string
  5747. executeprice:
  5748. description: 执行价 [期权]
  5749. type: integer
  5750. goodscode:
  5751. description: 合约代码
  5752. type: string
  5753. goodsgroupid:
  5754. description: 对冲品种ID[期货合约商品组ID]
  5755. type: integer
  5756. goodsid:
  5757. description: 商品ID
  5758. type: integer
  5759. goodsname:
  5760. description: 合约名称
  5761. type: string
  5762. goodunitid:
  5763. description: 单位id
  5764. type: integer
  5765. hedgeflag:
  5766. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5767. type: integer
  5768. marketid:
  5769. description: 市场ID
  5770. type: integer
  5771. middlegoodsid:
  5772. description: 套保品种ID
  5773. type: integer
  5774. middlegoodsqty:
  5775. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5776. type: number
  5777. optioncode:
  5778. description: 期权代码 [期权]
  5779. type: string
  5780. ordertype:
  5781. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5782. type: integer
  5783. ordertypename:
  5784. description: 订单类型
  5785. type: string
  5786. parentaccountid:
  5787. description: 所属母账户
  5788. type: integer
  5789. premium:
  5790. description: 权利金 [期权]
  5791. type: number
  5792. relatedlot:
  5793. description: 已关联数量(已关联数量手) | db:关联手数
  5794. type: number
  5795. relatedouttradeid:
  5796. description: 关联外部成交单ID
  5797. type: string
  5798. relatedqty:
  5799. description: 关联数量
  5800. type: number
  5801. spotcontractid:
  5802. description: 现货合同ID [4:套期保值\10\11]
  5803. type: string
  5804. taname:
  5805. description: 期货账户名称
  5806. type: string
  5807. tradeamount:
  5808. description: 成交金额(账户)
  5809. type: number
  5810. tradedate:
  5811. description: 交易日(yyyyMMdd)
  5812. type: string
  5813. tradeid:
  5814. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5815. type: string
  5816. tradelot:
  5817. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5818. type: integer
  5819. tradeprice:
  5820. description: 成交价格
  5821. type: number
  5822. tradetime:
  5823. description: 时间 | db:成交时间
  5824. type: string
  5825. tradetype:
  5826. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5827. type: integer
  5828. userid:
  5829. description: 所属机构 - 所属母账户的UserID
  5830. type: string
  5831. username:
  5832. description: 用户名称
  5833. type: string
  5834. type: object
  5835. models.Ermcp3RootUserAccount:
  5836. properties:
  5837. accountname:
  5838. description: 账户名称(机构名称)
  5839. type: string
  5840. accountstatus:
  5841. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5842. type: integer
  5843. applysrc:
  5844. description: 申请来源 - 1:管理端 2:终端
  5845. type: integer
  5846. auditremark:
  5847. description: 审核备注
  5848. type: string
  5849. auditsrc:
  5850. description: 审核来源 - 1:管理端 2:终端
  5851. type: integer
  5852. audittime:
  5853. description: 审核时间
  5854. type: string
  5855. audituserid:
  5856. description: 审核人
  5857. type: integer
  5858. broker:
  5859. description: 所属经纪人ID
  5860. type: integer
  5861. canceltime:
  5862. description: 销户时间
  5863. type: string
  5864. canceluserid:
  5865. description: 销户人
  5866. type: integer
  5867. canrecommend:
  5868. description: 是否可推荐 - 0:不可 1;可
  5869. type: integer
  5870. createtime:
  5871. description: 创建时间
  5872. type: string
  5873. creatorid:
  5874. description: 创建人
  5875. type: integer
  5876. hasauth:
  5877. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5878. type: integer
  5879. isanonymous:
  5880. description: 是否匿名下单 - 0:否 1:是
  5881. type: integer
  5882. maxinvestornum:
  5883. description: 最大用户数(经纪会员下投资者个数)
  5884. type: integer
  5885. memberuserid:
  5886. description: 所属会员ID
  5887. type: integer
  5888. modifierid:
  5889. description: 修改人
  5890. type: integer
  5891. modifyremark:
  5892. description: 变更备注
  5893. type: string
  5894. modifystatus:
  5895. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5896. type: integer
  5897. modifytime:
  5898. description: 修改时间
  5899. type: string
  5900. parenttopuser:
  5901. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5902. type: string
  5903. parentuserid:
  5904. description: 所属机构ID
  5905. type: integer
  5906. reckonaccountid:
  5907. description: 默认结算资金账号ID(机构分润使用) 作废
  5908. type: integer
  5909. refercount:
  5910. description: 推荐总人数
  5911. type: integer
  5912. refereeuserid:
  5913. description: 推荐人ID
  5914. type: integer
  5915. refernum:
  5916. description: 推荐码
  5917. type: string
  5918. rootuserid:
  5919. description: 根用户ID
  5920. type: integer
  5921. subaccountlevel:
  5922. description: 子账户层数
  5923. type: integer
  5924. subarealevelpath:
  5925. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5926. type: string
  5927. userid:
  5928. description: 用户ID
  5929. type: integer
  5930. usertype:
  5931. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5932. type: integer
  5933. type: object
  5934. models.Ermcp3SCMiddleGoods:
  5935. properties:
  5936. contractno:
  5937. description: 合同编号
  5938. type: string
  5939. contracttype:
  5940. description: 合同类型 1:采购 -1:销售
  5941. type: integer
  5942. customername:
  5943. description: 对手手名称
  5944. type: string
  5945. customeruserid:
  5946. description: 对手id
  5947. type: integer
  5948. middlegoodsid:
  5949. description: 套保品种ID
  5950. type: integer
  5951. middlegoodspricedqty3:
  5952. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  5953. type: number
  5954. needhedgeratio:
  5955. description: 套保比例
  5956. type: number
  5957. pricedqty:
  5958. description: 已关联数量 | 已定价量
  5959. type: number
  5960. spotcontractid:
  5961. description: 合同编号
  5962. type: string
  5963. unitid:
  5964. description: 现货单位id
  5965. type: integer
  5966. userid:
  5967. description: 用户id
  5968. type: integer
  5969. vatrate:
  5970. description: 增值税率
  5971. type: number
  5972. wrstandardcode:
  5973. description: 现货商品代码
  5974. type: string
  5975. wrstandardid:
  5976. description: 现货商品id
  5977. type: integer
  5978. wrstandardname:
  5979. description: 现货商品名称
  5980. type: string
  5981. type: object
  5982. models.Ermcp3SCMiddleGoodsReport:
  5983. properties:
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. contractno:
  5988. description: 合同编号
  5989. type: string
  5990. contracttype:
  5991. description: 合同类型 1:采购 -1:销售
  5992. type: integer
  5993. convertratio:
  5994. description: 折算系数
  5995. type: number
  5996. cycletime:
  5997. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5998. type: string
  5999. cycletype:
  6000. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6001. type: integer
  6002. deliverygoodscode:
  6003. description: 品种代码
  6004. type: string
  6005. deliverygoodsid:
  6006. description: 现货品种ID
  6007. type: integer
  6008. deliverygoodsname:
  6009. description: 品种名称
  6010. type: string
  6011. diffprice:
  6012. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6013. type: number
  6014. diffqty:
  6015. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6016. type: number
  6017. enddate:
  6018. description: 结束交易日
  6019. type: string
  6020. hedgeplanqty:
  6021. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6022. type: number
  6023. mathname:
  6024. description: 交易对手方
  6025. type: string
  6026. middlegoodscode:
  6027. description: 套保品种代码
  6028. type: string
  6029. middlegoodsid:
  6030. description: 套保品种ID
  6031. type: integer
  6032. middlegoodsname:
  6033. description: 套保品种名称
  6034. type: string
  6035. middlegoodspricedqty:
  6036. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6037. type: number
  6038. middlegoodspricedqty2:
  6039. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6040. type: number
  6041. middlegoodspricedqty3:
  6042. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6043. type: number
  6044. needhedgeratio:
  6045. description: 套保系数
  6046. type: number
  6047. pricedamount:
  6048. description: 已定价额(现货)
  6049. type: number
  6050. pricedamount2:
  6051. description: 已定价额(现货-基价额)
  6052. type: number
  6053. pricedqty:
  6054. description: 已定价量(现货)
  6055. type: number
  6056. reckondate:
  6057. description: 日照时期(yyyyMMdd)
  6058. type: string
  6059. relatedmiddlegoodsamount:
  6060. description: 已关联额(期货)
  6061. type: number
  6062. relatedmiddlegoodsqty:
  6063. description: 已关联量(套保品种)(期货)
  6064. type: number
  6065. spotcontractid:
  6066. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6067. type: string
  6068. todayavgfutuprice:
  6069. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  6070. type: number
  6071. todayavgprice:
  6072. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6073. type: number
  6074. todayavgprice2:
  6075. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6076. type: number
  6077. todaypricedamount:
  6078. description: 今日定价额(现货)
  6079. type: number
  6080. todaypricedamount2:
  6081. description: 今日定价额(现货-基价额)
  6082. type: number
  6083. todaypricedqty:
  6084. description: 今日定价量(现货)
  6085. type: number
  6086. todayrelatedmiddlegoodsamount:
  6087. description: 今日关联额(期货)
  6088. type: number
  6089. todayrelatedmiddlegoodsqty:
  6090. description: 今日关联量(期货)
  6091. type: number
  6092. updatetime:
  6093. description: 更新时间
  6094. type: string
  6095. userid:
  6096. description: 合同所属用户id
  6097. type: integer
  6098. vatrate:
  6099. description: 增值税率
  6100. type: number
  6101. wrstandardcode:
  6102. description: 商品(品类) 代码
  6103. type: string
  6104. wrstandardid:
  6105. description: 现货商品ID
  6106. type: integer
  6107. wrstandardname:
  6108. description: 商品(品类) 名称
  6109. type: string
  6110. type: object
  6111. models.Ermcp3SellBuyContract:
  6112. properties:
  6113. accountid:
  6114. description: 期货账户id
  6115. type: string
  6116. accountname:
  6117. description: 账户名称
  6118. type: string
  6119. attachment:
  6120. description: 附件
  6121. type: string
  6122. audittime:
  6123. description: 审核时间
  6124. type: string
  6125. biztype:
  6126. description: 业务类型 1-套保 2-套利
  6127. type: integer
  6128. brandname:
  6129. description: 品牌名称
  6130. type: string
  6131. contracctstatus:
  6132. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6133. type: integer
  6134. contractmargin:
  6135. description: 合同保证金
  6136. type: number
  6137. contractno:
  6138. description: 合同编号
  6139. type: string
  6140. contracttype:
  6141. description: 合同类型 1-采购, -1-销售
  6142. type: integer
  6143. convertfactor:
  6144. description: 标仓系数(品类)
  6145. type: number
  6146. createtime:
  6147. description: 创建时间
  6148. type: string
  6149. currencyid:
  6150. description: 币种id
  6151. type: integer
  6152. currencyname:
  6153. description: 币种名称
  6154. type: string
  6155. daikaiamount:
  6156. description: 应收(开)票额
  6157. type: number
  6158. deliveryenddate:
  6159. description: 交割结束日
  6160. type: string
  6161. deliverygoodscode:
  6162. description: 现货品种代码
  6163. type: string
  6164. deliverygoodsid:
  6165. description: 现货商品ID
  6166. type: integer
  6167. deliverygoodsname:
  6168. description: 现货品种名称
  6169. type: string
  6170. deliverystartdate:
  6171. description: 交割开始日
  6172. type: string
  6173. enddate:
  6174. description: 点价结束日
  6175. type: string
  6176. enumdicname:
  6177. description: 单位名称
  6178. type: string
  6179. goodscode:
  6180. description: 点价商品代码
  6181. type: string
  6182. goodsid:
  6183. description: 点价商品ID
  6184. type: integer
  6185. goodsname:
  6186. description: 点价商品名称
  6187. type: string
  6188. invoiceamount:
  6189. description: 已开票额
  6190. type: number
  6191. loanamount:
  6192. description: 贷款总额=已定价额+调整金额
  6193. type: number
  6194. margin:
  6195. description: 保证金
  6196. type: number
  6197. meruserid:
  6198. description: 跟单员id
  6199. type: integer
  6200. meruserlogincode:
  6201. description: 跟单员登录代码
  6202. type: string
  6203. merusername:
  6204. description: 跟单员名称
  6205. type: string
  6206. nickname:
  6207. description: 账户昵称
  6208. type: string
  6209. payamount:
  6210. description: 已收付额(收款或付款)
  6211. type: number
  6212. preinvoiceamount:
  6213. description: 预收(开)票额
  6214. type: number
  6215. prepayamount:
  6216. description: 预收付额
  6217. type: number
  6218. price:
  6219. description: 价格
  6220. type: number
  6221. pricedamount:
  6222. description: 已定价额
  6223. type: number
  6224. pricedavg:
  6225. description: 已点均价
  6226. type: number
  6227. pricedqty:
  6228. description: 已定价量
  6229. type: number
  6230. pricemove:
  6231. description: 升贴水
  6232. type: number
  6233. pricetype:
  6234. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6235. type: integer
  6236. producttype:
  6237. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6238. type: integer
  6239. qty:
  6240. description: 合同量
  6241. type: number
  6242. reckonadjustamount:
  6243. description: 调整金额
  6244. type: number
  6245. reckonedamount:
  6246. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6247. type: number
  6248. reckonotheramount:
  6249. description: 其它费用
  6250. type: number
  6251. reckonrealqty:
  6252. description: 已确定量
  6253. type: number
  6254. remark:
  6255. description: 备注
  6256. type: string
  6257. saleuserid:
  6258. description: 业务员id
  6259. type: integer
  6260. saleuserlogincode:
  6261. description: 业务员登录代码
  6262. type: string
  6263. saleusername:
  6264. description: 业务员名称
  6265. type: string
  6266. spotcontractid:
  6267. description: 合同ID
  6268. type: string
  6269. spotgoodsbrandid:
  6270. description: 现货品牌ID(DGFactoryItem表的ID)
  6271. type: integer
  6272. spotgoodsdesc:
  6273. description: 商品型号(商品规格)
  6274. type: string
  6275. startdate:
  6276. description: 点价开始日
  6277. type: string
  6278. subjectid:
  6279. description: 交易主体ID
  6280. type: string
  6281. subjectname:
  6282. description: 交易主体名称
  6283. type: string
  6284. totalamount:
  6285. description: 合计总额
  6286. type: number
  6287. tradeuserid:
  6288. description: 交易员id
  6289. type: integer
  6290. tradeuserlogincode:
  6291. description: 交易员登录代码
  6292. type: string
  6293. tradeusername:
  6294. description: 交易员名称
  6295. type: string
  6296. unpayamount:
  6297. description: 应收付款额(应支付或应收款)
  6298. type: number
  6299. unpricedqty:
  6300. description: 未定价量
  6301. type: number
  6302. unsureqty:
  6303. description: 未确定量
  6304. type: number
  6305. userid:
  6306. description: 机构ID
  6307. type: integer
  6308. vatrate:
  6309. description: 增值税率
  6310. type: number
  6311. wrstandardcode:
  6312. description: 品类代码
  6313. type: string
  6314. wrstandardid:
  6315. description: 品类ID
  6316. type: integer
  6317. wrstandardname:
  6318. description: 品类名称
  6319. type: string
  6320. type: object
  6321. models.Ermcp3SpotGoodsPrice:
  6322. properties:
  6323. areauserid:
  6324. description: 所属机构id
  6325. type: integer
  6326. brandname:
  6327. description: 品牌名称
  6328. type: string
  6329. currencyid:
  6330. description: 报价货币ID
  6331. type: integer
  6332. currencyname:
  6333. description: 币种名称
  6334. type: string
  6335. deliverygoodscode:
  6336. description: 现货商品代码
  6337. type: string
  6338. deliverygoodsid:
  6339. description: 现货商品id
  6340. type: integer
  6341. deliverygoodsname:
  6342. description: 现货商品名称
  6343. type: string
  6344. enumdicname:
  6345. description: 现货商品单位名称
  6346. type: string
  6347. gbenumdicname:
  6348. description: 品类单位名称
  6349. type: string
  6350. gmunitid:
  6351. description: 品类单位id
  6352. type: integer
  6353. isvalid:
  6354. description: 是否有效 - 0:无效 1:有效
  6355. type: integer
  6356. operateid:
  6357. description: 最后操作人
  6358. type: integer
  6359. operatesrc:
  6360. description: 最后操作来源 - 1:管理端 2:终端
  6361. type: integer
  6362. operatetime:
  6363. description: 最后操作时间
  6364. type: string
  6365. operatorname:
  6366. description: 操作人名称
  6367. type: string
  6368. spotgoodsbrandid:
  6369. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6370. type: integer
  6371. spotgoodsprice:
  6372. description: 现货价格
  6373. type: number
  6374. tradedate:
  6375. description: 交易日(yyyyMMdd)
  6376. type: string
  6377. unitid:
  6378. description: 现货商品单位id
  6379. type: integer
  6380. wrstandardcode:
  6381. description: 品类代码
  6382. type: string
  6383. wrstandardid:
  6384. description: 现货品类ID(通用则为0)
  6385. type: integer
  6386. wrstandardname:
  6387. description: 品类名称
  6388. type: string
  6389. type: object
  6390. models.Ermcp3SpotGoodsPriceLog:
  6391. properties:
  6392. areauserid:
  6393. description: 所属机构id
  6394. type: integer
  6395. brandname:
  6396. description: 品牌名称
  6397. type: string
  6398. currencyid:
  6399. description: 报价货币ID
  6400. type: integer
  6401. deliverygoodscode:
  6402. description: 现货商品代码
  6403. type: string
  6404. deliverygoodsid:
  6405. description: 现货商品id
  6406. type: integer
  6407. deliverygoodsname:
  6408. description: 现货商品名称
  6409. type: string
  6410. enumdicname:
  6411. description: 现货商品单位名称
  6412. type: string
  6413. gbenumdicname:
  6414. description: 品类单位名称
  6415. type: string
  6416. gmunitid:
  6417. description: 品类单位id
  6418. type: integer
  6419. logid:
  6420. description: 日志id
  6421. type: integer
  6422. operateid:
  6423. description: 最后操作人
  6424. type: integer
  6425. operatesrc:
  6426. description: 最后操作来源 - 1:管理端 2:终端
  6427. type: integer
  6428. operatetime:
  6429. description: 最后操作时间
  6430. type: string
  6431. operatorname:
  6432. description: 操作人名称
  6433. type: string
  6434. spotgoodsbrandid:
  6435. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6436. type: integer
  6437. spotgoodsprice:
  6438. description: 现货价格
  6439. type: number
  6440. tradedate:
  6441. description: 交易日(yyyyMMdd)
  6442. type: string
  6443. unitid:
  6444. description: 现货商品单位id
  6445. type: integer
  6446. wrstandardcode:
  6447. description: 品类代码
  6448. type: string
  6449. wrstandardid:
  6450. description: 现货品类ID(通用则为0)
  6451. type: integer
  6452. wrstandardname:
  6453. description: 品类名称
  6454. type: string
  6455. type: object
  6456. models.Ermcp3SubTaaccount:
  6457. properties:
  6458. accountid:
  6459. description: 资金账户ID
  6460. type: integer
  6461. parentaccountcode:
  6462. description: 所属根账号代码(母账号代码)
  6463. type: string
  6464. parentaccountid:
  6465. description: 所属根账号(母账号)
  6466. type: integer
  6467. taname:
  6468. description: 资金账号名称
  6469. type: string
  6470. tradestatus:
  6471. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6472. type: integer
  6473. username:
  6474. description: 交易用户
  6475. type: string
  6476. type: object
  6477. models.Ermcp3TaFutuReDataReport:
  6478. properties:
  6479. accountid:
  6480. description: 交易账户
  6481. type: integer
  6482. accountname:
  6483. description: 交易账号名称
  6484. type: string
  6485. agreeunit:
  6486. description: 商品合约单位
  6487. type: number
  6488. begindate:
  6489. description: 开始交易日
  6490. type: string
  6491. buyorsell:
  6492. description: 持仓方向
  6493. type: integer
  6494. charge:
  6495. description: 手续费
  6496. type: number
  6497. closeavgprice:
  6498. description: 平仓均价
  6499. type: number
  6500. closepl:
  6501. description: 平仓损益
  6502. type: number
  6503. currencyid:
  6504. description: 结算币种ID
  6505. type: integer
  6506. currencyname:
  6507. description: 币种名称
  6508. type: string
  6509. cycletime:
  6510. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6511. type: string
  6512. cycletype:
  6513. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6514. type: integer
  6515. enddate:
  6516. description: 结束交易日
  6517. type: string
  6518. enumdicname:
  6519. description: 单位名称
  6520. type: string
  6521. floatpl:
  6522. description: 浮动损益
  6523. type: number
  6524. goodscode:
  6525. description: 交易合约代码
  6526. type: string
  6527. goodsgroupid:
  6528. description: 交易品种
  6529. type: integer
  6530. goodsgroupname:
  6531. description: 交易品种名称
  6532. type: string
  6533. goodsgroupspotqty:
  6534. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6535. type: number
  6536. goodsid:
  6537. description: 交易合约
  6538. type: integer
  6539. goodsname:
  6540. description: 交易合约名称
  6541. type: string
  6542. goodunitid:
  6543. description: 交易合约单位id
  6544. type: integer
  6545. holdamount:
  6546. description: 期末持仓额
  6547. type: number
  6548. holdqty:
  6549. description: 期末持仓量
  6550. type: number
  6551. lastholdamount:
  6552. description: 当前持仓额
  6553. type: number
  6554. lastprice:
  6555. description: 最新价
  6556. type: number
  6557. middlegoodsid:
  6558. description: 套保品种id
  6559. type: integer
  6560. middlegoodsname:
  6561. description: 套保商品名称
  6562. type: string
  6563. middlegoodsqty:
  6564. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6565. type: number
  6566. middlgoodscode:
  6567. description: 套保商品代码
  6568. type: string
  6569. openamount:
  6570. description: 期末开仓额
  6571. type: number
  6572. openavgprice:
  6573. description: 开仓均价
  6574. type: number
  6575. oriholdamount:
  6576. description: 期初持仓额
  6577. type: number
  6578. oriholdqty:
  6579. description: 期初持仓量
  6580. type: number
  6581. oriopenamount:
  6582. description: 期初开仓额
  6583. type: number
  6584. outergroupcode:
  6585. description: 交易品种代码
  6586. type: string
  6587. qtydecimalplace:
  6588. description: 成交量小数位
  6589. type: integer
  6590. reckondate:
  6591. description: 日照时期(yyyyMMdd)
  6592. type: string
  6593. reckonholdamount:
  6594. description: 结算持仓额
  6595. type: number
  6596. reckonpl:
  6597. description: 结算损益
  6598. type: number
  6599. reckonpl2:
  6600. description: 结算逐笔盈亏
  6601. type: number
  6602. reckonprice:
  6603. description: 结算价
  6604. type: number
  6605. relateduserid:
  6606. description: 账户关联用户ID
  6607. type: integer
  6608. todaycloseamount:
  6609. description: 今平仓额
  6610. type: number
  6611. todaycloseqty:
  6612. description: 今平仓量
  6613. type: number
  6614. todaygoodsgroupspotqty:
  6615. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6616. type: number
  6617. todaymiddlegoodsqty:
  6618. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6619. type: number
  6620. todayopenamount:
  6621. description: 今开仓额
  6622. type: number
  6623. todayopenqty:
  6624. description: 今开仓量
  6625. type: number
  6626. userid:
  6627. description: 账户所属用户ID
  6628. type: integer
  6629. type: object
  6630. models.Ermcp3TradeLinkDetail:
  6631. properties:
  6632. accountid:
  6633. description: 资金账号
  6634. type: integer
  6635. agreeunit:
  6636. description: 合约乘数
  6637. type: number
  6638. areauserid:
  6639. description: 所属机构
  6640. type: string
  6641. bizsubjectid:
  6642. description: 归属业务部门ID - SubjectID
  6643. type: string
  6644. buyorsell:
  6645. description: 方向 - 0:买 1:卖
  6646. type: integer
  6647. channelbuildtype:
  6648. description: 委托单据类型 0:无 1:建仓 2:平仓
  6649. type: integer
  6650. contractno:
  6651. description: 现货编号 (合同编号)
  6652. type: string
  6653. convertratio:
  6654. description: 折算系数
  6655. type: number
  6656. createtime:
  6657. description: 关联时间 | 创建时间
  6658. type: string
  6659. creatorid:
  6660. description: 创建人ID
  6661. type: string
  6662. creatorsrc:
  6663. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6664. type: integer
  6665. enumdicname:
  6666. description: 单位名称
  6667. type: string
  6668. goodscode:
  6669. description: 合约代码
  6670. type: string
  6671. goodsgroupid:
  6672. description: 对冲品种ID[期货合约商品组ID]
  6673. type: integer
  6674. goodsid:
  6675. description: 商品ID
  6676. type: integer
  6677. goodsname:
  6678. description: 合约名称
  6679. type: string
  6680. hedgeflag:
  6681. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6682. type: integer
  6683. linkdetailid:
  6684. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6685. type: string
  6686. linkstatus:
  6687. description: 关联状态 - 1:成功 2:失败
  6688. type: integer
  6689. middlegoodsid:
  6690. description: 套保品种ID
  6691. type: integer
  6692. relatedlot:
  6693. description: 关联手数
  6694. type: number
  6695. relatedmode:
  6696. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6697. type: integer
  6698. relatedqty:
  6699. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6700. type: number
  6701. retcode:
  6702. description: 返回码
  6703. type: integer
  6704. saleuserid:
  6705. description: 业务员ID
  6706. type: string
  6707. spotcontractid:
  6708. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6709. type: string
  6710. taname:
  6711. description: 期货账户
  6712. type: string
  6713. tradedate:
  6714. description: 关联交易日(yyyyMMdd)
  6715. type: string
  6716. tradeid:
  6717. description: 期货订单号 | 内部成交单ID
  6718. type: string
  6719. tradelot:
  6720. description: 成交数量 | 成交手数
  6721. type: integer
  6722. tradeprice:
  6723. description: 成交价格
  6724. type: number
  6725. tradetime:
  6726. description: 期货成交时间
  6727. type: string
  6728. tradetradedate:
  6729. description: 成交交易日(yyyyMMdd)
  6730. type: string
  6731. username:
  6732. description: 用户名称
  6733. type: string
  6734. type: object
  6735. models.Ermcp3Wrstandard:
  6736. properties:
  6737. areauserid:
  6738. description: 所属机构
  6739. type: integer
  6740. cantrade:
  6741. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6742. type: integer
  6743. convertfactor:
  6744. description: 标仓系数
  6745. type: number
  6746. createtime:
  6747. description: 创建时间
  6748. type: string
  6749. creatorid:
  6750. description: 创建人
  6751. type: integer
  6752. deliverygoodsid:
  6753. description: 现货品种ID
  6754. type: integer
  6755. enumdicname:
  6756. description: 品类单位名称
  6757. type: string
  6758. isvalid:
  6759. description: 是否有效 0-无效(停用) 1-有效(正常)
  6760. type: integer
  6761. minivalue:
  6762. description: 最小变动值
  6763. type: integer
  6764. minivaluedp:
  6765. description: 最小变动值小数位
  6766. type: integer
  6767. realminivalue:
  6768. description: 实际最小变动值
  6769. type: integer
  6770. realminivaluedp:
  6771. description: 实际最小变动值小数位
  6772. type: integer
  6773. remark:
  6774. description: 备注
  6775. type: string
  6776. unitid:
  6777. description: 品类单位ID
  6778. type: integer
  6779. updatetime:
  6780. description: 更新时间
  6781. type: string
  6782. wrstandardcode:
  6783. description: 品类代码
  6784. type: string
  6785. wrstandardid:
  6786. description: 品类ID(SEQ_WRSTANDARD)
  6787. type: integer
  6788. wrstandardname:
  6789. description: 品类名称
  6790. type: string
  6791. type: object
  6792. models.ErmcpBizGroupEx:
  6793. properties:
  6794. acclist:
  6795. description: 账号列表
  6796. items:
  6797. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6798. type: array
  6799. bizgroupid:
  6800. description: 业务分组id
  6801. type: integer
  6802. biztype:
  6803. description: 业务类型 1-套保 2-套利
  6804. type: integer
  6805. wrlist:
  6806. description: 现货商品表
  6807. items:
  6808. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6809. type: array
  6810. type: object
  6811. models.ErmcpBizGroupSpotGoods:
  6812. properties:
  6813. areauserid:
  6814. description: 所属机构id
  6815. type: integer
  6816. bizgroupid:
  6817. description: 分组id
  6818. type: integer
  6819. biztype:
  6820. description: 业务类型 1-套保 2-套利
  6821. type: integer
  6822. deliverygoodscode:
  6823. description: 现货商品代码
  6824. type: string
  6825. deliverygoodsid:
  6826. description: 现货商品id
  6827. type: integer
  6828. deliverygoodsname:
  6829. description: 现货商品名称
  6830. type: string
  6831. unitid:
  6832. description: 现货商品单位id
  6833. type: integer
  6834. type: object
  6835. models.ErmcpBizGroupTaAccount:
  6836. properties:
  6837. accountid:
  6838. description: 账号id
  6839. type: integer
  6840. accountname:
  6841. description: 账号名称
  6842. type: string
  6843. areauserid:
  6844. description: 所属机构id
  6845. type: integer
  6846. bizgroupid:
  6847. description: 业务分组id
  6848. type: integer
  6849. ismain:
  6850. description: 是否主账号 1-是 0-否
  6851. type: integer
  6852. type: object
  6853. models.ErmcpDGFactoryItem:
  6854. properties:
  6855. areauserid:
  6856. description: 用户id
  6857. type: integer
  6858. deliverygoodsid:
  6859. description: 现货品种ID
  6860. type: integer
  6861. dgfactoryitemid:
  6862. description: 选择项ID(SEQ_DGFACTORYITEM)
  6863. type: integer
  6864. dgfactoryitemtypeid:
  6865. description: 要素项类型
  6866. type: integer
  6867. dgfactoryitemvalue:
  6868. description: 要素项值(类型为仓库时填写仓库名称)
  6869. type: string
  6870. isvalid:
  6871. description: 是否有效 - 0:无效 1:有效
  6872. type: integer
  6873. orderindex:
  6874. description: 顺序
  6875. type: integer
  6876. warehouseid:
  6877. description: 仓库ID(类型为仓库时填写)
  6878. type: integer
  6879. type: object
  6880. models.ErmcpDeliveryGoods:
  6881. properties:
  6882. agreeunit:
  6883. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6884. type: integer
  6885. areauserid:
  6886. description: 所属机构
  6887. type: integer
  6888. auditflag:
  6889. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6890. type: integer
  6891. categoryid:
  6892. description: 类别ID(SEQ_WRCATEGORY)
  6893. type: integer
  6894. deliverygoodscode:
  6895. description: 现货品种代码
  6896. type: string
  6897. deliverygoodsid:
  6898. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6899. type: integer
  6900. deliverygoodsname:
  6901. description: 现货品种名称
  6902. type: string
  6903. deliverygoodstype:
  6904. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6905. type: integer
  6906. dgstatus:
  6907. description: 品种状态 - 作废 - 0:未激活 1:正常
  6908. type: integer
  6909. enumdicname:
  6910. description: 现货品种单位名称
  6911. type: string
  6912. goodsunitid:
  6913. description: 现货品种单位ID
  6914. type: integer
  6915. isvalid:
  6916. description: 是否有效 - 0:无效 1:有效
  6917. type: integer
  6918. qtydecimalplace:
  6919. description: 成交量小数位
  6920. type: integer
  6921. remark:
  6922. description: 备注
  6923. type: string
  6924. standardqty:
  6925. description: 标准数量(库位数量) [标准品特有]
  6926. type: integer
  6927. standardqtyrange:
  6928. description: 标准数量偏差范围 [标准品特有]
  6929. type: integer
  6930. type: object
  6931. models.ErmcpFuturesCompany:
  6932. properties:
  6933. brokerid:
  6934. description: 经纪公司代码
  6935. type: string
  6936. channeladdress:
  6937. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6938. type: string
  6939. channelid:
  6940. description: 对冲渠道ID
  6941. type: string
  6942. createtime:
  6943. description: 创建时间
  6944. type: string
  6945. creatorid:
  6946. description: 创建人
  6947. type: string
  6948. fcid:
  6949. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6950. type: integer
  6951. fcname:
  6952. description: 期货公司名称
  6953. type: string
  6954. isvalid:
  6955. description: 是否有效 - 0:无效 1:有效
  6956. type: integer
  6957. mhpaddress:
  6958. description: MHP服务地址(IP:Port)
  6959. type: string
  6960. riskrulegroupid:
  6961. description: 风控规则组ID
  6962. type: string
  6963. tradefeetmpid:
  6964. description: 手续费模板ID[TradeConfigTmpType为2]
  6965. type: string
  6966. trademargintmpid:
  6967. description: 保证金模板ID [TradeConfigTmpType为1]
  6968. type: string
  6969. traderatetmpid:
  6970. description: 汇率模板ID[TradeConfigTmpType为3]
  6971. type: string
  6972. updatetime:
  6973. description: 更新时间
  6974. type: string
  6975. updatorid:
  6976. description: 更新人
  6977. type: string
  6978. type: object
  6979. models.ErmcpGGConvertCfg:
  6980. properties:
  6981. convertratio:
  6982. description: 折算系数
  6983. type: number
  6984. destgoodsgroupid:
  6985. description: 目标品种ID
  6986. type: integer
  6987. dstcode:
  6988. description: 目录品种代码
  6989. type: string
  6990. dstexchangecode:
  6991. description: 目标期货交易所
  6992. type: string
  6993. dstname:
  6994. description: 目标品种名称
  6995. type: string
  6996. dstunitid:
  6997. description: 目标品种单位ID
  6998. type: integer
  6999. dstunitidname:
  7000. description: 目标品种单位名称
  7001. type: string
  7002. modifytime:
  7003. description: 修改时间
  7004. type: string
  7005. srccode:
  7006. description: 源品种代码
  7007. type: string
  7008. srcexchangecode:
  7009. description: 源期货交易所
  7010. type: string
  7011. srcgoodsgroupid:
  7012. description: 源品种ID
  7013. type: integer
  7014. srcname:
  7015. description: 源品种名称
  7016. type: string
  7017. srcunitid:
  7018. description: 源品种单位ID
  7019. type: integer
  7020. srcunitidname:
  7021. description: 源品种单位名称
  7022. type: string
  7023. type: object
  7024. models.ErmcpGoods:
  7025. properties:
  7026. agreeunit:
  7027. description: 合约单位
  7028. type: number
  7029. areauserid:
  7030. description: 所属机构
  7031. type: integer
  7032. auditaccountid:
  7033. description: 审核操作员账号
  7034. type: integer
  7035. audittime:
  7036. description: 审核时间
  7037. type: string
  7038. cancelaccountid:
  7039. description: 注销操作员账号
  7040. type: integer
  7041. canceltime:
  7042. description: 注销时间
  7043. type: string
  7044. closepricemode:
  7045. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7046. type: integer
  7047. closepriceparam:
  7048. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7049. type: number
  7050. createtime:
  7051. description: 创建时间
  7052. type: string
  7053. creatorid:
  7054. description: 创建人
  7055. type: integer
  7056. currencyid:
  7057. description: 报价货币ID
  7058. type: integer
  7059. cutmode:
  7060. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7061. type: integer
  7062. decimalplace:
  7063. description: 报价小数位
  7064. type: integer
  7065. delistingdate:
  7066. description: 商品退市时间(状态:退市) -- 已作废
  7067. type: string
  7068. delistingmode:
  7069. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7070. type: integer
  7071. deliveryflag:
  7072. description: 交割标志 - 0:不可交割 1:可交割
  7073. type: integer
  7074. enumdicname:
  7075. description: 单位名称
  7076. type: string
  7077. forceclosemode:
  7078. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7079. type: integer
  7080. forceclosevalue:
  7081. description: 定期强平参数 [收益权]
  7082. type: integer
  7083. goodscode:
  7084. description: 商品代码(内部)
  7085. type: string
  7086. goodscurrencyid:
  7087. description: 合约货币ID
  7088. type: integer
  7089. goodsgroupid:
  7090. description: 所属商品组ID
  7091. type: integer
  7092. goodsid:
  7093. description: 商品ID(自增ID SEQ_GOODS)
  7094. type: integer
  7095. goodsname:
  7096. description: 商品名称
  7097. type: string
  7098. goodsquotetype:
  7099. description: '合约报价类型: 1-直接报价 2-间接报价'
  7100. type: integer
  7101. goodsstatus:
  7102. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7103. type: integer
  7104. goodstradetype:
  7105. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7106. type: integer
  7107. goodunitid:
  7108. description: 报价单位ID
  7109. type: integer
  7110. hasquoter:
  7111. description: 是否有报价商 - 0:无报价商 1:有报价商
  7112. type: integer
  7113. hqprotecttime:
  7114. description: 行情保护时间(秒)
  7115. type: integer
  7116. innerdealmode:
  7117. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7118. type: integer
  7119. isbuylimited:
  7120. description: 是否限制建仓量 - 0:不限制 1:限制
  7121. type: integer
  7122. isvisible:
  7123. description: 游客是否可见 - 0:不可见 1:可见
  7124. type: integer
  7125. lasttradedate:
  7126. description: 最后交易日期(状态:待退市)
  7127. type: string
  7128. listingdate:
  7129. description: 交易开始日期
  7130. type: string
  7131. marketid:
  7132. description: 所属市场ID
  7133. type: integer
  7134. modifierid:
  7135. description: 修改人
  7136. type: integer
  7137. modifystatus:
  7138. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7139. type: integer
  7140. modifytime:
  7141. description: 修改时间
  7142. type: string
  7143. outerdealmode:
  7144. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7145. type: integer
  7146. outgoodscode:
  7147. description: 商品代码(外部)
  7148. type: string
  7149. pictureurl:
  7150. description: 商品图片
  7151. type: string
  7152. qtydecimalplace:
  7153. description: 成交量小数位
  7154. type: integer
  7155. quotegear:
  7156. description: 行情档位(1-10)
  7157. type: integer
  7158. quoteminunit:
  7159. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7160. type: integer
  7161. quoteshowtype:
  7162. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7163. type: integer
  7164. quoteshowtypeinterval:
  7165. description: 行情报价间隔时间(秒)(成交价时为0)
  7166. type: integer
  7167. relatedgoodsid:
  7168. description: 关联参考商品ID
  7169. type: integer
  7170. remark:
  7171. description: 备注
  7172. type: string
  7173. trademode:
  7174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7175. type: integer
  7176. required:
  7177. - goodscode
  7178. - goodsid
  7179. - goodsname
  7180. - marketid
  7181. type: object
  7182. models.ErmcpGoodsBrand:
  7183. properties:
  7184. areauserid:
  7185. description: 所属机构
  7186. type: integer
  7187. brandid:
  7188. description: BrandID(SEQ_SPOTGOODSBRAND)
  7189. type: integer
  7190. brandname:
  7191. description: 品牌名称
  7192. type: string
  7193. createtime:
  7194. description: 创建时间
  7195. type: string
  7196. creatorid:
  7197. description: 创建人
  7198. type: integer
  7199. creatorsrc:
  7200. description: 创建人来源 - 1:管理端 2:终端
  7201. type: integer
  7202. deliverygoodsid:
  7203. description: 现货品种ID
  7204. type: integer
  7205. isvalid:
  7206. description: 是否有效 - 0:无效 1:有效
  7207. type: integer
  7208. updatetime:
  7209. description: 更新时间
  7210. type: string
  7211. updatorid:
  7212. description: 更新人
  7213. type: integer
  7214. updatorsrc:
  7215. description: 更新人来源 - 1:管理端 2:终端
  7216. type: integer
  7217. wrstandardid:
  7218. description: 现货商品ID
  7219. type: integer
  7220. type: object
  7221. models.ErmcpGoodsModel:
  7222. properties:
  7223. areauserid:
  7224. description: 所属机构
  7225. type: integer
  7226. convertfactor:
  7227. description: 标仓系数
  7228. type: number
  7229. createtime:
  7230. description: 创建时间
  7231. type: string
  7232. creatorid:
  7233. description: 创建人
  7234. type: integer
  7235. creatorsrc:
  7236. description: 创建人来源 - 1:管理端 2:终端
  7237. type: integer
  7238. deliverygoodsid:
  7239. description: 现货品种ID
  7240. type: integer
  7241. isvalid:
  7242. description: 是否有效 - 0:无效 1:有效
  7243. type: integer
  7244. modelid:
  7245. description: ModelID(SEQ_SPOTGOODSMODEL)
  7246. type: integer
  7247. modelname:
  7248. description: 型号名称
  7249. type: string
  7250. updatetime:
  7251. description: 更新时间
  7252. type: string
  7253. updatorid:
  7254. description: 更新人
  7255. type: integer
  7256. updatorsrc:
  7257. description: 更新人来源 - 1:管理端 2:终端
  7258. type: integer
  7259. wrstandardid:
  7260. description: 现货商品ID
  7261. type: integer
  7262. type: object
  7263. models.ErmcpHisExposure:
  7264. properties:
  7265. needhedgeexposoure:
  7266. description: 应套保敞口
  7267. type: number
  7268. reckondate:
  7269. description: 日照时期(yyyyMMdd)
  7270. type: string
  7271. totalexposure:
  7272. description: 总敞口
  7273. type: number
  7274. type: object
  7275. models.ErmcpLoginTaAccount:
  7276. properties:
  7277. accountid:
  7278. description: 账号id
  7279. type: integer
  7280. accountname:
  7281. description: 账号名称
  7282. type: string
  7283. type: object
  7284. models.ErmcpLoginUser:
  7285. properties:
  7286. acclist:
  7287. description: 关联资金账号
  7288. items:
  7289. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7290. type: array
  7291. accountname:
  7292. description: 用户名称
  7293. type: string
  7294. clientroleid:
  7295. description: 角色id(usertype=2)
  7296. type: integer
  7297. createtime:
  7298. description: 创建时间
  7299. type: string
  7300. logincode:
  7301. description: 登录代码
  7302. type: string
  7303. loginid:
  7304. description: 登录id(LOGINID)
  7305. type: integer
  7306. loginname:
  7307. description: 登录名称(loginaccount表中的accountname字段)
  7308. type: string
  7309. loginstatus:
  7310. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7311. type: integer
  7312. memberuserid:
  7313. description: 所属会员id
  7314. type: integer
  7315. mobile:
  7316. description: 手机号
  7317. type: string
  7318. modifytime:
  7319. description: 修改时间
  7320. type: string
  7321. password:
  7322. description: 密码(不可解密)
  7323. type: string
  7324. rolename:
  7325. description: 角色名称
  7326. type: string
  7327. rolestatus:
  7328. description: 角色状态 1-启用 2-停用
  7329. type: integer
  7330. roletype:
  7331. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7332. type: string
  7333. userid:
  7334. description: 用户id
  7335. type: integer
  7336. usertype:
  7337. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7338. type: integer
  7339. type: object
  7340. models.ErmcpLoginUserEx:
  7341. properties:
  7342. accountstatus:
  7343. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7344. type: integer
  7345. mobile:
  7346. description: 手机号
  7347. type: string
  7348. querytype:
  7349. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7350. type: integer
  7351. roleid:
  7352. description: 角色id(交易账户->用户id)
  7353. type: integer
  7354. rolename:
  7355. description: 角色名称(交易账户->用户名称)
  7356. type: string
  7357. userlist:
  7358. description: 用户列表
  7359. items:
  7360. $ref: '#/definitions/models.ErmcpLoginUser'
  7361. type: array
  7362. usertype:
  7363. description: 用户类型 2-机构 7-企业成员(云平台)
  7364. type: integer
  7365. type: object
  7366. models.ErmcpMiddleGoodsModel:
  7367. properties:
  7368. areauserid:
  7369. description: 机构用户ID
  7370. type: integer
  7371. createtime:
  7372. description: 修改时间
  7373. type: string
  7374. enumdicname:
  7375. description: 单位名称
  7376. type: string
  7377. evaluateratio:
  7378. description: 估价系数
  7379. type: number
  7380. goodsgroupid:
  7381. description: 关联期货品种ID
  7382. type: integer
  7383. goodsunitid:
  7384. description: 单位ID
  7385. type: integer
  7386. isvalid:
  7387. description: 状态 0-无效(停用) 1-有效(正常)
  7388. type: integer
  7389. middlegoodscode:
  7390. description: 套保品种代码
  7391. type: string
  7392. middlegoodsid:
  7393. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7394. type: integer
  7395. middlegoodsname:
  7396. description: 套保品种名称
  7397. type: string
  7398. modifytime:
  7399. description: 修改时间
  7400. type: string
  7401. needarbitrageratio:
  7402. description: 套利比例
  7403. type: number
  7404. needhedgeratio:
  7405. description: 套保比率
  7406. type: number
  7407. qtydecimalplace:
  7408. description: 数量小数位
  7409. type: integer
  7410. relatedgoodsid:
  7411. description: 关联交易商品ID
  7412. type: integer
  7413. relatedgoodstype:
  7414. description: 关联商品类型 - 1:期货合约 2:现货品种
  7415. type: integer
  7416. remark:
  7417. description: 备注
  7418. type: string
  7419. type: object
  7420. models.ErmcpMiddlegoodsRelateGoods:
  7421. properties:
  7422. agreeunit:
  7423. description: 合约乘数
  7424. type: number
  7425. convertratio:
  7426. description: 折算系数
  7427. type: number
  7428. enumdicname:
  7429. description: 单位名称(交易商品)
  7430. type: string
  7431. goodscode:
  7432. description: 交易商品代码
  7433. type: string
  7434. goodsgroupid:
  7435. description: 交易品种id
  7436. type: integer
  7437. goodsid:
  7438. description: 商品Id
  7439. type: integer
  7440. goodsname:
  7441. description: 交易商品名称
  7442. type: string
  7443. goodunitid:
  7444. description: 交易商品单位id
  7445. type: integer
  7446. middlegoodsid:
  7447. description: 套保商品id
  7448. type: integer
  7449. middlegoodsname:
  7450. description: 套保商品名称
  7451. type: string
  7452. middlegoodsswcode:
  7453. description: 套保商品代码
  7454. type: string
  7455. needarbitrageratio:
  7456. description: 应套利比例
  7457. type: number
  7458. needhedgeratio:
  7459. description: 应套保比例
  7460. type: number
  7461. type: object
  7462. models.ErmcpRole:
  7463. properties:
  7464. areauserid:
  7465. description: 所属机构
  7466. type: integer
  7467. autoid:
  7468. description: 角色ID(自增ID)
  7469. type: integer
  7470. modifierid:
  7471. description: 修改人(创建人)
  7472. type: integer
  7473. modifiername:
  7474. description: 修改人名称
  7475. type: string
  7476. modifytime:
  7477. description: 修改时间(创建时间)
  7478. type: string
  7479. rolename:
  7480. description: 角色名称
  7481. type: string
  7482. rolestatus:
  7483. description: 角色状态 - 1:启用 2:停用
  7484. type: integer
  7485. roletype:
  7486. description: 角色类型 - 1- 管理端 2- 交易端
  7487. type: integer
  7488. type: object
  7489. models.ErmcpRoleMenu:
  7490. properties:
  7491. iconame:
  7492. description: 菜单图标
  7493. type: string
  7494. ishadrole:
  7495. description: 是否有权限
  7496. type: boolean
  7497. menutype:
  7498. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7499. type: integer
  7500. parentcode:
  7501. description: 上级资源代码
  7502. type: string
  7503. remark:
  7504. description: 菜单备注
  7505. type: string
  7506. resourcecode:
  7507. description: 菜单代码
  7508. type: string
  7509. resourcelevel:
  7510. description: 级别
  7511. type: integer
  7512. resourcename:
  7513. description: 菜单名称
  7514. type: string
  7515. roleid:
  7516. description: 角色id
  7517. type: integer
  7518. sort:
  7519. description: 排序
  7520. type: integer
  7521. url:
  7522. description: URL
  7523. type: string
  7524. userid:
  7525. description: 用户id
  7526. type: integer
  7527. type: object
  7528. models.ErmcpRoleMenuEx:
  7529. properties:
  7530. menu:
  7531. $ref: '#/definitions/models.ErmcpRoleMenu'
  7532. description: 父级菜单
  7533. subMenu:
  7534. description: 子级菜单
  7535. items:
  7536. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7537. type: array
  7538. type: object
  7539. models.ErmcpTaAccount:
  7540. properties:
  7541. accountid:
  7542. description: 账户id
  7543. type: integer
  7544. accountname:
  7545. description: 账户名称
  7546. type: string
  7547. currencyid:
  7548. description: 币种id
  7549. type: integer
  7550. hedgeaccountcode:
  7551. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7552. type: string
  7553. ismain:
  7554. description: 是否主账户 0-否 1-是
  7555. type: integer
  7556. parentaccountid:
  7557. description: 父账户id
  7558. type: integer
  7559. relateduserid:
  7560. description: 关联userid
  7561. type: integer
  7562. tradefeetmpid:
  7563. description: 手续费模板id
  7564. type: integer
  7565. tradefeetmpname:
  7566. description: 手续费模板名称
  7567. type: string
  7568. trademargintmpid:
  7569. description: 保证金模板id
  7570. type: integer
  7571. trademargintmpname:
  7572. description: 保证金模板名称
  7573. type: string
  7574. traderatetmpid:
  7575. description: 汇率模板id
  7576. type: integer
  7577. traderatetmpname:
  7578. description: 汇率模板名称
  7579. type: string
  7580. tradestatus:
  7581. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7582. type: integer
  7583. userid:
  7584. description: 用户id
  7585. type: integer
  7586. type: object
  7587. models.ErmcpTaAccountEx:
  7588. properties:
  7589. mainAcc:
  7590. $ref: '#/definitions/models.ErmcpTaAccountM'
  7591. description: 主账号
  7592. subacclist:
  7593. description: 子账号列表
  7594. items:
  7595. $ref: '#/definitions/models.ErmcpTaAccount'
  7596. type: array
  7597. type: object
  7598. models.ErmcpTaAccountInfo:
  7599. properties:
  7600. accountid:
  7601. description: 资金账户ID
  7602. type: integer
  7603. accountname:
  7604. description: 账户名称
  7605. type: string
  7606. balance:
  7607. description: 期初余额
  7608. type: number
  7609. capitalbalance:
  7610. description: 本金余额[外部子账户实际出入金余额]
  7611. type: number
  7612. closepl:
  7613. description: 今日平仓盈亏
  7614. type: number
  7615. creditdecrease:
  7616. description: 今日授信减少
  7617. type: number
  7618. creditincrease:
  7619. description: 今日授信增加
  7620. type: number
  7621. curdebt:
  7622. description: 期末欠款
  7623. type: number
  7624. currencyid:
  7625. description: 货币ID
  7626. type: integer
  7627. currentbalance:
  7628. description: 期末余额
  7629. type: number
  7630. freezecharge:
  7631. description: 手续费冻结
  7632. type: number
  7633. freezemargin:
  7634. description: 冻结保证金
  7635. type: number
  7636. fromaccountid:
  7637. description: 所属上级账户
  7638. type: integer
  7639. inamount:
  7640. description: 今日入金金额(包括三方入金)
  7641. type: number
  7642. ismain:
  7643. description: 是否母账号 0:不是母账户 1:是母账户
  7644. type: integer
  7645. mortgagecredit:
  7646. description: 授信金额
  7647. type: number
  7648. oridebt:
  7649. description: 期初欠款
  7650. type: number
  7651. orifreezecharge:
  7652. description: 期初手续费冻结
  7653. type: number
  7654. orifreezemargin:
  7655. description: 期初冻结保证金
  7656. type: number
  7657. orimortgagecredit:
  7658. description: 期初授信金额
  7659. type: number
  7660. oriothercredit:
  7661. description: 期初其它授信金额
  7662. type: number
  7663. oriotherfreezemargin:
  7664. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7665. type: number
  7666. orioutamountfreeze:
  7667. description: 期初出金冻结
  7668. type: number
  7669. oriusedmargin:
  7670. description: 期初占用保证金
  7671. type: number
  7672. othercredit:
  7673. description: 其它授信金额
  7674. type: number
  7675. othercreditdecrease:
  7676. description: 今日其它授信减少
  7677. type: number
  7678. othercreditincrease:
  7679. description: 今日其它授信增加
  7680. type: number
  7681. otherfreezemargin:
  7682. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7683. type: number
  7684. outamount:
  7685. description: 今日出金金额(包括三方出金)
  7686. type: number
  7687. outamountfreeze:
  7688. description: 出金冻结
  7689. type: number
  7690. outthreshold:
  7691. description: 出金阈值
  7692. type: number
  7693. parentaccountid:
  7694. description: 所属根账号
  7695. type: integer
  7696. paycharge:
  7697. description: 今日手续费支出
  7698. type: number
  7699. relateduserid:
  7700. description: 关联用户
  7701. type: integer
  7702. signstatus:
  7703. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7704. type: integer
  7705. sublevelpath:
  7706. description: 账号层级路径(逗号分隔,首尾加逗号)
  7707. type: string
  7708. taaccounttype:
  7709. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7710. type: integer
  7711. thirdinamount:
  7712. description: 今日三方入金
  7713. type: number
  7714. thirdoutamount:
  7715. description: 今日三方出金
  7716. type: number
  7717. tradestatus:
  7718. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7719. type: integer
  7720. transferamount:
  7721. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7722. type: number
  7723. usedmargin:
  7724. description: 占用保证金
  7725. type: number
  7726. userid:
  7727. description: 用户ID
  7728. type: integer
  7729. type: object
  7730. models.ErmcpTaAccountM:
  7731. properties:
  7732. accountid:
  7733. description: 账户id
  7734. type: integer
  7735. accountname:
  7736. description: 账户名称
  7737. type: string
  7738. currencyid:
  7739. description: 币种id
  7740. type: integer
  7741. fcid:
  7742. description: 期货公司id
  7743. type: integer
  7744. fcname:
  7745. description: 期货公司代码
  7746. type: string
  7747. hedgeaccountcode:
  7748. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7749. type: string
  7750. ismain:
  7751. description: 是否主账户 0-否 1-是
  7752. type: integer
  7753. parentaccountid:
  7754. description: 父账户id
  7755. type: integer
  7756. relateduserid:
  7757. description: 关联userid
  7758. type: integer
  7759. tradefeetmpid:
  7760. description: 手续费模板id
  7761. type: integer
  7762. tradefeetmpname:
  7763. description: 手续费模板名称
  7764. type: string
  7765. trademargintmpid:
  7766. description: 保证金模板id
  7767. type: integer
  7768. trademargintmpname:
  7769. description: 保证金模板名称
  7770. type: string
  7771. traderatetmpid:
  7772. description: 汇率模板id
  7773. type: integer
  7774. traderatetmpname:
  7775. description: 汇率模板名称
  7776. type: string
  7777. tradestatus:
  7778. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7779. type: integer
  7780. userid:
  7781. description: 用户id
  7782. type: integer
  7783. type: object
  7784. models.ErmcpTradeConfigTMP:
  7785. properties:
  7786. areauserid:
  7787. description: 所属机构
  7788. type: integer
  7789. basiccurrencyid:
  7790. description: 基本币种ID[汇率] - 目标币种
  7791. type: integer
  7792. mainaccountid:
  7793. description: 主账户ID
  7794. type: integer
  7795. modifierid:
  7796. description: 修改人
  7797. type: integer
  7798. remark:
  7799. description: 备注
  7800. type: string
  7801. tradeconfigtmpid:
  7802. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7803. type: integer
  7804. tradeconfigtmpname:
  7805. description: 交易配置模板名称
  7806. type: string
  7807. tradeconfigtmptype:
  7808. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7809. type: integer
  7810. updatetime:
  7811. description: 更新时间
  7812. type: string
  7813. type: object
  7814. models.Externalexchange:
  7815. properties:
  7816. autoid:
  7817. description: AutoID - SEQ_EXTERNALEXCHANGE
  7818. type: integer
  7819. exchangefullname:
  7820. description: 外部交易所全称
  7821. type: string
  7822. exexchangecode:
  7823. description: 外部交易所代码
  7824. type: string
  7825. exexchangename:
  7826. description: 外部交易所名称(简称)
  7827. type: string
  7828. ismarketprice:
  7829. description: 是否支持市价 - 0:不支持 1:支持
  7830. type: integer
  7831. quotegear:
  7832. description: 行情档位(1-10)
  7833. type: integer
  7834. showbrokerflag:
  7835. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7836. type: integer
  7837. updatetime:
  7838. description: 更新时间
  7839. type: string
  7840. required:
  7841. - autoid
  7842. type: object
  7843. models.Funcmenulist:
  7844. properties:
  7845. iconame:
  7846. description: 菜单图标
  7847. type: string
  7848. menutype:
  7849. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7850. type: integer
  7851. parentcode:
  7852. description: 上级资源代码
  7853. type: string
  7854. remark:
  7855. description: 备注
  7856. type: string
  7857. resourcecode:
  7858. description: 资源代码
  7859. type: string
  7860. resourcelevel:
  7861. description: 级别 1-一级 2-二级 3-三级 4-四级
  7862. type: integer
  7863. resourcename:
  7864. description: 资源名
  7865. type: string
  7866. sort:
  7867. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7868. type: integer
  7869. url:
  7870. description: URL
  7871. type: string
  7872. required:
  7873. - resourcecode
  7874. type: object
  7875. models.Goods:
  7876. properties:
  7877. agreeunit:
  7878. description: 合约单位
  7879. type: number
  7880. areauserid:
  7881. description: 所属机构
  7882. type: integer
  7883. auditaccountid:
  7884. description: 审核操作员账号
  7885. type: integer
  7886. audittime:
  7887. description: 审核时间
  7888. type: string
  7889. cancelaccountid:
  7890. description: 注销操作员账号
  7891. type: integer
  7892. canceltime:
  7893. description: 注销时间
  7894. type: string
  7895. closepricemode:
  7896. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7897. type: integer
  7898. closepriceparam:
  7899. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7900. type: number
  7901. createtime:
  7902. description: 创建时间
  7903. type: string
  7904. creatorid:
  7905. description: 创建人
  7906. type: integer
  7907. currencyid:
  7908. description: 报价货币ID
  7909. type: integer
  7910. cutmode:
  7911. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7912. type: integer
  7913. decimalplace:
  7914. description: 报价小数位
  7915. type: integer
  7916. delistingdate:
  7917. description: 商品退市时间(状态:退市) -- 已作废
  7918. type: string
  7919. delistingmode:
  7920. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7921. type: integer
  7922. deliveryflag:
  7923. description: 交割标志 - 0:不可交割 1:可交割
  7924. type: integer
  7925. forceclosemode:
  7926. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7927. type: integer
  7928. forceclosevalue:
  7929. description: 定期强平参数 [收益权]
  7930. type: integer
  7931. goodscode:
  7932. description: 商品代码(内部)
  7933. type: string
  7934. goodscurrencyid:
  7935. description: 合约货币ID
  7936. type: integer
  7937. goodsgroupid:
  7938. description: 所属商品组ID
  7939. type: integer
  7940. goodsid:
  7941. description: 商品ID(自增ID SEQ_GOODS)
  7942. type: integer
  7943. goodsname:
  7944. description: 商品名称
  7945. type: string
  7946. goodsquotetype:
  7947. description: '合约报价类型: 1-直接报价 2-间接报价'
  7948. type: integer
  7949. goodsstatus:
  7950. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7951. type: integer
  7952. goodstradetype:
  7953. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7954. type: integer
  7955. goodunitid:
  7956. description: 报价单位ID
  7957. type: integer
  7958. hasquoter:
  7959. description: 是否有报价商 - 0:无报价商 1:有报价商
  7960. type: integer
  7961. hqprotecttime:
  7962. description: 行情保护时间(秒)
  7963. type: integer
  7964. innerdealmode:
  7965. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7966. type: integer
  7967. isbuylimited:
  7968. description: 是否限制建仓量 - 0:不限制 1:限制
  7969. type: integer
  7970. isvisible:
  7971. description: 游客是否可见 - 0:不可见 1:可见
  7972. type: integer
  7973. lasttradedate:
  7974. description: 最后交易日期(状态:待退市)
  7975. type: string
  7976. listingdate:
  7977. description: 交易开始日期
  7978. type: string
  7979. marketid:
  7980. description: 所属市场ID
  7981. type: integer
  7982. modifierid:
  7983. description: 修改人
  7984. type: integer
  7985. modifystatus:
  7986. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7987. type: integer
  7988. modifytime:
  7989. description: 修改时间
  7990. type: string
  7991. outerdealmode:
  7992. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7993. type: integer
  7994. outgoodscode:
  7995. description: 商品代码(外部)
  7996. type: string
  7997. pictureurl:
  7998. description: 商品图片
  7999. type: string
  8000. qtydecimalplace:
  8001. description: 成交量小数位
  8002. type: integer
  8003. quotegear:
  8004. description: 行情档位(1-10)
  8005. type: integer
  8006. quoteminunit:
  8007. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8008. type: integer
  8009. quoteshowtype:
  8010. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8011. type: integer
  8012. quoteshowtypeinterval:
  8013. description: 行情报价间隔时间(秒)(成交价时为0)
  8014. type: integer
  8015. remark:
  8016. description: 备注
  8017. type: string
  8018. required:
  8019. - goodscode
  8020. - goodsid
  8021. - goodsname
  8022. - marketid
  8023. type: object
  8024. models.GoodsIDAndName:
  8025. properties:
  8026. goodscode:
  8027. description: 商品代码(内部)
  8028. type: string
  8029. goodsid:
  8030. description: 商品ID(自增ID SEQ_GOODS)
  8031. type: integer
  8032. goodsname:
  8033. description: 商品名称
  8034. type: string
  8035. marketid:
  8036. description: 所属市场ID
  8037. type: integer
  8038. required:
  8039. - goodscode
  8040. - goodsid
  8041. - goodsname
  8042. - marketid
  8043. type: object
  8044. models.Goodsgroup:
  8045. properties:
  8046. agreeunit:
  8047. description: 合约单位
  8048. type: number
  8049. canshort:
  8050. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8051. type: integer
  8052. closepricemode:
  8053. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8054. type: integer
  8055. closepriceparam:
  8056. description: 强平最新价浮动比例 - 方式为2时使用
  8057. type: number
  8058. createtime:
  8059. description: 创建时间
  8060. type: string
  8061. creatorid:
  8062. description: 创建人
  8063. type: integer
  8064. currencyid:
  8065. description: 报价货币ID
  8066. type: integer
  8067. decimalplace:
  8068. description: 报价小数位
  8069. type: integer
  8070. exercisetype:
  8071. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8072. type: integer
  8073. exexchangeid:
  8074. description: 外部交易所ID[通道交易]
  8075. type: integer
  8076. goodsgroupid:
  8077. description: 商品组ID(自增ID)
  8078. type: integer
  8079. goodsgroupname:
  8080. description: 商品组名称
  8081. type: string
  8082. goodsgroupstatus:
  8083. description: 商品组状态 - 1:正常 2:注销
  8084. type: integer
  8085. goodunitid:
  8086. description: 报价单位ID
  8087. type: integer
  8088. innerdealmode:
  8089. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8090. type: integer
  8091. isbuylimited:
  8092. description: 是否限制建仓量 - 0:不限制 1:限制
  8093. type: integer
  8094. marketid:
  8095. description: 所属市场ID
  8096. type: integer
  8097. modifierid:
  8098. description: 修改人
  8099. type: integer
  8100. modifytime:
  8101. description: 修改时间
  8102. type: string
  8103. outerdealmode:
  8104. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8105. type: integer
  8106. outergroupcode:
  8107. description: 外部商品组代码[通道交易]
  8108. type: string
  8109. premiumdecimalplace:
  8110. description: 权利金小数位[场外期权]
  8111. type: integer
  8112. premiumspreadalgorithm:
  8113. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8114. type: integer
  8115. premiumspreadvalue:
  8116. description: 权利金点差值[场外期权]
  8117. type: number
  8118. qtydecimalplace:
  8119. description: 成交量小数位
  8120. type: integer
  8121. quotegear:
  8122. description: 行情档位(1-10)
  8123. type: integer
  8124. quoteminunit:
  8125. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8126. type: integer
  8127. quoterid:
  8128. description: 报价商ID[场外期权]
  8129. type: integer
  8130. quotesourcegroupid:
  8131. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8132. type: integer
  8133. syncgoodsqty:
  8134. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8135. type: integer
  8136. required:
  8137. - goodsgroupid
  8138. - goodsgroupname
  8139. - goodsgroupstatus
  8140. - marketid
  8141. type: object
  8142. models.Goodssortbypreposition:
  8143. properties:
  8144. goodscode:
  8145. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8146. type: string
  8147. goodsgroupcode:
  8148. description: 品种代码
  8149. type: string
  8150. prepositionqty:
  8151. description: 昨持仓量
  8152. type: integer
  8153. sortindex:
  8154. description: 排序
  8155. type: integer
  8156. tradedate:
  8157. description: 交易日
  8158. type: string
  8159. updatetime:
  8160. description: 更新时间
  8161. type: string
  8162. required:
  8163. - goodscode
  8164. - tradedate
  8165. type: object
  8166. models.Hedgeinnerholderdetail:
  8167. properties:
  8168. accountid:
  8169. description: 账号ID
  8170. type: integer
  8171. buyorsell:
  8172. description: 方向 - 0:买 1:卖
  8173. type: integer
  8174. freezeqty:
  8175. description: 冻结数量 - 按单平使用
  8176. type: integer
  8177. goodsid:
  8178. description: 商品ID
  8179. type: integer
  8180. holderamount:
  8181. description: 持仓金额 [商品币种]
  8182. type: number
  8183. holderdays:
  8184. description: 剩余冻结天数
  8185. type: integer
  8186. holderprice:
  8187. description: 持仓价格
  8188. type: number
  8189. holderqty:
  8190. description: 持仓数量
  8191. type: integer
  8192. marketid:
  8193. description: 市场ID
  8194. type: integer
  8195. openprice:
  8196. description: 建仓价格
  8197. type: number
  8198. openqty:
  8199. description: 建仓数量
  8200. type: integer
  8201. parentaccountid:
  8202. description: 所属母账户
  8203. type: integer
  8204. releaseamount:
  8205. description: 释放持仓金额[商品币种]
  8206. type: number
  8207. tradeamount:
  8208. description: 成交金额[账户]
  8209. type: number
  8210. tradedate:
  8211. description: 交易日(yyyyMMdd)
  8212. type: string
  8213. tradeid:
  8214. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8215. type: string
  8216. tradetime:
  8217. description: 交易时间
  8218. type: string
  8219. required:
  8220. - buyorsell
  8221. - tradeid
  8222. type: object
  8223. models.Hedgemarketopenlog:
  8224. properties:
  8225. accountid:
  8226. description: 资金账号[外部母账户]
  8227. type: integer
  8228. fcname:
  8229. description: 期货公司名称
  8230. type: string
  8231. handlestatus:
  8232. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8233. type: integer
  8234. marketid:
  8235. description: 市场ID
  8236. type: integer
  8237. status:
  8238. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8239. type: integer
  8240. tradedate:
  8241. description: 交易日(yyyyMMdd)
  8242. type: string
  8243. updatetime:
  8244. description: 更新时间
  8245. type: string
  8246. required:
  8247. - accountid
  8248. type: object
  8249. models.HsbyBuyMyPayOrder:
  8250. properties:
  8251. agreeunit:
  8252. description: 合约单位
  8253. type: number
  8254. buyaccountid:
  8255. description: 买方账号ID[报价币种]
  8256. type: integer
  8257. buyorderid:
  8258. description: 买方委托单号
  8259. type: string
  8260. createtime:
  8261. description: 创建时间
  8262. type: string
  8263. currencysign:
  8264. description: 货币符号
  8265. type: string
  8266. decimalplace:
  8267. description: 报价小数位
  8268. type: integer
  8269. goodscode:
  8270. description: 商品代码(内部)
  8271. type: string
  8272. goodsid:
  8273. description: 商品ID
  8274. type: integer
  8275. goodsname:
  8276. description: 商品名称
  8277. type: string
  8278. marketid:
  8279. description: 市场ID
  8280. type: integer
  8281. offamount:
  8282. description: 优惠金额
  8283. type: number
  8284. originalamount:
  8285. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8286. type: number
  8287. payamount:
  8288. description: 支付金额 = TradeAmount + TradeCharge
  8289. type: number
  8290. payflag:
  8291. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8292. type: integer
  8293. paylimitedtime:
  8294. description: 支付期限
  8295. type: string
  8296. paytime:
  8297. description: 付款时间
  8298. type: string
  8299. picurls1:
  8300. description: 预售商品介绍图片[多张用逗号分隔]
  8301. type: string
  8302. picurls2:
  8303. description: 挂牌商品介绍图片[多张用逗号分隔]
  8304. type: string
  8305. sellaccountid:
  8306. description: 卖方账号ID[报价币种]
  8307. type: integer
  8308. sellorderid:
  8309. description: 卖方委托单号
  8310. type: string
  8311. tradeamount:
  8312. description: 成交金额
  8313. type: number
  8314. tradecharge:
  8315. description: 成交手续费(买方)
  8316. type: number
  8317. tradedate:
  8318. description: 交易日(yyyyMMdd)
  8319. type: string
  8320. tradeid:
  8321. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8322. type: string
  8323. trademode:
  8324. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8325. type: integer
  8326. tradeprice:
  8327. description: 成交价格
  8328. type: number
  8329. tradeqty:
  8330. description: 成交数量
  8331. type: integer
  8332. vendorname1:
  8333. description: 预售商品供应商名称
  8334. type: string
  8335. vendorname2:
  8336. description: 挂牌商品供应商名称
  8337. type: string
  8338. required:
  8339. - goodscode
  8340. - goodsname
  8341. - tradeid
  8342. - trademode
  8343. type: object
  8344. models.HsbyBuyMyTradeDetail:
  8345. properties:
  8346. accountid:
  8347. description: 账户ID[报价币种]
  8348. type: integer
  8349. agreeunit:
  8350. description: 合约单位
  8351. type: number
  8352. amount:
  8353. description: 金额 = 价格 * 数量 * 合约单位
  8354. type: number
  8355. buyorsell:
  8356. description: 买卖 - 0:买 1:卖
  8357. type: integer
  8358. currencysign:
  8359. description: 货币符号
  8360. type: string
  8361. decimalplace:
  8362. description: 报价小数位
  8363. type: integer
  8364. goodscode:
  8365. description: 商品代码(内部)
  8366. type: string
  8367. goodsid:
  8368. description: 商品ID
  8369. type: integer
  8370. goodsname:
  8371. description: 商品名称
  8372. type: string
  8373. marketid:
  8374. description: 市场ID
  8375. type: integer
  8376. orderamount:
  8377. description: 委托金额
  8378. type: number
  8379. orderid:
  8380. description: 单号(成交单号)
  8381. type: string
  8382. picurls1:
  8383. description: 预售商品介绍图片[多张用逗号分隔]
  8384. type: string
  8385. picurls2:
  8386. description: 挂牌商品介绍图片[多张用逗号分隔]
  8387. type: string
  8388. price:
  8389. description: 价格
  8390. type: number
  8391. qty:
  8392. description: 数量
  8393. type: integer
  8394. time:
  8395. description: 时间
  8396. type: string
  8397. trademode:
  8398. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8399. type: integer
  8400. vendorname1:
  8401. description: 预售商品供应商名称
  8402. type: string
  8403. vendorname2:
  8404. description: 挂牌商品供应商名称
  8405. type: string
  8406. required:
  8407. - accountid
  8408. - buyorsell
  8409. - goodscode
  8410. - goodsid
  8411. - goodsname
  8412. - marketid
  8413. - orderid
  8414. - qty
  8415. - time
  8416. - trademode
  8417. type: object
  8418. models.HsbyGoodsOrderDetail:
  8419. properties:
  8420. buyorsell:
  8421. description: 买卖 - 0:买 1:卖
  8422. type: integer
  8423. currencysign:
  8424. description: 货币符号
  8425. type: string
  8426. customername:
  8427. description: 客户名称(企业名称),已脱敏
  8428. type: string
  8429. enableqty:
  8430. description: 可用数量
  8431. type: integer
  8432. goodunit:
  8433. description: 报价单位
  8434. type: string
  8435. orderid:
  8436. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8437. type: string
  8438. orderprice:
  8439. description: 委托价格
  8440. type: number
  8441. ordertime:
  8442. description: 委托时间
  8443. type: string
  8444. required:
  8445. - buyorsell
  8446. - orderid
  8447. - ordertime
  8448. type: object
  8449. models.HsbyListingGoodsDetail:
  8450. properties:
  8451. agreeunit:
  8452. description: 合约单位
  8453. type: number
  8454. buymaxqty:
  8455. description: 购买上限 [71] - 0为不限
  8456. type: integer
  8457. currency:
  8458. description: 货币
  8459. type: string
  8460. currencysign:
  8461. description: 货币符号
  8462. type: string
  8463. decimalplace:
  8464. description: 报价小数位
  8465. type: integer
  8466. desccityid:
  8467. description: 目的地(市)ID
  8468. type: integer
  8469. descprovinceid:
  8470. description: 目的地(省)ID
  8471. type: integer
  8472. goodscode:
  8473. description: 商品代码(内部)
  8474. type: string
  8475. goodsdesc:
  8476. description: 商品详情
  8477. type: string
  8478. goodsid:
  8479. description: 商品ID(自增ID SEQ_GOODS)
  8480. type: integer
  8481. goodsname:
  8482. description: 商品名称
  8483. type: string
  8484. goodsprice:
  8485. description: 商品价格
  8486. type: number
  8487. hotindex:
  8488. description: 景点热度
  8489. type: integer
  8490. last:
  8491. description: 现价
  8492. type: number
  8493. limitdown:
  8494. description: 跌停价
  8495. type: number
  8496. limitup:
  8497. description: 涨停价
  8498. type: number
  8499. lotsize:
  8500. description: 手数最小变动单位
  8501. type: integer
  8502. marketid:
  8503. description: 所属市场ID
  8504. type: integer
  8505. picurls:
  8506. description: 介绍图片[多张用逗号分隔]
  8507. type: string
  8508. quoteminunit:
  8509. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8510. type: integer
  8511. stepvalue:
  8512. description: 价格最小变动单位
  8513. type: number
  8514. trademode:
  8515. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8516. type: integer
  8517. vendorattr:
  8518. description: 供应商附件(多张,逗号分隔)
  8519. type: string
  8520. vendorname:
  8521. description: 供应商名称
  8522. type: string
  8523. vendorphone:
  8524. description: 供应商客服电话
  8525. type: string
  8526. videourls:
  8527. description: 介绍视频[多张用逗号分隔]
  8528. type: string
  8529. required:
  8530. - goodscode
  8531. - goodsid
  8532. - goodsname
  8533. - marketid
  8534. - trademode
  8535. type: object
  8536. models.HsbyMarketGoods:
  8537. properties:
  8538. accountid:
  8539. description: 账户ID[报价币种]
  8540. type: integer
  8541. agreeunit:
  8542. description: 合约单位
  8543. type: number
  8544. buyorsell:
  8545. description: 买卖 - 0:买 1:卖
  8546. type: integer
  8547. categoryid:
  8548. description: 类别ID(WRCATEGORY)
  8549. type: integer
  8550. currency:
  8551. description: 货币
  8552. type: string
  8553. currencysign:
  8554. description: 货币符号
  8555. type: string
  8556. customername:
  8557. description: 卖家名称
  8558. type: string
  8559. decimalplace:
  8560. description: 报价小数位
  8561. type: integer
  8562. goodscode:
  8563. description: 商品代码(内部)
  8564. type: string
  8565. goodsid:
  8566. description: 商品ID
  8567. type: integer
  8568. goodsname:
  8569. description: 商品名称
  8570. type: string
  8571. goodsprice:
  8572. description: 商品价格
  8573. type: number
  8574. hascoupon:
  8575. description: 是否可用优惠卷
  8576. type: boolean
  8577. hotindex:
  8578. description: 景点热度
  8579. type: integer
  8580. marketid:
  8581. description: 市场ID
  8582. type: integer
  8583. orderid:
  8584. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8585. type: string
  8586. orderprice:
  8587. description: 委托价格
  8588. type: number
  8589. orderstatus:
  8590. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8591. type: integer
  8592. picurls:
  8593. description: 介绍图片[多张用逗号分隔]
  8594. type: string
  8595. quoteminunit:
  8596. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8597. type: integer
  8598. sellUserID:
  8599. description: 卖方UserID
  8600. type: integer
  8601. trademode:
  8602. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8603. type: integer
  8604. videourls:
  8605. description: 介绍视频[多张用逗号分隔]
  8606. type: string
  8607. required:
  8608. - accountid
  8609. - buyorsell
  8610. - goodscode
  8611. - goodsid
  8612. - goodsname
  8613. - marketid
  8614. - orderid
  8615. - trademode
  8616. type: object
  8617. models.HsbyMarketGoodsDetail:
  8618. properties:
  8619. accountid:
  8620. description: 账户ID[报价币种]
  8621. type: integer
  8622. agreeunit:
  8623. description: 合约单位
  8624. type: number
  8625. buymaxqty:
  8626. description: 购买上限 [71] - 0为不限
  8627. type: integer
  8628. buyorsell:
  8629. description: 买卖 - 0:买 1:卖
  8630. type: integer
  8631. cancelqty:
  8632. description: 撤单数量
  8633. type: integer
  8634. categoryid:
  8635. description: 类别ID(WRCATEGORY)
  8636. type: integer
  8637. currency:
  8638. description: 货币
  8639. type: string
  8640. currencysign:
  8641. description: 货币符号
  8642. type: string
  8643. customername:
  8644. description: 卖家名称
  8645. type: string
  8646. decimalplace:
  8647. description: 报价小数位
  8648. type: integer
  8649. goodscode:
  8650. description: 商品代码(内部)
  8651. type: string
  8652. goodsdesc:
  8653. description: 商品详情
  8654. type: string
  8655. goodsid:
  8656. description: 商品ID
  8657. type: integer
  8658. goodsname:
  8659. description: 商品名称
  8660. type: string
  8661. goodsprice:
  8662. description: 商品价格
  8663. type: number
  8664. hotindex:
  8665. description: 景点热度
  8666. type: integer
  8667. lotsize:
  8668. description: 手数最小变动单位
  8669. type: integer
  8670. marketid:
  8671. description: 市场ID
  8672. type: integer
  8673. orderid:
  8674. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8675. type: string
  8676. orderprice:
  8677. description: 委托价格
  8678. type: number
  8679. orderqty:
  8680. description: 委托数量
  8681. type: integer
  8682. orderstatus:
  8683. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8684. type: integer
  8685. picurls:
  8686. description: 介绍图片[多张用逗号分隔]
  8687. type: string
  8688. quoteminunit:
  8689. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8690. type: integer
  8691. sellUserID:
  8692. description: 卖方UserID
  8693. type: integer
  8694. trademode:
  8695. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8696. type: integer
  8697. tradeqty:
  8698. description: 成交数量
  8699. type: integer
  8700. vendorattr:
  8701. description: 供应商附件(多张,逗号分隔)
  8702. type: string
  8703. vendorname:
  8704. description: 供应商名称
  8705. type: string
  8706. vendorphone:
  8707. description: 供应商客服电话
  8708. type: string
  8709. videourls:
  8710. description: 介绍视频[多张用逗号分隔]
  8711. type: string
  8712. required:
  8713. - accountid
  8714. - buyorsell
  8715. - goodscode
  8716. - goodsid
  8717. - goodsname
  8718. - marketid
  8719. - orderid
  8720. - orderqty
  8721. - trademode
  8722. type: object
  8723. models.HsbyMarketInfo:
  8724. properties:
  8725. marketid:
  8726. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8727. type: integer
  8728. marketname:
  8729. description: 市场名称
  8730. type: string
  8731. marketstatus:
  8732. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8733. type: integer
  8734. trademode:
  8735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. required:
  8738. - marketid
  8739. - marketstatus
  8740. - trademode
  8741. type: object
  8742. models.HsbyMyGoods:
  8743. properties:
  8744. accountid:
  8745. description: 账号Id
  8746. type: integer
  8747. agreeunit:
  8748. description: 合约单位
  8749. type: number
  8750. buyaverageprice:
  8751. description: 持仓均价
  8752. type: number
  8753. buycurholderamount:
  8754. description: 买当前持仓总金额[商品币种]
  8755. type: number
  8756. buycurpositionqty:
  8757. description: 买当前持仓总数量
  8758. type: integer
  8759. buymaxqty:
  8760. description: 购买上限 [71] - 0为不限
  8761. type: integer
  8762. currencysign:
  8763. description: 货币符号
  8764. type: string
  8765. decimalplace:
  8766. description: 报价小数位
  8767. type: integer
  8768. enableqty:
  8769. description: 可用数量
  8770. type: integer
  8771. goodscode:
  8772. description: 商品代码(内部)
  8773. type: string
  8774. goodsid:
  8775. description: 商品Id
  8776. type: integer
  8777. goodsname:
  8778. description: 商品名称
  8779. type: string
  8780. goodsprice:
  8781. description: 商品价格
  8782. type: number
  8783. goodsstatus:
  8784. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8785. type: integer
  8786. last:
  8787. description: 现价(仅使用于挂牌点选)
  8788. type: number
  8789. limitdown:
  8790. description: 跌停价(仅使用于挂牌点选)
  8791. type: number
  8792. limitup:
  8793. description: 涨停价(仅使用于挂牌点选)
  8794. type: number
  8795. lotsize:
  8796. description: 手数最小变动单位
  8797. type: integer
  8798. marketid:
  8799. description: 所属市场ID
  8800. type: integer
  8801. picurls:
  8802. description: 介绍图片[多张用逗号分隔]
  8803. type: string
  8804. quoteminunit:
  8805. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8806. type: integer
  8807. stepvalue:
  8808. description: 价格最小变动单位
  8809. type: number
  8810. trademode:
  8811. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8812. type: integer
  8813. required:
  8814. - accountid
  8815. - goodscode
  8816. - goodsid
  8817. - goodsname
  8818. - marketid
  8819. - trademode
  8820. type: object
  8821. models.HsbyMyPackage:
  8822. properties:
  8823. accountid:
  8824. description: 账户ID
  8825. type: integer
  8826. address:
  8827. description: 提货人详细地址
  8828. type: string
  8829. agreeunit:
  8830. description: 合约单位
  8831. type: number
  8832. amount:
  8833. description: 提货金额
  8834. type: number
  8835. auditer:
  8836. description: 审核人
  8837. type: integer
  8838. audittime:
  8839. description: 审核时间
  8840. type: string
  8841. averageprice:
  8842. description: 均价
  8843. type: number
  8844. cardnum:
  8845. description: 提货人证件号码
  8846. type: string
  8847. cardtypeid:
  8848. description: 提货人证件类型
  8849. type: integer
  8850. checkremark:
  8851. description: 审核备注
  8852. type: string
  8853. currencysign:
  8854. description: 货币符号
  8855. type: string
  8856. decimalplace:
  8857. description: 报价小数位
  8858. type: integer
  8859. goodscode:
  8860. description: 商品代码(内部)
  8861. type: string
  8862. goodsid:
  8863. description: 商品ID
  8864. type: integer
  8865. goodsname:
  8866. description: 商品名称
  8867. type: string
  8868. handlestatus:
  8869. description: 处理状态
  8870. type: integer
  8871. marketid:
  8872. description: 市场ID
  8873. type: integer
  8874. phonenum:
  8875. description: 提货人联系方式
  8876. type: string
  8877. picurls:
  8878. description: 介绍图片[多张用逗号分隔]
  8879. type: string
  8880. qty:
  8881. description: 提货数量
  8882. type: number
  8883. recivername:
  8884. description: 提货人姓名
  8885. type: string
  8886. reqtime:
  8887. description: 更新时间
  8888. type: string
  8889. takemode:
  8890. description: 提货方式 - 2:自提 3:配送
  8891. type: integer
  8892. takeorderid:
  8893. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8894. type: string
  8895. takeorderstatus:
  8896. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8897. type: integer
  8898. takeremark:
  8899. description: 提货备注
  8900. type: string
  8901. tradedate:
  8902. description: 交易日(yyyyMMdd)
  8903. type: string
  8904. trademode:
  8905. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8906. type: integer
  8907. userid:
  8908. description: 用户ID
  8909. type: integer
  8910. vendorname:
  8911. description: 供应商名称
  8912. type: string
  8913. required:
  8914. - goodscode
  8915. - goodsname
  8916. - takeorderid
  8917. - trademode
  8918. type: object
  8919. models.HsbyPreGoods:
  8920. properties:
  8921. agreeunit:
  8922. description: 合约单位
  8923. type: number
  8924. currency:
  8925. description: 货币
  8926. type: string
  8927. currencysign:
  8928. description: 货币符号
  8929. type: string
  8930. decimalplace:
  8931. description: 报价小数位
  8932. type: integer
  8933. desccityid:
  8934. description: 目的地(市)
  8935. type: integer
  8936. descprovinceid:
  8937. description: 目的地(省)
  8938. type: integer
  8939. enableqty:
  8940. description: 剩余数量
  8941. type: integer
  8942. goodscode:
  8943. description: 商品代码(内部)
  8944. type: string
  8945. goodsid:
  8946. description: 商品ID(自增ID SEQ_GOODS)
  8947. type: integer
  8948. goodsname:
  8949. description: 商品名称
  8950. type: string
  8951. goodsstatus:
  8952. description: 商品状态- 2:未上市 3:上市
  8953. type: integer
  8954. lasttradedate:
  8955. description: 最后交易日期(状态:待退市)
  8956. type: string
  8957. listingdate:
  8958. description: 交易开始日期
  8959. type: string
  8960. marketid:
  8961. description: 所属市场ID
  8962. type: integer
  8963. picurls:
  8964. description: 介绍图片[多张用逗号分隔]
  8965. type: string
  8966. presaledqty:
  8967. description: 已预售量(预售结束时更新)
  8968. type: integer
  8969. presaleqty:
  8970. description: 预售数量
  8971. type: integer
  8972. quoteminunit:
  8973. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8974. type: integer
  8975. refprice:
  8976. description: 参考价格[一口价]
  8977. type: number
  8978. relatedgoodsid:
  8979. description: 关联交易合约ID
  8980. type: integer
  8981. trademode:
  8982. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8983. type: integer
  8984. videourls:
  8985. description: 介绍视频[多张用逗号分隔]
  8986. type: string
  8987. required:
  8988. - goodscode
  8989. - goodsid
  8990. - goodsname
  8991. - marketid
  8992. - trademode
  8993. type: object
  8994. models.HsbyPreGoodsDetail:
  8995. properties:
  8996. agreeunit:
  8997. description: 合约单位
  8998. type: number
  8999. buymaxqty:
  9000. description: 购买上限 [71] - 0为不限
  9001. type: integer
  9002. currency:
  9003. description: 货币
  9004. type: string
  9005. currencysign:
  9006. description: 货币符号
  9007. type: string
  9008. customername:
  9009. description: 发行单位
  9010. type: string
  9011. decimalplace:
  9012. description: 报价小数位
  9013. type: integer
  9014. desccityid:
  9015. description: 目的地(市)ID
  9016. type: integer
  9017. descprovinceid:
  9018. description: 目的地(省)ID
  9019. type: integer
  9020. enableqty:
  9021. description: 剩余数量
  9022. type: integer
  9023. goodscode:
  9024. description: 商品代码(内部)
  9025. type: string
  9026. goodsdesc:
  9027. description: 商品详情
  9028. type: string
  9029. goodsid:
  9030. description: 商品ID(自增ID SEQ_GOODS)
  9031. type: integer
  9032. goodsname:
  9033. description: 商品名称
  9034. type: string
  9035. goodsstatus:
  9036. description: 商品状态- 2:未上市 3:上市
  9037. type: integer
  9038. goodunit:
  9039. description: 报价单位
  9040. type: string
  9041. lasttradedate:
  9042. description: 最后交易日期(状态:待退市)
  9043. type: string
  9044. listingdate:
  9045. description: 交易开始日期
  9046. type: string
  9047. lotsize:
  9048. description: 手数最小变动单位
  9049. type: integer
  9050. marketid:
  9051. description: 所属市场ID
  9052. type: integer
  9053. picurls:
  9054. description: 介绍图片[多张用逗号分隔]
  9055. type: string
  9056. presaledqty:
  9057. description: 已预售量(预售结束时更新)
  9058. type: integer
  9059. presaleqty:
  9060. description: 预售数量
  9061. type: integer
  9062. quoteminunit:
  9063. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9064. type: integer
  9065. refprice:
  9066. description: 参考价格[一口价]
  9067. type: number
  9068. relatedgoodsid:
  9069. description: 关联交易合约ID
  9070. type: integer
  9071. stepvalue:
  9072. description: 价格最小变动单位
  9073. type: number
  9074. trademode:
  9075. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9076. type: integer
  9077. vendorattr:
  9078. description: 供应商附件(多张,逗号分隔)
  9079. type: string
  9080. vendorname:
  9081. description: 供应商名称
  9082. type: string
  9083. vendorphone:
  9084. description: 供应商客服电话
  9085. type: string
  9086. videourls:
  9087. description: 介绍视频[多张用逗号分隔]
  9088. type: string
  9089. required:
  9090. - goodscode
  9091. - goodsid
  9092. - goodsname
  9093. - marketid
  9094. - trademode
  9095. type: object
  9096. models.HsbySellCollectionOrder:
  9097. properties:
  9098. agreeunit:
  9099. description: 合约单位
  9100. type: number
  9101. buyaccountid:
  9102. description: 买方账号ID[报价币种]
  9103. type: integer
  9104. buyorderid:
  9105. description: 买方委托单号
  9106. type: string
  9107. createtime:
  9108. description: 创建时间
  9109. type: string
  9110. currencysign:
  9111. description: 货币符号
  9112. type: string
  9113. decimalplace:
  9114. description: 报价小数位
  9115. type: integer
  9116. goodscode:
  9117. description: 商品代码(内部)
  9118. type: string
  9119. goodsid:
  9120. description: 商品ID
  9121. type: integer
  9122. goodsname:
  9123. description: 商品名称
  9124. type: string
  9125. marketid:
  9126. description: 市场ID
  9127. type: integer
  9128. offamount:
  9129. description: 优惠金额
  9130. type: number
  9131. payamount:
  9132. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9133. type: number
  9134. payflag:
  9135. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9136. type: integer
  9137. paylimitedtime:
  9138. description: 支付期限
  9139. type: string
  9140. paytime:
  9141. description: 付款时间
  9142. type: string
  9143. picurls:
  9144. description: 商品介绍图片[多张用逗号分隔]
  9145. type: string
  9146. sellaccountid:
  9147. description: 卖方账号ID[报价币种]
  9148. type: integer
  9149. sellorderid:
  9150. description: 卖方委托单号
  9151. type: string
  9152. tradeamount:
  9153. description: 成交金额
  9154. type: number
  9155. tradecharge:
  9156. description: 成交手续费(买方)
  9157. type: number
  9158. tradedate:
  9159. description: 交易日(yyyyMMdd)
  9160. type: string
  9161. tradeid:
  9162. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9163. type: string
  9164. trademode:
  9165. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9166. type: integer
  9167. tradeprice:
  9168. description: 成交价格
  9169. type: number
  9170. tradeqty:
  9171. description: 成交数量
  9172. type: integer
  9173. required:
  9174. - goodscode
  9175. - goodsname
  9176. - tradeid
  9177. - trademode
  9178. type: object
  9179. models.HsbySellMyDetail:
  9180. properties:
  9181. accountid:
  9182. description: 账户ID[报价币种]
  9183. type: integer
  9184. agreeunit:
  9185. description: 合约单位
  9186. type: number
  9187. buyorsell:
  9188. description: 买卖 - 0:买 1:卖
  9189. type: integer
  9190. currencysign:
  9191. description: 货币符号
  9192. type: string
  9193. decimalplace:
  9194. description: 报价小数位
  9195. type: integer
  9196. goodscode:
  9197. description: 商品代码(内部)
  9198. type: string
  9199. goodsid:
  9200. description: 商品ID
  9201. type: integer
  9202. goodsname:
  9203. description: 商品名称
  9204. type: string
  9205. marketid:
  9206. description: 市场ID
  9207. type: integer
  9208. orderid:
  9209. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9210. type: string
  9211. ordertype:
  9212. description: 单据类型:0 - 发布中, 1 - 已完成
  9213. type: integer
  9214. picurls:
  9215. description: 介绍图片[多张用逗号分隔]
  9216. type: string
  9217. price:
  9218. description: 价格
  9219. type: number
  9220. qty:
  9221. description: 数量
  9222. type: integer
  9223. time:
  9224. description: 时间
  9225. type: string
  9226. trademode:
  9227. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9228. type: integer
  9229. vendorname:
  9230. description: 供应商名称
  9231. type: string
  9232. required:
  9233. - accountid
  9234. - buyorsell
  9235. - goodscode
  9236. - goodsid
  9237. - goodsname
  9238. - marketid
  9239. - orderid
  9240. - time
  9241. - trademode
  9242. type: object
  9243. models.HsbyTopGoods:
  9244. properties:
  9245. agreeunit:
  9246. description: 合约单位
  9247. type: number
  9248. currency:
  9249. description: 货币
  9250. type: string
  9251. currencysign:
  9252. description: 货币符号
  9253. type: string
  9254. decimalplace:
  9255. description: 报价小数位
  9256. type: integer
  9257. desccityid:
  9258. description: 目的地(市)
  9259. type: integer
  9260. descprovinceid:
  9261. description: 目的地(省)
  9262. type: integer
  9263. goodscode:
  9264. description: 商品代码(内部)
  9265. type: string
  9266. goodsid:
  9267. description: 商品ID(自增ID SEQ_GOODS)
  9268. type: integer
  9269. goodsname:
  9270. description: 商品名称
  9271. type: string
  9272. hotindex:
  9273. description: 景点热度
  9274. type: integer
  9275. last:
  9276. description: 现价
  9277. type: number
  9278. marketid:
  9279. description: 所属市场ID
  9280. type: integer
  9281. picurls:
  9282. description: 介绍图片[多张用逗号分隔]
  9283. type: string
  9284. quoteminunit:
  9285. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9286. type: integer
  9287. trademode:
  9288. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9289. type: integer
  9290. videourls:
  9291. description: 介绍视频[多张用逗号分隔]
  9292. type: string
  9293. required:
  9294. - goodscode
  9295. - goodsid
  9296. - goodsname
  9297. - marketid
  9298. - trademode
  9299. type: object
  9300. models.HybsMyBuyOrderDetail:
  9301. properties:
  9302. accountid:
  9303. description: 账户ID[报价币种]
  9304. type: integer
  9305. agreeunit:
  9306. description: 合约单位
  9307. type: number
  9308. buyorsell:
  9309. description: 买卖 - 0:买 1:卖
  9310. type: integer
  9311. cancelqty:
  9312. description: 撤单数量
  9313. type: integer
  9314. currencysign:
  9315. description: 货币符号
  9316. type: string
  9317. decimalplace:
  9318. description: 报价小数位
  9319. type: integer
  9320. goodscode:
  9321. description: 商品代码(内部)
  9322. type: string
  9323. goodsid:
  9324. description: 商品ID
  9325. type: integer
  9326. goodsname:
  9327. description: 商品名称
  9328. type: string
  9329. listingselecttype:
  9330. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9331. type: integer
  9332. marketid:
  9333. description: 市场ID
  9334. type: integer
  9335. mybuystatus:
  9336. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9337. type: integer
  9338. orderamount:
  9339. description: 委托金额
  9340. type: number
  9341. orderid:
  9342. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9343. type: string
  9344. orderprice:
  9345. description: 委托价格
  9346. type: number
  9347. orderqty:
  9348. description: 委托数量
  9349. type: integer
  9350. orderstatus:
  9351. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9352. type: integer
  9353. ordertime:
  9354. description: 委托时间
  9355. type: string
  9356. picurls1:
  9357. description: 预售商品介绍图片[多张用逗号分隔]
  9358. type: string
  9359. picurls2:
  9360. description: 挂牌商品介绍图片[多张用逗号分隔]
  9361. type: string
  9362. trademode:
  9363. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9364. type: integer
  9365. tradeqty:
  9366. description: 成交数量
  9367. type: integer
  9368. vendorname1:
  9369. description: 预售商品供应商名称
  9370. type: string
  9371. vendorname2:
  9372. description: 挂牌商品供应商名称
  9373. type: string
  9374. required:
  9375. - accountid
  9376. - buyorsell
  9377. - goodscode
  9378. - goodsid
  9379. - goodsname
  9380. - marketid
  9381. - orderid
  9382. - orderqty
  9383. - ordertime
  9384. - trademode
  9385. type: object
  9386. models.Loginaccount:
  9387. properties:
  9388. accountname:
  9389. description: 账户名称
  9390. type: string
  9391. canoutin:
  9392. description: 是否可出入金 - 0:不可 1:可
  9393. type: integer
  9394. clientroleid:
  9395. description: 终端角色ID
  9396. type: integer
  9397. haslogined:
  9398. description: 是否已登录 - 0:未登录 1:已登录
  9399. type: integer
  9400. hasupdatedpwd:
  9401. description: 是否已更改密码 - 0:未修改 1:已修改
  9402. type: integer
  9403. lastloginip:
  9404. description: 最新登录地址
  9405. type: string
  9406. lastloginmode:
  9407. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9408. type: integer
  9409. lastloginremark:
  9410. description: 最新登录描述
  9411. type: string
  9412. lastlogintime:
  9413. description: 最新登录时间
  9414. type: string
  9415. logincode:
  9416. description: 登录代码
  9417. type: string
  9418. loginfailnum:
  9419. description: 连续登录失败次数(登录成功时清零)
  9420. type: integer
  9421. loginid:
  9422. description: 登陆账号
  9423. type: integer
  9424. loginport:
  9425. description: 最新登录端口
  9426. type: integer
  9427. loginstatus:
  9428. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9429. type: integer
  9430. loginusertype:
  9431. description: 登录账号类型 - 1:投资者 2:机构交易员
  9432. type: integer
  9433. mobile:
  9434. description: 手机号码(加密存储)
  9435. type: string
  9436. modifierid:
  9437. description: 修改人
  9438. type: integer
  9439. modifysrc:
  9440. description: 审核来源 - 1:管理端 2:终端
  9441. type: integer
  9442. modifytime:
  9443. description: 修改时间
  9444. type: string
  9445. password:
  9446. description: 登陆密码
  9447. type: string
  9448. pwdwrongcount:
  9449. description: 密码错误次数
  9450. type: integer
  9451. relateduserid:
  9452. description: 关联用户ID(机构)
  9453. type: integer
  9454. taaccountrighttype:
  9455. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9456. type: integer
  9457. unfreezetime:
  9458. description: 账户解冻时间
  9459. type: string
  9460. userid:
  9461. description: 用户ID
  9462. type: integer
  9463. required:
  9464. - loginid
  9465. type: object
  9466. models.MainAccountInfo:
  9467. properties:
  9468. accountid:
  9469. description: 账号id
  9470. type: integer
  9471. accountname:
  9472. description: 账号名称(taaccount表中的名称)
  9473. type: string
  9474. appid:
  9475. description: AppID
  9476. type: string
  9477. authcode:
  9478. description: 授权码
  9479. type: string
  9480. brokerid:
  9481. description: 经纪商id
  9482. type: string
  9483. fcid:
  9484. description: 期货公司id
  9485. type: integer
  9486. fcname:
  9487. description: 期货公司代码
  9488. type: string
  9489. hedgeaccountcode:
  9490. description: 外部账号代码(主账号登录代码)
  9491. type: string
  9492. hedgeaccountpwd:
  9493. description: 密码
  9494. type: string
  9495. ismain:
  9496. description: 是否主账号
  9497. type: integer
  9498. relateduserid:
  9499. description: 关联用户id
  9500. type: integer
  9501. userid:
  9502. description: 关联用户id
  9503. type: integer
  9504. type: object
  9505. models.Market:
  9506. properties:
  9507. auctionwrtype:
  9508. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9509. type: integer
  9510. canacceptquote:
  9511. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9512. type: integer
  9513. cangoodsexercise:
  9514. description: '[期权]是否可现货行权- 0:否 1:是'
  9515. type: integer
  9516. cangoodsexercisetype:
  9517. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9518. type: integer
  9519. canmanualquotestrike:
  9520. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9521. type: integer
  9522. canmutistage:
  9523. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9524. type: integer
  9525. canpreexercise:
  9526. description: '[期权]是否可预申报- 0:否 1:是'
  9527. type: integer
  9528. clearinterval:
  9529. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9530. type: integer
  9531. contracttmp:
  9532. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9533. type: string
  9534. exchareaid:
  9535. description: 所属交易所,可以没有
  9536. type: integer
  9537. goodstype:
  9538. description: 商品类型 - 1:交易商品 2:仓单商品
  9539. type: integer
  9540. hasrebate:
  9541. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9542. type: integer
  9543. hastradecredit:
  9544. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9545. type: integer
  9546. haswr:
  9547. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9548. type: integer
  9549. isdeductmargin:
  9550. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9551. type: integer
  9552. isrecordsource:
  9553. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9554. type: integer
  9555. isreleasemargin:
  9556. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9557. type: integer
  9558. marginformula:
  9559. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9560. type: integer
  9561. marginformula2:
  9562. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9563. type: integer
  9564. marketid:
  9565. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9566. type: integer
  9567. marketname:
  9568. description: 市场名称
  9569. type: string
  9570. marketserviceid:
  9571. description: 市场服务ID
  9572. type: integer
  9573. marketstatus:
  9574. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9575. type: integer
  9576. markettype:
  9577. description: 市场类型- 1:非交易服务 2:交易服务
  9578. type: integer
  9579. matchermode:
  9580. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9581. type: integer
  9582. openmethod:
  9583. description: 开盘模式 - 0 自动 1手动
  9584. type: integer
  9585. otcuserid:
  9586. description: 场外期权做市商[场外期权]
  9587. type: integer
  9588. outersynctime:
  9589. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9590. type: string
  9591. pendingflag:
  9592. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9593. type: integer
  9594. pendingtime:
  9595. description: 待开市时间[通道交易-对冲](HH:mm)
  9596. type: string
  9597. performancetempid:
  9598. description: 履约计划模板ID - 作废
  9599. type: integer
  9600. premiumquotemode:
  9601. description: 权利金报价方式 - 1:自动 2:手动
  9602. type: integer
  9603. rebateratio:
  9604. description: 返利比率[竞价式]
  9605. type: number
  9606. reckonorder:
  9607. description: 结算顺序
  9608. type: integer
  9609. reckonpricealgorithm:
  9610. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9611. type: integer
  9612. reckonpriceparam:
  9613. description: 结算价参数
  9614. type: integer
  9615. reckontime:
  9616. description: 结算时间[通道交易-对冲](HH:mm)
  9617. type: string
  9618. roleprioritytype:
  9619. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9620. type: integer
  9621. selllistingauditflag:
  9622. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9623. type: integer
  9624. trademarkettype:
  9625. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9626. type: integer
  9627. trademode:
  9628. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9629. type: integer
  9630. tradeproperty:
  9631. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9632. type: integer
  9633. tradetype:
  9634. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9635. type: integer
  9636. required:
  9637. - marketid
  9638. - marketstatus
  9639. - openmethod
  9640. - reckonpricealgorithm
  9641. - trademode
  9642. - tradeproperty
  9643. type: object
  9644. models.Marketrun:
  9645. properties:
  9646. afternexttradedate:
  9647. description: 下下交易日
  9648. type: string
  9649. clearquoteflag:
  9650. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9651. type: integer
  9652. lastreckondate:
  9653. description: 最新交易日(结算成功)
  9654. type: string
  9655. machinedate:
  9656. description: 机器时间
  9657. type: string
  9658. manualflag:
  9659. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9660. type: integer
  9661. marketid:
  9662. description: 市场ID
  9663. type: integer
  9664. nexttradedate:
  9665. description: 下一交易日
  9666. type: string
  9667. pretradedate:
  9668. description: 上一交易日
  9669. type: string
  9670. reckonflag:
  9671. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9672. type: integer
  9673. runstatus:
  9674. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9675. type: integer
  9676. sectionid:
  9677. description: 时间段号[多时段时用]
  9678. type: integer
  9679. tradedate:
  9680. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9681. type: string
  9682. tradedate2:
  9683. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9684. type: string
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - marketid
  9690. - nexttradedate
  9691. - reckonflag
  9692. - runstatus
  9693. - tradedate
  9694. - tradedate2
  9695. type: object
  9696. models.Messageboard:
  9697. properties:
  9698. contactnum:
  9699. description: 联系电话
  9700. type: string
  9701. createtime:
  9702. description: 创建时间
  9703. type: string
  9704. message:
  9705. description: 留言信息
  9706. type: string
  9707. messageboardid:
  9708. description: 留言簿ID(SEQ_MessageBoard)
  9709. type: integer
  9710. userid:
  9711. description: 用户ID
  9712. type: integer
  9713. required:
  9714. - messageboardid
  9715. type: object
  9716. models.MyCoupon:
  9717. properties:
  9718. accountid:
  9719. description: 资金账户ID
  9720. type: integer
  9721. areauserid:
  9722. description: 所属机构
  9723. type: integer
  9724. conditionvalue:
  9725. description: 条件阈值(可为0)
  9726. type: number
  9727. couponcategroy:
  9728. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9729. type: integer
  9730. couponname:
  9731. description: 优惠券名称
  9732. type: string
  9733. coupontypeid:
  9734. description: 优惠券类型ID
  9735. type: string
  9736. couponvalue:
  9737. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9738. type: number
  9739. curfreezeqty:
  9740. description: 期末冻结数量
  9741. type: integer
  9742. curqty:
  9743. description: 期末数量
  9744. type: integer
  9745. isgeneral:
  9746. description: 是否通用券 - 0:否 1:是
  9747. type: integer
  9748. isunusable:
  9749. description: 是否不可用
  9750. type: boolean
  9751. limitedflag:
  9752. description: 是否指定商品 - 0:不限 1:限制
  9753. type: integer
  9754. limitedgoodsids:
  9755. description: 指定商品IDs[逗号分隔,前后加逗号]
  9756. type: string
  9757. orifreezeqty:
  9758. description: 期初冻结数量
  9759. type: integer
  9760. oriqty:
  9761. description: 期初数量
  9762. type: integer
  9763. reasontype:
  9764. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9765. type: integer
  9766. todaydecrease:
  9767. description: 今日减少
  9768. type: integer
  9769. todayincrease:
  9770. description: 今日增加
  9771. type: integer
  9772. userid:
  9773. description: 用户ID
  9774. type: integer
  9775. userscope:
  9776. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9777. type: string
  9778. required:
  9779. - accountid
  9780. - coupontypeid
  9781. type: object
  9782. models.MyCouponHold:
  9783. properties:
  9784. accountid:
  9785. description: 资金账户ID
  9786. type: integer
  9787. conditionvalue:
  9788. description: 条件阈值(可为0)
  9789. type: number
  9790. couponcategroy:
  9791. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9792. type: integer
  9793. couponholdid:
  9794. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9795. type: string
  9796. couponname:
  9797. description: 优惠券名称
  9798. type: string
  9799. coupontypeid:
  9800. description: 优惠券类型ID - SEQ_COUPONTYPE
  9801. type: string
  9802. couponvalue:
  9803. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9804. type: number
  9805. createtime:
  9806. description: 创建时间
  9807. type: string
  9808. enddate:
  9809. description: 结束日期
  9810. type: string
  9811. giveapplyid:
  9812. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9813. type: integer
  9814. holdstatus:
  9815. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9816. type: integer
  9817. isgeneral:
  9818. description: 是否通用券 - 0:否 1:是
  9819. type: integer
  9820. limitedflag:
  9821. description: 是否指定商品 - 0:不限 1:限制
  9822. type: integer
  9823. limitedgoodsids:
  9824. description: 指定商品IDs[逗号分隔]
  9825. type: string
  9826. qty:
  9827. description: 数量(按1平铺)
  9828. type: integer
  9829. startdate:
  9830. description: 开始日期
  9831. type: string
  9832. userid:
  9833. description: 用户ID
  9834. type: integer
  9835. userscope:
  9836. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9837. type: string
  9838. required:
  9839. - couponholdid
  9840. type: object
  9841. models.MyUsedCoupon:
  9842. properties:
  9843. accountid:
  9844. description: 资金账户ID(买方)
  9845. type: integer
  9846. conditionvalue:
  9847. description: 条件阈值(可为0)
  9848. type: number
  9849. couponcategroy:
  9850. description: 种类 - 1:现金券 2:折扣券
  9851. type: integer
  9852. couponname:
  9853. description: 优惠券名称
  9854. type: string
  9855. coupontypeid:
  9856. description: 优惠券类型ID(买方)
  9857. type: string
  9858. couponvalue:
  9859. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9860. type: number
  9861. createtime:
  9862. description: 创建时间
  9863. type: string
  9864. goodsid:
  9865. description: 商品ID
  9866. type: integer
  9867. handlestatus:
  9868. description: 处理状态
  9869. type: integer
  9870. marketid:
  9871. description: 市场ID
  9872. type: integer
  9873. offamount:
  9874. description: 优惠金额
  9875. type: number
  9876. orderid:
  9877. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9878. type: string
  9879. sellaccountid:
  9880. description: 资金账户ID(卖方)
  9881. type: integer
  9882. tradeamount:
  9883. description: 成交金额
  9884. type: number
  9885. tradeid:
  9886. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9887. type: string
  9888. usedqty:
  9889. description: 使用数量
  9890. type: integer
  9891. required:
  9892. - coupontypeid
  9893. - orderid
  9894. type: object
  9895. models.OperationPrimaryMenu:
  9896. properties:
  9897. Children:
  9898. description: 二级功能菜单
  9899. items:
  9900. $ref: '#/definitions/models.OperationSecondaryMenu'
  9901. type: array
  9902. Key:
  9903. description: 菜单KEY
  9904. type: string
  9905. Label:
  9906. description: 菜单标题
  9907. type: string
  9908. type: object
  9909. models.OperationSecondaryMenu:
  9910. properties:
  9911. Key:
  9912. description: 菜单KEY
  9913. type: string
  9914. Label:
  9915. description: 菜单标题
  9916. type: string
  9917. TabList:
  9918. description: 三级功能菜单
  9919. items:
  9920. $ref: '#/definitions/models.OperationTabMenu'
  9921. type: array
  9922. type: object
  9923. models.OperationTabMenu:
  9924. properties:
  9925. Key:
  9926. description: 菜单KEY
  9927. type: string
  9928. Label:
  9929. description: 菜单标题
  9930. type: string
  9931. type: object
  9932. models.QhjAccountOutInApply:
  9933. properties:
  9934. accountcode:
  9935. description: 资金账号
  9936. type: string
  9937. accountname:
  9938. description: 用户名称(名称)
  9939. type: string
  9940. accountpwd:
  9941. description: 资金密码
  9942. type: string
  9943. accountticket:
  9944. description: 最新账户服务流水号
  9945. type: string
  9946. amount:
  9947. description: 金额
  9948. type: number
  9949. applyremark:
  9950. description: 申请备注
  9951. type: string
  9952. applystatus:
  9953. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9954. type: integer
  9955. auditid:
  9956. description: 审核人
  9957. type: integer
  9958. audittime:
  9959. description: 审核时间
  9960. type: string
  9961. bank_apply_ticket:
  9962. description: 银行申请流水
  9963. type: string
  9964. bankaccountname:
  9965. description: 银行账户名
  9966. type: string
  9967. bankaccountno:
  9968. description: 银行卡号
  9969. type: string
  9970. bankid:
  9971. description: 银行编号
  9972. type: string
  9973. bankticket:
  9974. description: 银行流水
  9975. type: string
  9976. branchbankid:
  9977. description: 银行支行号
  9978. type: string
  9979. branchbankname:
  9980. description: 银行支行名称
  9981. type: string
  9982. capamountout:
  9983. description: 出金(劣后本金) - 外部子账户
  9984. type: number
  9985. certificatephotourl:
  9986. description: 凭证地址
  9987. type: string
  9988. charge:
  9989. description: 手续费
  9990. type: number
  9991. checkerrorflag:
  9992. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9993. type: integer
  9994. currency:
  9995. description: 币种
  9996. type: string
  9997. cusbankid:
  9998. description: 托管银行编号
  9999. type: string
  10000. exchticket:
  10001. description: 银行服务流水号
  10002. type: string
  10003. executetype:
  10004. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10005. type: integer
  10006. extendinfo:
  10007. description: 扩展信息
  10008. type: string
  10009. extoperateid:
  10010. description: 交易服务流水号
  10011. type: integer
  10012. infamount:
  10013. description: 劣后金额(自有)
  10014. type: number
  10015. logincode:
  10016. description: 登录账号(账号)
  10017. type: string
  10018. netaddr:
  10019. description: 调转网址
  10020. type: string
  10021. priamount:
  10022. description: 优先金额(授信)
  10023. type: number
  10024. reauditid:
  10025. description: 复审人
  10026. type: integer
  10027. reauditremark:
  10028. description: 复审备注
  10029. type: string
  10030. reaudittime:
  10031. description: 复审时间
  10032. type: string
  10033. relatedorderid:
  10034. description: 三方关联ID
  10035. type: string
  10036. remark:
  10037. description: 备注
  10038. type: string
  10039. remark2:
  10040. description: 备注(失败原因)
  10041. type: string
  10042. soucreamount:
  10043. description: 原始出入金金额
  10044. type: number
  10045. soucrecurrencyid:
  10046. description: 原始出入金币种
  10047. type: integer
  10048. tradedate:
  10049. description: 交易日(yyyyMMdd)
  10050. type: string
  10051. updatetime:
  10052. description: 更新时间(申请时间)
  10053. type: string
  10054. userid:
  10055. description: 用户id
  10056. type: integer
  10057. userinfotype:
  10058. description: 账户类型 1-个人 2-企业
  10059. type: integer
  10060. type: object
  10061. models.QhjAgreementChangeLog:
  10062. properties:
  10063. agreementcontent:
  10064. description: 协议内容
  10065. type: string
  10066. agreementfrequency:
  10067. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10068. type: integer
  10069. agreementid:
  10070. description: 协议ID
  10071. type: integer
  10072. agreementname:
  10073. description: 协议名称
  10074. type: string
  10075. agreementno:
  10076. description: 协议编号
  10077. type: string
  10078. agreementtype:
  10079. description: 协议类型 - 1:注册 2:登录 3:交易
  10080. type: integer
  10081. agreementversion:
  10082. description: 协议版本号
  10083. type: integer
  10084. logid:
  10085. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10086. type: integer
  10087. reviserid:
  10088. description: 修改人
  10089. type: integer
  10090. revisersrc:
  10091. description: 修改来源 - 1:管理端 2:终端
  10092. type: integer
  10093. updatetime:
  10094. description: 更新时间
  10095. type: string
  10096. type: object
  10097. models.QhjAgreementConfig:
  10098. properties:
  10099. agreementcontent:
  10100. description: 协议内容
  10101. type: string
  10102. agreementfrequency:
  10103. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10104. type: integer
  10105. agreementid:
  10106. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10107. type: integer
  10108. agreementname:
  10109. description: 协议名称
  10110. type: string
  10111. agreementno:
  10112. description: 协议编号
  10113. type: string
  10114. agreementtype:
  10115. description: 协议类型 - 1:注册 2:登录 3:交易
  10116. type: integer
  10117. agreementversion:
  10118. description: 协议版本号(从1开始每次修改加1)
  10119. type: integer
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. creatorid:
  10124. description: 创建人
  10125. type: integer
  10126. creatorsrc:
  10127. description: 创建来源 - 1:管理端 2:终端
  10128. type: integer
  10129. isvalid:
  10130. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10131. type: integer
  10132. reviserid:
  10133. description: 修改人
  10134. type: integer
  10135. revisersrc:
  10136. description: 修改来源 - 1:管理端 2:终端
  10137. type: integer
  10138. updatetime:
  10139. description: 更新时间
  10140. type: string
  10141. type: object
  10142. models.QhjAreaFinanceConfig:
  10143. properties:
  10144. additionalratio:
  10145. description: 追加款比例
  10146. type: number
  10147. advanceratio:
  10148. description: 预付款比例
  10149. type: number
  10150. alarmratio:
  10151. description: 告警比例
  10152. type: number
  10153. consumptiondirectreward:
  10154. description: 消费直推奖励值
  10155. type: number
  10156. consumptionenabled:
  10157. description: 是否启用消费奖励 - 0:不启用 1:启用
  10158. type: integer
  10159. consumptionindirectreward:
  10160. description: 消费间推奖励值
  10161. type: number
  10162. consumptionmodel:
  10163. description: 消费奖励方式 - 1:比率 2:固定
  10164. type: integer
  10165. customerservicenum:
  10166. description: 客服电话
  10167. type: string
  10168. dayinterestrate:
  10169. description: 日利率
  10170. type: number
  10171. disableconsumptiontips:
  10172. description: 关闭消费奖励提示
  10173. type: string
  10174. modifierid:
  10175. description: 修改人ID
  10176. type: integer
  10177. modifysrc:
  10178. description: 审核来源 - 1:管理端 2:终端
  10179. type: integer
  10180. modifytime:
  10181. description: 修改时间
  10182. type: string
  10183. promotionvalue:
  10184. description: 推广奖励值(固定)
  10185. type: number
  10186. scoreconfigvalue1:
  10187. description: 提货积分配置1
  10188. type: integer
  10189. scoreconfigvalue2:
  10190. description: 提货积分配置2
  10191. type: integer
  10192. userid:
  10193. description: 机构用户ID其他做市关系,都设置为 1
  10194. type: integer
  10195. username:
  10196. description: 用户名称
  10197. type: string
  10198. type: object
  10199. models.QhjBankAccountSign:
  10200. properties:
  10201. accountcode:
  10202. description: 资金账号
  10203. type: string
  10204. accountname:
  10205. description: 资金账号对应的账号名(UserName)
  10206. type: string
  10207. accountname2:
  10208. description: 资金账号对应的账号名(UserName) - 密文
  10209. type: string
  10210. accounttype:
  10211. description: 账户类型(UserType)
  10212. type: integer
  10213. applicationtime:
  10214. description: 最后一次更新的时间
  10215. type: string
  10216. applyexchticket:
  10217. description: 申请流水
  10218. type: string
  10219. auditid:
  10220. description: 审核人
  10221. type: integer
  10222. audittime:
  10223. description: 审核时间
  10224. type: string
  10225. bankaccountname:
  10226. description: 签约银行卡账号名
  10227. type: string
  10228. bankaccountname2:
  10229. description: 签约银行卡账号名 - 密文
  10230. type: string
  10231. bankaccountno:
  10232. description: 银行卡号
  10233. type: string
  10234. bankaccountno2:
  10235. description: 银行卡号 - 密文
  10236. type: string
  10237. bankaccounttype:
  10238. description: 银行账户类型 - 1-对私; 2-对公
  10239. type: integer
  10240. bankcardtype:
  10241. description: 银行卡类型
  10242. type: integer
  10243. bankchildaccount:
  10244. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10245. type: string
  10246. bankcity:
  10247. description: 开户行城市
  10248. type: string
  10249. bankid:
  10250. description: 签约银行ID
  10251. type: string
  10252. bankname:
  10253. description: 签约银行名称
  10254. type: string
  10255. bankprovince:
  10256. description: 开户行省份
  10257. type: string
  10258. branchbankid:
  10259. description: 签约银行支行号
  10260. type: string
  10261. branchbankname:
  10262. description: 签约银行支行名称
  10263. type: string
  10264. cardno:
  10265. description: 证件号码
  10266. type: string
  10267. cardno2:
  10268. description: 证件号码 - 密文
  10269. type: string
  10270. cardtype:
  10271. description: 证件类型
  10272. type: string
  10273. currency:
  10274. description: 币种
  10275. type: string
  10276. cusbankid:
  10277. description: 托管银行编号
  10278. type: string
  10279. direct:
  10280. description: 方向(可以判断那方先发起的签约)
  10281. type: integer
  10282. exchticket:
  10283. description: 最后一次签约成功的流水号
  10284. type: string
  10285. extendinfo:
  10286. description: 扩展信息(JSON字符串)
  10287. type: string
  10288. mobilephone:
  10289. description: 手机号
  10290. type: string
  10291. mobilephone2:
  10292. description: 手机号 - 密文
  10293. type: string
  10294. netaddr:
  10295. description: 调转网址
  10296. type: string
  10297. relateduserid:
  10298. description: 关联使用者userid
  10299. type: integer
  10300. signstatus:
  10301. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10302. type: integer
  10303. updatetime:
  10304. description: 更新时间(签解约更新时间)
  10305. type: string
  10306. type: object
  10307. models.QhjBankInfo:
  10308. properties:
  10309. bankid:
  10310. description: 银行ID
  10311. type: string
  10312. bankname:
  10313. description: 银行名称
  10314. type: string
  10315. clearbankno:
  10316. description: 清算系统银行编号
  10317. type: string
  10318. orderindex:
  10319. description: 排序顺序
  10320. type: integer
  10321. status:
  10322. description: 状态 - 0:正常 1:注销
  10323. type: integer
  10324. type: object
  10325. models.QhjBrokerApply:
  10326. properties:
  10327. applicantid:
  10328. description: 申请人
  10329. type: integer
  10330. applysrc:
  10331. description: 申请来源 - 1:管理端 2:终端
  10332. type: integer
  10333. applystatus:
  10334. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10335. type: integer
  10336. applytime:
  10337. description: 申请时间
  10338. type: string
  10339. auditorid:
  10340. description: 审核人
  10341. type: integer
  10342. auditremark:
  10343. description: 审核备注
  10344. type: string
  10345. auditsrc:
  10346. description: 审核来源 - 1:管理端 2:终端
  10347. type: integer
  10348. audittime:
  10349. description: 审核时间
  10350. type: string
  10351. audittradedate:
  10352. description: 审核交易日(yyyyMMdd)
  10353. type: string
  10354. brokerapplyid:
  10355. description: 申请ID(SEQ_BROKERAPPLY)
  10356. type: integer
  10357. cardbackphotourl:
  10358. description: 证件背面图片地址
  10359. type: string
  10360. cardfrontphotourl:
  10361. description: 证件正面图片地址
  10362. type: string
  10363. cardnum:
  10364. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10365. type: string
  10366. customername:
  10367. description: 姓名
  10368. type: string
  10369. logincode:
  10370. description: 登录代码
  10371. type: string
  10372. mobile:
  10373. description: 手机号码
  10374. type: string
  10375. parentuserid:
  10376. description: 所属机构id
  10377. type: integer
  10378. parentusername:
  10379. description: 所属机构名称
  10380. type: string
  10381. refereeuserid:
  10382. description: 推荐人id(经纪人)
  10383. type: integer
  10384. refernum:
  10385. description: 推荐码
  10386. type: string
  10387. remark:
  10388. description: 备注
  10389. type: string
  10390. subarealevelpath:
  10391. description: 层级路径
  10392. type: string
  10393. tradedate:
  10394. description: 交易日(yyyyMMdd)
  10395. type: string
  10396. userid:
  10397. description: 申请人用户ID
  10398. type: integer
  10399. userinfotype:
  10400. description: 用户类型 1-个人 2-企业
  10401. type: integer
  10402. username:
  10403. description: 用户名称
  10404. type: string
  10405. type: object
  10406. models.QhjBrokerApplyEx:
  10407. properties:
  10408. applylist:
  10409. description: 经纪人申请记录(只返回最新一条)
  10410. items:
  10411. $ref: '#/definitions/models.QhjBrokerApply'
  10412. type: array
  10413. canrecommend:
  10414. description: 是否经纪人 0-不是 1-是
  10415. type: integer
  10416. refernum:
  10417. description: 推荐码
  10418. type: string
  10419. userid:
  10420. description: 用户id
  10421. type: integer
  10422. userinfotype:
  10423. description: 用户类型 1-个人 2-企业
  10424. type: integer
  10425. type: object
  10426. models.QhjBrokerRewardLog:
  10427. properties:
  10428. accountid:
  10429. description: 资金账号ID
  10430. type: integer
  10431. createtime:
  10432. description: 创建时间(时间)
  10433. type: string
  10434. handlestatus:
  10435. description: 处理状态
  10436. type: integer
  10437. logid:
  10438. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10439. type: string
  10440. marketid:
  10441. description: 市场ID
  10442. type: integer
  10443. mmaccountid:
  10444. description: 做市商资金账号ID
  10445. type: string
  10446. mmuserid:
  10447. description: 做市商用户ID
  10448. type: string
  10449. rewardamount:
  10450. description: 奖励金额
  10451. type: number
  10452. rewardmodel:
  10453. description: 消费奖励方式 - 1:比率 2:固定
  10454. type: integer
  10455. rewardtype:
  10456. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10457. type: integer
  10458. rewardvalue:
  10459. description: 配置奖励值
  10460. type: number
  10461. srcamount:
  10462. description: 成交金额 [消费奖励] (金额)
  10463. type: number
  10464. srcgoodsid:
  10465. description: 来源商品ID [消费奖励]
  10466. type: string
  10467. srctime:
  10468. description: 来源时间 (成交时间) [消费奖励]
  10469. type: string
  10470. srctradeid:
  10471. description: 来源成交单ID [消费奖励] - 排除提货成交
  10472. type: string
  10473. srcuserid:
  10474. description: 来源用户ID(推广账户)
  10475. type: string
  10476. srcusername:
  10477. description: 推广账户名称
  10478. type: string
  10479. tradedate:
  10480. description: 交易日(yyyyMMdd)
  10481. type: string
  10482. userid:
  10483. description: 经纪人用户ID
  10484. type: integer
  10485. type: object
  10486. models.QhjContract:
  10487. properties:
  10488. contractconfirmtime:
  10489. description: 合同确认时间(时间)
  10490. type: string
  10491. currisklevel:
  10492. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10493. type: integer
  10494. decimalplace:
  10495. description: 商品报价小数位
  10496. type: integer
  10497. enumdicname:
  10498. description: 单位名称
  10499. type: string
  10500. goodscode:
  10501. description: 商品代码
  10502. type: string
  10503. goodsid:
  10504. description: 商品ID [5:融资单]
  10505. type: integer
  10506. goodsname:
  10507. description: 商品名称
  10508. type: string
  10509. goodunitid:
  10510. description: 商品单位id
  10511. type: integer
  10512. initmargin:
  10513. description: 初始保证金(首付款)
  10514. type: number
  10515. lenderamount:
  10516. description: 贷款金额(总额|订单总额)
  10517. type: number
  10518. marginratio:
  10519. description: 保证金比率(首付比例)
  10520. type: number
  10521. payamount:
  10522. description: 已付(已付货款)
  10523. type: number
  10524. reckonrecovermargin:
  10525. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10526. type: number
  10527. recoveredmargin:
  10528. description: 已追缴保证金
  10529. type: number
  10530. remainamount:
  10531. description: 合同剩余金额(融资额)
  10532. type: number
  10533. scfcontractid:
  10534. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10535. type: string
  10536. scfcontractstatus:
  10537. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10538. type: integer
  10539. scfcontracttype:
  10540. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10541. type: integer
  10542. totalinterest:
  10543. description: 已计总利息(利息)
  10544. type: number
  10545. tradeprice:
  10546. description: 成交价格(成本价格)
  10547. type: number
  10548. userid:
  10549. description: 用户ID
  10550. type: integer
  10551. username:
  10552. description: 用户名称
  10553. type: string
  10554. wrqty:
  10555. description: 仓单数量(数量)
  10556. type: number
  10557. type: object
  10558. models.QhjContractLog:
  10559. properties:
  10560. amount:
  10561. description: 支付金额
  10562. type: number
  10563. amounttype:
  10564. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10565. type: integer
  10566. logid:
  10567. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10568. type: string
  10569. remainamount:
  10570. description: 剩余货款
  10571. type: number
  10572. scfcontractid:
  10573. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10574. type: integer
  10575. updatetime:
  10576. description: 更新时间
  10577. type: string
  10578. type: object
  10579. models.QhjCusBankSignBankEx:
  10580. properties:
  10581. banklst:
  10582. description: 银行列表
  10583. items:
  10584. $ref: '#/definitions/models.QhjBankInfo'
  10585. type: array
  10586. canallot:
  10587. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10588. type: integer
  10589. canallotquery:
  10590. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10591. type: integer
  10592. canbindcard:
  10593. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10594. type: integer
  10595. caninamount:
  10596. description: 是否可入金 - 0:不可 1:可以
  10597. type: integer
  10598. caninamount2:
  10599. description: 是否可入金(网银端) - 0:不可 1:可以
  10600. type: integer
  10601. canmodifybankcard:
  10602. description: 是否可修改银行卡号 - 0:不可 1:可以
  10603. type: integer
  10604. canmodifyphone:
  10605. description: 是否可修改手机号 - 0:不可 1:可以
  10606. type: integer
  10607. canmodifysigninfo:
  10608. description: 是否可修改签约信息 - 0:不可 1:可以
  10609. type: integer
  10610. canoutamount:
  10611. description: 是否可出金 - 0:不可 1:可以
  10612. type: integer
  10613. canoutamount2:
  10614. description: 是否可出金(网银端) - 0:不可 1:可以
  10615. type: integer
  10616. canrelease:
  10617. description: 是否可解约 - 0:不可 1:可以
  10618. type: integer
  10619. canrelease2:
  10620. description: 是否可解约(网银端) - 0:不可 1:可以
  10621. type: integer
  10622. cansign:
  10623. description: 是否可签约 - 0:不可 1:可以
  10624. type: integer
  10625. cansign2:
  10626. description: 是否可签约(网银端) - 0:不可 1:可以
  10627. type: integer
  10628. currency:
  10629. description: 币种
  10630. type: string
  10631. cusbankid:
  10632. description: 托管银行编号(对应清算中心TRAN_NO)
  10633. type: string
  10634. cusbankname:
  10635. description: 银行业务名称
  10636. type: string
  10637. cusbankshortname:
  10638. description: 银行业务简称
  10639. type: string
  10640. exchbankid:
  10641. description: 交易所开户银行ID
  10642. type: string
  10643. exchpaybankaccname:
  10644. description: 交易所支出结算账户户名
  10645. type: string
  10646. exchpaybankaccno:
  10647. description: 交易所支出结算账户
  10648. type: string
  10649. isneedcheck:
  10650. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10651. type: integer
  10652. isneedclear:
  10653. description: 是否需要清算 - 0:不需要 1:需要
  10654. type: integer
  10655. lastcheckstatus:
  10656. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10657. type: integer
  10658. lastchecktime:
  10659. description: 最后对账时间
  10660. type: string
  10661. lastclearstatus:
  10662. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10663. type: integer
  10664. lastcleartime:
  10665. description: 最后清算时间
  10666. type: string
  10667. lastsignintime:
  10668. description: 最后签到时间
  10669. type: string
  10670. lastsignouttime:
  10671. description: 最后签退时间
  10672. type: string
  10673. riskinfo:
  10674. description: 签约风险提示书
  10675. type: string
  10676. signstatus:
  10677. description: 当前签到/签退状态 - 1:签到 2:签退
  10678. type: integer
  10679. tradedate:
  10680. description: 交易日(yyyyMMdd)
  10681. type: string
  10682. updatetime:
  10683. description: 当前签到/签退更新时间
  10684. type: string
  10685. type: object
  10686. models.QhjCustomer:
  10687. properties:
  10688. address:
  10689. description: 通讯地址
  10690. type: string
  10691. attachment1:
  10692. description: 附件1
  10693. type: string
  10694. audittime:
  10695. description: 审核时间
  10696. type: string
  10697. cardbackphotourl:
  10698. description: 证件反面图片地址
  10699. type: string
  10700. cardfrontphotourl:
  10701. description: 证件正面图片地址
  10702. type: string
  10703. cardnum:
  10704. description: 证件号码
  10705. type: string
  10706. cardtype:
  10707. description: 证件类型
  10708. type: integer
  10709. cardtypename:
  10710. description: 证件类型名称
  10711. type: string
  10712. cityid:
  10713. description: 市
  10714. type: integer
  10715. cityname:
  10716. description: 城市名称
  10717. type: string
  10718. contactname:
  10719. description: 联系人
  10720. type: string
  10721. countryid:
  10722. description: 国家
  10723. type: integer
  10724. countryname:
  10725. description: 国家名称
  10726. type: string
  10727. createtime:
  10728. description: 创建时间
  10729. type: string
  10730. customername:
  10731. description: 客户名称
  10732. type: string
  10733. districtid:
  10734. description: 区域
  10735. type: integer
  10736. districtname:
  10737. description: 地区名称
  10738. type: string
  10739. email:
  10740. description: 邮件
  10741. type: string
  10742. legalpersonname:
  10743. description: 法人姓名(企业)
  10744. type: string
  10745. logincode:
  10746. description: 登录账号(代码)
  10747. type: string
  10748. memberuserid:
  10749. description: 所属机构ID(所属会员)
  10750. type: integer
  10751. memberusername:
  10752. description: 所属会员名称
  10753. type: string
  10754. mobile:
  10755. description: 手机号码
  10756. type: string
  10757. modifytime:
  10758. description: 修改时间
  10759. type: string
  10760. nickname:
  10761. description: 昵称
  10762. type: string
  10763. parentuserid:
  10764. description: 上级机构(所属机构)
  10765. type: integer
  10766. parentusername:
  10767. description: 所属机构名称
  10768. type: string
  10769. provinceid:
  10770. description: 省
  10771. type: integer
  10772. provincename:
  10773. description: 省名称
  10774. type: string
  10775. proxystatementurl:
  10776. description: 授权委托书
  10777. type: string
  10778. remark:
  10779. description: 备注
  10780. type: string
  10781. status:
  10782. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10783. type: integer
  10784. statusdesc:
  10785. description: 账户状态中文描述
  10786. type: string
  10787. taxpayernum:
  10788. description: 纳税人识别号
  10789. type: string
  10790. telphone:
  10791. description: 联系电话
  10792. type: string
  10793. userid:
  10794. description: 用户ID
  10795. type: integer
  10796. userinfotype:
  10797. description: 客户类型 1-个人 2-企业
  10798. type: integer
  10799. username:
  10800. description: 用户名称
  10801. type: string
  10802. type: object
  10803. models.QhjCustomerSignLog:
  10804. properties:
  10805. agreementcontent:
  10806. description: 协议内容
  10807. type: string
  10808. agreementid:
  10809. description: 协议ID
  10810. type: integer
  10811. agreementname:
  10812. description: 协议名称
  10813. type: string
  10814. agreementno:
  10815. description: 协议编号
  10816. type: string
  10817. agreementtype:
  10818. description: 协议类型 - 1:注册 2:登录 3:交易
  10819. type: integer
  10820. agreementversion:
  10821. description: 协议版本号
  10822. type: integer
  10823. createtime:
  10824. description: 创建时间
  10825. type: string
  10826. goodscode:
  10827. description: 商品代码
  10828. type: string
  10829. goodsid:
  10830. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10831. type: integer
  10832. goodsname:
  10833. description: 商品名称
  10834. type: string
  10835. logid:
  10836. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10837. type: integer
  10838. nodetype:
  10839. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10840. type: integer
  10841. signadressurl:
  10842. description: 签约文件地址
  10843. type: string
  10844. signtimestamp:
  10845. description: 签约状态时间戳
  10846. type: string
  10847. userid:
  10848. description: 客户ID
  10849. type: integer
  10850. username:
  10851. description: 客户名称
  10852. type: string
  10853. type: object
  10854. models.QhjCustomerSignStatus:
  10855. properties:
  10856. createtime:
  10857. description: 创建时间
  10858. type: string
  10859. goodscode:
  10860. description: 商品代码
  10861. type: string
  10862. goodsid:
  10863. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10864. type: integer
  10865. goodsname:
  10866. description: 商品名称
  10867. type: string
  10868. nodetype:
  10869. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10870. type: integer
  10871. signtimestamp:
  10872. description: 签约状态时间戳
  10873. type: string
  10874. tradedate:
  10875. description: 创建交易日(yyyyMMdd)
  10876. type: string
  10877. updatetime:
  10878. description: 更新时间
  10879. type: string
  10880. userid:
  10881. description: 客户ID
  10882. type: integer
  10883. username:
  10884. description: 客户名称
  10885. type: string
  10886. type: object
  10887. models.QhjMgrAccountOutInApply:
  10888. properties:
  10889. accountcode:
  10890. description: 资金账号
  10891. type: string
  10892. accountname:
  10893. description: 用户名称(名称)
  10894. type: string
  10895. accountpwd:
  10896. description: 资金密码
  10897. type: string
  10898. accountticket:
  10899. description: 最新账户服务流水号
  10900. type: string
  10901. amount:
  10902. description: 金额
  10903. type: number
  10904. applyremark:
  10905. description: 申请备注
  10906. type: string
  10907. applystatus:
  10908. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10909. type: integer
  10910. auditid:
  10911. description: 审核人
  10912. type: integer
  10913. audittime:
  10914. description: 审核时间
  10915. type: string
  10916. bank_apply_ticket:
  10917. description: 银行申请流水
  10918. type: string
  10919. bankaccountname:
  10920. description: 银行账户名
  10921. type: string
  10922. bankaccountno:
  10923. description: 银行卡号
  10924. type: string
  10925. bankid:
  10926. description: 银行编号
  10927. type: string
  10928. bankname:
  10929. description: 银行名称
  10930. type: string
  10931. bankticket:
  10932. description: 银行流水
  10933. type: string
  10934. branchbankid:
  10935. description: 银行支行号
  10936. type: string
  10937. branchbankname:
  10938. description: 银行支行名称
  10939. type: string
  10940. capamountout:
  10941. description: 出金(劣后本金) - 外部子账户
  10942. type: number
  10943. certificatephotourl:
  10944. description: 凭证地址
  10945. type: string
  10946. charge:
  10947. description: 手续费
  10948. type: number
  10949. checkerrorflag:
  10950. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10951. type: integer
  10952. currency:
  10953. description: 币种
  10954. type: string
  10955. cusbankid:
  10956. description: 托管银行编号
  10957. type: string
  10958. exchticket:
  10959. description: 银行服务流水号
  10960. type: string
  10961. executetype:
  10962. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10963. type: integer
  10964. extendinfo:
  10965. description: 扩展信息
  10966. type: string
  10967. extoperateid:
  10968. description: 交易服务流水号
  10969. type: integer
  10970. infamount:
  10971. description: 劣后金额(自有)
  10972. type: number
  10973. logincode:
  10974. description: 登录账号(账号)
  10975. type: string
  10976. netaddr:
  10977. description: 调转网址
  10978. type: string
  10979. priamount:
  10980. description: 优先金额(授信)
  10981. type: number
  10982. reauditid:
  10983. description: 复审人
  10984. type: integer
  10985. reauditremark:
  10986. description: 复审备注
  10987. type: string
  10988. reaudittime:
  10989. description: 复审时间
  10990. type: string
  10991. relatedorderid:
  10992. description: 三方关联ID
  10993. type: string
  10994. remark:
  10995. description: 备注
  10996. type: string
  10997. remark2:
  10998. description: 备注(失败原因)
  10999. type: string
  11000. soucreamount:
  11001. description: 原始出入金金额
  11002. type: number
  11003. soucrecurrencyid:
  11004. description: 原始出入金币种
  11005. type: integer
  11006. tradedate:
  11007. description: 交易日(yyyyMMdd)
  11008. type: string
  11009. updatetime:
  11010. description: 更新时间(申请时间)
  11011. type: string
  11012. userid:
  11013. description: 用户id
  11014. type: integer
  11015. userinfotype:
  11016. description: 账户类型 1-个人 2-企业
  11017. type: integer
  11018. type: object
  11019. models.QhjMgrBrokerApply:
  11020. properties:
  11021. applicantid:
  11022. description: 申请人
  11023. type: integer
  11024. applysrc:
  11025. description: 申请来源 - 1:管理端 2:终端
  11026. type: integer
  11027. applystatus:
  11028. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11029. type: integer
  11030. applytime:
  11031. description: 申请时间
  11032. type: string
  11033. auditorid:
  11034. description: 审核人
  11035. type: integer
  11036. auditremark:
  11037. description: 审核备注
  11038. type: string
  11039. auditsrc:
  11040. description: 审核来源 - 1:管理端 2:终端
  11041. type: integer
  11042. audittime:
  11043. description: 审核时间
  11044. type: string
  11045. audittradedate:
  11046. description: 审核交易日(yyyyMMdd)
  11047. type: string
  11048. brokerapplyid:
  11049. description: 申请ID(SEQ_BROKERAPPLY)
  11050. type: integer
  11051. cardbackphotourl:
  11052. description: 证件背面图片地址
  11053. type: string
  11054. cardfrontphotourl:
  11055. description: 证件正面图片地址
  11056. type: string
  11057. cardnum:
  11058. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11059. type: string
  11060. customername:
  11061. description: 姓名
  11062. type: string
  11063. filterstatus:
  11064. description: 筛选条件
  11065. type: string
  11066. logincode:
  11067. description: 登录代码
  11068. type: string
  11069. mobile:
  11070. description: 手机号码
  11071. type: string
  11072. parentuserid:
  11073. description: 所属机构id
  11074. type: integer
  11075. parentusername:
  11076. description: 所属机构名称
  11077. type: string
  11078. refereeuserid:
  11079. description: 推荐人id(经纪人)
  11080. type: integer
  11081. refernum:
  11082. description: 推荐码
  11083. type: string
  11084. remark:
  11085. description: 备注
  11086. type: string
  11087. subarealevelpath:
  11088. description: 层级路径
  11089. type: string
  11090. tradedate:
  11091. description: 交易日(yyyyMMdd)
  11092. type: string
  11093. userid:
  11094. description: 申请人用户ID
  11095. type: integer
  11096. userinfotype:
  11097. description: 用户类型 1-个人 2-企业
  11098. type: integer
  11099. username:
  11100. description: 用户名称
  11101. type: string
  11102. type: object
  11103. models.QhjMgrBrokerRewardReport:
  11104. properties:
  11105. createtime:
  11106. description: 创建时间(注册时间)
  11107. type: string
  11108. cycletime:
  11109. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11110. type: string
  11111. cycletype:
  11112. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11113. type: integer
  11114. directtotalnum:
  11115. description: 直推总人数【期末】
  11116. type: integer
  11117. indirecttotalnum:
  11118. description: 间推总人数【期末】
  11119. type: integer
  11120. mobile:
  11121. description: 电话号码
  11122. type: string
  11123. refereeuserid:
  11124. description: 推荐人id(经纪人id)
  11125. type: integer
  11126. refereeusername:
  11127. description: 推荐人名称(经纪人) 上级经纪人名称
  11128. type: string
  11129. refernum:
  11130. description: 推荐码
  11131. type: string
  11132. subarealevelpath:
  11133. description: 用户层级路径
  11134. type: string
  11135. todayrewardamount:
  11136. description: 奖励总金额【汇总】
  11137. type: number
  11138. updatetime:
  11139. description: 更新时间
  11140. type: string
  11141. userid:
  11142. description: 经纪人用户ID
  11143. type: integer
  11144. userinfotype:
  11145. description: 用户类型 1-个人 2-企业
  11146. type: integer
  11147. username:
  11148. description: 用户名称
  11149. type: string
  11150. type: object
  11151. models.QhjMgrContract:
  11152. properties:
  11153. contractconfirmtime:
  11154. description: 合同确认时间(时间)
  11155. type: string
  11156. currisklevel:
  11157. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11158. type: integer
  11159. decimalplace:
  11160. description: 商品报价小数位
  11161. type: integer
  11162. enumdicname:
  11163. description: 单位名称
  11164. type: string
  11165. goodscode:
  11166. description: 商品代码
  11167. type: string
  11168. goodsid:
  11169. description: 商品ID [5:融资单]
  11170. type: integer
  11171. goodsname:
  11172. description: 商品名称
  11173. type: string
  11174. goodunitid:
  11175. description: 商品单位id
  11176. type: integer
  11177. initmargin:
  11178. description: 初始保证金(首付款)
  11179. type: number
  11180. lenderamount:
  11181. description: 贷款金额(总额|订单总额)
  11182. type: number
  11183. logincode:
  11184. description: 账号(登录代码)
  11185. type: string
  11186. marginratio:
  11187. description: 保证金比率(首付比例)
  11188. type: number
  11189. mobile:
  11190. description: 电话号码(用户资料里的电话)
  11191. type: string
  11192. payamount:
  11193. description: 已付(已付货款)
  11194. type: number
  11195. reckonrecovermargin:
  11196. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11197. type: number
  11198. recoveredmargin:
  11199. description: 已追缴保证金
  11200. type: number
  11201. remainamount:
  11202. description: 合同剩余金额(融资额)
  11203. type: number
  11204. scfcontractid:
  11205. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11206. type: string
  11207. scfcontractstatus:
  11208. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11209. type: integer
  11210. scfcontracttype:
  11211. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11212. type: integer
  11213. totalinterest:
  11214. description: 已计总利息(利息)
  11215. type: number
  11216. tradedate:
  11217. description: 交易日
  11218. type: string
  11219. tradeprice:
  11220. description: 成交价格(成本价格)
  11221. type: number
  11222. userid:
  11223. description: 用户ID
  11224. type: integer
  11225. userinfotype:
  11226. description: 用户类型 1-个人 2-企业
  11227. type: integer
  11228. username:
  11229. description: 用户名称
  11230. type: string
  11231. wrqty:
  11232. description: 仓单数量(数量)
  11233. type: number
  11234. type: object
  11235. models.QhjMgrCustomer:
  11236. properties:
  11237. address:
  11238. description: 通讯地址
  11239. type: string
  11240. attachment1:
  11241. description: 附件1
  11242. type: string
  11243. audittime:
  11244. description: 审核时间
  11245. type: string
  11246. birthday:
  11247. description: 生日
  11248. type: string
  11249. brokerid:
  11250. description: 所属客户经理id
  11251. type: integer
  11252. brokername:
  11253. description: 所属客户经理名称
  11254. type: string
  11255. cardbackphotourl:
  11256. description: 证件反面图片地址
  11257. type: string
  11258. cardfrontphotourl:
  11259. description: 证件正面图片地址
  11260. type: string
  11261. cardnum:
  11262. description: 证件号码
  11263. type: string
  11264. cardtype:
  11265. description: 证件类型
  11266. type: integer
  11267. cardtypename:
  11268. description: 证件类型名称
  11269. type: string
  11270. cityid:
  11271. description: 市
  11272. type: integer
  11273. cityname:
  11274. description: 城市名称
  11275. type: string
  11276. contactname:
  11277. description: 联系人
  11278. type: string
  11279. countryid:
  11280. description: 国家
  11281. type: integer
  11282. countryname:
  11283. description: 国家名称
  11284. type: string
  11285. createtime:
  11286. description: 创建时间
  11287. type: string
  11288. customername:
  11289. description: 客户名称
  11290. type: string
  11291. districtid:
  11292. description: 区域
  11293. type: integer
  11294. districtname:
  11295. description: 地区名称
  11296. type: string
  11297. email:
  11298. description: 邮件
  11299. type: string
  11300. legalpersonname:
  11301. description: 法人姓名(企业)
  11302. type: string
  11303. logincode:
  11304. description: 登录账号(代码)
  11305. type: string
  11306. memberuserid:
  11307. description: 所属机构ID(所属会员)
  11308. type: integer
  11309. memberusername:
  11310. description: 所属会员名称
  11311. type: string
  11312. mobile:
  11313. description: 手机号码
  11314. type: string
  11315. modifytime:
  11316. description: 修改时间
  11317. type: string
  11318. nickname:
  11319. description: 昵称
  11320. type: string
  11321. parentuserid:
  11322. description: 上级机构(所属机构)
  11323. type: integer
  11324. parentusername:
  11325. description: 所属机构名称
  11326. type: string
  11327. provinceid:
  11328. description: 省
  11329. type: integer
  11330. provincename:
  11331. description: 省名称
  11332. type: string
  11333. proxystatementurl:
  11334. description: 授权委托书
  11335. type: string
  11336. querytype:
  11337. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11338. type: integer
  11339. remark:
  11340. description: 备注
  11341. type: string
  11342. sex:
  11343. description: 性别 0-女 1-男
  11344. type: integer
  11345. status:
  11346. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11347. type: integer
  11348. statusdesc:
  11349. description: 账户状态中文描述
  11350. type: string
  11351. taxpayernum:
  11352. description: 纳税人识别号
  11353. type: string
  11354. telphone:
  11355. description: 联系电话
  11356. type: string
  11357. userid:
  11358. description: 用户ID
  11359. type: integer
  11360. userinfotype:
  11361. description: 客户类型 1-个人 2-企业
  11362. type: integer
  11363. username:
  11364. description: 用户名称
  11365. type: string
  11366. type: object
  11367. models.QhjMgrPickGoods:
  11368. properties:
  11369. enumdicname:
  11370. description: 单位名称(提货商品)
  11371. type: string
  11372. goodsid:
  11373. description: 商品id
  11374. type: integer
  11375. imageaddress:
  11376. description: 图片
  11377. type: string
  11378. modifierid:
  11379. description: 修改人
  11380. type: integer
  11381. modifiername:
  11382. description: 修改人名称
  11383. type: string
  11384. modifysrc:
  11385. description: 修改来源 - 1:管理端 2:终端
  11386. type: integer
  11387. pickupgoodsagreeunit:
  11388. description: 合约乘数
  11389. type: number
  11390. pickupgoodsdesc:
  11391. description: 描述
  11392. type: string
  11393. pickupgoodsid:
  11394. description: 提货商品ID
  11395. type: string
  11396. pickupgoodsname:
  11397. description: 提货商品名称
  11398. type: string
  11399. pickupgoodsstatus:
  11400. description: 状态 - 1:正常 2:停用 3:注销
  11401. type: integer
  11402. pickupgoodsunitid:
  11403. description: 单位ID
  11404. type: integer
  11405. pickupratio:
  11406. description: 提货系数
  11407. type: number
  11408. preparedays:
  11409. description: 备货期(天)
  11410. type: integer
  11411. remark:
  11412. description: 备注
  11413. type: string
  11414. updatetime:
  11415. description: 更新时间
  11416. type: string
  11417. type: object
  11418. models.QhjMgrPositionRsp:
  11419. properties:
  11420. accountid:
  11421. description: 账号Id
  11422. type: integer
  11423. accountname:
  11424. description: 用户名称
  11425. type: string
  11426. agreeunit:
  11427. description: 合约乘数
  11428. type: number
  11429. averageprice:
  11430. description: 均价
  11431. type: number
  11432. avialqty:
  11433. description: 可用数量
  11434. type: number
  11435. decimalplace:
  11436. description: 报价小数位
  11437. type: integer
  11438. enumdicname:
  11439. description: 单位名称(商品)
  11440. type: string
  11441. frozenqty:
  11442. description: 冻结数量
  11443. type: number
  11444. goodscode:
  11445. description: 商品代码(内部)
  11446. type: string
  11447. goodsid:
  11448. description: 商品Id
  11449. type: integer
  11450. goodsname:
  11451. description: 商品名称
  11452. type: string
  11453. goodunitid:
  11454. description: 报价单位ID
  11455. type: integer
  11456. holderamount:
  11457. description: 金额
  11458. type: number
  11459. holderqty:
  11460. description: 持有数量
  11461. type: number
  11462. holdertype:
  11463. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11464. type: integer
  11465. logincode:
  11466. description: 登录代码(账户)
  11467. type: string
  11468. marketid:
  11469. description: 市场id
  11470. type: integer
  11471. qtydecimalplace:
  11472. description: 成交量小数位
  11473. type: integer
  11474. trademode:
  11475. description: 交易模式
  11476. type: integer
  11477. userid:
  11478. description: 用户id
  11479. type: integer
  11480. userinfotype:
  11481. description: 账户类型 1-个人 2-企业
  11482. type: integer
  11483. type: object
  11484. models.QhjMgrSubArea:
  11485. properties:
  11486. accountname:
  11487. description: 账户名称(机构名称)
  11488. type: string
  11489. memberuserid:
  11490. description: 所属会员ID
  11491. type: integer
  11492. parenttopuser:
  11493. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11494. type: string
  11495. parentuserid:
  11496. description: 所属机构ID
  11497. type: integer
  11498. rootuserid:
  11499. description: 根用户ID
  11500. type: string
  11501. subaccountlevel:
  11502. description: 子账户层数
  11503. type: integer
  11504. subarealevelpath:
  11505. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11506. type: string
  11507. userid:
  11508. description: 用户ID
  11509. type: integer
  11510. usertype:
  11511. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11512. type: integer
  11513. type: object
  11514. models.QhjMgrTradeDetailRsp:
  11515. properties:
  11516. accountid:
  11517. description: 资金账号
  11518. type: integer
  11519. accountname:
  11520. description: 用户名称
  11521. type: string
  11522. agreeunit:
  11523. description: 合约乘数
  11524. type: number
  11525. buyorsell:
  11526. description: 成交类型(方向) 0:买 1:卖
  11527. type: integer
  11528. decimalplace:
  11529. description: 报价小数位
  11530. type: integer
  11531. enumdicname:
  11532. description: 单位名称(商品)
  11533. type: string
  11534. goodscode:
  11535. description: 商品代码(内部)
  11536. type: string
  11537. goodsid:
  11538. description: 商品id
  11539. type: integer
  11540. goodsname:
  11541. description: 商品名称
  11542. type: string
  11543. goodunitid:
  11544. description: 报价单位ID
  11545. type: integer
  11546. logincode:
  11547. description: 登录代码(账户)
  11548. type: string
  11549. marketid:
  11550. description: 市场id
  11551. type: integer
  11552. orderid:
  11553. description: 关联委托单号
  11554. type: string
  11555. qtydecimalplace:
  11556. description: 成交量小数位
  11557. type: integer
  11558. tradeamount:
  11559. description: 金额
  11560. type: number
  11561. tradedate:
  11562. description: 交易日
  11563. type: string
  11564. tradeid:
  11565. description: 成交单号
  11566. type: string
  11567. trademode:
  11568. description: 交易模式
  11569. type: integer
  11570. tradeprice:
  11571. description: 价格
  11572. type: number
  11573. tradeqty:
  11574. description: 数量
  11575. type: number
  11576. tradetime:
  11577. description: 成交时间
  11578. type: string
  11579. userid:
  11580. description: 用户id
  11581. type: integer
  11582. userinfotype:
  11583. description: 账户类型 1-个人 2-企业
  11584. type: integer
  11585. type: object
  11586. models.QhjMgrTradeOrderDetailRsp:
  11587. properties:
  11588. accountid:
  11589. description: 资金账号
  11590. type: integer
  11591. accountname:
  11592. description: 用户名称
  11593. type: string
  11594. agreeunit:
  11595. description: 合约乘数
  11596. type: number
  11597. amount:
  11598. description: 金额
  11599. type: number
  11600. decimalplace:
  11601. description: 报价小数位
  11602. type: integer
  11603. enumdicname:
  11604. description: 单位名称(商品)
  11605. type: string
  11606. goodscode:
  11607. description: 商品代码(内部)
  11608. type: string
  11609. goodsid:
  11610. description: 商品id
  11611. type: integer
  11612. goodsname:
  11613. description: 商品名称
  11614. type: string
  11615. goodunitid:
  11616. description: 报价单位ID
  11617. type: integer
  11618. logincode:
  11619. description: 登录代码(账户)
  11620. type: string
  11621. marketid:
  11622. description: 市场id
  11623. type: integer
  11624. orderid:
  11625. description: 关联委托单号
  11626. type: string
  11627. orderprice:
  11628. description: 价格
  11629. type: number
  11630. orderqty:
  11631. description: 数量
  11632. type: number
  11633. orderstatus:
  11634. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11635. type: integer
  11636. ordertime:
  11637. description: 委托时间
  11638. type: string
  11639. qtydecimalplace:
  11640. description: 成交量小数位
  11641. type: integer
  11642. tradedate:
  11643. description: 交易日
  11644. type: string
  11645. trademode:
  11646. description: 交易模式
  11647. type: integer
  11648. userid:
  11649. description: 用户id
  11650. type: integer
  11651. userinfotype:
  11652. description: 账户类型 1-个人 2-企业
  11653. type: integer
  11654. type: object
  11655. models.QhjMgrTradePayOrder:
  11656. properties:
  11657. accountname:
  11658. description: 用户名称
  11659. type: string
  11660. advanceratio:
  11661. description: 首付比率
  11662. type: number
  11663. agreeunit:
  11664. description: 合约乘数
  11665. type: number
  11666. buyaccountid:
  11667. description: 买方账号ID[报价币种]
  11668. type: integer
  11669. buyorderid:
  11670. description: 买方委托单号(关联单号)
  11671. type: string
  11672. createtime:
  11673. description: 创建时间
  11674. type: string
  11675. decimalplace:
  11676. description: 报价小数位
  11677. type: integer
  11678. enumdicname:
  11679. description: 单位名称(商品)
  11680. type: string
  11681. goodscode:
  11682. description: 商品代码(内部)
  11683. type: string
  11684. goodsid:
  11685. description: 商品ID
  11686. type: integer
  11687. goodsname:
  11688. description: 商品名称
  11689. type: string
  11690. goodunitid:
  11691. description: 报价单位ID
  11692. type: integer
  11693. logincode:
  11694. description: 登录代码(账户)
  11695. type: string
  11696. marketid:
  11697. description: 市场id
  11698. type: integer
  11699. offamount:
  11700. description: 优惠金额
  11701. type: number
  11702. operatetype:
  11703. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11704. type: integer
  11705. payamount:
  11706. description: 支付金额(金额)
  11707. type: number
  11708. payflag:
  11709. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11710. type: integer
  11711. paylimitedtime:
  11712. description: 支付期限
  11713. type: string
  11714. paytime:
  11715. description: 付款时间
  11716. type: string
  11717. qtydecimalplace:
  11718. description: 成交量小数位
  11719. type: integer
  11720. sellaccountid:
  11721. description: 卖方账号ID[报价币种]
  11722. type: integer
  11723. sellorderid:
  11724. description: 卖方委托单号
  11725. type: string
  11726. tradeamount:
  11727. description: 成交金额(优惠后金额)
  11728. type: number
  11729. tradecharge:
  11730. description: 成交手续费(买方)
  11731. type: number
  11732. tradedate:
  11733. description: 交易日(yyyyMMdd)
  11734. type: string
  11735. tradeid:
  11736. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11737. type: string
  11738. trademode:
  11739. description: 交易模式
  11740. type: integer
  11741. tradeprice:
  11742. description: 成交价格(价格)
  11743. type: number
  11744. tradeqty:
  11745. description: 成交数量(数量)
  11746. type: number
  11747. tradetime:
  11748. description: 成交时间
  11749. type: string
  11750. userid:
  11751. description: 用户id
  11752. type: integer
  11753. userinfotype:
  11754. description: 账户类型 1-个人 2-企业
  11755. type: integer
  11756. type: object
  11757. models.QhjMyTeamEx:
  11758. properties:
  11759. accountname:
  11760. description: 用户名称
  11761. type: string
  11762. accountstatus:
  11763. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11764. type: integer
  11765. createtime:
  11766. description: 创建时间
  11767. type: string
  11768. mobile:
  11769. description: 手机号码
  11770. type: string
  11771. refereeuserid:
  11772. description: 推荐人id
  11773. type: integer
  11774. refernum:
  11775. description: 推荐码
  11776. type: string
  11777. subList:
  11778. items:
  11779. $ref: '#/definitions/models.QhjMyTeamEx'
  11780. type: array
  11781. userid:
  11782. description: 用户id
  11783. type: integer
  11784. userinfotype:
  11785. description: 用户类型 1-个人 2-企业
  11786. type: integer
  11787. type: object
  11788. models.QhjNodeAgreementConfig:
  11789. properties:
  11790. agreementcontent:
  11791. description: 协议内容
  11792. type: string
  11793. agreementid:
  11794. description: 协议ID
  11795. type: integer
  11796. agreementname:
  11797. description: 协议名称
  11798. type: string
  11799. agreementno:
  11800. description: 协议编号
  11801. type: string
  11802. agreementtype:
  11803. description: 协议类型 - 1:注册 2:登录 3:交易
  11804. type: integer
  11805. agreementversion:
  11806. description: 协议版本号
  11807. type: integer
  11808. configid:
  11809. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11810. type: integer
  11811. createtime:
  11812. description: 创建时间
  11813. type: string
  11814. goodsid:
  11815. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11816. type: integer
  11817. nodetype:
  11818. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11819. type: integer
  11820. type: object
  11821. models.QhjParentAreaList:
  11822. properties:
  11823. accountname:
  11824. description: 账户名称(机构名称)
  11825. type: string
  11826. userid:
  11827. description: 用户ID
  11828. type: integer
  11829. usertype:
  11830. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11831. type: integer
  11832. type: object
  11833. models.QhjPayOrder:
  11834. properties:
  11835. advanceratio:
  11836. description: 首付比率
  11837. type: number
  11838. buyaccountid:
  11839. description: 买方账号ID[报价币种]
  11840. type: integer
  11841. buyorderid:
  11842. description: 买方委托单号
  11843. type: string
  11844. createtime:
  11845. description: 创建时间
  11846. type: string
  11847. decimalplace:
  11848. description: 商品报价小数位
  11849. type: integer
  11850. enumdicname:
  11851. description: 单位名称
  11852. type: string
  11853. goodscode:
  11854. description: 商品代码
  11855. type: string
  11856. goodsid:
  11857. description: 商品ID
  11858. type: integer
  11859. goodsname:
  11860. description: 商品名称
  11861. type: string
  11862. goodunitid:
  11863. description: 商品单位id
  11864. type: integer
  11865. marketid:
  11866. description: 市场ID
  11867. type: integer
  11868. offamount:
  11869. description: 优惠金额
  11870. type: number
  11871. operatetype:
  11872. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11873. type: integer
  11874. payamount:
  11875. description: 支付金额
  11876. type: number
  11877. payflag:
  11878. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11879. type: integer
  11880. paylimitedtime:
  11881. description: 支付期限
  11882. type: string
  11883. paytime:
  11884. description: 付款时间
  11885. type: string
  11886. qtydecimalplace:
  11887. description: 成交量小数位
  11888. type: integer
  11889. sellaccountid:
  11890. description: 卖方账号ID[报价币种]
  11891. type: integer
  11892. sellorderid:
  11893. description: 卖方委托单号
  11894. type: string
  11895. tradeamount:
  11896. description: 成交金额(优惠后金额)
  11897. type: number
  11898. tradecharge:
  11899. description: 成交手续费(买方)
  11900. type: number
  11901. tradedate:
  11902. description: 交易日(yyyyMMdd)
  11903. type: string
  11904. tradeid:
  11905. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11906. type: string
  11907. tradeprice:
  11908. description: 成交价格
  11909. type: number
  11910. tradeqty:
  11911. description: 成交数量
  11912. type: number
  11913. type: object
  11914. models.QhjPickArea:
  11915. properties:
  11916. address:
  11917. description: 详细地址
  11918. type: string
  11919. cityid:
  11920. description: 市
  11921. type: integer
  11922. cityname:
  11923. description: 城市名称
  11924. type: string
  11925. countryid:
  11926. description: 国家
  11927. type: integer
  11928. countryname:
  11929. description: 国家名称
  11930. type: string
  11931. districtid:
  11932. description: 地区
  11933. type: integer
  11934. districtname:
  11935. description: 地区名称
  11936. type: string
  11937. fromuserid:
  11938. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11939. type: integer
  11940. fromusername:
  11941. description: 所属机构名称
  11942. type: string
  11943. provinceid:
  11944. description: 省
  11945. type: integer
  11946. provincename:
  11947. description: 省名称
  11948. type: string
  11949. suborgtype:
  11950. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11951. type: integer
  11952. userid:
  11953. description: 机构用户ID 其他做市关系,都设置为 1
  11954. type: integer
  11955. username:
  11956. description: 机构用户名称(门店门称)
  11957. type: string
  11958. type: object
  11959. models.QhjPickGoods:
  11960. properties:
  11961. enumdicname:
  11962. description: 单位名称(提货商品)
  11963. type: string
  11964. goodsid:
  11965. description: 商品id
  11966. type: integer
  11967. imageaddress:
  11968. description: 图片
  11969. type: string
  11970. modifierid:
  11971. description: 修改人
  11972. type: integer
  11973. modifiername:
  11974. description: 修改人名称
  11975. type: string
  11976. modifysrc:
  11977. description: 修改来源 - 1:管理端 2:终端
  11978. type: integer
  11979. pickupgoodsagreeunit:
  11980. description: 合约乘数
  11981. type: number
  11982. pickupgoodsdesc:
  11983. description: 描述
  11984. type: string
  11985. pickupgoodsid:
  11986. description: 提货商品ID
  11987. type: string
  11988. pickupgoodsname:
  11989. description: 提货商品名称
  11990. type: string
  11991. pickupgoodsstatus:
  11992. description: 状态 - 1:正常 2:停用 3:注销
  11993. type: integer
  11994. pickupgoodsunitid:
  11995. description: 单位ID
  11996. type: integer
  11997. pickupratio:
  11998. description: 提货系数
  11999. type: number
  12000. preparedays:
  12001. description: 备货期(天)
  12002. type: integer
  12003. remark:
  12004. description: 备注
  12005. type: string
  12006. updatetime:
  12007. description: 更新时间
  12008. type: string
  12009. type: object
  12010. models.QhjRSTriggerLog:
  12011. properties:
  12012. accountid:
  12013. description: 用户资金账户
  12014. type: integer
  12015. accountname:
  12016. description: 账号名称(ACCOUNTID对应的名称)
  12017. type: string
  12018. currencyid:
  12019. description: 币种id
  12020. type: integer
  12021. currencyname:
  12022. description: 币种名称
  12023. type: string
  12024. decimalplace:
  12025. description: 商品报价小数位
  12026. type: integer
  12027. enumdicname:
  12028. description: 单位名称
  12029. type: string
  12030. goodscode:
  12031. description: 定投商品代码
  12032. type: string
  12033. goodsid:
  12034. description: 定投商品ID
  12035. type: integer
  12036. goodsname:
  12037. description: 定投商品名称
  12038. type: string
  12039. goodunitid:
  12040. description: 定投商品单位id
  12041. type: integer
  12042. logid:
  12043. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12044. type: string
  12045. logincode:
  12046. description: 账号(登录代码)
  12047. type: string
  12048. qtydecimalplace:
  12049. description: 成交量小数位
  12050. type: integer
  12051. regularlycycle:
  12052. description: 定投频率 - 1:每周 2:每月
  12053. type: integer
  12054. regularlycyclevalue:
  12055. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12056. type: string
  12057. regularlymode:
  12058. description: 定投方式 - 1:按数量 2:按金额
  12059. type: integer
  12060. regularlymodevalue:
  12061. description: 定投方式值 - 数量或金额
  12062. type: number
  12063. regularlystrategyid:
  12064. description: 定投策略ID
  12065. type: integer
  12066. retcode:
  12067. description: 错误码
  12068. type: string
  12069. tradeid:
  12070. description: 成交单ID
  12071. type: string
  12072. triggeramount:
  12073. description: 触发金额
  12074. type: number
  12075. triggerqty:
  12076. description: 触发数量
  12077. type: number
  12078. triggerstatus:
  12079. description: 触发状态 - 1:成功 2:失败
  12080. type: integer
  12081. triggertime:
  12082. description: 触发时间
  12083. type: string
  12084. triggertradedate:
  12085. description: 触发交易日
  12086. type: string
  12087. userid:
  12088. description: 所属用户ID
  12089. type: integer
  12090. userinfotype:
  12091. description: 用户类型 1-个人 2-企业
  12092. type: integer
  12093. username:
  12094. description: 用户名称(userid对应的名称)
  12095. type: string
  12096. type: object
  12097. models.QhjRStrategy:
  12098. properties:
  12099. accountid:
  12100. description: 用户资金账户
  12101. type: integer
  12102. accountname:
  12103. description: 账号名称(ACCOUNTID对应的名称)
  12104. type: string
  12105. currencyid:
  12106. description: 币种id
  12107. type: integer
  12108. currencyname:
  12109. description: 币种名称
  12110. type: string
  12111. decimalplace:
  12112. description: 商品报价小数位
  12113. type: integer
  12114. enumdicname:
  12115. description: 单位名称
  12116. type: string
  12117. goodscode:
  12118. description: 定投商品代码
  12119. type: string
  12120. goodsid:
  12121. description: 定投商品ID
  12122. type: integer
  12123. goodsname:
  12124. description: 定投商品名称
  12125. type: string
  12126. goodunitid:
  12127. description: 定投商品单位id
  12128. type: integer
  12129. lasteffecttradedate:
  12130. description: 最新生效交易日
  12131. type: string
  12132. laststoptradedate:
  12133. description: 最新暂停交易日
  12134. type: string
  12135. lasttriggertradedate:
  12136. description: 最新触发交易日
  12137. type: string
  12138. logincode:
  12139. description: 账号(登录代码)
  12140. type: string
  12141. nexttriggeramount:
  12142. description: 下次触发金额
  12143. type: number
  12144. nexttriggerdate:
  12145. description: 下次触发日期
  12146. type: string
  12147. nexttriggerqty:
  12148. description: 下次触发数量 [按小数位放大值]
  12149. type: number
  12150. qtydecimalplace:
  12151. description: 成交量小数位
  12152. type: integer
  12153. regularlycycle:
  12154. description: 定投频率 - 1:每周 2:每月
  12155. type: integer
  12156. regularlycyclevalue:
  12157. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12158. type: string
  12159. regularlymode:
  12160. description: 定投方式 - 1:按数量 2:按金额
  12161. type: integer
  12162. regularlymodevalue:
  12163. description: 定投方式值 - 数量或金额
  12164. type: number
  12165. regularlystrategyid:
  12166. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12167. type: integer
  12168. regularlystrategystatus:
  12169. description: 策略状态 - 1:正常 2:暂停 3:终止
  12170. type: integer
  12171. remark:
  12172. description: 备注
  12173. type: string
  12174. triggersuccesstimes:
  12175. description: 累计定投成功次数
  12176. type: string
  12177. triggertotalamount:
  12178. description: 累计定投金额(成功)
  12179. type: number
  12180. triggertotalqty:
  12181. description: 累计定投数量(成功) [按小数位放大值]
  12182. type: number
  12183. triggertotaltimes:
  12184. description: 累计定投总次数
  12185. type: string
  12186. updatesrc:
  12187. description: 更新来源 - 1:管理端 2:终端
  12188. type: integer
  12189. updatetime:
  12190. description: 更新时间
  12191. type: string
  12192. updatorid:
  12193. description: 更新人
  12194. type: string
  12195. userid:
  12196. description: 所属用户ID
  12197. type: integer
  12198. userinfotype:
  12199. description: 用户类型 1-个人 2-企业
  12200. type: integer
  12201. username:
  12202. description: 用户名称(userid对应的名称)
  12203. type: string
  12204. type: object
  12205. models.QhjReckonPriceLog:
  12206. properties:
  12207. decimalplace:
  12208. description: 商品报价小数位
  12209. type: integer
  12210. goodscode:
  12211. description: 商品代码
  12212. type: string
  12213. goodsid:
  12214. description: 商品ID
  12215. type: integer
  12216. goodsname:
  12217. description: 商品名称
  12218. type: string
  12219. lastreckonprice:
  12220. description: 上日结算价
  12221. type: number
  12222. nextdnlimitprice:
  12223. description: 下个交易日跌停价
  12224. type: number
  12225. nexttrade:
  12226. description: 下个交易日
  12227. type: string
  12228. nextuplimitprice:
  12229. description: 下个交易日涨停价
  12230. type: number
  12231. reckonprice:
  12232. description: 今日结算价(定投价)
  12233. type: number
  12234. reckontime:
  12235. description: 结算时间
  12236. type: string
  12237. totalholderqty:
  12238. description: 总持仓数
  12239. type: integer
  12240. totalstock:
  12241. description: 总库存
  12242. type: integer
  12243. tradedate:
  12244. description: 交易日
  12245. type: string
  12246. updowncount:
  12247. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12248. type: integer
  12249. updownflag:
  12250. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12251. type: integer
  12252. updownrate:
  12253. description: 今日涨跌幅
  12254. type: number
  12255. updownrate_2d:
  12256. description: 连续两日涨跌幅
  12257. type: number
  12258. updownrate_3d:
  12259. description: 连续三日涨跌幅
  12260. type: number
  12261. type: object
  12262. models.QhjScoreLog:
  12263. properties:
  12264. accountid:
  12265. description: 账户ID
  12266. type: integer
  12267. createtime:
  12268. description: 创建时间(时间)
  12269. type: string
  12270. goodsid:
  12271. description: 商品ID
  12272. type: integer
  12273. hasuploaded:
  12274. description: 是否已同步(千海金) 0:未同步 1;已同步
  12275. type: integer
  12276. logid:
  12277. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12278. type: string
  12279. marketid:
  12280. description: 市场ID
  12281. type: integer
  12282. relatedamount:
  12283. description: 关联金额
  12284. type: number
  12285. relatedorderid:
  12286. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12287. type: string
  12288. scoreconfigvalue1:
  12289. description: 积分配置1
  12290. type: integer
  12291. scoreconfigvalue2:
  12292. description: 积分配置1
  12293. type: integer
  12294. scoretype:
  12295. description: 积分类型 - 1:提货积分
  12296. type: integer
  12297. scorevalue:
  12298. description: 积分
  12299. type: number
  12300. tradedate:
  12301. description: 交易日(yyyyMMdd)
  12302. type: string
  12303. uploadedtime:
  12304. description: 同步时间
  12305. type: string
  12306. userid:
  12307. description: 用户ID
  12308. type: integer
  12309. type: object
  12310. models.QhjSiteColumnDetail:
  12311. properties:
  12312. author:
  12313. description: 作者
  12314. type: string
  12315. brief:
  12316. description: 简介
  12317. type: string
  12318. columnid:
  12319. description: 所属栏目
  12320. type: integer
  12321. context:
  12322. description: 内容
  12323. type: string
  12324. coverimage:
  12325. description: 封面图片
  12326. type: string
  12327. creaedate:
  12328. description: 创建时间
  12329. type: string
  12330. creatorid:
  12331. description: 创建人
  12332. type: integer
  12333. hits:
  12334. description: 点击数
  12335. type: integer
  12336. id:
  12337. description: ID(SEQ_SITE_COLUMNDETAIL)
  12338. type: integer
  12339. isshow:
  12340. description: 是否展示 - 0:不展示 1:展示
  12341. type: integer
  12342. istop:
  12343. description: 是否置顶 - 0:不置 1:置顶
  12344. type: integer
  12345. modifierid:
  12346. description: 操作人
  12347. type: integer
  12348. publishdate:
  12349. description: 发布日期
  12350. type: string
  12351. status:
  12352. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12353. type: integer
  12354. title:
  12355. description: 标题
  12356. type: string
  12357. updatedate:
  12358. description: 修改时间
  12359. type: string
  12360. userid:
  12361. description: 用户ID(默认为0, 核心为为机构用户ID)
  12362. type: integer
  12363. username:
  12364. description: 用户名称
  12365. type: string
  12366. type: object
  12367. models.QhjTeamOrder:
  12368. properties:
  12369. accountid:
  12370. description: 账户ID[报价币种]
  12371. type: integer
  12372. accountname:
  12373. description: 账户名称
  12374. type: string
  12375. agreeunit:
  12376. description: 合约乘数
  12377. type: number
  12378. buyorsell:
  12379. description: 方向 - 0:买 1:卖
  12380. type: integer
  12381. decimalplace:
  12382. description: 报价小数位
  12383. type: integer
  12384. enumdicname:
  12385. description: 单位名称
  12386. type: string
  12387. goodscode:
  12388. description: 商品代码(内部)
  12389. type: string
  12390. goodsid:
  12391. description: 商品ID
  12392. type: integer
  12393. goodsname:
  12394. description: 商品名称
  12395. type: string
  12396. goodunitid:
  12397. description: 报价单位ID
  12398. type: integer
  12399. marketid:
  12400. description: 市场ID
  12401. type: integer
  12402. marketname:
  12403. description: 市场名称
  12404. type: string
  12405. qtydecimalplace:
  12406. description: 成交量小数位
  12407. type: integer
  12408. refereeuserid:
  12409. description: 推荐人ID
  12410. type: integer
  12411. tradeamount:
  12412. description: 成交金额[账户币种,用于所有权]
  12413. type: number
  12414. tradedate:
  12415. description: 交易日(yyyyMMdd)
  12416. type: string
  12417. trademode:
  12418. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12419. type: integer
  12420. tradeprice:
  12421. description: 成交价格
  12422. type: number
  12423. tradeqty:
  12424. description: 成交数量
  12425. type: number
  12426. tradetime:
  12427. description: 成交时间
  12428. type: string
  12429. userid:
  12430. description: 用户ID
  12431. type: integer
  12432. type: object
  12433. models.QhjTradeGoodsPickup:
  12434. properties:
  12435. accountid:
  12436. description: 账户ID
  12437. type: integer
  12438. address:
  12439. description: 提货人详细地址
  12440. type: string
  12441. amount:
  12442. description: 提货金额
  12443. type: number
  12444. artradedate:
  12445. description: 自动收货交易日(yyyyMMdd)
  12446. type: string
  12447. auditer:
  12448. description: 审核人
  12449. type: integer
  12450. auditsrc:
  12451. description: 更新来源 - 1:管理端 2:终端
  12452. type: integer
  12453. audittime:
  12454. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12455. type: string
  12456. audittradedate:
  12457. description: 审核交易日(yyyyMMdd)
  12458. type: string
  12459. cardnum:
  12460. description: 提货人证件号码
  12461. type: string
  12462. cardtypeid:
  12463. description: 提货人证件类型
  12464. type: integer
  12465. checkremark:
  12466. description: 审核备注
  12467. type: string
  12468. cityid:
  12469. description: 市
  12470. type: integer
  12471. cityname:
  12472. description: 城市名称
  12473. type: string
  12474. confirmtime:
  12475. description: 取货时间 或 收货时间
  12476. type: string
  12477. countryid:
  12478. description: 国家
  12479. type: integer
  12480. countryname:
  12481. description: 国家名称
  12482. type: string
  12483. decimalplace:
  12484. description: 商品报价小数位
  12485. type: integer
  12486. districtid:
  12487. description: 地区
  12488. type: integer
  12489. districtname:
  12490. description: 地区名称
  12491. type: string
  12492. enumdicname:
  12493. description: 单位名称(提货商品)
  12494. type: string
  12495. expresscompany:
  12496. description: 物流公司
  12497. type: string
  12498. expressnum:
  12499. description: 物流单号
  12500. type: string
  12501. goodsagreeunit:
  12502. description: 交易商品乘数
  12503. type: number
  12504. goodscode:
  12505. description: 商品代码
  12506. type: string
  12507. goodsid:
  12508. description: 商品ID
  12509. type: integer
  12510. goodsname:
  12511. description: 商品名称
  12512. type: string
  12513. goodsqty:
  12514. description: 交易商品手数(69模式按成交量小数位放大取整)
  12515. type: number
  12516. handlestatus:
  12517. description: 处理状态
  12518. type: integer
  12519. logincode:
  12520. description: 账号(登录代码, 有可能为空)
  12521. type: string
  12522. marketid:
  12523. description: 市场ID
  12524. type: integer
  12525. phonenum:
  12526. description: 提货人联系方式
  12527. type: string
  12528. pickupgoodsagreeunit:
  12529. description: 提货商品合约乘数
  12530. type: number
  12531. pickupgoodsid:
  12532. description: 提货商品ID
  12533. type: string
  12534. pickupgoodsname:
  12535. description: 提货商品名称
  12536. type: string
  12537. pickupgoodsqty:
  12538. description: 提货商品手数(数量)
  12539. type: number
  12540. pickupgoodsunitid:
  12541. description: 单位ID(提货商品)
  12542. type: integer
  12543. pickupratio:
  12544. description: 提货系数
  12545. type: number
  12546. preparedays:
  12547. description: 备货期(天)-提货单明细表
  12548. type: integer
  12549. provinceid:
  12550. description: 省
  12551. type: integer
  12552. provincename:
  12553. description: 省名称
  12554. type: string
  12555. qty:
  12556. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12557. type: number
  12558. qtydecimalplace:
  12559. description: 商品数量小数位
  12560. type: integer
  12561. recivername:
  12562. description: 提货人姓名
  12563. type: string
  12564. reqtime:
  12565. description: 提货申请时间
  12566. type: string
  12567. storeuserid:
  12568. description: 门店用户ID (千海金)
  12569. type: integer
  12570. storeusername:
  12571. description: 门店用户名称
  12572. type: string
  12573. takemode:
  12574. description: 提货方式 - 2:自提 3:配送(邮寄)
  12575. type: integer
  12576. takeorderid:
  12577. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12578. type: string
  12579. takeorderstatus:
  12580. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12581. type: integer
  12582. takeremark:
  12583. description: 提货备注
  12584. type: string
  12585. tradedate:
  12586. description: 交易日(yyyyMMdd)
  12587. type: string
  12588. updatetime:
  12589. description: 更新时间
  12590. type: string
  12591. userid:
  12592. description: 用户ID
  12593. type: integer
  12594. userinfotype:
  12595. description: 客户类型 1-个人 2-企业
  12596. type: integer
  12597. username:
  12598. description: 用户名称
  12599. type: string
  12600. type: object
  12601. models.QhjUserNodeCfgAndStatus:
  12602. properties:
  12603. agreementcontent:
  12604. description: 协议内容
  12605. type: string
  12606. agreementid:
  12607. description: 协议ID
  12608. type: integer
  12609. agreementname:
  12610. description: 协议名称
  12611. type: string
  12612. agreementno:
  12613. description: 协议编号
  12614. type: string
  12615. agreementtype:
  12616. description: 协议类型 - 1:注册 2:登录 3:交易
  12617. type: integer
  12618. agreementversion:
  12619. description: 协议版本号
  12620. type: integer
  12621. configid:
  12622. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12623. type: integer
  12624. createtime:
  12625. description: 创建时间
  12626. type: string
  12627. goodsid:
  12628. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12629. type: integer
  12630. nodetype:
  12631. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12632. type: integer
  12633. signtimestamp:
  12634. description: 签约状态时间戳(最近一次)
  12635. type: string
  12636. tradedate:
  12637. description: 签约交易日(yyyyMMdd)
  12638. type: string
  12639. userid:
  12640. description: 客户ID
  12641. type: integer
  12642. type: object
  12643. models.Qhjgoodsex:
  12644. properties:
  12645. canfinance:
  12646. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12647. type: integer
  12648. canregularlybuy:
  12649. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12650. type: integer
  12651. defaulttradeuserid:
  12652. description: 默认交易用户ID
  12653. type: integer
  12654. deliverygoodsid:
  12655. description: 现货品种ID
  12656. type: integer
  12657. goodsid:
  12658. description: 商品ID(自增ID SEQ_GOODS)
  12659. type: integer
  12660. minamount:
  12661. description: 最小购买金额
  12662. type: number
  12663. regularlybuyminamount:
  12664. description: 定投最小金额
  12665. type: number
  12666. regularlybuyminqty:
  12667. description: 定投最小数量
  12668. type: number
  12669. spotgoodsbrandid:
  12670. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12671. type: integer
  12672. visibilityforenterprise:
  12673. description: 企业客户是否可见 - 0:不可见 1:可见
  12674. type: integer
  12675. visibilityforpersonal:
  12676. description: 个人客户是否可见 - 0:不可见 1:可见
  12677. type: integer
  12678. wrstandardid:
  12679. description: 现货商品ID
  12680. type: integer
  12681. type: object
  12682. models.QueryErrorInfosRsp:
  12683. properties:
  12684. description:
  12685. description: 异常描述
  12686. type: string
  12687. errorcode:
  12688. description: 异常代码
  12689. type: string
  12690. errorid:
  12691. description: 异常ID
  12692. type: integer
  12693. modulecode:
  12694. description: 所属模块
  12695. type: string
  12696. operatecode:
  12697. description: 所属操作
  12698. type: string
  12699. rownumber:
  12700. description: 行号
  12701. type: string
  12702. required:
  12703. - errorid
  12704. type: object
  12705. models.QueryHedgeOrderDetailRsp:
  12706. properties:
  12707. accountid:
  12708. description: 账户ID
  12709. type: integer
  12710. buyorsell:
  12711. description: 买卖 - 0:买 1:卖
  12712. type: integer
  12713. cancellogincode:
  12714. description: 撤单人
  12715. type: string
  12716. channelbuildtype:
  12717. description: 开平标志 - 0:无 1:建仓 2:平仓
  12718. type: integer
  12719. channelinnerorderstatus:
  12720. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12721. type: integer
  12722. channeloperatetype:
  12723. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12724. type: integer
  12725. closetype:
  12726. description: 平仓方式 - 0:无 1:平今 2:平昨
  12727. type: integer
  12728. curexchangerate:
  12729. description: 当前汇率
  12730. type: number
  12731. exchangefullname:
  12732. description: 外部交易所全称
  12733. type: string
  12734. goodscode:
  12735. description: 商品代码(内部)
  12736. type: string
  12737. goodsid:
  12738. description: 商品ID
  12739. type: integer
  12740. goodsname:
  12741. description: 商品名称
  12742. type: string
  12743. marketid:
  12744. description: 市场ID
  12745. type: integer
  12746. openfreezemargin:
  12747. description: 冻结保证金(冻结交易金额)
  12748. type: number
  12749. orderid:
  12750. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12751. type: string
  12752. orderlogincode:
  12753. description: 委托人
  12754. type: string
  12755. orderprice:
  12756. description: 委托价格(账户)
  12757. type: number
  12758. orderqty:
  12759. description: 委托数量
  12760. type: integer
  12761. ordertime:
  12762. description: 委托时间
  12763. type: string
  12764. pricemode:
  12765. description: '取价方式 - 1:市价 2: 限价'
  12766. type: integer
  12767. tradedate:
  12768. description: 交易日(yyyyMMdd)
  12769. type: string
  12770. tradeqty:
  12771. description: 成交数量
  12772. type: integer
  12773. type: object
  12774. models.QueryHedgeTradeDetailRsp:
  12775. properties:
  12776. accountid:
  12777. description: 账号ID
  12778. type: integer
  12779. buyorsell:
  12780. description: 方向 - 0:买 1:卖
  12781. type: integer
  12782. channelbuildtype:
  12783. description: 委托单据类型 0:无 1:建仓 2:平仓
  12784. type: integer
  12785. closecharge:
  12786. description: 平仓手续费(账户)
  12787. type: number
  12788. closecharge2:
  12789. description: 平仓手续费(商品)
  12790. type: number
  12791. closepl:
  12792. description: 平仓盈亏(账户)
  12793. type: number
  12794. closepl2:
  12795. description: 平仓盈亏(商品)
  12796. type: number
  12797. closepl3:
  12798. description: 平仓盈亏(账户)(逐笔)
  12799. type: number
  12800. closepl4:
  12801. description: 平仓盈亏(商品)(逐笔)
  12802. type: number
  12803. closetype:
  12804. description: 平仓方式 - 0:无 1:平今 2:平昨
  12805. type: integer
  12806. curexchangerate:
  12807. description: 当前汇率
  12808. type: number
  12809. exchangefullname:
  12810. description: 外部交易所全称
  12811. type: string
  12812. goodscode:
  12813. description: 商品代码(内部)
  12814. type: string
  12815. goodsid:
  12816. description: 商品ID
  12817. type: integer
  12818. goodsname:
  12819. description: 商品名称
  12820. type: string
  12821. marketid:
  12822. description: 市场ID
  12823. type: integer
  12824. opencharge:
  12825. description: 建仓手续费(账户)
  12826. type: number
  12827. opencharge2:
  12828. description: 建仓手续费(商品)
  12829. type: number
  12830. orderid:
  12831. description: 委托单号
  12832. type: string
  12833. orderlogincode:
  12834. description: 委托人
  12835. type: string
  12836. tradeamount:
  12837. description: 成交金额(账户)
  12838. type: number
  12839. tradedate:
  12840. description: 交易日(yyyyMMdd)
  12841. type: string
  12842. tradeid:
  12843. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12844. type: string
  12845. tradeprice:
  12846. description: 成交价格
  12847. type: number
  12848. tradeqty:
  12849. description: 成交数量
  12850. type: integer
  12851. tradetime:
  12852. description: 成交时间
  12853. type: string
  12854. tradetype:
  12855. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12856. type: integer
  12857. type: object
  12858. models.QuotePrimaryMenu:
  12859. properties:
  12860. Index:
  12861. description: 序号
  12862. type: integer
  12863. Key:
  12864. description: 键名
  12865. type: string
  12866. Name:
  12867. description: 菜单名称
  12868. type: string
  12869. SubMenus:
  12870. description: 子菜单
  12871. items:
  12872. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12873. type: array
  12874. SubTitleType:
  12875. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12876. type: integer
  12877. TradeModes:
  12878. description: 包含市场交易类型
  12879. type: string
  12880. type: object
  12881. models.QuoteSecondaryMenu:
  12882. properties:
  12883. ExExchangeCode:
  12884. description: 外部交易所代码
  12885. type: string
  12886. ExExchangeID:
  12887. description: 外部交易所ID
  12888. type: integer
  12889. GoodsGroupIDs:
  12890. description: 商品组ID列表
  12891. items:
  12892. type: integer
  12893. type: array
  12894. Index:
  12895. description: 序号
  12896. type: integer
  12897. MarketID:
  12898. description: 市场ID
  12899. type: integer
  12900. MenuTitle:
  12901. description: 菜单标题(市场名称或外部交易所名称)
  12902. type: string
  12903. TradeMode:
  12904. description: 交易模式
  12905. type: integer
  12906. type: object
  12907. models.RoleMenu:
  12908. properties:
  12909. hasright:
  12910. description: 是否有权限 0-没有权限 1-有权限
  12911. type: integer
  12912. iconame:
  12913. description: 菜单图标
  12914. type: string
  12915. menutype:
  12916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12917. type: integer
  12918. parentcode:
  12919. description: 上级资源代码
  12920. type: string
  12921. remark:
  12922. description: 菜单备注
  12923. type: string
  12924. resourcecode:
  12925. description: 菜单代码
  12926. type: string
  12927. resourcelevel:
  12928. description: 级别
  12929. type: integer
  12930. resourcename:
  12931. description: 菜单名称
  12932. type: string
  12933. roleid:
  12934. description: 角色id
  12935. type: integer
  12936. sort:
  12937. description: 排序
  12938. type: integer
  12939. subMenu:
  12940. description: 子级菜单(结构同上层一样, swag解析不出来)
  12941. items:
  12942. $ref: '#/definitions/models.RoleMenu'
  12943. type: array
  12944. url:
  12945. description: URL
  12946. type: string
  12947. userid:
  12948. description: 用户id
  12949. type: integer
  12950. type: object
  12951. models.SearchGoods:
  12952. properties:
  12953. goodscode:
  12954. description: 商品代码(内部)
  12955. type: string
  12956. goodsid:
  12957. description: 商品ID(自增ID SEQ_GOODS)
  12958. type: integer
  12959. goodsname:
  12960. description: 商品名称
  12961. type: string
  12962. marketid:
  12963. description: 所属市场ID
  12964. type: integer
  12965. marketname:
  12966. description: 市场名称
  12967. type: string
  12968. trademode:
  12969. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12970. type: integer
  12971. required:
  12972. - goodscode
  12973. - goodsid
  12974. - goodsname
  12975. - marketid
  12976. - trademode
  12977. type: object
  12978. models.Systemparam:
  12979. properties:
  12980. loginid:
  12981. description: 更新用户账号,登录账号
  12982. type: string
  12983. modifyflag:
  12984. description: 修改标志0 不允许修改 1 允许修改
  12985. type: integer
  12986. paramcode:
  12987. description: 参数代码
  12988. type: string
  12989. paramname:
  12990. description: 参数名
  12991. type: string
  12992. paramtype:
  12993. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12994. type: integer
  12995. paramvalue:
  12996. description: 参数值
  12997. type: string
  12998. paramvalue2:
  12999. description: 参数值(CLOB)
  13000. type: string
  13001. regexpress:
  13002. description: 正则表达式
  13003. type: string
  13004. remark:
  13005. description: 备注
  13006. type: string
  13007. serverip:
  13008. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13009. type: string
  13010. showflag:
  13011. description: 是否显示0 不显示 1 显示
  13012. type: integer
  13013. updatetime:
  13014. description: 更新时间
  13015. type: string
  13016. userid:
  13017. description: 更新用户ID
  13018. type: integer
  13019. required:
  13020. - paramcode
  13021. type: object
  13022. models.Szdz3convertconfig:
  13023. properties:
  13024. canin:
  13025. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13026. type: integer
  13027. canout:
  13028. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13029. type: integer
  13030. converttype:
  13031. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13032. type: integer
  13033. createtime:
  13034. description: 创建时间
  13035. type: string
  13036. creatorid:
  13037. description: 创建人
  13038. type: integer
  13039. daymaxvalue:
  13040. description: 当日最大转入限制
  13041. type: number
  13042. freezedays:
  13043. description: 冻结天数 [5:花生米转交易]
  13044. type: integer
  13045. innergoodsid:
  13046. description: 内部商品ID[交易]
  13047. type: integer
  13048. inratio:
  13049. description: 目标值
  13050. type: integer
  13051. modifierid:
  13052. description: 修改人
  13053. type: integer
  13054. modifytime:
  13055. description: 修改时间
  13056. type: string
  13057. outergoodscode:
  13058. description: 外部商品代码[JD\PD]
  13059. type: string
  13060. outratio:
  13061. description: 源值
  13062. type: integer
  13063. pddecimalplace:
  13064. description: PD小数位
  13065. type: integer
  13066. timemaxvalue:
  13067. description: 单次最大转入限制
  13068. type: number
  13069. timeminvalue:
  13070. description: 单次最小转入限制
  13071. type: number
  13072. required:
  13073. - converttype
  13074. - innergoodsid
  13075. - outergoodscode
  13076. type: object
  13077. models.Szdz3searchwhitelist:
  13078. properties:
  13079. createtime:
  13080. description: 创建时间
  13081. type: string
  13082. creatorid:
  13083. description: 创建人
  13084. type: integer
  13085. modifierid:
  13086. description: 修改人
  13087. type: integer
  13088. modifytime:
  13089. description: 修改时间
  13090. type: string
  13091. userid:
  13092. description: 用户ID
  13093. type: integer
  13094. required:
  13095. - userid
  13096. type: object
  13097. models.TBGoods:
  13098. properties:
  13099. agreeunit:
  13100. description: 合约乘数
  13101. type: number
  13102. enumdicname:
  13103. description: 单位名称
  13104. type: string
  13105. goodscode:
  13106. description: 商品代码(内部)
  13107. type: string
  13108. goodsid:
  13109. description: 商品ID(自增ID SEQ_GOODS)
  13110. type: integer
  13111. goodsname:
  13112. description: 商品名称
  13113. type: string
  13114. type: object
  13115. models.TBGoodsGroup:
  13116. properties:
  13117. convertratio:
  13118. description: 折算系数
  13119. type: number
  13120. enumdicname:
  13121. description: 单位名称
  13122. type: string
  13123. exexchangecode:
  13124. description: 交易所代码
  13125. type: string
  13126. exexchangename:
  13127. description: 交易所名称
  13128. type: string
  13129. gdlst:
  13130. description: 商品列表
  13131. items:
  13132. $ref: '#/definitions/models.TBGoods'
  13133. type: array
  13134. goodsgroupid:
  13135. description: 商品组ID(自增ID)
  13136. type: integer
  13137. goodsgroupname:
  13138. description: 商品组名称
  13139. type: string
  13140. goodunitid:
  13141. description: 报价单位ID
  13142. type: integer
  13143. type: object
  13144. models.TBMiddleGoods:
  13145. properties:
  13146. areauserid:
  13147. description: 机构用户ID
  13148. type: integer
  13149. enumdicname:
  13150. description: 单位名称
  13151. type: string
  13152. gplst:
  13153. description: 期货品种列表
  13154. items:
  13155. $ref: '#/definitions/models.TBGoodsGroup'
  13156. type: array
  13157. middlegoodscode:
  13158. description: 套保品种代码
  13159. type: string
  13160. middlegoodsid:
  13161. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13162. type: integer
  13163. middlegoodsname:
  13164. description: 套保品种名称
  13165. type: string
  13166. needarbitrageratio:
  13167. description: 套利比率
  13168. type: number
  13169. needhedgeratio:
  13170. description: 套保比率
  13171. type: number
  13172. wdlst:
  13173. description: 商品信息列表(现货品类)
  13174. items:
  13175. $ref: '#/definitions/models.TBWrstandard'
  13176. type: array
  13177. type: object
  13178. models.TBWrstandard:
  13179. properties:
  13180. convertratio:
  13181. description: 折算系数
  13182. type: number
  13183. deliverygoodsname:
  13184. description: 品种名称
  13185. type: string
  13186. enumdicname:
  13187. description: 单位名称
  13188. type: string
  13189. vatrate:
  13190. description: 增值税率
  13191. type: number
  13192. wrstandardcode:
  13193. description: 现货商品代码
  13194. type: string
  13195. wrstandardid:
  13196. description: 现货商品ID(SEQ_WRSTANDARD)
  13197. type: integer
  13198. wrstandardname:
  13199. description: 现货商品名称
  13200. type: string
  13201. type: object
  13202. models.Taaccount:
  13203. properties:
  13204. accountflag:
  13205. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13206. type: integer
  13207. accountid:
  13208. description: 资金账户ID
  13209. type: integer
  13210. accountname:
  13211. description: 账户名称
  13212. type: string
  13213. balance:
  13214. description: 期初余额
  13215. type: number
  13216. capitalbalance:
  13217. description: 本金余额[外部子账户实际出入金余额]
  13218. type: number
  13219. changeflag:
  13220. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13221. type: integer
  13222. changetime:
  13223. description: 账户状态变更时间
  13224. type: string
  13225. closepl:
  13226. description: 今日平仓盈亏
  13227. type: number
  13228. creditdecrease:
  13229. description: 今日授信减少
  13230. type: number
  13231. creditincrease:
  13232. description: 今日授信增加
  13233. type: number
  13234. curamount:
  13235. description: 总市值(从持仓中统计)
  13236. type: number
  13237. currencyid:
  13238. description: 货币ID
  13239. type: integer
  13240. currentbalance:
  13241. description: 期末余额
  13242. type: number
  13243. freezecharge:
  13244. description: 手续费冻结
  13245. type: number
  13246. freezemargin:
  13247. description: 冻结保证金
  13248. type: number
  13249. fromaccountid:
  13250. description: 所属上级账户
  13251. type: integer
  13252. inamount:
  13253. description: 今日入金金额(包括三方入金)
  13254. type: number
  13255. ismain:
  13256. description: 是否母账号 0:不是母账户 1:是母账户
  13257. type: integer
  13258. ismarketaccount:
  13259. description: 是否机构接单账号 0:不是 1:是
  13260. type: integer
  13261. isreckonaccount:
  13262. description: 是否机构分润账号 0:不是 1:是
  13263. type: integer
  13264. mortgagecredit:
  13265. description: 授信金额
  13266. type: number
  13267. orifreezecharge:
  13268. description: 期初手续费冻结
  13269. type: number
  13270. orifreezemargin:
  13271. description: 期初冻结保证金
  13272. type: number
  13273. orimortgagecredit:
  13274. description: 期初授信金额
  13275. type: number
  13276. oriothercredit:
  13277. description: 期初其它授信金额
  13278. type: number
  13279. oriotherfreezemargin:
  13280. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13281. type: number
  13282. orioutamountfreeze:
  13283. description: 期初出金冻结
  13284. type: number
  13285. oriusedmargin:
  13286. description: 期初占用保证金
  13287. type: number
  13288. othercredit:
  13289. description: 其它授信金额
  13290. type: number
  13291. othercreditdecrease:
  13292. description: 今日其它授信减少
  13293. type: number
  13294. othercreditincrease:
  13295. description: 今日其它授信增加
  13296. type: number
  13297. otherfreezemargin:
  13298. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13299. type: number
  13300. otherincome:
  13301. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13302. type: number
  13303. otherpay:
  13304. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13305. type: number
  13306. outamount:
  13307. description: 今日出金金额(包括三方出金)
  13308. type: number
  13309. outamountfreeze:
  13310. description: 出金冻结
  13311. type: number
  13312. outthreshold:
  13313. description: 出金阈值
  13314. type: number
  13315. parentaccountid:
  13316. description: 所属根账号
  13317. type: integer
  13318. paycharge:
  13319. description: 今日手续费支出
  13320. type: number
  13321. relatedaccountstatus:
  13322. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13323. type: integer
  13324. relateduserid:
  13325. description: 关联用户
  13326. type: integer
  13327. remainamount:
  13328. description: 融资额(从融资合同中统计)
  13329. type: number
  13330. serivcegroup:
  13331. description: 服务分组
  13332. type: integer
  13333. signstatus:
  13334. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13335. type: integer
  13336. sublevelpath:
  13337. description: 账号层级路径(逗号分隔,首尾加逗号)
  13338. type: string
  13339. taaccounttype:
  13340. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13341. type: integer
  13342. thirdinamount:
  13343. description: 今日三方入金
  13344. type: number
  13345. thirdoutamount:
  13346. description: 今日三方出金
  13347. type: number
  13348. tradestatus:
  13349. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13350. type: integer
  13351. tradestatuschangetime:
  13352. description: 激活时间
  13353. type: string
  13354. transferamount:
  13355. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13356. type: number
  13357. usedmargin:
  13358. description: 占用保证金
  13359. type: number
  13360. userid:
  13361. description: 用户ID
  13362. type: integer
  13363. required:
  13364. - accountid
  13365. - userid
  13366. type: object
  13367. models.Tablecolumnconfig:
  13368. properties:
  13369. aligntype:
  13370. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13371. type: integer
  13372. autoid:
  13373. description: AutoID
  13374. type: integer
  13375. columnfield:
  13376. description: 列字段
  13377. type: string
  13378. columntitle:
  13379. description: 列Title
  13380. type: string
  13381. columnwidth:
  13382. description: 列宽
  13383. type: string
  13384. formatterstring:
  13385. description: 格式化字符
  13386. type: string
  13387. formattertype:
  13388. description: 格式化类型
  13389. type: string
  13390. groupname:
  13391. description: 表头分组名称
  13392. type: string
  13393. isshow:
  13394. description: 是否显示 - 0:不显示 1:显示
  13395. type: integer
  13396. needsummary:
  13397. description: 是否需要汇总 - 0:不需要 1:需要
  13398. type: integer
  13399. orderindex:
  13400. description: 顺序
  13401. type: integer
  13402. remark:
  13403. description: 备注
  13404. type: string
  13405. summarytype:
  13406. description: 汇总类型 - 1:加总 2:最后一个
  13407. type: integer
  13408. tablekey:
  13409. description: 列表Key
  13410. type: string
  13411. required:
  13412. - autoid
  13413. type: object
  13414. models.TjmdQuoteGoods:
  13415. properties:
  13416. buyqty:
  13417. description: 买量(暂不做, 无值, 保留字段)
  13418. type: number
  13419. goodscode:
  13420. description: 合约代码
  13421. type: string
  13422. goodsgroupid:
  13423. description: 商品组ID(自增ID)
  13424. type: integer
  13425. goodsgroupname:
  13426. description: 商品组名称
  13427. type: string
  13428. goodsid:
  13429. description: 合约id
  13430. type: integer
  13431. goodsname:
  13432. description: 合约名称
  13433. type: string
  13434. refgoodscode:
  13435. description: 标的合约代码
  13436. type: string
  13437. refgoodsid:
  13438. description: 标的合约id
  13439. type: integer
  13440. refgoodsname:
  13441. description: 标的合约名称
  13442. type: string
  13443. sellqty:
  13444. description: 卖量(暂不做, 无值, 保留字段)
  13445. type: number
  13446. type: object
  13447. models.TjmdTodayAccountMargin:
  13448. properties:
  13449. accountid:
  13450. description: 账号ID
  13451. type: integer
  13452. goodsid:
  13453. description: 商品ID
  13454. type: integer
  13455. infoc:
  13456. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13457. description: 配置参数
  13458. marketid:
  13459. description: 市场ID
  13460. type: integer
  13461. type: object
  13462. models.TjmdTradeOrderDetail:
  13463. properties:
  13464. buyorsell:
  13465. description: 买卖方向 0-买 1-卖
  13466. type: integer
  13467. goodsid:
  13468. description: 商品id
  13469. type: integer
  13470. marketmaxsub:
  13471. description: 市价最大偏移范围 [浮动价 - 点差]
  13472. type: number
  13473. orderid:
  13474. description: 委托单号
  13475. type: string
  13476. orderprice:
  13477. description: 委托价格
  13478. type: number
  13479. orderqty:
  13480. description: 委托数量
  13481. type: integer
  13482. pricemode:
  13483. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13484. type: integer
  13485. userid:
  13486. description: 用户id
  13487. type: integer
  13488. username:
  13489. description: 用户名称(已脱敏)
  13490. type: string
  13491. type: object
  13492. models.TjmdTransferApply:
  13493. properties:
  13494. applyid:
  13495. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13496. type: integer
  13497. applystatus:
  13498. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13499. type: integer
  13500. applytime:
  13501. description: 申请时间(时间)
  13502. type: string
  13503. auditremark:
  13504. description: 审核备注(拒绝原因?)
  13505. type: string
  13506. buyorsell:
  13507. description: 买卖 - 0:买 1:卖
  13508. type: integer
  13509. goodscode:
  13510. description: 商品代码
  13511. type: string
  13512. goodsid:
  13513. description: 商品ID
  13514. type: integer
  13515. goodsname:
  13516. description: 商品名称
  13517. type: string
  13518. marketid:
  13519. description: 市场ID
  13520. type: integer
  13521. qty:
  13522. description: 转让数量(数量)
  13523. type: number
  13524. tradeid:
  13525. description: 成交单号(关联持仓)
  13526. type: string
  13527. transferamount:
  13528. description: 转让总金额(金额)
  13529. type: number
  13530. transferprice:
  13531. description: 转让价格(协议价格)
  13532. type: number
  13533. type: object
  13534. models.TradeHolderDetail:
  13535. properties:
  13536. accountid:
  13537. description: 账号ID
  13538. type: integer
  13539. agreeunit:
  13540. description: 合约乘数
  13541. type: number
  13542. buyorsell:
  13543. description: 方向 - 0:买 1:卖
  13544. type: integer
  13545. currencyid:
  13546. description: 商品币种id
  13547. type: integer
  13548. currencyname:
  13549. description: 币种名称
  13550. type: string
  13551. decimalplace:
  13552. description: 商品价格小数位
  13553. type: integer
  13554. enumdicname:
  13555. description: 商品单位名称
  13556. type: string
  13557. expirecycle:
  13558. description: 行权周期(天) - 1:滚动行权时填写
  13559. type: integer
  13560. expiredate:
  13561. description: 行权日(yyyyMMdd) - 到期日
  13562. type: string
  13563. expiretype:
  13564. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13565. type: integer
  13566. freezeqty:
  13567. description: 冻结数量
  13568. type: number
  13569. goodscode:
  13570. description: 商品代码
  13571. type: string
  13572. goodsid:
  13573. description: 商品ID
  13574. type: integer
  13575. goodsname:
  13576. description: 商品名称
  13577. type: string
  13578. goodunitid:
  13579. description: 商品单位id
  13580. type: integer
  13581. holderamount:
  13582. description: 持仓金额
  13583. type: number
  13584. holdercredit:
  13585. description: 持仓授信金额
  13586. type: number
  13587. holderdays:
  13588. description: 剩余冻结天数
  13589. type: integer
  13590. holderprice:
  13591. description: 持仓价格
  13592. type: number
  13593. holderqty:
  13594. description: 持仓数量
  13595. type: number
  13596. isconfirmexercise:
  13597. description: 是否确认行权- 0:否 1:是
  13598. type: integer
  13599. ispreexercise:
  13600. description: 是否预申报- 0:否 1:是 2:不可行权
  13601. type: integer
  13602. marketid:
  13603. description: 市场id
  13604. type: integer
  13605. marketname:
  13606. description: 市场名称
  13607. type: string
  13608. openprice:
  13609. description: 建仓价格
  13610. type: number
  13611. openqty:
  13612. description: 建仓数量
  13613. type: number
  13614. optiontype:
  13615. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13616. type: integer
  13617. preexerciseprice:
  13618. description: 预申报价格
  13619. type: number
  13620. premium:
  13621. description: 权利金
  13622. type: number
  13623. qtydecimalplace:
  13624. description: 商品成交量小数位
  13625. type: integer
  13626. refgoodscode:
  13627. description: 标的合约代码
  13628. type: string
  13629. refgoodsid:
  13630. description: 标的合约id
  13631. type: integer
  13632. releaseamount:
  13633. description: 释放持仓金额
  13634. type: number
  13635. releaseholdercredit:
  13636. description: 释放持仓授信金额
  13637. type: number
  13638. taname:
  13639. description: 资金账号名称
  13640. type: string
  13641. tradeamount:
  13642. description: 成交金额
  13643. type: number
  13644. tradedate:
  13645. description: 交易日(yyyyMMdd)
  13646. type: string
  13647. tradeid:
  13648. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13649. type: string
  13650. trademode:
  13651. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13652. type: integer
  13653. tradeproperty:
  13654. description: 交易属性
  13655. type: integer
  13656. tradetime:
  13657. description: 交易时间
  13658. type: string
  13659. userid:
  13660. description: 用户id
  13661. type: integer
  13662. username:
  13663. description: 用户名称
  13664. type: string
  13665. type: object
  13666. models.UserCollectConfig:
  13667. properties:
  13668. accountstatus:
  13669. description: 账户状态 - 1:正常 2:停用 3:注销
  13670. type: integer
  13671. collectaccountname:
  13672. description: 收款人账户名称
  13673. type: string
  13674. collectaccountno:
  13675. description: 收款人账户
  13676. type: string
  13677. collectbankname:
  13678. description: 收款人开户行
  13679. type: string
  13680. collectbranchbankname:
  13681. description: 收款人开户支行
  13682. type: string
  13683. collectconfigid:
  13684. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13685. type: string
  13686. remark:
  13687. description: 备注
  13688. type: string
  13689. userid:
  13690. description: 收款人用户ID
  13691. type: integer
  13692. type: object
  13693. models.UserReceiveInfo:
  13694. properties:
  13695. address:
  13696. description: 提货人详细地址
  13697. type: string
  13698. autoid:
  13699. description: AutoID
  13700. type: integer
  13701. cardnum:
  13702. description: 证件号码(加密存储)
  13703. type: string
  13704. cardtypeid:
  13705. description: 证件类型
  13706. type: integer
  13707. cityid:
  13708. description: 市
  13709. type: integer
  13710. cityname:
  13711. description: 城市名称
  13712. type: string
  13713. countryid:
  13714. description: 国家
  13715. type: integer
  13716. countryname:
  13717. description: 国家名称
  13718. type: string
  13719. districtid:
  13720. description: 地区
  13721. type: integer
  13722. districtname:
  13723. description: 地区名称
  13724. type: string
  13725. hasencrypt:
  13726. description: 数据是否已加密 - 0:未加密 1:已加密
  13727. type: integer
  13728. isdefault:
  13729. description: 是否默认地址 - 0:否 1:是
  13730. type: integer
  13731. phonenum:
  13732. description: 提货人联系方式(加密存储)
  13733. type: string
  13734. provinceid:
  13735. description: 省
  13736. type: integer
  13737. provincename:
  13738. description: 省名称
  13739. type: string
  13740. receivername:
  13741. description: 提货人姓名
  13742. type: string
  13743. takeremark:
  13744. description: 提货备注
  13745. type: string
  13746. userid:
  13747. description: 用户ID
  13748. type: integer
  13749. type: object
  13750. models.Useraccount:
  13751. properties:
  13752. accountname:
  13753. description: 账户名称(机构名称)
  13754. type: string
  13755. accountstatus:
  13756. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13757. type: integer
  13758. applysrc:
  13759. description: 申请来源 - 1:管理端 2:终端
  13760. type: integer
  13761. auditremark:
  13762. description: 审核备注
  13763. type: string
  13764. auditsrc:
  13765. description: 审核来源 - 1:管理端 2:终端
  13766. type: integer
  13767. audittime:
  13768. description: 审核时间
  13769. type: string
  13770. audituserid:
  13771. description: 审核人
  13772. type: integer
  13773. broker:
  13774. description: 所属经纪人ID
  13775. type: integer
  13776. canceltime:
  13777. description: 销户时间
  13778. type: string
  13779. canceluserid:
  13780. description: 销户人
  13781. type: integer
  13782. canrecommend:
  13783. description: 是否可推荐 - 0:不可 1;可
  13784. type: integer
  13785. createtime:
  13786. description: 创建时间
  13787. type: string
  13788. creatorid:
  13789. description: 创建人
  13790. type: integer
  13791. hasauth:
  13792. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13793. type: integer
  13794. isanonymous:
  13795. description: 是否匿名下单 - 0:否 1:是
  13796. type: integer
  13797. maxinvestornum:
  13798. description: 最大用户数(经纪会员下投资者个数)
  13799. type: integer
  13800. memberuserid:
  13801. description: 所属会员ID
  13802. type: integer
  13803. modifierid:
  13804. description: 修改人
  13805. type: integer
  13806. modifyremark:
  13807. description: 变更备注
  13808. type: string
  13809. modifystatus:
  13810. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13811. type: integer
  13812. modifytime:
  13813. description: 修改时间
  13814. type: string
  13815. parenttopuser:
  13816. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13817. type: string
  13818. parentuserid:
  13819. description: 所属机构ID
  13820. type: integer
  13821. reckonaccountid:
  13822. description: 默认结算资金账号ID(机构分润使用) 作废
  13823. type: integer
  13824. refercount:
  13825. description: 推荐总人数
  13826. type: integer
  13827. refereeuserid:
  13828. description: 推荐人ID
  13829. type: integer
  13830. refernum:
  13831. description: 推荐码
  13832. type: string
  13833. rootuserid:
  13834. description: 根用户ID
  13835. type: integer
  13836. subaccountlevel:
  13837. description: 子账户层数
  13838. type: integer
  13839. subarealevelpath:
  13840. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13841. type: string
  13842. userid:
  13843. description: 用户ID
  13844. type: integer
  13845. usertype:
  13846. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13847. type: integer
  13848. required:
  13849. - userid
  13850. type: object
  13851. models.Userfavoritegoods:
  13852. properties:
  13853. goodsid:
  13854. description: 商品ID
  13855. type: integer
  13856. required:
  13857. - goodsid
  13858. type: object
  13859. models.Userinfo:
  13860. properties:
  13861. address:
  13862. description: 地址
  13863. type: string
  13864. attachment1:
  13865. description: 附件1
  13866. type: string
  13867. attachment2:
  13868. description: 附件2
  13869. type: string
  13870. bankaccount:
  13871. description: 银行帐号 (加密存储)
  13872. type: string
  13873. bankaccountname:
  13874. description: 收款人名称
  13875. type: string
  13876. bankcardfrontphotourl:
  13877. description: 银行卡正面照地址
  13878. type: string
  13879. bankid:
  13880. description: 银行编码
  13881. type: string
  13882. bankname:
  13883. description: 银行名称
  13884. type: string
  13885. biznature:
  13886. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13887. type: integer
  13888. bizscope:
  13889. description: 企业经营范围(企业)
  13890. type: string
  13891. cardbackphotourl:
  13892. description: 证件背面图片地址
  13893. type: string
  13894. cardfrontphotourl:
  13895. description: 证件正面图片地址
  13896. type: string
  13897. cardnum:
  13898. description: 证件号码(加密存储)
  13899. type: string
  13900. cardtypeid:
  13901. description: 证件类型ID
  13902. type: integer
  13903. cityid:
  13904. description: 市
  13905. type: integer
  13906. company:
  13907. description: 公司(个人)
  13908. type: string
  13909. contactname:
  13910. description: 联系人
  13911. type: string
  13912. countryid:
  13913. description: 国家
  13914. type: integer
  13915. createtime:
  13916. description: 创建时间
  13917. type: string
  13918. creatorid:
  13919. description: 创建人
  13920. type: integer
  13921. customername:
  13922. description: 客户名称(企业名称)
  13923. type: string
  13924. districtid:
  13925. description: 地区
  13926. type: integer
  13927. email:
  13928. description: 邮件(加密存储)
  13929. type: string
  13930. fax:
  13931. description: 传真(加密存储)
  13932. type: string
  13933. halfbodyphotourl:
  13934. description: 半身照地址
  13935. type: string
  13936. hasencrypt:
  13937. description: 数据是否已加密 - 0:未加密 1:已加密
  13938. type: integer
  13939. headurl:
  13940. description: 头像地址
  13941. type: string
  13942. legalcardbackphotourl:
  13943. description: 法人身份证背面照地址
  13944. type: string
  13945. legalcardfrontphotourl:
  13946. description: 法人身份证正面照地址
  13947. type: string
  13948. legalpersonname:
  13949. description: 法人姓名(企业)
  13950. type: string
  13951. mobile:
  13952. description: 手机号码(加密存储)
  13953. type: string
  13954. mobile2:
  13955. description: 手机号码[明文-尚志]
  13956. type: string
  13957. modifierid:
  13958. description: 修改人
  13959. type: integer
  13960. modifiertime:
  13961. description: 修改时间
  13962. type: string
  13963. needinvoice:
  13964. description: 是否需要发票 - 0:不需要 1:需要
  13965. type: integer
  13966. nickname:
  13967. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13968. type: string
  13969. openmode:
  13970. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13971. type: integer
  13972. otherurl:
  13973. description: 其它图片地址[使用分号分隔]
  13974. type: string
  13975. postalcode:
  13976. description: 邮政编码
  13977. type: string
  13978. provinceid:
  13979. description: 省
  13980. type: integer
  13981. qq:
  13982. description: QQ(加密存储
  13983. type: string
  13984. remark:
  13985. description: 备注
  13986. type: string
  13987. sex:
  13988. description: '用户性别 0: 女 1: 男'
  13989. type: integer
  13990. signpdfurl:
  13991. description: 签约pdf文件
  13992. type: string
  13993. telphone:
  13994. description: 联系电话(加密存储)
  13995. type: string
  13996. userid:
  13997. description: 用户ID
  13998. type: integer
  13999. userinfotype:
  14000. description: 用户信息类型 - 1:个人 2:企业
  14001. type: integer
  14002. userstatus:
  14003. description: 用户状态 - 1:正常 2:注销
  14004. type: integer
  14005. usertype:
  14006. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14007. type: integer
  14008. wechat:
  14009. description: 微信(加密存储)
  14010. type: string
  14011. wskhinfo:
  14012. description: 开户申请信息(JSON)
  14013. type: string
  14014. required:
  14015. - userid
  14016. type: object
  14017. models.WRSConverTDetail:
  14018. properties:
  14019. convertratio:
  14020. description: 套保系数
  14021. type: number
  14022. deliverygoodscode:
  14023. description: 现货商品代码
  14024. type: string
  14025. deliverygoodsid:
  14026. description: 现货品种ID
  14027. type: integer
  14028. deliverygoodsname:
  14029. description: 现货商品名称
  14030. type: string
  14031. enumdicname:
  14032. description: 单位名称
  14033. type: string
  14034. goodsunitid:
  14035. description: 套保品种单位id
  14036. type: integer
  14037. middlegoodscode:
  14038. description: 套保品种代码
  14039. type: string
  14040. middlegoodsid:
  14041. description: 套保品种ID
  14042. type: integer
  14043. middlegoodsname:
  14044. description: 套保品种名称
  14045. type: string
  14046. modifytime:
  14047. description: 修改时间
  14048. type: string
  14049. wrstandardid:
  14050. description: 品类ID
  14051. type: integer
  14052. type: object
  14053. models.WRStandardInfo:
  14054. properties:
  14055. areauserid:
  14056. description: 所属机构
  14057. type: integer
  14058. convertfactor:
  14059. description: 标仓系数
  14060. type: number
  14061. createtime:
  14062. description: 创建时间
  14063. type: string
  14064. creatorid:
  14065. description: 创建人
  14066. type: integer
  14067. deliverygoodsid:
  14068. description: 品种ID
  14069. type: integer
  14070. deliverygoodsname:
  14071. description: 交割商品名称
  14072. type: string
  14073. factoryitemjson:
  14074. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14075. type: string
  14076. isvalid:
  14077. description: 是否有效 - 0:无效 1:有效
  14078. type: integer
  14079. minivalue:
  14080. description: 最小变动值
  14081. type: integer
  14082. minivaluedp:
  14083. description: 最小变动值小数位
  14084. type: integer
  14085. realminivalue:
  14086. description: 实际最小变动值
  14087. type: integer
  14088. realminivaluedp:
  14089. description: 实际最小变动值小数位
  14090. type: integer
  14091. remark:
  14092. description: 备注
  14093. type: string
  14094. unitid:
  14095. description: 单位ID
  14096. type: integer
  14097. unitname:
  14098. description: 单位
  14099. type: string
  14100. updatetime:
  14101. description: 更新时间
  14102. type: string
  14103. updatorid:
  14104. description: 更新人
  14105. type: integer
  14106. wrsstatus:
  14107. description: 状态 - 作废 - 0:未激活 1:正常
  14108. type: integer
  14109. wrstandardcode:
  14110. description: 现货品类代码
  14111. type: string
  14112. wrstandardid:
  14113. description: 现货品类ID(SEQ_WRSTANDARD)
  14114. type: integer
  14115. wrstandardname:
  14116. description: 现货品类名称
  14117. type: string
  14118. required:
  14119. - wrstandardid
  14120. type: object
  14121. models.WRTradeBargainApply:
  14122. properties:
  14123. accountid:
  14124. description: 摘牌资金账号
  14125. type: integer
  14126. applyprice:
  14127. description: 申请价格(议价价格)
  14128. type: string
  14129. applyqty:
  14130. description: 摘牌数量(议价数量)
  14131. type: number
  14132. applyremark:
  14133. description: 申请备注
  14134. type: string
  14135. applystatus:
  14136. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14137. type: integer
  14138. applytime:
  14139. description: 申请时间(议价时间)
  14140. type: string
  14141. buyorsell:
  14142. description: 买卖(挂牌类型) - 0:买 1:卖
  14143. type: integer
  14144. confirmremark:
  14145. description: 确认备注
  14146. type: string
  14147. confirmtime:
  14148. description: 确认时间
  14149. type: string
  14150. confirmuserid:
  14151. description: 确认人
  14152. type: integer
  14153. deliverygoodscode:
  14154. description: 品种代码
  14155. type: string
  14156. deliverygoodsid:
  14157. description: 品种ID
  14158. type: integer
  14159. deliverygoodsname:
  14160. description: 品种名称
  14161. type: string
  14162. deliverymonth:
  14163. description: 交收月
  14164. type: string
  14165. enumdicname:
  14166. description: 单位名称
  14167. type: string
  14168. fixedprice:
  14169. description: 挂牌价格
  14170. type: number
  14171. handlestatus:
  14172. description: 处理状态
  14173. type: integer
  14174. marginvalue:
  14175. description: 履约保证金比例
  14176. type: number
  14177. marketid:
  14178. description: 市场ID
  14179. type: integer
  14180. matchaccountid:
  14181. description: 挂牌方资金账号
  14182. type: integer
  14183. matchuserid:
  14184. description: 挂牌方用户id
  14185. type: integer
  14186. matchusername:
  14187. description: 挂牌方用户名称(已脱敏)
  14188. type: string
  14189. minivalue:
  14190. description: 现货商品最小变动值
  14191. type: integer
  14192. optioncompare:
  14193. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14194. type: string
  14195. orderqty:
  14196. description: 挂牌数量
  14197. type: integer
  14198. refprice:
  14199. description: 参考价格
  14200. type: string
  14201. retcode:
  14202. description: 委托返回代码
  14203. type: integer
  14204. templatename:
  14205. description: 履约方式(履约模板名称)
  14206. type: string
  14207. tradedate:
  14208. description: 交易日(yyyyMMdd)
  14209. type: string
  14210. userid:
  14211. description: 摘牌人用户ID(议价人ID)
  14212. type: integer
  14213. username:
  14214. description: 议价人名字(已脱敏)
  14215. type: string
  14216. validtime:
  14217. description: 有效期限
  14218. type: string
  14219. warehouseid:
  14220. description: 仓库ID
  14221. type: integer
  14222. warehousename:
  14223. description: 仓库名称
  14224. type: string
  14225. wrbargainid:
  14226. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14227. type: string
  14228. wrfactortypeid:
  14229. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14230. type: string
  14231. wrfactortypename:
  14232. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14233. type: string
  14234. wrstandardcode:
  14235. description: 现货商品代码
  14236. type: string
  14237. wrstandardid:
  14238. description: 现货商品ID
  14239. type: integer
  14240. wrstandardname:
  14241. description: 商品名称
  14242. type: string
  14243. wrtradeorderid:
  14244. description: 关联委托单ID
  14245. type: string
  14246. wrtypename:
  14247. description: 商品
  14248. type: string
  14249. type: object
  14250. models.Warehouseinfo:
  14251. properties:
  14252. address:
  14253. description: 详细地址
  14254. type: string
  14255. areauserid:
  14256. description: 所属机构
  14257. type: integer
  14258. autoid:
  14259. description: 自增ID
  14260. type: integer
  14261. cityid:
  14262. description: 市
  14263. type: integer
  14264. contactname:
  14265. description: 联系人
  14266. type: string
  14267. contactnum:
  14268. description: 联系电话
  14269. type: string
  14270. countryid:
  14271. description: 国家
  14272. type: integer
  14273. createtime:
  14274. description: 创建时间
  14275. type: string
  14276. districtid:
  14277. description: 区
  14278. type: integer
  14279. hasvideo:
  14280. description: 是否有视频 - 0:无 1:有
  14281. type: integer
  14282. provinceid:
  14283. description: 省
  14284. type: integer
  14285. remark:
  14286. description: 审核备注
  14287. type: string
  14288. videourl:
  14289. description: 视频地址
  14290. type: string
  14291. warehousecode:
  14292. description: 仓库代码
  14293. type: string
  14294. warehousename:
  14295. description: 仓库名称
  14296. type: string
  14297. warehousestatus:
  14298. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14299. type: integer
  14300. warehousetype:
  14301. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14302. type: integer
  14303. required:
  14304. - autoid
  14305. - warehousecode
  14306. type: object
  14307. models.WrAverageTradePrice:
  14308. properties:
  14309. averageprice:
  14310. description: 成交均价
  14311. type: number
  14312. tradedate:
  14313. description: 交易日yyyymm
  14314. type: string
  14315. type: object
  14316. models.WrBsGoodsInfo:
  14317. properties:
  14318. buyorsell:
  14319. description: 买卖方向 0-买 1-卖
  14320. type: integer
  14321. goodsid:
  14322. description: 交易合约ID
  14323. type: integer
  14324. lstitem:
  14325. description: 商品信息项
  14326. items:
  14327. $ref: '#/definitions/models.WrTypeItem'
  14328. type: array
  14329. lststep:
  14330. description: 履约规则
  14331. items:
  14332. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14333. type: array
  14334. type: object
  14335. models.WrBuybackDetail:
  14336. properties:
  14337. buybackamount:
  14338. description: 回购金额
  14339. type: number
  14340. buybackqty:
  14341. description: 回购数量
  14342. type: number
  14343. buybackreleasemargin:
  14344. description: 回购释放保证金
  14345. type: number
  14346. buybacktime:
  14347. description: 回购时间
  14348. type: string
  14349. errordesc:
  14350. description: 错误描述
  14351. type: string
  14352. handlestatus:
  14353. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14354. type: integer
  14355. relatedwrid:
  14356. description: 关联仓单ID
  14357. type: integer
  14358. scfcontractid:
  14359. description: SCF合同ID
  14360. type: string
  14361. scfwrbuybackid:
  14362. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14363. type: integer
  14364. tradedate:
  14365. description: 交易日(yyyyMMdd)
  14366. type: string
  14367. type: object
  14368. models.WrDeliveryAvalidHoldLB:
  14369. properties:
  14370. accountid:
  14371. description: 资金账号
  14372. type: integer
  14373. avalidqty:
  14374. description: 数量(可点选数量)
  14375. type: number
  14376. deliverygoodsid:
  14377. description: 品种id
  14378. type: integer
  14379. enumdicname:
  14380. description: 单位名称
  14381. type: string
  14382. goodsid:
  14383. description: x合约商品id
  14384. type: integer
  14385. ladingbillid:
  14386. description: 提单id
  14387. type: string
  14388. pgoodscode:
  14389. description: p商品代码(点价合约)
  14390. type: string
  14391. pgoodsid:
  14392. description: p商品id(点价合约)
  14393. type: integer
  14394. pgoodsname:
  14395. description: p商品名称(点价合约)
  14396. type: string
  14397. pricemove:
  14398. description: 升贴水
  14399. type: number
  14400. subnum:
  14401. description: 提单子id
  14402. type: integer
  14403. userid:
  14404. description: 用户id
  14405. type: integer
  14406. username:
  14407. description: 仓单持有人
  14408. type: string
  14409. warehousecode:
  14410. description: 仓库代码
  14411. type: string
  14412. warehouseid:
  14413. description: 仓库id
  14414. type: integer
  14415. warehousename:
  14416. description: 仓库名称
  14417. type: string
  14418. wrfactortypeid:
  14419. description: 仓单要素id
  14420. type: string
  14421. wrstandardcode:
  14422. description: 品代码
  14423. type: string
  14424. wrstandardid:
  14425. description: 品类d
  14426. type: integer
  14427. wrstandardname:
  14428. description: 品类名称
  14429. type: string
  14430. wrtypename:
  14431. description: 商品
  14432. type: string
  14433. xgoodscode:
  14434. description: x合约代码
  14435. type: string
  14436. xgoodsname:
  14437. description: x合约名称
  14438. type: string
  14439. type: object
  14440. models.WrDeliveryDetail:
  14441. properties:
  14442. accountid:
  14443. description: 账号ID
  14444. type: integer
  14445. averageprice:
  14446. description: 交割均价 = 交割金额 / 交割数量
  14447. type: number
  14448. buyorsell:
  14449. description: 方向 - 0:买 1:卖
  14450. type: integer
  14451. deliveryamount:
  14452. description: 货款金额(X总货款+P总货款)
  14453. type: number
  14454. deliveryid:
  14455. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14456. type: string
  14457. deliveryorderid:
  14458. description: 申报单号
  14459. type: string
  14460. deliverypricemove:
  14461. description: 升贴水(升贴水总额)
  14462. type: number
  14463. deliveryqty:
  14464. description: 交收数量(点选数量)
  14465. type: number
  14466. deliverystatus:
  14467. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14468. type: integer
  14469. deliverytime:
  14470. description: 交割时间
  14471. type: string
  14472. deliverytotalamount:
  14473. description: 交收金额
  14474. type: number
  14475. enumdicname:
  14476. description: 单位名称
  14477. type: string
  14478. matchaccountid:
  14479. description: 对手账号ID
  14480. type: integer
  14481. matchusername:
  14482. description: 对手方名称(仓单持有人)
  14483. type: string
  14484. p1goodsremainamount:
  14485. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14486. type: number
  14487. pdeliverycloseqty:
  14488. description: p合约平仓数量
  14489. type: number
  14490. pdeliveryprice:
  14491. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14492. type: number
  14493. pgoodscode:
  14494. description: 商品代码
  14495. type: string
  14496. pgoodsid:
  14497. description: p点选合约id
  14498. type: integer
  14499. pgoodsname:
  14500. description: 商品名称
  14501. type: string
  14502. ppricemode:
  14503. description: 点价价格方式 - 1:商品价 2:固定值
  14504. type: integer
  14505. tradedate:
  14506. description: 交易日(yyyymmdd)
  14507. type: string
  14508. userid:
  14509. description: 用户id
  14510. type: integer
  14511. username:
  14512. description: 用户名称
  14513. type: string
  14514. warehousename:
  14515. description: 仓库名称
  14516. type: string
  14517. wrfactortypeid:
  14518. description: 仓单要素类型ID
  14519. type: string
  14520. wrtypename:
  14521. description: 商品
  14522. type: string
  14523. xdeliverycloseqty:
  14524. description: 合约数量
  14525. type: number
  14526. xgoodsamount:
  14527. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14528. type: number
  14529. xgoodscode:
  14530. description: 商品代码
  14531. type: string
  14532. xgoodsid:
  14533. description: x交易合约ID
  14534. type: integer
  14535. xgoodsname:
  14536. description: 商品名称
  14537. type: string
  14538. type: object
  14539. models.WrFAProductDetail:
  14540. properties:
  14541. accountid:
  14542. description: 资金账号
  14543. type: integer
  14544. areauserid:
  14545. description: 金融机构ID
  14546. type: integer
  14547. financingdays:
  14548. description: 天数(天)
  14549. type: integer
  14550. interestminlen:
  14551. description: 最小起息天数
  14552. type: integer
  14553. interestrate:
  14554. description: 利率
  14555. type: number
  14556. interestratemode:
  14557. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14558. type: integer
  14559. interestsettlemode:
  14560. description: 结息方式 - 1:按日结息 3:按月结息
  14561. type: integer
  14562. interestsettlevalue:
  14563. description: 结息方式值
  14564. type: integer
  14565. isautoloan:
  14566. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14567. type: integer
  14568. loantag:
  14569. description: '放款标识: "放款快" 或者为空'
  14570. type: string
  14571. marginratio:
  14572. description: 保证金比率质押率 - [仓单质押]
  14573. type: number
  14574. productdetailid:
  14575. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14576. type: integer
  14577. productid:
  14578. description: 金融产品ID
  14579. type: integer
  14580. productname:
  14581. description: 产品名称
  14582. type: string
  14583. updatetime:
  14584. description: 更新时间
  14585. type: string
  14586. username:
  14587. description: 融出方
  14588. type: string
  14589. type: object
  14590. models.WrFactorTypeInfo:
  14591. properties:
  14592. deliverygoodscode:
  14593. description: 品种代码
  14594. type: string
  14595. deliverygoodsname:
  14596. description: 品种名称
  14597. type: string
  14598. dgfactoryitemid:
  14599. description: 选择项id
  14600. type: integer
  14601. dgfactoryitemtypeid:
  14602. description: 要素选择项ID (1-仓库 2-品牌)
  14603. type: integer
  14604. dgfactoryitemvalue:
  14605. description: 要素项值
  14606. type: string
  14607. itemtypename:
  14608. description: 要素项名称
  14609. type: string
  14610. optioncompare:
  14611. description: 选择比较串
  14612. type: string
  14613. warehouseid:
  14614. description: 仓库id
  14615. type: integer
  14616. wrfactortypeid:
  14617. description: 仓单要素ID
  14618. type: string
  14619. wrfactortypename:
  14620. description: 要素名称
  14621. type: string
  14622. wrfactortypename2:
  14623. description: 要素名称(不含仓库)
  14624. type: string
  14625. wrstandardcode:
  14626. description: 品类代码
  14627. type: string
  14628. wrstandardid:
  14629. description: 品类id
  14630. type: integer
  14631. wrstandardname:
  14632. description: 品类名称
  14633. type: string
  14634. type: object
  14635. models.WrFilterItem:
  14636. properties:
  14637. itemcode:
  14638. description: 代码
  14639. type: string
  14640. itemid:
  14641. description: 项id
  14642. type: integer
  14643. itemname:
  14644. description: 名称
  14645. type: string
  14646. itemtype:
  14647. description: 类型 1-品种 2-品类(商品) 3-仓库
  14648. type: integer
  14649. type: object
  14650. models.WrFinanceBuyApply:
  14651. properties:
  14652. applydate:
  14653. description: 申请时间
  14654. type: string
  14655. applystatus:
  14656. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14657. type: integer
  14658. applyuserid:
  14659. description: 申请人
  14660. type: integer
  14661. auditdate:
  14662. description: 审核时间
  14663. type: string
  14664. auditremark:
  14665. description: 审核备注
  14666. type: string
  14667. audituserid:
  14668. description: 审核人
  14669. type: integer
  14670. buyaccountid:
  14671. description: 买方资金账号
  14672. type: integer
  14673. buyorsell:
  14674. description: 买卖 - 0:买 1:卖
  14675. type: integer
  14676. buyuserid:
  14677. description: 买方用户ID
  14678. type: integer
  14679. buyusername:
  14680. description: 买方名称
  14681. type: string
  14682. buywrtradeorderid:
  14683. description: 融资方买委托单ID
  14684. type: string
  14685. deliverygoodscode:
  14686. description: 品种代码
  14687. type: string
  14688. deliverygoodsid:
  14689. description: 品种ID
  14690. type: integer
  14691. deliverygoodsname:
  14692. description: 品种名称
  14693. type: string
  14694. deliverymonth:
  14695. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14696. type: string
  14697. enumdicname:
  14698. description: 单位名称
  14699. type: string
  14700. financeaccountid:
  14701. description: 融资方资金帐户ID
  14702. type: integer
  14703. financeapplyid:
  14704. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14705. type: string
  14706. financeareauserid:
  14707. description: 融资方用户ID
  14708. type: string
  14709. financename:
  14710. description: 融出方名称
  14711. type: string
  14712. financetype:
  14713. description: 融资类型 1-融资回购
  14714. type: integer
  14715. financingdays:
  14716. description: 天数(天)
  14717. type: integer
  14718. freezebuymargin:
  14719. description: 冻结融资保证金(买方)
  14720. type: number
  14721. handleremark:
  14722. description: 处理备注
  14723. type: string
  14724. handlestatus:
  14725. description: 处理状态
  14726. type: integer
  14727. interestminlen:
  14728. description: 最小起息天数
  14729. type: integer
  14730. interestrate:
  14731. description: 利率
  14732. type: number
  14733. interestratemode:
  14734. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14735. type: integer
  14736. interestsettlemode:
  14737. description: 结息方式 - 1:按日结息 3:按月结息
  14738. type: integer
  14739. interestsettlevalue:
  14740. description: 结息方式值
  14741. type: integer
  14742. isautoloan:
  14743. description: 是否自动放款 - 0:手动 1:自动
  14744. type: integer
  14745. marginratio:
  14746. description: 保证金比率质押率 - [仓单质押]
  14747. type: number
  14748. marketid:
  14749. description: 市场ID
  14750. type: integer
  14751. minivalue:
  14752. description: 现货商品最小变动值
  14753. type: integer
  14754. optioncompare:
  14755. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14756. type: string
  14757. orderqty:
  14758. description: 委托数量(商品数量)
  14759. type: number
  14760. productdetailid:
  14761. description: 产品组合ID
  14762. type: integer
  14763. productid:
  14764. description: 金融产品ID
  14765. type: integer
  14766. productname:
  14767. description: 产品名称
  14768. type: string
  14769. remark:
  14770. description: 备注
  14771. type: string
  14772. scfcontractid:
  14773. description: 仓单回购合同ID
  14774. type: string
  14775. sellaccountid:
  14776. description: 卖方资金账号
  14777. type: integer
  14778. selluserid:
  14779. description: 卖方用户ID
  14780. type: integer
  14781. sellwrtradeorderid:
  14782. description: 卖方委托单ID
  14783. type: string
  14784. tradeamount:
  14785. description: 成交金额(借款金额)
  14786. type: number
  14787. tradedate:
  14788. description: 交易日(yyyyMMdd)
  14789. type: string
  14790. tradeprice:
  14791. description: 成交价格
  14792. type: number
  14793. warehouseid:
  14794. description: 仓库ID
  14795. type: integer
  14796. warehousename:
  14797. description: 仓库名称
  14798. type: string
  14799. wrfactortypeid:
  14800. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14801. type: string
  14802. wrfactortypename:
  14803. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14804. type: string
  14805. wrpricetype:
  14806. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14807. type: integer
  14808. wrstandardcode:
  14809. description: 现货商品代码
  14810. type: string
  14811. wrstandardid:
  14812. description: 现货商品ID
  14813. type: integer
  14814. wrstandardname:
  14815. description: 商品名称
  14816. type: string
  14817. wrtypename:
  14818. description: 商品
  14819. type: string
  14820. type: object
  14821. models.WrFriendApply:
  14822. properties:
  14823. applicantid:
  14824. description: 申请人
  14825. type: integer
  14826. applyname:
  14827. description: 申请人名称
  14828. type: string
  14829. applysrc:
  14830. description: 申请来源 - 1:管理端 2:终端
  14831. type: integer
  14832. applystatus:
  14833. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14834. type: integer
  14835. applytime:
  14836. description: 申请时间
  14837. type: string
  14838. auditname:
  14839. description: 审核人名称
  14840. type: string
  14841. auditorid:
  14842. description: 审核人
  14843. type: integer
  14844. auditremark:
  14845. description: 审核备注
  14846. type: string
  14847. auditsrc:
  14848. description: 审核来源 - 1:管理端 2:终端
  14849. type: integer
  14850. audittime:
  14851. description: 审核时间
  14852. type: string
  14853. friendapplyid:
  14854. description: 申请ID(SEQ_FRIENDAPPLY)
  14855. type: string
  14856. friendname:
  14857. description: 好友名字(已脱敏)
  14858. type: string
  14859. frienduserid:
  14860. description: 好友用户ID
  14861. type: string
  14862. remark:
  14863. description: 备注
  14864. type: string
  14865. userid:
  14866. description: 申请人用户ID
  14867. type: integer
  14868. type: object
  14869. models.WrFtDeliveryGoods:
  14870. properties:
  14871. deliverygoodscode:
  14872. description: 品种代码
  14873. type: string
  14874. deliverygoodsid:
  14875. description: 品种ID
  14876. type: integer
  14877. deliverygoodsname:
  14878. description: 品种名称
  14879. type: string
  14880. wdlst:
  14881. description: 商品列表
  14882. items:
  14883. $ref: '#/definitions/models.WrFtWrstandard'
  14884. type: array
  14885. type: object
  14886. models.WrFtWrstandard:
  14887. properties:
  14888. enumdicname:
  14889. description: 单位名称
  14890. type: string
  14891. minivalue:
  14892. description: 最小变动值
  14893. type: integer
  14894. wrstandardcode:
  14895. description: 现货商品代码
  14896. type: string
  14897. wrstandardid:
  14898. description: 现货商品ID
  14899. type: integer
  14900. wrstandardname:
  14901. description: 商品名称
  14902. type: string
  14903. type: object
  14904. models.WrGoodsInfo:
  14905. properties:
  14906. haswr:
  14907. description: 0:仓单预售 1:仓单贸易
  14908. type: integer
  14909. lstitem:
  14910. description: 商品信息项
  14911. items:
  14912. $ref: '#/definitions/models.WrTypeItem'
  14913. type: array
  14914. lststep:
  14915. description: 履约规则
  14916. items:
  14917. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14918. type: array
  14919. marketid:
  14920. description: 市场id
  14921. type: integer
  14922. type: object
  14923. models.WrGoodsPerformanceStep:
  14924. properties:
  14925. autoid:
  14926. description: AutoID
  14927. type: integer
  14928. isauto:
  14929. description: 是否自动 - 0:不自动 1:自动
  14930. type: integer
  14931. remark:
  14932. description: 备注
  14933. type: string
  14934. stepdate:
  14935. description: 天数信息(T+N)
  14936. type: string
  14937. stepdays:
  14938. description: 距离上一步天数
  14939. type: integer
  14940. stepindex:
  14941. description: 步骤序号
  14942. type: integer
  14943. stepinfo:
  14944. description: 步骤信息(步骤名称+步骤值)
  14945. type: string
  14946. steptypeid:
  14947. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14948. type: integer
  14949. steptypename:
  14950. description: 步骤名称
  14951. type: string
  14952. stepvalue:
  14953. description: 步骤值
  14954. type: number
  14955. templateid:
  14956. description: 履约计划模板ID
  14957. type: integer
  14958. type: object
  14959. models.WrHoldLB:
  14960. properties:
  14961. accountid:
  14962. description: 持有人帐户ID
  14963. type: integer
  14964. createtime:
  14965. description: 创建时间(过户时间)
  14966. type: string
  14967. deliverygoodscode:
  14968. description: 品种代码
  14969. type: string
  14970. deliverygoodsid:
  14971. description: 品种ID
  14972. type: integer
  14973. deliverygoodsname:
  14974. description: 品种名称
  14975. type: string
  14976. enableqty:
  14977. description: 可用数量
  14978. type: number
  14979. enumdicname:
  14980. description: 单位名称
  14981. type: string
  14982. freezerqty:
  14983. description: 冻结数量
  14984. type: number
  14985. ladingbillid:
  14986. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14987. type: string
  14988. minivalue:
  14989. description: 现货商品最小变动值
  14990. type: integer
  14991. optioncompare:
  14992. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14993. type: string
  14994. parentsubnum:
  14995. description: 拆分父子单号
  14996. type: integer
  14997. pledgeqty:
  14998. description: 质押数量
  14999. type: number
  15000. qty:
  15001. description: 数量
  15002. type: number
  15003. subnum:
  15004. description: 提单子单号
  15005. type: integer
  15006. tradedate:
  15007. description: 交易日(yyyyMMdd)
  15008. type: string
  15009. userid:
  15010. description: 持有人ID
  15011. type: integer
  15012. warehouseid:
  15013. description: 仓库ID
  15014. type: integer
  15015. warehousename:
  15016. description: 仓库名称
  15017. type: string
  15018. wrfactortypeid:
  15019. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15020. type: string
  15021. wrfactortypename:
  15022. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15023. type: string
  15024. wrholdeno:
  15025. description: 仓单编号
  15026. type: string
  15027. wrid:
  15028. description: 仓单变更ID
  15029. type: string
  15030. wrstandardcode:
  15031. description: 现货商品代码
  15032. type: string
  15033. wrstandardid:
  15034. description: 现货商品ID
  15035. type: integer
  15036. wrstandardname:
  15037. description: 商品名称
  15038. type: string
  15039. wrtypename:
  15040. description: 商品
  15041. type: string
  15042. type: object
  15043. models.WrMarketTradeConfig:
  15044. properties:
  15045. basisdownratio:
  15046. description: 浮动价基差下限比例(仓单贸易)
  15047. type: number
  15048. basisupratio:
  15049. description: 浮动价基差上限比例(仓单贸易)
  15050. type: number
  15051. buychargealgorithm:
  15052. description: 买方手续费收取方式 1:比率 2:固定
  15053. type: integer
  15054. buychargealgorithm2:
  15055. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15056. type: integer
  15057. buychargealgorithmvalue:
  15058. description: 买方手续费设置值(交易所部分)
  15059. type: number
  15060. buychargealgorithmvalue2:
  15061. description: 买方手续费设置值(会员部分)
  15062. type: number
  15063. buychargealgorithmvalue3:
  15064. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15065. type: number
  15066. buychargealgorithmvalue4:
  15067. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15068. type: number
  15069. buyfirstmarginalgorithm:
  15070. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15071. type: integer
  15072. buyfirstmarginvalue:
  15073. description: 买方出价保证金设置值 - [竞拍]
  15074. type: number
  15075. buymarginalgorithm:
  15076. description: 买方保证金方式 - 1:比率 2:固定
  15077. type: integer
  15078. buymarginvalue:
  15079. description: 买方保证金设置值
  15080. type: number
  15081. buyreleaseratio:
  15082. description: 买方释放比率[2:分步履约]
  15083. type: number
  15084. executemode:
  15085. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15086. type: integer
  15087. executeside:
  15088. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15089. type: integer
  15090. failedchargealgorithm:
  15091. description: 流拍手续费收取方式 1:比率 2:固定
  15092. type: integer
  15093. failedchargevalue:
  15094. description: 流拍手续费设置值
  15095. type: number
  15096. failedchargevalue2:
  15097. description: 流拍卖方手续费设置值
  15098. type: number
  15099. holddays:
  15100. description: 合同期限[2:分步履约]
  15101. type: integer
  15102. marketid:
  15103. description: 市场ID-仓单贸易、竞拍、预售
  15104. type: integer
  15105. minqty:
  15106. description: 最小执行量[2:分步履约]
  15107. type: number
  15108. modifierid:
  15109. description: 修改人
  15110. type: integer
  15111. performancetempid:
  15112. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15113. type: integer
  15114. performancetempid2:
  15115. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15116. type: integer
  15117. performanceway:
  15118. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15119. type: integer
  15120. sellchargealgorithm:
  15121. description: 卖方手续费收取方式 1:比率 2:固定
  15122. type: integer
  15123. sellchargealgorithm2:
  15124. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15125. type: integer
  15126. sellchargealgorithmvalue:
  15127. description: 卖方手续费设置值(交易所部分)
  15128. type: number
  15129. sellchargealgorithmvalue2:
  15130. description: 卖方手续费设置值(会员部分)
  15131. type: number
  15132. sellchargealgorithmvalue3:
  15133. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15134. type: number
  15135. sellchargealgorithmvalue4:
  15136. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15137. type: number
  15138. sellmarginalgorithm:
  15139. description: 卖方保证金方式 - 1:比率 2:固定
  15140. type: integer
  15141. sellmarginvalue:
  15142. description: 卖方保证金设置值
  15143. type: number
  15144. sellmarginvalue2:
  15145. description: 卖方保证金设置值(无仓单)
  15146. type: number
  15147. sellreleaseratio:
  15148. description: 卖方释放比率[2:分步履约]
  15149. type: number
  15150. updatetime:
  15151. description: 更新时间
  15152. type: string
  15153. type: object
  15154. models.WrOrderDetail:
  15155. properties:
  15156. accountid:
  15157. description: 交易账号(资金账号)
  15158. type: integer
  15159. allfriendsflag:
  15160. description: 是否全好友可见 - 0:否 1:是
  15161. type: integer
  15162. amount:
  15163. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15164. type: number
  15165. buyorsell:
  15166. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15167. type: integer
  15168. canbargain:
  15169. description: 是否可议价 - 0:不可 1:可
  15170. type: integer
  15171. cancelqty:
  15172. description: 撤销数量
  15173. type: number
  15174. canpart:
  15175. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15176. type: integer
  15177. delistminqty:
  15178. description: 起摘数量
  15179. type: integer
  15180. deliverygoodscode:
  15181. description: 品种代码
  15182. type: string
  15183. deliverygoodsid:
  15184. description: 品种ID
  15185. type: integer
  15186. deliverygoodsname:
  15187. description: 品种名称
  15188. type: string
  15189. deliverymonth:
  15190. description: 交收月
  15191. type: string
  15192. enumdicname:
  15193. description: 单位名称
  15194. type: string
  15195. fixedprice:
  15196. description: 固定价格 - [挂牌]
  15197. type: number
  15198. freezemargin:
  15199. description: 冻结保证金(保证金)
  15200. type: number
  15201. futupricemove:
  15202. description: 期货升贴水
  15203. type: number
  15204. futushow:
  15205. description: 期货合约/升贴水
  15206. type: string
  15207. goodscode:
  15208. description: 期货合约
  15209. type: string
  15210. goodsid:
  15211. description: 期货商品id
  15212. type: integer
  15213. goodsname:
  15214. description: 商品名称
  15215. type: string
  15216. haswr:
  15217. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15218. type: integer
  15219. isspecified:
  15220. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15221. type: integer
  15222. ladingbillid:
  15223. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15224. type: string
  15225. marginvalue:
  15226. description: 保证金设置值(履约保证金)
  15227. type: number
  15228. marketid:
  15229. description: 市场ID
  15230. type: integer
  15231. matchusername:
  15232. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15233. type: string
  15234. minivalue:
  15235. description: 现货商品最小变动值
  15236. type: integer
  15237. optioncompare:
  15238. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15239. type: string
  15240. orderqty:
  15241. description: 委托数量
  15242. type: number
  15243. ordertime:
  15244. description: 委托时间(挂牌时间)
  15245. type: string
  15246. performancetemplateid:
  15247. description: 履约模板id
  15248. type: integer
  15249. pricemove:
  15250. description: 升贴水(浮动价时填写) - [挂牌]
  15251. type: number
  15252. taname:
  15253. description: 交易用户名称(资金账号名称)
  15254. type: string
  15255. tradedate:
  15256. description: 交易日(yyyyMMdd)
  15257. type: string
  15258. tradeprice:
  15259. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15260. type: number
  15261. tradeqty:
  15262. description: 成交数量
  15263. type: number
  15264. userid:
  15265. description: 用户ID
  15266. type: integer
  15267. validtime:
  15268. description: 挂牌有效期
  15269. type: string
  15270. warehouseid:
  15271. description: 仓库ID
  15272. type: integer
  15273. warehousename:
  15274. description: 仓库名称
  15275. type: string
  15276. wrfactortypeid:
  15277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15278. type: string
  15279. wrfactortypename:
  15280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15281. type: string
  15282. wrpricetype:
  15283. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15284. type: integer
  15285. wrstandardcode:
  15286. description: 现货商品代码
  15287. type: string
  15288. wrstandardid:
  15289. description: 现货商品ID
  15290. type: integer
  15291. wrstandardname:
  15292. description: 商品名称
  15293. type: string
  15294. wrtradeorderid:
  15295. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15296. type: string
  15297. wrtradeorderstatus:
  15298. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  15299. type: integer
  15300. wrtradetype:
  15301. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15302. type: integer
  15303. wrtypename:
  15304. description: 商品
  15305. type: string
  15306. type: object
  15307. models.WrOrderQuote:
  15308. properties:
  15309. buyprice:
  15310. description: 买价
  15311. type: number
  15312. buypricemove:
  15313. description: 买升贴水(基差)
  15314. type: number
  15315. buyqty:
  15316. description: 买量
  15317. type: number
  15318. deliverygoodscode:
  15319. description: 品种代码
  15320. type: string
  15321. deliverygoodsid:
  15322. description: 品种id
  15323. type: integer
  15324. deliverygoodsname:
  15325. description: 品种名称
  15326. type: string
  15327. deliverymonth:
  15328. description: 交收月
  15329. type: string
  15330. enumdicname:
  15331. description: 单位名称
  15332. type: string
  15333. goodscode:
  15334. description: 商品合约(浮动价列表才有)
  15335. type: string
  15336. goodsid:
  15337. description: 商品id(浮动价列表才有)
  15338. type: integer
  15339. minivalue:
  15340. description: 现货商品最小变动值
  15341. type: integer
  15342. sellprice:
  15343. description: 卖价
  15344. type: number
  15345. sellpricemove:
  15346. description: 卖升贴水(基差)
  15347. type: number
  15348. sellqty:
  15349. description: 卖量
  15350. type: number
  15351. warehousecode:
  15352. description: 仓库代码
  15353. type: string
  15354. warehouseid:
  15355. description: 仓库id
  15356. type: integer
  15357. warehousename:
  15358. description: 仓库名称
  15359. type: string
  15360. wrfactortypeid:
  15361. description: 仓单要素id
  15362. type: string
  15363. wrfactortypename:
  15364. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15365. type: string
  15366. wrgoodsname:
  15367. description: 商品(商品名称+仓库要素名称 拼接)
  15368. type: string
  15369. wrstandardcode:
  15370. description: 商品代码
  15371. type: string
  15372. wrstandardid:
  15373. description: 商品id
  15374. type: integer
  15375. wrstandardname:
  15376. description: 商品名称
  15377. type: string
  15378. type: object
  15379. models.WrOrderQuoteDetail:
  15380. properties:
  15381. buyorsell:
  15382. description: 买卖 - 0:买 1:卖
  15383. type: integer
  15384. delistminqty:
  15385. description: 起摘数量
  15386. type: number
  15387. deliverymonth:
  15388. description: 交收月
  15389. type: string
  15390. enumdicname:
  15391. description: 单位名称
  15392. type: string
  15393. fixedprice:
  15394. description: 买(卖)价
  15395. type: number
  15396. minivalue:
  15397. description: 现货商品最小变动值
  15398. type: integer
  15399. orderqty:
  15400. description: 买(卖)量(=委托量-成交量)
  15401. type: number
  15402. ordertime:
  15403. description: 委托时间
  15404. type: string
  15405. pricemove:
  15406. description: 买(卖)升贴水- 基差
  15407. type: number
  15408. userid:
  15409. description: 购买方(销售方)用户ID
  15410. type: integer
  15411. username:
  15412. description: 购买方(销售方)
  15413. type: string
  15414. wrtradeorderid:
  15415. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15416. type: string
  15417. type: object
  15418. models.WrOutInApply:
  15419. properties:
  15420. applyid:
  15421. description: 申请单id
  15422. type: string
  15423. applystatus:
  15424. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15425. type: integer
  15426. applytime:
  15427. description: 申请时间
  15428. type: string
  15429. applytype:
  15430. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15431. type: integer
  15432. deliverygoodscode:
  15433. description: 品种代码
  15434. type: string
  15435. deliverygoodsid:
  15436. description: 品种ID
  15437. type: integer
  15438. deliverygoodsname:
  15439. description: 品种名称
  15440. type: string
  15441. enumdicname:
  15442. description: 单位名称
  15443. type: string
  15444. expresscompany:
  15445. description: 物流公司
  15446. type: string
  15447. expressnum:
  15448. description: 物流单号
  15449. type: string
  15450. minivalue:
  15451. description: 现货商品最小变动值
  15452. type: integer
  15453. optioncompare:
  15454. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15455. type: string
  15456. qty:
  15457. description: 数量
  15458. type: integer
  15459. userid:
  15460. description: 用户id
  15461. type: integer
  15462. warehouseid:
  15463. description: 仓库ID
  15464. type: integer
  15465. warehousename:
  15466. description: 仓库名称
  15467. type: string
  15468. wrfactortypeid:
  15469. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15470. type: string
  15471. wrfactortypename:
  15472. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15473. type: string
  15474. wrstandardcode:
  15475. description: 现货商品代码
  15476. type: string
  15477. wrstandardid:
  15478. description: 现货商品ID
  15479. type: integer
  15480. wrstandardname:
  15481. description: 商品名称
  15482. type: string
  15483. wrtypename:
  15484. description: 商品
  15485. type: string
  15486. type: object
  15487. models.WrPerformancePlan:
  15488. properties:
  15489. activatemonth:
  15490. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15491. type: string
  15492. amount:
  15493. description: 履约金额(总金额)
  15494. type: number
  15495. buyaccountid:
  15496. description: 买方账号
  15497. type: integer
  15498. buyerfreezeamount:
  15499. description: 履约冻结(买履约)
  15500. type: number
  15501. buyerfreezeamountremain:
  15502. description: 履约冻结剩余(买履约)
  15503. type: number
  15504. buyorsell:
  15505. description: 买卖方向 0-买 1-卖
  15506. type: integer
  15507. buypaidamount:
  15508. description: 买方已冻/已扣金额 (已付金额)
  15509. type: number
  15510. buyusername:
  15511. description: 买方名字
  15512. type: string
  15513. contractid:
  15514. description: 合同ID
  15515. type: integer
  15516. createtime:
  15517. description: 创建时间
  15518. type: string
  15519. creatorid:
  15520. description: 创建人
  15521. type: integer
  15522. curstepdeadline:
  15523. description: 当前步骤到期时间
  15524. type: string
  15525. curstepid:
  15526. description: 当前步骤ID
  15527. type: string
  15528. curstepname:
  15529. description: 当前步骤名称
  15530. type: string
  15531. deliverygoodscode:
  15532. description: 品种代码
  15533. type: string
  15534. deliverygoodsid:
  15535. description: 品种ID
  15536. type: integer
  15537. deliverygoodsname:
  15538. description: 品种名称
  15539. type: string
  15540. enumdicname:
  15541. description: 单位名称
  15542. type: string
  15543. expressfee:
  15544. description: 运费
  15545. type: number
  15546. expressfeeconfirmed:
  15547. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15548. type: integer
  15549. hasovershort:
  15550. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15551. type: integer
  15552. haswr:
  15553. description: 类型 0-仓单预售 1-仓单贸易
  15554. type: integer
  15555. marketid:
  15556. description: 市场ID
  15557. type: integer
  15558. middleaccountid:
  15559. description: 中间商资金账号ID
  15560. type: integer
  15561. middleuserid:
  15562. description: 中间商用户ID
  15563. type: integer
  15564. minivalue:
  15565. description: 现货商品最小变动值
  15566. type: integer
  15567. optioncompare:
  15568. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15569. type: string
  15570. overshortamount:
  15571. description: 溢短金额
  15572. type: number
  15573. overshortqty:
  15574. description: 溢短数量
  15575. type: number
  15576. paymenttype:
  15577. description: 付款方式 - 1:冻结 2:扣款
  15578. type: integer
  15579. performanceplanid:
  15580. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15581. type: string
  15582. performancestatus:
  15583. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15584. type: integer
  15585. performancetype:
  15586. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15587. type: integer
  15588. qty:
  15589. description: 履约数量
  15590. type: number
  15591. relatedorderid:
  15592. description: 关联单号(履约类型的关联单号)
  15593. type: string
  15594. remark:
  15595. description: 备注
  15596. type: string
  15597. sellaccountid:
  15598. description: 卖方账号
  15599. type: integer
  15600. sellerfreezeamount:
  15601. description: 履约冻结(卖履约)
  15602. type: number
  15603. sellerfreezeamountremain:
  15604. description: 履约冻结剩余(卖履约)
  15605. type: number
  15606. sellreceivedamount:
  15607. description: 卖方已收金额
  15608. type: number
  15609. sellusername:
  15610. description: 卖方名字
  15611. type: string
  15612. shipremark:
  15613. description: 发货备注[物流单号]
  15614. type: string
  15615. starttime:
  15616. description: 开始时间
  15617. type: string
  15618. steptypeid:
  15619. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15620. type: integer
  15621. typename:
  15622. description: 履约类型 名称
  15623. type: string
  15624. unpaidamount:
  15625. description: 剩余款(待支付金额)
  15626. type: number
  15627. userid:
  15628. description: 用户id
  15629. type: integer
  15630. warehouseid:
  15631. description: 仓库ID
  15632. type: integer
  15633. warehousename:
  15634. description: 仓库名称
  15635. type: string
  15636. wrfactortypeid:
  15637. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15638. type: string
  15639. wrfactortypename:
  15640. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15641. type: string
  15642. wrstandardcode:
  15643. description: 现货商品代码
  15644. type: string
  15645. wrstandardid:
  15646. description: 现货商品ID
  15647. type: integer
  15648. wrstandardname:
  15649. description: 商品名称
  15650. type: string
  15651. wrtransferuserid:
  15652. description: 仓单受让用户
  15653. type: integer
  15654. wrtypename:
  15655. description: 商品
  15656. type: string
  15657. required:
  15658. - userid
  15659. type: object
  15660. models.WrPerformancePlanStep:
  15661. properties:
  15662. delaydays:
  15663. description: 延期申请天数
  15664. type: integer
  15665. deliverygoodscode:
  15666. description: 品种代码
  15667. type: string
  15668. deliverygoodsid:
  15669. description: 品种ID
  15670. type: integer
  15671. deliverygoodsname:
  15672. description: 品种名称
  15673. type: string
  15674. endtime:
  15675. description: 结束日期
  15676. type: string
  15677. enumdicname:
  15678. description: 单位名称
  15679. type: string
  15680. executeside:
  15681. description: 步骤执行方 - 1:买方 2:卖方
  15682. type: integer
  15683. handlestatus:
  15684. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15685. type: integer
  15686. isauto:
  15687. description: 是否自动 - 0:不自动 1:自动
  15688. type: integer
  15689. islastreceivestep:
  15690. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15691. type: integer
  15692. minivalue:
  15693. description: 现货商品最小变动值
  15694. type: integer
  15695. optioncompare:
  15696. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15697. type: string
  15698. overdays:
  15699. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15700. type: integer
  15701. performancestepid:
  15702. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15703. type: string
  15704. planid:
  15705. description: 所属履约计划ID
  15706. type: string
  15707. realamount:
  15708. description: 实际完成金额
  15709. type: number
  15710. relatedorderid:
  15711. description: 关联单号
  15712. type: string
  15713. remaindays:
  15714. description: 剩余天数
  15715. type: integer
  15716. remark:
  15717. description: 错误备注
  15718. type: string
  15719. starttime:
  15720. description: 开始日期
  15721. type: string
  15722. stepamount:
  15723. description: 步骤金额
  15724. type: number
  15725. stepdays:
  15726. description: 距离上一步天数(分钟)
  15727. type: integer
  15728. stepindex:
  15729. description: 步骤序号
  15730. type: integer
  15731. steplanchtype:
  15732. description: 步骤启动类型 - 1:系统自动 2:手动
  15733. type: integer
  15734. stepremark:
  15735. description: 步骤备注
  15736. type: string
  15737. stepstatus:
  15738. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15739. type: integer
  15740. steptypeid:
  15741. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15742. type: integer
  15743. steptypename:
  15744. description: 步骤名称
  15745. type: string
  15746. stepvalue:
  15747. description: 步骤值
  15748. type: number
  15749. warehouseid:
  15750. description: 仓库ID
  15751. type: integer
  15752. warehousename:
  15753. description: 仓库名称
  15754. type: string
  15755. wrfactortypeid:
  15756. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15757. type: string
  15758. wrfactortypename:
  15759. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15760. type: string
  15761. wrstandardcode:
  15762. description: 现货商品代码
  15763. type: string
  15764. wrstandardid:
  15765. description: 现货商品ID
  15766. type: integer
  15767. wrstandardname:
  15768. description: 商品名称
  15769. type: string
  15770. wrtypename:
  15771. description: 商品
  15772. type: string
  15773. type: object
  15774. models.WrPerformanceStepType:
  15775. properties:
  15776. canauto:
  15777. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15778. type: integer
  15779. steptypeid:
  15780. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15781. type: integer
  15782. steptypename:
  15783. description: 步骤类型名称
  15784. type: string
  15785. type: object
  15786. models.WrPerformanceTemplateEx:
  15787. properties:
  15788. autoid:
  15789. description: AutoID 模板id
  15790. type: integer
  15791. createtime:
  15792. description: 创建时间
  15793. type: string
  15794. creatorid:
  15795. description: 创建人
  15796. type: integer
  15797. lstStep:
  15798. description: 步骤信息列表
  15799. items:
  15800. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15801. type: array
  15802. paymenttype:
  15803. description: 支付方式 - 1:冻结 2:扣款
  15804. type: integer
  15805. takemode:
  15806. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15807. type: integer
  15808. templatename:
  15809. description: 模板名称
  15810. type: string
  15811. templatetype:
  15812. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15813. type: integer
  15814. userid:
  15815. description: 所属用户
  15816. type: integer
  15817. type: object
  15818. models.WrPosition:
  15819. properties:
  15820. accountid:
  15821. description: 帐户ID
  15822. type: integer
  15823. buyexcuteqty:
  15824. description: 采购履约中数量
  15825. type: number
  15826. creditcurqty:
  15827. description: 授信当前数量(预售仓单:预售当前量)
  15828. type: number
  15829. creditenableqty:
  15830. description: '授信可用数量(预售仓单: 可用数量)'
  15831. type: number
  15832. creditfreezeqty:
  15833. description: '授信冻结数量(预售仓单: 当前数量)'
  15834. type: number
  15835. credittotalqty:
  15836. description: 授信总数量(预售仓单:预售总量)
  15837. type: number
  15838. credittradeqty:
  15839. description: 授信成交数量(预售仓单:成交总量)
  15840. type: number
  15841. deliverygoodscode:
  15842. description: 品种代码
  15843. type: string
  15844. deliverygoodsid:
  15845. description: 品种ID
  15846. type: integer
  15847. deliverygoodsname:
  15848. description: 品种名称
  15849. type: string
  15850. enalbeqty:
  15851. description: 可用数量
  15852. type: number
  15853. enumdicname:
  15854. description: 单位名称
  15855. type: string
  15856. freezeqty:
  15857. description: 总冻结数量
  15858. type: number
  15859. haswr:
  15860. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15861. type: integer
  15862. minivalue:
  15863. description: 现货商品最小变动值
  15864. type: integer
  15865. modifytime:
  15866. description: 修改时间(过户时间)
  15867. type: string
  15868. optioncompare:
  15869. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15870. type: string
  15871. pledgeqty:
  15872. description: 质押数量
  15873. type: number
  15874. querytype:
  15875. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15876. type: integer
  15877. sellexcuteqty:
  15878. description: 销售履约中数量
  15879. type: number
  15880. totalqty:
  15881. description: 总数量(库存数量)
  15882. type: number
  15883. warehouseid:
  15884. description: 仓库ID
  15885. type: integer
  15886. warehousename:
  15887. description: 仓库名称
  15888. type: string
  15889. wrfactortypeid:
  15890. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15891. type: string
  15892. wrfactortypename:
  15893. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15894. type: string
  15895. wrpositionid:
  15896. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15897. type: string
  15898. wrpositionno:
  15899. description: 仓单编号
  15900. type: string
  15901. wrstandardcode:
  15902. description: 现货商品代码
  15903. type: string
  15904. wrstandardid:
  15905. description: 现货商品ID
  15906. type: integer
  15907. wrstandardname:
  15908. description: 商品名称
  15909. type: string
  15910. wrtypename:
  15911. description: 商品
  15912. type: string
  15913. wruserid:
  15914. description: 持有人ID
  15915. type: integer
  15916. type: object
  15917. models.WrQuoteOrderMyq:
  15918. properties:
  15919. buyorsell:
  15920. description: 买卖 - 0:买 1:卖
  15921. type: integer
  15922. canbargain:
  15923. description: 是否可议价 - 0:不可 1:可
  15924. type: integer
  15925. canpart:
  15926. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15927. type: integer
  15928. delistminqty:
  15929. description: 起摘数量
  15930. type: number
  15931. deliverygoodscode:
  15932. description: 品种代码
  15933. type: string
  15934. deliverygoodsid:
  15935. description: 品种ID
  15936. type: integer
  15937. deliverygoodsname:
  15938. description: 品种名称
  15939. type: string
  15940. deliverymonth:
  15941. description: 交收月
  15942. type: string
  15943. enumdicname:
  15944. description: 单位名称
  15945. type: string
  15946. fixedprice:
  15947. description: 买(卖)价
  15948. type: number
  15949. goodscode:
  15950. description: 商品合约代码
  15951. type: string
  15952. marginflag:
  15953. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15954. type: integer
  15955. marginvalue:
  15956. description: 保证金设置值
  15957. type: number
  15958. minivalue:
  15959. description: 现货商品最小变动值
  15960. type: integer
  15961. orderqty:
  15962. description: 买(卖)量(=委托量-成交量)
  15963. type: number
  15964. ordertime:
  15965. description: 委托时间
  15966. type: string
  15967. performancetemplateid:
  15968. description: 履约模板id
  15969. type: integer
  15970. pricemove:
  15971. description: 买(卖)升贴水- 基差
  15972. type: number
  15973. templatename:
  15974. description: 履约模板名称
  15975. type: string
  15976. userid:
  15977. description: 购买方(销售方)用户ID
  15978. type: integer
  15979. username:
  15980. description: 购买方(销售方)
  15981. type: string
  15982. validtime:
  15983. description: 有效期限
  15984. type: string
  15985. validtype:
  15986. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15987. type: integer
  15988. warehousename:
  15989. description: 仓库名称
  15990. type: string
  15991. wrfactortypeid:
  15992. description: 仓单要素id
  15993. type: string
  15994. wrstandardcode:
  15995. description: 现货商品代码
  15996. type: string
  15997. wrstandardid:
  15998. description: 现货商品ID
  15999. type: integer
  16000. wrstandardname:
  16001. description: 商品名称
  16002. type: string
  16003. wrtradeorderid:
  16004. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16005. type: string
  16006. wrtypename:
  16007. description: 商品
  16008. type: string
  16009. type: object
  16010. models.WrScfContract:
  16011. properties:
  16012. borroweruserid:
  16013. description: 借款用户ID
  16014. type: integer
  16015. buybackwrpositionqty:
  16016. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16017. type: number
  16018. closeinterest:
  16019. description: 已结利息 -> 已结费用
  16020. type: number
  16021. currisklevel:
  16022. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16023. type: integer
  16024. deadline:
  16025. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16026. type: string
  16027. deliverygoodscode:
  16028. description: 品种代码
  16029. type: string
  16030. deliverygoodsid:
  16031. description: 品种ID
  16032. type: integer
  16033. deliverygoodsname:
  16034. description: 品种名称
  16035. type: string
  16036. enumdicname:
  16037. description: 单位名称
  16038. type: string
  16039. financingdays:
  16040. description: 天数(天)
  16041. type: integer
  16042. initmargin:
  16043. description: 保证金 - [仓单回购]
  16044. type: number
  16045. interestamount:
  16046. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16047. type: number
  16048. interestdebt:
  16049. description: 利息欠款(记录负数) -> 费用欠款
  16050. type: number
  16051. interestminlen:
  16052. description: 最小起息天数
  16053. type: integer
  16054. interestrate:
  16055. description: 利率
  16056. type: number
  16057. interestratemode:
  16058. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16059. type: integer
  16060. interestsettlemode:
  16061. description: 结息方式 - 1:按日结息 3:按月结息
  16062. type: integer
  16063. interestsettlevalue:
  16064. description: 结息方式值
  16065. type: integer
  16066. isautoloan:
  16067. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16068. type: integer
  16069. lastcloseinterestday:
  16070. description: 最近结息日(yyyyMMdd)
  16071. type: string
  16072. lenderamount:
  16073. description: 贷款金额 -> 借款金额
  16074. type: number
  16075. lenderuserid:
  16076. description: 贷款方用户ID -> 融出方用户ID
  16077. type: integer
  16078. lenderusername:
  16079. description: 融出方
  16080. type: string
  16081. marginratio:
  16082. description: 保证金比率质押率 - [仓单质押]
  16083. type: number
  16084. marketid:
  16085. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16086. type: integer
  16087. minivalue:
  16088. description: 现货商品最小变动值
  16089. type: integer
  16090. optioncompare:
  16091. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16092. type: string
  16093. pricemove:
  16094. description: 估值升贴水值
  16095. type: number
  16096. productdetailid:
  16097. description: 产品组合ID
  16098. type: integer
  16099. productid:
  16100. description: 金融产品ID
  16101. type: integer
  16102. productname:
  16103. description: 产品名称
  16104. type: string
  16105. remainamount:
  16106. description: 合同剩余金额 -> 剩余金额
  16107. type: number
  16108. remainwrpositionqty:
  16109. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16110. type: number
  16111. remark:
  16112. description: 备注
  16113. type: string
  16114. scfcontractid:
  16115. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16116. type: string
  16117. scfcontractstatus:
  16118. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16119. type: integer
  16120. scfcontracttype:
  16121. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16122. type: integer
  16123. startinterestday:
  16124. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16125. type: string
  16126. totalinterest:
  16127. description: 已计利息 -> 已计费用
  16128. type: number
  16129. unpaidinterest:
  16130. description: 未结费用
  16131. type: number
  16132. updatetime:
  16133. description: 更新时间
  16134. type: string
  16135. warehouseid:
  16136. description: 仓库ID
  16137. type: integer
  16138. warehousename:
  16139. description: 仓库名称
  16140. type: string
  16141. wrfactortypeid:
  16142. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16143. type: string
  16144. wrfactortypename:
  16145. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16146. type: string
  16147. wrqty:
  16148. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16149. type: number
  16150. wrstandardcode:
  16151. description: 现货商品代码
  16152. type: string
  16153. wrstandardid:
  16154. description: 现货商品ID
  16155. type: integer
  16156. wrstandardname:
  16157. description: 商品名称
  16158. type: string
  16159. wrtypename:
  16160. description: 商品
  16161. type: string
  16162. type: object
  16163. models.WrScfContractInterest:
  16164. properties:
  16165. closeinterest:
  16166. description: 已结利息
  16167. type: number
  16168. closeintereststatus:
  16169. description: 结息状态 - 1:未结 2:已结
  16170. type: integer
  16171. closetime:
  16172. description: 结息时间
  16173. type: string
  16174. closetradedate:
  16175. description: 结息交易日
  16176. type: string
  16177. creatorid:
  16178. description: 操作人ID
  16179. type: integer
  16180. dayrate:
  16181. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16182. type: number
  16183. interest:
  16184. description: 利息
  16185. type: number
  16186. interestamount:
  16187. description: 计息金额
  16188. type: number
  16189. interestday:
  16190. description: 计息日(yyyyMMdd)
  16191. type: string
  16192. scfcontractid:
  16193. description: SCF合同ID
  16194. type: string
  16195. scfcontractinterestid:
  16196. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16197. type: integer
  16198. updatetime:
  16199. description: 更新时间
  16200. type: string
  16201. type: object
  16202. models.WrSpecialMatchOrder:
  16203. properties:
  16204. amount:
  16205. description: 金额 = 数量 * 价格
  16206. type: number
  16207. buyorsell:
  16208. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16209. type: integer
  16210. cancelqty:
  16211. description: 撤销数量
  16212. type: number
  16213. deliverygoodscode:
  16214. description: 品种代码
  16215. type: string
  16216. deliverygoodsid:
  16217. description: 品种ID
  16218. type: integer
  16219. deliverygoodsname:
  16220. description: 品种名称
  16221. type: string
  16222. enumdicname:
  16223. description: 单位名称
  16224. type: string
  16225. fixedprice:
  16226. description: 固定价格(价格)
  16227. type: number
  16228. haswr:
  16229. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16230. type: integer
  16231. marketid:
  16232. description: 市场ID
  16233. type: integer
  16234. matchuserid:
  16235. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16236. type: integer
  16237. matchusername:
  16238. description: 指定方
  16239. type: string
  16240. minivalue:
  16241. description: 现货商品最小变动值
  16242. type: integer
  16243. optioncompare:
  16244. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16245. type: string
  16246. orderqty:
  16247. description: 委托数量
  16248. type: number
  16249. ordertime:
  16250. description: 委托时间
  16251. type: string
  16252. pricemove:
  16253. description: 升贴水(浮动价时填写) - [挂牌]
  16254. type: number
  16255. tradedate:
  16256. description: 交易日(yyyyMMdd)
  16257. type: string
  16258. tradeprice:
  16259. description: 成交价格
  16260. type: number
  16261. tradeqty:
  16262. description: 成交数量
  16263. type: number
  16264. userid:
  16265. description: 用户ID
  16266. type: integer
  16267. username:
  16268. description: 发起方
  16269. type: string
  16270. warehouseid:
  16271. description: 仓库ID
  16272. type: integer
  16273. warehousename:
  16274. description: 仓库名称
  16275. type: string
  16276. wrfactortypeid:
  16277. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16278. type: string
  16279. wrfactortypename:
  16280. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16281. type: string
  16282. wrpricetype:
  16283. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16284. type: integer
  16285. wrstandardcode:
  16286. description: 现货商品代码
  16287. type: string
  16288. wrstandardid:
  16289. description: 现货商品ID
  16290. type: integer
  16291. wrstandardname:
  16292. description: 商品名称
  16293. type: string
  16294. wrtradeorderid:
  16295. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16296. type: string
  16297. wrtradeorderstatus:
  16298. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16299. type: integer
  16300. wrtradetype:
  16301. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16302. type: integer
  16303. wrtypename:
  16304. description: 商品
  16305. type: string
  16306. type: object
  16307. models.WrStandardFactoryItem:
  16308. properties:
  16309. dgfactoryitemid:
  16310. description: 选择项id
  16311. type: integer
  16312. dgfactoryitemvalue:
  16313. description: 要素项值
  16314. type: string
  16315. warehouseid:
  16316. description: 仓库id
  16317. type: integer
  16318. type: object
  16319. models.WrStandardFactoryItemEx:
  16320. properties:
  16321. dgfactoryitemtypeid:
  16322. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16323. type: integer
  16324. itemlst:
  16325. description: 要素项列表
  16326. items:
  16327. $ref: '#/definitions/models.WrStandardFactoryItem'
  16328. type: array
  16329. itemtypename:
  16330. description: 要素项类型名称
  16331. type: string
  16332. wrstandardid:
  16333. description: 品类
  16334. type: integer
  16335. type: object
  16336. models.WrTradeDetail:
  16337. properties:
  16338. accountid:
  16339. description: 资金账号
  16340. type: integer
  16341. buyorsell:
  16342. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16343. type: integer
  16344. chargevalue:
  16345. description: 手续费
  16346. type: number
  16347. deliverygoodscode:
  16348. description: 品种代码
  16349. type: string
  16350. deliverygoodsid:
  16351. description: 品种ID
  16352. type: integer
  16353. deliverygoodsname:
  16354. description: 品种名称
  16355. type: string
  16356. deliverymonth:
  16357. description: 交收月
  16358. type: string
  16359. enumdicname:
  16360. description: 单位名称
  16361. type: string
  16362. haswr:
  16363. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16364. type: integer
  16365. marketid:
  16366. description: 市场ID
  16367. type: integer
  16368. matchaccountid:
  16369. description: 对手账号
  16370. type: integer
  16371. matchusername:
  16372. description: 对手方
  16373. type: string
  16374. minivalue:
  16375. description: 现货商品最小变动值
  16376. type: integer
  16377. optioncompare:
  16378. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16379. type: string
  16380. tradedate:
  16381. description: 交易日(yyyyMMdd)
  16382. type: string
  16383. tradeprice:
  16384. description: 成交价格
  16385. type: number
  16386. tradeqty:
  16387. description: 成交数量
  16388. type: number
  16389. tradetime:
  16390. description: 成交时间
  16391. type: string
  16392. userid:
  16393. description: 用户ID
  16394. type: integer
  16395. warehouseid:
  16396. description: 仓库ID
  16397. type: integer
  16398. warehousename:
  16399. description: 仓库名称
  16400. type: string
  16401. wrfactortypeid:
  16402. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16403. type: string
  16404. wrfactortypename:
  16405. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16406. type: string
  16407. wrstandardcode:
  16408. description: 现货商品代码
  16409. type: string
  16410. wrstandardid:
  16411. description: 现货商品ID
  16412. type: integer
  16413. wrstandardname:
  16414. description: 商品名称
  16415. type: string
  16416. wrtradedetailid:
  16417. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16418. type: string
  16419. wrtradetype:
  16420. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16421. type: integer
  16422. wrtypename:
  16423. description: 商品
  16424. type: string
  16425. type: object
  16426. models.WrTradeOrderDetail:
  16427. properties:
  16428. buyorsell:
  16429. description: 买卖方向 0-买 1-卖
  16430. type: integer
  16431. goodsid:
  16432. description: 商品id
  16433. type: integer
  16434. orderid:
  16435. description: 委托单号
  16436. type: string
  16437. orderprice:
  16438. description: 委托价格
  16439. type: number
  16440. orderqty:
  16441. description: 委托数量
  16442. type: integer
  16443. userid:
  16444. description: 用户id
  16445. type: integer
  16446. username:
  16447. description: 用户名称(已脱敏)
  16448. type: string
  16449. type: object
  16450. models.WrTypeItem:
  16451. properties:
  16452. name:
  16453. description: 名称
  16454. type: string
  16455. value:
  16456. description: 值
  16457. type: string
  16458. type: object
  16459. models.WrUserFriend:
  16460. properties:
  16461. friendname:
  16462. description: 朋友名称(已脱敏)
  16463. type: string
  16464. frienduserid:
  16465. description: 朋友id
  16466. type: integer
  16467. isfriend:
  16468. description: 是否好友 0-不是 1-是
  16469. type: integer
  16470. userid:
  16471. description: 用户id
  16472. type: integer
  16473. type: object
  16474. models.XHBRAND:
  16475. properties:
  16476. brandid:
  16477. description: 品牌id
  16478. type: integer
  16479. brandname:
  16480. description: 品牌名称
  16481. type: string
  16482. type: object
  16483. models.XHDeliveryGoods:
  16484. properties:
  16485. areauserid:
  16486. description: 所属机构
  16487. type: integer
  16488. bdlst:
  16489. description: 品牌列表
  16490. items:
  16491. $ref: '#/definitions/models.XHBRAND'
  16492. type: array
  16493. deliverygoodscode:
  16494. description: 现货品种代码
  16495. type: string
  16496. deliverygoodsid:
  16497. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16498. type: integer
  16499. deliverygoodsname:
  16500. description: 现货品种名称
  16501. type: string
  16502. dgstatus:
  16503. description: 品种状态 - 作废 - 0:未激活 1:正常
  16504. type: integer
  16505. isvalid:
  16506. description: 是否有效 - 0:无效 1:有效
  16507. type: integer
  16508. remark:
  16509. description: 备注
  16510. type: string
  16511. unitid:
  16512. description: 单位id(目前看,数据库中是空值)
  16513. type: integer
  16514. wdlst:
  16515. description: 品类(现货商品)列表
  16516. items:
  16517. $ref: '#/definitions/models.XHWrstandard'
  16518. type: array
  16519. type: object
  16520. models.XHMiddleGoods:
  16521. properties:
  16522. convertratio:
  16523. description: 拆算系数
  16524. type: number
  16525. enumdicname:
  16526. description: 单位名称
  16527. type: string
  16528. gplst:
  16529. description: 期货品种列表
  16530. items:
  16531. $ref: '#/definitions/models.TBGoodsGroup'
  16532. type: array
  16533. middlegoodscode:
  16534. description: 套保品种代码
  16535. type: string
  16536. middlegoodsid:
  16537. description: 套保品种id
  16538. type: integer
  16539. middlegoodsname:
  16540. description: 套保品种名称
  16541. type: string
  16542. unitid:
  16543. description: 单位id
  16544. type: integer
  16545. type: object
  16546. models.XHWrstandard:
  16547. properties:
  16548. deliverygoodsid:
  16549. description: 品种ID
  16550. type: integer
  16551. enumdicname:
  16552. description: 单位名称
  16553. type: string
  16554. mglst:
  16555. description: 套保品列表
  16556. items:
  16557. $ref: '#/definitions/models.XHMiddleGoods'
  16558. type: array
  16559. unitid:
  16560. description: 单位id
  16561. type: integer
  16562. vatrate:
  16563. description: 增值税率
  16564. type: number
  16565. wrstandardcode:
  16566. description: 现货商品代码
  16567. type: string
  16568. wrstandardid:
  16569. description: 现货商品ID(SEQ_WRSTANDARD)
  16570. type: integer
  16571. wrstandardname:
  16572. description: 现货商品名称
  16573. type: string
  16574. type: object
  16575. order.QueryHisTradeDetailRsp:
  16576. properties:
  16577. accountid:
  16578. description: 账户ID[报价币种]
  16579. type: integer
  16580. advanceratio:
  16581. description: 首付比率
  16582. type: number
  16583. buildtype:
  16584. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16585. type: integer
  16586. buyorsell:
  16587. description: 方向 - 0:买 1:卖
  16588. type: integer
  16589. charge:
  16590. description: 手续费
  16591. type: number
  16592. closecharge:
  16593. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16594. type: number
  16595. closeexchagechargevalue:
  16596. description: 平仓交易所手续费设置值
  16597. type: number
  16598. closefeealgorithm:
  16599. description: 平仓手续费收取方式 1:比率 2:固定
  16600. type: integer
  16601. closememberchargevalue:
  16602. description: 平仓会员手续费设置值
  16603. type: number
  16604. closepl:
  16605. description: 平仓盈亏
  16606. type: number
  16607. closepl2:
  16608. description: 平仓盈亏[逐笔]
  16609. type: number
  16610. closeqty:
  16611. description: 平仓数量(先建后平操作 需要记录)
  16612. type: number
  16613. creditamount:
  16614. description: 授信金额
  16615. type: number
  16616. decimalplace:
  16617. description: 商品报价小数位
  16618. type: integer
  16619. enumdicname:
  16620. description: 单位名称
  16621. type: string
  16622. gcaccountid:
  16623. description: 账户ID[合约币种]
  16624. type: integer
  16625. goodscode:
  16626. description: 商品代码
  16627. type: string
  16628. goodsid:
  16629. description: 商品ID
  16630. type: integer
  16631. goodsname:
  16632. description: 商品名称
  16633. type: string
  16634. goodunitid:
  16635. description: 商品单位id
  16636. type: integer
  16637. histradedate:
  16638. description: 历史交易日
  16639. type: string
  16640. intclosepl:
  16641. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16642. type: integer
  16643. isconfirmexercise:
  16644. description: 是否确认行权- 0:否 1:是
  16645. type: integer
  16646. ismain:
  16647. description: 是否主单 - 0:不是 1:是
  16648. type: integer
  16649. ispreexercise:
  16650. description: 是否预申报- 0:否 1:是
  16651. type: integer
  16652. isreckoned:
  16653. description: 是否结算 - 0:未结算 1:已结算
  16654. type: integer
  16655. isvaliddata:
  16656. description: 是否有效 - 0:无效 1:有效
  16657. type: integer
  16658. listingselecttype:
  16659. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16660. type: integer
  16661. marketid:
  16662. description: 市场ID
  16663. type: integer
  16664. marketname:
  16665. description: 市场名称
  16666. type: string
  16667. matchaccountid:
  16668. description: 对手账号id
  16669. type: integer
  16670. memberuserid:
  16671. description: 会员id 个人投资者 需要填写
  16672. type: integer
  16673. opencharge:
  16674. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16675. type: number
  16676. openexchagechargevalue:
  16677. description: 建仓交易所手续费设置值
  16678. type: number
  16679. openfeealgorithm:
  16680. description: 建仓手续费收取方式 1:比率 2:固定
  16681. type: integer
  16682. openmemberchargevalue:
  16683. description: 建仓会员手续费设置值
  16684. type: number
  16685. openqty:
  16686. description: 开仓数量(先建后平操作 需要记录)
  16687. type: number
  16688. optiontype:
  16689. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16690. type: integer
  16691. orderid:
  16692. description: 委托单号
  16693. type: string
  16694. payamount:
  16695. description: 支付金额(付款金额)
  16696. type: number
  16697. performanceplanid:
  16698. description: 履约计划ID[期权]
  16699. type: integer
  16700. performancestatus:
  16701. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16702. type: integer
  16703. preexerciseprice:
  16704. description: 预申报价格
  16705. type: number
  16706. premium:
  16707. description: 权利金 - [持仓单的权利金]
  16708. type: number
  16709. qtydecimalplace:
  16710. description: 商品报价小数位
  16711. type: integer
  16712. recvamount:
  16713. description: 到账金额 = 成交金额 - 手续费
  16714. type: number
  16715. relatedouttradeid:
  16716. description: 关联外部成交单ID
  16717. type: integer
  16718. status:
  16719. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16720. type: integer
  16721. totalamount:
  16722. description: 订单总额 = 成交金额 + 手续费
  16723. type: number
  16724. tradeamount:
  16725. description: 成交金额[账户币种,用于所有权]
  16726. type: number
  16727. tradedate:
  16728. description: 交易日(yyyyMMdd)
  16729. type: string
  16730. tradeid:
  16731. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16732. type: string
  16733. trademode:
  16734. description: 交易模式
  16735. type: integer
  16736. tradeprice:
  16737. description: 成交价格
  16738. type: number
  16739. tradeproperty:
  16740. description: 交易属性
  16741. type: integer
  16742. tradeqty:
  16743. description: 成交数量
  16744. type: number
  16745. tradetime:
  16746. description: 成交时间
  16747. type: string
  16748. tradetype:
  16749. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16750. type: integer
  16751. required:
  16752. - accountid
  16753. - buyorsell
  16754. - goodsid
  16755. - histradedate
  16756. - marketid
  16757. - memberuserid
  16758. - orderid
  16759. - tradeamount
  16760. - tradedate
  16761. - tradeid
  16762. - tradeprice
  16763. - tradeqty
  16764. - tradetime
  16765. type: object
  16766. order.QueryHisTradeOrderDetailRsp:
  16767. properties:
  16768. accountid:
  16769. description: 账户ID[报价币种]
  16770. type: integer
  16771. buildtype:
  16772. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16773. type: integer
  16774. buyorsell:
  16775. description: 买卖 - 0:买 1:卖
  16776. type: integer
  16777. cancelorderid:
  16778. description: 撤单单号(撤单时填写)
  16779. type: string
  16780. cancelqty:
  16781. description: 撤单数量
  16782. type: number
  16783. clientordertime:
  16784. description: 客户端委托时间
  16785. type: string
  16786. clientticket:
  16787. description: 客户端流水号
  16788. type: string
  16789. clienttype:
  16790. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16791. type: integer
  16792. closeexchagechargevalue:
  16793. description: 平仓交易所手续费设置值
  16794. type: number
  16795. closefeealgorithm:
  16796. description: 平仓手续费收取方式 1:比率 2:固定
  16797. type: integer
  16798. closefreezecharge:
  16799. description: 平仓冻结手续费(先建后平操作,需要记录)
  16800. type: number
  16801. closememberchargevalue:
  16802. description: 平仓会员手续费设置值
  16803. type: number
  16804. closeqty:
  16805. description: 平仓数量(先建后平操作 需要记录)
  16806. type: number
  16807. closetradeqty:
  16808. description: 平仓成交数量(先建后平操作,需要记录)
  16809. type: number
  16810. closeunfreezecharge:
  16811. description: 平仓解冻手续费(先建后平操作,需要记录)
  16812. type: number
  16813. decimalplace:
  16814. description: 商品报价小数位
  16815. type: integer
  16816. delistingtype:
  16817. description: 摘牌类型 - 1:价格最优 2:点选成交
  16818. type: integer
  16819. enumdicname:
  16820. description: 单位名称
  16821. type: string
  16822. freezecharge:
  16823. description: 冻结手续费
  16824. type: number
  16825. freezemargin:
  16826. description: 冻结保证金(冻结交易金额)
  16827. type: number
  16828. gcaccountid:
  16829. description: 账户ID[合约币种]
  16830. type: integer
  16831. goodscode:
  16832. description: 商品代码
  16833. type: string
  16834. goodsid:
  16835. description: 商品ID
  16836. type: integer
  16837. goodsname:
  16838. description: 商品名称
  16839. type: string
  16840. goodunitid:
  16841. description: 商品单位id
  16842. type: integer
  16843. histradedate:
  16844. description: 历史交易日
  16845. type: string
  16846. isconfirmexercise:
  16847. description: 是否确认行权- 0:否 1:是
  16848. type: integer
  16849. ispreexercise:
  16850. description: 是否预申报- 0:否 1:是
  16851. type: integer
  16852. isvaliddata:
  16853. description: 是否有效 - 0:无效 1:有效
  16854. type: integer
  16855. listingselecttype:
  16856. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16857. type: integer
  16858. marginalgorithm:
  16859. description: 保证金收取方式 1:比率 2:固定
  16860. type: integer
  16861. marginvalue:
  16862. description: 即市保证金设置值
  16863. type: number
  16864. marketid:
  16865. description: 市场ID
  16866. type: integer
  16867. marketmaxsub:
  16868. description: 市价最大偏移范围
  16869. type: number
  16870. marketname:
  16871. description: 市场名称
  16872. type: string
  16873. memberuserid:
  16874. description: 所属会员UserID
  16875. type: integer
  16876. openexchagechargevalue:
  16877. description: 建仓交易所手续费设置值
  16878. type: number
  16879. openfeealgorithm:
  16880. description: 建仓手续费收取方式 1:比率 2:固定
  16881. type: integer
  16882. openfreezecharge:
  16883. description: 开仓冻结手续费(先建后平操作,需要记录)
  16884. type: number
  16885. openmemberchargevalue:
  16886. description: 建仓会员手续费设置值
  16887. type: number
  16888. openqty:
  16889. description: 开仓数量(先建后平操作,需要记录)
  16890. type: number
  16891. opentradeqty:
  16892. description: 开仓成交数量(先建后平操作,需要记录)
  16893. type: number
  16894. openunfreezecharge:
  16895. description: 开仓解冻手续费(先建后平操作,需要记录)
  16896. type: number
  16897. operatetype:
  16898. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  16899. type: integer
  16900. operatorid:
  16901. description: 登录账号(LoginID)
  16902. type: integer
  16903. optiontype:
  16904. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16905. type: integer
  16906. orderid:
  16907. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16908. type: string
  16909. orderprice:
  16910. description: 委托价格
  16911. type: number
  16912. orderqty:
  16913. description: 委托数量
  16914. type: number
  16915. ordersrc:
  16916. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16917. type: integer
  16918. orderstatus:
  16919. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  16920. type: integer
  16921. ordertime:
  16922. description: 委托时间
  16923. type: string
  16924. preexerciseprice:
  16925. description: 预申报价格
  16926. type: number
  16927. premium:
  16928. description: 权利金
  16929. type: number
  16930. preorderid:
  16931. description: 关联预埋单号(止盈止损单时填写)
  16932. type: string
  16933. pricemode:
  16934. description: '取价方式 - 1:市价 2: 限价'
  16935. type: integer
  16936. qtydecimalplace:
  16937. description: 成交量小数位
  16938. type: integer
  16939. quoteid:
  16940. description: 报价单ID
  16941. type: integer
  16942. relatedid:
  16943. description: 关联单号(交割单)
  16944. type: string
  16945. retcode:
  16946. description: 错误代码
  16947. type: integer
  16948. sessionid:
  16949. description: 会话ID
  16950. type: integer
  16951. tradedate:
  16952. description: 交易日(yyyyMMdd)
  16953. type: string
  16954. trademode:
  16955. description: 交易模式
  16956. type: integer
  16957. tradeproperty:
  16958. description: 交易属性
  16959. type: integer
  16960. tradeqty:
  16961. description: 成交数量
  16962. type: number
  16963. unfreezecharge:
  16964. description: 解冻手续费
  16965. type: number
  16966. unfreezemargin:
  16967. description: 解冻保证金
  16968. type: number
  16969. updatetime:
  16970. description: 更新时间
  16971. type: string
  16972. uuid:
  16973. description: 发起端唯一id
  16974. type: string
  16975. validtime:
  16976. description: 有效期限
  16977. type: string
  16978. validtype:
  16979. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16980. type: integer
  16981. volumetype:
  16982. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16983. type: integer
  16984. required:
  16985. - accountid
  16986. - buildtype
  16987. - buyorsell
  16988. - goodsid
  16989. - histradedate
  16990. - marketid
  16991. - memberuserid
  16992. - operatetype
  16993. - orderid
  16994. - orderqty
  16995. - ordertime
  16996. - pricemode
  16997. - tradedate
  16998. - validtype
  16999. type: object
  17000. order.QueryTradeDetailRsp:
  17001. properties:
  17002. accountid:
  17003. description: 账户ID[报价币种]
  17004. type: integer
  17005. advanceratio:
  17006. description: 首付比率
  17007. type: number
  17008. buildtype:
  17009. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17010. type: integer
  17011. buyorsell:
  17012. description: 方向 - 0:买 1:卖
  17013. type: integer
  17014. charge:
  17015. description: 手续费
  17016. type: number
  17017. closecharge:
  17018. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17019. type: number
  17020. closeexchagechargevalue:
  17021. description: 平仓交易所手续费设置值
  17022. type: number
  17023. closefeealgorithm:
  17024. description: 平仓手续费收取方式 1:比率 2:固定
  17025. type: integer
  17026. closememberchargevalue:
  17027. description: 平仓会员手续费设置值
  17028. type: number
  17029. closepl:
  17030. description: 平仓盈亏
  17031. type: number
  17032. closepl2:
  17033. description: 平仓盈亏[逐笔]
  17034. type: number
  17035. closeqty:
  17036. description: 平仓数量(先建后平操作 需要记录)
  17037. type: number
  17038. creditamount:
  17039. description: 授信金额
  17040. type: number
  17041. decimalplace:
  17042. description: 商品报价小数位
  17043. type: integer
  17044. enumdicname:
  17045. description: 单位名称
  17046. type: string
  17047. gcaccountid:
  17048. description: 账户ID[合约币种]
  17049. type: integer
  17050. goodscode:
  17051. description: 商品代码
  17052. type: string
  17053. goodsid:
  17054. description: 商品ID
  17055. type: integer
  17056. goodsname:
  17057. description: 商品名称
  17058. type: string
  17059. goodunitid:
  17060. description: 商品单位id
  17061. type: integer
  17062. intclosepl:
  17063. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17064. type: integer
  17065. isconfirmexercise:
  17066. description: 是否确认行权- 0:否 1:是
  17067. type: integer
  17068. ismain:
  17069. description: 是否主单 - 0:不是 1:是
  17070. type: integer
  17071. ispreexercise:
  17072. description: 是否预申报- 0:否 1:是
  17073. type: integer
  17074. isreckoned:
  17075. description: 是否结算 - 0:未结算 1:已结算
  17076. type: integer
  17077. listingselecttype:
  17078. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17079. type: integer
  17080. marketid:
  17081. description: 市场ID
  17082. type: integer
  17083. marketname:
  17084. description: 市场名称
  17085. type: string
  17086. matchaccountid:
  17087. description: 对手账号id
  17088. type: integer
  17089. memberuserid:
  17090. description: 会员id 个人投资者 需要填写
  17091. type: integer
  17092. opencharge:
  17093. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17094. type: number
  17095. openexchagechargevalue:
  17096. description: 建仓交易所手续费设置值
  17097. type: number
  17098. openfeealgorithm:
  17099. description: 建仓手续费收取方式 1:比率 2:固定
  17100. type: integer
  17101. openmemberchargevalue:
  17102. description: 建仓会员手续费设置值
  17103. type: number
  17104. openqty:
  17105. description: 开仓数量(先建后平操作 需要记录)
  17106. type: number
  17107. optiontype:
  17108. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17109. type: integer
  17110. orderid:
  17111. description: 委托单号
  17112. type: string
  17113. payamount:
  17114. description: 支付金额(付款金额)
  17115. type: number
  17116. performanceplanid:
  17117. description: 履约计划ID[期权]
  17118. type: integer
  17119. performancestatus:
  17120. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17121. type: integer
  17122. preexerciseprice:
  17123. description: 预申报价格
  17124. type: number
  17125. premium:
  17126. description: 权利金 - [持仓单的权利金]
  17127. type: number
  17128. qtydecimalplace:
  17129. description: 商品报价小数位
  17130. type: integer
  17131. recvamount:
  17132. description: 到账金额 = 成交金额 - 手续费
  17133. type: number
  17134. relatedouttradeid:
  17135. description: 关联外部成交单ID
  17136. type: integer
  17137. status:
  17138. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17139. type: integer
  17140. totalamount:
  17141. description: 订单总额 = 成交金额 + 手续费
  17142. type: number
  17143. tradeamount:
  17144. description: 成交金额[账户币种,用于所有权]
  17145. type: number
  17146. tradedate:
  17147. description: 交易日(yyyyMMdd)
  17148. type: string
  17149. tradeid:
  17150. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17151. type: string
  17152. trademode:
  17153. description: 交易模式
  17154. type: integer
  17155. tradeprice:
  17156. description: 成交价格
  17157. type: number
  17158. tradeproperty:
  17159. description: 交易属性
  17160. type: integer
  17161. tradeqty:
  17162. description: 成交数量
  17163. type: number
  17164. tradetime:
  17165. description: 成交时间
  17166. type: string
  17167. tradetype:
  17168. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17169. type: integer
  17170. required:
  17171. - accountid
  17172. - buyorsell
  17173. - goodsid
  17174. - marketid
  17175. - memberuserid
  17176. - orderid
  17177. - tradeamount
  17178. - tradedate
  17179. - tradeid
  17180. - tradeprice
  17181. - tradeqty
  17182. - tradetime
  17183. type: object
  17184. order.QueryTradeOrderDetailRsp:
  17185. properties:
  17186. accountid:
  17187. description: 账户ID[报价币种]
  17188. type: integer
  17189. buildtype:
  17190. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17191. type: integer
  17192. buyorsell:
  17193. description: 买卖 - 0:买 1:卖
  17194. type: integer
  17195. cancelorderid:
  17196. description: 撤单单号(撤单时填写)
  17197. type: string
  17198. cancelqty:
  17199. description: 撤单数量
  17200. type: number
  17201. clienttype:
  17202. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17203. type: integer
  17204. closefreezecharge:
  17205. description: 平仓冻结手续费(先建后平操作,需要记录)
  17206. type: number
  17207. closeqty:
  17208. description: 平仓数量(先建后平操作 需要记录)
  17209. type: number
  17210. closetradeqty:
  17211. description: 平仓成交数量(先建后平操作,需要记录)
  17212. type: number
  17213. closeunfreezecharge:
  17214. description: 平仓解冻手续费(先建后平操作,需要记录)
  17215. type: number
  17216. decimalplace:
  17217. description: 商品报价小数位
  17218. type: integer
  17219. delistingtype:
  17220. description: 摘牌类型 - 1:价格最优 2:点选成交
  17221. type: integer
  17222. enableqty:
  17223. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17224. type: number
  17225. enumdicname:
  17226. description: 单位名称
  17227. type: string
  17228. freezecharge:
  17229. description: 冻结手续费
  17230. type: number
  17231. freezemargin:
  17232. description: 冻结保证金(冻结交易金额)
  17233. type: number
  17234. goodscode:
  17235. description: 商品代码
  17236. type: string
  17237. goodsid:
  17238. description: 商品ID
  17239. type: integer
  17240. goodsname:
  17241. description: 商品名称
  17242. type: string
  17243. goodunitid:
  17244. description: 商品单位id
  17245. type: integer
  17246. listingselecttype:
  17247. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17248. type: integer
  17249. marketid:
  17250. description: 市场ID
  17251. type: integer
  17252. marketname:
  17253. description: 市场名称
  17254. type: string
  17255. openfreezecharge:
  17256. description: 开仓冻结手续费(先建后平操作,需要记录)
  17257. type: number
  17258. openqty:
  17259. description: 开仓数量(先建后平操作,需要记录)
  17260. type: number
  17261. opentradeqty:
  17262. description: 开仓成交数量(先建后平操作,需要记录)
  17263. type: number
  17264. openunfreezecharge:
  17265. description: 开仓解冻手续费(先建后平操作,需要记录)
  17266. type: number
  17267. operatetype:
  17268. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17269. type: integer
  17270. operatorid:
  17271. description: 登录账号(LoginID)
  17272. type: integer
  17273. orderid:
  17274. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17275. type: string
  17276. orderprice:
  17277. description: 委托价格
  17278. type: number
  17279. orderqty:
  17280. description: 委托数量
  17281. type: number
  17282. ordersrc:
  17283. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17284. type: integer
  17285. orderstatus:
  17286. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17287. type: integer
  17288. ordertime:
  17289. description: 委托时间
  17290. type: string
  17291. preorderid:
  17292. description: 关联预埋单号(止盈止损单时填写)
  17293. type: string
  17294. pricemode:
  17295. description: '取价方式 - 1:市价 2: 限价'
  17296. type: integer
  17297. qtydecimalplace:
  17298. description: 商品报价小数位
  17299. type: integer
  17300. relatedid:
  17301. description: 关联单号(交割单)
  17302. type: string
  17303. tradedate:
  17304. description: 交易日(yyyyMMdd)
  17305. type: string
  17306. trademode:
  17307. description: 交易模式
  17308. type: integer
  17309. tradeqty:
  17310. description: 成交数量
  17311. type: number
  17312. unfreezecharge:
  17313. description: 解冻手续费
  17314. type: number
  17315. unfreezemargin:
  17316. description: 解冻保证金
  17317. type: number
  17318. validtime:
  17319. description: 有效期限
  17320. type: string
  17321. validtype:
  17322. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17323. type: integer
  17324. volumetype:
  17325. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17326. type: integer
  17327. required:
  17328. - accountid
  17329. - buildtype
  17330. - buyorsell
  17331. - goodsid
  17332. - marketid
  17333. - operatetype
  17334. - orderqty
  17335. - ordertime
  17336. - pricemode
  17337. - tradedate
  17338. - validtype
  17339. type: object
  17340. order.QueryTradePositionRsp:
  17341. properties:
  17342. accountid:
  17343. description: 资金账户
  17344. type: integer
  17345. agreeunit:
  17346. description: 合约单位
  17347. type: number
  17348. averageprice:
  17349. description: 持仓均价
  17350. type: number
  17351. buyorsell:
  17352. description: 方向 - 0:买 1:卖
  17353. type: integer
  17354. closetotalqty:
  17355. description: 平仓总数量
  17356. type: number
  17357. curholderamount:
  17358. description: 当前持仓总金额[商品币种]
  17359. type: number
  17360. curpositionqty:
  17361. description: 当前持仓总数量
  17362. type: number
  17363. currencyid:
  17364. description: 报价货币ID
  17365. type: integer
  17366. curtdposition:
  17367. description: 期末今日头寸
  17368. type: number
  17369. decimalplace:
  17370. description: 报价小数位
  17371. type: integer
  17372. enableqty:
  17373. description: 可用量
  17374. type: number
  17375. fretdposition:
  17376. description: 冻结今日头寸
  17377. type: number
  17378. frozenqty:
  17379. description: 持仓冻结数量
  17380. type: number
  17381. goodscode:
  17382. description: 商品代码
  17383. type: string
  17384. goodsid:
  17385. description: 商品Id
  17386. type: integer
  17387. goodsname:
  17388. description: 商品名称
  17389. type: string
  17390. goodunit:
  17391. description: 报价单位
  17392. type: string
  17393. goodunitid:
  17394. description: 报价单位ID
  17395. type: integer
  17396. holderamount:
  17397. description: 期初持仓总金额[商品币种]
  17398. type: number
  17399. lastprice:
  17400. description: 最新价
  17401. type: number
  17402. marketamount:
  17403. description: 市值
  17404. type: number
  17405. marketid:
  17406. description: 所属市场ID
  17407. type: integer
  17408. openreqqty:
  17409. description: 开仓申请数量(用于比较最大持仓数量)
  17410. type: number
  17411. opentotalqty:
  17412. description: 开仓总数量
  17413. type: number
  17414. otherfrozenqty:
  17415. description: 持仓其他冻结数量(交割冻结)
  17416. type: number
  17417. positionpl:
  17418. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17419. type: number
  17420. positionplrate:
  17421. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17422. type: number
  17423. positionqty:
  17424. description: 期初持仓数量
  17425. type: number
  17426. qtydecimalplace:
  17427. description: 成交量小数位
  17428. type: integer
  17429. tnqty:
  17430. description: T+N冻结总量
  17431. type: number
  17432. tnusedqty:
  17433. description: T+N使用量(可以使用T+N的冻结数量)
  17434. type: number
  17435. trademode:
  17436. description: 交易模式
  17437. type: integer
  17438. tradeproperty:
  17439. description: 交易属性
  17440. type: integer
  17441. usedmargin:
  17442. description: 占用保证金[商品币种]
  17443. type: number
  17444. required:
  17445. - goodsid
  17446. type: object
  17447. pb.GoodsMarginCfgStruct:
  17448. properties:
  17449. CustomerTypeID:
  17450. description: 投资者客户类型
  17451. type: integer
  17452. GoodsID:
  17453. description: 商品ID
  17454. type: integer
  17455. IsDefault:
  17456. description: 是否默认标志位
  17457. type: integer
  17458. LockMarginValue:
  17459. description: 锁仓保证金
  17460. type: number
  17461. MarginAlgorithm:
  17462. description: 保证金计算方式
  17463. type: integer
  17464. MarketMarginValue:
  17465. description: 即市保证金值
  17466. type: number
  17467. RealMarginAlgorithm:
  17468. description: 实付保证金计算方式
  17469. type: integer
  17470. RealMarginValue:
  17471. description: 实付比例
  17472. type: number
  17473. ReckonMarginValue:
  17474. description: 结算保证金值
  17475. type: number
  17476. type: object
  17477. quote.HistoryData:
  17478. properties:
  17479. c:
  17480. description: 收盘价
  17481. type: number
  17482. f:
  17483. description: 是否补充数据
  17484. type: boolean
  17485. h:
  17486. description: 最高价
  17487. type: number
  17488. hv:
  17489. description: 持仓量
  17490. type: integer
  17491. l:
  17492. description: 最低价
  17493. type: number
  17494. o:
  17495. description: 开盘价
  17496. type: number
  17497. s:
  17498. description: 结算价,日线周期(包括)以上才有
  17499. type: number
  17500. ts:
  17501. description: 时间
  17502. type: string
  17503. tt:
  17504. description: 总金额
  17505. type: number
  17506. tv:
  17507. description: 总量(成交量)
  17508. type: integer
  17509. type: object
  17510. quote.HistoryTikData:
  17511. properties:
  17512. AV:
  17513. description: 卖量
  17514. type: integer
  17515. Ask:
  17516. description: 卖价
  17517. type: number
  17518. BV:
  17519. description: 买量
  17520. type: integer
  17521. Bid:
  17522. description: 买价
  17523. type: number
  17524. HI:
  17525. description: 单笔持仓
  17526. type: integer
  17527. HV:
  17528. description: 持仓量
  17529. type: integer
  17530. PE:
  17531. description: 现价
  17532. type: number
  17533. TDR:
  17534. description: 交易方向,0:买 1:卖
  17535. type: integer
  17536. TK:
  17537. description: 交易类型
  17538. type: integer
  17539. TS:
  17540. description: 行情时间文本
  17541. type: string
  17542. TT:
  17543. description: 现金额
  17544. type: number
  17545. Vol:
  17546. description: 现量
  17547. type: integer
  17548. type: object
  17549. quote.QueryQuoteDayRsp:
  17550. properties:
  17551. ask:
  17552. description: 卖1
  17553. type: number
  17554. ask2:
  17555. description: 卖2
  17556. type: number
  17557. ask3:
  17558. description: 卖3
  17559. type: number
  17560. ask4:
  17561. description: 卖4
  17562. type: number
  17563. ask5:
  17564. description: 卖5
  17565. type: number
  17566. ask6:
  17567. description: 卖6
  17568. type: number
  17569. ask7:
  17570. description: 卖7
  17571. type: number
  17572. ask8:
  17573. description: 卖8
  17574. type: number
  17575. ask9:
  17576. description: 卖9
  17577. type: number
  17578. ask10:
  17579. description: 卖10
  17580. type: number
  17581. askorderid:
  17582. description: 卖单号1
  17583. type: integer
  17584. askorderid2:
  17585. description: 卖单号2
  17586. type: integer
  17587. askorderid3:
  17588. description: 卖单号3
  17589. type: integer
  17590. askorderid4:
  17591. description: 卖单号4
  17592. type: integer
  17593. askorderid5:
  17594. description: 卖单号5
  17595. type: integer
  17596. askordervolume:
  17597. description: 卖单量1
  17598. type: integer
  17599. askordervolume2:
  17600. description: 卖单量2
  17601. type: integer
  17602. askordervolume3:
  17603. description: 卖单量3
  17604. type: integer
  17605. askordervolume4:
  17606. description: 卖单量4
  17607. type: integer
  17608. askordervolume5:
  17609. description: 卖单量5
  17610. type: integer
  17611. askordervolume6:
  17612. description: 卖单量6
  17613. type: integer
  17614. askordervolume7:
  17615. description: 卖单量7
  17616. type: integer
  17617. askordervolume8:
  17618. description: 卖单量8
  17619. type: integer
  17620. askordervolume9:
  17621. description: 卖单量9
  17622. type: integer
  17623. askordervolume10:
  17624. description: 卖单量10
  17625. type: integer
  17626. askqueueinfo:
  17627. description: 大利市卖港股用
  17628. type: string
  17629. askvolume:
  17630. description: 卖量1
  17631. type: integer
  17632. askvolume2:
  17633. description: 卖量2
  17634. type: integer
  17635. askvolume3:
  17636. description: 卖量3
  17637. type: integer
  17638. askvolume4:
  17639. description: 卖量4
  17640. type: integer
  17641. askvolume5:
  17642. description: 卖量5
  17643. type: integer
  17644. askvolume6:
  17645. description: 卖量6
  17646. type: integer
  17647. askvolume7:
  17648. description: 卖量7
  17649. type: integer
  17650. askvolume8:
  17651. description: 卖量8
  17652. type: integer
  17653. askvolume9:
  17654. description: 卖量9
  17655. type: integer
  17656. askvolume10:
  17657. description: 卖量10
  17658. type: integer
  17659. averageprice:
  17660. description: 均价
  17661. type: number
  17662. bid:
  17663. description: 买1
  17664. type: number
  17665. bid2:
  17666. description: 买2
  17667. type: number
  17668. bid3:
  17669. description: 买3
  17670. type: number
  17671. bid4:
  17672. description: 买4
  17673. type: number
  17674. bid5:
  17675. description: 买5
  17676. type: number
  17677. bid6:
  17678. description: 买6
  17679. type: number
  17680. bid7:
  17681. description: 买7
  17682. type: number
  17683. bid8:
  17684. description: 买8
  17685. type: number
  17686. bid9:
  17687. description: 买9
  17688. type: number
  17689. bid10:
  17690. description: 买10
  17691. type: number
  17692. bidorderid:
  17693. description: 买单号1
  17694. type: integer
  17695. bidorderid2:
  17696. description: 买单号2
  17697. type: integer
  17698. bidorderid3:
  17699. description: 买单号3
  17700. type: integer
  17701. bidorderid4:
  17702. description: 买单号4
  17703. type: integer
  17704. bidorderid5:
  17705. description: 买单号5
  17706. type: integer
  17707. bidordervolume:
  17708. description: 买单量1
  17709. type: integer
  17710. bidordervolume2:
  17711. description: 买单量2
  17712. type: integer
  17713. bidordervolume3:
  17714. description: 买单量3
  17715. type: integer
  17716. bidordervolume4:
  17717. description: 买单量4
  17718. type: integer
  17719. bidordervolume5:
  17720. description: 买单量5
  17721. type: integer
  17722. bidordervolume6:
  17723. description: 买单量6
  17724. type: integer
  17725. bidordervolume7:
  17726. description: 买单量7
  17727. type: integer
  17728. bidordervolume8:
  17729. description: 买单量8
  17730. type: integer
  17731. bidordervolume9:
  17732. description: 买单量9
  17733. type: integer
  17734. bidordervolume10:
  17735. description: 买单量10
  17736. type: integer
  17737. bidqueueinfo:
  17738. description: 大利市买港股用
  17739. type: string
  17740. bidvolume:
  17741. description: 买量1
  17742. type: integer
  17743. bidvolume2:
  17744. description: 买量2
  17745. type: integer
  17746. bidvolume3:
  17747. description: 买量3
  17748. type: integer
  17749. bidvolume4:
  17750. description: 买量4
  17751. type: integer
  17752. bidvolume5:
  17753. description: 买量5
  17754. type: integer
  17755. bidvolume6:
  17756. description: 买量6
  17757. type: integer
  17758. bidvolume7:
  17759. description: 买量7
  17760. type: integer
  17761. bidvolume8:
  17762. description: 买量8
  17763. type: integer
  17764. bidvolume9:
  17765. description: 买量9
  17766. type: integer
  17767. bidvolume10:
  17768. description: 买量10
  17769. type: integer
  17770. calloptionpremiums:
  17771. description: 认购期权1
  17772. type: integer
  17773. calloptionpremiums2:
  17774. description: 认购期权2
  17775. type: integer
  17776. calloptionpremiums3:
  17777. description: 认购期权3
  17778. type: integer
  17779. calloptionpremiums4:
  17780. description: 认购期权4
  17781. type: integer
  17782. calloptionpremiums5:
  17783. description: 认购期权5
  17784. type: integer
  17785. cleartime:
  17786. description: 清盘时间
  17787. type: integer
  17788. exchangecode:
  17789. description: 交易所代码
  17790. type: integer
  17791. exchangedate:
  17792. description: 交易日
  17793. type: integer
  17794. goodscode:
  17795. description: 商品代码
  17796. type: string
  17797. grepmarketprice:
  17798. description: 暗盘价 港股专用
  17799. type: number
  17800. highest:
  17801. description: 最高价
  17802. type: number
  17803. holdincrement:
  17804. description: 单笔持仓
  17805. type: integer
  17806. holdvolume:
  17807. description: 持仓
  17808. type: integer
  17809. iep:
  17810. description: 平衡价 港股专用
  17811. type: number
  17812. iev:
  17813. description: 平衡量 港股专用
  17814. type: number
  17815. inventory:
  17816. description: 库存
  17817. type: integer
  17818. iscleared:
  17819. description: 是否清盘标志
  17820. type: integer
  17821. issettled:
  17822. description: 是否结算标志
  17823. type: integer
  17824. last:
  17825. description: 最新价
  17826. type: number
  17827. lastlot:
  17828. description: 最新成交手数
  17829. type: integer
  17830. lasttime:
  17831. description: 行情时间(只有现价变化行情时间才变化)
  17832. type: string
  17833. lastturnover:
  17834. description: 最新成交金额
  17835. type: number
  17836. lastvolume:
  17837. description: 最新成交量
  17838. type: integer
  17839. limitdown:
  17840. description: 跌停价
  17841. type: number
  17842. limitup:
  17843. description: 涨停价
  17844. type: number
  17845. lowest:
  17846. description: 最低价
  17847. type: number
  17848. nontotalholdervolume:
  17849. description: 非交易持仓量
  17850. type: integer
  17851. nontotallot:
  17852. description: 非交易总手数
  17853. type: integer
  17854. nontotalturnover:
  17855. description: 非交易总金额
  17856. type: integer
  17857. nontotalvolume:
  17858. description: 非交易总量
  17859. type: integer
  17860. opened:
  17861. description: 开盘价
  17862. type: number
  17863. opentime:
  17864. description: 开盘时间
  17865. type: string
  17866. orderid:
  17867. description: 序号
  17868. type: integer
  17869. preclose:
  17870. description: 昨收
  17871. type: number
  17872. preholdvolume:
  17873. description: 昨持仓
  17874. type: integer
  17875. presettle:
  17876. description: 昨结价
  17877. type: number
  17878. publictradetype:
  17879. description: 公共交易标志类型 港股专用
  17880. type: string
  17881. putoptionpremiums:
  17882. description: 认沽期权1
  17883. type: integer
  17884. putoptionpremiums2:
  17885. description: 认沽期权2
  17886. type: integer
  17887. putoptionpremiums3:
  17888. description: 认沽期权3
  17889. type: integer
  17890. putoptionpremiums4:
  17891. description: 认沽期权4
  17892. type: integer
  17893. putoptionpremiums5:
  17894. description: 认沽期权5
  17895. type: integer
  17896. settle:
  17897. description: 结算价
  17898. type: number
  17899. strikeprice:
  17900. description: 发行价
  17901. type: number
  17902. totalaskvolume:
  17903. description: 内盘
  17904. type: integer
  17905. totalbidvolume:
  17906. description: 外盘
  17907. type: integer
  17908. totallot:
  17909. description: 总手数
  17910. type: integer
  17911. totalturnover:
  17912. description: 总金额
  17913. type: number
  17914. totalvolume:
  17915. description: 总量
  17916. type: integer
  17917. utclasttime:
  17918. description: utc的行情时间
  17919. type: string
  17920. type: object
  17921. quote.QueryTSDataRsp:
  17922. properties:
  17923. Count:
  17924. description: 交易日应有数据个数
  17925. type: integer
  17926. decimalPlace:
  17927. description: 小数位
  17928. type: integer
  17929. endTime:
  17930. description: 结束时间
  17931. type: string
  17932. goodsCode:
  17933. description: 商品代码
  17934. type: string
  17935. historyDatas:
  17936. description: 历史数据
  17937. items:
  17938. $ref: '#/definitions/quote.HistoryData'
  17939. type: array
  17940. outGoodsCode:
  17941. description: 外部商品代码
  17942. type: string
  17943. preSettle:
  17944. description: 昨结价
  17945. type: number
  17946. runSteps:
  17947. description: 交易日开休市计划
  17948. items:
  17949. $ref: '#/definitions/quote.TSDataRunStep'
  17950. type: array
  17951. startTime:
  17952. description: 开始时间
  17953. type: string
  17954. tradeDate:
  17955. description: 交易日
  17956. type: string
  17957. type: object
  17958. quote.TSDataRunStep:
  17959. properties:
  17960. end:
  17961. description: 真实结束时间
  17962. type: string
  17963. endflag:
  17964. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17965. type: integer
  17966. endtime:
  17967. description: 结束时间(HH:mm)
  17968. type: string
  17969. endweekday:
  17970. description: 结束周几
  17971. type: integer
  17972. groupid:
  17973. description: 分组ID
  17974. type: integer
  17975. runstep:
  17976. description: 运行阶段 - 2:连续交易
  17977. type: integer
  17978. sectionid:
  17979. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  17980. type: integer
  17981. start:
  17982. description: 真实开始时间
  17983. type: string
  17984. startflag:
  17985. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17986. type: integer
  17987. starttime:
  17988. description: 起始时间(HH:mm)
  17989. type: string
  17990. startweekday:
  17991. description: 起始周几
  17992. type: integer
  17993. tradeweekday:
  17994. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17995. type: integer
  17996. type: object
  17997. szdz.QueryConvertLogRsp:
  17998. properties:
  17999. accountid:
  18000. description: 资金账户ID
  18001. type: integer
  18002. clientticket:
  18003. description: 客户端流水号
  18004. type: string
  18005. converttype:
  18006. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18007. type: integer
  18008. createtime:
  18009. description: 记账时间
  18010. type: string
  18011. daymaxvalue:
  18012. description: 配置当日最大转入限制
  18013. type: number
  18014. daymaxvalue2:
  18015. description: 配置当日最大转入限制(转入)
  18016. type: number
  18017. goodscode:
  18018. description: 商品代码
  18019. type: string
  18020. goodsname:
  18021. description: 商品名称
  18022. type: string
  18023. handlestatus:
  18024. description: 处理状态
  18025. type: integer
  18026. innergoodsid:
  18027. description: 内部商品ID
  18028. type: integer
  18029. inratio:
  18030. description: 配置转入比值
  18031. type: integer
  18032. invalue:
  18033. description: 目标值
  18034. type: number
  18035. logid:
  18036. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18037. type: integer
  18038. mobile:
  18039. description: 手机号码(加密存储)
  18040. type: string
  18041. outergoodscode:
  18042. description: 外部商品代码[JD\PD]
  18043. type: string
  18044. outratio:
  18045. description: 配置转出比值
  18046. type: integer
  18047. outvalue:
  18048. description: 源值
  18049. type: number
  18050. pddecimalplace:
  18051. description: PD小数位
  18052. type: integer
  18053. qty:
  18054. description: 数量
  18055. type: string
  18056. remark:
  18057. description: 备注
  18058. type: string
  18059. sessionid:
  18060. description: 会话ID
  18061. type: integer
  18062. timemaxvalue:
  18063. description: 配置单次最大转入限制
  18064. type: number
  18065. timemaxvalue2:
  18066. description: 配置单次最大转入限制(转入)
  18067. type: number
  18068. timeminvalue:
  18069. description: 配置单次最小数量限制
  18070. type: number
  18071. timeminvalue2:
  18072. description: 配置单次最小数量限制(转入)
  18073. type: number
  18074. tradedate:
  18075. description: 交易日(yyyyMMdd)
  18076. type: string
  18077. userid:
  18078. description: 用户ID
  18079. type: integer
  18080. required:
  18081. - logid
  18082. type: object
  18083. szdz.QueryGoodsPickupRsp:
  18084. properties:
  18085. accountid:
  18086. description: 账户ID
  18087. type: integer
  18088. address:
  18089. description: 提货人详细地址
  18090. type: string
  18091. auditer:
  18092. description: 审核人
  18093. type: integer
  18094. audittime:
  18095. description: 审核时间
  18096. type: string
  18097. cardnum:
  18098. description: 提货人证件号码
  18099. type: string
  18100. cardtypeid:
  18101. description: 提货人证件类型
  18102. type: integer
  18103. checkremark:
  18104. description: 审核备注
  18105. type: string
  18106. goodscode:
  18107. description: 商品代码
  18108. type: string
  18109. goodsid:
  18110. description: 商品ID
  18111. type: integer
  18112. goodsname:
  18113. description: 商品名称
  18114. type: string
  18115. handlestatus:
  18116. description: 处理状态
  18117. type: integer
  18118. marketid:
  18119. description: 市场ID
  18120. type: integer
  18121. phonenum:
  18122. description: 提货人联系方式
  18123. type: string
  18124. qty:
  18125. description: 提货数量
  18126. type: number
  18127. recivername:
  18128. description: 提货人姓名
  18129. type: string
  18130. reqtime:
  18131. description: 更新时间
  18132. type: string
  18133. takemode:
  18134. description: 提货方式 - 2:自提 3:配送
  18135. type: integer
  18136. takeorderid:
  18137. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18138. type: string
  18139. takeorderstatus:
  18140. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18141. type: integer
  18142. takeremark:
  18143. description: 提货备注
  18144. type: string
  18145. tradedate:
  18146. description: 交易日(yyyyMMdd)
  18147. type: string
  18148. userid:
  18149. description: 用户ID
  18150. type: integer
  18151. required:
  18152. - takeorderid
  18153. type: object
  18154. szdz.QueryRecieptOrderRsp:
  18155. properties:
  18156. accountName:
  18157. description: 所属账号名称(已脱敏)
  18158. type: string
  18159. accountid:
  18160. description: 资金账号
  18161. type: integer
  18162. buyorsell:
  18163. description: 方向 - 0:买 1:卖
  18164. type: integer
  18165. enableqty:
  18166. description: 可摘数量
  18167. type: integer
  18168. goodscode:
  18169. description: 商品代码
  18170. type: string
  18171. goodsid:
  18172. description: 商品ID
  18173. type: integer
  18174. goodsname:
  18175. description: 商品名称
  18176. type: string
  18177. orderid:
  18178. description: 委托单号
  18179. type: string
  18180. orderprice:
  18181. description: 委托价格
  18182. type: number
  18183. ordertime:
  18184. description: 委托时间
  18185. type: string
  18186. tradedate:
  18187. description: 交易日(yyyyMMdd)
  18188. type: string
  18189. required:
  18190. - ordertime
  18191. type: object
  18192. szdz.QuerySZDZTradePositionRsp:
  18193. properties:
  18194. accountid:
  18195. description: 账号Id
  18196. type: integer
  18197. agreeunit:
  18198. description: 合约单位
  18199. type: number
  18200. averageprice:
  18201. description: 持仓均价
  18202. type: number
  18203. buyorsell:
  18204. description: 方向 - 0:买 1:卖
  18205. type: integer
  18206. closetotalqty:
  18207. description: 平仓总数量
  18208. type: integer
  18209. curholderamount:
  18210. description: 当前持仓总金额
  18211. type: number
  18212. curpositionqty:
  18213. description: 当前持仓总数量
  18214. type: integer
  18215. currencyid:
  18216. description: 报价货币ID
  18217. type: integer
  18218. curtdposition:
  18219. description: 期末今日头寸
  18220. type: integer
  18221. decimalplace:
  18222. description: 报价小数位
  18223. type: integer
  18224. enableqty:
  18225. description: 可用量
  18226. type: integer
  18227. fretdposition:
  18228. description: 冻结今日头寸
  18229. type: integer
  18230. frozenqty:
  18231. description: 持仓冻结数量
  18232. type: integer
  18233. goodscode:
  18234. description: 商品代码(内部)
  18235. type: string
  18236. goodsid:
  18237. description: 商品Id
  18238. type: integer
  18239. goodsname:
  18240. description: 商品名称
  18241. type: string
  18242. goodunit:
  18243. description: 报价单位
  18244. type: string
  18245. goodunitid:
  18246. description: 报价单位ID
  18247. type: integer
  18248. holderamount:
  18249. description: 期初持仓总金额
  18250. type: number
  18251. marketid:
  18252. description: 市场ID
  18253. type: integer
  18254. openreqqty:
  18255. description: 开仓申请数量
  18256. type: integer
  18257. opentotalqty:
  18258. description: 开仓总数量
  18259. type: integer
  18260. otherfrozenqty:
  18261. description: 持仓其他冻结数量(交割冻结)
  18262. type: integer
  18263. positionqty:
  18264. description: 期初持仓数量
  18265. type: integer
  18266. szdz3freezqty:
  18267. description: 尚志大宗转换冻结总数量
  18268. type: integer
  18269. tnqty:
  18270. description: T+N冻结总量
  18271. type: integer
  18272. tnusedqty:
  18273. description: T+N使用量
  18274. type: integer
  18275. trademode:
  18276. description: 交易模式
  18277. type: integer
  18278. usedmargin:
  18279. description: 占用保证金
  18280. type: number
  18281. type: object
  18282. taaccount.QueryAmountLogRsp:
  18283. properties:
  18284. OPERATETYPENAME:
  18285. description: 资金操作类型名称
  18286. type: string
  18287. accountid:
  18288. description: 资金账户ID
  18289. type: integer
  18290. agoodscode:
  18291. description: 竞拍商品代码
  18292. type: string
  18293. agoodsname:
  18294. description: 竞拍商品名称
  18295. type: string
  18296. amount:
  18297. description: 资金金额
  18298. type: number
  18299. amountadjusttype:
  18300. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18301. type: integer
  18302. autoid:
  18303. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18304. type: integer
  18305. balance:
  18306. description: 期初余额
  18307. type: number
  18308. businesscode:
  18309. description: 业务编号
  18310. type: integer
  18311. createtime:
  18312. description: 发生时间
  18313. type: string
  18314. currencyid:
  18315. description: 币种ID
  18316. type: integer
  18317. currentbalance:
  18318. description: 期末余额(变动后金额)
  18319. type: number
  18320. dgoodscode:
  18321. description: 交割商品代码
  18322. type: string
  18323. dgoodsname:
  18324. description: 交割商品名称
  18325. type: string
  18326. goodscode:
  18327. description: 商品代码
  18328. type: string
  18329. goodsid:
  18330. description: 商品ID
  18331. type: integer
  18332. goodsname:
  18333. description: 商品名称
  18334. type: string
  18335. marketid:
  18336. description: 市场ID
  18337. type: integer
  18338. marketname:
  18339. description: 市场名称
  18340. type: string
  18341. moneyticket:
  18342. description: 资金流水号:银行端流水号
  18343. type: integer
  18344. operatetype:
  18345. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18346. type: integer
  18347. relationorderid:
  18348. description: 关联单号
  18349. type: string
  18350. remark:
  18351. description: 备注
  18352. type: string
  18353. trademode:
  18354. description: 交易模式
  18355. type: integer
  18356. required:
  18357. - accountid
  18358. - amount
  18359. - amountadjusttype
  18360. - autoid
  18361. - balance
  18362. - createtime
  18363. - currentbalance
  18364. - operatetype
  18365. type: object
  18366. taaccount.QueryHisAmountLogRsp:
  18367. properties:
  18368. OPERATETYPENAME:
  18369. description: 资金操作类型名称
  18370. type: string
  18371. accountid:
  18372. description: 资金账户ID
  18373. type: integer
  18374. agoodscode:
  18375. description: 竞拍商品代码
  18376. type: string
  18377. agoodsname:
  18378. description: 竞拍商品名称
  18379. type: string
  18380. amount:
  18381. description: 资金金额
  18382. type: number
  18383. amountadjusttype:
  18384. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18385. type: integer
  18386. autoid:
  18387. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18388. type: integer
  18389. balance:
  18390. description: 期初余额
  18391. type: number
  18392. businesscode:
  18393. description: 业务编号
  18394. type: integer
  18395. createtime:
  18396. description: 发生时间
  18397. type: string
  18398. currencyid:
  18399. description: 币种ID
  18400. type: integer
  18401. currentbalance:
  18402. description: 期末余额(变动后金额)
  18403. type: number
  18404. dgoodscode:
  18405. description: 交割商品代码
  18406. type: string
  18407. dgoodsname:
  18408. description: 交割商品名称
  18409. type: string
  18410. goodscode:
  18411. description: 商品代码
  18412. type: string
  18413. goodsid:
  18414. description: 商品ID
  18415. type: integer
  18416. goodsname:
  18417. description: 商品名称
  18418. type: string
  18419. histradedate:
  18420. description: 历史交易日
  18421. type: string
  18422. isvaliddata:
  18423. description: 是否有效 - 0:无效 1:有效
  18424. type: integer
  18425. marketid:
  18426. description: 市场ID
  18427. type: integer
  18428. marketname:
  18429. description: 市场名称
  18430. type: string
  18431. moneyticket:
  18432. description: 资金流水号:银行端流水号
  18433. type: integer
  18434. operatetype:
  18435. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18436. type: integer
  18437. relationorderid:
  18438. description: 关联单号
  18439. type: string
  18440. remark:
  18441. description: 备注
  18442. type: string
  18443. trademode:
  18444. description: 交易模式
  18445. type: integer
  18446. required:
  18447. - accountid
  18448. - amount
  18449. - amountadjusttype
  18450. - autoid
  18451. - balance
  18452. - createtime
  18453. - currentbalance
  18454. - histradedate
  18455. - operatetype
  18456. type: object
  18457. trade.QueryRecieptOrderRsp:
  18458. properties:
  18459. accountName:
  18460. description: 所属账号名称(已脱敏)
  18461. type: string
  18462. accountid:
  18463. description: 资金账号
  18464. type: integer
  18465. buyorsell:
  18466. description: 方向 - 0:买 1:卖
  18467. type: integer
  18468. enableqty:
  18469. description: 可摘数量
  18470. type: integer
  18471. goodscode:
  18472. description: 商品代码
  18473. type: string
  18474. goodsid:
  18475. description: 商品ID
  18476. type: integer
  18477. goodsname:
  18478. description: 商品名称
  18479. type: string
  18480. orderid:
  18481. description: 委托单号
  18482. type: string
  18483. orderprice:
  18484. description: 委托价格
  18485. type: number
  18486. ordertime:
  18487. description: 委托时间
  18488. type: string
  18489. tradedate:
  18490. description: 交易日(yyyyMMdd)
  18491. type: string
  18492. required:
  18493. - ordertime
  18494. type: object
  18495. user.LoginQueryRsp:
  18496. properties:
  18497. areaRoles:
  18498. description: 所属角色信息
  18499. items:
  18500. $ref: '#/definitions/models.Arearole'
  18501. type: array
  18502. externalExchanges:
  18503. description: 外部交易所
  18504. items:
  18505. $ref: '#/definitions/models.Externalexchange'
  18506. type: array
  18507. goodsgroups:
  18508. description: 商品组
  18509. items:
  18510. $ref: '#/definitions/models.Goodsgroup'
  18511. type: array
  18512. loginAccount:
  18513. $ref: '#/definitions/models.Loginaccount'
  18514. description: 登录账号
  18515. markets:
  18516. description: 市场
  18517. items:
  18518. $ref: '#/definitions/models.Market'
  18519. type: array
  18520. systemParams:
  18521. description: 系统参数
  18522. items:
  18523. $ref: '#/definitions/models.Systemparam'
  18524. type: array
  18525. userAccount:
  18526. $ref: '#/definitions/models.Useraccount'
  18527. description: 用户账号
  18528. userInfo:
  18529. $ref: '#/definitions/models.Userinfo'
  18530. description: 用户信息
  18531. username:
  18532. description: 用户姓名
  18533. type: string
  18534. type: object
  18535. info:
  18536. contact: {}
  18537. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18538. termsOfService: http://www.muchinfo.cn
  18539. title: MTP2.0 查询服务 API
  18540. version: "1.0"
  18541. paths:
  18542. /CPTrade/QueryCPTradeMyBidInfos:
  18543. get:
  18544. parameters:
  18545. - description: 资金账户
  18546. in: query
  18547. name: accountid
  18548. required: true
  18549. type: integer
  18550. - description: 预售市场ID
  18551. in: query
  18552. name: marketid
  18553. type: integer
  18554. - description: 预售商品ID
  18555. in: query
  18556. name: goodsid
  18557. type: integer
  18558. produces:
  18559. - application/json
  18560. responses:
  18561. "200":
  18562. description: OK
  18563. schema:
  18564. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18565. "500":
  18566. description: Internal Server Error
  18567. schema:
  18568. $ref: '#/definitions/app.Response'
  18569. security:
  18570. - ApiKeyAuth: []
  18571. summary: 查询产能预售我的出价信息
  18572. tags:
  18573. - 产能预售
  18574. /CPTrade/QueryCPTradeOrderDetail:
  18575. get:
  18576. parameters:
  18577. - description: 预售商品ID
  18578. in: query
  18579. name: goodsid
  18580. type: integer
  18581. - description: 预售市场ID
  18582. in: query
  18583. name: marketid
  18584. type: integer
  18585. - description: 预售商品ID列表 - 格式:1,2,3
  18586. in: query
  18587. name: goodsids
  18588. type: string
  18589. produces:
  18590. - application/json
  18591. responses:
  18592. "200":
  18593. description: OK
  18594. schema:
  18595. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18596. "500":
  18597. description: Internal Server Error
  18598. schema:
  18599. $ref: '#/definitions/app.Response'
  18600. security:
  18601. - ApiKeyAuth: []
  18602. summary: 查询产能预售委托单信息
  18603. tags:
  18604. - 产能预售
  18605. /CPTrade/QueryMyCPTradeGoods:
  18606. get:
  18607. parameters:
  18608. - description: 资金账户
  18609. in: query
  18610. name: accountid
  18611. required: true
  18612. type: integer
  18613. produces:
  18614. - application/json
  18615. responses:
  18616. "200":
  18617. description: OK
  18618. schema:
  18619. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18620. "500":
  18621. description: Internal Server Error
  18622. schema:
  18623. $ref: '#/definitions/app.Response'
  18624. security:
  18625. - ApiKeyAuth: []
  18626. summary: 查询我的预售信息
  18627. tags:
  18628. - 产能预售
  18629. /CPTrade/QueryPositionCancel:
  18630. get:
  18631. parameters:
  18632. - description: 账户ID
  18633. in: query
  18634. name: userid
  18635. required: true
  18636. type: integer
  18637. - description: 注销ID
  18638. in: query
  18639. name: cancelid
  18640. type: integer
  18641. - description: 资金账户ID
  18642. in: query
  18643. name: accountid
  18644. type: integer
  18645. produces:
  18646. - application/json
  18647. responses:
  18648. "200":
  18649. description: OK
  18650. schema:
  18651. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18652. "500":
  18653. description: Internal Server Error
  18654. schema:
  18655. $ref: '#/definitions/app.Response'
  18656. security:
  18657. - ApiKeyAuth: []
  18658. summary: 查询远期订单注销申请信息
  18659. tags:
  18660. - 产能预售
  18661. /CPTrade/QueryPreasleApply:
  18662. get:
  18663. parameters:
  18664. - description: 账户ID
  18665. in: query
  18666. name: userid
  18667. required: true
  18668. type: integer
  18669. - description: 申请ID
  18670. in: query
  18671. name: applyid
  18672. type: integer
  18673. - description: 资金账户ID
  18674. in: query
  18675. name: accountid
  18676. type: integer
  18677. produces:
  18678. - application/json
  18679. responses:
  18680. "200":
  18681. description: OK
  18682. schema:
  18683. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18684. "500":
  18685. description: Internal Server Error
  18686. schema:
  18687. $ref: '#/definitions/app.Response'
  18688. security:
  18689. - ApiKeyAuth: []
  18690. summary: 查询产能预售申请信息
  18691. tags:
  18692. - 产能预售
  18693. /CPTrade/QueryPresaleGoodsEx:
  18694. get:
  18695. parameters:
  18696. - description: 预售商品ID
  18697. in: query
  18698. name: goodsid
  18699. type: integer
  18700. - description: 预售市场ID
  18701. in: query
  18702. name: marketid
  18703. type: integer
  18704. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18705. in: query
  18706. name: presalemode
  18707. type: integer
  18708. - description: 预售商品ID列表 - 格式:1,2,3
  18709. in: query
  18710. name: goodsids
  18711. type: string
  18712. - description: 预售商品代码
  18713. in: query
  18714. name: goodscode
  18715. type: string
  18716. produces:
  18717. - application/json
  18718. responses:
  18719. "200":
  18720. description: OK
  18721. schema:
  18722. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18723. "500":
  18724. description: Internal Server Error
  18725. schema:
  18726. $ref: '#/definitions/app.Response'
  18727. security:
  18728. - ApiKeyAuth: []
  18729. summary: 查询产能预售商品扩展信息
  18730. tags:
  18731. - 产能预售
  18732. /CPTrade/QueryUserGoodsData:
  18733. get:
  18734. parameters:
  18735. - description: 资金账户ID
  18736. in: query
  18737. name: accountid
  18738. required: true
  18739. type: integer
  18740. produces:
  18741. - application/json
  18742. responses:
  18743. "200":
  18744. description: OK
  18745. schema:
  18746. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18747. "500":
  18748. description: Internal Server Error
  18749. schema:
  18750. $ref: '#/definitions/app.Response'
  18751. security:
  18752. - ApiKeyAuth: []
  18753. summary: 查询远期订单信息
  18754. tags:
  18755. - 产能预售
  18756. /Common/GetAllEnums:
  18757. get:
  18758. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18759. parameters:
  18760. - description: 起始自增ID
  18761. in: query
  18762. name: autoid
  18763. type: integer
  18764. produces:
  18765. - application/json
  18766. responses:
  18767. "200":
  18768. description: OK
  18769. schema:
  18770. $ref: '#/definitions/models.Enumdicitem'
  18771. "500":
  18772. description: Internal Server Error
  18773. schema:
  18774. $ref: '#/definitions/app.Response'
  18775. summary: 获取所有枚举信息
  18776. tags:
  18777. - 通用服务
  18778. /Common/GetClientMenus:
  18779. get:
  18780. parameters:
  18781. - description: 登录账号
  18782. in: query
  18783. name: loginID
  18784. required: true
  18785. type: integer
  18786. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18787. in: query
  18788. name: clientType
  18789. type: integer
  18790. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18791. in: query
  18792. name: name
  18793. type: string
  18794. produces:
  18795. - application/json
  18796. responses:
  18797. "200":
  18798. description: OK
  18799. schema:
  18800. items:
  18801. $ref: '#/definitions/common.ClientMenu'
  18802. type: array
  18803. "500":
  18804. description: Internal Server Error
  18805. schema:
  18806. $ref: '#/definitions/app.Response'
  18807. security:
  18808. - ApiKeyAuth: []
  18809. summary: 获取交易端菜单
  18810. tags:
  18811. - 通用服务
  18812. /Common/GetDivisions:
  18813. get:
  18814. produces:
  18815. - application/json
  18816. responses:
  18817. "200":
  18818. description: OK
  18819. schema:
  18820. $ref: '#/definitions/models.Division'
  18821. "500":
  18822. description: Internal Server Error
  18823. schema:
  18824. $ref: '#/definitions/app.Response'
  18825. summary: 查询区域信息
  18826. tags:
  18827. - 通用服务
  18828. /Common/GetServerTime:
  18829. get:
  18830. produces:
  18831. - application/json
  18832. responses:
  18833. "200":
  18834. description: OK
  18835. schema:
  18836. $ref: '#/definitions/app.Response'
  18837. "500":
  18838. description: Internal Server Error
  18839. schema:
  18840. $ref: '#/definitions/app.Response'
  18841. summary: 获取服务器时间
  18842. tags:
  18843. - 通用服务
  18844. /Common/NoticeReaded:
  18845. post:
  18846. parameters:
  18847. - description: 登录账号
  18848. in: query
  18849. name: loginID
  18850. required: true
  18851. type: integer
  18852. - description: 通知公告ID
  18853. in: query
  18854. name: noticeID
  18855. required: true
  18856. type: integer
  18857. produces:
  18858. - application/json
  18859. responses:
  18860. "200":
  18861. description: OK
  18862. schema:
  18863. $ref: '#/definitions/app.Response'
  18864. "500":
  18865. description: Internal Server Error
  18866. schema:
  18867. $ref: '#/definitions/app.Response'
  18868. security:
  18869. - ApiKeyAuth: []
  18870. summary: 通知公告设置已读请求
  18871. tags:
  18872. - 通用服务
  18873. /Common/QueryErrorInfos:
  18874. get:
  18875. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18876. parameters:
  18877. - description: 起始行号前索引
  18878. in: query
  18879. name: rowNumber
  18880. type: string
  18881. produces:
  18882. - application/json
  18883. responses:
  18884. "200":
  18885. description: OK
  18886. schema:
  18887. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18888. "500":
  18889. description: Internal Server Error
  18890. schema:
  18891. $ref: '#/definitions/app.Response'
  18892. summary: 获取数据库错误信息
  18893. tags:
  18894. - 通用服务
  18895. /Common/QueryImageConfigs:
  18896. get:
  18897. parameters:
  18898. - description: 用户id
  18899. in: query
  18900. name: userId
  18901. type: integer
  18902. - description: 类型 - 1:App首页轮播 2:我的
  18903. in: query
  18904. name: imageType
  18905. type: integer
  18906. produces:
  18907. - application/json
  18908. responses:
  18909. "200":
  18910. description: OK
  18911. schema:
  18912. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18913. "500":
  18914. description: Internal Server Error
  18915. schema:
  18916. $ref: '#/definitions/app.Response'
  18917. summary: 查询轮播图配置信息
  18918. tags:
  18919. - 通用服务
  18920. /Common/QueryNotice:
  18921. get:
  18922. parameters:
  18923. - description: 页码
  18924. in: query
  18925. name: page
  18926. type: integer
  18927. - description: 每页条数
  18928. in: query
  18929. name: pagesize
  18930. type: integer
  18931. - description: 登录账号
  18932. in: query
  18933. name: loginID
  18934. required: true
  18935. type: integer
  18936. - description: 消息类型 - 1:公告通知 2:系统消息
  18937. in: query
  18938. name: msgType
  18939. type: integer
  18940. - description: 是否只获取未读信息
  18941. in: query
  18942. name: onlyUnRead
  18943. type: boolean
  18944. - description: 自增ID,传入后会返回这个ID后面的记录
  18945. in: query
  18946. name: lastID
  18947. type: integer
  18948. produces:
  18949. - application/json
  18950. responses:
  18951. "200":
  18952. description: OK
  18953. schema:
  18954. $ref: '#/definitions/common.QueryNoticeRsp'
  18955. "500":
  18956. description: Internal Server Error
  18957. schema:
  18958. $ref: '#/definitions/app.Response'
  18959. security:
  18960. - ApiKeyAuth: []
  18961. summary: 通知公告系统消息查询
  18962. tags:
  18963. - 通用服务
  18964. /Common/QueryProvincesAndCities:
  18965. get:
  18966. parameters:
  18967. - description: 省ID
  18968. in: query
  18969. name: provinceID
  18970. type: integer
  18971. produces:
  18972. - application/json
  18973. responses:
  18974. "200":
  18975. description: OK
  18976. schema:
  18977. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18978. "500":
  18979. description: Internal Server Error
  18980. schema:
  18981. $ref: '#/definitions/app.Response'
  18982. summary: 查询省市信息(不包括区)
  18983. tags:
  18984. - 通用服务
  18985. /Common/QueryTableDefine:
  18986. get:
  18987. parameters:
  18988. - description: 表key
  18989. in: query
  18990. name: tableKey
  18991. type: string
  18992. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18993. in: query
  18994. name: tableType
  18995. type: integer
  18996. produces:
  18997. - application/json
  18998. responses:
  18999. "200":
  19000. description: OK
  19001. schema:
  19002. $ref: '#/definitions/common.QueryTableDefineRsp'
  19003. "500":
  19004. description: Internal Server Error
  19005. schema:
  19006. $ref: '#/definitions/app.Response'
  19007. summary: 查询交易端列表头信息
  19008. tags:
  19009. - 通用服务
  19010. /Common/QueryTraderMenu:
  19011. get:
  19012. parameters:
  19013. - description: 登录账号
  19014. in: query
  19015. name: loginid
  19016. required: true
  19017. type: integer
  19018. produces:
  19019. - application/json
  19020. responses:
  19021. "200":
  19022. description: OK
  19023. schema:
  19024. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19025. "500":
  19026. description: Internal Server Error
  19027. schema:
  19028. $ref: '#/definitions/app.Response'
  19029. summary: 查询交易端菜单
  19030. tags:
  19031. - 通用服务
  19032. /Delivery/QueryDeliveryRelation:
  19033. get:
  19034. parameters:
  19035. - description: 商品ID
  19036. in: query
  19037. name: goodsid
  19038. type: integer
  19039. - description: 品种ID
  19040. in: query
  19041. name: deliverygoodsid
  19042. type: integer
  19043. - description: 市场ID
  19044. in: query
  19045. name: marketid
  19046. type: integer
  19047. produces:
  19048. - application/json
  19049. responses:
  19050. "200":
  19051. description: OK
  19052. schema:
  19053. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19054. "500":
  19055. description: Internal Server Error
  19056. schema:
  19057. $ref: '#/definitions/app.Response'
  19058. security:
  19059. - ApiKeyAuth: []
  19060. summary: 查询商品交割关系表
  19061. tags:
  19062. - 交割服务
  19063. /Ermcp/GetErmcpGoods:
  19064. get:
  19065. parameters:
  19066. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19067. in: query
  19068. name: lastUpdateTime
  19069. type: string
  19070. produces:
  19071. - application/json
  19072. responses:
  19073. "200":
  19074. description: OK
  19075. schema:
  19076. $ref: '#/definitions/models.ErmcpGoods'
  19077. "500":
  19078. description: Internal Server Error
  19079. schema:
  19080. $ref: '#/definitions/app.Response'
  19081. security:
  19082. - ApiKeyAuth: []
  19083. summary: 查询企业风管期货商品信息
  19084. tags:
  19085. - 企业风险管理(app)
  19086. /Ermcp/GetErmcpGoodsSortByPosition:
  19087. get:
  19088. parameters:
  19089. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19090. in: query
  19091. name: sortIndex
  19092. type: string
  19093. produces:
  19094. - application/json
  19095. responses:
  19096. "200":
  19097. description: OK
  19098. schema:
  19099. $ref: '#/definitions/models.Goodssortbypreposition'
  19100. "500":
  19101. description: Internal Server Error
  19102. schema:
  19103. $ref: '#/definitions/app.Response'
  19104. security:
  19105. - ApiKeyAuth: []
  19106. summary: 查询企业风管期货主力、次主力商品信息
  19107. tags:
  19108. - 企业风险管理(app)
  19109. /Ermcp/GetErmcpOutAccountStatus:
  19110. get:
  19111. parameters:
  19112. - description: 登录账号
  19113. in: query
  19114. name: loginID
  19115. required: true
  19116. type: integer
  19117. produces:
  19118. - application/json
  19119. responses:
  19120. "200":
  19121. description: OK
  19122. schema:
  19123. $ref: '#/definitions/models.Hedgemarketopenlog'
  19124. "500":
  19125. description: Internal Server Error
  19126. schema:
  19127. $ref: '#/definitions/app.Response'
  19128. security:
  19129. - ApiKeyAuth: []
  19130. summary: 获取目标登录账号当前对冲账号在线状态
  19131. tags:
  19132. - 企业风险管理(app)
  19133. /Ermcp/GetErmcpRoleFuncMenuLists:
  19134. get:
  19135. parameters:
  19136. - description: 登录账号
  19137. in: query
  19138. name: loginID
  19139. required: true
  19140. type: integer
  19141. produces:
  19142. - application/json
  19143. responses:
  19144. "200":
  19145. description: OK
  19146. schema:
  19147. $ref: '#/definitions/models.Funcmenulist'
  19148. "500":
  19149. description: Internal Server Error
  19150. schema:
  19151. $ref: '#/definitions/app.Response'
  19152. security:
  19153. - ApiKeyAuth: []
  19154. summary: 获取企业风管终端权限
  19155. tags:
  19156. - 企业风险管理(app)
  19157. /Ermcp/QueryAccMgrBizGroupSet:
  19158. get:
  19159. parameters:
  19160. - description: 用户ID
  19161. in: query
  19162. name: userid
  19163. required: true
  19164. type: integer
  19165. - description: 现货商品id
  19166. in: query
  19167. name: deliverygoodsid
  19168. type: integer
  19169. produces:
  19170. - application/json
  19171. responses:
  19172. "200":
  19173. description: OK
  19174. schema:
  19175. items:
  19176. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19177. type: array
  19178. "500":
  19179. description: Internal Server Error
  19180. schema:
  19181. $ref: '#/definitions/app.Response'
  19182. security:
  19183. - ApiKeyAuth: []
  19184. summary: 查询业务类型分组(账户管理/账户设置)
  19185. tags:
  19186. - 企业风险管理(app)
  19187. /Ermcp/QueryAccMgrLoginUser:
  19188. get:
  19189. parameters:
  19190. - description: 用户ID
  19191. in: query
  19192. name: userid
  19193. required: true
  19194. type: integer
  19195. - description: 用户类型 2-机构 7-企业成员
  19196. in: query
  19197. name: usertype
  19198. type: integer
  19199. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19200. in: query
  19201. name: querytype
  19202. required: true
  19203. type: integer
  19204. produces:
  19205. - application/json
  19206. responses:
  19207. "200":
  19208. description: OK
  19209. schema:
  19210. items:
  19211. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19212. type: array
  19213. "500":
  19214. description: Internal Server Error
  19215. schema:
  19216. $ref: '#/definitions/app.Response'
  19217. security:
  19218. - ApiKeyAuth: []
  19219. summary: 查询账户管理登录账号(账户管理/登录账号)
  19220. tags:
  19221. - 企业风险管理(app)
  19222. /Ermcp/QueryAccMgrMainAccountInfo:
  19223. get:
  19224. parameters:
  19225. - description: 用户ID
  19226. in: query
  19227. name: userid
  19228. type: integer
  19229. - description: 主账号id
  19230. in: query
  19231. name: accountid
  19232. type: integer
  19233. produces:
  19234. - application/json
  19235. responses:
  19236. "200":
  19237. description: OK
  19238. schema:
  19239. items:
  19240. $ref: '#/definitions/models.MainAccountInfo'
  19241. type: array
  19242. "500":
  19243. description: Internal Server Error
  19244. schema:
  19245. $ref: '#/definitions/app.Response'
  19246. security:
  19247. - ApiKeyAuth: []
  19248. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19249. tags:
  19250. - 企业风险管理(app)
  19251. /Ermcp/QueryAccMgrRole:
  19252. get:
  19253. parameters:
  19254. - description: 用户ID
  19255. in: query
  19256. name: userid
  19257. required: true
  19258. type: integer
  19259. produces:
  19260. - application/json
  19261. responses:
  19262. "200":
  19263. description: OK
  19264. schema:
  19265. items:
  19266. $ref: '#/definitions/models.ErmcpRole'
  19267. type: array
  19268. "500":
  19269. description: Internal Server Error
  19270. schema:
  19271. $ref: '#/definitions/app.Response'
  19272. security:
  19273. - ApiKeyAuth: []
  19274. summary: 查询账户管理角色设置(账户管理/角色设置)
  19275. tags:
  19276. - 企业风险管理(app)
  19277. /Ermcp/QueryAccMgrRoleMenu:
  19278. get:
  19279. parameters:
  19280. - description: 用户ID
  19281. in: query
  19282. name: userid
  19283. required: true
  19284. type: integer
  19285. - description: 角色id(可多个,逗号隔开)
  19286. in: query
  19287. name: roleid
  19288. type: string
  19289. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19290. in: query
  19291. name: menutype
  19292. type: integer
  19293. produces:
  19294. - application/json
  19295. responses:
  19296. "200":
  19297. description: OK
  19298. schema:
  19299. items:
  19300. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  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. - 企业风险管理(app)
  19311. /Ermcp/QueryAccMgrTaAccountInfo:
  19312. get:
  19313. parameters:
  19314. - description: 用户ID
  19315. in: query
  19316. name: userid
  19317. required: true
  19318. type: integer
  19319. - description: 账号id
  19320. in: query
  19321. name: accountid
  19322. type: integer
  19323. produces:
  19324. - application/json
  19325. responses:
  19326. "200":
  19327. description: OK
  19328. schema:
  19329. items:
  19330. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19331. type: array
  19332. "500":
  19333. description: Internal Server Error
  19334. schema:
  19335. $ref: '#/definitions/app.Response'
  19336. security:
  19337. - ApiKeyAuth: []
  19338. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19339. tags:
  19340. - 企业风险管理(app)
  19341. /Ermcp/QueryAccMgrTaaccount:
  19342. get:
  19343. parameters:
  19344. - description: 用户ID
  19345. in: query
  19346. name: userid
  19347. required: true
  19348. type: integer
  19349. produces:
  19350. - application/json
  19351. responses:
  19352. "200":
  19353. description: OK
  19354. schema:
  19355. items:
  19356. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19357. type: array
  19358. "500":
  19359. description: Internal Server Error
  19360. schema:
  19361. $ref: '#/definitions/app.Response'
  19362. security:
  19363. - ApiKeyAuth: []
  19364. summary: 查询账户管理期货账号(账户管理/期货账号)
  19365. tags:
  19366. - 企业风险管理(app)
  19367. /Ermcp/QueryAvaildGoodsGroup:
  19368. get:
  19369. parameters:
  19370. - description: 所属机构ID
  19371. in: query
  19372. name: userid
  19373. required: true
  19374. type: integer
  19375. produces:
  19376. - application/json
  19377. responses:
  19378. "200":
  19379. description: OK
  19380. schema:
  19381. items:
  19382. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19383. type: array
  19384. "500":
  19385. description: Internal Server Error
  19386. schema:
  19387. $ref: '#/definitions/app.Response'
  19388. security:
  19389. - ApiKeyAuth: []
  19390. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19391. tags:
  19392. - 企业风险管理(app)
  19393. /Ermcp/QueryBusinessDj:
  19394. get:
  19395. parameters:
  19396. - description: 用户ID
  19397. in: query
  19398. name: UserId
  19399. required: true
  19400. type: integer
  19401. - description: 用户类型 2-机构 7-企业成员
  19402. in: query
  19403. name: usertype
  19404. type: integer
  19405. - description: 现货合同ID, 不填则查所有
  19406. in: query
  19407. name: relatedid
  19408. type: string
  19409. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19410. in: query
  19411. name: applystatus
  19412. type: string
  19413. produces:
  19414. - application/json
  19415. responses:
  19416. "200":
  19417. description: OK
  19418. schema:
  19419. items:
  19420. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19421. type: array
  19422. "500":
  19423. description: Internal Server Error
  19424. schema:
  19425. $ref: '#/definitions/app.Response'
  19426. security:
  19427. - ApiKeyAuth: []
  19428. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19429. tags:
  19430. - 企业风险管理(app)
  19431. /Ermcp/QueryBusinessFp:
  19432. get:
  19433. parameters:
  19434. - description: 用户ID
  19435. in: query
  19436. name: UserId
  19437. required: true
  19438. type: integer
  19439. - description: 用户类型 2-机构 7-企业成员
  19440. in: query
  19441. name: usertype
  19442. type: integer
  19443. - description: 现货合同ID, 不填则查所有
  19444. in: query
  19445. name: relatedid
  19446. type: string
  19447. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19448. in: query
  19449. name: applystatus
  19450. type: string
  19451. produces:
  19452. - application/json
  19453. responses:
  19454. "200":
  19455. description: OK
  19456. schema:
  19457. items:
  19458. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19459. type: array
  19460. "500":
  19461. description: Internal Server Error
  19462. schema:
  19463. $ref: '#/definitions/app.Response'
  19464. security:
  19465. - ApiKeyAuth: []
  19466. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19467. tags:
  19468. - 企业风险管理(app)
  19469. /Ermcp/QueryBusinessJs:
  19470. get:
  19471. parameters:
  19472. - description: 用户ID
  19473. in: query
  19474. name: UserId
  19475. required: true
  19476. type: integer
  19477. - description: 用户类型 2-机构 7-企业成员
  19478. in: query
  19479. name: usertype
  19480. type: integer
  19481. - description: 现货合同ID, 不填则查所有
  19482. in: query
  19483. name: relatedid
  19484. type: string
  19485. - description: 操作申请id
  19486. in: query
  19487. name: operateapplyid
  19488. type: string
  19489. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19490. in: query
  19491. name: applystatus
  19492. type: string
  19493. produces:
  19494. - application/json
  19495. responses:
  19496. "200":
  19497. description: OK
  19498. schema:
  19499. items:
  19500. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19501. type: array
  19502. "500":
  19503. description: Internal Server Error
  19504. schema:
  19505. $ref: '#/definitions/app.Response'
  19506. security:
  19507. - ApiKeyAuth: []
  19508. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19509. tags:
  19510. - 企业风险管理(app)
  19511. /Ermcp/QueryBusinessJsEx:
  19512. get:
  19513. parameters:
  19514. - description: 用户ID
  19515. in: query
  19516. name: UserId
  19517. required: true
  19518. type: integer
  19519. - description: 用户类型 2-机构 7-企业成员
  19520. in: query
  19521. name: usertype
  19522. type: integer
  19523. - description: 现货合同ID, 不填则查所有
  19524. in: query
  19525. name: relatedid
  19526. type: string
  19527. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19528. in: query
  19529. name: applystatus
  19530. type: string
  19531. produces:
  19532. - application/json
  19533. responses:
  19534. "200":
  19535. description: OK
  19536. schema:
  19537. items:
  19538. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19539. type: array
  19540. "500":
  19541. description: Internal Server Error
  19542. schema:
  19543. $ref: '#/definitions/app.Response'
  19544. security:
  19545. - ApiKeyAuth: []
  19546. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19547. tags:
  19548. - 企业风险管理(app)
  19549. /Ermcp/QueryBusinessKx:
  19550. get:
  19551. parameters:
  19552. - description: 用户ID
  19553. in: query
  19554. name: UserId
  19555. required: true
  19556. type: integer
  19557. - description: 用户类型 2-机构 7-企业成员
  19558. in: query
  19559. name: usertype
  19560. type: integer
  19561. - description: 现货合同ID, 不填则查所有
  19562. in: query
  19563. name: relatedid
  19564. type: string
  19565. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19566. in: query
  19567. name: applystatus
  19568. type: string
  19569. produces:
  19570. - application/json
  19571. responses:
  19572. "200":
  19573. description: OK
  19574. schema:
  19575. items:
  19576. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19577. type: array
  19578. "500":
  19579. description: Internal Server Error
  19580. schema:
  19581. $ref: '#/definitions/app.Response'
  19582. security:
  19583. - ApiKeyAuth: []
  19584. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19585. tags:
  19586. - 企业风险管理(app)
  19587. /Ermcp/QueryChangeLog:
  19588. get:
  19589. parameters:
  19590. - description: 合同ID
  19591. in: query
  19592. name: RelatedId
  19593. required: true
  19594. type: string
  19595. produces:
  19596. - application/json
  19597. responses:
  19598. "200":
  19599. description: OK
  19600. schema:
  19601. items:
  19602. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19603. type: array
  19604. "500":
  19605. description: Internal Server Error
  19606. schema:
  19607. $ref: '#/definitions/app.Response'
  19608. security:
  19609. - ApiKeyAuth: []
  19610. summary: 查询变更记录
  19611. tags:
  19612. - 企业风险管理(app)
  19613. /Ermcp/QueryErmcpHisOrderDetails:
  19614. get:
  19615. parameters:
  19616. - description: 资金账户ID
  19617. in: query
  19618. name: accountID
  19619. required: true
  19620. type: integer
  19621. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19622. in: query
  19623. name: startDate
  19624. type: string
  19625. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19626. in: query
  19627. name: endDate
  19628. type: string
  19629. produces:
  19630. - application/json
  19631. responses:
  19632. "200":
  19633. description: OK
  19634. schema:
  19635. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19636. "500":
  19637. description: Internal Server Error
  19638. schema:
  19639. $ref: '#/definitions/app.Response'
  19640. security:
  19641. - ApiKeyAuth: []
  19642. summary: 获取企业风管期货历史委托单信息
  19643. tags:
  19644. - 企业风险管理(app)
  19645. /Ermcp/QueryErmcpHisTradeDetails:
  19646. get:
  19647. parameters:
  19648. - description: 资金账户ID
  19649. in: query
  19650. name: accountID
  19651. required: true
  19652. type: integer
  19653. - description: 商品ID
  19654. in: query
  19655. name: goodsID
  19656. type: integer
  19657. - description: 买卖方向,0:买 1:卖
  19658. in: query
  19659. name: buyOrSell
  19660. type: integer
  19661. - description: 关联委托单号
  19662. in: query
  19663. name: orderID
  19664. type: integer
  19665. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19666. in: query
  19667. name: startDate
  19668. type: string
  19669. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19670. in: query
  19671. name: endDate
  19672. type: string
  19673. produces:
  19674. - application/json
  19675. responses:
  19676. "200":
  19677. description: OK
  19678. schema:
  19679. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19680. "500":
  19681. description: Internal Server Error
  19682. schema:
  19683. $ref: '#/definitions/app.Response'
  19684. security:
  19685. - ApiKeyAuth: []
  19686. summary: 获取企业风管期货历史成交单信息
  19687. tags:
  19688. - 企业风险管理(app)
  19689. /Ermcp/QueryErmcpInnerHolderDetails:
  19690. get:
  19691. parameters:
  19692. - description: 资金账户ID
  19693. in: query
  19694. name: accountID
  19695. required: true
  19696. type: integer
  19697. - description: 商品ID
  19698. in: query
  19699. name: goodsID
  19700. type: integer
  19701. - description: 买卖方向,0:买 1:卖
  19702. in: query
  19703. name: buyOrSell
  19704. type: integer
  19705. produces:
  19706. - application/json
  19707. responses:
  19708. "200":
  19709. description: OK
  19710. schema:
  19711. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. security:
  19717. - ApiKeyAuth: []
  19718. summary: 获取企业风管期货内部持仓单信息
  19719. tags:
  19720. - 企业风险管理(app)
  19721. /Ermcp/QueryErmcpOrderDetails:
  19722. get:
  19723. parameters:
  19724. - description: 资金账户ID
  19725. in: query
  19726. name: accountID
  19727. required: true
  19728. type: integer
  19729. produces:
  19730. - application/json
  19731. responses:
  19732. "200":
  19733. description: OK
  19734. schema:
  19735. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19736. "500":
  19737. description: Internal Server Error
  19738. schema:
  19739. $ref: '#/definitions/app.Response'
  19740. security:
  19741. - ApiKeyAuth: []
  19742. summary: 获取企业风管期货委托单信息
  19743. tags:
  19744. - 企业风险管理(app)
  19745. /Ermcp/QueryErmcpTradeDetails:
  19746. get:
  19747. parameters:
  19748. - description: 资金账户ID
  19749. in: query
  19750. name: accountID
  19751. required: true
  19752. type: integer
  19753. - description: 商品ID
  19754. in: query
  19755. name: goodsID
  19756. type: integer
  19757. - description: 买卖方向,0:买 1:卖
  19758. in: query
  19759. name: buyOrSell
  19760. type: integer
  19761. - description: 关联委托单号
  19762. in: query
  19763. name: orderID
  19764. type: integer
  19765. produces:
  19766. - application/json
  19767. responses:
  19768. "200":
  19769. description: OK
  19770. schema:
  19771. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19772. "500":
  19773. description: Internal Server Error
  19774. schema:
  19775. $ref: '#/definitions/app.Response'
  19776. security:
  19777. - ApiKeyAuth: []
  19778. summary: 获取企业风管期货成交单信息
  19779. tags:
  19780. - 企业风险管理(app)
  19781. /Ermcp/QueryErmcpTradePosition:
  19782. get:
  19783. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19784. parameters:
  19785. - description: 资金账户ID
  19786. in: query
  19787. name: accountID
  19788. required: true
  19789. type: integer
  19790. - description: 所属市场ID
  19791. in: query
  19792. name: marketID
  19793. type: integer
  19794. produces:
  19795. - application/json
  19796. responses:
  19797. "200":
  19798. description: OK
  19799. schema:
  19800. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19801. "500":
  19802. description: Internal Server Error
  19803. schema:
  19804. $ref: '#/definitions/app.Response'
  19805. security:
  19806. - ApiKeyAuth: []
  19807. summary: 获取企业风管期货持仓头寸信息
  19808. tags:
  19809. - 企业风险管理(app)
  19810. /Ermcp/QueryExposureDetail:
  19811. get:
  19812. parameters:
  19813. - description: 所属机构ID
  19814. in: query
  19815. name: areaUserId
  19816. required: true
  19817. type: integer
  19818. - description: 套保商品
  19819. in: query
  19820. name: middleGoodsId
  19821. required: true
  19822. type: integer
  19823. produces:
  19824. - application/json
  19825. responses:
  19826. "200":
  19827. description: OK
  19828. schema:
  19829. items:
  19830. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19831. type: array
  19832. "500":
  19833. description: Internal Server Error
  19834. schema:
  19835. $ref: '#/definitions/app.Response'
  19836. security:
  19837. - ApiKeyAuth: []
  19838. summary: 查询敞口现货明细
  19839. tags:
  19840. - 企业风险管理(app)
  19841. /Ermcp/QueryExposureGoods:
  19842. get:
  19843. parameters:
  19844. - description: 套保商品id
  19845. in: query
  19846. name: middlegoodsid
  19847. required: true
  19848. type: integer
  19849. produces:
  19850. - application/json
  19851. responses:
  19852. "200":
  19853. description: OK
  19854. schema:
  19855. items:
  19856. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19857. type: array
  19858. "500":
  19859. description: Internal Server Error
  19860. schema:
  19861. $ref: '#/definitions/app.Response'
  19862. security:
  19863. - ApiKeyAuth: []
  19864. summary: 查询敞口主力合约
  19865. tags:
  19866. - 企业风险管理(app)
  19867. /Ermcp/QueryExposureHedgePosition:
  19868. get:
  19869. parameters:
  19870. - description: 用户id
  19871. in: query
  19872. name: userid
  19873. required: true
  19874. type: integer
  19875. produces:
  19876. - application/json
  19877. responses:
  19878. "200":
  19879. description: OK
  19880. schema:
  19881. items:
  19882. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19883. type: array
  19884. "500":
  19885. description: Internal Server Error
  19886. schema:
  19887. $ref: '#/definitions/app.Response'
  19888. security:
  19889. - ApiKeyAuth: []
  19890. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19891. tags:
  19892. - 企业风险管理(app)
  19893. /Ermcp/QueryExposureHedgePositionDetail:
  19894. get:
  19895. parameters:
  19896. - description: 所属机构ID
  19897. in: query
  19898. name: userid
  19899. required: true
  19900. type: integer
  19901. - description: 商品id
  19902. in: query
  19903. name: goodsId
  19904. required: true
  19905. type: integer
  19906. produces:
  19907. - application/json
  19908. responses:
  19909. "200":
  19910. description: OK
  19911. schema:
  19912. items:
  19913. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19914. type: array
  19915. "500":
  19916. description: Internal Server Error
  19917. schema:
  19918. $ref: '#/definitions/app.Response'
  19919. security:
  19920. - ApiKeyAuth: []
  19921. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19922. tags:
  19923. - 企业风险管理(app)
  19924. /Ermcp/QueryExposureSpot:
  19925. get:
  19926. parameters:
  19927. - description: 所属机构ID
  19928. in: query
  19929. name: areaUserId
  19930. required: true
  19931. type: integer
  19932. produces:
  19933. - application/json
  19934. responses:
  19935. "200":
  19936. description: OK
  19937. schema:
  19938. items:
  19939. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19940. type: array
  19941. "500":
  19942. description: Internal Server Error
  19943. schema:
  19944. $ref: '#/definitions/app.Response'
  19945. security:
  19946. - ApiKeyAuth: []
  19947. summary: 查询敞口现货头寸(敞口/现货头寸)
  19948. tags:
  19949. - 企业风险管理(app)
  19950. /Ermcp/QueryExposureSpotDetail:
  19951. get:
  19952. parameters:
  19953. - description: 所属机构ID
  19954. in: query
  19955. name: areaUserId
  19956. required: true
  19957. type: integer
  19958. - description: 现货品种ID
  19959. in: query
  19960. name: wrstandardId
  19961. required: true
  19962. type: integer
  19963. produces:
  19964. - application/json
  19965. responses:
  19966. "200":
  19967. description: OK
  19968. schema:
  19969. items:
  19970. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19971. type: array
  19972. "500":
  19973. description: Internal Server Error
  19974. schema:
  19975. $ref: '#/definitions/app.Response'
  19976. security:
  19977. - ApiKeyAuth: []
  19978. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19979. tags:
  19980. - 企业风险管理(app)
  19981. /Ermcp/QueryFuturesCompany:
  19982. get:
  19983. produces:
  19984. - application/json
  19985. responses:
  19986. "200":
  19987. description: OK
  19988. schema:
  19989. items:
  19990. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19991. type: array
  19992. "500":
  19993. description: Internal Server Error
  19994. schema:
  19995. $ref: '#/definitions/app.Response'
  19996. security:
  19997. - ApiKeyAuth: []
  19998. summary: 查询期货公司
  19999. tags:
  20000. - 企业风险管理(app)
  20001. /Ermcp/QueryGGConvertConfig:
  20002. get:
  20003. parameters:
  20004. - description: 品种id(不填则查所有)
  20005. in: query
  20006. name: goodsgroupid
  20007. type: integer
  20008. produces:
  20009. - application/json
  20010. responses:
  20011. "200":
  20012. description: OK
  20013. schema:
  20014. items:
  20015. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20016. type: array
  20017. "500":
  20018. description: Internal Server Error
  20019. schema:
  20020. $ref: '#/definitions/app.Response'
  20021. security:
  20022. - ApiKeyAuth: []
  20023. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20024. tags:
  20025. - 企业风险管理(app)
  20026. /Ermcp/QueryGoodsBrand:
  20027. get:
  20028. parameters:
  20029. - description: 用户ID
  20030. in: query
  20031. name: userid
  20032. required: true
  20033. type: integer
  20034. - description: 现货商品ID
  20035. in: query
  20036. name: wrstandardid
  20037. type: integer
  20038. produces:
  20039. - application/json
  20040. responses:
  20041. "200":
  20042. description: OK
  20043. schema:
  20044. items:
  20045. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20046. type: array
  20047. "500":
  20048. description: Internal Server Error
  20049. schema:
  20050. $ref: '#/definitions/app.Response'
  20051. security:
  20052. - ApiKeyAuth: []
  20053. summary: 查询商品品牌
  20054. tags:
  20055. - 企业风险管理(app)
  20056. /Ermcp/QueryGoodsModel:
  20057. get:
  20058. parameters:
  20059. - description: 用户ID
  20060. in: query
  20061. name: userid
  20062. required: true
  20063. type: integer
  20064. produces:
  20065. - application/json
  20066. responses:
  20067. "200":
  20068. description: OK
  20069. schema:
  20070. items:
  20071. $ref: '#/definitions/models.ErmcpGoodsModel'
  20072. type: array
  20073. "500":
  20074. description: Internal Server Error
  20075. schema:
  20076. $ref: '#/definitions/app.Response'
  20077. security:
  20078. - ApiKeyAuth: []
  20079. summary: 查询商品型号
  20080. tags:
  20081. - 企业风险管理(app)
  20082. /Ermcp/QueryHisExposure:
  20083. get:
  20084. parameters:
  20085. - description: 用户id
  20086. in: query
  20087. name: userid
  20088. required: true
  20089. type: integer
  20090. - description: 每个品种记录数
  20091. in: query
  20092. name: lastNum
  20093. required: true
  20094. type: integer
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. items:
  20102. $ref: '#/definitions/ermcp.HisExposureRsp'
  20103. type: array
  20104. "500":
  20105. description: Internal Server Error
  20106. schema:
  20107. $ref: '#/definitions/app.Response'
  20108. security:
  20109. - ApiKeyAuth: []
  20110. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20111. tags:
  20112. - 企业风险管理(app)
  20113. /Ermcp/QueryMiddleGoods:
  20114. get:
  20115. parameters:
  20116. - description: 所属机构ID
  20117. in: query
  20118. name: userid
  20119. required: true
  20120. type: integer
  20121. - description: 状态 0-停用 1-正常
  20122. in: query
  20123. name: status
  20124. required: true
  20125. type: integer
  20126. produces:
  20127. - application/json
  20128. responses:
  20129. "200":
  20130. description: OK
  20131. schema:
  20132. items:
  20133. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20134. type: array
  20135. "500":
  20136. description: Internal Server Error
  20137. schema:
  20138. $ref: '#/definitions/app.Response'
  20139. security:
  20140. - ApiKeyAuth: []
  20141. summary: 查询套保品种(菜单:套保品种)
  20142. tags:
  20143. - 企业风险管理(app)
  20144. /Ermcp/QueryMiddleGoodsChangeLog:
  20145. get:
  20146. parameters:
  20147. - description: 所属机构ID
  20148. in: query
  20149. name: userid
  20150. required: true
  20151. type: integer
  20152. - description: 套保品种id
  20153. in: query
  20154. name: middlegoodsid
  20155. required: true
  20156. type: integer
  20157. produces:
  20158. - application/json
  20159. responses:
  20160. "200":
  20161. description: OK
  20162. schema:
  20163. items:
  20164. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20165. type: array
  20166. "500":
  20167. description: Internal Server Error
  20168. schema:
  20169. $ref: '#/definitions/app.Response'
  20170. security:
  20171. - ApiKeyAuth: []
  20172. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20173. tags:
  20174. - 企业风险管理(app)
  20175. /Ermcp/QueryMiddleGoodsDetail:
  20176. get:
  20177. parameters:
  20178. - description: 所属机构ID
  20179. in: query
  20180. name: userid
  20181. required: true
  20182. type: integer
  20183. - description: 套保品种id
  20184. in: query
  20185. name: middlegoodsid
  20186. type: integer
  20187. produces:
  20188. - application/json
  20189. responses:
  20190. "200":
  20191. description: OK
  20192. schema:
  20193. items:
  20194. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20195. type: array
  20196. "500":
  20197. description: Internal Server Error
  20198. schema:
  20199. $ref: '#/definitions/app.Response'
  20200. security:
  20201. - ApiKeyAuth: []
  20202. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20203. tags:
  20204. - 企业风险管理(app)
  20205. /Ermcp/QueryPendingAuditInfo:
  20206. get:
  20207. parameters:
  20208. - description: 用户ID
  20209. in: query
  20210. name: UserId
  20211. required: true
  20212. type: integer
  20213. produces:
  20214. - application/json
  20215. responses:
  20216. "200":
  20217. description: OK
  20218. schema:
  20219. items:
  20220. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20221. type: array
  20222. "500":
  20223. description: Internal Server Error
  20224. schema:
  20225. $ref: '#/definitions/app.Response'
  20226. security:
  20227. - ApiKeyAuth: []
  20228. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20229. tags:
  20230. - 企业风险管理(app)
  20231. /Ermcp/QueryRealtimeExposure:
  20232. get:
  20233. parameters:
  20234. - description: 所属机构ID
  20235. in: query
  20236. name: userid
  20237. required: true
  20238. type: integer
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. items:
  20246. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20247. type: array
  20248. "500":
  20249. description: Internal Server Error
  20250. schema:
  20251. $ref: '#/definitions/app.Response'
  20252. security:
  20253. - ApiKeyAuth: []
  20254. summary: 查询实时敞口
  20255. tags:
  20256. - 企业风险管理(app)
  20257. /Ermcp/QueryRealtimeExposurePosition:
  20258. get:
  20259. parameters:
  20260. - description: 用户id
  20261. in: query
  20262. name: userid
  20263. required: true
  20264. type: integer
  20265. - description: 套保商品ID
  20266. in: query
  20267. name: middleGoodsId
  20268. required: true
  20269. type: integer
  20270. produces:
  20271. - application/json
  20272. responses:
  20273. "200":
  20274. description: OK
  20275. schema:
  20276. items:
  20277. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20278. type: array
  20279. "500":
  20280. description: Internal Server Error
  20281. schema:
  20282. $ref: '#/definitions/app.Response'
  20283. security:
  20284. - ApiKeyAuth: []
  20285. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20286. tags:
  20287. - 企业风险管理(app)
  20288. /Ermcp/QueryRoleMenu:
  20289. get:
  20290. parameters:
  20291. - description: 登录ID
  20292. in: query
  20293. name: loginid
  20294. required: true
  20295. type: integer
  20296. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20297. in: query
  20298. name: menutype
  20299. type: integer
  20300. produces:
  20301. - application/json
  20302. responses:
  20303. "200":
  20304. description: OK
  20305. schema:
  20306. items:
  20307. $ref: '#/definitions/models.RoleMenu'
  20308. type: array
  20309. "500":
  20310. description: Internal Server Error
  20311. schema:
  20312. $ref: '#/definitions/app.Response'
  20313. security:
  20314. - ApiKeyAuth: []
  20315. summary: 查询角色菜单和权限
  20316. tags:
  20317. - 企业风险管理(app)
  20318. /Ermcp/QueryTradeConfigTMP:
  20319. get:
  20320. parameters:
  20321. - description: 所属机构id
  20322. in: query
  20323. name: areauserid
  20324. type: integer
  20325. produces:
  20326. - application/json
  20327. responses:
  20328. "200":
  20329. description: OK
  20330. schema:
  20331. items:
  20332. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20333. type: array
  20334. "500":
  20335. description: Internal Server Error
  20336. schema:
  20337. $ref: '#/definitions/app.Response'
  20338. security:
  20339. - ApiKeyAuth: []
  20340. summary: 查询交易模板配置
  20341. tags:
  20342. - 企业风险管理(app)
  20343. /Ermcp/QueryUserInfo:
  20344. get:
  20345. parameters:
  20346. - description: 所属机构用户ID
  20347. in: query
  20348. name: MemberUserID
  20349. required: true
  20350. type: integer
  20351. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20352. in: query
  20353. name: queryType
  20354. required: true
  20355. type: integer
  20356. produces:
  20357. - application/json
  20358. responses:
  20359. "200":
  20360. description: OK
  20361. schema:
  20362. items:
  20363. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20364. type: array
  20365. "500":
  20366. description: Internal Server Error
  20367. schema:
  20368. $ref: '#/definitions/app.Response'
  20369. security:
  20370. - ApiKeyAuth: []
  20371. summary: 查询客户资料
  20372. tags:
  20373. - 企业风险管理(app)
  20374. /Ermcp/QueryWarehouseInfo:
  20375. get:
  20376. parameters:
  20377. - description: 用户ID
  20378. in: query
  20379. name: userid
  20380. required: true
  20381. type: integer
  20382. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20383. in: query
  20384. name: status
  20385. type: string
  20386. produces:
  20387. - application/json
  20388. responses:
  20389. "200":
  20390. description: OK
  20391. schema:
  20392. items:
  20393. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20394. type: array
  20395. "500":
  20396. description: Internal Server Error
  20397. schema:
  20398. $ref: '#/definitions/app.Response'
  20399. security:
  20400. - ApiKeyAuth: []
  20401. summary: 查询仓库信息
  20402. tags:
  20403. - 企业风险管理(app)
  20404. /Ermcp3/QryAreaExpourseContractDetail:
  20405. get:
  20406. parameters:
  20407. - description: 用户ID
  20408. in: query
  20409. name: userid
  20410. required: true
  20411. type: integer
  20412. - description: 套保商品id
  20413. in: query
  20414. name: middlegoodsid
  20415. required: true
  20416. type: integer
  20417. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20418. in: query
  20419. name: cycletype
  20420. required: true
  20421. type: integer
  20422. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20423. in: query
  20424. name: cycletime
  20425. required: true
  20426. type: string
  20427. produces:
  20428. - application/json
  20429. responses:
  20430. "200":
  20431. description: OK
  20432. schema:
  20433. items:
  20434. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20435. type: array
  20436. "500":
  20437. description: Internal Server Error
  20438. schema:
  20439. $ref: '#/definitions/app.Response'
  20440. security:
  20441. - ApiKeyAuth: []
  20442. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20443. tags:
  20444. - 企业风险管理v3(app)
  20445. /Ermcp3/QryAreaExpourseFutuDetail:
  20446. get:
  20447. parameters:
  20448. - description: 用户ID
  20449. in: query
  20450. name: userid
  20451. required: true
  20452. type: integer
  20453. - description: 套保商品id
  20454. in: query
  20455. name: middlegoodsid
  20456. required: true
  20457. type: integer
  20458. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20459. in: query
  20460. name: cycletype
  20461. required: true
  20462. type: integer
  20463. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20464. in: query
  20465. name: cycletime
  20466. required: true
  20467. type: string
  20468. produces:
  20469. - application/json
  20470. responses:
  20471. "200":
  20472. description: OK
  20473. schema:
  20474. items:
  20475. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20476. type: array
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 查询敞口期货明细(敞口报表/期货明细)
  20484. tags:
  20485. - 企业风险管理v3(app)
  20486. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20487. get:
  20488. parameters:
  20489. - description: 用户ID
  20490. in: query
  20491. name: userid
  20492. required: true
  20493. type: integer
  20494. - description: 套保商品id
  20495. in: query
  20496. name: middlegoodsid
  20497. required: true
  20498. type: integer
  20499. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20500. in: query
  20501. name: cycletype
  20502. required: true
  20503. type: integer
  20504. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20505. in: query
  20506. name: cycletime
  20507. required: true
  20508. type: string
  20509. produces:
  20510. - application/json
  20511. responses:
  20512. "200":
  20513. description: OK
  20514. schema:
  20515. items:
  20516. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20517. type: array
  20518. "500":
  20519. description: Internal Server Error
  20520. schema:
  20521. $ref: '#/definitions/app.Response'
  20522. security:
  20523. - ApiKeyAuth: []
  20524. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20525. tags:
  20526. - 企业风险管理v3(app)
  20527. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20528. get:
  20529. parameters:
  20530. - description: 用户ID
  20531. in: query
  20532. name: userid
  20533. required: true
  20534. type: integer
  20535. - description: 套保商品id
  20536. in: query
  20537. name: middlegoodsid
  20538. required: true
  20539. type: integer
  20540. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20541. in: query
  20542. name: cycletype
  20543. required: true
  20544. type: integer
  20545. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20546. in: query
  20547. name: cycletime
  20548. required: true
  20549. type: string
  20550. produces:
  20551. - application/json
  20552. responses:
  20553. "200":
  20554. description: OK
  20555. schema:
  20556. items:
  20557. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20558. type: array
  20559. "500":
  20560. description: Internal Server Error
  20561. schema:
  20562. $ref: '#/definitions/app.Response'
  20563. security:
  20564. - ApiKeyAuth: []
  20565. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20566. tags:
  20567. - 企业风险管理v3(app)
  20568. /Ermcp3/QryAreaExpourseReport:
  20569. get:
  20570. parameters:
  20571. - description: 用户ID
  20572. in: query
  20573. name: userid
  20574. required: true
  20575. type: integer
  20576. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20577. in: query
  20578. name: querytype
  20579. required: true
  20580. type: integer
  20581. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20582. in: query
  20583. name: cycletype
  20584. required: true
  20585. type: integer
  20586. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20587. in: query
  20588. name: cycletime
  20589. required: true
  20590. type: string
  20591. produces:
  20592. - application/json
  20593. responses:
  20594. "200":
  20595. description: OK
  20596. schema:
  20597. items:
  20598. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  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. - 企业风险管理v3(app)
  20609. /Ermcp3/QryAreaSpotplReport:
  20610. get:
  20611. parameters:
  20612. - description: 用户ID
  20613. in: query
  20614. name: userid
  20615. required: true
  20616. type: integer
  20617. - description: 查询类型 1-报表 2-报表明细
  20618. in: query
  20619. name: querytype
  20620. required: true
  20621. type: integer
  20622. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20623. in: query
  20624. name: cycletype
  20625. required: true
  20626. type: integer
  20627. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20628. in: query
  20629. name: cycletime
  20630. required: true
  20631. type: string
  20632. - description: 现货品种id(明细必填)
  20633. in: query
  20634. name: deliverygoodsid
  20635. type: integer
  20636. - description: 币种id(明细必填)
  20637. in: query
  20638. name: currencyid
  20639. type: integer
  20640. produces:
  20641. - application/json
  20642. responses:
  20643. "200":
  20644. description: OK
  20645. schema:
  20646. items:
  20647. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20648. type: array
  20649. "500":
  20650. description: Internal Server Error
  20651. schema:
  20652. $ref: '#/definitions/app.Response'
  20653. security:
  20654. - ApiKeyAuth: []
  20655. summary: 查询现货报表
  20656. tags:
  20657. - 企业风险管理v3(app)
  20658. /Ermcp3/QryAreaStockReport:
  20659. get:
  20660. parameters:
  20661. - description: 用户ID
  20662. in: query
  20663. name: userid
  20664. required: true
  20665. type: integer
  20666. - description: 查询类型 1-报表 2-报表明细
  20667. in: query
  20668. name: querytype
  20669. required: true
  20670. type: integer
  20671. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20672. in: query
  20673. name: cycletype
  20674. required: true
  20675. type: integer
  20676. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20677. in: query
  20678. name: cycletime
  20679. required: true
  20680. type: string
  20681. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20682. in: query
  20683. name: sumfields
  20684. type: string
  20685. - description: 品种ID
  20686. in: query
  20687. name: deliverygoodsid
  20688. type: integer
  20689. - description: 品类ID
  20690. in: query
  20691. name: wrstandardid
  20692. type: integer
  20693. - description: 品牌ID
  20694. in: query
  20695. name: spotgoodsbrandid
  20696. type: integer
  20697. - description: 仓库ID
  20698. in: query
  20699. name: warehouseinfoid
  20700. type: integer
  20701. produces:
  20702. - application/json
  20703. responses:
  20704. "200":
  20705. description: OK
  20706. schema:
  20707. items:
  20708. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20709. type: array
  20710. "500":
  20711. description: Internal Server Error
  20712. schema:
  20713. $ref: '#/definitions/app.Response'
  20714. security:
  20715. - ApiKeyAuth: []
  20716. summary: 查询库存报表
  20717. tags:
  20718. - 企业风险管理v3(app)
  20719. /Ermcp3/QryAreaSumPL:
  20720. get:
  20721. parameters:
  20722. - description: 用户ID
  20723. in: query
  20724. name: userid
  20725. required: true
  20726. type: integer
  20727. - description: 查询类型 1-报表 2-报表明细
  20728. in: query
  20729. name: querytype
  20730. required: true
  20731. type: integer
  20732. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20733. in: query
  20734. name: cycletype
  20735. required: true
  20736. type: integer
  20737. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20738. in: query
  20739. name: cycletime
  20740. required: true
  20741. type: string
  20742. - description: 币种id(明细必填)
  20743. in: query
  20744. name: currencyid
  20745. type: integer
  20746. produces:
  20747. - application/json
  20748. responses:
  20749. "200":
  20750. description: OK
  20751. schema:
  20752. items:
  20753. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20754. type: array
  20755. "500":
  20756. description: Internal Server Error
  20757. schema:
  20758. $ref: '#/definitions/app.Response'
  20759. security:
  20760. - ApiKeyAuth: []
  20761. summary: 查询汇总损益表
  20762. tags:
  20763. - 企业风险管理v3(app)
  20764. /Ermcp3/QryFinanceReport:
  20765. get:
  20766. parameters:
  20767. - description: 用户ID
  20768. in: query
  20769. name: userid
  20770. required: true
  20771. type: integer
  20772. - description: 查询类型 1-报表 2-报表明细
  20773. in: query
  20774. name: querytype
  20775. required: true
  20776. type: integer
  20777. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20778. in: query
  20779. name: cycletype
  20780. required: true
  20781. type: integer
  20782. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20783. in: query
  20784. name: cycletime
  20785. required: true
  20786. type: string
  20787. - description: 币种id(报表明细必填)
  20788. in: query
  20789. name: currencyid
  20790. type: integer
  20791. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20792. in: query
  20793. name: sumfields
  20794. type: string
  20795. produces:
  20796. - application/json
  20797. responses:
  20798. "200":
  20799. description: OK
  20800. schema:
  20801. items:
  20802. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20803. type: array
  20804. "500":
  20805. description: Internal Server Error
  20806. schema:
  20807. $ref: '#/definitions/app.Response'
  20808. security:
  20809. - ApiKeyAuth: []
  20810. summary: 查询财务报表
  20811. tags:
  20812. - 企业风险管理v3(app)
  20813. /Ermcp3/QrySCMiddleGoodsReport:
  20814. get:
  20815. parameters:
  20816. - description: 用户ID
  20817. in: query
  20818. name: userid
  20819. required: true
  20820. type: integer
  20821. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20822. in: query
  20823. name: cycletype
  20824. required: true
  20825. type: integer
  20826. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20827. in: query
  20828. name: cycletime
  20829. required: true
  20830. type: string
  20831. - description: 现货合同id
  20832. in: query
  20833. name: spotcontractid
  20834. type: integer
  20835. - description: 套保品种id
  20836. in: query
  20837. name: middlegoodsid
  20838. type: integer
  20839. - description: 现货品种id
  20840. in: query
  20841. name: deliverygoodsid
  20842. type: integer
  20843. - description: 现货商品id
  20844. in: query
  20845. name: wrstandardid
  20846. type: integer
  20847. produces:
  20848. - application/json
  20849. responses:
  20850. "200":
  20851. description: OK
  20852. schema:
  20853. items:
  20854. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  20855. type: array
  20856. "500":
  20857. description: Internal Server Error
  20858. schema:
  20859. $ref: '#/definitions/app.Response'
  20860. security:
  20861. - ApiKeyAuth: []
  20862. summary: 查询定价报表
  20863. tags:
  20864. - 企业风险管理v3(app)
  20865. /Ermcp3/QryTaFutureDataReport:
  20866. get:
  20867. parameters:
  20868. - description: 用户ID
  20869. in: query
  20870. name: userid
  20871. required: true
  20872. type: integer
  20873. - description: 查询类型 1-报表 2-报表明细
  20874. in: query
  20875. name: querytype
  20876. required: true
  20877. type: integer
  20878. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20879. in: query
  20880. name: cycletype
  20881. required: true
  20882. type: integer
  20883. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20884. in: query
  20885. name: cycletime
  20886. required: true
  20887. type: string
  20888. - description: 币种id(查明细必填)
  20889. in: query
  20890. name: currencyid
  20891. type: integer
  20892. - description: 品种id(查明细必填)
  20893. in: query
  20894. name: goodsgroupid
  20895. type: integer
  20896. - description: 商品id(查明细必填)
  20897. in: query
  20898. name: goodsid
  20899. type: integer
  20900. - description: 买卖方向(查明细必填)
  20901. in: query
  20902. name: buyorsell
  20903. type: integer
  20904. produces:
  20905. - application/json
  20906. responses:
  20907. "200":
  20908. description: OK
  20909. schema:
  20910. items:
  20911. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20912. type: array
  20913. "500":
  20914. description: Internal Server Error
  20915. schema:
  20916. $ref: '#/definitions/app.Response'
  20917. security:
  20918. - ApiKeyAuth: []
  20919. summary: 查询期货报表
  20920. tags:
  20921. - 企业风险管理v3(app)
  20922. /Ermcp3/QueryAreaStock:
  20923. get:
  20924. parameters:
  20925. - description: 用户ID
  20926. in: query
  20927. name: userid
  20928. required: true
  20929. type: integer
  20930. produces:
  20931. - application/json
  20932. responses:
  20933. "200":
  20934. description: OK
  20935. schema:
  20936. items:
  20937. $ref: '#/definitions/models.Ermcp3AreaStock'
  20938. type: array
  20939. "500":
  20940. description: Internal Server Error
  20941. schema:
  20942. $ref: '#/definitions/app.Response'
  20943. security:
  20944. - ApiKeyAuth: []
  20945. summary: 查询机构库存(库存管理/当前库存)
  20946. tags:
  20947. - 企业风险管理v3(app)
  20948. /Ermcp3/QueryAreaStockApply:
  20949. get:
  20950. parameters:
  20951. - description: 用户ID
  20952. in: query
  20953. name: userid
  20954. required: true
  20955. type: integer
  20956. - description: 用户类型 2-机构 7-企业成员
  20957. in: query
  20958. name: usertype
  20959. type: integer
  20960. - description: 现货商品ID
  20961. in: query
  20962. name: deliverygoodsid
  20963. type: integer
  20964. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20965. in: query
  20966. name: inouttype
  20967. type: string
  20968. - description: 合同ID
  20969. in: query
  20970. name: spotcontractid
  20971. type: integer
  20972. - description: 品类ID
  20973. in: query
  20974. name: wrstandardid
  20975. type: integer
  20976. - description: 品牌ID
  20977. in: query
  20978. name: spotgoodsbrandid
  20979. type: integer
  20980. - description: 仓库ID
  20981. in: query
  20982. name: warehouseinfoid
  20983. type: integer
  20984. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20985. in: query
  20986. name: applystatus
  20987. type: string
  20988. produces:
  20989. - application/json
  20990. responses:
  20991. "200":
  20992. description: OK
  20993. schema:
  20994. items:
  20995. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20996. type: array
  20997. "500":
  20998. description: Internal Server Error
  20999. schema:
  21000. $ref: '#/definitions/app.Response'
  21001. security:
  21002. - ApiKeyAuth: []
  21003. summary: 查询库存申请(出入库记录|库存审核)
  21004. tags:
  21005. - 企业风险管理v3(app)
  21006. /Ermcp3/QueryAreaStockApplySum:
  21007. get:
  21008. parameters:
  21009. - description: 合同ID
  21010. in: query
  21011. name: spotcontractid
  21012. required: true
  21013. type: integer
  21014. produces:
  21015. - application/json
  21016. responses:
  21017. "200":
  21018. description: OK
  21019. schema:
  21020. items:
  21021. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21022. type: array
  21023. "500":
  21024. description: Internal Server Error
  21025. schema:
  21026. $ref: '#/definitions/app.Response'
  21027. security:
  21028. - ApiKeyAuth: []
  21029. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21030. tags:
  21031. - 企业风险管理v3(app)
  21032. /Ermcp3/QueryDGFactoryItem:
  21033. get:
  21034. parameters:
  21035. - description: 用户id
  21036. in: query
  21037. name: userid
  21038. type: integer
  21039. - description: 用户类型 2-机构 7-企业成员
  21040. in: query
  21041. name: usertype
  21042. type: integer
  21043. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21044. in: query
  21045. name: dgfactoryitemid
  21046. type: integer
  21047. - description: 现货品种ID
  21048. in: query
  21049. name: deliverygoodsid
  21050. type: integer
  21051. - description: 要素项类型
  21052. in: query
  21053. name: dgfactoryitemtypeid
  21054. type: integer
  21055. - description: 顺序
  21056. in: query
  21057. name: orderindex
  21058. type: integer
  21059. produces:
  21060. - application/json
  21061. responses:
  21062. "200":
  21063. description: OK
  21064. schema:
  21065. items:
  21066. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  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. - 企业风险管理v3(app)
  21077. /Ermcp3/QueryDeliveryGoods:
  21078. get:
  21079. parameters:
  21080. - description: 用户id
  21081. in: query
  21082. name: userid
  21083. required: true
  21084. type: integer
  21085. - description: 用户类型 2-机构 7-企业成员
  21086. in: query
  21087. name: usertype
  21088. type: integer
  21089. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21090. in: query
  21091. name: excludecfg
  21092. type: integer
  21093. produces:
  21094. - application/json
  21095. responses:
  21096. "200":
  21097. description: OK
  21098. schema:
  21099. items:
  21100. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21101. type: array
  21102. "500":
  21103. description: Internal Server Error
  21104. schema:
  21105. $ref: '#/definitions/app.Response'
  21106. security:
  21107. - ApiKeyAuth: []
  21108. summary: 查询现货商品
  21109. tags:
  21110. - 企业风险管理v3(app)
  21111. /Ermcp3/QueryDeliveryGoodsDetail:
  21112. get:
  21113. parameters:
  21114. - description: 用户id
  21115. in: query
  21116. name: userid
  21117. required: true
  21118. type: integer
  21119. - description: 用户类型 2-机构 7-企业成员
  21120. in: query
  21121. name: usertype
  21122. type: integer
  21123. - description: 现货商品id
  21124. in: query
  21125. name: deliverygoodsid
  21126. type: integer
  21127. produces:
  21128. - application/json
  21129. responses:
  21130. "200":
  21131. description: OK
  21132. schema:
  21133. items:
  21134. $ref: '#/definitions/models.XHDeliveryGoods'
  21135. type: array
  21136. "500":
  21137. description: Internal Server Error
  21138. schema:
  21139. $ref: '#/definitions/app.Response'
  21140. security:
  21141. - ApiKeyAuth: []
  21142. summary: 查询现货商品详情
  21143. tags:
  21144. - 企业风险管理v3(app)
  21145. /Ermcp3/QueryExposureDetail:
  21146. get:
  21147. parameters:
  21148. - description: 用户id
  21149. in: query
  21150. name: userid
  21151. required: true
  21152. type: integer
  21153. - description: 用户类型 2-机构 7-企业成员
  21154. in: query
  21155. name: usertype
  21156. type: integer
  21157. - description: 套保商品
  21158. in: query
  21159. name: middlegoodsid
  21160. required: true
  21161. type: integer
  21162. produces:
  21163. - application/json
  21164. responses:
  21165. "200":
  21166. description: OK
  21167. schema:
  21168. items:
  21169. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21170. type: array
  21171. "500":
  21172. description: Internal Server Error
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. security:
  21176. - ApiKeyAuth: []
  21177. summary: 查询敞口现货明细
  21178. tags:
  21179. - 企业风险管理v3(app)
  21180. /Ermcp3/QueryExposureSpot:
  21181. get:
  21182. parameters:
  21183. - description: 用户id
  21184. in: query
  21185. name: userid
  21186. required: true
  21187. type: integer
  21188. - description: 用户类型 2-机构 7-企业成员
  21189. in: query
  21190. name: usertype
  21191. type: integer
  21192. produces:
  21193. - application/json
  21194. responses:
  21195. "200":
  21196. description: OK
  21197. schema:
  21198. items:
  21199. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21200. type: array
  21201. "500":
  21202. description: Internal Server Error
  21203. schema:
  21204. $ref: '#/definitions/app.Response'
  21205. security:
  21206. - ApiKeyAuth: []
  21207. summary: 查询敞口现货头寸(敞口/现货头寸)
  21208. tags:
  21209. - 企业风险管理v3(app)
  21210. /Ermcp3/QueryExposureSpotDetail:
  21211. get:
  21212. parameters:
  21213. - description: 用户id
  21214. in: query
  21215. name: userid
  21216. required: true
  21217. type: integer
  21218. - description: 用户类型 2-机构 7-企业成员
  21219. in: query
  21220. name: usertype
  21221. type: integer
  21222. - description: 现货商品ID
  21223. in: query
  21224. name: wrstandardid
  21225. required: true
  21226. type: integer
  21227. produces:
  21228. - application/json
  21229. responses:
  21230. "200":
  21231. description: OK
  21232. schema:
  21233. items:
  21234. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21235. type: array
  21236. "500":
  21237. description: Internal Server Error
  21238. schema:
  21239. $ref: '#/definitions/app.Response'
  21240. security:
  21241. - ApiKeyAuth: []
  21242. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21243. tags:
  21244. - 企业风险管理v3(app)
  21245. /Ermcp3/QueryGoodsGroup:
  21246. get:
  21247. parameters:
  21248. - description: 用户id
  21249. in: query
  21250. name: userid
  21251. required: true
  21252. type: integer
  21253. - description: 用户类型 2-机构 7-企业成员
  21254. in: query
  21255. name: usertype
  21256. type: integer
  21257. - description: 排除套保品中已关联的商品组 1-排除
  21258. in: query
  21259. name: excludecfg
  21260. type: integer
  21261. produces:
  21262. - application/json
  21263. responses:
  21264. "200":
  21265. description: OK
  21266. schema:
  21267. items:
  21268. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21269. type: array
  21270. "500":
  21271. description: Internal Server Error
  21272. schema:
  21273. $ref: '#/definitions/app.Response'
  21274. security:
  21275. - ApiKeyAuth: []
  21276. summary: 查询期货商品组
  21277. tags:
  21278. - 企业风险管理v3(app)
  21279. /Ermcp3/QueryGoodsWrstandard:
  21280. get:
  21281. parameters:
  21282. - description: 用户id
  21283. in: query
  21284. name: userid
  21285. required: true
  21286. type: integer
  21287. - description: 用户类型 2-机构 7-企业成员
  21288. in: query
  21289. name: usertype
  21290. type: integer
  21291. - description: 现货商品id
  21292. in: query
  21293. name: deliverygoodsid
  21294. type: integer
  21295. produces:
  21296. - application/json
  21297. responses:
  21298. "200":
  21299. description: OK
  21300. schema:
  21301. items:
  21302. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21303. type: array
  21304. "500":
  21305. description: Internal Server Error
  21306. schema:
  21307. $ref: '#/definitions/app.Response'
  21308. security:
  21309. - ApiKeyAuth: []
  21310. summary: 查询商品品类
  21311. tags:
  21312. - 企业风险管理v3(app)
  21313. /Ermcp3/QueryGoodsbrand:
  21314. get:
  21315. parameters:
  21316. - description: 用户id
  21317. in: query
  21318. name: userid
  21319. required: true
  21320. type: integer
  21321. - description: 用户类型 2-机构 7-企业成员
  21322. in: query
  21323. name: usertype
  21324. type: integer
  21325. produces:
  21326. - application/json
  21327. responses:
  21328. "200":
  21329. description: OK
  21330. schema:
  21331. items:
  21332. $ref: '#/definitions/models.Ermcp3Brand'
  21333. type: array
  21334. "500":
  21335. description: Internal Server Error
  21336. schema:
  21337. $ref: '#/definitions/app.Response'
  21338. security:
  21339. - ApiKeyAuth: []
  21340. summary: 查询商品品牌
  21341. tags:
  21342. - 企业风险管理v3(app)
  21343. /Ermcp3/QueryHedgePlan:
  21344. get:
  21345. parameters:
  21346. - description: 用户ID
  21347. in: query
  21348. name: userid
  21349. required: true
  21350. type: integer
  21351. - description: 用户类型 2-机构 7-企业成员
  21352. in: query
  21353. name: usertype
  21354. type: integer
  21355. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21356. in: query
  21357. name: hedgeplanstatus
  21358. required: true
  21359. type: string
  21360. produces:
  21361. - application/json
  21362. responses:
  21363. "200":
  21364. description: OK
  21365. schema:
  21366. items:
  21367. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21368. type: array
  21369. "500":
  21370. description: Internal Server Error
  21371. schema:
  21372. $ref: '#/definitions/app.Response'
  21373. security:
  21374. - ApiKeyAuth: []
  21375. summary: 查询套保计划
  21376. tags:
  21377. - 企业风险管理v3(app)
  21378. /Ermcp3/QueryInnerTradeLink:
  21379. get:
  21380. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21381. parameters:
  21382. - description: 外部成交单号
  21383. in: query
  21384. name: outtradeid
  21385. required: true
  21386. type: integer
  21387. produces:
  21388. - application/json
  21389. responses:
  21390. "200":
  21391. description: OK
  21392. schema:
  21393. items:
  21394. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21395. type: array
  21396. "500":
  21397. description: Internal Server Error
  21398. schema:
  21399. $ref: '#/definitions/app.Response'
  21400. security:
  21401. - ApiKeyAuth: []
  21402. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21403. tags:
  21404. - 企业风险管理v3(app)
  21405. /Ermcp3/QueryMiddleGoodsDetail:
  21406. get:
  21407. parameters:
  21408. - description: 用户id
  21409. in: query
  21410. name: userid
  21411. required: true
  21412. type: integer
  21413. - description: 用户类型 2-机构 7-企业成员
  21414. in: query
  21415. name: usertype
  21416. type: integer
  21417. - description: 套保品种id
  21418. in: query
  21419. name: middlegoodsid
  21420. type: integer
  21421. produces:
  21422. - application/json
  21423. responses:
  21424. "200":
  21425. description: OK
  21426. schema:
  21427. items:
  21428. $ref: '#/definitions/models.TBMiddleGoods'
  21429. type: array
  21430. "500":
  21431. description: Internal Server Error
  21432. schema:
  21433. $ref: '#/definitions/app.Response'
  21434. security:
  21435. - ApiKeyAuth: []
  21436. summary: 查询套保品种详情(套保品种/商品详情)
  21437. tags:
  21438. - 企业风险管理v3(app)
  21439. /Ermcp3/QueryOutTradeLink:
  21440. get:
  21441. description: 页面 app 现货->期现关联->外部成交单关联
  21442. parameters:
  21443. - description: 用户ID(填登录用户的userid)
  21444. in: query
  21445. name: userid
  21446. required: true
  21447. type: integer
  21448. - description: 外部订单号(模糊匹配)
  21449. in: query
  21450. name: outtradeid
  21451. type: string
  21452. - description: 合约名称/代码(模糊匹配)
  21453. in: query
  21454. name: goodsname
  21455. type: string
  21456. - description: 关联状态 0-未关联 1-已关联
  21457. in: query
  21458. name: hasinnerorder
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. items:
  21467. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21468. type: array
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 查询外部成交单关联
  21476. tags:
  21477. - 企业风险管理v3(app)
  21478. /Ermcp3/QueryPaAreaAuditCfg:
  21479. get:
  21480. parameters:
  21481. - description: 用户id
  21482. in: query
  21483. name: userid
  21484. required: true
  21485. type: integer
  21486. produces:
  21487. - application/json
  21488. responses:
  21489. "200":
  21490. description: OK
  21491. schema:
  21492. items:
  21493. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21494. type: array
  21495. "500":
  21496. description: Internal Server Error
  21497. schema:
  21498. $ref: '#/definitions/app.Response'
  21499. security:
  21500. - ApiKeyAuth: []
  21501. summary: 查询审核设置
  21502. tags:
  21503. - 企业风险管理v3(app)
  21504. /Ermcp3/QueryPaAreaSubject:
  21505. get:
  21506. parameters:
  21507. - description: 用户id
  21508. in: query
  21509. name: userid
  21510. required: true
  21511. type: integer
  21512. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21513. in: query
  21514. name: subjectid
  21515. type: integer
  21516. - description: 主体类型 - 1:交易主体 2:业务部门
  21517. in: query
  21518. name: subjecttype
  21519. type: integer
  21520. - description: '主体状态 - 1:正常 2: 停用'
  21521. in: query
  21522. name: subjectstatus
  21523. type: integer
  21524. produces:
  21525. - application/json
  21526. responses:
  21527. "200":
  21528. description: OK
  21529. schema:
  21530. items:
  21531. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21532. type: array
  21533. "500":
  21534. description: Internal Server Error
  21535. schema:
  21536. $ref: '#/definitions/app.Response'
  21537. security:
  21538. - ApiKeyAuth: []
  21539. summary: 查询交易主体
  21540. tags:
  21541. - 企业风险管理v3(app)
  21542. /Ermcp3/QueryPaTradeLink:
  21543. get:
  21544. description: 页面 app 现货->期现关联->期现单据关联
  21545. parameters:
  21546. - description: 用户ID
  21547. in: query
  21548. name: userid
  21549. required: true
  21550. type: integer
  21551. produces:
  21552. - application/json
  21553. responses:
  21554. "200":
  21555. description: OK
  21556. schema:
  21557. items:
  21558. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21559. type: array
  21560. "500":
  21561. description: Internal Server Error
  21562. schema:
  21563. $ref: '#/definitions/app.Response'
  21564. security:
  21565. - ApiKeyAuth: []
  21566. summary: 查询期现单据关联
  21567. tags:
  21568. - 企业风险管理v3(app)
  21569. /Ermcp3/QueryPaTradeLinkDetail:
  21570. get:
  21571. description: 页面 app 现货->期现关联->关联记录
  21572. parameters:
  21573. - description: 用户ID(填登录用户的userid)
  21574. in: query
  21575. name: userid
  21576. required: true
  21577. type: integer
  21578. - description: 期货订单号(模糊匹配)
  21579. in: query
  21580. name: tradeid
  21581. type: string
  21582. - description: 现货编号(模糊匹配)
  21583. in: query
  21584. name: contractno
  21585. type: string
  21586. - description: 期货账户(模糊匹配)
  21587. in: query
  21588. name: taname
  21589. type: string
  21590. produces:
  21591. - application/json
  21592. responses:
  21593. "200":
  21594. description: OK
  21595. schema:
  21596. items:
  21597. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21598. type: array
  21599. "500":
  21600. description: Internal Server Error
  21601. schema:
  21602. $ref: '#/definitions/app.Response'
  21603. security:
  21604. - ApiKeyAuth: []
  21605. summary: 查询期现关联记录
  21606. tags:
  21607. - 企业风险管理v3(app)
  21608. /Ermcp3/QueryRootUserAccount:
  21609. get:
  21610. parameters:
  21611. - description: 用户ID
  21612. in: query
  21613. name: userid
  21614. required: true
  21615. type: integer
  21616. produces:
  21617. - application/json
  21618. responses:
  21619. "200":
  21620. description: OK
  21621. schema:
  21622. items:
  21623. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21624. type: array
  21625. "500":
  21626. description: Internal Server Error
  21627. schema:
  21628. $ref: '#/definitions/app.Response'
  21629. security:
  21630. - ApiKeyAuth: []
  21631. summary: 查询顶级用户信息
  21632. tags:
  21633. - 企业风险管理v3(app)
  21634. /Ermcp3/QuerySCMiddleGoods:
  21635. get:
  21636. description: |-
  21637. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21638. 现货编号 即 合同编号
  21639. parameters:
  21640. - description: 用户ID(填登录用户的userid)
  21641. in: query
  21642. name: userid
  21643. required: true
  21644. type: integer
  21645. - description: 买卖方向 0-买 1-卖
  21646. in: query
  21647. name: buyorsell
  21648. required: true
  21649. type: integer
  21650. - description: 商品组id
  21651. in: query
  21652. name: goodsgroupid
  21653. required: true
  21654. type: integer
  21655. - description: 现货编号(模糊匹配)
  21656. in: query
  21657. name: contractno
  21658. type: string
  21659. - description: 对手方(模糊匹配)
  21660. in: query
  21661. name: customername
  21662. type: string
  21663. - description: 现货商品名称(模糊匹配)
  21664. in: query
  21665. name: wrstandardname
  21666. type: string
  21667. produces:
  21668. - application/json
  21669. responses:
  21670. "200":
  21671. description: OK
  21672. schema:
  21673. items:
  21674. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21675. type: array
  21676. "500":
  21677. description: Internal Server Error
  21678. schema:
  21679. $ref: '#/definitions/app.Response'
  21680. security:
  21681. - ApiKeyAuth: []
  21682. summary: 查询现货订单
  21683. tags:
  21684. - 企业风险管理v3(app)
  21685. /Ermcp3/QuerySpotContract:
  21686. get:
  21687. parameters:
  21688. - description: 用户id(当指定contractid, userid可不填)
  21689. in: query
  21690. name: userid
  21691. required: true
  21692. type: integer
  21693. - description: 用户类型 2-机构 7-企业成员
  21694. in: query
  21695. name: usertype
  21696. type: integer
  21697. - description: 合同类型 1-采购, -1-销售
  21698. in: query
  21699. name: contracttype
  21700. type: integer
  21701. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  21702. in: query
  21703. name: querytype
  21704. required: true
  21705. type: integer
  21706. - description: 合同ID(SpotContractId)
  21707. in: query
  21708. name: contractid
  21709. type: string
  21710. produces:
  21711. - application/json
  21712. responses:
  21713. "200":
  21714. description: OK
  21715. schema:
  21716. items:
  21717. $ref: '#/definitions/models.Ermcp3Contract'
  21718. type: array
  21719. "500":
  21720. description: Internal Server Error
  21721. schema:
  21722. $ref: '#/definitions/app.Response'
  21723. security:
  21724. - ApiKeyAuth: []
  21725. summary: 查询现货合同
  21726. tags:
  21727. - 企业风险管理v3(app)
  21728. /Ermcp3/QuerySpotContractBS:
  21729. get:
  21730. parameters:
  21731. - description: 用户id
  21732. in: query
  21733. name: userid
  21734. required: true
  21735. type: integer
  21736. - description: 用户类型 2-机构 7-企业成员
  21737. in: query
  21738. name: usertype
  21739. type: integer
  21740. - description: 合同类型 1-采购, -1-销售
  21741. in: query
  21742. name: contracttype
  21743. required: true
  21744. type: integer
  21745. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21746. in: query
  21747. name: querytype
  21748. required: true
  21749. type: integer
  21750. - description: 合同ID(SpotContractId)
  21751. in: query
  21752. name: contractid
  21753. type: string
  21754. produces:
  21755. - application/json
  21756. responses:
  21757. "200":
  21758. description: OK
  21759. schema:
  21760. items:
  21761. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21762. type: array
  21763. "500":
  21764. description: Internal Server Error
  21765. schema:
  21766. $ref: '#/definitions/app.Response'
  21767. security:
  21768. - ApiKeyAuth: []
  21769. summary: 查询合同(采购/销售)
  21770. tags:
  21771. - 企业风险管理v3(app)
  21772. /Ermcp3/QuerySpotGoodsPrice:
  21773. get:
  21774. parameters:
  21775. - description: 用户ID
  21776. in: query
  21777. name: userid
  21778. required: true
  21779. type: integer
  21780. produces:
  21781. - application/json
  21782. responses:
  21783. "200":
  21784. description: OK
  21785. schema:
  21786. items:
  21787. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21788. type: array
  21789. "500":
  21790. description: Internal Server Error
  21791. schema:
  21792. $ref: '#/definitions/app.Response'
  21793. security:
  21794. - ApiKeyAuth: []
  21795. summary: 查询现货市价(现货市价)
  21796. tags:
  21797. - 企业风险管理v3(app)
  21798. /Ermcp3/QuerySpotGoodsPriceLog:
  21799. get:
  21800. parameters:
  21801. - description: 用户ID
  21802. in: query
  21803. name: userid
  21804. required: true
  21805. type: integer
  21806. - description: 现货商品ID
  21807. in: query
  21808. name: deliverygoodsid
  21809. required: true
  21810. type: integer
  21811. - description: 品牌ID
  21812. in: query
  21813. name: brandid
  21814. type: integer
  21815. - description: 品类ID
  21816. in: query
  21817. name: wrstandardid
  21818. type: integer
  21819. produces:
  21820. - application/json
  21821. responses:
  21822. "200":
  21823. description: OK
  21824. schema:
  21825. items:
  21826. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21827. type: array
  21828. "500":
  21829. description: Internal Server Error
  21830. schema:
  21831. $ref: '#/definitions/app.Response'
  21832. security:
  21833. - ApiKeyAuth: []
  21834. summary: 查询现货市价详情(现货市价/详情)
  21835. tags:
  21836. - 企业风险管理v3(app)
  21837. /Ermcp3/QuerySubTaaccount:
  21838. get:
  21839. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  21840. parameters:
  21841. - description: 母账号id
  21842. in: query
  21843. name: parentaccountid
  21844. type: integer
  21845. - description: 母账号代码
  21846. in: query
  21847. name: parentaccountcode
  21848. type: string
  21849. produces:
  21850. - application/json
  21851. responses:
  21852. "200":
  21853. description: OK
  21854. schema:
  21855. items:
  21856. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  21857. type: array
  21858. "500":
  21859. description: Internal Server Error
  21860. schema:
  21861. $ref: '#/definitions/app.Response'
  21862. security:
  21863. - ApiKeyAuth: []
  21864. summary: 查询期货子账户
  21865. tags:
  21866. - 企业风险管理v3(app)
  21867. /Erms2/QueryArbitrageStrategy:
  21868. get:
  21869. parameters:
  21870. - description: 账户ID
  21871. in: query
  21872. name: userid
  21873. required: true
  21874. type: integer
  21875. - description: 商品组ID(品种ID)
  21876. in: query
  21877. name: goodsgroupid
  21878. type: string
  21879. produces:
  21880. - application/json
  21881. responses:
  21882. "200":
  21883. description: OK
  21884. schema:
  21885. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21886. "500":
  21887. description: Internal Server Error
  21888. schema:
  21889. $ref: '#/definitions/app.Response'
  21890. security:
  21891. - ApiKeyAuth: []
  21892. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21893. tags:
  21894. - 风险管理
  21895. /Erms2/QueryInnerTradeDetail:
  21896. get:
  21897. parameters:
  21898. - description: 资金账户
  21899. in: query
  21900. name: accountid
  21901. required: true
  21902. type: integer
  21903. produces:
  21904. - application/json
  21905. responses:
  21906. "200":
  21907. description: OK
  21908. schema:
  21909. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21910. "500":
  21911. description: Internal Server Error
  21912. schema:
  21913. $ref: '#/definitions/app.Response'
  21914. security:
  21915. - ApiKeyAuth: []
  21916. summary: 查询内部成交单信息
  21917. tags:
  21918. - 风险管理
  21919. /Erms2/QuerySpotContract:
  21920. get:
  21921. parameters:
  21922. - description: 策略申请ID
  21923. in: query
  21924. name: asapplyid
  21925. required: true
  21926. type: integer
  21927. - description: 现货合同ID
  21928. in: query
  21929. name: spotcontractid
  21930. type: integer
  21931. produces:
  21932. - application/json
  21933. responses:
  21934. "200":
  21935. description: OK
  21936. schema:
  21937. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21945. tags:
  21946. - 风险管理
  21947. /Erms3/AddErms2ASApply:
  21948. post:
  21949. parameters:
  21950. - description: 申请参数
  21951. in: body
  21952. name: jsonBody
  21953. required: true
  21954. schema:
  21955. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21956. produces:
  21957. - application/json
  21958. responses:
  21959. "200":
  21960. description: OK
  21961. schema:
  21962. $ref: '#/definitions/app.Response'
  21963. "500":
  21964. description: Internal Server Error
  21965. schema:
  21966. $ref: '#/definitions/app.Response'
  21967. security:
  21968. - ApiKeyAuth: []
  21969. summary: 新增期现套利业务申请
  21970. tags:
  21971. - 风险管理v3
  21972. /Erms3/AddErms2SpotTradeApply:
  21973. post:
  21974. parameters:
  21975. - description: 申请参数
  21976. in: body
  21977. name: jsonBody
  21978. required: true
  21979. schema:
  21980. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. $ref: '#/definitions/app.Response'
  21988. "500":
  21989. description: Internal Server Error
  21990. schema:
  21991. $ref: '#/definitions/app.Response'
  21992. security:
  21993. - ApiKeyAuth: []
  21994. summary: 新增现货贸易业务申请
  21995. tags:
  21996. - 风险管理v3
  21997. /Erms3/AddSpotContractApply:
  21998. post:
  21999. parameters:
  22000. - description: 申请参数
  22001. in: body
  22002. name: jsonBody
  22003. required: true
  22004. schema:
  22005. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22006. produces:
  22007. - application/json
  22008. responses:
  22009. "200":
  22010. description: OK
  22011. schema:
  22012. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22013. "500":
  22014. description: Internal Server Error
  22015. schema:
  22016. $ref: '#/definitions/app.Response'
  22017. security:
  22018. - ApiKeyAuth: []
  22019. summary: 新增现货合同申请
  22020. tags:
  22021. - 风险管理v3
  22022. /Erms3/AddUserInfoApply:
  22023. post:
  22024. parameters:
  22025. - description: 用户信息
  22026. in: body
  22027. name: jsonBody
  22028. required: true
  22029. schema:
  22030. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22031. produces:
  22032. - application/json
  22033. responses:
  22034. "200":
  22035. description: OK
  22036. schema:
  22037. $ref: '#/definitions/app.Response'
  22038. "500":
  22039. description: Internal Server Error
  22040. schema:
  22041. $ref: '#/definitions/app.Response'
  22042. security:
  22043. - ApiKeyAuth: []
  22044. summary: 新增客户申请
  22045. tags:
  22046. - 风险管理v3
  22047. /Erms3/DeleteUserInfoApply:
  22048. get:
  22049. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22050. parameters:
  22051. - description: 用户ID
  22052. in: query
  22053. name: userID
  22054. required: true
  22055. type: integer
  22056. produces:
  22057. - application/json
  22058. responses:
  22059. "200":
  22060. description: OK
  22061. schema:
  22062. $ref: '#/definitions/app.Response'
  22063. "500":
  22064. description: Internal Server Error
  22065. schema:
  22066. $ref: '#/definitions/app.Response'
  22067. security:
  22068. - ApiKeyAuth: []
  22069. summary: 删除客户申请
  22070. tags:
  22071. - 风险管理v3
  22072. /Erms3/ModifyUserInfoApply:
  22073. post:
  22074. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22075. parameters:
  22076. - description: 用户信息
  22077. in: body
  22078. name: jsonBody
  22079. required: true
  22080. schema:
  22081. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22082. produces:
  22083. - application/json
  22084. responses:
  22085. "200":
  22086. description: OK
  22087. schema:
  22088. $ref: '#/definitions/app.Response'
  22089. "500":
  22090. description: Internal Server Error
  22091. schema:
  22092. $ref: '#/definitions/app.Response'
  22093. security:
  22094. - ApiKeyAuth: []
  22095. summary: 修改客户申请
  22096. tags:
  22097. - 风险管理v3
  22098. /Erms3/QueryBusinessInfo:
  22099. get:
  22100. parameters:
  22101. - description: 资金账号ID列表,用逗号分隔
  22102. in: query
  22103. name: accountids
  22104. required: true
  22105. type: string
  22106. - description: 状态,0为未结束 1为已结束
  22107. in: query
  22108. name: status
  22109. required: true
  22110. type: integer
  22111. produces:
  22112. - application/json
  22113. responses:
  22114. "200":
  22115. description: OK
  22116. schema:
  22117. items:
  22118. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22119. type: array
  22120. "500":
  22121. description: Internal Server Error
  22122. schema:
  22123. $ref: '#/definitions/app.Response'
  22124. security:
  22125. - ApiKeyAuth: []
  22126. summary: 查询业务表单数据
  22127. tags:
  22128. - 风险管理v3
  22129. /Erms3/QueryPendingAuditContract:
  22130. get:
  22131. parameters:
  22132. - description: 资金账号ID列表,逗号隔开
  22133. in: query
  22134. name: accountids
  22135. required: true
  22136. type: string
  22137. - description: 合同类型 1-采购 -1-销售
  22138. in: query
  22139. name: contracttype
  22140. required: true
  22141. type: integer
  22142. - description: 合同模式 1-普通 2-回购
  22143. in: query
  22144. name: contractmode
  22145. required: true
  22146. type: integer
  22147. produces:
  22148. - application/json
  22149. responses:
  22150. "200":
  22151. description: OK
  22152. schema:
  22153. items:
  22154. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22155. type: array
  22156. "500":
  22157. description: Internal Server Error
  22158. schema:
  22159. $ref: '#/definitions/app.Response'
  22160. security:
  22161. - ApiKeyAuth: []
  22162. summary: 查询待审核合同
  22163. tags:
  22164. - 风险管理v3
  22165. /Erms3/QueryPendingBusiness:
  22166. get:
  22167. parameters:
  22168. - description: 资金账号ID列表,逗号隔开
  22169. in: query
  22170. name: accountids
  22171. required: true
  22172. type: string
  22173. produces:
  22174. - application/json
  22175. responses:
  22176. "200":
  22177. description: OK
  22178. schema:
  22179. items:
  22180. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22181. type: array
  22182. "500":
  22183. description: Internal Server Error
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. security:
  22187. - ApiKeyAuth: []
  22188. summary: 查询待审核基差贸易业务
  22189. tags:
  22190. - 风险管理v3
  22191. /Erms3/QuerySpotContractAppleForm:
  22192. get:
  22193. parameters:
  22194. - description: 登录账号
  22195. in: query
  22196. name: loginID
  22197. required: true
  22198. type: integer
  22199. produces:
  22200. - application/json
  22201. responses:
  22202. "200":
  22203. description: OK
  22204. schema:
  22205. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22206. "500":
  22207. description: Internal Server Error
  22208. schema:
  22209. $ref: '#/definitions/app.Response'
  22210. security:
  22211. - ApiKeyAuth: []
  22212. summary: 查询合同申请表单数据
  22213. tags:
  22214. - 风险管理v3
  22215. /Erms3/QuerySpotContractDetail:
  22216. get:
  22217. parameters:
  22218. - description: 资金账号ID列表,用逗号分隔
  22219. in: query
  22220. name: accountids
  22221. required: true
  22222. type: string
  22223. - description: 合同类型,1为采购合同 -1为销售合同
  22224. in: query
  22225. name: contracttype
  22226. required: true
  22227. type: integer
  22228. - description: 合同模式,1为普通合同 2为回购销售合同
  22229. in: query
  22230. name: contractmode
  22231. required: true
  22232. type: integer
  22233. - description: 状态,0为履约中 1为已完成
  22234. in: query
  22235. name: status
  22236. required: true
  22237. type: integer
  22238. produces:
  22239. - application/json
  22240. responses:
  22241. "200":
  22242. description: OK
  22243. schema:
  22244. items:
  22245. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22246. type: array
  22247. "500":
  22248. description: Internal Server Error
  22249. schema:
  22250. $ref: '#/definitions/app.Response'
  22251. security:
  22252. - ApiKeyAuth: []
  22253. summary: 查询合同详细信息
  22254. tags:
  22255. - 风险管理v3
  22256. /Erms3/QueryUserInfoApplies:
  22257. get:
  22258. parameters:
  22259. - description: 页码
  22260. in: query
  22261. name: page
  22262. type: integer
  22263. - description: 每页条数
  22264. in: query
  22265. name: pagesize
  22266. type: integer
  22267. - description: 客户名称,支持模糊查询
  22268. in: query
  22269. name: userName
  22270. type: string
  22271. produces:
  22272. - application/json
  22273. responses:
  22274. "200":
  22275. description: OK
  22276. schema:
  22277. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22278. "500":
  22279. description: Internal Server Error
  22280. schema:
  22281. $ref: '#/definitions/app.Response'
  22282. security:
  22283. - ApiKeyAuth: []
  22284. summary: 客户申请信息查询
  22285. tags:
  22286. - 风险管理v3
  22287. /Erms3/QueryUserInfos:
  22288. get:
  22289. parameters:
  22290. - description: 页码
  22291. in: query
  22292. name: page
  22293. type: integer
  22294. - description: 每页条数
  22295. in: query
  22296. name: pagesize
  22297. type: integer
  22298. - description: 客户名称,支持模糊查询
  22299. in: query
  22300. name: userName
  22301. type: string
  22302. produces:
  22303. - application/json
  22304. responses:
  22305. "200":
  22306. description: OK
  22307. schema:
  22308. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22309. "500":
  22310. description: Internal Server Error
  22311. schema:
  22312. $ref: '#/definitions/app.Response'
  22313. security:
  22314. - ApiKeyAuth: []
  22315. summary: 客户信息查询
  22316. tags:
  22317. - 风险管理v3
  22318. /HSBY/GetHsbyMyCount:
  22319. get:
  22320. description: 说明: 不包括已完成的数量。
  22321. parameters:
  22322. - description: 资金账户列表,格式:1,2,3
  22323. in: query
  22324. name: accountIDs
  22325. required: true
  22326. type: string
  22327. produces:
  22328. - application/json
  22329. responses:
  22330. "200":
  22331. description: OK
  22332. schema:
  22333. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 获取我的订单与包裹数量
  22341. tags:
  22342. - 定制【海商报业】
  22343. /HSBY/QueryClientFixedADConfigs:
  22344. get:
  22345. produces:
  22346. - application/json
  22347. responses:
  22348. "200":
  22349. description: OK
  22350. schema:
  22351. $ref: '#/definitions/models.Clientfixedadconfig'
  22352. "500":
  22353. description: Internal Server Error
  22354. schema:
  22355. $ref: '#/definitions/app.Response'
  22356. security:
  22357. - ApiKeyAuth: []
  22358. summary: 获取终端固定广告配置
  22359. tags:
  22360. - 定制【海商报业】
  22361. /HSBY/QueryHsbyBuyMyTradeDetail:
  22362. get:
  22363. parameters:
  22364. - description: 页码
  22365. in: query
  22366. name: page
  22367. type: integer
  22368. - description: 每页条数
  22369. in: query
  22370. name: pagesize
  22371. type: integer
  22372. - description: 资金账户列表,格式:1,2,3
  22373. in: query
  22374. name: accountIDs
  22375. required: true
  22376. type: string
  22377. produces:
  22378. - application/json
  22379. responses:
  22380. "200":
  22381. description: OK
  22382. schema:
  22383. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22384. "500":
  22385. description: Internal Server Error
  22386. schema:
  22387. $ref: '#/definitions/app.Response'
  22388. security:
  22389. - ApiKeyAuth: []
  22390. summary: 查询"我的订单 - 已完成"单据信息
  22391. tags:
  22392. - 定制【海商报业】
  22393. /HSBY/QueryHsbyGoodsOrderDetails:
  22394. get:
  22395. description: 说明:查询结果已按委托价格和委托时间排序
  22396. parameters:
  22397. - description: 商品ID
  22398. in: query
  22399. name: goodsID
  22400. required: true
  22401. type: integer
  22402. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22403. in: query
  22404. name: accountIDs
  22405. type: string
  22406. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22407. in: query
  22408. name: buyOrSell
  22409. type: integer
  22410. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22411. in: query
  22412. name: price
  22413. type: number
  22414. - description: 档位,不传则默认为3档
  22415. in: query
  22416. name: speed
  22417. type: integer
  22418. produces:
  22419. - application/json
  22420. responses:
  22421. "200":
  22422. description: OK
  22423. schema:
  22424. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22425. "500":
  22426. description: Internal Server Error
  22427. schema:
  22428. $ref: '#/definitions/app.Response'
  22429. security:
  22430. - ApiKeyAuth: []
  22431. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22432. tags:
  22433. - 定制【海商报业】
  22434. /HSBY/QueryHsbyListingGoodsDetail:
  22435. get:
  22436. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22437. parameters:
  22438. - description: 商品ID
  22439. in: query
  22440. name: goodsID
  22441. required: true
  22442. type: integer
  22443. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22444. in: query
  22445. name: accountID
  22446. type: integer
  22447. produces:
  22448. - application/json
  22449. responses:
  22450. "200":
  22451. description: OK
  22452. schema:
  22453. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22454. "500":
  22455. description: Internal Server Error
  22456. schema:
  22457. $ref: '#/definitions/app.Response'
  22458. security:
  22459. - ApiKeyAuth: []
  22460. summary: 查询二级市场(挂牌点选)商品信息详情
  22461. tags:
  22462. - 定制【海商报业】
  22463. /HSBY/QueryHsbyMarketGoodsDetail:
  22464. get:
  22465. parameters:
  22466. - description: 委托单号
  22467. in: query
  22468. name: orderID
  22469. required: true
  22470. type: integer
  22471. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22472. in: query
  22473. name: accountID
  22474. type: integer
  22475. produces:
  22476. - application/json
  22477. responses:
  22478. "200":
  22479. description: OK
  22480. schema:
  22481. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22482. "500":
  22483. description: Internal Server Error
  22484. schema:
  22485. $ref: '#/definitions/app.Response'
  22486. security:
  22487. - ApiKeyAuth: []
  22488. summary: 查询三级市场(商城)商品信息详情
  22489. tags:
  22490. - 定制【海商报业】
  22491. /HSBY/QueryHsbyMarketGoodses:
  22492. get:
  22493. parameters:
  22494. - description: 页码
  22495. in: query
  22496. name: page
  22497. type: integer
  22498. - description: 每页条数
  22499. in: query
  22500. name: pagesize
  22501. type: integer
  22502. - description: 市场ID列表,格式:1,2,3
  22503. in: query
  22504. name: marketIDs
  22505. required: true
  22506. type: string
  22507. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22508. in: query
  22509. name: accountID
  22510. required: true
  22511. type: integer
  22512. - description: 类别ID
  22513. in: query
  22514. name: categoryID
  22515. type: integer
  22516. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22517. in: query
  22518. name: goodsIDs
  22519. type: string
  22520. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22521. in: query
  22522. name: couponTypeID
  22523. type: integer
  22524. produces:
  22525. - application/json
  22526. responses:
  22527. "200":
  22528. description: OK
  22529. schema:
  22530. $ref: '#/definitions/models.HsbyMarketGoods'
  22531. "500":
  22532. description: Internal Server Error
  22533. schema:
  22534. $ref: '#/definitions/app.Response'
  22535. security:
  22536. - ApiKeyAuth: []
  22537. summary: 查询特卖商品列表(三级商城)
  22538. tags:
  22539. - 定制【海商报业】
  22540. /HSBY/QueryHsbyMarkets:
  22541. get:
  22542. produces:
  22543. - application/json
  22544. responses:
  22545. "200":
  22546. description: OK
  22547. schema:
  22548. $ref: '#/definitions/models.HsbyMarketInfo'
  22549. "500":
  22550. description: Internal Server Error
  22551. schema:
  22552. $ref: '#/definitions/app.Response'
  22553. security:
  22554. - ApiKeyAuth: []
  22555. summary: 查询海商报业相关市场信息
  22556. tags:
  22557. - 定制【海商报业】
  22558. /HSBY/QueryHsbyMyBuyOrderDetails:
  22559. get:
  22560. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22561. parameters:
  22562. - description: 资金账户列表,格式:1,2,3
  22563. in: query
  22564. name: accountIDs
  22565. required: true
  22566. type: string
  22567. produces:
  22568. - application/json
  22569. responses:
  22570. "200":
  22571. description: OK
  22572. schema:
  22573. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22574. "500":
  22575. description: Internal Server Error
  22576. schema:
  22577. $ref: '#/definitions/app.Response'
  22578. security:
  22579. - ApiKeyAuth: []
  22580. summary: 查询“我的订单”信息
  22581. tags:
  22582. - 定制【海商报业】
  22583. /HSBY/QueryHsbyMyGoods:
  22584. get:
  22585. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22586. parameters:
  22587. - description: 资金账户列表,格式:1,2,3
  22588. in: query
  22589. name: accountIDs
  22590. required: true
  22591. type: string
  22592. produces:
  22593. - application/json
  22594. responses:
  22595. "200":
  22596. description: OK
  22597. schema:
  22598. $ref: '#/definitions/models.HsbyMyGoods'
  22599. "500":
  22600. description: Internal Server Error
  22601. schema:
  22602. $ref: '#/definitions/app.Response'
  22603. security:
  22604. - ApiKeyAuth: []
  22605. summary: 查询“我的商品”信息
  22606. tags:
  22607. - 定制【海商报业】
  22608. /HSBY/QueryHsbyMyPackages:
  22609. get:
  22610. parameters:
  22611. - description: 资金账户列表,格式:1,2,3
  22612. in: query
  22613. name: accountIDs
  22614. required: true
  22615. type: string
  22616. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22617. in: query
  22618. name: takeOrderStatus
  22619. type: integer
  22620. produces:
  22621. - application/json
  22622. responses:
  22623. "200":
  22624. description: OK
  22625. schema:
  22626. $ref: '#/definitions/models.HsbyMyPackage'
  22627. "500":
  22628. description: Internal Server Error
  22629. schema:
  22630. $ref: '#/definitions/app.Response'
  22631. security:
  22632. - ApiKeyAuth: []
  22633. summary: 查询我的包裹信息
  22634. tags:
  22635. - 定制【海商报业】
  22636. /HSBY/QueryHsbyPreGoodsDetail:
  22637. get:
  22638. parameters:
  22639. - description: 商品ID
  22640. in: query
  22641. name: goodsID
  22642. required: true
  22643. type: integer
  22644. - description: 资金账户,主要用于获取预售商品购买上限
  22645. in: query
  22646. name: accountID
  22647. type: integer
  22648. produces:
  22649. - application/json
  22650. responses:
  22651. "200":
  22652. description: OK
  22653. schema:
  22654. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22655. "500":
  22656. description: Internal Server Error
  22657. schema:
  22658. $ref: '#/definitions/app.Response'
  22659. security:
  22660. - ApiKeyAuth: []
  22661. summary: 查询一级市场(预售)商品信息详情
  22662. tags:
  22663. - 定制【海商报业】
  22664. /HSBY/QueryHsbyPreGoodses:
  22665. get:
  22666. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22667. parameters:
  22668. - description: 页码
  22669. in: query
  22670. name: page
  22671. type: integer
  22672. - description: 每页条数
  22673. in: query
  22674. name: pagesize
  22675. type: integer
  22676. - description: 市场ID列表,格式:1,2,3
  22677. in: query
  22678. name: marketIDs
  22679. required: true
  22680. type: string
  22681. - description: 目的地(省)ID
  22682. in: query
  22683. name: descProvinceID
  22684. type: integer
  22685. - description: 目的地(市)ID
  22686. in: query
  22687. name: descCityID
  22688. type: integer
  22689. produces:
  22690. - application/json
  22691. responses:
  22692. "200":
  22693. description: OK
  22694. schema:
  22695. $ref: '#/definitions/models.HsbyPreGoods'
  22696. "500":
  22697. description: Internal Server Error
  22698. schema:
  22699. $ref: '#/definitions/app.Response'
  22700. security:
  22701. - ApiKeyAuth: []
  22702. summary: 查询新品上市商品列表(一级市场预售)
  22703. tags:
  22704. - 定制【海商报业】
  22705. /HSBY/QueryHsbySellMyDetails:
  22706. get:
  22707. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22708. parameters:
  22709. - description: 页码
  22710. in: query
  22711. name: page
  22712. type: integer
  22713. - description: 每页条数
  22714. in: query
  22715. name: pagesize
  22716. type: integer
  22717. - description: 资金账户列表,格式:1,2,3
  22718. in: query
  22719. name: accountIDs
  22720. required: true
  22721. type: string
  22722. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22723. in: query
  22724. name: orderType
  22725. type: integer
  22726. produces:
  22727. - application/json
  22728. responses:
  22729. "200":
  22730. description: OK
  22731. schema:
  22732. $ref: '#/definitions/models.HsbySellMyDetail'
  22733. "500":
  22734. description: Internal Server Error
  22735. schema:
  22736. $ref: '#/definitions/app.Response'
  22737. security:
  22738. - ApiKeyAuth: []
  22739. summary: 查询"我的闲置"单据信息
  22740. tags:
  22741. - 定制【海商报业】
  22742. /HSBY/QueryHsbyTopGoodses:
  22743. get:
  22744. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22745. parameters:
  22746. - description: 页码
  22747. in: query
  22748. name: page
  22749. type: integer
  22750. - description: 每页条数
  22751. in: query
  22752. name: pagesize
  22753. type: integer
  22754. - description: 市场ID列表,格式:1,2,3
  22755. in: query
  22756. name: marketIDs
  22757. required: true
  22758. type: string
  22759. - description: 目的地(省)ID
  22760. in: query
  22761. name: descProvinceID
  22762. type: integer
  22763. - description: 目的地(市)ID
  22764. in: query
  22765. name: descCityID
  22766. type: integer
  22767. produces:
  22768. - application/json
  22769. responses:
  22770. "200":
  22771. description: OK
  22772. schema:
  22773. $ref: '#/definitions/models.HsbyTopGoods'
  22774. "500":
  22775. description: Internal Server Error
  22776. schema:
  22777. $ref: '#/definitions/app.Response'
  22778. security:
  22779. - ApiKeyAuth: []
  22780. summary: 查询热卖商品列表(二级市场挂牌点选)
  22781. tags:
  22782. - 定制【海商报业】
  22783. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22784. get:
  22785. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22786. parameters:
  22787. - description: 商品ID
  22788. in: query
  22789. name: goodsID
  22790. required: true
  22791. type: integer
  22792. produces:
  22793. - application/json
  22794. responses:
  22795. "200":
  22796. description: OK
  22797. schema:
  22798. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22799. "500":
  22800. description: Internal Server Error
  22801. schema:
  22802. $ref: '#/definitions/app.Response'
  22803. security:
  22804. - ApiKeyAuth: []
  22805. summary: 查询游客三级市场(商城)商品信息详情
  22806. tags:
  22807. - 定制【海商报业】
  22808. /HSBY/QueryHsbyVisitorMarketGoodses:
  22809. get:
  22810. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22811. parameters:
  22812. - description: 页码
  22813. in: query
  22814. name: page
  22815. type: integer
  22816. - description: 每页条数
  22817. in: query
  22818. name: pagesize
  22819. type: integer
  22820. - description: 市场ID列表,格式:1,2,3
  22821. in: query
  22822. name: marketIDs
  22823. required: true
  22824. type: string
  22825. - description: 类别ID
  22826. in: query
  22827. name: categoryID
  22828. type: integer
  22829. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22830. in: query
  22831. name: goodsIDs
  22832. type: string
  22833. produces:
  22834. - application/json
  22835. responses:
  22836. "200":
  22837. description: OK
  22838. schema:
  22839. $ref: '#/definitions/models.HsbyMarketGoods'
  22840. "500":
  22841. description: Internal Server Error
  22842. schema:
  22843. $ref: '#/definitions/app.Response'
  22844. security:
  22845. - ApiKeyAuth: []
  22846. summary: 查询游客特卖商品列表(三级商城)
  22847. tags:
  22848. - 定制【海商报业】
  22849. /HSBY/QueryMyCollectionOrders:
  22850. get:
  22851. parameters:
  22852. - description: 页码
  22853. in: query
  22854. name: page
  22855. type: integer
  22856. - description: 每页条数
  22857. in: query
  22858. name: pagesize
  22859. type: integer
  22860. - description: 资金账户,格式:1,2,3
  22861. in: query
  22862. name: accountIDs
  22863. required: true
  22864. type: string
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. security:
  22877. - ApiKeyAuth: []
  22878. summary: 我的闲置中收款信息查询
  22879. tags:
  22880. - 定制【海商报业】
  22881. /HSBY/QueryMyCouponHolds:
  22882. get:
  22883. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22884. parameters:
  22885. - description: 资金账户列表,格式:1,2,3
  22886. in: query
  22887. name: accountIDs
  22888. required: true
  22889. type: string
  22890. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22891. in: query
  22892. name: holdStatus
  22893. type: string
  22894. produces:
  22895. - application/json
  22896. responses:
  22897. "200":
  22898. description: OK
  22899. schema:
  22900. $ref: '#/definitions/models.MyCouponHold'
  22901. "500":
  22902. description: Internal Server Error
  22903. schema:
  22904. $ref: '#/definitions/app.Response'
  22905. security:
  22906. - ApiKeyAuth: []
  22907. summary: 我的优惠卷持仓查询
  22908. tags:
  22909. - 定制【海商报业】
  22910. /HSBY/QueryMyCoupons:
  22911. get:
  22912. parameters:
  22913. - description: 资金账户列表,格式:1,2,3
  22914. in: query
  22915. name: accountIDs
  22916. required: true
  22917. type: string
  22918. - description: 商品ID, 一般与sellUserID配套传入
  22919. in: query
  22920. name: goodsID
  22921. type: integer
  22922. - description: 卖方UserID
  22923. in: query
  22924. name: sellUserID
  22925. type: integer
  22926. produces:
  22927. - application/json
  22928. responses:
  22929. "200":
  22930. description: OK
  22931. schema:
  22932. $ref: '#/definitions/models.MyCoupon'
  22933. "500":
  22934. description: Internal Server Error
  22935. schema:
  22936. $ref: '#/definitions/app.Response'
  22937. security:
  22938. - ApiKeyAuth: []
  22939. summary: 我的优惠卷查询
  22940. tags:
  22941. - 定制【海商报业】
  22942. /HSBY/QueryMyPayOrders:
  22943. get:
  22944. parameters:
  22945. - description: 页码
  22946. in: query
  22947. name: page
  22948. type: integer
  22949. - description: 每页条数
  22950. in: query
  22951. name: pagesize
  22952. type: integer
  22953. - description: 资金账户列表,格式:1,2,3
  22954. in: query
  22955. name: accountIDs
  22956. required: true
  22957. type: string
  22958. - description: 买方委托单号
  22959. in: query
  22960. name: buyOrderID
  22961. type: integer
  22962. - description: 卖方委托单号
  22963. in: query
  22964. name: sellOrderID
  22965. type: integer
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22973. "500":
  22974. description: Internal Server Error
  22975. schema:
  22976. $ref: '#/definitions/app.Response'
  22977. security:
  22978. - ApiKeyAuth: []
  22979. summary: 获取我的订单中待付款信息
  22980. tags:
  22981. - 定制【海商报业】
  22982. /HSBY/QueryMyUsedCoupon:
  22983. get:
  22984. parameters:
  22985. - description: 资金账户列表,格式:1,2,3
  22986. in: query
  22987. name: accountIDs
  22988. required: true
  22989. type: string
  22990. produces:
  22991. - application/json
  22992. responses:
  22993. "200":
  22994. description: OK
  22995. schema:
  22996. $ref: '#/definitions/models.MyUsedCoupon'
  22997. "500":
  22998. description: Internal Server Error
  22999. schema:
  23000. $ref: '#/definitions/app.Response'
  23001. security:
  23002. - ApiKeyAuth: []
  23003. summary: 已使用优惠卷查询
  23004. tags:
  23005. - 定制【海商报业】
  23006. /HSBY/QueryProvincesAndCities:
  23007. get:
  23008. description: 查询结果只包括二级市场商品已关连的省市信息。
  23009. parameters:
  23010. - description: 省ID
  23011. in: query
  23012. name: provinceID
  23013. type: integer
  23014. produces:
  23015. - application/json
  23016. responses:
  23017. "200":
  23018. description: OK
  23019. schema:
  23020. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23021. "500":
  23022. description: Internal Server Error
  23023. schema:
  23024. $ref: '#/definitions/app.Response'
  23025. security:
  23026. - ApiKeyAuth: []
  23027. summary: 查询省市信息(不包括区)
  23028. tags:
  23029. - 定制【海商报业】
  23030. /HSBY/SetHsbyMyPackagesStatus:
  23031. post:
  23032. parameters:
  23033. - description: 提货单号
  23034. in: query
  23035. name: takeOrderID
  23036. required: true
  23037. type: string
  23038. - description: 资金账号
  23039. in: query
  23040. name: accountID
  23041. required: true
  23042. type: integer
  23043. produces:
  23044. - application/json
  23045. responses:
  23046. "200":
  23047. description: OK
  23048. schema:
  23049. $ref: '#/definitions/app.Response'
  23050. "500":
  23051. description: Internal Server Error
  23052. schema:
  23053. $ref: '#/definitions/app.Response'
  23054. security:
  23055. - ApiKeyAuth: []
  23056. summary: 设置我的包裹已收货状态
  23057. tags:
  23058. - 定制【海商报业】
  23059. /Market/GetAllExExchanges:
  23060. get:
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. $ref: '#/definitions/models.Goods'
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 获取所有外部交易所信息
  23075. tags:
  23076. - 通用市场
  23077. /Market/QueryGoodsesByLoginID:
  23078. get:
  23079. parameters:
  23080. - description: 登录账号
  23081. in: query
  23082. name: loginID
  23083. required: true
  23084. type: integer
  23085. - description: 市场ID列表,格式:1,2,3
  23086. in: query
  23087. name: marketIDs
  23088. type: string
  23089. produces:
  23090. - application/json
  23091. responses:
  23092. "200":
  23093. description: OK
  23094. schema:
  23095. $ref: '#/definitions/models.Goods'
  23096. "500":
  23097. description: Internal Server Error
  23098. schema:
  23099. $ref: '#/definitions/app.Response'
  23100. security:
  23101. - ApiKeyAuth: []
  23102. summary: 获取登录账号有权限的商品信息
  23103. tags:
  23104. - 通用市场
  23105. /Market/QueryMarketRun:
  23106. get:
  23107. parameters:
  23108. - description: 市场ID,不传返回所有
  23109. in: query
  23110. name: marketID
  23111. type: integer
  23112. produces:
  23113. - application/json
  23114. responses:
  23115. "200":
  23116. description: OK
  23117. schema:
  23118. $ref: '#/definitions/models.Marketrun'
  23119. "500":
  23120. description: Internal Server Error
  23121. schema:
  23122. $ref: '#/definitions/app.Response'
  23123. security:
  23124. - ApiKeyAuth: []
  23125. summary: 查询市场运行信息
  23126. tags:
  23127. - 通用市场
  23128. /Market/QueryMarketsByLoginID:
  23129. get:
  23130. parameters:
  23131. - description: 登录账号
  23132. in: query
  23133. name: loginID
  23134. required: true
  23135. type: integer
  23136. produces:
  23137. - application/json
  23138. responses:
  23139. "200":
  23140. description: OK
  23141. schema:
  23142. $ref: '#/definitions/models.Market'
  23143. "500":
  23144. description: Internal Server Error
  23145. schema:
  23146. $ref: '#/definitions/app.Response'
  23147. security:
  23148. - ApiKeyAuth: []
  23149. summary: 获取登录账号有权限的市场信息
  23150. tags:
  23151. - 通用市场
  23152. /Order/QueryHisTradeDetail:
  23153. get:
  23154. parameters:
  23155. - description: 资金账户 - 格式:1,2,3
  23156. in: query
  23157. name: accountID
  23158. required: true
  23159. type: string
  23160. - description: 成交单号
  23161. in: query
  23162. name: tradeID
  23163. type: integer
  23164. - description: 委托单号
  23165. in: query
  23166. name: orderID
  23167. type: integer
  23168. - description: 商品ID
  23169. in: query
  23170. name: goodsID
  23171. type: integer
  23172. - description: 交易模式 - 格式:1,2,3
  23173. in: query
  23174. name: tradeMode
  23175. type: string
  23176. - description: 委托单据类型
  23177. in: query
  23178. name: buildType
  23179. type: integer
  23180. - description: 成交类别 - 格式:1,2,3
  23181. in: query
  23182. name: tradeType
  23183. type: string
  23184. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23185. in: query
  23186. name: startDate
  23187. type: string
  23188. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23189. in: query
  23190. name: endDate
  23191. type: string
  23192. produces:
  23193. - application/json
  23194. responses:
  23195. "200":
  23196. description: OK
  23197. schema:
  23198. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23199. "500":
  23200. description: Internal Server Error
  23201. schema:
  23202. $ref: '#/definitions/app.Response'
  23203. security:
  23204. - ApiKeyAuth: []
  23205. summary: 历史成交单查询(合约市场)
  23206. tags:
  23207. - 通用单据
  23208. /Order/QueryHisTradeOrderDetail:
  23209. get:
  23210. parameters:
  23211. - description: 资金账户 - 格式:1,2,3
  23212. in: query
  23213. name: accountID
  23214. required: true
  23215. type: string
  23216. - description: 交易模式 - 格式:1,2,3
  23217. in: query
  23218. name: tradeMode
  23219. type: string
  23220. - description: 委托状态 - 格式:1,2,3
  23221. in: query
  23222. name: orderStatus
  23223. type: string
  23224. - description: 委托单号
  23225. in: query
  23226. name: orderID
  23227. type: integer
  23228. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23229. in: query
  23230. name: startDate
  23231. type: string
  23232. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23233. in: query
  23234. name: endDate
  23235. type: string
  23236. produces:
  23237. - application/json
  23238. responses:
  23239. "200":
  23240. description: OK
  23241. schema:
  23242. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23243. "500":
  23244. description: Internal Server Error
  23245. schema:
  23246. $ref: '#/definitions/app.Response'
  23247. security:
  23248. - ApiKeyAuth: []
  23249. summary: 历史委托单查询请求(合约市场)
  23250. tags:
  23251. - 通用单据
  23252. /Order/QueryTradeDetail:
  23253. get:
  23254. parameters:
  23255. - description: 资金账户 - 格式:1,2,3
  23256. in: query
  23257. name: accountID
  23258. required: true
  23259. type: string
  23260. - description: 成交单号
  23261. in: query
  23262. name: tradeID
  23263. type: integer
  23264. - description: 委托单号
  23265. in: query
  23266. name: orderID
  23267. type: integer
  23268. - description: 交易模式 - 格式:1,2,3
  23269. in: query
  23270. name: tradeMode
  23271. type: string
  23272. - description: 委托单据类型
  23273. in: query
  23274. name: buildType
  23275. type: integer
  23276. - description: 成交类别 - 格式:1,2,3
  23277. in: query
  23278. name: tradeType
  23279. type: string
  23280. - description: 商品ID
  23281. in: query
  23282. name: goodsID
  23283. type: integer
  23284. produces:
  23285. - application/json
  23286. responses:
  23287. "200":
  23288. description: OK
  23289. schema:
  23290. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23291. "500":
  23292. description: Internal Server Error
  23293. schema:
  23294. $ref: '#/definitions/app.Response'
  23295. security:
  23296. - ApiKeyAuth: []
  23297. summary: 成交单查询(合约市场)
  23298. tags:
  23299. - 通用单据
  23300. /Order/QueryTradeHolderDetail:
  23301. get:
  23302. parameters:
  23303. - description: 用户id
  23304. in: query
  23305. name: userid
  23306. type: integer
  23307. - description: 资金账号, 格式 1,2,3
  23308. in: query
  23309. name: accids
  23310. type: string
  23311. - description: 交易模式, 格式 1,2,3
  23312. in: query
  23313. name: trademodes
  23314. type: string
  23315. - description: 市场id, 格式 1,2,3
  23316. in: query
  23317. name: marketids
  23318. type: string
  23319. - description: 商品id
  23320. in: query
  23321. name: goodsid
  23322. type: integer
  23323. - description: 买卖方向 0-买 1-卖
  23324. in: query
  23325. name: buyorsell
  23326. type: integer
  23327. produces:
  23328. - application/json
  23329. responses:
  23330. "200":
  23331. description: OK
  23332. schema:
  23333. items:
  23334. $ref: '#/definitions/models.TradeHolderDetail'
  23335. type: array
  23336. "500":
  23337. description: Internal Server Error
  23338. schema:
  23339. $ref: '#/definitions/app.Response'
  23340. security:
  23341. - ApiKeyAuth: []
  23342. summary: 查询持仓明细
  23343. tags:
  23344. - 通用单据
  23345. /Order/QueryTradeOrderDetail:
  23346. get:
  23347. parameters:
  23348. - description: 资金账户 - 格式:1,2,3
  23349. in: query
  23350. name: accountID
  23351. required: true
  23352. type: string
  23353. - description: 交易模式 - 格式:1,2,3
  23354. in: query
  23355. name: tradeMode
  23356. type: string
  23357. - description: 委托状态 - 格式:1,2,3
  23358. in: query
  23359. name: orderStatus
  23360. type: string
  23361. - description: 委托单号
  23362. in: query
  23363. name: orderID
  23364. type: integer
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23372. "500":
  23373. description: Internal Server Error
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. security:
  23377. - ApiKeyAuth: []
  23378. summary: 委托单查询请求(合约市场)
  23379. tags:
  23380. - 通用单据
  23381. /Order/QueryTradePosition:
  23382. get:
  23383. parameters:
  23384. - description: 资金账户 - 格式:1,2,3
  23385. in: query
  23386. name: accountID
  23387. required: true
  23388. type: string
  23389. - description: 交易模式 - 格式:1,2,3
  23390. in: query
  23391. name: tradeMode
  23392. type: string
  23393. produces:
  23394. - application/json
  23395. responses:
  23396. "200":
  23397. description: OK
  23398. schema:
  23399. $ref: '#/definitions/order.QueryTradePositionRsp'
  23400. "500":
  23401. description: Internal Server Error
  23402. schema:
  23403. $ref: '#/definitions/app.Response'
  23404. security:
  23405. - ApiKeyAuth: []
  23406. summary: 持仓汇总查询(合约市场)
  23407. tags:
  23408. - 通用单据
  23409. /Qhj/QueryAccountInOutApply:
  23410. get:
  23411. parameters:
  23412. - description: 用户ID
  23413. in: query
  23414. name: userid
  23415. required: true
  23416. type: integer
  23417. - description: 申请起始日期(格式yyyymmdd)
  23418. in: query
  23419. name: begindate
  23420. type: string
  23421. - description: 申请截止日期(格式yyyymmdd)
  23422. in: query
  23423. name: enddate
  23424. type: string
  23425. - description: 模糊搜索名称
  23426. in: query
  23427. name: likename
  23428. type: string
  23429. produces:
  23430. - application/json
  23431. responses:
  23432. "200":
  23433. description: OK
  23434. schema:
  23435. items:
  23436. $ref: '#/definitions/models.QhjAccountOutInApply'
  23437. type: array
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 查询充值提现
  23445. tags:
  23446. - 大连千海金
  23447. /Qhj/QueryAreaFinanceConfig:
  23448. get:
  23449. parameters:
  23450. - description: 机构用户ID 其他做市关系,都设置为 1
  23451. in: query
  23452. name: userid
  23453. type: integer
  23454. produces:
  23455. - application/json
  23456. responses:
  23457. "200":
  23458. description: OK
  23459. schema:
  23460. items:
  23461. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23462. type: array
  23463. "500":
  23464. description: Internal Server Error
  23465. schema:
  23466. $ref: '#/definitions/app.Response'
  23467. security:
  23468. - ApiKeyAuth: []
  23469. summary: 查询企业配置表
  23470. tags:
  23471. - 大连千海金
  23472. /Qhj/QueryBankAccountSign:
  23473. get:
  23474. parameters:
  23475. - description: 用户ID
  23476. in: query
  23477. name: userid
  23478. required: true
  23479. type: integer
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/models.QhjBankAccountSign'
  23488. type: array
  23489. "500":
  23490. description: Internal Server Error
  23491. schema:
  23492. $ref: '#/definitions/app.Response'
  23493. security:
  23494. - ApiKeyAuth: []
  23495. summary: 查询签约银行信息(提现账户管理)
  23496. tags:
  23497. - 大连千海金
  23498. /Qhj/QueryBankInfo:
  23499. get:
  23500. produces:
  23501. - application/json
  23502. responses:
  23503. "200":
  23504. description: OK
  23505. schema:
  23506. items:
  23507. $ref: '#/definitions/models.QhjBankInfo'
  23508. type: array
  23509. "500":
  23510. description: Internal Server Error
  23511. schema:
  23512. $ref: '#/definitions/app.Response'
  23513. security:
  23514. - ApiKeyAuth: []
  23515. summary: 查询开户行
  23516. tags:
  23517. - 大连千海金
  23518. /Qhj/QueryBrokerApply:
  23519. get:
  23520. parameters:
  23521. - description: 所属机构ID
  23522. in: query
  23523. name: userid
  23524. type: integer
  23525. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23526. in: query
  23527. name: filterstatus
  23528. type: string
  23529. produces:
  23530. - application/json
  23531. responses:
  23532. "200":
  23533. description: OK
  23534. schema:
  23535. items:
  23536. $ref: '#/definitions/models.QhjBrokerApply'
  23537. type: array
  23538. "500":
  23539. description: Internal Server Error
  23540. schema:
  23541. $ref: '#/definitions/app.Response'
  23542. security:
  23543. - ApiKeyAuth: []
  23544. summary: 查询经纪人申请
  23545. tags:
  23546. - 大连千海金
  23547. /Qhj/QueryBrokerApplyEx:
  23548. get:
  23549. parameters:
  23550. - description: 所属机构ID
  23551. in: query
  23552. name: userid
  23553. type: integer
  23554. produces:
  23555. - application/json
  23556. responses:
  23557. "200":
  23558. description: OK
  23559. schema:
  23560. items:
  23561. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23562. type: array
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 查询经纪人信息和申请记录
  23570. tags:
  23571. - 大连千海金
  23572. /Qhj/QueryBrokerRewardLog:
  23573. get:
  23574. parameters:
  23575. - description: 用户ID
  23576. in: query
  23577. name: userid
  23578. required: true
  23579. type: integer
  23580. - description: 开始交易日(yyyymmdd)
  23581. in: query
  23582. name: begindate
  23583. type: string
  23584. - description: 结束交易日(yyyymmdd)
  23585. in: query
  23586. name: enddate
  23587. type: string
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. items:
  23595. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23596. type: array
  23597. "500":
  23598. description: Internal Server Error
  23599. schema:
  23600. $ref: '#/definitions/app.Response'
  23601. security:
  23602. - ApiKeyAuth: []
  23603. summary: 查询奖励流水(我的奖励)
  23604. tags:
  23605. - 大连千海金
  23606. /Qhj/QueryContract:
  23607. get:
  23608. parameters:
  23609. - description: 用户ID
  23610. in: query
  23611. name: userid
  23612. type: integer
  23613. - description: scf合同id
  23614. in: query
  23615. name: scfcontractid
  23616. type: integer
  23617. produces:
  23618. - application/json
  23619. responses:
  23620. "200":
  23621. description: OK
  23622. schema:
  23623. items:
  23624. $ref: '#/definitions/models.QhjContract'
  23625. type: array
  23626. "500":
  23627. description: Internal Server Error
  23628. schema:
  23629. $ref: '#/definitions/app.Response'
  23630. security:
  23631. - ApiKeyAuth: []
  23632. summary: 查询融资明细(合同)
  23633. tags:
  23634. - 大连千海金
  23635. /Qhj/QueryContractLog:
  23636. get:
  23637. parameters:
  23638. - description: scf合同id
  23639. in: query
  23640. name: scfcontractid
  23641. required: true
  23642. type: integer
  23643. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23644. in: query
  23645. name: amounttype
  23646. type: string
  23647. produces:
  23648. - application/json
  23649. responses:
  23650. "200":
  23651. description: OK
  23652. schema:
  23653. items:
  23654. $ref: '#/definitions/models.QhjContractLog'
  23655. type: array
  23656. "500":
  23657. description: Internal Server Error
  23658. schema:
  23659. $ref: '#/definitions/app.Response'
  23660. security:
  23661. - ApiKeyAuth: []
  23662. summary: 查询融资明细流水(融资明细详情页中的流水)
  23663. tags:
  23664. - 大连千海金
  23665. /Qhj/QueryCusBankSignBank:
  23666. get:
  23667. produces:
  23668. - application/json
  23669. responses:
  23670. "200":
  23671. description: OK
  23672. schema:
  23673. items:
  23674. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23675. type: array
  23676. "500":
  23677. description: Internal Server Error
  23678. schema:
  23679. $ref: '#/definitions/app.Response'
  23680. security:
  23681. - ApiKeyAuth: []
  23682. summary: 查询托管银行
  23683. tags:
  23684. - 大连千海金
  23685. /Qhj/QueryCustomerInfo:
  23686. get:
  23687. parameters:
  23688. - description: 用户ID
  23689. in: query
  23690. name: userid
  23691. required: true
  23692. type: integer
  23693. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23694. in: query
  23695. name: querytype
  23696. required: true
  23697. type: integer
  23698. - description: 客户类型 1-个人 2-企业
  23699. in: query
  23700. name: userinfotype
  23701. type: integer
  23702. - description: 客户名称(模糊匹配)
  23703. in: query
  23704. name: customername
  23705. type: string
  23706. - description: 昵称(模糊匹配)
  23707. in: query
  23708. name: nickname
  23709. type: string
  23710. - description: 是否包含子级 1-包含
  23711. in: query
  23712. name: includesub
  23713. type: integer
  23714. produces:
  23715. - application/json
  23716. responses:
  23717. "200":
  23718. description: OK
  23719. schema:
  23720. items:
  23721. $ref: '#/definitions/models.QhjCustomer'
  23722. type: array
  23723. "500":
  23724. description: Internal Server Error
  23725. schema:
  23726. $ref: '#/definitions/app.Response'
  23727. security:
  23728. - ApiKeyAuth: []
  23729. summary: 查询客户资料
  23730. tags:
  23731. - 大连千海金
  23732. /Qhj/QueryGoodsEx:
  23733. get:
  23734. parameters:
  23735. - description: 商品id
  23736. in: query
  23737. name: goodsid
  23738. type: integer
  23739. produces:
  23740. - application/json
  23741. responses:
  23742. "200":
  23743. description: OK
  23744. schema:
  23745. items:
  23746. $ref: '#/definitions/models.Qhjgoodsex'
  23747. type: array
  23748. "500":
  23749. description: Internal Server Error
  23750. schema:
  23751. $ref: '#/definitions/app.Response'
  23752. security:
  23753. - ApiKeyAuth: []
  23754. summary: 交易商品扩展表
  23755. tags:
  23756. - 大连千海金
  23757. /Qhj/QueryMyTeam:
  23758. get:
  23759. parameters:
  23760. - description: 用户ID
  23761. in: query
  23762. name: userid
  23763. required: true
  23764. type: integer
  23765. produces:
  23766. - application/json
  23767. responses:
  23768. "200":
  23769. description: OK
  23770. schema:
  23771. items:
  23772. $ref: '#/definitions/models.QhjMyTeamEx'
  23773. type: array
  23774. "500":
  23775. description: Internal Server Error
  23776. schema:
  23777. $ref: '#/definitions/app.Response'
  23778. security:
  23779. - ApiKeyAuth: []
  23780. summary: 查询我的团队
  23781. tags:
  23782. - 大连千海金
  23783. /Qhj/QueryMyTeamOrder:
  23784. get:
  23785. parameters:
  23786. - description: 页码
  23787. in: query
  23788. name: page
  23789. type: integer
  23790. - description: 每页条数
  23791. in: query
  23792. name: pagesize
  23793. type: integer
  23794. - description: 用户ID
  23795. in: query
  23796. name: userid
  23797. required: true
  23798. type: integer
  23799. - description: 交易模式
  23800. in: query
  23801. name: trademode
  23802. type: integer
  23803. - description: 名称(模糊搜索账户)
  23804. in: query
  23805. name: filtername
  23806. type: string
  23807. produces:
  23808. - application/json
  23809. responses:
  23810. "200":
  23811. description: OK
  23812. schema:
  23813. items:
  23814. $ref: '#/definitions/models.QhjTeamOrder'
  23815. type: array
  23816. "500":
  23817. description: Internal Server Error
  23818. schema:
  23819. $ref: '#/definitions/app.Response'
  23820. security:
  23821. - ApiKeyAuth: []
  23822. summary: 查询团队订单(我的团队/团队订单)
  23823. tags:
  23824. - 大连千海金
  23825. /Qhj/QueryParentAreaList:
  23826. get:
  23827. parameters:
  23828. - description: 用户ID
  23829. in: query
  23830. name: userid
  23831. required: true
  23832. type: integer
  23833. produces:
  23834. - application/json
  23835. responses:
  23836. "200":
  23837. description: OK
  23838. schema:
  23839. items:
  23840. $ref: '#/definitions/models.QhjParentAreaList'
  23841. type: array
  23842. "500":
  23843. description: Internal Server Error
  23844. schema:
  23845. $ref: '#/definitions/app.Response'
  23846. security:
  23847. - ApiKeyAuth: []
  23848. summary: 查询所属机构列表
  23849. tags:
  23850. - 大连千海金
  23851. /Qhj/QueryPayOrder:
  23852. get:
  23853. parameters:
  23854. - description: 资金账号id
  23855. in: query
  23856. name: accountid
  23857. required: true
  23858. type: integer
  23859. - description: 成交单号
  23860. in: query
  23861. name: tradeid
  23862. type: integer
  23863. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23864. in: query
  23865. name: payflag
  23866. type: string
  23867. produces:
  23868. - application/json
  23869. responses:
  23870. "200":
  23871. description: OK
  23872. schema:
  23873. items:
  23874. $ref: '#/definitions/models.QhjPayOrder'
  23875. type: array
  23876. "500":
  23877. description: Internal Server Error
  23878. schema:
  23879. $ref: '#/definitions/app.Response'
  23880. security:
  23881. - ApiKeyAuth: []
  23882. summary: 查询待付款单据
  23883. tags:
  23884. - 大连千海金
  23885. /Qhj/QueryPickArea:
  23886. get:
  23887. parameters:
  23888. - description: 用户ID
  23889. in: query
  23890. name: userid
  23891. type: integer
  23892. produces:
  23893. - application/json
  23894. responses:
  23895. "200":
  23896. description: OK
  23897. schema:
  23898. items:
  23899. $ref: '#/definitions/models.QhjPickArea'
  23900. type: array
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. security:
  23906. - ApiKeyAuth: []
  23907. summary: 查询提货门店
  23908. tags:
  23909. - 大连千海金
  23910. /Qhj/QueryPickGoods:
  23911. get:
  23912. parameters:
  23913. - description: 交易商品id
  23914. in: query
  23915. name: goodsid
  23916. required: true
  23917. type: integer
  23918. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23919. in: query
  23920. name: status
  23921. type: string
  23922. produces:
  23923. - application/json
  23924. responses:
  23925. "200":
  23926. description: OK
  23927. schema:
  23928. items:
  23929. $ref: '#/definitions/models.QhjPickGoods'
  23930. type: array
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 查询提货商品
  23938. tags:
  23939. - 大连千海金
  23940. /Qhj/QueryRSTriggerLog:
  23941. get:
  23942. parameters:
  23943. - description: 用户ID
  23944. in: query
  23945. name: userid
  23946. type: integer
  23947. - description: 定投策略id
  23948. in: query
  23949. name: regularlystrategyid
  23950. type: integer
  23951. - description: 商品id
  23952. in: query
  23953. name: goodsid
  23954. type: integer
  23955. - description: 开始交易日(yyyymmdd)
  23956. in: query
  23957. name: begindate
  23958. type: string
  23959. - description: 结束交易日(yyyymmdd)
  23960. in: query
  23961. name: enddate
  23962. type: string
  23963. - description: 名称(模糊搜索账户)
  23964. in: query
  23965. name: filtername
  23966. type: string
  23967. produces:
  23968. - application/json
  23969. responses:
  23970. "200":
  23971. description: OK
  23972. schema:
  23973. items:
  23974. $ref: '#/definitions/models.QhjRSTriggerLog'
  23975. type: array
  23976. "500":
  23977. description: Internal Server Error
  23978. schema:
  23979. $ref: '#/definitions/app.Response'
  23980. security:
  23981. - ApiKeyAuth: []
  23982. summary: 查询定投记录(定投管理/详情/定投记录)
  23983. tags:
  23984. - 大连千海金
  23985. /Qhj/QueryRStrategy:
  23986. get:
  23987. parameters:
  23988. - description: 用户ID
  23989. in: query
  23990. name: userid
  23991. type: integer
  23992. - description: 商品id
  23993. in: query
  23994. name: goodsid
  23995. type: integer
  23996. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23997. in: query
  23998. name: status
  23999. type: string
  24000. - description: 名称(模糊搜索账户)
  24001. in: query
  24002. name: filtername
  24003. type: string
  24004. produces:
  24005. - application/json
  24006. responses:
  24007. "200":
  24008. description: OK
  24009. schema:
  24010. items:
  24011. $ref: '#/definitions/models.QhjRStrategy'
  24012. type: array
  24013. "500":
  24014. description: Internal Server Error
  24015. schema:
  24016. $ref: '#/definitions/app.Response'
  24017. security:
  24018. - ApiKeyAuth: []
  24019. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24020. tags:
  24021. - 大连千海金
  24022. /Qhj/QueryReckonPriceLog:
  24023. get:
  24024. parameters:
  24025. - description: 商品ID
  24026. in: query
  24027. name: goodsid
  24028. type: integer
  24029. - description: 交易日 格式(yyyymmdd)
  24030. in: query
  24031. name: tradedate
  24032. type: string
  24033. produces:
  24034. - application/json
  24035. responses:
  24036. "200":
  24037. description: OK
  24038. schema:
  24039. items:
  24040. $ref: '#/definitions/models.QhjReckonPriceLog'
  24041. type: array
  24042. "500":
  24043. description: Internal Server Error
  24044. schema:
  24045. $ref: '#/definitions/app.Response'
  24046. security:
  24047. - ApiKeyAuth: []
  24048. summary: 查询定投价(结算价)
  24049. tags:
  24050. - 大连千海金
  24051. /Qhj/QueryScoreLog:
  24052. get:
  24053. parameters:
  24054. - description: 用户ID
  24055. in: query
  24056. name: userid
  24057. required: true
  24058. type: integer
  24059. - description: 开始交易日(yyyymmdd)
  24060. in: query
  24061. name: begindate
  24062. type: string
  24063. - description: 结束交易日(yyyymmdd)
  24064. in: query
  24065. name: enddate
  24066. type: string
  24067. - description: 最近多少条
  24068. in: query
  24069. name: lastnum
  24070. type: integer
  24071. produces:
  24072. - application/json
  24073. responses:
  24074. "200":
  24075. description: OK
  24076. schema:
  24077. items:
  24078. $ref: '#/definitions/models.QhjScoreLog'
  24079. type: array
  24080. "500":
  24081. description: Internal Server Error
  24082. schema:
  24083. $ref: '#/definitions/app.Response'
  24084. security:
  24085. - ApiKeyAuth: []
  24086. summary: 查询积分流水(我的积分)
  24087. tags:
  24088. - 大连千海金
  24089. /Qhj/QuerySiteColumnDetail:
  24090. get:
  24091. parameters:
  24092. - description: 用户ID
  24093. in: query
  24094. name: userid
  24095. required: true
  24096. type: integer
  24097. produces:
  24098. - application/json
  24099. responses:
  24100. "200":
  24101. description: OK
  24102. schema:
  24103. items:
  24104. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24105. type: array
  24106. "500":
  24107. description: Internal Server Error
  24108. schema:
  24109. $ref: '#/definitions/app.Response'
  24110. security:
  24111. - ApiKeyAuth: []
  24112. summary: 查询资讯
  24113. tags:
  24114. - 大连千海金
  24115. /Qhj/QueryTradeGoodsPickup:
  24116. get:
  24117. parameters:
  24118. - description: 用户ID
  24119. in: query
  24120. name: userid
  24121. required: true
  24122. type: integer
  24123. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24124. in: query
  24125. name: takeorderstatus
  24126. type: integer
  24127. produces:
  24128. - application/json
  24129. responses:
  24130. "200":
  24131. description: OK
  24132. schema:
  24133. items:
  24134. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24135. type: array
  24136. "500":
  24137. description: Internal Server Error
  24138. schema:
  24139. $ref: '#/definitions/app.Response'
  24140. security:
  24141. - ApiKeyAuth: []
  24142. summary: 查询提货
  24143. tags:
  24144. - 大连千海金
  24145. /Qhj/QueryUserCollectConfig:
  24146. get:
  24147. parameters:
  24148. - description: 用户ID
  24149. in: query
  24150. name: userid
  24151. required: true
  24152. type: integer
  24153. produces:
  24154. - application/json
  24155. responses:
  24156. "200":
  24157. description: OK
  24158. schema:
  24159. items:
  24160. $ref: '#/definitions/models.UserCollectConfig'
  24161. type: array
  24162. "500":
  24163. description: Internal Server Error
  24164. schema:
  24165. $ref: '#/definitions/app.Response'
  24166. security:
  24167. - ApiKeyAuth: []
  24168. summary: 查询提现账户设置
  24169. tags:
  24170. - 大连千海金
  24171. /Qhj/QueryUserReceiveInfo:
  24172. get:
  24173. parameters:
  24174. - description: 用户ID
  24175. in: query
  24176. name: userid
  24177. required: true
  24178. type: integer
  24179. produces:
  24180. - application/json
  24181. responses:
  24182. "200":
  24183. description: OK
  24184. schema:
  24185. items:
  24186. $ref: '#/definitions/models.UserReceiveInfo'
  24187. type: array
  24188. "500":
  24189. description: Internal Server Error
  24190. schema:
  24191. $ref: '#/definitions/app.Response'
  24192. security:
  24193. - ApiKeyAuth: []
  24194. summary: 查询收货地址信息
  24195. tags:
  24196. - 大连千海金
  24197. /QhjMgr/QueryAccountInOutApply:
  24198. get:
  24199. parameters:
  24200. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24201. in: query
  24202. name: querytype
  24203. required: true
  24204. type: integer
  24205. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24206. in: query
  24207. name: applystatus
  24208. type: integer
  24209. - description: 申请起始日期(格式yyyymmdd)
  24210. in: query
  24211. name: begindate
  24212. type: string
  24213. - description: 申请截止日期(格式yyyymmdd)
  24214. in: query
  24215. name: enddate
  24216. type: string
  24217. - description: 模糊搜索名称
  24218. in: query
  24219. name: likename
  24220. type: string
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 查询充值提现
  24237. tags:
  24238. - 大连千海金(PCWeb)
  24239. /QhjMgr/QueryBrokerApply:
  24240. get:
  24241. parameters:
  24242. - description: 所属机构ID
  24243. in: query
  24244. name: userid
  24245. type: integer
  24246. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24247. in: query
  24248. name: filterstatus
  24249. type: string
  24250. - description: 名称(模糊匹配)
  24251. in: query
  24252. name: filtername
  24253. type: string
  24254. - description: 是否包含子级 1-包含
  24255. in: query
  24256. name: includesub
  24257. type: integer
  24258. produces:
  24259. - application/json
  24260. responses:
  24261. "200":
  24262. description: OK
  24263. schema:
  24264. items:
  24265. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24266. type: array
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 查询经纪人申请
  24274. tags:
  24275. - 大连千海金(PCWeb)
  24276. /QhjMgr/QueryBrokerRewardReport:
  24277. get:
  24278. parameters:
  24279. - description: 所属机构ID
  24280. in: query
  24281. name: userid
  24282. required: true
  24283. type: integer
  24284. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24285. in: query
  24286. name: cycletype
  24287. required: true
  24288. type: integer
  24289. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24290. in: query
  24291. name: cycletime
  24292. required: true
  24293. type: string
  24294. - description: 名称(模糊匹配)
  24295. in: query
  24296. name: filtername
  24297. type: string
  24298. - description: 是否包含子级 1-包含
  24299. in: query
  24300. name: includesub
  24301. type: integer
  24302. produces:
  24303. - application/json
  24304. responses:
  24305. "200":
  24306. description: OK
  24307. schema:
  24308. items:
  24309. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24310. type: array
  24311. "500":
  24312. description: Internal Server Error
  24313. schema:
  24314. $ref: '#/definitions/app.Response'
  24315. security:
  24316. - ApiKeyAuth: []
  24317. summary: 查询经纪人奖励报表(废弃)
  24318. tags:
  24319. - 大连千海金(PCWeb)
  24320. /QhjMgr/QueryContract:
  24321. get:
  24322. parameters:
  24323. - description: 用户ID
  24324. in: query
  24325. name: userid
  24326. type: integer
  24327. - description: 商品id
  24328. in: query
  24329. name: goodsid
  24330. type: integer
  24331. - description: 名称(模糊搜索账户)
  24332. in: query
  24333. name: filtername
  24334. type: string
  24335. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24336. in: query
  24337. name: risklevel
  24338. type: string
  24339. - description: 开始交易日(yyyymmdd)
  24340. in: query
  24341. name: begindate
  24342. type: string
  24343. - description: 结束交易日(yyyymmdd)
  24344. in: query
  24345. name: enddate
  24346. type: string
  24347. produces:
  24348. - application/json
  24349. responses:
  24350. "200":
  24351. description: OK
  24352. schema:
  24353. items:
  24354. $ref: '#/definitions/models.QhjMgrContract'
  24355. type: array
  24356. "500":
  24357. description: Internal Server Error
  24358. schema:
  24359. $ref: '#/definitions/app.Response'
  24360. security:
  24361. - ApiKeyAuth: []
  24362. summary: 查询融资信息(合同)
  24363. tags:
  24364. - 大连千海金(PCWeb)
  24365. /QhjMgr/QueryCustomerInfo:
  24366. get:
  24367. parameters:
  24368. - description: 用户ID
  24369. in: query
  24370. name: userid
  24371. required: true
  24372. type: integer
  24373. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24374. in: query
  24375. name: querytype
  24376. required: true
  24377. type: integer
  24378. - description: 客户类型 1-个人 2-企业
  24379. in: query
  24380. name: userinfotype
  24381. type: integer
  24382. - description: 客户名称(模糊匹配)
  24383. in: query
  24384. name: customername
  24385. type: string
  24386. - description: 昵称(模糊匹配)
  24387. in: query
  24388. name: nickname
  24389. type: string
  24390. - description: 所属客户经理(模糊匹配)
  24391. in: query
  24392. name: brokername
  24393. type: string
  24394. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24395. in: query
  24396. name: birthday
  24397. type: string
  24398. - description: 是否包含子级 1-包含
  24399. in: query
  24400. name: includesub
  24401. type: integer
  24402. produces:
  24403. - application/json
  24404. responses:
  24405. "200":
  24406. description: OK
  24407. schema:
  24408. items:
  24409. $ref: '#/definitions/models.QhjMgrCustomer'
  24410. type: array
  24411. "500":
  24412. description: Internal Server Error
  24413. schema:
  24414. $ref: '#/definitions/app.Response'
  24415. security:
  24416. - ApiKeyAuth: []
  24417. summary: 查询客户资料
  24418. tags:
  24419. - 大连千海金(PCWeb)
  24420. /QhjMgr/QueryPickGoods:
  24421. get:
  24422. parameters:
  24423. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24424. in: query
  24425. name: status
  24426. type: string
  24427. produces:
  24428. - application/json
  24429. responses:
  24430. "200":
  24431. description: OK
  24432. schema:
  24433. items:
  24434. $ref: '#/definitions/models.QhjMgrPickGoods'
  24435. type: array
  24436. "500":
  24437. description: Internal Server Error
  24438. schema:
  24439. $ref: '#/definitions/app.Response'
  24440. security:
  24441. - ApiKeyAuth: []
  24442. summary: 查询提货商品
  24443. tags:
  24444. - 大连千海金(PCWeb)
  24445. /QhjMgr/QuerySubArea:
  24446. get:
  24447. parameters:
  24448. - description: 用户ID
  24449. in: query
  24450. name: userid
  24451. required: true
  24452. type: integer
  24453. produces:
  24454. - application/json
  24455. responses:
  24456. "200":
  24457. description: OK
  24458. schema:
  24459. items:
  24460. $ref: '#/definitions/models.QhjMgrSubArea'
  24461. type: array
  24462. "500":
  24463. description: Internal Server Error
  24464. schema:
  24465. $ref: '#/definitions/app.Response'
  24466. security:
  24467. - ApiKeyAuth: []
  24468. summary: 查询子机构列表
  24469. tags:
  24470. - 大连千海金(PCWeb)
  24471. /QhjMgr/QueryTradeDetail:
  24472. get:
  24473. parameters:
  24474. - description: 用户ID
  24475. in: query
  24476. name: userid
  24477. required: true
  24478. type: integer
  24479. - description: 用户类型 1-个人 2-企业
  24480. in: query
  24481. name: userinfotype
  24482. type: integer
  24483. - description: 交易模式
  24484. in: query
  24485. name: trademode
  24486. type: integer
  24487. - description: 商品id
  24488. in: query
  24489. name: goodsid
  24490. type: integer
  24491. - description: 名称(模糊搜索账户)
  24492. in: query
  24493. name: filtername
  24494. type: string
  24495. - description: 开始交易日(yyyymmdd)
  24496. in: query
  24497. name: begindate
  24498. type: string
  24499. - description: 结束交易日(yyyymmdd)
  24500. in: query
  24501. name: enddate
  24502. type: string
  24503. - description: 是否包含子级 1-包含
  24504. in: query
  24505. name: includesub
  24506. type: integer
  24507. produces:
  24508. - application/json
  24509. responses:
  24510. "200":
  24511. description: OK
  24512. schema:
  24513. items:
  24514. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24515. type: array
  24516. "500":
  24517. description: Internal Server Error
  24518. schema:
  24519. $ref: '#/definitions/app.Response'
  24520. security:
  24521. - ApiKeyAuth: []
  24522. summary: 查询成交明细
  24523. tags:
  24524. - 大连千海金(PCWeb)
  24525. /QhjMgr/QueryTradeOrderDetail:
  24526. get:
  24527. parameters:
  24528. - description: 用户ID
  24529. in: query
  24530. name: userid
  24531. required: true
  24532. type: integer
  24533. - description: 用户类型 1-个人 2-企业
  24534. in: query
  24535. name: userinfotype
  24536. type: integer
  24537. - description: 交易模式
  24538. in: query
  24539. name: trademode
  24540. type: integer
  24541. - description: 商品id
  24542. in: query
  24543. name: goodsid
  24544. type: integer
  24545. - description: 名称(模糊搜索账户)
  24546. in: query
  24547. name: filtername
  24548. type: string
  24549. - description: 开始交易日(yyyymmdd)
  24550. in: query
  24551. name: begindate
  24552. type: string
  24553. - description: 结束交易日(yyyymmdd)
  24554. in: query
  24555. name: enddate
  24556. type: string
  24557. - description: 是否包含子级 1-包含
  24558. in: query
  24559. name: includesub
  24560. type: integer
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. items:
  24568. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24569. type: array
  24570. "500":
  24571. description: Internal Server Error
  24572. schema:
  24573. $ref: '#/definitions/app.Response'
  24574. security:
  24575. - ApiKeyAuth: []
  24576. summary: 查询委托明细
  24577. tags:
  24578. - 大连千海金(PCWeb)
  24579. /QhjMgr/QueryTradePayOrder:
  24580. get:
  24581. parameters:
  24582. - description: 用户ID
  24583. in: query
  24584. name: userid
  24585. required: true
  24586. type: integer
  24587. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24588. in: query
  24589. name: payflag
  24590. type: string
  24591. - description: 用户类型 1-个人 2-企业
  24592. in: query
  24593. name: userinfotype
  24594. type: integer
  24595. - description: 交易模式
  24596. in: query
  24597. name: trademode
  24598. type: integer
  24599. - description: 商品id
  24600. in: query
  24601. name: goodsid
  24602. type: integer
  24603. - description: 名称(模糊搜索账户)
  24604. in: query
  24605. name: filtername
  24606. type: string
  24607. - description: 开始交易日(yyyymmdd)
  24608. in: query
  24609. name: begindate
  24610. type: string
  24611. - description: 结束交易日(yyyymmdd)
  24612. in: query
  24613. name: enddate
  24614. type: string
  24615. - description: 是否包含子级 1-包含
  24616. in: query
  24617. name: includesub
  24618. type: integer
  24619. produces:
  24620. - application/json
  24621. responses:
  24622. "200":
  24623. description: OK
  24624. schema:
  24625. items:
  24626. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24627. type: array
  24628. "500":
  24629. description: Internal Server Error
  24630. schema:
  24631. $ref: '#/definitions/app.Response'
  24632. security:
  24633. - ApiKeyAuth: []
  24634. summary: 查询待付款单
  24635. tags:
  24636. - 大连千海金(PCWeb)
  24637. /QhjMgr/QueryTradePosition:
  24638. get:
  24639. parameters:
  24640. - description: 用户ID
  24641. in: query
  24642. name: userid
  24643. required: true
  24644. type: integer
  24645. - description: 用户类型 1-个人 2-企业
  24646. in: query
  24647. name: userinfotype
  24648. type: integer
  24649. - description: 交易模式
  24650. in: query
  24651. name: trademode
  24652. type: integer
  24653. - description: 商品id
  24654. in: query
  24655. name: goodsid
  24656. type: integer
  24657. - description: 名称(模糊搜索账户)
  24658. in: query
  24659. name: filtername
  24660. type: string
  24661. - description: 是否包含子级 1-包含
  24662. in: query
  24663. name: includesub
  24664. type: integer
  24665. produces:
  24666. - application/json
  24667. responses:
  24668. "200":
  24669. description: OK
  24670. schema:
  24671. items:
  24672. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24673. type: array
  24674. "500":
  24675. description: Internal Server Error
  24676. schema:
  24677. $ref: '#/definitions/app.Response'
  24678. security:
  24679. - ApiKeyAuth: []
  24680. summary: 查询持仓汇总
  24681. tags:
  24682. - 大连千海金(PCWeb)
  24683. /QhjSys/QueryAgreementChangeLog:
  24684. get:
  24685. parameters:
  24686. - description: 协议ID
  24687. in: query
  24688. name: agreementid
  24689. type: integer
  24690. - description: 协议版本号
  24691. in: query
  24692. name: agreementversion
  24693. type: integer
  24694. - description: 协议类型 - 1:注册 2:登录 3:交易
  24695. in: query
  24696. name: agreementtype
  24697. type: integer
  24698. - description: 协议编号(模糊匹配)
  24699. in: query
  24700. name: agreementno
  24701. type: string
  24702. - description: 协议名称(模糊匹配)
  24703. in: query
  24704. name: agreementname
  24705. type: string
  24706. produces:
  24707. - application/json
  24708. responses:
  24709. "200":
  24710. description: OK
  24711. schema:
  24712. items:
  24713. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24714. type: array
  24715. "500":
  24716. description: Internal Server Error
  24717. schema:
  24718. $ref: '#/definitions/app.Response'
  24719. security:
  24720. - ApiKeyAuth: []
  24721. summary: 查询协议配置变更流水
  24722. tags:
  24723. - 大连千海金(协议和签约信息)
  24724. /QhjSys/QueryAgreementConfig:
  24725. get:
  24726. parameters:
  24727. - description: 协议ID
  24728. in: query
  24729. name: agreementid
  24730. type: integer
  24731. - description: 协议版本号
  24732. in: query
  24733. name: agreementversion
  24734. type: integer
  24735. - description: 协议类型 - 1:注册 2:登录 3:交易
  24736. in: query
  24737. name: agreementtype
  24738. type: integer
  24739. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24740. in: query
  24741. name: isvalid
  24742. type: integer
  24743. - description: 协议编号(模糊匹配)
  24744. in: query
  24745. name: agreementno
  24746. type: string
  24747. - description: 协议名称(模糊匹配)
  24748. in: query
  24749. name: agreementname
  24750. type: string
  24751. produces:
  24752. - application/json
  24753. responses:
  24754. "200":
  24755. description: OK
  24756. schema:
  24757. items:
  24758. $ref: '#/definitions/models.QhjAgreementConfig'
  24759. type: array
  24760. "500":
  24761. description: Internal Server Error
  24762. schema:
  24763. $ref: '#/definitions/app.Response'
  24764. security:
  24765. - ApiKeyAuth: []
  24766. summary: 查询协议配置
  24767. tags:
  24768. - 大连千海金(协议和签约信息)
  24769. /QhjSys/QueryCustomerSignStatus:
  24770. get:
  24771. parameters:
  24772. - description: 客户ID
  24773. in: query
  24774. name: userid
  24775. type: integer
  24776. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24777. in: query
  24778. name: nodetype
  24779. type: integer
  24780. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24781. in: query
  24782. name: goodsid
  24783. type: integer
  24784. - description: 创建交易日(yyyyMMdd)
  24785. in: query
  24786. name: tradedate
  24787. type: string
  24788. - description: 用户名称(模糊匹配)
  24789. in: query
  24790. name: username
  24791. type: string
  24792. produces:
  24793. - application/json
  24794. responses:
  24795. "200":
  24796. description: OK
  24797. schema:
  24798. items:
  24799. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24800. type: array
  24801. "500":
  24802. description: Internal Server Error
  24803. schema:
  24804. $ref: '#/definitions/app.Response'
  24805. security:
  24806. - ApiKeyAuth: []
  24807. summary: 查询客户协议签约状态
  24808. tags:
  24809. - 大连千海金(协议和签约信息)
  24810. /QhjSys/QueryNodeAgreementConfig:
  24811. get:
  24812. parameters:
  24813. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24814. in: query
  24815. name: configid
  24816. type: integer
  24817. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24818. in: query
  24819. name: nodetype
  24820. type: integer
  24821. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24822. in: query
  24823. name: goodsid
  24824. type: integer
  24825. - description: 协议ID
  24826. in: query
  24827. name: agreementid
  24828. type: integer
  24829. - description: 协议类型 - 1:注册 2:登录 3:交易
  24830. in: query
  24831. name: agreementtype
  24832. type: integer
  24833. - description: 协议版本号
  24834. in: query
  24835. name: agreementversion
  24836. type: integer
  24837. - description: 协议编号(模糊匹配)
  24838. in: query
  24839. name: agreementno
  24840. type: string
  24841. - description: 协议名称(模糊匹配)
  24842. in: query
  24843. name: agreementname
  24844. type: string
  24845. produces:
  24846. - application/json
  24847. responses:
  24848. "200":
  24849. description: OK
  24850. schema:
  24851. items:
  24852. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24853. type: array
  24854. "500":
  24855. description: Internal Server Error
  24856. schema:
  24857. $ref: '#/definitions/app.Response'
  24858. security:
  24859. - ApiKeyAuth: []
  24860. summary: 查询协议节点配置
  24861. tags:
  24862. - 大连千海金(协议和签约信息)
  24863. /QhjSys/QueryQhjCustomerSignLog:
  24864. get:
  24865. parameters:
  24866. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24867. in: query
  24868. name: logid
  24869. type: integer
  24870. - description: 客户ID
  24871. in: query
  24872. name: userid
  24873. type: integer
  24874. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24875. in: query
  24876. name: nodetype
  24877. type: integer
  24878. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24879. in: query
  24880. name: goodsid
  24881. type: integer
  24882. - description: 协议ID
  24883. in: query
  24884. name: agreementid
  24885. type: integer
  24886. - description: 用户名称(模糊匹配)
  24887. in: query
  24888. name: username
  24889. type: string
  24890. - description: 协议编号(模糊匹配)
  24891. in: query
  24892. name: agreementno
  24893. type: string
  24894. - description: 协议名称(模糊匹配)
  24895. in: query
  24896. name: agreementname
  24897. type: string
  24898. produces:
  24899. - application/json
  24900. responses:
  24901. "200":
  24902. description: OK
  24903. schema:
  24904. items:
  24905. $ref: '#/definitions/models.QhjCustomerSignLog'
  24906. type: array
  24907. "500":
  24908. description: Internal Server Error
  24909. schema:
  24910. $ref: '#/definitions/app.Response'
  24911. security:
  24912. - ApiKeyAuth: []
  24913. summary: 查询客户协议签约流水
  24914. tags:
  24915. - 大连千海金(协议和签约信息)
  24916. /QhjSys/QueryUserNodeCfgAndStatus:
  24917. get:
  24918. parameters:
  24919. - description: 客户ID
  24920. in: query
  24921. name: userid
  24922. type: integer
  24923. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24924. in: query
  24925. name: configid
  24926. type: integer
  24927. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24928. in: query
  24929. name: nodetype
  24930. type: string
  24931. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24932. in: query
  24933. name: goodsid
  24934. type: integer
  24935. - description: 协议ID
  24936. in: query
  24937. name: agreementid
  24938. type: integer
  24939. - description: 协议类型 - 1:注册 2:登录 3:交易
  24940. in: query
  24941. name: agreementtype
  24942. type: integer
  24943. - description: 协议版本号
  24944. in: query
  24945. name: agreementversion
  24946. type: integer
  24947. - description: 协议编号(模糊匹配)
  24948. in: query
  24949. name: agreementno
  24950. type: string
  24951. - description: 协议名称(模糊匹配)
  24952. in: query
  24953. name: agreementname
  24954. type: string
  24955. produces:
  24956. - application/json
  24957. responses:
  24958. "200":
  24959. description: OK
  24960. schema:
  24961. items:
  24962. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24963. type: array
  24964. "500":
  24965. description: Internal Server Error
  24966. schema:
  24967. $ref: '#/definitions/app.Response'
  24968. security:
  24969. - ApiKeyAuth: []
  24970. summary: 查询用户协议节点配置和状态
  24971. tags:
  24972. - 大连千海金(协议和签约信息)
  24973. /Quote/QueryHistoryDatas:
  24974. get:
  24975. parameters:
  24976. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  24977. in: query
  24978. name: cycleType
  24979. required: true
  24980. type: integer
  24981. - description: 商品代码
  24982. in: query
  24983. name: goodsCode
  24984. required: true
  24985. type: string
  24986. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24987. in: query
  24988. name: startTime
  24989. type: string
  24990. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24991. in: query
  24992. name: endTime
  24993. type: string
  24994. - description: 条数
  24995. in: query
  24996. name: count
  24997. type: integer
  24998. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24999. in: query
  25000. name: isAsc
  25001. type: boolean
  25002. produces:
  25003. - application/json
  25004. responses:
  25005. "200":
  25006. description: OK
  25007. schema:
  25008. $ref: '#/definitions/quote.HistoryData'
  25009. "500":
  25010. description: Internal Server Error
  25011. schema:
  25012. $ref: '#/definitions/app.Response'
  25013. security:
  25014. - ApiKeyAuth: []
  25015. summary: 查询行情历史数据
  25016. tags:
  25017. - 行情服务
  25018. /Quote/QueryHistoryTikDatas:
  25019. get:
  25020. parameters:
  25021. - description: 商品代码
  25022. in: query
  25023. name: goodsCode
  25024. required: true
  25025. type: string
  25026. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25027. in: query
  25028. name: startTime
  25029. type: string
  25030. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25031. in: query
  25032. name: endTime
  25033. type: string
  25034. - description: 条数
  25035. in: query
  25036. name: count
  25037. type: integer
  25038. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25039. in: query
  25040. name: isAsc
  25041. type: boolean
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. $ref: '#/definitions/quote.HistoryTikData'
  25049. "500":
  25050. description: Internal Server Error
  25051. schema:
  25052. $ref: '#/definitions/app.Response'
  25053. security:
  25054. - ApiKeyAuth: []
  25055. summary: 查询行情Tik数据
  25056. tags:
  25057. - 行情服务
  25058. /Quote/QueryQuoteDay:
  25059. get:
  25060. parameters:
  25061. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25062. in: query
  25063. name: goodsCodes
  25064. required: true
  25065. type: string
  25066. produces:
  25067. - application/json
  25068. responses:
  25069. "200":
  25070. description: OK
  25071. schema:
  25072. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25073. "500":
  25074. description: Internal Server Error
  25075. schema:
  25076. $ref: '#/definitions/app.Response'
  25077. security:
  25078. - ApiKeyAuth: []
  25079. summary: 获取商品盘面信息
  25080. tags:
  25081. - 行情服务
  25082. /Quote/QueryTSData:
  25083. get:
  25084. parameters:
  25085. - description: 商品代码
  25086. in: query
  25087. name: goodsCode
  25088. required: true
  25089. type: string
  25090. produces:
  25091. - application/json
  25092. responses:
  25093. "200":
  25094. description: OK
  25095. schema:
  25096. $ref: '#/definitions/quote.QueryTSDataRsp'
  25097. "500":
  25098. description: Internal Server Error
  25099. schema:
  25100. $ref: '#/definitions/app.Response'
  25101. security:
  25102. - ApiKeyAuth: []
  25103. summary: 分时图数据查询
  25104. tags:
  25105. - 行情服务
  25106. /SZDZ/QueryConvertConfig:
  25107. get:
  25108. parameters:
  25109. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25110. in: query
  25111. name: convertType
  25112. type: integer
  25113. - description: 外部商品代码[JD\PD]
  25114. in: query
  25115. name: outerGoodsCode
  25116. type: string
  25117. - description: 内部商品ID列表[交易],格式:1,2,3
  25118. in: query
  25119. name: innerGoodsIDs
  25120. type: string
  25121. produces:
  25122. - application/json
  25123. responses:
  25124. "200":
  25125. description: OK
  25126. schema:
  25127. $ref: '#/definitions/models.Szdz3convertconfig'
  25128. "500":
  25129. description: Internal Server Error
  25130. schema:
  25131. $ref: '#/definitions/app.Response'
  25132. security:
  25133. - ApiKeyAuth: []
  25134. summary: 查询交易系统转换设置
  25135. tags:
  25136. - 定制【尚志大宗】
  25137. /SZDZ/QueryConvertLog:
  25138. get:
  25139. parameters:
  25140. - description: 资金账户 - 格式:1,2,3
  25141. in: query
  25142. name: accountID
  25143. required: true
  25144. type: string
  25145. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25146. in: query
  25147. name: startDate
  25148. type: string
  25149. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25150. in: query
  25151. name: endDate
  25152. type: string
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25160. "500":
  25161. description: Internal Server Error
  25162. schema:
  25163. $ref: '#/definitions/app.Response'
  25164. security:
  25165. - ApiKeyAuth: []
  25166. summary: 交易系统转换流水查询
  25167. tags:
  25168. - 定制【尚志大宗】
  25169. /SZDZ/QueryGoodsPickup:
  25170. get:
  25171. parameters:
  25172. - description: 资金账户 - 格式:1,2,3
  25173. in: query
  25174. name: accountID
  25175. required: true
  25176. type: string
  25177. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25178. in: query
  25179. name: takeOrderStatus
  25180. type: integer
  25181. produces:
  25182. - application/json
  25183. responses:
  25184. "200":
  25185. description: OK
  25186. schema:
  25187. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25188. "500":
  25189. description: Internal Server Error
  25190. schema:
  25191. $ref: '#/definitions/app.Response'
  25192. security:
  25193. - ApiKeyAuth: []
  25194. summary: 商品提货单查询
  25195. tags:
  25196. - 定制【尚志大宗】
  25197. /SZDZ/QueryRecieptOrder:
  25198. get:
  25199. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25200. parameters:
  25201. - description: 页码
  25202. in: query
  25203. name: page
  25204. type: integer
  25205. - description: 每页条数
  25206. in: query
  25207. name: pagesize
  25208. type: integer
  25209. - description: 商品ID
  25210. in: query
  25211. name: goodsID
  25212. required: true
  25213. type: integer
  25214. - description: 所属账户名称
  25215. in: query
  25216. name: accountName
  25217. type: string
  25218. - description: 市场ID
  25219. in: query
  25220. name: marketID
  25221. type: integer
  25222. - description: 方向 - 0:买 1:卖
  25223. in: query
  25224. name: buyorsell
  25225. required: true
  25226. type: integer
  25227. produces:
  25228. - application/json
  25229. responses:
  25230. "200":
  25231. description: OK
  25232. schema:
  25233. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25234. "500":
  25235. description: Internal Server Error
  25236. schema:
  25237. $ref: '#/definitions/app.Response'
  25238. security:
  25239. - ApiKeyAuth: []
  25240. summary: 点选挂牌委托单据查询(摘牌大厅)
  25241. tags:
  25242. - 定制【尚志大宗】
  25243. /SZDZ/QuerySZDZTradePosition:
  25244. get:
  25245. parameters:
  25246. - description: 资金账户
  25247. in: query
  25248. name: accountID
  25249. required: true
  25250. type: integer
  25251. produces:
  25252. - application/json
  25253. responses:
  25254. "200":
  25255. description: OK
  25256. schema:
  25257. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25258. "500":
  25259. description: Internal Server Error
  25260. schema:
  25261. $ref: '#/definitions/app.Response'
  25262. security:
  25263. - ApiKeyAuth: []
  25264. summary: 持仓汇总查询(尚志大宗)
  25265. tags:
  25266. - 定制【尚志大宗】
  25267. /SZDZ/SearchWhite:
  25268. get:
  25269. parameters:
  25270. - description: 用户ID
  25271. in: query
  25272. name: userID
  25273. required: true
  25274. type: integer
  25275. produces:
  25276. - application/json
  25277. responses:
  25278. "200":
  25279. description: OK
  25280. schema:
  25281. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25282. "500":
  25283. description: Internal Server Error
  25284. schema:
  25285. $ref: '#/definitions/app.Response'
  25286. security:
  25287. - ApiKeyAuth: []
  25288. summary: 搜索白名单
  25289. tags:
  25290. - 定制【尚志大宗】
  25291. /Search/SearchGoodses:
  25292. get:
  25293. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25294. parameters:
  25295. - description: 检索内容
  25296. in: query
  25297. name: content
  25298. required: true
  25299. type: string
  25300. - description: 交易模式,格式:1,2,3
  25301. in: query
  25302. name: tradeModes
  25303. type: string
  25304. produces:
  25305. - application/json
  25306. responses:
  25307. "200":
  25308. description: OK
  25309. schema:
  25310. $ref: '#/definitions/models.SearchGoods'
  25311. "500":
  25312. description: Internal Server Error
  25313. schema:
  25314. $ref: '#/definitions/app.Response'
  25315. summary: 检索商品信息
  25316. tags:
  25317. - 检索服务
  25318. /TaAccount/GetTaAccounts:
  25319. get:
  25320. parameters:
  25321. - description: 登录账户
  25322. in: query
  25323. name: loginID
  25324. required: true
  25325. type: integer
  25326. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25327. in: query
  25328. name: taAccountType
  25329. type: integer
  25330. produces:
  25331. - application/json
  25332. responses:
  25333. "200":
  25334. description: OK
  25335. schema:
  25336. $ref: '#/definitions/models.Taaccount'
  25337. "500":
  25338. description: Internal Server Error
  25339. schema:
  25340. $ref: '#/definitions/app.Response'
  25341. security:
  25342. - ApiKeyAuth: []
  25343. summary: 获取资金账户信息
  25344. tags:
  25345. - 资金账户
  25346. /TaAccount/QueryAmountLog:
  25347. get:
  25348. parameters:
  25349. - description: 页码
  25350. in: query
  25351. name: page
  25352. type: integer
  25353. - description: 每页条数
  25354. in: query
  25355. name: pagesize
  25356. type: integer
  25357. - description: 资金账户 - 格式:1,2,3
  25358. in: query
  25359. name: accountID
  25360. required: true
  25361. type: string
  25362. - description: 资金操作类型 - 格式:1,2,3
  25363. in: query
  25364. name: OperateType
  25365. type: string
  25366. produces:
  25367. - application/json
  25368. responses:
  25369. "200":
  25370. description: OK
  25371. schema:
  25372. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25373. "500":
  25374. description: Internal Server Error
  25375. schema:
  25376. $ref: '#/definitions/app.Response'
  25377. security:
  25378. - ApiKeyAuth: []
  25379. summary: 资金流水查询(当前)
  25380. tags:
  25381. - 资金账户
  25382. /TaAccount/QueryHisAmountLog:
  25383. get:
  25384. parameters:
  25385. - description: 页码
  25386. in: query
  25387. name: page
  25388. type: integer
  25389. - description: 每页条数
  25390. in: query
  25391. name: pagesize
  25392. type: integer
  25393. - description: 资金账户 - 格式:1,2,3
  25394. in: query
  25395. name: accountID
  25396. required: true
  25397. type: string
  25398. - description: 资金操作类型 - 格式:1,2,3
  25399. in: query
  25400. name: OperateType
  25401. type: string
  25402. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25403. in: query
  25404. name: startDate
  25405. type: string
  25406. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25407. in: query
  25408. name: endDate
  25409. type: string
  25410. produces:
  25411. - application/json
  25412. responses:
  25413. "200":
  25414. description: OK
  25415. schema:
  25416. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25417. "500":
  25418. description: Internal Server Error
  25419. schema:
  25420. $ref: '#/definitions/app.Response'
  25421. security:
  25422. - ApiKeyAuth: []
  25423. summary: 资金流水查询(历史)
  25424. tags:
  25425. - 资金账户
  25426. /Tjmd/QueryQuoteGoodsList:
  25427. get:
  25428. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25429. parameters:
  25430. - description: 用户类型
  25431. in: query
  25432. name: usertype
  25433. required: true
  25434. type: integer
  25435. - description: 市场id, 格式 1,2,3
  25436. in: query
  25437. name: marketids
  25438. type: string
  25439. - description: 商品组id
  25440. in: query
  25441. name: goodsgroupid
  25442. type: integer
  25443. - description: 商品id
  25444. in: query
  25445. name: goodsid
  25446. type: integer
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.TjmdQuoteGoods'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 查询掉期报价列表
  25463. tags:
  25464. - 天津麦顿
  25465. /Tjmd/QueryTjmdTodayAccountMargin:
  25466. get:
  25467. parameters:
  25468. - description: 市场id
  25469. in: query
  25470. name: marketid
  25471. type: string
  25472. - description: 商品id
  25473. in: query
  25474. name: goodsid
  25475. type: string
  25476. - description: 资金账号
  25477. in: query
  25478. name: accountid
  25479. type: string
  25480. produces:
  25481. - application/json
  25482. responses:
  25483. "200":
  25484. description: OK
  25485. schema:
  25486. items:
  25487. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25488. type: array
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 查询今日账户保证金配置
  25496. tags:
  25497. - 天津麦顿
  25498. /Tjmd/QueryTjmdTradeOrderDetail:
  25499. get:
  25500. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25501. parameters:
  25502. - description: 页码
  25503. in: query
  25504. name: page
  25505. type: integer
  25506. - description: 每页条数
  25507. in: query
  25508. name: pagesize
  25509. type: integer
  25510. - description: 用户id
  25511. in: query
  25512. name: userid
  25513. required: true
  25514. type: integer
  25515. - description: 用户类型
  25516. in: query
  25517. name: usertype
  25518. required: true
  25519. type: integer
  25520. - description: 市场id, 格式 1,2,3
  25521. in: query
  25522. name: marketids
  25523. type: string
  25524. - description: 商品id
  25525. in: query
  25526. name: goodsid
  25527. required: true
  25528. type: integer
  25529. - description: 买卖方向 0-买 1-卖
  25530. in: query
  25531. name: buyorsell
  25532. required: true
  25533. type: integer
  25534. produces:
  25535. - application/json
  25536. responses:
  25537. "200":
  25538. description: OK
  25539. schema:
  25540. items:
  25541. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25542. type: array
  25543. "500":
  25544. description: Internal Server Error
  25545. schema:
  25546. $ref: '#/definitions/app.Response'
  25547. security:
  25548. - ApiKeyAuth: []
  25549. summary: 查询掉期买卖大厅
  25550. tags:
  25551. - 天津麦顿
  25552. /Tjmd/QueryTjmdTransferApply:
  25553. get:
  25554. parameters:
  25555. - description: 类型 1-我的申请 2-对方申请
  25556. in: query
  25557. name: applytype
  25558. required: true
  25559. type: integer
  25560. - description: 市场id, 格式 1,2,3
  25561. in: query
  25562. name: marketids
  25563. type: string
  25564. - description: 资金账号, 格式 25000000001,25000000003
  25565. in: query
  25566. name: accountids
  25567. type: string
  25568. produces:
  25569. - application/json
  25570. responses:
  25571. "200":
  25572. description: OK
  25573. schema:
  25574. items:
  25575. $ref: '#/definitions/models.TjmdTransferApply'
  25576. type: array
  25577. "500":
  25578. description: Internal Server Error
  25579. schema:
  25580. $ref: '#/definitions/app.Response'
  25581. security:
  25582. - ApiKeyAuth: []
  25583. summary: 查询掉期协议单
  25584. tags:
  25585. - 天津麦顿
  25586. /Trade/QueryRecieptOrder:
  25587. get:
  25588. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25589. parameters:
  25590. - description: 页码
  25591. in: query
  25592. name: page
  25593. type: integer
  25594. - description: 每页条数
  25595. in: query
  25596. name: pagesize
  25597. type: integer
  25598. - description: 商品ID
  25599. in: query
  25600. name: goodsID
  25601. required: true
  25602. type: integer
  25603. - description: 所属账户名称
  25604. in: query
  25605. name: accountName
  25606. type: string
  25607. - description: 市场ID
  25608. in: query
  25609. name: marketID
  25610. type: integer
  25611. - description: 方向 - 0:买 1:卖
  25612. in: query
  25613. name: buyorsell
  25614. required: true
  25615. type: integer
  25616. produces:
  25617. - application/json
  25618. responses:
  25619. "200":
  25620. description: OK
  25621. schema:
  25622. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25623. "500":
  25624. description: Internal Server Error
  25625. schema:
  25626. $ref: '#/definitions/app.Response'
  25627. security:
  25628. - ApiKeyAuth: []
  25629. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25630. tags:
  25631. - 通用交易
  25632. /User/AddMessageBoard:
  25633. post:
  25634. parameters:
  25635. - description: 用户ID
  25636. in: query
  25637. name: userID
  25638. required: true
  25639. type: integer
  25640. - description: 留言信息
  25641. in: query
  25642. name: message
  25643. required: true
  25644. type: string
  25645. - description: 联系电话
  25646. in: query
  25647. name: contactNum
  25648. required: true
  25649. type: string
  25650. produces:
  25651. - application/json
  25652. responses:
  25653. "200":
  25654. description: OK
  25655. schema:
  25656. $ref: '#/definitions/app.Response'
  25657. "500":
  25658. description: Internal Server Error
  25659. schema:
  25660. $ref: '#/definitions/app.Response'
  25661. security:
  25662. - ApiKeyAuth: []
  25663. summary: 添加用户留言板信息
  25664. tags:
  25665. - 用户信息
  25666. /User/AddUserFavoriteGoods:
  25667. post:
  25668. parameters:
  25669. - description: 用户ID
  25670. in: query
  25671. name: userID
  25672. required: true
  25673. type: integer
  25674. - description: 商品ID
  25675. in: query
  25676. name: goodsID
  25677. required: true
  25678. type: integer
  25679. produces:
  25680. - application/json
  25681. responses:
  25682. "200":
  25683. description: OK
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. "500":
  25687. description: Internal Server Error
  25688. schema:
  25689. $ref: '#/definitions/app.Response'
  25690. security:
  25691. - ApiKeyAuth: []
  25692. summary: 添加用户商品收藏信息
  25693. tags:
  25694. - 用户信息
  25695. /User/GetLoginID:
  25696. get:
  25697. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25698. parameters:
  25699. - description: 登录代码
  25700. in: query
  25701. name: username
  25702. required: true
  25703. type: string
  25704. produces:
  25705. - application/json
  25706. responses:
  25707. "200":
  25708. description: OK
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. "500":
  25712. description: Internal Server Error
  25713. schema:
  25714. $ref: '#/definitions/app.Response'
  25715. summary: 获取登录ID
  25716. tags:
  25717. - 用户信息
  25718. /User/GetUserAccount:
  25719. get:
  25720. parameters:
  25721. - description: 用户ID
  25722. in: query
  25723. name: userID
  25724. required: true
  25725. type: integer
  25726. produces:
  25727. - application/json
  25728. responses:
  25729. "200":
  25730. description: OK
  25731. schema:
  25732. $ref: '#/definitions/models.Useraccount'
  25733. "500":
  25734. description: Internal Server Error
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. security:
  25738. - ApiKeyAuth: []
  25739. summary: 获取用户账号信息
  25740. tags:
  25741. - 用户信息
  25742. /User/GetUserAuthStatus:
  25743. get:
  25744. parameters:
  25745. - description: 用户ID
  25746. in: query
  25747. name: userID
  25748. required: true
  25749. type: integer
  25750. produces:
  25751. - application/json
  25752. responses:
  25753. "200":
  25754. description: OK
  25755. schema:
  25756. $ref: '#/definitions/app.Response'
  25757. "500":
  25758. description: Internal Server Error
  25759. schema:
  25760. $ref: '#/definitions/app.Response'
  25761. security:
  25762. - ApiKeyAuth: []
  25763. summary: 获取用户实名认证状态
  25764. tags:
  25765. - 用户信息
  25766. /User/LoginQuery:
  25767. get:
  25768. parameters:
  25769. - description: 登录账号
  25770. in: query
  25771. name: loginID
  25772. required: true
  25773. type: integer
  25774. produces:
  25775. - application/json
  25776. responses:
  25777. "200":
  25778. description: OK
  25779. schema:
  25780. $ref: '#/definitions/user.LoginQueryRsp'
  25781. "500":
  25782. description: Internal Server Error
  25783. schema:
  25784. $ref: '#/definitions/app.Response'
  25785. security:
  25786. - ApiKeyAuth: []
  25787. summary: 账户登录后信息查询
  25788. tags:
  25789. - 用户信息
  25790. /User/QueryMessageBoard:
  25791. get:
  25792. parameters:
  25793. - description: 用户ID
  25794. in: query
  25795. name: userID
  25796. required: true
  25797. type: integer
  25798. produces:
  25799. - application/json
  25800. responses:
  25801. "200":
  25802. description: OK
  25803. schema:
  25804. $ref: '#/definitions/models.Messageboard'
  25805. "500":
  25806. description: Internal Server Error
  25807. schema:
  25808. $ref: '#/definitions/app.Response'
  25809. security:
  25810. - ApiKeyAuth: []
  25811. summary: 获取用户留言板信息
  25812. tags:
  25813. - 用户信息
  25814. /User/QueryUserFavoriteGoodses:
  25815. get:
  25816. parameters:
  25817. - description: 用户ID
  25818. in: query
  25819. name: userID
  25820. required: true
  25821. type: integer
  25822. produces:
  25823. - application/json
  25824. responses:
  25825. "200":
  25826. description: OK
  25827. schema:
  25828. $ref: '#/definitions/models.Userfavoritegoods'
  25829. "500":
  25830. description: Internal Server Error
  25831. schema:
  25832. $ref: '#/definitions/app.Response'
  25833. security:
  25834. - ApiKeyAuth: []
  25835. summary: 获取用户商品收藏信息
  25836. tags:
  25837. - 用户信息
  25838. /User/QueryUserInfo:
  25839. get:
  25840. parameters:
  25841. - description: 用户ID
  25842. in: query
  25843. name: userID
  25844. required: true
  25845. type: integer
  25846. - description: 是否解密
  25847. in: query
  25848. name: isDecrypt
  25849. type: boolean
  25850. produces:
  25851. - application/json
  25852. responses:
  25853. "200":
  25854. description: OK
  25855. schema:
  25856. $ref: '#/definitions/models.Userinfo'
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 获取用户信息
  25864. tags:
  25865. - 用户信息
  25866. /User/QueryUserReferNum:
  25867. get:
  25868. parameters:
  25869. - description: 用户ID
  25870. in: query
  25871. name: userID
  25872. required: true
  25873. type: integer
  25874. produces:
  25875. - application/json
  25876. responses:
  25877. "200":
  25878. description: OK
  25879. schema:
  25880. $ref: '#/definitions/app.Response'
  25881. "500":
  25882. description: Internal Server Error
  25883. schema:
  25884. $ref: '#/definitions/app.Response'
  25885. summary: 获取用户邀请码
  25886. tags:
  25887. - 用户信息
  25888. /User/RemoveUserFavoriteGoods:
  25889. post:
  25890. parameters:
  25891. - description: 用户ID
  25892. in: query
  25893. name: userID
  25894. required: true
  25895. type: integer
  25896. - description: 商品ID
  25897. in: query
  25898. name: goodsID
  25899. required: true
  25900. type: integer
  25901. produces:
  25902. - application/json
  25903. responses:
  25904. "200":
  25905. description: OK
  25906. schema:
  25907. $ref: '#/definitions/app.Response'
  25908. "500":
  25909. description: Internal Server Error
  25910. schema:
  25911. $ref: '#/definitions/app.Response'
  25912. security:
  25913. - ApiKeyAuth: []
  25914. summary: 移除用户商品收藏信息
  25915. tags:
  25916. - 用户信息
  25917. /User/UpdateUserAccountStatus:
  25918. post:
  25919. parameters:
  25920. - description: 用户ID
  25921. in: query
  25922. name: userID
  25923. required: true
  25924. type: integer
  25925. - description: 账户状态 - 4:正常 6:注销(停用)
  25926. in: query
  25927. name: accountStatus
  25928. required: true
  25929. type: integer
  25930. produces:
  25931. - application/json
  25932. responses:
  25933. "200":
  25934. description: OK
  25935. schema:
  25936. $ref: '#/definitions/app.Response'
  25937. "500":
  25938. description: Internal Server Error
  25939. schema:
  25940. $ref: '#/definitions/app.Response'
  25941. security:
  25942. - ApiKeyAuth: []
  25943. summary: 更新用户状态
  25944. tags:
  25945. - 用户信息
  25946. /WRTrade/GetAllDeliveryGoods:
  25947. get:
  25948. produces:
  25949. - application/json
  25950. - application/json
  25951. responses:
  25952. "200":
  25953. description: OK
  25954. schema:
  25955. $ref: '#/definitions/app.Response'
  25956. "500":
  25957. description: Internal Server Error
  25958. schema:
  25959. $ref: '#/definitions/app.Response'
  25960. security:
  25961. - ApiKeyAuth: []
  25962. - ApiKeyAuth: []
  25963. summary: 获取带仓单分类的种类信息
  25964. tags:
  25965. - 仓单贸易
  25966. - 仓单贸易
  25967. /WrTrade2/QueryFaProductDetail:
  25968. get:
  25969. description: 页面 买卖大厅 -> 选择融资方案
  25970. parameters:
  25971. - description: 仓单要素id
  25972. in: query
  25973. name: wrfactortypeid
  25974. required: true
  25975. type: integer
  25976. produces:
  25977. - application/json
  25978. responses:
  25979. "200":
  25980. description: OK
  25981. schema:
  25982. items:
  25983. $ref: '#/definitions/models.WrFAProductDetail'
  25984. type: array
  25985. "500":
  25986. description: Internal Server Error
  25987. schema:
  25988. $ref: '#/definitions/app.Response'
  25989. security:
  25990. - ApiKeyAuth: []
  25991. summary: 查询融资产品列表
  25992. tags:
  25993. - 仓单贸易v2
  25994. /WrTrade2/QueryFilterItem:
  25995. get:
  25996. parameters:
  25997. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25998. in: query
  25999. name: itype
  26000. required: true
  26001. type: string
  26002. produces:
  26003. - application/json
  26004. responses:
  26005. "200":
  26006. description: OK
  26007. schema:
  26008. items:
  26009. $ref: '#/definitions/models.WrFilterItem'
  26010. type: array
  26011. "500":
  26012. description: Internal Server Error
  26013. schema:
  26014. $ref: '#/definitions/app.Response'
  26015. security:
  26016. - ApiKeyAuth: []
  26017. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26018. tags:
  26019. - 仓单贸易v2
  26020. /WrTrade2/QueryFtDeliveryGoods:
  26021. get:
  26022. produces:
  26023. - application/json
  26024. responses:
  26025. "200":
  26026. description: OK
  26027. schema:
  26028. items:
  26029. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26030. type: array
  26031. "500":
  26032. description: Internal Server Error
  26033. schema:
  26034. $ref: '#/definitions/app.Response'
  26035. security:
  26036. - ApiKeyAuth: []
  26037. summary: 查询品种品类筛选框列表
  26038. tags:
  26039. - 仓单贸易v2
  26040. /WrTrade2/QueryHoldLB:
  26041. get:
  26042. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26043. parameters:
  26044. - description: 资金账号
  26045. in: query
  26046. name: accountid
  26047. required: true
  26048. type: integer
  26049. - description: 仓库id
  26050. in: query
  26051. name: warehouseid
  26052. type: integer
  26053. - description: 品种id
  26054. in: query
  26055. name: deliverygoodsid
  26056. type: integer
  26057. - description: 品类id
  26058. in: query
  26059. name: wrstandardid
  26060. type: integer
  26061. - description: 仓单要素id
  26062. in: query
  26063. name: wrfactortypeid
  26064. type: integer
  26065. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26066. in: query
  26067. name: dgitemname
  26068. type: string
  26069. produces:
  26070. - application/json
  26071. responses:
  26072. "200":
  26073. description: OK
  26074. schema:
  26075. items:
  26076. $ref: '#/definitions/models.WrHoldLB'
  26077. type: array
  26078. "500":
  26079. description: Internal Server Error
  26080. schema:
  26081. $ref: '#/definitions/app.Response'
  26082. security:
  26083. - ApiKeyAuth: []
  26084. summary: 查询仓单持有记录
  26085. tags:
  26086. - 仓单贸易v2
  26087. /WrTrade2/QueryOrderQuote:
  26088. get:
  26089. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26090. parameters:
  26091. - description: 页码
  26092. in: query
  26093. name: page
  26094. type: integer
  26095. - description: 每页条数
  26096. in: query
  26097. name: pagesize
  26098. type: integer
  26099. - description: 仓单贸易市场id
  26100. in: query
  26101. name: marketid
  26102. type: integer
  26103. - description: 价格方式 - 1:固定价 2-浮动价
  26104. in: query
  26105. name: wrpricetype
  26106. required: true
  26107. type: integer
  26108. - description: 0:仓单预售 1:仓单贸易
  26109. in: query
  26110. name: haswr
  26111. required: true
  26112. type: integer
  26113. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26114. in: query
  26115. name: dgitemname
  26116. type: string
  26117. - description: 仓库id(筛选条件)
  26118. in: query
  26119. name: warehouseid
  26120. type: integer
  26121. - description: 品种id
  26122. in: query
  26123. name: deliverygoodsid
  26124. type: integer
  26125. - description: 品类id
  26126. in: query
  26127. name: wrstandardid
  26128. type: integer
  26129. - description: 仓单要素id
  26130. in: query
  26131. name: wrfactortypeid
  26132. type: integer
  26133. - description: 交收月(yyyy-mm) 仓单预售填写
  26134. in: query
  26135. name: deliverymonth
  26136. type: string
  26137. produces:
  26138. - application/json
  26139. responses:
  26140. "200":
  26141. description: OK
  26142. schema:
  26143. items:
  26144. $ref: '#/definitions/models.WrOrderQuote'
  26145. type: array
  26146. "500":
  26147. description: Internal Server Error
  26148. schema:
  26149. $ref: '#/definitions/app.Response'
  26150. security:
  26151. - ApiKeyAuth: []
  26152. summary: 查询大厅行情列表
  26153. tags:
  26154. - 仓单贸易v2
  26155. /WrTrade2/QueryOrderQuoteDetail:
  26156. get:
  26157. parameters:
  26158. - description: 页码
  26159. in: query
  26160. name: page
  26161. type: integer
  26162. - description: 每页条数
  26163. in: query
  26164. name: pagesize
  26165. type: integer
  26166. - description: 仓单贸易市场id
  26167. in: query
  26168. name: marketid
  26169. type: integer
  26170. - description: 价格方式 - 1:固定价 2-浮动价
  26171. in: query
  26172. name: wrpricetype
  26173. required: true
  26174. type: integer
  26175. - description: 0:仓单预售 1:仓单贸易
  26176. in: query
  26177. name: haswr
  26178. required: true
  26179. type: integer
  26180. - description: 仓单要素id
  26181. in: query
  26182. name: wrfactortypeid
  26183. required: true
  26184. type: integer
  26185. - description: 期货商品id(浮动价方式时填)
  26186. in: query
  26187. name: goodsid
  26188. type: integer
  26189. - description: 买卖方向 0-买 1-卖
  26190. in: query
  26191. name: buyorsell
  26192. required: true
  26193. type: integer
  26194. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26195. in: query
  26196. name: deliverymonth
  26197. type: string
  26198. produces:
  26199. - application/json
  26200. responses:
  26201. "200":
  26202. description: OK
  26203. schema:
  26204. items:
  26205. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26206. type: array
  26207. "500":
  26208. description: Internal Server Error
  26209. schema:
  26210. $ref: '#/definitions/app.Response'
  26211. security:
  26212. - ApiKeyAuth: []
  26213. summary: 查询买卖大厅
  26214. tags:
  26215. - 仓单贸易v2
  26216. /WrTrade2/QueryOrderQuoteMyq:
  26217. get:
  26218. parameters:
  26219. - description: 页码
  26220. in: query
  26221. name: page
  26222. type: integer
  26223. - description: 每页条数
  26224. in: query
  26225. name: pagesize
  26226. type: integer
  26227. - description: 用户id
  26228. in: query
  26229. name: userid
  26230. required: true
  26231. type: integer
  26232. - description: 仓单贸易市场id
  26233. in: query
  26234. name: marketid
  26235. type: integer
  26236. - description: 0:仓单预售 1:仓单贸易
  26237. in: query
  26238. name: haswr
  26239. required: true
  26240. type: integer
  26241. - description: 买卖方向 0-买 1-卖
  26242. in: query
  26243. name: buyorsell
  26244. required: true
  26245. type: integer
  26246. - description: 品种id
  26247. in: query
  26248. name: deliverygoodsid
  26249. type: integer
  26250. - description: 品类id
  26251. in: query
  26252. name: wrstandardid
  26253. type: integer
  26254. - description: 交收月(yyyy-mm) 仓单预售填写
  26255. in: query
  26256. name: deliverymonth
  26257. type: string
  26258. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26259. in: query
  26260. name: dgitemname
  26261. type: string
  26262. produces:
  26263. - application/json
  26264. responses:
  26265. "200":
  26266. description: OK
  26267. schema:
  26268. items:
  26269. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26270. type: array
  26271. "500":
  26272. description: Internal Server Error
  26273. schema:
  26274. $ref: '#/definitions/app.Response'
  26275. security:
  26276. - ApiKeyAuth: []
  26277. summary: 查询贸易圈挂牌大厅
  26278. tags:
  26279. - 仓单贸易v2
  26280. /WrTrade2/QueryPerformancePlan:
  26281. get:
  26282. parameters:
  26283. - description: 用户id
  26284. in: query
  26285. name: userid
  26286. required: true
  26287. type: integer
  26288. - description: 买卖方向 0-买 1-卖
  26289. in: query
  26290. name: buyorsell
  26291. required: true
  26292. type: integer
  26293. produces:
  26294. - application/json
  26295. responses:
  26296. "200":
  26297. description: OK
  26298. schema:
  26299. items:
  26300. $ref: '#/definitions/models.WrPerformancePlan'
  26301. type: array
  26302. "500":
  26303. description: Internal Server Error
  26304. schema:
  26305. $ref: '#/definitions/app.Response'
  26306. security:
  26307. - ApiKeyAuth: []
  26308. summary: 查询履约信息
  26309. tags:
  26310. - 仓单贸易v2
  26311. /WrTrade2/QueryPermancePlanTmp:
  26312. get:
  26313. description: 返回指定用户的模板和公共模板(用户id为空)
  26314. parameters:
  26315. - description: 用户id
  26316. in: query
  26317. name: userid
  26318. type: integer
  26319. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26320. in: query
  26321. name: tmptype
  26322. type: string
  26323. - description: 是否包含公共模板(用户id为空的) 1-包含
  26324. in: query
  26325. name: includepub
  26326. type: integer
  26327. produces:
  26328. - application/json
  26329. responses:
  26330. "200":
  26331. description: OK
  26332. schema:
  26333. items:
  26334. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26335. type: array
  26336. "500":
  26337. description: Internal Server Error
  26338. schema:
  26339. $ref: '#/definitions/app.Response'
  26340. security:
  26341. - ApiKeyAuth: []
  26342. summary: 查询履约模板
  26343. tags:
  26344. - 仓单贸易v2
  26345. /WrTrade2/QueryWrAverageTradePrice:
  26346. get:
  26347. parameters:
  26348. - description: 页码
  26349. in: query
  26350. name: page
  26351. type: integer
  26352. - description: 每页条数
  26353. in: query
  26354. name: pagesize
  26355. type: integer
  26356. - description: 0:仓单预售 1:仓单贸易
  26357. in: query
  26358. name: haswr
  26359. required: true
  26360. type: integer
  26361. - description: 仓单要素id
  26362. in: query
  26363. name: wrfactortypeid
  26364. required: true
  26365. type: integer
  26366. produces:
  26367. - application/json
  26368. responses:
  26369. "200":
  26370. description: OK
  26371. schema:
  26372. items:
  26373. $ref: '#/definitions/models.WrAverageTradePrice'
  26374. type: array
  26375. "500":
  26376. description: Internal Server Error
  26377. schema:
  26378. $ref: '#/definitions/app.Response'
  26379. security:
  26380. - ApiKeyAuth: []
  26381. summary: 查询成交价(历史走势)
  26382. tags:
  26383. - 仓单贸易v2
  26384. /WrTrade2/QueryWrBsGoodsInfo:
  26385. get:
  26386. description: 合约交易/买卖大厅/详情
  26387. parameters:
  26388. - description: 商品id
  26389. in: query
  26390. name: goodsid
  26391. required: true
  26392. type: integer
  26393. produces:
  26394. - application/json
  26395. responses:
  26396. "200":
  26397. description: OK
  26398. schema:
  26399. items:
  26400. $ref: '#/definitions/models.WrBsGoodsInfo'
  26401. type: array
  26402. "500":
  26403. description: Internal Server Error
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. security:
  26407. - ApiKeyAuth: []
  26408. summary: 查询合约交易买卖大厅详情
  26409. tags:
  26410. - 仓单贸易v2
  26411. /WrTrade2/QueryWrBuybackDetail:
  26412. get:
  26413. parameters:
  26414. - description: 融资合同id
  26415. in: query
  26416. name: scfcontractid
  26417. type: integer
  26418. produces:
  26419. - application/json
  26420. responses:
  26421. "200":
  26422. description: OK
  26423. schema:
  26424. items:
  26425. $ref: '#/definitions/models.WrBuybackDetail'
  26426. type: array
  26427. "500":
  26428. description: Internal Server Error
  26429. schema:
  26430. $ref: '#/definitions/app.Response'
  26431. security:
  26432. - ApiKeyAuth: []
  26433. summary: 查询仓单回购明细
  26434. tags:
  26435. - 仓单贸易v2
  26436. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26437. get:
  26438. parameters:
  26439. - description: 资金账号
  26440. in: query
  26441. name: accountid
  26442. required: true
  26443. type: integer
  26444. - description: 商品id
  26445. in: query
  26446. name: goodsid
  26447. required: true
  26448. type: integer
  26449. produces:
  26450. - application/json
  26451. responses:
  26452. "200":
  26453. description: OK
  26454. schema:
  26455. items:
  26456. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26457. type: array
  26458. "500":
  26459. description: Internal Server Error
  26460. schema:
  26461. $ref: '#/definitions/app.Response'
  26462. security:
  26463. - ApiKeyAuth: []
  26464. summary: 查询合约交收可点选仓单
  26465. tags:
  26466. - 仓单贸易v2
  26467. /WrTrade2/QueryWrDeliveryDetail:
  26468. get:
  26469. parameters:
  26470. - description: 用户id
  26471. in: query
  26472. name: userid
  26473. required: true
  26474. type: integer
  26475. - description: 资金账号id
  26476. in: query
  26477. name: accountid
  26478. type: integer
  26479. produces:
  26480. - application/json
  26481. responses:
  26482. "200":
  26483. description: OK
  26484. schema:
  26485. items:
  26486. $ref: '#/definitions/models.WrDeliveryDetail'
  26487. type: array
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 查询交收
  26495. tags:
  26496. - 仓单贸易v2
  26497. /WrTrade2/QueryWrFactorTypeInfo:
  26498. get:
  26499. parameters:
  26500. - description: 仓单要素id
  26501. in: query
  26502. name: wrfactortypeid
  26503. required: true
  26504. type: integer
  26505. produces:
  26506. - application/json
  26507. responses:
  26508. "200":
  26509. description: OK
  26510. schema:
  26511. items:
  26512. $ref: '#/definitions/models.WrFactorTypeInfo'
  26513. type: array
  26514. "500":
  26515. description: Internal Server Error
  26516. schema:
  26517. $ref: '#/definitions/app.Response'
  26518. security:
  26519. - ApiKeyAuth: []
  26520. summary: 查询仓单要素详细信息
  26521. tags:
  26522. - 仓单贸易v2
  26523. /WrTrade2/QueryWrFactorTypeInfoEx:
  26524. get:
  26525. parameters:
  26526. - description: 仓单要素id
  26527. in: query
  26528. name: wrfactortypeid
  26529. required: true
  26530. type: integer
  26531. produces:
  26532. - application/json
  26533. responses:
  26534. "200":
  26535. description: OK
  26536. schema:
  26537. items:
  26538. $ref: '#/definitions/models.WrTypeItem'
  26539. type: array
  26540. "500":
  26541. description: Internal Server Error
  26542. schema:
  26543. $ref: '#/definitions/app.Response'
  26544. security:
  26545. - ApiKeyAuth: []
  26546. summary: 查询仓单要素详细信息列表项
  26547. tags:
  26548. - 仓单贸易v2
  26549. /WrTrade2/QueryWrFinanceBuyApply:
  26550. get:
  26551. description: 页面 融资信息+ / 申请单
  26552. parameters:
  26553. - description: 用户id
  26554. in: query
  26555. name: userid
  26556. required: true
  26557. type: integer
  26558. produces:
  26559. - application/json
  26560. responses:
  26561. "200":
  26562. description: OK
  26563. schema:
  26564. items:
  26565. $ref: '#/definitions/models.WrFinanceBuyApply'
  26566. type: array
  26567. "500":
  26568. description: Internal Server Error
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. security:
  26572. - ApiKeyAuth: []
  26573. summary: 查询融资购买申请
  26574. tags:
  26575. - 仓单贸易v2
  26576. /WrTrade2/QueryWrFriendApply:
  26577. get:
  26578. parameters:
  26579. - description: 用户id
  26580. in: query
  26581. name: userid
  26582. required: true
  26583. type: integer
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. items:
  26591. $ref: '#/definitions/models.WrFriendApply'
  26592. type: array
  26593. "500":
  26594. description: Internal Server Error
  26595. schema:
  26596. $ref: '#/definitions/app.Response'
  26597. security:
  26598. - ApiKeyAuth: []
  26599. summary: 查询好友申请记录
  26600. tags:
  26601. - 仓单贸易v2
  26602. /WrTrade2/QueryWrGoodsInfo:
  26603. get:
  26604. parameters:
  26605. - description: 仓单贸易市场id
  26606. in: query
  26607. name: marketid
  26608. type: integer
  26609. - description: 0:仓单预售 1:仓单贸易
  26610. in: query
  26611. name: haswr
  26612. required: true
  26613. type: integer
  26614. - description: 仓单要素id
  26615. in: query
  26616. name: wrfactortypeid
  26617. required: true
  26618. type: integer
  26619. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26620. in: query
  26621. name: tmplateid
  26622. type: integer
  26623. produces:
  26624. - application/json
  26625. responses:
  26626. "200":
  26627. description: OK
  26628. schema:
  26629. items:
  26630. $ref: '#/definitions/models.WrGoodsInfo'
  26631. type: array
  26632. "500":
  26633. description: Internal Server Error
  26634. schema:
  26635. $ref: '#/definitions/app.Response'
  26636. security:
  26637. - ApiKeyAuth: []
  26638. summary: 查询仓单商品信息
  26639. tags:
  26640. - 仓单贸易v2
  26641. /WrTrade2/QueryWrMarketTradeConfig:
  26642. get:
  26643. parameters:
  26644. - description: 市场id
  26645. in: query
  26646. name: marketid
  26647. type: integer
  26648. produces:
  26649. - application/json
  26650. responses:
  26651. "200":
  26652. description: OK
  26653. schema:
  26654. items:
  26655. $ref: '#/definitions/models.WrMarketTradeConfig'
  26656. type: array
  26657. "500":
  26658. description: Internal Server Error
  26659. schema:
  26660. $ref: '#/definitions/app.Response'
  26661. security:
  26662. - ApiKeyAuth: []
  26663. summary: 查询市场交易参数配置
  26664. tags:
  26665. - 仓单贸易v2
  26666. /WrTrade2/QueryWrOrderDetail:
  26667. get:
  26668. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26669. parameters:
  26670. - description: 页码
  26671. in: query
  26672. name: page
  26673. type: integer
  26674. - description: 每页条数
  26675. in: query
  26676. name: pagesize
  26677. type: integer
  26678. - description: 用户id
  26679. in: query
  26680. name: userid
  26681. required: true
  26682. type: integer
  26683. - description: 仓单贸易市场id
  26684. in: query
  26685. name: marketid
  26686. type: integer
  26687. - description: 0:仓单预售 1:仓单贸易
  26688. in: query
  26689. name: haswr
  26690. required: true
  26691. type: integer
  26692. produces:
  26693. - application/json
  26694. responses:
  26695. "200":
  26696. description: OK
  26697. schema:
  26698. items:
  26699. $ref: '#/definitions/models.WrOrderDetail'
  26700. type: array
  26701. "500":
  26702. description: Internal Server Error
  26703. schema:
  26704. $ref: '#/definitions/app.Response'
  26705. security:
  26706. - ApiKeyAuth: []
  26707. summary: 查询仓单委托单(挂单)
  26708. tags:
  26709. - 仓单贸易v2
  26710. /WrTrade2/QueryWrOutInApply:
  26711. get:
  26712. parameters:
  26713. - description: 用户id
  26714. in: query
  26715. name: userid
  26716. required: true
  26717. type: integer
  26718. produces:
  26719. - application/json
  26720. responses:
  26721. "200":
  26722. description: OK
  26723. schema:
  26724. items:
  26725. $ref: '#/definitions/models.WrOutInApply'
  26726. type: array
  26727. "500":
  26728. description: Internal Server Error
  26729. schema:
  26730. $ref: '#/definitions/app.Response'
  26731. security:
  26732. - ApiKeyAuth: []
  26733. summary: 查询提货申请
  26734. tags:
  26735. - 仓单贸易v2
  26736. /WrTrade2/QueryWrPerformancePlanStep:
  26737. get:
  26738. parameters:
  26739. - description: 履约计划id(performanceplanid)
  26740. in: query
  26741. name: planid
  26742. required: true
  26743. type: integer
  26744. - description: 当前步骤id
  26745. in: query
  26746. name: curstepid
  26747. type: integer
  26748. produces:
  26749. - application/json
  26750. responses:
  26751. "200":
  26752. description: OK
  26753. schema:
  26754. items:
  26755. $ref: '#/definitions/models.WrPerformancePlanStep'
  26756. type: array
  26757. "500":
  26758. description: Internal Server Error
  26759. schema:
  26760. $ref: '#/definitions/app.Response'
  26761. security:
  26762. - ApiKeyAuth: []
  26763. summary: 查询履约信息详情
  26764. tags:
  26765. - 仓单贸易v2
  26766. /WrTrade2/QueryWrPerformanceStepType:
  26767. get:
  26768. produces:
  26769. - application/json
  26770. responses:
  26771. "200":
  26772. description: OK
  26773. schema:
  26774. items:
  26775. $ref: '#/definitions/models.WrPerformanceStepType'
  26776. type: array
  26777. "500":
  26778. description: Internal Server Error
  26779. schema:
  26780. $ref: '#/definitions/app.Response'
  26781. security:
  26782. - ApiKeyAuth: []
  26783. summary: 查询履约步骤枚举
  26784. tags:
  26785. - 仓单贸易v2
  26786. /WrTrade2/QueryWrPosition:
  26787. get:
  26788. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26789. parameters:
  26790. - description: 用户id
  26791. in: query
  26792. name: userid
  26793. required: true
  26794. type: integer
  26795. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26796. in: query
  26797. name: querytype
  26798. required: true
  26799. type: integer
  26800. - description: 0:仓单预售 1:仓单贸易
  26801. in: query
  26802. name: haswr
  26803. required: true
  26804. type: integer
  26805. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26806. in: query
  26807. name: dgitemname
  26808. type: string
  26809. - description: 仓库id(筛选条件)
  26810. in: query
  26811. name: warehouseid
  26812. type: integer
  26813. - description: 品种id
  26814. in: query
  26815. name: deliverygoodsid
  26816. type: integer
  26817. - description: 品类id
  26818. in: query
  26819. name: wrstandardid
  26820. type: integer
  26821. produces:
  26822. - application/json
  26823. responses:
  26824. "200":
  26825. description: OK
  26826. schema:
  26827. items:
  26828. $ref: '#/definitions/models.WrPosition'
  26829. type: array
  26830. "500":
  26831. description: Internal Server Error
  26832. schema:
  26833. $ref: '#/definitions/app.Response'
  26834. security:
  26835. - ApiKeyAuth: []
  26836. summary: 查询现货(预售)仓单持仓
  26837. tags:
  26838. - 仓单贸易v2
  26839. /WrTrade2/QueryWrScfContract:
  26840. get:
  26841. parameters:
  26842. - description: 用户id
  26843. in: query
  26844. name: userid
  26845. required: true
  26846. type: integer
  26847. - description: 融资合同id
  26848. in: query
  26849. name: scfcontractid
  26850. type: integer
  26851. produces:
  26852. - application/json
  26853. responses:
  26854. "200":
  26855. description: OK
  26856. schema:
  26857. items:
  26858. $ref: '#/definitions/models.WrScfContract'
  26859. type: array
  26860. "500":
  26861. description: Internal Server Error
  26862. schema:
  26863. $ref: '#/definitions/app.Response'
  26864. security:
  26865. - ApiKeyAuth: []
  26866. summary: 查询仓单贸易融资合同
  26867. tags:
  26868. - 仓单贸易v2
  26869. /WrTrade2/QueryWrScfContractInterest:
  26870. get:
  26871. parameters:
  26872. - description: 融资合同id
  26873. in: query
  26874. name: scfcontractid
  26875. type: integer
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. items:
  26883. $ref: '#/definitions/models.WrScfContractInterest'
  26884. type: array
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 查询融资合同费用明细
  26892. tags:
  26893. - 仓单贸易v2
  26894. /WrTrade2/QueryWrSpecialMatchOrder:
  26895. get:
  26896. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26897. parameters:
  26898. - description: 页码
  26899. in: query
  26900. name: page
  26901. type: integer
  26902. - description: 每页条数
  26903. in: query
  26904. name: pagesize
  26905. type: integer
  26906. - description: 用户id
  26907. in: query
  26908. name: userid
  26909. required: true
  26910. type: integer
  26911. - description: 仓单贸易市场id
  26912. in: query
  26913. name: marketid
  26914. type: integer
  26915. - description: 0:仓单预售 1:仓单贸易
  26916. in: query
  26917. name: haswr
  26918. required: true
  26919. type: integer
  26920. produces:
  26921. - application/json
  26922. responses:
  26923. "200":
  26924. description: OK
  26925. schema:
  26926. items:
  26927. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26928. type: array
  26929. "500":
  26930. description: Internal Server Error
  26931. schema:
  26932. $ref: '#/definitions/app.Response'
  26933. security:
  26934. - ApiKeyAuth: []
  26935. summary: 查询指定成交
  26936. tags:
  26937. - 仓单贸易v2
  26938. /WrTrade2/QueryWrStandardFactoryItem:
  26939. get:
  26940. parameters:
  26941. - description: 品类id
  26942. in: query
  26943. name: wrstandardid
  26944. required: true
  26945. type: integer
  26946. produces:
  26947. - application/json
  26948. responses:
  26949. "200":
  26950. description: OK
  26951. schema:
  26952. items:
  26953. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26954. type: array
  26955. "500":
  26956. description: Internal Server Error
  26957. schema:
  26958. $ref: '#/definitions/app.Response'
  26959. security:
  26960. - ApiKeyAuth: []
  26961. summary: 查询品类要素定义项
  26962. tags:
  26963. - 仓单贸易v2
  26964. /WrTrade2/QueryWrTradeBargainApply:
  26965. get:
  26966. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  26967. parameters:
  26968. - description: 议价人id(摘牌方)
  26969. in: query
  26970. name: userid
  26971. type: integer
  26972. - description: 挂牌方id(查对方议价时,填写此项)
  26973. in: query
  26974. name: matchuserid
  26975. type: integer
  26976. - description: 关联委托单id
  26977. in: query
  26978. name: wrtradeorderid
  26979. type: integer
  26980. - description: 0:仓单预售 1:仓单贸易
  26981. in: query
  26982. name: haswr
  26983. required: true
  26984. type: integer
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. items:
  26992. $ref: '#/definitions/models.WRTradeBargainApply'
  26993. type: array
  26994. "500":
  26995. description: Internal Server Error
  26996. schema:
  26997. $ref: '#/definitions/app.Response'
  26998. security:
  26999. - ApiKeyAuth: []
  27000. summary: 查询议价单
  27001. tags:
  27002. - 仓单贸易v2
  27003. /WrTrade2/QueryWrTradeDetail:
  27004. get:
  27005. parameters:
  27006. - description: 页码
  27007. in: query
  27008. name: page
  27009. type: integer
  27010. - description: 每页条数
  27011. in: query
  27012. name: pagesize
  27013. type: integer
  27014. - description: 用户id
  27015. in: query
  27016. name: userid
  27017. required: true
  27018. type: integer
  27019. - description: 仓单贸易市场id
  27020. in: query
  27021. name: marketid
  27022. type: integer
  27023. - description: 0:仓单预售 1:仓单贸易
  27024. in: query
  27025. name: haswr
  27026. required: true
  27027. type: integer
  27028. produces:
  27029. - application/json
  27030. responses:
  27031. "200":
  27032. description: OK
  27033. schema:
  27034. items:
  27035. $ref: '#/definitions/models.WrTradeDetail'
  27036. type: array
  27037. "500":
  27038. description: Internal Server Error
  27039. schema:
  27040. $ref: '#/definitions/app.Response'
  27041. security:
  27042. - ApiKeyAuth: []
  27043. summary: 查询仓单成交明细
  27044. tags:
  27045. - 仓单贸易v2
  27046. /WrTrade2/QueryWrTradeOrderDetail:
  27047. get:
  27048. parameters:
  27049. - description: 页码
  27050. in: query
  27051. name: page
  27052. type: integer
  27053. - description: 每页条数
  27054. in: query
  27055. name: pagesize
  27056. type: integer
  27057. - description: 商品id
  27058. in: query
  27059. name: goodsid
  27060. required: true
  27061. type: integer
  27062. - description: 买卖方向 0-买 1-卖
  27063. in: query
  27064. name: buyorsell
  27065. required: true
  27066. type: integer
  27067. produces:
  27068. - application/json
  27069. responses:
  27070. "200":
  27071. description: OK
  27072. schema:
  27073. items:
  27074. $ref: '#/definitions/models.WrTradeOrderDetail'
  27075. type: array
  27076. "500":
  27077. description: Internal Server Error
  27078. schema:
  27079. $ref: '#/definitions/app.Response'
  27080. security:
  27081. - ApiKeyAuth: []
  27082. summary: 查询合约交易买卖大厅
  27083. tags:
  27084. - 仓单贸易v2
  27085. /WrTrade2/QueryWrUserFriend:
  27086. get:
  27087. parameters:
  27088. - description: 用户id
  27089. in: query
  27090. name: userid
  27091. required: true
  27092. type: integer
  27093. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27094. in: query
  27095. name: newuserid
  27096. type: integer
  27097. produces:
  27098. - application/json
  27099. responses:
  27100. "200":
  27101. description: OK
  27102. schema:
  27103. items:
  27104. $ref: '#/definitions/models.WrUserFriend'
  27105. type: array
  27106. "500":
  27107. description: Internal Server Error
  27108. schema:
  27109. $ref: '#/definitions/app.Response'
  27110. security:
  27111. - ApiKeyAuth: []
  27112. summary: 查询我的朋友
  27113. tags:
  27114. - 仓单贸易v2
  27115. /ZJ/GetBankTip:
  27116. get:
  27117. produces:
  27118. - application/json
  27119. responses:
  27120. "200":
  27121. description: OK
  27122. schema:
  27123. type: string
  27124. "500":
  27125. description: Internal Server Error
  27126. schema:
  27127. $ref: '#/definitions/app.Response'
  27128. summary: 获取中江网银端出入金提示信息
  27129. tags:
  27130. - 中江
  27131. /ZJ/GetCusBankChannels:
  27132. get:
  27133. produces:
  27134. - application/json
  27135. responses:
  27136. "200":
  27137. description: OK
  27138. schema:
  27139. items:
  27140. type: string
  27141. type: array
  27142. "500":
  27143. description: Internal Server Error
  27144. schema:
  27145. $ref: '#/definitions/app.Response'
  27146. summary: 获取中江出入金渠道显示列表
  27147. tags:
  27148. - 中江
  27149. securityDefinitions:
  27150. ApiKeyAuth:
  27151. in: header
  27152. name: Authorization
  27153. type: apiKey
  27154. swagger: "2.0"