swagger.yaml 754 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205
  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. refgoodscode:
  17430. description: 参考商品代码
  17431. type: string
  17432. refgoodsid:
  17433. description: 参考商品ID
  17434. type: integer
  17435. tnqty:
  17436. description: T+N冻结总量
  17437. type: number
  17438. tnusedqty:
  17439. description: T+N使用量(可以使用T+N的冻结数量)
  17440. type: number
  17441. trademode:
  17442. description: 交易模式
  17443. type: integer
  17444. tradeproperty:
  17445. description: 交易属性
  17446. type: integer
  17447. usedmargin:
  17448. description: 占用保证金[商品币种]
  17449. type: number
  17450. required:
  17451. - goodsid
  17452. type: object
  17453. pb.GoodsMarginCfgStruct:
  17454. properties:
  17455. CustomerTypeID:
  17456. description: 投资者客户类型
  17457. type: integer
  17458. GoodsID:
  17459. description: 商品ID
  17460. type: integer
  17461. IsDefault:
  17462. description: 是否默认标志位
  17463. type: integer
  17464. LockMarginValue:
  17465. description: 锁仓保证金
  17466. type: number
  17467. MarginAlgorithm:
  17468. description: 保证金计算方式
  17469. type: integer
  17470. MarketMarginValue:
  17471. description: 即市保证金值
  17472. type: number
  17473. RealMarginAlgorithm:
  17474. description: 实付保证金计算方式
  17475. type: integer
  17476. RealMarginValue:
  17477. description: 实付比例
  17478. type: number
  17479. ReckonMarginValue:
  17480. description: 结算保证金值
  17481. type: number
  17482. type: object
  17483. quote.HistoryData:
  17484. properties:
  17485. c:
  17486. description: 收盘价
  17487. type: number
  17488. f:
  17489. description: 是否补充数据
  17490. type: boolean
  17491. h:
  17492. description: 最高价
  17493. type: number
  17494. hv:
  17495. description: 持仓量
  17496. type: integer
  17497. l:
  17498. description: 最低价
  17499. type: number
  17500. o:
  17501. description: 开盘价
  17502. type: number
  17503. s:
  17504. description: 结算价,日线周期(包括)以上才有
  17505. type: number
  17506. ts:
  17507. description: 时间
  17508. type: string
  17509. tt:
  17510. description: 总金额
  17511. type: number
  17512. tv:
  17513. description: 总量(成交量)
  17514. type: integer
  17515. type: object
  17516. quote.HistoryTikData:
  17517. properties:
  17518. AV:
  17519. description: 卖量
  17520. type: integer
  17521. Ask:
  17522. description: 卖价
  17523. type: number
  17524. BV:
  17525. description: 买量
  17526. type: integer
  17527. Bid:
  17528. description: 买价
  17529. type: number
  17530. HI:
  17531. description: 单笔持仓
  17532. type: integer
  17533. HV:
  17534. description: 持仓量
  17535. type: integer
  17536. PE:
  17537. description: 现价
  17538. type: number
  17539. TDR:
  17540. description: 交易方向,0:买 1:卖
  17541. type: integer
  17542. TK:
  17543. description: 交易类型
  17544. type: integer
  17545. TS:
  17546. description: 行情时间文本
  17547. type: string
  17548. TT:
  17549. description: 现金额
  17550. type: number
  17551. Vol:
  17552. description: 现量
  17553. type: integer
  17554. type: object
  17555. quote.QueryQuoteDayRsp:
  17556. properties:
  17557. ask:
  17558. description: 卖1
  17559. type: number
  17560. ask2:
  17561. description: 卖2
  17562. type: number
  17563. ask3:
  17564. description: 卖3
  17565. type: number
  17566. ask4:
  17567. description: 卖4
  17568. type: number
  17569. ask5:
  17570. description: 卖5
  17571. type: number
  17572. ask6:
  17573. description: 卖6
  17574. type: number
  17575. ask7:
  17576. description: 卖7
  17577. type: number
  17578. ask8:
  17579. description: 卖8
  17580. type: number
  17581. ask9:
  17582. description: 卖9
  17583. type: number
  17584. ask10:
  17585. description: 卖10
  17586. type: number
  17587. askorderid:
  17588. description: 卖单号1
  17589. type: integer
  17590. askorderid2:
  17591. description: 卖单号2
  17592. type: integer
  17593. askorderid3:
  17594. description: 卖单号3
  17595. type: integer
  17596. askorderid4:
  17597. description: 卖单号4
  17598. type: integer
  17599. askorderid5:
  17600. description: 卖单号5
  17601. type: integer
  17602. askordervolume:
  17603. description: 卖单量1
  17604. type: integer
  17605. askordervolume2:
  17606. description: 卖单量2
  17607. type: integer
  17608. askordervolume3:
  17609. description: 卖单量3
  17610. type: integer
  17611. askordervolume4:
  17612. description: 卖单量4
  17613. type: integer
  17614. askordervolume5:
  17615. description: 卖单量5
  17616. type: integer
  17617. askordervolume6:
  17618. description: 卖单量6
  17619. type: integer
  17620. askordervolume7:
  17621. description: 卖单量7
  17622. type: integer
  17623. askordervolume8:
  17624. description: 卖单量8
  17625. type: integer
  17626. askordervolume9:
  17627. description: 卖单量9
  17628. type: integer
  17629. askordervolume10:
  17630. description: 卖单量10
  17631. type: integer
  17632. askqueueinfo:
  17633. description: 大利市卖港股用
  17634. type: string
  17635. askvolume:
  17636. description: 卖量1
  17637. type: integer
  17638. askvolume2:
  17639. description: 卖量2
  17640. type: integer
  17641. askvolume3:
  17642. description: 卖量3
  17643. type: integer
  17644. askvolume4:
  17645. description: 卖量4
  17646. type: integer
  17647. askvolume5:
  17648. description: 卖量5
  17649. type: integer
  17650. askvolume6:
  17651. description: 卖量6
  17652. type: integer
  17653. askvolume7:
  17654. description: 卖量7
  17655. type: integer
  17656. askvolume8:
  17657. description: 卖量8
  17658. type: integer
  17659. askvolume9:
  17660. description: 卖量9
  17661. type: integer
  17662. askvolume10:
  17663. description: 卖量10
  17664. type: integer
  17665. averageprice:
  17666. description: 均价
  17667. type: number
  17668. bid:
  17669. description: 买1
  17670. type: number
  17671. bid2:
  17672. description: 买2
  17673. type: number
  17674. bid3:
  17675. description: 买3
  17676. type: number
  17677. bid4:
  17678. description: 买4
  17679. type: number
  17680. bid5:
  17681. description: 买5
  17682. type: number
  17683. bid6:
  17684. description: 买6
  17685. type: number
  17686. bid7:
  17687. description: 买7
  17688. type: number
  17689. bid8:
  17690. description: 买8
  17691. type: number
  17692. bid9:
  17693. description: 买9
  17694. type: number
  17695. bid10:
  17696. description: 买10
  17697. type: number
  17698. bidorderid:
  17699. description: 买单号1
  17700. type: integer
  17701. bidorderid2:
  17702. description: 买单号2
  17703. type: integer
  17704. bidorderid3:
  17705. description: 买单号3
  17706. type: integer
  17707. bidorderid4:
  17708. description: 买单号4
  17709. type: integer
  17710. bidorderid5:
  17711. description: 买单号5
  17712. type: integer
  17713. bidordervolume:
  17714. description: 买单量1
  17715. type: integer
  17716. bidordervolume2:
  17717. description: 买单量2
  17718. type: integer
  17719. bidordervolume3:
  17720. description: 买单量3
  17721. type: integer
  17722. bidordervolume4:
  17723. description: 买单量4
  17724. type: integer
  17725. bidordervolume5:
  17726. description: 买单量5
  17727. type: integer
  17728. bidordervolume6:
  17729. description: 买单量6
  17730. type: integer
  17731. bidordervolume7:
  17732. description: 买单量7
  17733. type: integer
  17734. bidordervolume8:
  17735. description: 买单量8
  17736. type: integer
  17737. bidordervolume9:
  17738. description: 买单量9
  17739. type: integer
  17740. bidordervolume10:
  17741. description: 买单量10
  17742. type: integer
  17743. bidqueueinfo:
  17744. description: 大利市买港股用
  17745. type: string
  17746. bidvolume:
  17747. description: 买量1
  17748. type: integer
  17749. bidvolume2:
  17750. description: 买量2
  17751. type: integer
  17752. bidvolume3:
  17753. description: 买量3
  17754. type: integer
  17755. bidvolume4:
  17756. description: 买量4
  17757. type: integer
  17758. bidvolume5:
  17759. description: 买量5
  17760. type: integer
  17761. bidvolume6:
  17762. description: 买量6
  17763. type: integer
  17764. bidvolume7:
  17765. description: 买量7
  17766. type: integer
  17767. bidvolume8:
  17768. description: 买量8
  17769. type: integer
  17770. bidvolume9:
  17771. description: 买量9
  17772. type: integer
  17773. bidvolume10:
  17774. description: 买量10
  17775. type: integer
  17776. calloptionpremiums:
  17777. description: 认购期权1
  17778. type: integer
  17779. calloptionpremiums2:
  17780. description: 认购期权2
  17781. type: integer
  17782. calloptionpremiums3:
  17783. description: 认购期权3
  17784. type: integer
  17785. calloptionpremiums4:
  17786. description: 认购期权4
  17787. type: integer
  17788. calloptionpremiums5:
  17789. description: 认购期权5
  17790. type: integer
  17791. cleartime:
  17792. description: 清盘时间
  17793. type: integer
  17794. exchangecode:
  17795. description: 交易所代码
  17796. type: integer
  17797. exchangedate:
  17798. description: 交易日
  17799. type: integer
  17800. goodscode:
  17801. description: 商品代码
  17802. type: string
  17803. grepmarketprice:
  17804. description: 暗盘价 港股专用
  17805. type: number
  17806. highest:
  17807. description: 最高价
  17808. type: number
  17809. holdincrement:
  17810. description: 单笔持仓
  17811. type: integer
  17812. holdvolume:
  17813. description: 持仓
  17814. type: integer
  17815. iep:
  17816. description: 平衡价 港股专用
  17817. type: number
  17818. iev:
  17819. description: 平衡量 港股专用
  17820. type: number
  17821. inventory:
  17822. description: 库存
  17823. type: integer
  17824. iscleared:
  17825. description: 是否清盘标志
  17826. type: integer
  17827. issettled:
  17828. description: 是否结算标志
  17829. type: integer
  17830. last:
  17831. description: 最新价
  17832. type: number
  17833. lastlot:
  17834. description: 最新成交手数
  17835. type: integer
  17836. lasttime:
  17837. description: 行情时间(只有现价变化行情时间才变化)
  17838. type: string
  17839. lastturnover:
  17840. description: 最新成交金额
  17841. type: number
  17842. lastvolume:
  17843. description: 最新成交量
  17844. type: integer
  17845. limitdown:
  17846. description: 跌停价
  17847. type: number
  17848. limitup:
  17849. description: 涨停价
  17850. type: number
  17851. lowest:
  17852. description: 最低价
  17853. type: number
  17854. nontotalholdervolume:
  17855. description: 非交易持仓量
  17856. type: integer
  17857. nontotallot:
  17858. description: 非交易总手数
  17859. type: integer
  17860. nontotalturnover:
  17861. description: 非交易总金额
  17862. type: integer
  17863. nontotalvolume:
  17864. description: 非交易总量
  17865. type: integer
  17866. opened:
  17867. description: 开盘价
  17868. type: number
  17869. opentime:
  17870. description: 开盘时间
  17871. type: string
  17872. orderid:
  17873. description: 序号
  17874. type: integer
  17875. preclose:
  17876. description: 昨收
  17877. type: number
  17878. preholdvolume:
  17879. description: 昨持仓
  17880. type: integer
  17881. presettle:
  17882. description: 昨结价
  17883. type: number
  17884. publictradetype:
  17885. description: 公共交易标志类型 港股专用
  17886. type: string
  17887. putoptionpremiums:
  17888. description: 认沽期权1
  17889. type: integer
  17890. putoptionpremiums2:
  17891. description: 认沽期权2
  17892. type: integer
  17893. putoptionpremiums3:
  17894. description: 认沽期权3
  17895. type: integer
  17896. putoptionpremiums4:
  17897. description: 认沽期权4
  17898. type: integer
  17899. putoptionpremiums5:
  17900. description: 认沽期权5
  17901. type: integer
  17902. settle:
  17903. description: 结算价
  17904. type: number
  17905. strikeprice:
  17906. description: 发行价
  17907. type: number
  17908. totalaskvolume:
  17909. description: 内盘
  17910. type: integer
  17911. totalbidvolume:
  17912. description: 外盘
  17913. type: integer
  17914. totallot:
  17915. description: 总手数
  17916. type: integer
  17917. totalturnover:
  17918. description: 总金额
  17919. type: number
  17920. totalvolume:
  17921. description: 总量
  17922. type: integer
  17923. utclasttime:
  17924. description: utc的行情时间
  17925. type: string
  17926. type: object
  17927. quote.QueryTSDataRsp:
  17928. properties:
  17929. Count:
  17930. description: 交易日应有数据个数
  17931. type: integer
  17932. decimalPlace:
  17933. description: 小数位
  17934. type: integer
  17935. endTime:
  17936. description: 结束时间
  17937. type: string
  17938. goodsCode:
  17939. description: 商品代码
  17940. type: string
  17941. historyDatas:
  17942. description: 历史数据
  17943. items:
  17944. $ref: '#/definitions/quote.HistoryData'
  17945. type: array
  17946. outGoodsCode:
  17947. description: 外部商品代码
  17948. type: string
  17949. preSettle:
  17950. description: 昨结价
  17951. type: number
  17952. runSteps:
  17953. description: 交易日开休市计划
  17954. items:
  17955. $ref: '#/definitions/quote.TSDataRunStep'
  17956. type: array
  17957. startTime:
  17958. description: 开始时间
  17959. type: string
  17960. tradeDate:
  17961. description: 交易日
  17962. type: string
  17963. type: object
  17964. quote.TSDataRunStep:
  17965. properties:
  17966. end:
  17967. description: 真实结束时间
  17968. type: string
  17969. endflag:
  17970. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17971. type: integer
  17972. endtime:
  17973. description: 结束时间(HH:mm)
  17974. type: string
  17975. endweekday:
  17976. description: 结束周几
  17977. type: integer
  17978. groupid:
  17979. description: 分组ID
  17980. type: integer
  17981. runstep:
  17982. description: 运行阶段 - 2:连续交易
  17983. type: integer
  17984. sectionid:
  17985. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  17986. type: integer
  17987. start:
  17988. description: 真实开始时间
  17989. type: string
  17990. startflag:
  17991. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17992. type: integer
  17993. starttime:
  17994. description: 起始时间(HH:mm)
  17995. type: string
  17996. startweekday:
  17997. description: 起始周几
  17998. type: integer
  17999. tradeweekday:
  18000. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18001. type: integer
  18002. type: object
  18003. szdz.QueryConvertLogRsp:
  18004. properties:
  18005. accountid:
  18006. description: 资金账户ID
  18007. type: integer
  18008. clientticket:
  18009. description: 客户端流水号
  18010. type: string
  18011. converttype:
  18012. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18013. type: integer
  18014. createtime:
  18015. description: 记账时间
  18016. type: string
  18017. daymaxvalue:
  18018. description: 配置当日最大转入限制
  18019. type: number
  18020. daymaxvalue2:
  18021. description: 配置当日最大转入限制(转入)
  18022. type: number
  18023. goodscode:
  18024. description: 商品代码
  18025. type: string
  18026. goodsname:
  18027. description: 商品名称
  18028. type: string
  18029. handlestatus:
  18030. description: 处理状态
  18031. type: integer
  18032. innergoodsid:
  18033. description: 内部商品ID
  18034. type: integer
  18035. inratio:
  18036. description: 配置转入比值
  18037. type: integer
  18038. invalue:
  18039. description: 目标值
  18040. type: number
  18041. logid:
  18042. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18043. type: integer
  18044. mobile:
  18045. description: 手机号码(加密存储)
  18046. type: string
  18047. outergoodscode:
  18048. description: 外部商品代码[JD\PD]
  18049. type: string
  18050. outratio:
  18051. description: 配置转出比值
  18052. type: integer
  18053. outvalue:
  18054. description: 源值
  18055. type: number
  18056. pddecimalplace:
  18057. description: PD小数位
  18058. type: integer
  18059. qty:
  18060. description: 数量
  18061. type: string
  18062. remark:
  18063. description: 备注
  18064. type: string
  18065. sessionid:
  18066. description: 会话ID
  18067. type: integer
  18068. timemaxvalue:
  18069. description: 配置单次最大转入限制
  18070. type: number
  18071. timemaxvalue2:
  18072. description: 配置单次最大转入限制(转入)
  18073. type: number
  18074. timeminvalue:
  18075. description: 配置单次最小数量限制
  18076. type: number
  18077. timeminvalue2:
  18078. description: 配置单次最小数量限制(转入)
  18079. type: number
  18080. tradedate:
  18081. description: 交易日(yyyyMMdd)
  18082. type: string
  18083. userid:
  18084. description: 用户ID
  18085. type: integer
  18086. required:
  18087. - logid
  18088. type: object
  18089. szdz.QueryGoodsPickupRsp:
  18090. properties:
  18091. accountid:
  18092. description: 账户ID
  18093. type: integer
  18094. address:
  18095. description: 提货人详细地址
  18096. type: string
  18097. auditer:
  18098. description: 审核人
  18099. type: integer
  18100. audittime:
  18101. description: 审核时间
  18102. type: string
  18103. cardnum:
  18104. description: 提货人证件号码
  18105. type: string
  18106. cardtypeid:
  18107. description: 提货人证件类型
  18108. type: integer
  18109. checkremark:
  18110. description: 审核备注
  18111. type: string
  18112. goodscode:
  18113. description: 商品代码
  18114. type: string
  18115. goodsid:
  18116. description: 商品ID
  18117. type: integer
  18118. goodsname:
  18119. description: 商品名称
  18120. type: string
  18121. handlestatus:
  18122. description: 处理状态
  18123. type: integer
  18124. marketid:
  18125. description: 市场ID
  18126. type: integer
  18127. phonenum:
  18128. description: 提货人联系方式
  18129. type: string
  18130. qty:
  18131. description: 提货数量
  18132. type: number
  18133. recivername:
  18134. description: 提货人姓名
  18135. type: string
  18136. reqtime:
  18137. description: 更新时间
  18138. type: string
  18139. takemode:
  18140. description: 提货方式 - 2:自提 3:配送
  18141. type: integer
  18142. takeorderid:
  18143. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18144. type: string
  18145. takeorderstatus:
  18146. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18147. type: integer
  18148. takeremark:
  18149. description: 提货备注
  18150. type: string
  18151. tradedate:
  18152. description: 交易日(yyyyMMdd)
  18153. type: string
  18154. userid:
  18155. description: 用户ID
  18156. type: integer
  18157. required:
  18158. - takeorderid
  18159. type: object
  18160. szdz.QueryRecieptOrderRsp:
  18161. properties:
  18162. accountName:
  18163. description: 所属账号名称(已脱敏)
  18164. type: string
  18165. accountid:
  18166. description: 资金账号
  18167. type: integer
  18168. buyorsell:
  18169. description: 方向 - 0:买 1:卖
  18170. type: integer
  18171. enableqty:
  18172. description: 可摘数量
  18173. type: integer
  18174. goodscode:
  18175. description: 商品代码
  18176. type: string
  18177. goodsid:
  18178. description: 商品ID
  18179. type: integer
  18180. goodsname:
  18181. description: 商品名称
  18182. type: string
  18183. orderid:
  18184. description: 委托单号
  18185. type: string
  18186. orderprice:
  18187. description: 委托价格
  18188. type: number
  18189. ordertime:
  18190. description: 委托时间
  18191. type: string
  18192. tradedate:
  18193. description: 交易日(yyyyMMdd)
  18194. type: string
  18195. required:
  18196. - ordertime
  18197. type: object
  18198. szdz.QuerySZDZTradePositionRsp:
  18199. properties:
  18200. accountid:
  18201. description: 账号Id
  18202. type: integer
  18203. agreeunit:
  18204. description: 合约单位
  18205. type: number
  18206. averageprice:
  18207. description: 持仓均价
  18208. type: number
  18209. buyorsell:
  18210. description: 方向 - 0:买 1:卖
  18211. type: integer
  18212. closetotalqty:
  18213. description: 平仓总数量
  18214. type: integer
  18215. curholderamount:
  18216. description: 当前持仓总金额
  18217. type: number
  18218. curpositionqty:
  18219. description: 当前持仓总数量
  18220. type: integer
  18221. currencyid:
  18222. description: 报价货币ID
  18223. type: integer
  18224. curtdposition:
  18225. description: 期末今日头寸
  18226. type: integer
  18227. decimalplace:
  18228. description: 报价小数位
  18229. type: integer
  18230. enableqty:
  18231. description: 可用量
  18232. type: integer
  18233. fretdposition:
  18234. description: 冻结今日头寸
  18235. type: integer
  18236. frozenqty:
  18237. description: 持仓冻结数量
  18238. type: integer
  18239. goodscode:
  18240. description: 商品代码(内部)
  18241. type: string
  18242. goodsid:
  18243. description: 商品Id
  18244. type: integer
  18245. goodsname:
  18246. description: 商品名称
  18247. type: string
  18248. goodunit:
  18249. description: 报价单位
  18250. type: string
  18251. goodunitid:
  18252. description: 报价单位ID
  18253. type: integer
  18254. holderamount:
  18255. description: 期初持仓总金额
  18256. type: number
  18257. marketid:
  18258. description: 市场ID
  18259. type: integer
  18260. openreqqty:
  18261. description: 开仓申请数量
  18262. type: integer
  18263. opentotalqty:
  18264. description: 开仓总数量
  18265. type: integer
  18266. otherfrozenqty:
  18267. description: 持仓其他冻结数量(交割冻结)
  18268. type: integer
  18269. positionqty:
  18270. description: 期初持仓数量
  18271. type: integer
  18272. szdz3freezqty:
  18273. description: 尚志大宗转换冻结总数量
  18274. type: integer
  18275. tnqty:
  18276. description: T+N冻结总量
  18277. type: integer
  18278. tnusedqty:
  18279. description: T+N使用量
  18280. type: integer
  18281. trademode:
  18282. description: 交易模式
  18283. type: integer
  18284. usedmargin:
  18285. description: 占用保证金
  18286. type: number
  18287. type: object
  18288. taaccount.QueryAmountLogRsp:
  18289. properties:
  18290. OPERATETYPENAME:
  18291. description: 资金操作类型名称
  18292. type: string
  18293. accountid:
  18294. description: 资金账户ID
  18295. type: integer
  18296. agoodscode:
  18297. description: 竞拍商品代码
  18298. type: string
  18299. agoodsname:
  18300. description: 竞拍商品名称
  18301. type: string
  18302. amount:
  18303. description: 资金金额
  18304. type: number
  18305. amountadjusttype:
  18306. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18307. type: integer
  18308. autoid:
  18309. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18310. type: integer
  18311. balance:
  18312. description: 期初余额
  18313. type: number
  18314. businesscode:
  18315. description: 业务编号
  18316. type: integer
  18317. createtime:
  18318. description: 发生时间
  18319. type: string
  18320. currencyid:
  18321. description: 币种ID
  18322. type: integer
  18323. currentbalance:
  18324. description: 期末余额(变动后金额)
  18325. type: number
  18326. dgoodscode:
  18327. description: 交割商品代码
  18328. type: string
  18329. dgoodsname:
  18330. description: 交割商品名称
  18331. type: string
  18332. goodscode:
  18333. description: 商品代码
  18334. type: string
  18335. goodsid:
  18336. description: 商品ID
  18337. type: integer
  18338. goodsname:
  18339. description: 商品名称
  18340. type: string
  18341. marketid:
  18342. description: 市场ID
  18343. type: integer
  18344. marketname:
  18345. description: 市场名称
  18346. type: string
  18347. moneyticket:
  18348. description: 资金流水号:银行端流水号
  18349. type: integer
  18350. operatetype:
  18351. 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:营销收款
  18352. type: integer
  18353. relationorderid:
  18354. description: 关联单号
  18355. type: string
  18356. remark:
  18357. description: 备注
  18358. type: string
  18359. trademode:
  18360. description: 交易模式
  18361. type: integer
  18362. required:
  18363. - accountid
  18364. - amount
  18365. - amountadjusttype
  18366. - autoid
  18367. - balance
  18368. - createtime
  18369. - currentbalance
  18370. - operatetype
  18371. type: object
  18372. taaccount.QueryHisAmountLogRsp:
  18373. properties:
  18374. OPERATETYPENAME:
  18375. description: 资金操作类型名称
  18376. type: string
  18377. accountid:
  18378. description: 资金账户ID
  18379. type: integer
  18380. agoodscode:
  18381. description: 竞拍商品代码
  18382. type: string
  18383. agoodsname:
  18384. description: 竞拍商品名称
  18385. type: string
  18386. amount:
  18387. description: 资金金额
  18388. type: number
  18389. amountadjusttype:
  18390. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18391. type: integer
  18392. autoid:
  18393. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18394. type: integer
  18395. balance:
  18396. description: 期初余额
  18397. type: number
  18398. businesscode:
  18399. description: 业务编号
  18400. type: integer
  18401. createtime:
  18402. description: 发生时间
  18403. type: string
  18404. currencyid:
  18405. description: 币种ID
  18406. type: integer
  18407. currentbalance:
  18408. description: 期末余额(变动后金额)
  18409. type: number
  18410. dgoodscode:
  18411. description: 交割商品代码
  18412. type: string
  18413. dgoodsname:
  18414. description: 交割商品名称
  18415. type: string
  18416. goodscode:
  18417. description: 商品代码
  18418. type: string
  18419. goodsid:
  18420. description: 商品ID
  18421. type: integer
  18422. goodsname:
  18423. description: 商品名称
  18424. type: string
  18425. histradedate:
  18426. description: 历史交易日
  18427. type: string
  18428. isvaliddata:
  18429. description: 是否有效 - 0:无效 1:有效
  18430. type: integer
  18431. marketid:
  18432. description: 市场ID
  18433. type: integer
  18434. marketname:
  18435. description: 市场名称
  18436. type: string
  18437. moneyticket:
  18438. description: 资金流水号:银行端流水号
  18439. type: integer
  18440. operatetype:
  18441. 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:营销收款
  18442. type: integer
  18443. relationorderid:
  18444. description: 关联单号
  18445. type: string
  18446. remark:
  18447. description: 备注
  18448. type: string
  18449. trademode:
  18450. description: 交易模式
  18451. type: integer
  18452. required:
  18453. - accountid
  18454. - amount
  18455. - amountadjusttype
  18456. - autoid
  18457. - balance
  18458. - createtime
  18459. - currentbalance
  18460. - histradedate
  18461. - operatetype
  18462. type: object
  18463. trade.QueryRecieptOrderRsp:
  18464. properties:
  18465. accountName:
  18466. description: 所属账号名称(已脱敏)
  18467. type: string
  18468. accountid:
  18469. description: 资金账号
  18470. type: integer
  18471. buyorsell:
  18472. description: 方向 - 0:买 1:卖
  18473. type: integer
  18474. enableqty:
  18475. description: 可摘数量
  18476. type: integer
  18477. goodscode:
  18478. description: 商品代码
  18479. type: string
  18480. goodsid:
  18481. description: 商品ID
  18482. type: integer
  18483. goodsname:
  18484. description: 商品名称
  18485. type: string
  18486. orderid:
  18487. description: 委托单号
  18488. type: string
  18489. orderprice:
  18490. description: 委托价格
  18491. type: number
  18492. ordertime:
  18493. description: 委托时间
  18494. type: string
  18495. tradedate:
  18496. description: 交易日(yyyyMMdd)
  18497. type: string
  18498. required:
  18499. - ordertime
  18500. type: object
  18501. user.LoginQueryRsp:
  18502. properties:
  18503. areaRoles:
  18504. description: 所属角色信息
  18505. items:
  18506. $ref: '#/definitions/models.Arearole'
  18507. type: array
  18508. externalExchanges:
  18509. description: 外部交易所
  18510. items:
  18511. $ref: '#/definitions/models.Externalexchange'
  18512. type: array
  18513. goodsgroups:
  18514. description: 商品组
  18515. items:
  18516. $ref: '#/definitions/models.Goodsgroup'
  18517. type: array
  18518. loginAccount:
  18519. $ref: '#/definitions/models.Loginaccount'
  18520. description: 登录账号
  18521. markets:
  18522. description: 市场
  18523. items:
  18524. $ref: '#/definitions/models.Market'
  18525. type: array
  18526. systemParams:
  18527. description: 系统参数
  18528. items:
  18529. $ref: '#/definitions/models.Systemparam'
  18530. type: array
  18531. userAccount:
  18532. $ref: '#/definitions/models.Useraccount'
  18533. description: 用户账号
  18534. userInfo:
  18535. $ref: '#/definitions/models.Userinfo'
  18536. description: 用户信息
  18537. username:
  18538. description: 用户姓名
  18539. type: string
  18540. type: object
  18541. info:
  18542. contact: {}
  18543. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18544. termsOfService: http://www.muchinfo.cn
  18545. title: MTP2.0 查询服务 API
  18546. version: "1.0"
  18547. paths:
  18548. /CPTrade/QueryCPTradeMyBidInfos:
  18549. get:
  18550. parameters:
  18551. - description: 资金账户
  18552. in: query
  18553. name: accountid
  18554. required: true
  18555. type: integer
  18556. - description: 预售市场ID
  18557. in: query
  18558. name: marketid
  18559. type: integer
  18560. - description: 预售商品ID
  18561. in: query
  18562. name: goodsid
  18563. type: integer
  18564. produces:
  18565. - application/json
  18566. responses:
  18567. "200":
  18568. description: OK
  18569. schema:
  18570. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18571. "500":
  18572. description: Internal Server Error
  18573. schema:
  18574. $ref: '#/definitions/app.Response'
  18575. security:
  18576. - ApiKeyAuth: []
  18577. summary: 查询产能预售我的出价信息
  18578. tags:
  18579. - 产能预售
  18580. /CPTrade/QueryCPTradeOrderDetail:
  18581. get:
  18582. parameters:
  18583. - description: 预售商品ID
  18584. in: query
  18585. name: goodsid
  18586. type: integer
  18587. - description: 预售市场ID
  18588. in: query
  18589. name: marketid
  18590. type: integer
  18591. - description: 预售商品ID列表 - 格式:1,2,3
  18592. in: query
  18593. name: goodsids
  18594. type: string
  18595. produces:
  18596. - application/json
  18597. responses:
  18598. "200":
  18599. description: OK
  18600. schema:
  18601. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18602. "500":
  18603. description: Internal Server Error
  18604. schema:
  18605. $ref: '#/definitions/app.Response'
  18606. security:
  18607. - ApiKeyAuth: []
  18608. summary: 查询产能预售委托单信息
  18609. tags:
  18610. - 产能预售
  18611. /CPTrade/QueryMyCPTradeGoods:
  18612. get:
  18613. parameters:
  18614. - description: 资金账户
  18615. in: query
  18616. name: accountid
  18617. required: true
  18618. type: integer
  18619. produces:
  18620. - application/json
  18621. responses:
  18622. "200":
  18623. description: OK
  18624. schema:
  18625. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18626. "500":
  18627. description: Internal Server Error
  18628. schema:
  18629. $ref: '#/definitions/app.Response'
  18630. security:
  18631. - ApiKeyAuth: []
  18632. summary: 查询我的预售信息
  18633. tags:
  18634. - 产能预售
  18635. /CPTrade/QueryPositionCancel:
  18636. get:
  18637. parameters:
  18638. - description: 账户ID
  18639. in: query
  18640. name: userid
  18641. required: true
  18642. type: integer
  18643. - description: 注销ID
  18644. in: query
  18645. name: cancelid
  18646. type: integer
  18647. - description: 资金账户ID
  18648. in: query
  18649. name: accountid
  18650. type: integer
  18651. produces:
  18652. - application/json
  18653. responses:
  18654. "200":
  18655. description: OK
  18656. schema:
  18657. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18658. "500":
  18659. description: Internal Server Error
  18660. schema:
  18661. $ref: '#/definitions/app.Response'
  18662. security:
  18663. - ApiKeyAuth: []
  18664. summary: 查询远期订单注销申请信息
  18665. tags:
  18666. - 产能预售
  18667. /CPTrade/QueryPreasleApply:
  18668. get:
  18669. parameters:
  18670. - description: 账户ID
  18671. in: query
  18672. name: userid
  18673. required: true
  18674. type: integer
  18675. - description: 申请ID
  18676. in: query
  18677. name: applyid
  18678. type: integer
  18679. - description: 资金账户ID
  18680. in: query
  18681. name: accountid
  18682. type: integer
  18683. produces:
  18684. - application/json
  18685. responses:
  18686. "200":
  18687. description: OK
  18688. schema:
  18689. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18690. "500":
  18691. description: Internal Server Error
  18692. schema:
  18693. $ref: '#/definitions/app.Response'
  18694. security:
  18695. - ApiKeyAuth: []
  18696. summary: 查询产能预售申请信息
  18697. tags:
  18698. - 产能预售
  18699. /CPTrade/QueryPresaleGoodsEx:
  18700. get:
  18701. parameters:
  18702. - description: 预售商品ID
  18703. in: query
  18704. name: goodsid
  18705. type: integer
  18706. - description: 预售市场ID
  18707. in: query
  18708. name: marketid
  18709. type: integer
  18710. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18711. in: query
  18712. name: presalemode
  18713. type: integer
  18714. - description: 预售商品ID列表 - 格式:1,2,3
  18715. in: query
  18716. name: goodsids
  18717. type: string
  18718. - description: 预售商品代码
  18719. in: query
  18720. name: goodscode
  18721. type: string
  18722. produces:
  18723. - application/json
  18724. responses:
  18725. "200":
  18726. description: OK
  18727. schema:
  18728. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18729. "500":
  18730. description: Internal Server Error
  18731. schema:
  18732. $ref: '#/definitions/app.Response'
  18733. security:
  18734. - ApiKeyAuth: []
  18735. summary: 查询产能预售商品扩展信息
  18736. tags:
  18737. - 产能预售
  18738. /CPTrade/QueryUserGoodsData:
  18739. get:
  18740. parameters:
  18741. - description: 资金账户ID
  18742. in: query
  18743. name: accountid
  18744. required: true
  18745. type: integer
  18746. produces:
  18747. - application/json
  18748. responses:
  18749. "200":
  18750. description: OK
  18751. schema:
  18752. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18753. "500":
  18754. description: Internal Server Error
  18755. schema:
  18756. $ref: '#/definitions/app.Response'
  18757. security:
  18758. - ApiKeyAuth: []
  18759. summary: 查询远期订单信息
  18760. tags:
  18761. - 产能预售
  18762. /Common/GetAllEnums:
  18763. get:
  18764. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18765. parameters:
  18766. - description: 起始自增ID
  18767. in: query
  18768. name: autoid
  18769. type: integer
  18770. produces:
  18771. - application/json
  18772. responses:
  18773. "200":
  18774. description: OK
  18775. schema:
  18776. $ref: '#/definitions/models.Enumdicitem'
  18777. "500":
  18778. description: Internal Server Error
  18779. schema:
  18780. $ref: '#/definitions/app.Response'
  18781. summary: 获取所有枚举信息
  18782. tags:
  18783. - 通用服务
  18784. /Common/GetClientMenus:
  18785. get:
  18786. parameters:
  18787. - description: 登录账号
  18788. in: query
  18789. name: loginID
  18790. required: true
  18791. type: integer
  18792. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18793. in: query
  18794. name: clientType
  18795. type: integer
  18796. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18797. in: query
  18798. name: name
  18799. type: string
  18800. produces:
  18801. - application/json
  18802. responses:
  18803. "200":
  18804. description: OK
  18805. schema:
  18806. items:
  18807. $ref: '#/definitions/common.ClientMenu'
  18808. type: array
  18809. "500":
  18810. description: Internal Server Error
  18811. schema:
  18812. $ref: '#/definitions/app.Response'
  18813. security:
  18814. - ApiKeyAuth: []
  18815. summary: 获取交易端菜单
  18816. tags:
  18817. - 通用服务
  18818. /Common/GetDivisions:
  18819. get:
  18820. produces:
  18821. - application/json
  18822. responses:
  18823. "200":
  18824. description: OK
  18825. schema:
  18826. $ref: '#/definitions/models.Division'
  18827. "500":
  18828. description: Internal Server Error
  18829. schema:
  18830. $ref: '#/definitions/app.Response'
  18831. summary: 查询区域信息
  18832. tags:
  18833. - 通用服务
  18834. /Common/GetServerTime:
  18835. get:
  18836. produces:
  18837. - application/json
  18838. responses:
  18839. "200":
  18840. description: OK
  18841. schema:
  18842. $ref: '#/definitions/app.Response'
  18843. "500":
  18844. description: Internal Server Error
  18845. schema:
  18846. $ref: '#/definitions/app.Response'
  18847. summary: 获取服务器时间
  18848. tags:
  18849. - 通用服务
  18850. /Common/NoticeReaded:
  18851. post:
  18852. parameters:
  18853. - description: 登录账号
  18854. in: query
  18855. name: loginID
  18856. required: true
  18857. type: integer
  18858. - description: 通知公告ID
  18859. in: query
  18860. name: noticeID
  18861. required: true
  18862. type: integer
  18863. produces:
  18864. - application/json
  18865. responses:
  18866. "200":
  18867. description: OK
  18868. schema:
  18869. $ref: '#/definitions/app.Response'
  18870. "500":
  18871. description: Internal Server Error
  18872. schema:
  18873. $ref: '#/definitions/app.Response'
  18874. security:
  18875. - ApiKeyAuth: []
  18876. summary: 通知公告设置已读请求
  18877. tags:
  18878. - 通用服务
  18879. /Common/QueryErrorInfos:
  18880. get:
  18881. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18882. parameters:
  18883. - description: 起始行号前索引
  18884. in: query
  18885. name: rowNumber
  18886. type: string
  18887. produces:
  18888. - application/json
  18889. responses:
  18890. "200":
  18891. description: OK
  18892. schema:
  18893. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18894. "500":
  18895. description: Internal Server Error
  18896. schema:
  18897. $ref: '#/definitions/app.Response'
  18898. summary: 获取数据库错误信息
  18899. tags:
  18900. - 通用服务
  18901. /Common/QueryImageConfigs:
  18902. get:
  18903. parameters:
  18904. - description: 用户id
  18905. in: query
  18906. name: userId
  18907. type: integer
  18908. - description: 类型 - 1:App首页轮播 2:我的
  18909. in: query
  18910. name: imageType
  18911. type: integer
  18912. produces:
  18913. - application/json
  18914. responses:
  18915. "200":
  18916. description: OK
  18917. schema:
  18918. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18919. "500":
  18920. description: Internal Server Error
  18921. schema:
  18922. $ref: '#/definitions/app.Response'
  18923. summary: 查询轮播图配置信息
  18924. tags:
  18925. - 通用服务
  18926. /Common/QueryNotice:
  18927. get:
  18928. parameters:
  18929. - description: 页码
  18930. in: query
  18931. name: page
  18932. type: integer
  18933. - description: 每页条数
  18934. in: query
  18935. name: pagesize
  18936. type: integer
  18937. - description: 登录账号
  18938. in: query
  18939. name: loginID
  18940. required: true
  18941. type: integer
  18942. - description: 消息类型 - 1:公告通知 2:系统消息
  18943. in: query
  18944. name: msgType
  18945. type: integer
  18946. - description: 是否只获取未读信息
  18947. in: query
  18948. name: onlyUnRead
  18949. type: boolean
  18950. - description: 自增ID,传入后会返回这个ID后面的记录
  18951. in: query
  18952. name: lastID
  18953. type: integer
  18954. produces:
  18955. - application/json
  18956. responses:
  18957. "200":
  18958. description: OK
  18959. schema:
  18960. $ref: '#/definitions/common.QueryNoticeRsp'
  18961. "500":
  18962. description: Internal Server Error
  18963. schema:
  18964. $ref: '#/definitions/app.Response'
  18965. security:
  18966. - ApiKeyAuth: []
  18967. summary: 通知公告系统消息查询
  18968. tags:
  18969. - 通用服务
  18970. /Common/QueryProvincesAndCities:
  18971. get:
  18972. parameters:
  18973. - description: 省ID
  18974. in: query
  18975. name: provinceID
  18976. type: integer
  18977. produces:
  18978. - application/json
  18979. responses:
  18980. "200":
  18981. description: OK
  18982. schema:
  18983. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18984. "500":
  18985. description: Internal Server Error
  18986. schema:
  18987. $ref: '#/definitions/app.Response'
  18988. summary: 查询省市信息(不包括区)
  18989. tags:
  18990. - 通用服务
  18991. /Common/QueryTableDefine:
  18992. get:
  18993. parameters:
  18994. - description: 表key
  18995. in: query
  18996. name: tableKey
  18997. type: string
  18998. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18999. in: query
  19000. name: tableType
  19001. type: integer
  19002. produces:
  19003. - application/json
  19004. responses:
  19005. "200":
  19006. description: OK
  19007. schema:
  19008. $ref: '#/definitions/common.QueryTableDefineRsp'
  19009. "500":
  19010. description: Internal Server Error
  19011. schema:
  19012. $ref: '#/definitions/app.Response'
  19013. summary: 查询交易端列表头信息
  19014. tags:
  19015. - 通用服务
  19016. /Common/QueryTraderMenu:
  19017. get:
  19018. parameters:
  19019. - description: 登录账号
  19020. in: query
  19021. name: loginid
  19022. required: true
  19023. type: integer
  19024. produces:
  19025. - application/json
  19026. responses:
  19027. "200":
  19028. description: OK
  19029. schema:
  19030. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19031. "500":
  19032. description: Internal Server Error
  19033. schema:
  19034. $ref: '#/definitions/app.Response'
  19035. summary: 查询交易端菜单
  19036. tags:
  19037. - 通用服务
  19038. /Delivery/QueryDeliveryRelation:
  19039. get:
  19040. parameters:
  19041. - description: 商品ID
  19042. in: query
  19043. name: goodsid
  19044. type: integer
  19045. - description: 品种ID
  19046. in: query
  19047. name: deliverygoodsid
  19048. type: integer
  19049. - description: 市场ID
  19050. in: query
  19051. name: marketid
  19052. type: integer
  19053. produces:
  19054. - application/json
  19055. responses:
  19056. "200":
  19057. description: OK
  19058. schema:
  19059. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19060. "500":
  19061. description: Internal Server Error
  19062. schema:
  19063. $ref: '#/definitions/app.Response'
  19064. security:
  19065. - ApiKeyAuth: []
  19066. summary: 查询商品交割关系表
  19067. tags:
  19068. - 交割服务
  19069. /Ermcp/GetErmcpGoods:
  19070. get:
  19071. parameters:
  19072. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19073. in: query
  19074. name: lastUpdateTime
  19075. type: string
  19076. produces:
  19077. - application/json
  19078. responses:
  19079. "200":
  19080. description: OK
  19081. schema:
  19082. $ref: '#/definitions/models.ErmcpGoods'
  19083. "500":
  19084. description: Internal Server Error
  19085. schema:
  19086. $ref: '#/definitions/app.Response'
  19087. security:
  19088. - ApiKeyAuth: []
  19089. summary: 查询企业风管期货商品信息
  19090. tags:
  19091. - 企业风险管理(app)
  19092. /Ermcp/GetErmcpGoodsSortByPosition:
  19093. get:
  19094. parameters:
  19095. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19096. in: query
  19097. name: sortIndex
  19098. type: string
  19099. produces:
  19100. - application/json
  19101. responses:
  19102. "200":
  19103. description: OK
  19104. schema:
  19105. $ref: '#/definitions/models.Goodssortbypreposition'
  19106. "500":
  19107. description: Internal Server Error
  19108. schema:
  19109. $ref: '#/definitions/app.Response'
  19110. security:
  19111. - ApiKeyAuth: []
  19112. summary: 查询企业风管期货主力、次主力商品信息
  19113. tags:
  19114. - 企业风险管理(app)
  19115. /Ermcp/GetErmcpOutAccountStatus:
  19116. get:
  19117. parameters:
  19118. - description: 登录账号
  19119. in: query
  19120. name: loginID
  19121. required: true
  19122. type: integer
  19123. produces:
  19124. - application/json
  19125. responses:
  19126. "200":
  19127. description: OK
  19128. schema:
  19129. $ref: '#/definitions/models.Hedgemarketopenlog'
  19130. "500":
  19131. description: Internal Server Error
  19132. schema:
  19133. $ref: '#/definitions/app.Response'
  19134. security:
  19135. - ApiKeyAuth: []
  19136. summary: 获取目标登录账号当前对冲账号在线状态
  19137. tags:
  19138. - 企业风险管理(app)
  19139. /Ermcp/GetErmcpRoleFuncMenuLists:
  19140. get:
  19141. parameters:
  19142. - description: 登录账号
  19143. in: query
  19144. name: loginID
  19145. required: true
  19146. type: integer
  19147. produces:
  19148. - application/json
  19149. responses:
  19150. "200":
  19151. description: OK
  19152. schema:
  19153. $ref: '#/definitions/models.Funcmenulist'
  19154. "500":
  19155. description: Internal Server Error
  19156. schema:
  19157. $ref: '#/definitions/app.Response'
  19158. security:
  19159. - ApiKeyAuth: []
  19160. summary: 获取企业风管终端权限
  19161. tags:
  19162. - 企业风险管理(app)
  19163. /Ermcp/QueryAccMgrBizGroupSet:
  19164. get:
  19165. parameters:
  19166. - description: 用户ID
  19167. in: query
  19168. name: userid
  19169. required: true
  19170. type: integer
  19171. - description: 现货商品id
  19172. in: query
  19173. name: deliverygoodsid
  19174. type: integer
  19175. produces:
  19176. - application/json
  19177. responses:
  19178. "200":
  19179. description: OK
  19180. schema:
  19181. items:
  19182. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19183. type: array
  19184. "500":
  19185. description: Internal Server Error
  19186. schema:
  19187. $ref: '#/definitions/app.Response'
  19188. security:
  19189. - ApiKeyAuth: []
  19190. summary: 查询业务类型分组(账户管理/账户设置)
  19191. tags:
  19192. - 企业风险管理(app)
  19193. /Ermcp/QueryAccMgrLoginUser:
  19194. get:
  19195. parameters:
  19196. - description: 用户ID
  19197. in: query
  19198. name: userid
  19199. required: true
  19200. type: integer
  19201. - description: 用户类型 2-机构 7-企业成员
  19202. in: query
  19203. name: usertype
  19204. type: integer
  19205. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19206. in: query
  19207. name: querytype
  19208. required: true
  19209. type: integer
  19210. produces:
  19211. - application/json
  19212. responses:
  19213. "200":
  19214. description: OK
  19215. schema:
  19216. items:
  19217. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19218. type: array
  19219. "500":
  19220. description: Internal Server Error
  19221. schema:
  19222. $ref: '#/definitions/app.Response'
  19223. security:
  19224. - ApiKeyAuth: []
  19225. summary: 查询账户管理登录账号(账户管理/登录账号)
  19226. tags:
  19227. - 企业风险管理(app)
  19228. /Ermcp/QueryAccMgrMainAccountInfo:
  19229. get:
  19230. parameters:
  19231. - description: 用户ID
  19232. in: query
  19233. name: userid
  19234. type: integer
  19235. - description: 主账号id
  19236. in: query
  19237. name: accountid
  19238. type: integer
  19239. produces:
  19240. - application/json
  19241. responses:
  19242. "200":
  19243. description: OK
  19244. schema:
  19245. items:
  19246. $ref: '#/definitions/models.MainAccountInfo'
  19247. type: array
  19248. "500":
  19249. description: Internal Server Error
  19250. schema:
  19251. $ref: '#/definitions/app.Response'
  19252. security:
  19253. - ApiKeyAuth: []
  19254. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19255. tags:
  19256. - 企业风险管理(app)
  19257. /Ermcp/QueryAccMgrRole:
  19258. get:
  19259. parameters:
  19260. - description: 用户ID
  19261. in: query
  19262. name: userid
  19263. required: true
  19264. type: integer
  19265. produces:
  19266. - application/json
  19267. responses:
  19268. "200":
  19269. description: OK
  19270. schema:
  19271. items:
  19272. $ref: '#/definitions/models.ErmcpRole'
  19273. type: array
  19274. "500":
  19275. description: Internal Server Error
  19276. schema:
  19277. $ref: '#/definitions/app.Response'
  19278. security:
  19279. - ApiKeyAuth: []
  19280. summary: 查询账户管理角色设置(账户管理/角色设置)
  19281. tags:
  19282. - 企业风险管理(app)
  19283. /Ermcp/QueryAccMgrRoleMenu:
  19284. get:
  19285. parameters:
  19286. - description: 用户ID
  19287. in: query
  19288. name: userid
  19289. required: true
  19290. type: integer
  19291. - description: 角色id(可多个,逗号隔开)
  19292. in: query
  19293. name: roleid
  19294. type: string
  19295. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19296. in: query
  19297. name: menutype
  19298. type: integer
  19299. produces:
  19300. - application/json
  19301. responses:
  19302. "200":
  19303. description: OK
  19304. schema:
  19305. items:
  19306. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19307. type: array
  19308. "500":
  19309. description: Internal Server Error
  19310. schema:
  19311. $ref: '#/definitions/app.Response'
  19312. security:
  19313. - ApiKeyAuth: []
  19314. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19315. tags:
  19316. - 企业风险管理(app)
  19317. /Ermcp/QueryAccMgrTaAccountInfo:
  19318. get:
  19319. parameters:
  19320. - description: 用户ID
  19321. in: query
  19322. name: userid
  19323. required: true
  19324. type: integer
  19325. - description: 账号id
  19326. in: query
  19327. name: accountid
  19328. type: integer
  19329. produces:
  19330. - application/json
  19331. responses:
  19332. "200":
  19333. description: OK
  19334. schema:
  19335. items:
  19336. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19337. type: array
  19338. "500":
  19339. description: Internal Server Error
  19340. schema:
  19341. $ref: '#/definitions/app.Response'
  19342. security:
  19343. - ApiKeyAuth: []
  19344. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19345. tags:
  19346. - 企业风险管理(app)
  19347. /Ermcp/QueryAccMgrTaaccount:
  19348. get:
  19349. parameters:
  19350. - description: 用户ID
  19351. in: query
  19352. name: userid
  19353. required: true
  19354. type: integer
  19355. produces:
  19356. - application/json
  19357. responses:
  19358. "200":
  19359. description: OK
  19360. schema:
  19361. items:
  19362. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19363. type: array
  19364. "500":
  19365. description: Internal Server Error
  19366. schema:
  19367. $ref: '#/definitions/app.Response'
  19368. security:
  19369. - ApiKeyAuth: []
  19370. summary: 查询账户管理期货账号(账户管理/期货账号)
  19371. tags:
  19372. - 企业风险管理(app)
  19373. /Ermcp/QueryAvaildGoodsGroup:
  19374. get:
  19375. parameters:
  19376. - description: 所属机构ID
  19377. in: query
  19378. name: userid
  19379. required: true
  19380. type: integer
  19381. produces:
  19382. - application/json
  19383. responses:
  19384. "200":
  19385. description: OK
  19386. schema:
  19387. items:
  19388. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19389. type: array
  19390. "500":
  19391. description: Internal Server Error
  19392. schema:
  19393. $ref: '#/definitions/app.Response'
  19394. security:
  19395. - ApiKeyAuth: []
  19396. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19397. tags:
  19398. - 企业风险管理(app)
  19399. /Ermcp/QueryBusinessDj:
  19400. get:
  19401. parameters:
  19402. - description: 用户ID
  19403. in: query
  19404. name: UserId
  19405. required: true
  19406. type: integer
  19407. - description: 用户类型 2-机构 7-企业成员
  19408. in: query
  19409. name: usertype
  19410. type: integer
  19411. - description: 现货合同ID, 不填则查所有
  19412. in: query
  19413. name: relatedid
  19414. type: string
  19415. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19416. in: query
  19417. name: applystatus
  19418. type: string
  19419. produces:
  19420. - application/json
  19421. responses:
  19422. "200":
  19423. description: OK
  19424. schema:
  19425. items:
  19426. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19427. type: array
  19428. "500":
  19429. description: Internal Server Error
  19430. schema:
  19431. $ref: '#/definitions/app.Response'
  19432. security:
  19433. - ApiKeyAuth: []
  19434. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19435. tags:
  19436. - 企业风险管理(app)
  19437. /Ermcp/QueryBusinessFp:
  19438. get:
  19439. parameters:
  19440. - description: 用户ID
  19441. in: query
  19442. name: UserId
  19443. required: true
  19444. type: integer
  19445. - description: 用户类型 2-机构 7-企业成员
  19446. in: query
  19447. name: usertype
  19448. type: integer
  19449. - description: 现货合同ID, 不填则查所有
  19450. in: query
  19451. name: relatedid
  19452. type: string
  19453. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19454. in: query
  19455. name: applystatus
  19456. type: string
  19457. produces:
  19458. - application/json
  19459. responses:
  19460. "200":
  19461. description: OK
  19462. schema:
  19463. items:
  19464. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19465. type: array
  19466. "500":
  19467. description: Internal Server Error
  19468. schema:
  19469. $ref: '#/definitions/app.Response'
  19470. security:
  19471. - ApiKeyAuth: []
  19472. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19473. tags:
  19474. - 企业风险管理(app)
  19475. /Ermcp/QueryBusinessJs:
  19476. get:
  19477. parameters:
  19478. - description: 用户ID
  19479. in: query
  19480. name: UserId
  19481. required: true
  19482. type: integer
  19483. - description: 用户类型 2-机构 7-企业成员
  19484. in: query
  19485. name: usertype
  19486. type: integer
  19487. - description: 现货合同ID, 不填则查所有
  19488. in: query
  19489. name: relatedid
  19490. type: string
  19491. - description: 操作申请id
  19492. in: query
  19493. name: operateapplyid
  19494. type: string
  19495. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19496. in: query
  19497. name: applystatus
  19498. type: string
  19499. produces:
  19500. - application/json
  19501. responses:
  19502. "200":
  19503. description: OK
  19504. schema:
  19505. items:
  19506. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19507. type: array
  19508. "500":
  19509. description: Internal Server Error
  19510. schema:
  19511. $ref: '#/definitions/app.Response'
  19512. security:
  19513. - ApiKeyAuth: []
  19514. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19515. tags:
  19516. - 企业风险管理(app)
  19517. /Ermcp/QueryBusinessJsEx:
  19518. get:
  19519. parameters:
  19520. - description: 用户ID
  19521. in: query
  19522. name: UserId
  19523. required: true
  19524. type: integer
  19525. - description: 用户类型 2-机构 7-企业成员
  19526. in: query
  19527. name: usertype
  19528. type: integer
  19529. - description: 现货合同ID, 不填则查所有
  19530. in: query
  19531. name: relatedid
  19532. type: string
  19533. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19534. in: query
  19535. name: applystatus
  19536. type: string
  19537. produces:
  19538. - application/json
  19539. responses:
  19540. "200":
  19541. description: OK
  19542. schema:
  19543. items:
  19544. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19545. type: array
  19546. "500":
  19547. description: Internal Server Error
  19548. schema:
  19549. $ref: '#/definitions/app.Response'
  19550. security:
  19551. - ApiKeyAuth: []
  19552. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19553. tags:
  19554. - 企业风险管理(app)
  19555. /Ermcp/QueryBusinessKx:
  19556. get:
  19557. parameters:
  19558. - description: 用户ID
  19559. in: query
  19560. name: UserId
  19561. required: true
  19562. type: integer
  19563. - description: 用户类型 2-机构 7-企业成员
  19564. in: query
  19565. name: usertype
  19566. type: integer
  19567. - description: 现货合同ID, 不填则查所有
  19568. in: query
  19569. name: relatedid
  19570. type: string
  19571. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19572. in: query
  19573. name: applystatus
  19574. type: string
  19575. produces:
  19576. - application/json
  19577. responses:
  19578. "200":
  19579. description: OK
  19580. schema:
  19581. items:
  19582. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19583. type: array
  19584. "500":
  19585. description: Internal Server Error
  19586. schema:
  19587. $ref: '#/definitions/app.Response'
  19588. security:
  19589. - ApiKeyAuth: []
  19590. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19591. tags:
  19592. - 企业风险管理(app)
  19593. /Ermcp/QueryChangeLog:
  19594. get:
  19595. parameters:
  19596. - description: 合同ID
  19597. in: query
  19598. name: RelatedId
  19599. required: true
  19600. type: string
  19601. produces:
  19602. - application/json
  19603. responses:
  19604. "200":
  19605. description: OK
  19606. schema:
  19607. items:
  19608. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19609. type: array
  19610. "500":
  19611. description: Internal Server Error
  19612. schema:
  19613. $ref: '#/definitions/app.Response'
  19614. security:
  19615. - ApiKeyAuth: []
  19616. summary: 查询变更记录
  19617. tags:
  19618. - 企业风险管理(app)
  19619. /Ermcp/QueryErmcpHisOrderDetails:
  19620. get:
  19621. parameters:
  19622. - description: 资金账户ID
  19623. in: query
  19624. name: accountID
  19625. required: true
  19626. type: integer
  19627. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19628. in: query
  19629. name: startDate
  19630. type: string
  19631. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19632. in: query
  19633. name: endDate
  19634. type: string
  19635. produces:
  19636. - application/json
  19637. responses:
  19638. "200":
  19639. description: OK
  19640. schema:
  19641. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19642. "500":
  19643. description: Internal Server Error
  19644. schema:
  19645. $ref: '#/definitions/app.Response'
  19646. security:
  19647. - ApiKeyAuth: []
  19648. summary: 获取企业风管期货历史委托单信息
  19649. tags:
  19650. - 企业风险管理(app)
  19651. /Ermcp/QueryErmcpHisTradeDetails:
  19652. get:
  19653. parameters:
  19654. - description: 资金账户ID
  19655. in: query
  19656. name: accountID
  19657. required: true
  19658. type: integer
  19659. - description: 商品ID
  19660. in: query
  19661. name: goodsID
  19662. type: integer
  19663. - description: 买卖方向,0:买 1:卖
  19664. in: query
  19665. name: buyOrSell
  19666. type: integer
  19667. - description: 关联委托单号
  19668. in: query
  19669. name: orderID
  19670. type: integer
  19671. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19672. in: query
  19673. name: startDate
  19674. type: string
  19675. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19676. in: query
  19677. name: endDate
  19678. type: string
  19679. produces:
  19680. - application/json
  19681. responses:
  19682. "200":
  19683. description: OK
  19684. schema:
  19685. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19686. "500":
  19687. description: Internal Server Error
  19688. schema:
  19689. $ref: '#/definitions/app.Response'
  19690. security:
  19691. - ApiKeyAuth: []
  19692. summary: 获取企业风管期货历史成交单信息
  19693. tags:
  19694. - 企业风险管理(app)
  19695. /Ermcp/QueryErmcpInnerHolderDetails:
  19696. get:
  19697. parameters:
  19698. - description: 资金账户ID
  19699. in: query
  19700. name: accountID
  19701. required: true
  19702. type: integer
  19703. - description: 商品ID
  19704. in: query
  19705. name: goodsID
  19706. type: integer
  19707. - description: 买卖方向,0:买 1:卖
  19708. in: query
  19709. name: buyOrSell
  19710. type: integer
  19711. produces:
  19712. - application/json
  19713. responses:
  19714. "200":
  19715. description: OK
  19716. schema:
  19717. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19718. "500":
  19719. description: Internal Server Error
  19720. schema:
  19721. $ref: '#/definitions/app.Response'
  19722. security:
  19723. - ApiKeyAuth: []
  19724. summary: 获取企业风管期货内部持仓单信息
  19725. tags:
  19726. - 企业风险管理(app)
  19727. /Ermcp/QueryErmcpOrderDetails:
  19728. get:
  19729. parameters:
  19730. - description: 资金账户ID
  19731. in: query
  19732. name: accountID
  19733. required: true
  19734. type: integer
  19735. produces:
  19736. - application/json
  19737. responses:
  19738. "200":
  19739. description: OK
  19740. schema:
  19741. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19742. "500":
  19743. description: Internal Server Error
  19744. schema:
  19745. $ref: '#/definitions/app.Response'
  19746. security:
  19747. - ApiKeyAuth: []
  19748. summary: 获取企业风管期货委托单信息
  19749. tags:
  19750. - 企业风险管理(app)
  19751. /Ermcp/QueryErmcpTradeDetails:
  19752. get:
  19753. parameters:
  19754. - description: 资金账户ID
  19755. in: query
  19756. name: accountID
  19757. required: true
  19758. type: integer
  19759. - description: 商品ID
  19760. in: query
  19761. name: goodsID
  19762. type: integer
  19763. - description: 买卖方向,0:买 1:卖
  19764. in: query
  19765. name: buyOrSell
  19766. type: integer
  19767. - description: 关联委托单号
  19768. in: query
  19769. name: orderID
  19770. type: integer
  19771. produces:
  19772. - application/json
  19773. responses:
  19774. "200":
  19775. description: OK
  19776. schema:
  19777. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19778. "500":
  19779. description: Internal Server Error
  19780. schema:
  19781. $ref: '#/definitions/app.Response'
  19782. security:
  19783. - ApiKeyAuth: []
  19784. summary: 获取企业风管期货成交单信息
  19785. tags:
  19786. - 企业风险管理(app)
  19787. /Ermcp/QueryErmcpTradePosition:
  19788. get:
  19789. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19790. parameters:
  19791. - description: 资金账户ID
  19792. in: query
  19793. name: accountID
  19794. required: true
  19795. type: integer
  19796. - description: 所属市场ID
  19797. in: query
  19798. name: marketID
  19799. type: integer
  19800. produces:
  19801. - application/json
  19802. responses:
  19803. "200":
  19804. description: OK
  19805. schema:
  19806. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19807. "500":
  19808. description: Internal Server Error
  19809. schema:
  19810. $ref: '#/definitions/app.Response'
  19811. security:
  19812. - ApiKeyAuth: []
  19813. summary: 获取企业风管期货持仓头寸信息
  19814. tags:
  19815. - 企业风险管理(app)
  19816. /Ermcp/QueryExposureDetail:
  19817. get:
  19818. parameters:
  19819. - description: 所属机构ID
  19820. in: query
  19821. name: areaUserId
  19822. required: true
  19823. type: integer
  19824. - description: 套保商品
  19825. in: query
  19826. name: middleGoodsId
  19827. required: true
  19828. type: integer
  19829. produces:
  19830. - application/json
  19831. responses:
  19832. "200":
  19833. description: OK
  19834. schema:
  19835. items:
  19836. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19837. type: array
  19838. "500":
  19839. description: Internal Server Error
  19840. schema:
  19841. $ref: '#/definitions/app.Response'
  19842. security:
  19843. - ApiKeyAuth: []
  19844. summary: 查询敞口现货明细
  19845. tags:
  19846. - 企业风险管理(app)
  19847. /Ermcp/QueryExposureGoods:
  19848. get:
  19849. parameters:
  19850. - description: 套保商品id
  19851. in: query
  19852. name: middlegoodsid
  19853. required: true
  19854. type: integer
  19855. produces:
  19856. - application/json
  19857. responses:
  19858. "200":
  19859. description: OK
  19860. schema:
  19861. items:
  19862. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19863. type: array
  19864. "500":
  19865. description: Internal Server Error
  19866. schema:
  19867. $ref: '#/definitions/app.Response'
  19868. security:
  19869. - ApiKeyAuth: []
  19870. summary: 查询敞口主力合约
  19871. tags:
  19872. - 企业风险管理(app)
  19873. /Ermcp/QueryExposureHedgePosition:
  19874. get:
  19875. parameters:
  19876. - description: 用户id
  19877. in: query
  19878. name: userid
  19879. required: true
  19880. type: integer
  19881. produces:
  19882. - application/json
  19883. responses:
  19884. "200":
  19885. description: OK
  19886. schema:
  19887. items:
  19888. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19889. type: array
  19890. "500":
  19891. description: Internal Server Error
  19892. schema:
  19893. $ref: '#/definitions/app.Response'
  19894. security:
  19895. - ApiKeyAuth: []
  19896. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19897. tags:
  19898. - 企业风险管理(app)
  19899. /Ermcp/QueryExposureHedgePositionDetail:
  19900. get:
  19901. parameters:
  19902. - description: 所属机构ID
  19903. in: query
  19904. name: userid
  19905. required: true
  19906. type: integer
  19907. - description: 商品id
  19908. in: query
  19909. name: goodsId
  19910. required: true
  19911. type: integer
  19912. produces:
  19913. - application/json
  19914. responses:
  19915. "200":
  19916. description: OK
  19917. schema:
  19918. items:
  19919. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19920. type: array
  19921. "500":
  19922. description: Internal Server Error
  19923. schema:
  19924. $ref: '#/definitions/app.Response'
  19925. security:
  19926. - ApiKeyAuth: []
  19927. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19928. tags:
  19929. - 企业风险管理(app)
  19930. /Ermcp/QueryExposureSpot:
  19931. get:
  19932. parameters:
  19933. - description: 所属机构ID
  19934. in: query
  19935. name: areaUserId
  19936. required: true
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询敞口现货头寸(敞口/现货头寸)
  19954. tags:
  19955. - 企业风险管理(app)
  19956. /Ermcp/QueryExposureSpotDetail:
  19957. get:
  19958. parameters:
  19959. - description: 所属机构ID
  19960. in: query
  19961. name: areaUserId
  19962. required: true
  19963. type: integer
  19964. - description: 现货品种ID
  19965. in: query
  19966. name: wrstandardId
  19967. required: true
  19968. type: integer
  19969. produces:
  19970. - application/json
  19971. responses:
  19972. "200":
  19973. description: OK
  19974. schema:
  19975. items:
  19976. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19977. type: array
  19978. "500":
  19979. description: Internal Server Error
  19980. schema:
  19981. $ref: '#/definitions/app.Response'
  19982. security:
  19983. - ApiKeyAuth: []
  19984. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19985. tags:
  19986. - 企业风险管理(app)
  19987. /Ermcp/QueryFuturesCompany:
  19988. get:
  19989. produces:
  19990. - application/json
  19991. responses:
  19992. "200":
  19993. description: OK
  19994. schema:
  19995. items:
  19996. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19997. type: array
  19998. "500":
  19999. description: Internal Server Error
  20000. schema:
  20001. $ref: '#/definitions/app.Response'
  20002. security:
  20003. - ApiKeyAuth: []
  20004. summary: 查询期货公司
  20005. tags:
  20006. - 企业风险管理(app)
  20007. /Ermcp/QueryGGConvertConfig:
  20008. get:
  20009. parameters:
  20010. - description: 品种id(不填则查所有)
  20011. in: query
  20012. name: goodsgroupid
  20013. type: integer
  20014. produces:
  20015. - application/json
  20016. responses:
  20017. "200":
  20018. description: OK
  20019. schema:
  20020. items:
  20021. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20022. type: array
  20023. "500":
  20024. description: Internal Server Error
  20025. schema:
  20026. $ref: '#/definitions/app.Response'
  20027. security:
  20028. - ApiKeyAuth: []
  20029. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20030. tags:
  20031. - 企业风险管理(app)
  20032. /Ermcp/QueryGoodsBrand:
  20033. get:
  20034. parameters:
  20035. - description: 用户ID
  20036. in: query
  20037. name: userid
  20038. required: true
  20039. type: integer
  20040. - description: 现货商品ID
  20041. in: query
  20042. name: wrstandardid
  20043. type: integer
  20044. produces:
  20045. - application/json
  20046. responses:
  20047. "200":
  20048. description: OK
  20049. schema:
  20050. items:
  20051. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20052. type: array
  20053. "500":
  20054. description: Internal Server Error
  20055. schema:
  20056. $ref: '#/definitions/app.Response'
  20057. security:
  20058. - ApiKeyAuth: []
  20059. summary: 查询商品品牌
  20060. tags:
  20061. - 企业风险管理(app)
  20062. /Ermcp/QueryGoodsModel:
  20063. get:
  20064. parameters:
  20065. - description: 用户ID
  20066. in: query
  20067. name: userid
  20068. required: true
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. items:
  20077. $ref: '#/definitions/models.ErmcpGoodsModel'
  20078. type: array
  20079. "500":
  20080. description: Internal Server Error
  20081. schema:
  20082. $ref: '#/definitions/app.Response'
  20083. security:
  20084. - ApiKeyAuth: []
  20085. summary: 查询商品型号
  20086. tags:
  20087. - 企业风险管理(app)
  20088. /Ermcp/QueryHisExposure:
  20089. get:
  20090. parameters:
  20091. - description: 用户id
  20092. in: query
  20093. name: userid
  20094. required: true
  20095. type: integer
  20096. - description: 每个品种记录数
  20097. in: query
  20098. name: lastNum
  20099. required: true
  20100. type: integer
  20101. produces:
  20102. - application/json
  20103. responses:
  20104. "200":
  20105. description: OK
  20106. schema:
  20107. items:
  20108. $ref: '#/definitions/ermcp.HisExposureRsp'
  20109. type: array
  20110. "500":
  20111. description: Internal Server Error
  20112. schema:
  20113. $ref: '#/definitions/app.Response'
  20114. security:
  20115. - ApiKeyAuth: []
  20116. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20117. tags:
  20118. - 企业风险管理(app)
  20119. /Ermcp/QueryMiddleGoods:
  20120. get:
  20121. parameters:
  20122. - description: 所属机构ID
  20123. in: query
  20124. name: userid
  20125. required: true
  20126. type: integer
  20127. - description: 状态 0-停用 1-正常
  20128. in: query
  20129. name: status
  20130. required: true
  20131. type: integer
  20132. produces:
  20133. - application/json
  20134. responses:
  20135. "200":
  20136. description: OK
  20137. schema:
  20138. items:
  20139. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20140. type: array
  20141. "500":
  20142. description: Internal Server Error
  20143. schema:
  20144. $ref: '#/definitions/app.Response'
  20145. security:
  20146. - ApiKeyAuth: []
  20147. summary: 查询套保品种(菜单:套保品种)
  20148. tags:
  20149. - 企业风险管理(app)
  20150. /Ermcp/QueryMiddleGoodsChangeLog:
  20151. get:
  20152. parameters:
  20153. - description: 所属机构ID
  20154. in: query
  20155. name: userid
  20156. required: true
  20157. type: integer
  20158. - description: 套保品种id
  20159. in: query
  20160. name: middlegoodsid
  20161. required: true
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. items:
  20170. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20171. type: array
  20172. "500":
  20173. description: Internal Server Error
  20174. schema:
  20175. $ref: '#/definitions/app.Response'
  20176. security:
  20177. - ApiKeyAuth: []
  20178. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20179. tags:
  20180. - 企业风险管理(app)
  20181. /Ermcp/QueryMiddleGoodsDetail:
  20182. get:
  20183. parameters:
  20184. - description: 所属机构ID
  20185. in: query
  20186. name: userid
  20187. required: true
  20188. type: integer
  20189. - description: 套保品种id
  20190. in: query
  20191. name: middlegoodsid
  20192. type: integer
  20193. produces:
  20194. - application/json
  20195. responses:
  20196. "200":
  20197. description: OK
  20198. schema:
  20199. items:
  20200. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20201. type: array
  20202. "500":
  20203. description: Internal Server Error
  20204. schema:
  20205. $ref: '#/definitions/app.Response'
  20206. security:
  20207. - ApiKeyAuth: []
  20208. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20209. tags:
  20210. - 企业风险管理(app)
  20211. /Ermcp/QueryPendingAuditInfo:
  20212. get:
  20213. parameters:
  20214. - description: 用户ID
  20215. in: query
  20216. name: UserId
  20217. required: true
  20218. type: integer
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. items:
  20226. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20227. type: array
  20228. "500":
  20229. description: Internal Server Error
  20230. schema:
  20231. $ref: '#/definitions/app.Response'
  20232. security:
  20233. - ApiKeyAuth: []
  20234. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20235. tags:
  20236. - 企业风险管理(app)
  20237. /Ermcp/QueryRealtimeExposure:
  20238. get:
  20239. parameters:
  20240. - description: 所属机构ID
  20241. in: query
  20242. name: userid
  20243. required: true
  20244. type: integer
  20245. produces:
  20246. - application/json
  20247. responses:
  20248. "200":
  20249. description: OK
  20250. schema:
  20251. items:
  20252. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20253. type: array
  20254. "500":
  20255. description: Internal Server Error
  20256. schema:
  20257. $ref: '#/definitions/app.Response'
  20258. security:
  20259. - ApiKeyAuth: []
  20260. summary: 查询实时敞口
  20261. tags:
  20262. - 企业风险管理(app)
  20263. /Ermcp/QueryRealtimeExposurePosition:
  20264. get:
  20265. parameters:
  20266. - description: 用户id
  20267. in: query
  20268. name: userid
  20269. required: true
  20270. type: integer
  20271. - description: 套保商品ID
  20272. in: query
  20273. name: middleGoodsId
  20274. required: true
  20275. type: integer
  20276. produces:
  20277. - application/json
  20278. responses:
  20279. "200":
  20280. description: OK
  20281. schema:
  20282. items:
  20283. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20284. type: array
  20285. "500":
  20286. description: Internal Server Error
  20287. schema:
  20288. $ref: '#/definitions/app.Response'
  20289. security:
  20290. - ApiKeyAuth: []
  20291. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20292. tags:
  20293. - 企业风险管理(app)
  20294. /Ermcp/QueryRoleMenu:
  20295. get:
  20296. parameters:
  20297. - description: 登录ID
  20298. in: query
  20299. name: loginid
  20300. required: true
  20301. type: integer
  20302. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20303. in: query
  20304. name: menutype
  20305. type: integer
  20306. produces:
  20307. - application/json
  20308. responses:
  20309. "200":
  20310. description: OK
  20311. schema:
  20312. items:
  20313. $ref: '#/definitions/models.RoleMenu'
  20314. type: array
  20315. "500":
  20316. description: Internal Server Error
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. security:
  20320. - ApiKeyAuth: []
  20321. summary: 查询角色菜单和权限
  20322. tags:
  20323. - 企业风险管理(app)
  20324. /Ermcp/QueryTradeConfigTMP:
  20325. get:
  20326. parameters:
  20327. - description: 所属机构id
  20328. in: query
  20329. name: areauserid
  20330. type: integer
  20331. produces:
  20332. - application/json
  20333. responses:
  20334. "200":
  20335. description: OK
  20336. schema:
  20337. items:
  20338. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20339. type: array
  20340. "500":
  20341. description: Internal Server Error
  20342. schema:
  20343. $ref: '#/definitions/app.Response'
  20344. security:
  20345. - ApiKeyAuth: []
  20346. summary: 查询交易模板配置
  20347. tags:
  20348. - 企业风险管理(app)
  20349. /Ermcp/QueryUserInfo:
  20350. get:
  20351. parameters:
  20352. - description: 所属机构用户ID
  20353. in: query
  20354. name: MemberUserID
  20355. required: true
  20356. type: integer
  20357. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20358. in: query
  20359. name: queryType
  20360. required: true
  20361. type: integer
  20362. produces:
  20363. - application/json
  20364. responses:
  20365. "200":
  20366. description: OK
  20367. schema:
  20368. items:
  20369. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20370. type: array
  20371. "500":
  20372. description: Internal Server Error
  20373. schema:
  20374. $ref: '#/definitions/app.Response'
  20375. security:
  20376. - ApiKeyAuth: []
  20377. summary: 查询客户资料
  20378. tags:
  20379. - 企业风险管理(app)
  20380. /Ermcp/QueryWarehouseInfo:
  20381. get:
  20382. parameters:
  20383. - description: 用户ID
  20384. in: query
  20385. name: userid
  20386. required: true
  20387. type: integer
  20388. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20389. in: query
  20390. name: status
  20391. type: string
  20392. produces:
  20393. - application/json
  20394. responses:
  20395. "200":
  20396. description: OK
  20397. schema:
  20398. items:
  20399. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20400. type: array
  20401. "500":
  20402. description: Internal Server Error
  20403. schema:
  20404. $ref: '#/definitions/app.Response'
  20405. security:
  20406. - ApiKeyAuth: []
  20407. summary: 查询仓库信息
  20408. tags:
  20409. - 企业风险管理(app)
  20410. /Ermcp3/QryAreaExpourseContractDetail:
  20411. get:
  20412. parameters:
  20413. - description: 用户ID
  20414. in: query
  20415. name: userid
  20416. required: true
  20417. type: integer
  20418. - description: 套保商品id
  20419. in: query
  20420. name: middlegoodsid
  20421. required: true
  20422. type: integer
  20423. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20424. in: query
  20425. name: cycletype
  20426. required: true
  20427. type: integer
  20428. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20429. in: query
  20430. name: cycletime
  20431. required: true
  20432. type: string
  20433. produces:
  20434. - application/json
  20435. responses:
  20436. "200":
  20437. description: OK
  20438. schema:
  20439. items:
  20440. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20441. type: array
  20442. "500":
  20443. description: Internal Server Error
  20444. schema:
  20445. $ref: '#/definitions/app.Response'
  20446. security:
  20447. - ApiKeyAuth: []
  20448. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20449. tags:
  20450. - 企业风险管理v3(app)
  20451. /Ermcp3/QryAreaExpourseFutuDetail:
  20452. get:
  20453. parameters:
  20454. - description: 用户ID
  20455. in: query
  20456. name: userid
  20457. required: true
  20458. type: integer
  20459. - description: 套保商品id
  20460. in: query
  20461. name: middlegoodsid
  20462. required: true
  20463. type: integer
  20464. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20465. in: query
  20466. name: cycletype
  20467. required: true
  20468. type: integer
  20469. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20470. in: query
  20471. name: cycletime
  20472. required: true
  20473. type: string
  20474. produces:
  20475. - application/json
  20476. responses:
  20477. "200":
  20478. description: OK
  20479. schema:
  20480. items:
  20481. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20482. type: array
  20483. "500":
  20484. description: Internal Server Error
  20485. schema:
  20486. $ref: '#/definitions/app.Response'
  20487. security:
  20488. - ApiKeyAuth: []
  20489. summary: 查询敞口期货明细(敞口报表/期货明细)
  20490. tags:
  20491. - 企业风险管理v3(app)
  20492. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20493. get:
  20494. parameters:
  20495. - description: 用户ID
  20496. in: query
  20497. name: userid
  20498. required: true
  20499. type: integer
  20500. - description: 套保商品id
  20501. in: query
  20502. name: middlegoodsid
  20503. required: true
  20504. type: integer
  20505. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20506. in: query
  20507. name: cycletype
  20508. required: true
  20509. type: integer
  20510. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20511. in: query
  20512. name: cycletime
  20513. required: true
  20514. type: string
  20515. produces:
  20516. - application/json
  20517. responses:
  20518. "200":
  20519. description: OK
  20520. schema:
  20521. items:
  20522. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20523. type: array
  20524. "500":
  20525. description: Internal Server Error
  20526. schema:
  20527. $ref: '#/definitions/app.Response'
  20528. security:
  20529. - ApiKeyAuth: []
  20530. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20531. tags:
  20532. - 企业风险管理v3(app)
  20533. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20534. get:
  20535. parameters:
  20536. - description: 用户ID
  20537. in: query
  20538. name: userid
  20539. required: true
  20540. type: integer
  20541. - description: 套保商品id
  20542. in: query
  20543. name: middlegoodsid
  20544. required: true
  20545. type: integer
  20546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20547. in: query
  20548. name: cycletype
  20549. required: true
  20550. type: integer
  20551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20552. in: query
  20553. name: cycletime
  20554. required: true
  20555. type: string
  20556. produces:
  20557. - application/json
  20558. responses:
  20559. "200":
  20560. description: OK
  20561. schema:
  20562. items:
  20563. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20564. type: array
  20565. "500":
  20566. description: Internal Server Error
  20567. schema:
  20568. $ref: '#/definitions/app.Response'
  20569. security:
  20570. - ApiKeyAuth: []
  20571. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20572. tags:
  20573. - 企业风险管理v3(app)
  20574. /Ermcp3/QryAreaExpourseReport:
  20575. get:
  20576. parameters:
  20577. - description: 用户ID
  20578. in: query
  20579. name: userid
  20580. required: true
  20581. type: integer
  20582. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20583. in: query
  20584. name: querytype
  20585. required: true
  20586. type: integer
  20587. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20588. in: query
  20589. name: cycletype
  20590. required: true
  20591. type: integer
  20592. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20593. in: query
  20594. name: cycletime
  20595. required: true
  20596. type: string
  20597. produces:
  20598. - application/json
  20599. responses:
  20600. "200":
  20601. description: OK
  20602. schema:
  20603. items:
  20604. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20605. type: array
  20606. "500":
  20607. description: Internal Server Error
  20608. schema:
  20609. $ref: '#/definitions/app.Response'
  20610. security:
  20611. - ApiKeyAuth: []
  20612. summary: 查询敞口报表
  20613. tags:
  20614. - 企业风险管理v3(app)
  20615. /Ermcp3/QryAreaSpotplReport:
  20616. get:
  20617. parameters:
  20618. - description: 用户ID
  20619. in: query
  20620. name: userid
  20621. required: true
  20622. type: integer
  20623. - description: 查询类型 1-报表 2-报表明细
  20624. in: query
  20625. name: querytype
  20626. required: true
  20627. type: integer
  20628. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20629. in: query
  20630. name: cycletype
  20631. required: true
  20632. type: integer
  20633. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20634. in: query
  20635. name: cycletime
  20636. required: true
  20637. type: string
  20638. - description: 现货品种id(明细必填)
  20639. in: query
  20640. name: deliverygoodsid
  20641. type: integer
  20642. - description: 币种id(明细必填)
  20643. in: query
  20644. name: currencyid
  20645. type: integer
  20646. produces:
  20647. - application/json
  20648. responses:
  20649. "200":
  20650. description: OK
  20651. schema:
  20652. items:
  20653. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20654. type: array
  20655. "500":
  20656. description: Internal Server Error
  20657. schema:
  20658. $ref: '#/definitions/app.Response'
  20659. security:
  20660. - ApiKeyAuth: []
  20661. summary: 查询现货报表
  20662. tags:
  20663. - 企业风险管理v3(app)
  20664. /Ermcp3/QryAreaStockReport:
  20665. get:
  20666. parameters:
  20667. - description: 用户ID
  20668. in: query
  20669. name: userid
  20670. required: true
  20671. type: integer
  20672. - description: 查询类型 1-报表 2-报表明细
  20673. in: query
  20674. name: querytype
  20675. required: true
  20676. type: integer
  20677. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20678. in: query
  20679. name: cycletype
  20680. required: true
  20681. type: integer
  20682. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20683. in: query
  20684. name: cycletime
  20685. required: true
  20686. type: string
  20687. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20688. in: query
  20689. name: sumfields
  20690. type: string
  20691. - description: 品种ID
  20692. in: query
  20693. name: deliverygoodsid
  20694. type: integer
  20695. - description: 品类ID
  20696. in: query
  20697. name: wrstandardid
  20698. type: integer
  20699. - description: 品牌ID
  20700. in: query
  20701. name: spotgoodsbrandid
  20702. type: integer
  20703. - description: 仓库ID
  20704. in: query
  20705. name: warehouseinfoid
  20706. type: integer
  20707. produces:
  20708. - application/json
  20709. responses:
  20710. "200":
  20711. description: OK
  20712. schema:
  20713. items:
  20714. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20715. type: array
  20716. "500":
  20717. description: Internal Server Error
  20718. schema:
  20719. $ref: '#/definitions/app.Response'
  20720. security:
  20721. - ApiKeyAuth: []
  20722. summary: 查询库存报表
  20723. tags:
  20724. - 企业风险管理v3(app)
  20725. /Ermcp3/QryAreaSumPL:
  20726. get:
  20727. parameters:
  20728. - description: 用户ID
  20729. in: query
  20730. name: userid
  20731. required: true
  20732. type: integer
  20733. - description: 查询类型 1-报表 2-报表明细
  20734. in: query
  20735. name: querytype
  20736. required: true
  20737. type: integer
  20738. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20739. in: query
  20740. name: cycletype
  20741. required: true
  20742. type: integer
  20743. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20744. in: query
  20745. name: cycletime
  20746. required: true
  20747. type: string
  20748. - description: 币种id(明细必填)
  20749. in: query
  20750. name: currencyid
  20751. type: integer
  20752. produces:
  20753. - application/json
  20754. responses:
  20755. "200":
  20756. description: OK
  20757. schema:
  20758. items:
  20759. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20760. type: array
  20761. "500":
  20762. description: Internal Server Error
  20763. schema:
  20764. $ref: '#/definitions/app.Response'
  20765. security:
  20766. - ApiKeyAuth: []
  20767. summary: 查询汇总损益表
  20768. tags:
  20769. - 企业风险管理v3(app)
  20770. /Ermcp3/QryFinanceReport:
  20771. get:
  20772. parameters:
  20773. - description: 用户ID
  20774. in: query
  20775. name: userid
  20776. required: true
  20777. type: integer
  20778. - description: 查询类型 1-报表 2-报表明细
  20779. in: query
  20780. name: querytype
  20781. required: true
  20782. type: integer
  20783. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20784. in: query
  20785. name: cycletype
  20786. required: true
  20787. type: integer
  20788. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20789. in: query
  20790. name: cycletime
  20791. required: true
  20792. type: string
  20793. - description: 币种id(报表明细必填)
  20794. in: query
  20795. name: currencyid
  20796. type: integer
  20797. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20798. in: query
  20799. name: sumfields
  20800. type: string
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. items:
  20808. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20809. type: array
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询财务报表
  20817. tags:
  20818. - 企业风险管理v3(app)
  20819. /Ermcp3/QrySCMiddleGoodsReport:
  20820. get:
  20821. parameters:
  20822. - description: 用户ID
  20823. in: query
  20824. name: userid
  20825. required: true
  20826. type: integer
  20827. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20828. in: query
  20829. name: cycletype
  20830. required: true
  20831. type: integer
  20832. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20833. in: query
  20834. name: cycletime
  20835. required: true
  20836. type: string
  20837. - description: 现货合同id
  20838. in: query
  20839. name: spotcontractid
  20840. type: integer
  20841. - description: 套保品种id
  20842. in: query
  20843. name: middlegoodsid
  20844. type: integer
  20845. - description: 现货品种id
  20846. in: query
  20847. name: deliverygoodsid
  20848. type: integer
  20849. - description: 现货商品id
  20850. in: query
  20851. name: wrstandardid
  20852. type: integer
  20853. produces:
  20854. - application/json
  20855. responses:
  20856. "200":
  20857. description: OK
  20858. schema:
  20859. items:
  20860. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  20861. type: array
  20862. "500":
  20863. description: Internal Server Error
  20864. schema:
  20865. $ref: '#/definitions/app.Response'
  20866. security:
  20867. - ApiKeyAuth: []
  20868. summary: 查询定价报表
  20869. tags:
  20870. - 企业风险管理v3(app)
  20871. /Ermcp3/QryTaFutureDataReport:
  20872. get:
  20873. parameters:
  20874. - description: 用户ID
  20875. in: query
  20876. name: userid
  20877. required: true
  20878. type: integer
  20879. - description: 查询类型 1-报表 2-报表明细
  20880. in: query
  20881. name: querytype
  20882. required: true
  20883. type: integer
  20884. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20885. in: query
  20886. name: cycletype
  20887. required: true
  20888. type: integer
  20889. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20890. in: query
  20891. name: cycletime
  20892. required: true
  20893. type: string
  20894. - description: 币种id(查明细必填)
  20895. in: query
  20896. name: currencyid
  20897. type: integer
  20898. - description: 品种id(查明细必填)
  20899. in: query
  20900. name: goodsgroupid
  20901. type: integer
  20902. - description: 商品id(查明细必填)
  20903. in: query
  20904. name: goodsid
  20905. type: integer
  20906. - description: 买卖方向(查明细必填)
  20907. in: query
  20908. name: buyorsell
  20909. type: integer
  20910. produces:
  20911. - application/json
  20912. responses:
  20913. "200":
  20914. description: OK
  20915. schema:
  20916. items:
  20917. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20918. type: array
  20919. "500":
  20920. description: Internal Server Error
  20921. schema:
  20922. $ref: '#/definitions/app.Response'
  20923. security:
  20924. - ApiKeyAuth: []
  20925. summary: 查询期货报表
  20926. tags:
  20927. - 企业风险管理v3(app)
  20928. /Ermcp3/QueryAreaStock:
  20929. get:
  20930. parameters:
  20931. - description: 用户ID
  20932. in: query
  20933. name: userid
  20934. required: true
  20935. type: integer
  20936. produces:
  20937. - application/json
  20938. responses:
  20939. "200":
  20940. description: OK
  20941. schema:
  20942. items:
  20943. $ref: '#/definitions/models.Ermcp3AreaStock'
  20944. type: array
  20945. "500":
  20946. description: Internal Server Error
  20947. schema:
  20948. $ref: '#/definitions/app.Response'
  20949. security:
  20950. - ApiKeyAuth: []
  20951. summary: 查询机构库存(库存管理/当前库存)
  20952. tags:
  20953. - 企业风险管理v3(app)
  20954. /Ermcp3/QueryAreaStockApply:
  20955. get:
  20956. parameters:
  20957. - description: 用户ID
  20958. in: query
  20959. name: userid
  20960. required: true
  20961. type: integer
  20962. - description: 用户类型 2-机构 7-企业成员
  20963. in: query
  20964. name: usertype
  20965. type: integer
  20966. - description: 现货商品ID
  20967. in: query
  20968. name: deliverygoodsid
  20969. type: integer
  20970. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20971. in: query
  20972. name: inouttype
  20973. type: string
  20974. - description: 合同ID
  20975. in: query
  20976. name: spotcontractid
  20977. type: integer
  20978. - description: 品类ID
  20979. in: query
  20980. name: wrstandardid
  20981. type: integer
  20982. - description: 品牌ID
  20983. in: query
  20984. name: spotgoodsbrandid
  20985. type: integer
  20986. - description: 仓库ID
  20987. in: query
  20988. name: warehouseinfoid
  20989. type: integer
  20990. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20991. in: query
  20992. name: applystatus
  20993. type: string
  20994. produces:
  20995. - application/json
  20996. responses:
  20997. "200":
  20998. description: OK
  20999. schema:
  21000. items:
  21001. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21002. type: array
  21003. "500":
  21004. description: Internal Server Error
  21005. schema:
  21006. $ref: '#/definitions/app.Response'
  21007. security:
  21008. - ApiKeyAuth: []
  21009. summary: 查询库存申请(出入库记录|库存审核)
  21010. tags:
  21011. - 企业风险管理v3(app)
  21012. /Ermcp3/QueryAreaStockApplySum:
  21013. get:
  21014. parameters:
  21015. - description: 合同ID
  21016. in: query
  21017. name: spotcontractid
  21018. required: true
  21019. type: integer
  21020. produces:
  21021. - application/json
  21022. responses:
  21023. "200":
  21024. description: OK
  21025. schema:
  21026. items:
  21027. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21028. type: array
  21029. "500":
  21030. description: Internal Server Error
  21031. schema:
  21032. $ref: '#/definitions/app.Response'
  21033. security:
  21034. - ApiKeyAuth: []
  21035. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21036. tags:
  21037. - 企业风险管理v3(app)
  21038. /Ermcp3/QueryDGFactoryItem:
  21039. get:
  21040. parameters:
  21041. - description: 用户id
  21042. in: query
  21043. name: userid
  21044. type: integer
  21045. - description: 用户类型 2-机构 7-企业成员
  21046. in: query
  21047. name: usertype
  21048. type: integer
  21049. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21050. in: query
  21051. name: dgfactoryitemid
  21052. type: integer
  21053. - description: 现货品种ID
  21054. in: query
  21055. name: deliverygoodsid
  21056. type: integer
  21057. - description: 要素项类型
  21058. in: query
  21059. name: dgfactoryitemtypeid
  21060. type: integer
  21061. - description: 顺序
  21062. in: query
  21063. name: orderindex
  21064. type: integer
  21065. produces:
  21066. - application/json
  21067. responses:
  21068. "200":
  21069. description: OK
  21070. schema:
  21071. items:
  21072. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21073. type: array
  21074. "500":
  21075. description: Internal Server Error
  21076. schema:
  21077. $ref: '#/definitions/app.Response'
  21078. security:
  21079. - ApiKeyAuth: []
  21080. summary: 查询品种要素定义项
  21081. tags:
  21082. - 企业风险管理v3(app)
  21083. /Ermcp3/QueryDeliveryGoods:
  21084. get:
  21085. parameters:
  21086. - description: 用户id
  21087. in: query
  21088. name: userid
  21089. required: true
  21090. type: integer
  21091. - description: 用户类型 2-机构 7-企业成员
  21092. in: query
  21093. name: usertype
  21094. type: integer
  21095. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21096. in: query
  21097. name: excludecfg
  21098. type: integer
  21099. produces:
  21100. - application/json
  21101. responses:
  21102. "200":
  21103. description: OK
  21104. schema:
  21105. items:
  21106. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21107. type: array
  21108. "500":
  21109. description: Internal Server Error
  21110. schema:
  21111. $ref: '#/definitions/app.Response'
  21112. security:
  21113. - ApiKeyAuth: []
  21114. summary: 查询现货商品
  21115. tags:
  21116. - 企业风险管理v3(app)
  21117. /Ermcp3/QueryDeliveryGoodsDetail:
  21118. get:
  21119. parameters:
  21120. - description: 用户id
  21121. in: query
  21122. name: userid
  21123. required: true
  21124. type: integer
  21125. - description: 用户类型 2-机构 7-企业成员
  21126. in: query
  21127. name: usertype
  21128. type: integer
  21129. - description: 现货商品id
  21130. in: query
  21131. name: deliverygoodsid
  21132. type: integer
  21133. produces:
  21134. - application/json
  21135. responses:
  21136. "200":
  21137. description: OK
  21138. schema:
  21139. items:
  21140. $ref: '#/definitions/models.XHDeliveryGoods'
  21141. type: array
  21142. "500":
  21143. description: Internal Server Error
  21144. schema:
  21145. $ref: '#/definitions/app.Response'
  21146. security:
  21147. - ApiKeyAuth: []
  21148. summary: 查询现货商品详情
  21149. tags:
  21150. - 企业风险管理v3(app)
  21151. /Ermcp3/QueryExposureDetail:
  21152. get:
  21153. parameters:
  21154. - description: 用户id
  21155. in: query
  21156. name: userid
  21157. required: true
  21158. type: integer
  21159. - description: 用户类型 2-机构 7-企业成员
  21160. in: query
  21161. name: usertype
  21162. type: integer
  21163. - description: 套保商品
  21164. in: query
  21165. name: middlegoodsid
  21166. required: true
  21167. type: integer
  21168. produces:
  21169. - application/json
  21170. responses:
  21171. "200":
  21172. description: OK
  21173. schema:
  21174. items:
  21175. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21176. type: array
  21177. "500":
  21178. description: Internal Server Error
  21179. schema:
  21180. $ref: '#/definitions/app.Response'
  21181. security:
  21182. - ApiKeyAuth: []
  21183. summary: 查询敞口现货明细
  21184. tags:
  21185. - 企业风险管理v3(app)
  21186. /Ermcp3/QueryExposureSpot:
  21187. get:
  21188. parameters:
  21189. - description: 用户id
  21190. in: query
  21191. name: userid
  21192. required: true
  21193. type: integer
  21194. - description: 用户类型 2-机构 7-企业成员
  21195. in: query
  21196. name: usertype
  21197. type: integer
  21198. produces:
  21199. - application/json
  21200. responses:
  21201. "200":
  21202. description: OK
  21203. schema:
  21204. items:
  21205. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21206. type: array
  21207. "500":
  21208. description: Internal Server Error
  21209. schema:
  21210. $ref: '#/definitions/app.Response'
  21211. security:
  21212. - ApiKeyAuth: []
  21213. summary: 查询敞口现货头寸(敞口/现货头寸)
  21214. tags:
  21215. - 企业风险管理v3(app)
  21216. /Ermcp3/QueryExposureSpotDetail:
  21217. get:
  21218. parameters:
  21219. - description: 用户id
  21220. in: query
  21221. name: userid
  21222. required: true
  21223. type: integer
  21224. - description: 用户类型 2-机构 7-企业成员
  21225. in: query
  21226. name: usertype
  21227. type: integer
  21228. - description: 现货商品ID
  21229. in: query
  21230. name: wrstandardid
  21231. required: true
  21232. type: integer
  21233. produces:
  21234. - application/json
  21235. responses:
  21236. "200":
  21237. description: OK
  21238. schema:
  21239. items:
  21240. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21241. type: array
  21242. "500":
  21243. description: Internal Server Error
  21244. schema:
  21245. $ref: '#/definitions/app.Response'
  21246. security:
  21247. - ApiKeyAuth: []
  21248. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21249. tags:
  21250. - 企业风险管理v3(app)
  21251. /Ermcp3/QueryGoodsGroup:
  21252. get:
  21253. parameters:
  21254. - description: 用户id
  21255. in: query
  21256. name: userid
  21257. required: true
  21258. type: integer
  21259. - description: 用户类型 2-机构 7-企业成员
  21260. in: query
  21261. name: usertype
  21262. type: integer
  21263. - description: 排除套保品中已关联的商品组 1-排除
  21264. in: query
  21265. name: excludecfg
  21266. type: integer
  21267. produces:
  21268. - application/json
  21269. responses:
  21270. "200":
  21271. description: OK
  21272. schema:
  21273. items:
  21274. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21275. type: array
  21276. "500":
  21277. description: Internal Server Error
  21278. schema:
  21279. $ref: '#/definitions/app.Response'
  21280. security:
  21281. - ApiKeyAuth: []
  21282. summary: 查询期货商品组
  21283. tags:
  21284. - 企业风险管理v3(app)
  21285. /Ermcp3/QueryGoodsWrstandard:
  21286. get:
  21287. parameters:
  21288. - description: 用户id
  21289. in: query
  21290. name: userid
  21291. required: true
  21292. type: integer
  21293. - description: 用户类型 2-机构 7-企业成员
  21294. in: query
  21295. name: usertype
  21296. type: integer
  21297. - description: 现货商品id
  21298. in: query
  21299. name: deliverygoodsid
  21300. type: integer
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. items:
  21308. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21309. type: array
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 查询商品品类
  21317. tags:
  21318. - 企业风险管理v3(app)
  21319. /Ermcp3/QueryGoodsbrand:
  21320. get:
  21321. parameters:
  21322. - description: 用户id
  21323. in: query
  21324. name: userid
  21325. required: true
  21326. type: integer
  21327. - description: 用户类型 2-机构 7-企业成员
  21328. in: query
  21329. name: usertype
  21330. type: integer
  21331. produces:
  21332. - application/json
  21333. responses:
  21334. "200":
  21335. description: OK
  21336. schema:
  21337. items:
  21338. $ref: '#/definitions/models.Ermcp3Brand'
  21339. type: array
  21340. "500":
  21341. description: Internal Server Error
  21342. schema:
  21343. $ref: '#/definitions/app.Response'
  21344. security:
  21345. - ApiKeyAuth: []
  21346. summary: 查询商品品牌
  21347. tags:
  21348. - 企业风险管理v3(app)
  21349. /Ermcp3/QueryHedgePlan:
  21350. get:
  21351. parameters:
  21352. - description: 用户ID
  21353. in: query
  21354. name: userid
  21355. required: true
  21356. type: integer
  21357. - description: 用户类型 2-机构 7-企业成员
  21358. in: query
  21359. name: usertype
  21360. type: integer
  21361. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21362. in: query
  21363. name: hedgeplanstatus
  21364. required: true
  21365. type: string
  21366. produces:
  21367. - application/json
  21368. responses:
  21369. "200":
  21370. description: OK
  21371. schema:
  21372. items:
  21373. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21374. type: array
  21375. "500":
  21376. description: Internal Server Error
  21377. schema:
  21378. $ref: '#/definitions/app.Response'
  21379. security:
  21380. - ApiKeyAuth: []
  21381. summary: 查询套保计划
  21382. tags:
  21383. - 企业风险管理v3(app)
  21384. /Ermcp3/QueryInnerTradeLink:
  21385. get:
  21386. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21387. parameters:
  21388. - description: 外部成交单号
  21389. in: query
  21390. name: outtradeid
  21391. required: true
  21392. type: integer
  21393. produces:
  21394. - application/json
  21395. responses:
  21396. "200":
  21397. description: OK
  21398. schema:
  21399. items:
  21400. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21401. type: array
  21402. "500":
  21403. description: Internal Server Error
  21404. schema:
  21405. $ref: '#/definitions/app.Response'
  21406. security:
  21407. - ApiKeyAuth: []
  21408. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21409. tags:
  21410. - 企业风险管理v3(app)
  21411. /Ermcp3/QueryMiddleGoodsDetail:
  21412. get:
  21413. parameters:
  21414. - description: 用户id
  21415. in: query
  21416. name: userid
  21417. required: true
  21418. type: integer
  21419. - description: 用户类型 2-机构 7-企业成员
  21420. in: query
  21421. name: usertype
  21422. type: integer
  21423. - description: 套保品种id
  21424. in: query
  21425. name: middlegoodsid
  21426. type: integer
  21427. produces:
  21428. - application/json
  21429. responses:
  21430. "200":
  21431. description: OK
  21432. schema:
  21433. items:
  21434. $ref: '#/definitions/models.TBMiddleGoods'
  21435. type: array
  21436. "500":
  21437. description: Internal Server Error
  21438. schema:
  21439. $ref: '#/definitions/app.Response'
  21440. security:
  21441. - ApiKeyAuth: []
  21442. summary: 查询套保品种详情(套保品种/商品详情)
  21443. tags:
  21444. - 企业风险管理v3(app)
  21445. /Ermcp3/QueryOutTradeLink:
  21446. get:
  21447. description: 页面 app 现货->期现关联->外部成交单关联
  21448. parameters:
  21449. - description: 用户ID(填登录用户的userid)
  21450. in: query
  21451. name: userid
  21452. required: true
  21453. type: integer
  21454. - description: 外部订单号(模糊匹配)
  21455. in: query
  21456. name: outtradeid
  21457. type: string
  21458. - description: 合约名称/代码(模糊匹配)
  21459. in: query
  21460. name: goodsname
  21461. type: string
  21462. - description: 关联状态 0-未关联 1-已关联
  21463. in: query
  21464. name: hasinnerorder
  21465. type: integer
  21466. produces:
  21467. - application/json
  21468. responses:
  21469. "200":
  21470. description: OK
  21471. schema:
  21472. items:
  21473. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21474. type: array
  21475. "500":
  21476. description: Internal Server Error
  21477. schema:
  21478. $ref: '#/definitions/app.Response'
  21479. security:
  21480. - ApiKeyAuth: []
  21481. summary: 查询外部成交单关联
  21482. tags:
  21483. - 企业风险管理v3(app)
  21484. /Ermcp3/QueryPaAreaAuditCfg:
  21485. get:
  21486. parameters:
  21487. - description: 用户id
  21488. in: query
  21489. name: userid
  21490. required: true
  21491. type: integer
  21492. produces:
  21493. - application/json
  21494. responses:
  21495. "200":
  21496. description: OK
  21497. schema:
  21498. items:
  21499. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21500. type: array
  21501. "500":
  21502. description: Internal Server Error
  21503. schema:
  21504. $ref: '#/definitions/app.Response'
  21505. security:
  21506. - ApiKeyAuth: []
  21507. summary: 查询审核设置
  21508. tags:
  21509. - 企业风险管理v3(app)
  21510. /Ermcp3/QueryPaAreaSubject:
  21511. get:
  21512. parameters:
  21513. - description: 用户id
  21514. in: query
  21515. name: userid
  21516. required: true
  21517. type: integer
  21518. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21519. in: query
  21520. name: subjectid
  21521. type: integer
  21522. - description: 主体类型 - 1:交易主体 2:业务部门
  21523. in: query
  21524. name: subjecttype
  21525. type: integer
  21526. - description: '主体状态 - 1:正常 2: 停用'
  21527. in: query
  21528. name: subjectstatus
  21529. type: integer
  21530. produces:
  21531. - application/json
  21532. responses:
  21533. "200":
  21534. description: OK
  21535. schema:
  21536. items:
  21537. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21538. type: array
  21539. "500":
  21540. description: Internal Server Error
  21541. schema:
  21542. $ref: '#/definitions/app.Response'
  21543. security:
  21544. - ApiKeyAuth: []
  21545. summary: 查询交易主体
  21546. tags:
  21547. - 企业风险管理v3(app)
  21548. /Ermcp3/QueryPaTradeLink:
  21549. get:
  21550. description: 页面 app 现货->期现关联->期现单据关联
  21551. parameters:
  21552. - description: 用户ID
  21553. in: query
  21554. name: userid
  21555. required: true
  21556. type: integer
  21557. produces:
  21558. - application/json
  21559. responses:
  21560. "200":
  21561. description: OK
  21562. schema:
  21563. items:
  21564. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21565. type: array
  21566. "500":
  21567. description: Internal Server Error
  21568. schema:
  21569. $ref: '#/definitions/app.Response'
  21570. security:
  21571. - ApiKeyAuth: []
  21572. summary: 查询期现单据关联
  21573. tags:
  21574. - 企业风险管理v3(app)
  21575. /Ermcp3/QueryPaTradeLinkDetail:
  21576. get:
  21577. description: 页面 app 现货->期现关联->关联记录
  21578. parameters:
  21579. - description: 用户ID(填登录用户的userid)
  21580. in: query
  21581. name: userid
  21582. required: true
  21583. type: integer
  21584. - description: 期货订单号(模糊匹配)
  21585. in: query
  21586. name: tradeid
  21587. type: string
  21588. - description: 现货编号(模糊匹配)
  21589. in: query
  21590. name: contractno
  21591. type: string
  21592. - description: 期货账户(模糊匹配)
  21593. in: query
  21594. name: taname
  21595. type: string
  21596. produces:
  21597. - application/json
  21598. responses:
  21599. "200":
  21600. description: OK
  21601. schema:
  21602. items:
  21603. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  21604. type: array
  21605. "500":
  21606. description: Internal Server Error
  21607. schema:
  21608. $ref: '#/definitions/app.Response'
  21609. security:
  21610. - ApiKeyAuth: []
  21611. summary: 查询期现关联记录
  21612. tags:
  21613. - 企业风险管理v3(app)
  21614. /Ermcp3/QueryRootUserAccount:
  21615. get:
  21616. parameters:
  21617. - description: 用户ID
  21618. in: query
  21619. name: userid
  21620. required: true
  21621. type: integer
  21622. produces:
  21623. - application/json
  21624. responses:
  21625. "200":
  21626. description: OK
  21627. schema:
  21628. items:
  21629. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21630. type: array
  21631. "500":
  21632. description: Internal Server Error
  21633. schema:
  21634. $ref: '#/definitions/app.Response'
  21635. security:
  21636. - ApiKeyAuth: []
  21637. summary: 查询顶级用户信息
  21638. tags:
  21639. - 企业风险管理v3(app)
  21640. /Ermcp3/QuerySCMiddleGoods:
  21641. get:
  21642. description: |-
  21643. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  21644. 现货编号 即 合同编号
  21645. parameters:
  21646. - description: 用户ID(填登录用户的userid)
  21647. in: query
  21648. name: userid
  21649. required: true
  21650. type: integer
  21651. - description: 买卖方向 0-买 1-卖
  21652. in: query
  21653. name: buyorsell
  21654. required: true
  21655. type: integer
  21656. - description: 商品组id
  21657. in: query
  21658. name: goodsgroupid
  21659. required: true
  21660. type: integer
  21661. - description: 现货编号(模糊匹配)
  21662. in: query
  21663. name: contractno
  21664. type: string
  21665. - description: 对手方(模糊匹配)
  21666. in: query
  21667. name: customername
  21668. type: string
  21669. - description: 现货商品名称(模糊匹配)
  21670. in: query
  21671. name: wrstandardname
  21672. type: string
  21673. produces:
  21674. - application/json
  21675. responses:
  21676. "200":
  21677. description: OK
  21678. schema:
  21679. items:
  21680. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21681. type: array
  21682. "500":
  21683. description: Internal Server Error
  21684. schema:
  21685. $ref: '#/definitions/app.Response'
  21686. security:
  21687. - ApiKeyAuth: []
  21688. summary: 查询现货订单
  21689. tags:
  21690. - 企业风险管理v3(app)
  21691. /Ermcp3/QuerySpotContract:
  21692. get:
  21693. parameters:
  21694. - description: 用户id(当指定contractid, userid可不填)
  21695. in: query
  21696. name: userid
  21697. required: true
  21698. type: integer
  21699. - description: 用户类型 2-机构 7-企业成员
  21700. in: query
  21701. name: usertype
  21702. type: integer
  21703. - description: 合同类型 1-采购, -1-销售
  21704. in: query
  21705. name: contracttype
  21706. type: integer
  21707. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  21708. in: query
  21709. name: querytype
  21710. required: true
  21711. type: integer
  21712. - description: 合同ID(SpotContractId)
  21713. in: query
  21714. name: contractid
  21715. type: string
  21716. produces:
  21717. - application/json
  21718. responses:
  21719. "200":
  21720. description: OK
  21721. schema:
  21722. items:
  21723. $ref: '#/definitions/models.Ermcp3Contract'
  21724. type: array
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询现货合同
  21732. tags:
  21733. - 企业风险管理v3(app)
  21734. /Ermcp3/QuerySpotContractBS:
  21735. get:
  21736. parameters:
  21737. - description: 用户id
  21738. in: query
  21739. name: userid
  21740. required: true
  21741. type: integer
  21742. - description: 用户类型 2-机构 7-企业成员
  21743. in: query
  21744. name: usertype
  21745. type: integer
  21746. - description: 合同类型 1-采购, -1-销售
  21747. in: query
  21748. name: contracttype
  21749. required: true
  21750. type: integer
  21751. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21752. in: query
  21753. name: querytype
  21754. required: true
  21755. type: integer
  21756. - description: 合同ID(SpotContractId)
  21757. in: query
  21758. name: contractid
  21759. type: string
  21760. produces:
  21761. - application/json
  21762. responses:
  21763. "200":
  21764. description: OK
  21765. schema:
  21766. items:
  21767. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21768. type: array
  21769. "500":
  21770. description: Internal Server Error
  21771. schema:
  21772. $ref: '#/definitions/app.Response'
  21773. security:
  21774. - ApiKeyAuth: []
  21775. summary: 查询合同(采购/销售)
  21776. tags:
  21777. - 企业风险管理v3(app)
  21778. /Ermcp3/QuerySpotGoodsPrice:
  21779. get:
  21780. parameters:
  21781. - description: 用户ID
  21782. in: query
  21783. name: userid
  21784. required: true
  21785. type: integer
  21786. produces:
  21787. - application/json
  21788. responses:
  21789. "200":
  21790. description: OK
  21791. schema:
  21792. items:
  21793. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21794. type: array
  21795. "500":
  21796. description: Internal Server Error
  21797. schema:
  21798. $ref: '#/definitions/app.Response'
  21799. security:
  21800. - ApiKeyAuth: []
  21801. summary: 查询现货市价(现货市价)
  21802. tags:
  21803. - 企业风险管理v3(app)
  21804. /Ermcp3/QuerySpotGoodsPriceLog:
  21805. get:
  21806. parameters:
  21807. - description: 用户ID
  21808. in: query
  21809. name: userid
  21810. required: true
  21811. type: integer
  21812. - description: 现货商品ID
  21813. in: query
  21814. name: deliverygoodsid
  21815. required: true
  21816. type: integer
  21817. - description: 品牌ID
  21818. in: query
  21819. name: brandid
  21820. type: integer
  21821. - description: 品类ID
  21822. in: query
  21823. name: wrstandardid
  21824. type: integer
  21825. produces:
  21826. - application/json
  21827. responses:
  21828. "200":
  21829. description: OK
  21830. schema:
  21831. items:
  21832. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21833. type: array
  21834. "500":
  21835. description: Internal Server Error
  21836. schema:
  21837. $ref: '#/definitions/app.Response'
  21838. security:
  21839. - ApiKeyAuth: []
  21840. summary: 查询现货市价详情(现货市价/详情)
  21841. tags:
  21842. - 企业风险管理v3(app)
  21843. /Ermcp3/QuerySubTaaccount:
  21844. get:
  21845. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  21846. parameters:
  21847. - description: 母账号id
  21848. in: query
  21849. name: parentaccountid
  21850. type: integer
  21851. - description: 母账号代码
  21852. in: query
  21853. name: parentaccountcode
  21854. type: string
  21855. produces:
  21856. - application/json
  21857. responses:
  21858. "200":
  21859. description: OK
  21860. schema:
  21861. items:
  21862. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  21863. type: array
  21864. "500":
  21865. description: Internal Server Error
  21866. schema:
  21867. $ref: '#/definitions/app.Response'
  21868. security:
  21869. - ApiKeyAuth: []
  21870. summary: 查询期货子账户
  21871. tags:
  21872. - 企业风险管理v3(app)
  21873. /Erms2/QueryArbitrageStrategy:
  21874. get:
  21875. parameters:
  21876. - description: 账户ID
  21877. in: query
  21878. name: userid
  21879. required: true
  21880. type: integer
  21881. - description: 商品组ID(品种ID)
  21882. in: query
  21883. name: goodsgroupid
  21884. type: string
  21885. produces:
  21886. - application/json
  21887. responses:
  21888. "200":
  21889. description: OK
  21890. schema:
  21891. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21892. "500":
  21893. description: Internal Server Error
  21894. schema:
  21895. $ref: '#/definitions/app.Response'
  21896. security:
  21897. - ApiKeyAuth: []
  21898. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21899. tags:
  21900. - 风险管理
  21901. /Erms2/QueryInnerTradeDetail:
  21902. get:
  21903. parameters:
  21904. - description: 资金账户
  21905. in: query
  21906. name: accountid
  21907. required: true
  21908. type: integer
  21909. produces:
  21910. - application/json
  21911. responses:
  21912. "200":
  21913. description: OK
  21914. schema:
  21915. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21916. "500":
  21917. description: Internal Server Error
  21918. schema:
  21919. $ref: '#/definitions/app.Response'
  21920. security:
  21921. - ApiKeyAuth: []
  21922. summary: 查询内部成交单信息
  21923. tags:
  21924. - 风险管理
  21925. /Erms2/QuerySpotContract:
  21926. get:
  21927. parameters:
  21928. - description: 策略申请ID
  21929. in: query
  21930. name: asapplyid
  21931. required: true
  21932. type: integer
  21933. - description: 现货合同ID
  21934. in: query
  21935. name: spotcontractid
  21936. type: integer
  21937. produces:
  21938. - application/json
  21939. responses:
  21940. "200":
  21941. description: OK
  21942. schema:
  21943. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. security:
  21949. - ApiKeyAuth: []
  21950. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21951. tags:
  21952. - 风险管理
  21953. /Erms3/AddErms2ASApply:
  21954. post:
  21955. parameters:
  21956. - description: 申请参数
  21957. in: body
  21958. name: jsonBody
  21959. required: true
  21960. schema:
  21961. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21962. produces:
  21963. - application/json
  21964. responses:
  21965. "200":
  21966. description: OK
  21967. schema:
  21968. $ref: '#/definitions/app.Response'
  21969. "500":
  21970. description: Internal Server Error
  21971. schema:
  21972. $ref: '#/definitions/app.Response'
  21973. security:
  21974. - ApiKeyAuth: []
  21975. summary: 新增期现套利业务申请
  21976. tags:
  21977. - 风险管理v3
  21978. /Erms3/AddErms2SpotTradeApply:
  21979. post:
  21980. parameters:
  21981. - description: 申请参数
  21982. in: body
  21983. name: jsonBody
  21984. required: true
  21985. schema:
  21986. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21987. produces:
  21988. - application/json
  21989. responses:
  21990. "200":
  21991. description: OK
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. "500":
  21995. description: Internal Server Error
  21996. schema:
  21997. $ref: '#/definitions/app.Response'
  21998. security:
  21999. - ApiKeyAuth: []
  22000. summary: 新增现货贸易业务申请
  22001. tags:
  22002. - 风险管理v3
  22003. /Erms3/AddSpotContractApply:
  22004. post:
  22005. parameters:
  22006. - description: 申请参数
  22007. in: body
  22008. name: jsonBody
  22009. required: true
  22010. schema:
  22011. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22012. produces:
  22013. - application/json
  22014. responses:
  22015. "200":
  22016. description: OK
  22017. schema:
  22018. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22019. "500":
  22020. description: Internal Server Error
  22021. schema:
  22022. $ref: '#/definitions/app.Response'
  22023. security:
  22024. - ApiKeyAuth: []
  22025. summary: 新增现货合同申请
  22026. tags:
  22027. - 风险管理v3
  22028. /Erms3/AddUserInfoApply:
  22029. post:
  22030. parameters:
  22031. - description: 用户信息
  22032. in: body
  22033. name: jsonBody
  22034. required: true
  22035. schema:
  22036. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22037. produces:
  22038. - application/json
  22039. responses:
  22040. "200":
  22041. description: OK
  22042. schema:
  22043. $ref: '#/definitions/app.Response'
  22044. "500":
  22045. description: Internal Server Error
  22046. schema:
  22047. $ref: '#/definitions/app.Response'
  22048. security:
  22049. - ApiKeyAuth: []
  22050. summary: 新增客户申请
  22051. tags:
  22052. - 风险管理v3
  22053. /Erms3/DeleteUserInfoApply:
  22054. get:
  22055. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22056. parameters:
  22057. - description: 用户ID
  22058. in: query
  22059. name: userID
  22060. required: true
  22061. type: integer
  22062. produces:
  22063. - application/json
  22064. responses:
  22065. "200":
  22066. description: OK
  22067. schema:
  22068. $ref: '#/definitions/app.Response'
  22069. "500":
  22070. description: Internal Server Error
  22071. schema:
  22072. $ref: '#/definitions/app.Response'
  22073. security:
  22074. - ApiKeyAuth: []
  22075. summary: 删除客户申请
  22076. tags:
  22077. - 风险管理v3
  22078. /Erms3/ModifyUserInfoApply:
  22079. post:
  22080. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22081. parameters:
  22082. - description: 用户信息
  22083. in: body
  22084. name: jsonBody
  22085. required: true
  22086. schema:
  22087. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22088. produces:
  22089. - application/json
  22090. responses:
  22091. "200":
  22092. description: OK
  22093. schema:
  22094. $ref: '#/definitions/app.Response'
  22095. "500":
  22096. description: Internal Server Error
  22097. schema:
  22098. $ref: '#/definitions/app.Response'
  22099. security:
  22100. - ApiKeyAuth: []
  22101. summary: 修改客户申请
  22102. tags:
  22103. - 风险管理v3
  22104. /Erms3/QueryBusinessInfo:
  22105. get:
  22106. parameters:
  22107. - description: 资金账号ID列表,用逗号分隔
  22108. in: query
  22109. name: accountids
  22110. required: true
  22111. type: string
  22112. - description: 状态,0为未结束 1为已结束
  22113. in: query
  22114. name: status
  22115. required: true
  22116. type: integer
  22117. produces:
  22118. - application/json
  22119. responses:
  22120. "200":
  22121. description: OK
  22122. schema:
  22123. items:
  22124. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22125. type: array
  22126. "500":
  22127. description: Internal Server Error
  22128. schema:
  22129. $ref: '#/definitions/app.Response'
  22130. security:
  22131. - ApiKeyAuth: []
  22132. summary: 查询业务表单数据
  22133. tags:
  22134. - 风险管理v3
  22135. /Erms3/QueryPendingAuditContract:
  22136. get:
  22137. parameters:
  22138. - description: 资金账号ID列表,逗号隔开
  22139. in: query
  22140. name: accountids
  22141. required: true
  22142. type: string
  22143. - description: 合同类型 1-采购 -1-销售
  22144. in: query
  22145. name: contracttype
  22146. required: true
  22147. type: integer
  22148. - description: 合同模式 1-普通 2-回购
  22149. in: query
  22150. name: contractmode
  22151. required: true
  22152. type: integer
  22153. produces:
  22154. - application/json
  22155. responses:
  22156. "200":
  22157. description: OK
  22158. schema:
  22159. items:
  22160. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22161. type: array
  22162. "500":
  22163. description: Internal Server Error
  22164. schema:
  22165. $ref: '#/definitions/app.Response'
  22166. security:
  22167. - ApiKeyAuth: []
  22168. summary: 查询待审核合同
  22169. tags:
  22170. - 风险管理v3
  22171. /Erms3/QueryPendingBusiness:
  22172. get:
  22173. parameters:
  22174. - description: 资金账号ID列表,逗号隔开
  22175. in: query
  22176. name: accountids
  22177. required: true
  22178. type: string
  22179. produces:
  22180. - application/json
  22181. responses:
  22182. "200":
  22183. description: OK
  22184. schema:
  22185. items:
  22186. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22187. type: array
  22188. "500":
  22189. description: Internal Server Error
  22190. schema:
  22191. $ref: '#/definitions/app.Response'
  22192. security:
  22193. - ApiKeyAuth: []
  22194. summary: 查询待审核基差贸易业务
  22195. tags:
  22196. - 风险管理v3
  22197. /Erms3/QuerySpotContractAppleForm:
  22198. get:
  22199. parameters:
  22200. - description: 登录账号
  22201. in: query
  22202. name: loginID
  22203. required: true
  22204. type: integer
  22205. produces:
  22206. - application/json
  22207. responses:
  22208. "200":
  22209. description: OK
  22210. schema:
  22211. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22212. "500":
  22213. description: Internal Server Error
  22214. schema:
  22215. $ref: '#/definitions/app.Response'
  22216. security:
  22217. - ApiKeyAuth: []
  22218. summary: 查询合同申请表单数据
  22219. tags:
  22220. - 风险管理v3
  22221. /Erms3/QuerySpotContractDetail:
  22222. get:
  22223. parameters:
  22224. - description: 资金账号ID列表,用逗号分隔
  22225. in: query
  22226. name: accountids
  22227. required: true
  22228. type: string
  22229. - description: 合同类型,1为采购合同 -1为销售合同
  22230. in: query
  22231. name: contracttype
  22232. required: true
  22233. type: integer
  22234. - description: 合同模式,1为普通合同 2为回购销售合同
  22235. in: query
  22236. name: contractmode
  22237. required: true
  22238. type: integer
  22239. - description: 状态,0为履约中 1为已完成
  22240. in: query
  22241. name: status
  22242. required: true
  22243. type: integer
  22244. produces:
  22245. - application/json
  22246. responses:
  22247. "200":
  22248. description: OK
  22249. schema:
  22250. items:
  22251. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22252. type: array
  22253. "500":
  22254. description: Internal Server Error
  22255. schema:
  22256. $ref: '#/definitions/app.Response'
  22257. security:
  22258. - ApiKeyAuth: []
  22259. summary: 查询合同详细信息
  22260. tags:
  22261. - 风险管理v3
  22262. /Erms3/QueryUserInfoApplies:
  22263. get:
  22264. parameters:
  22265. - description: 页码
  22266. in: query
  22267. name: page
  22268. type: integer
  22269. - description: 每页条数
  22270. in: query
  22271. name: pagesize
  22272. type: integer
  22273. - description: 客户名称,支持模糊查询
  22274. in: query
  22275. name: userName
  22276. type: string
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 客户申请信息查询
  22291. tags:
  22292. - 风险管理v3
  22293. /Erms3/QueryUserInfos:
  22294. get:
  22295. parameters:
  22296. - description: 页码
  22297. in: query
  22298. name: page
  22299. type: integer
  22300. - description: 每页条数
  22301. in: query
  22302. name: pagesize
  22303. type: integer
  22304. - description: 客户名称,支持模糊查询
  22305. in: query
  22306. name: userName
  22307. type: string
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 客户信息查询
  22322. tags:
  22323. - 风险管理v3
  22324. /HSBY/GetHsbyMyCount:
  22325. get:
  22326. description: 说明: 不包括已完成的数量。
  22327. parameters:
  22328. - description: 资金账户列表,格式:1,2,3
  22329. in: query
  22330. name: accountIDs
  22331. required: true
  22332. type: string
  22333. produces:
  22334. - application/json
  22335. responses:
  22336. "200":
  22337. description: OK
  22338. schema:
  22339. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22340. "500":
  22341. description: Internal Server Error
  22342. schema:
  22343. $ref: '#/definitions/app.Response'
  22344. security:
  22345. - ApiKeyAuth: []
  22346. summary: 获取我的订单与包裹数量
  22347. tags:
  22348. - 定制【海商报业】
  22349. /HSBY/QueryClientFixedADConfigs:
  22350. get:
  22351. produces:
  22352. - application/json
  22353. responses:
  22354. "200":
  22355. description: OK
  22356. schema:
  22357. $ref: '#/definitions/models.Clientfixedadconfig'
  22358. "500":
  22359. description: Internal Server Error
  22360. schema:
  22361. $ref: '#/definitions/app.Response'
  22362. security:
  22363. - ApiKeyAuth: []
  22364. summary: 获取终端固定广告配置
  22365. tags:
  22366. - 定制【海商报业】
  22367. /HSBY/QueryHsbyBuyMyTradeDetail:
  22368. get:
  22369. parameters:
  22370. - description: 页码
  22371. in: query
  22372. name: page
  22373. type: integer
  22374. - description: 每页条数
  22375. in: query
  22376. name: pagesize
  22377. type: integer
  22378. - description: 资金账户列表,格式:1,2,3
  22379. in: query
  22380. name: accountIDs
  22381. required: true
  22382. type: string
  22383. produces:
  22384. - application/json
  22385. responses:
  22386. "200":
  22387. description: OK
  22388. schema:
  22389. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22390. "500":
  22391. description: Internal Server Error
  22392. schema:
  22393. $ref: '#/definitions/app.Response'
  22394. security:
  22395. - ApiKeyAuth: []
  22396. summary: 查询"我的订单 - 已完成"单据信息
  22397. tags:
  22398. - 定制【海商报业】
  22399. /HSBY/QueryHsbyGoodsOrderDetails:
  22400. get:
  22401. description: 说明:查询结果已按委托价格和委托时间排序
  22402. parameters:
  22403. - description: 商品ID
  22404. in: query
  22405. name: goodsID
  22406. required: true
  22407. type: integer
  22408. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22409. in: query
  22410. name: accountIDs
  22411. type: string
  22412. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22413. in: query
  22414. name: buyOrSell
  22415. type: integer
  22416. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22417. in: query
  22418. name: price
  22419. type: number
  22420. - description: 档位,不传则默认为3档
  22421. in: query
  22422. name: speed
  22423. type: integer
  22424. produces:
  22425. - application/json
  22426. responses:
  22427. "200":
  22428. description: OK
  22429. schema:
  22430. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22438. tags:
  22439. - 定制【海商报业】
  22440. /HSBY/QueryHsbyListingGoodsDetail:
  22441. get:
  22442. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22443. parameters:
  22444. - description: 商品ID
  22445. in: query
  22446. name: goodsID
  22447. required: true
  22448. type: integer
  22449. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22450. in: query
  22451. name: accountID
  22452. type: integer
  22453. produces:
  22454. - application/json
  22455. responses:
  22456. "200":
  22457. description: OK
  22458. schema:
  22459. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22460. "500":
  22461. description: Internal Server Error
  22462. schema:
  22463. $ref: '#/definitions/app.Response'
  22464. security:
  22465. - ApiKeyAuth: []
  22466. summary: 查询二级市场(挂牌点选)商品信息详情
  22467. tags:
  22468. - 定制【海商报业】
  22469. /HSBY/QueryHsbyMarketGoodsDetail:
  22470. get:
  22471. parameters:
  22472. - description: 委托单号
  22473. in: query
  22474. name: orderID
  22475. required: true
  22476. type: integer
  22477. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22478. in: query
  22479. name: accountID
  22480. type: integer
  22481. produces:
  22482. - application/json
  22483. responses:
  22484. "200":
  22485. description: OK
  22486. schema:
  22487. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22488. "500":
  22489. description: Internal Server Error
  22490. schema:
  22491. $ref: '#/definitions/app.Response'
  22492. security:
  22493. - ApiKeyAuth: []
  22494. summary: 查询三级市场(商城)商品信息详情
  22495. tags:
  22496. - 定制【海商报业】
  22497. /HSBY/QueryHsbyMarketGoodses:
  22498. get:
  22499. parameters:
  22500. - description: 页码
  22501. in: query
  22502. name: page
  22503. type: integer
  22504. - description: 每页条数
  22505. in: query
  22506. name: pagesize
  22507. type: integer
  22508. - description: 市场ID列表,格式:1,2,3
  22509. in: query
  22510. name: marketIDs
  22511. required: true
  22512. type: string
  22513. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22514. in: query
  22515. name: accountID
  22516. required: true
  22517. type: integer
  22518. - description: 类别ID
  22519. in: query
  22520. name: categoryID
  22521. type: integer
  22522. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22523. in: query
  22524. name: goodsIDs
  22525. type: string
  22526. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22527. in: query
  22528. name: couponTypeID
  22529. type: integer
  22530. produces:
  22531. - application/json
  22532. responses:
  22533. "200":
  22534. description: OK
  22535. schema:
  22536. $ref: '#/definitions/models.HsbyMarketGoods'
  22537. "500":
  22538. description: Internal Server Error
  22539. schema:
  22540. $ref: '#/definitions/app.Response'
  22541. security:
  22542. - ApiKeyAuth: []
  22543. summary: 查询特卖商品列表(三级商城)
  22544. tags:
  22545. - 定制【海商报业】
  22546. /HSBY/QueryHsbyMarkets:
  22547. get:
  22548. produces:
  22549. - application/json
  22550. responses:
  22551. "200":
  22552. description: OK
  22553. schema:
  22554. $ref: '#/definitions/models.HsbyMarketInfo'
  22555. "500":
  22556. description: Internal Server Error
  22557. schema:
  22558. $ref: '#/definitions/app.Response'
  22559. security:
  22560. - ApiKeyAuth: []
  22561. summary: 查询海商报业相关市场信息
  22562. tags:
  22563. - 定制【海商报业】
  22564. /HSBY/QueryHsbyMyBuyOrderDetails:
  22565. get:
  22566. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22567. parameters:
  22568. - description: 资金账户列表,格式:1,2,3
  22569. in: query
  22570. name: accountIDs
  22571. required: true
  22572. type: string
  22573. produces:
  22574. - application/json
  22575. responses:
  22576. "200":
  22577. description: OK
  22578. schema:
  22579. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22580. "500":
  22581. description: Internal Server Error
  22582. schema:
  22583. $ref: '#/definitions/app.Response'
  22584. security:
  22585. - ApiKeyAuth: []
  22586. summary: 查询“我的订单”信息
  22587. tags:
  22588. - 定制【海商报业】
  22589. /HSBY/QueryHsbyMyGoods:
  22590. get:
  22591. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22592. parameters:
  22593. - description: 资金账户列表,格式:1,2,3
  22594. in: query
  22595. name: accountIDs
  22596. required: true
  22597. type: string
  22598. produces:
  22599. - application/json
  22600. responses:
  22601. "200":
  22602. description: OK
  22603. schema:
  22604. $ref: '#/definitions/models.HsbyMyGoods'
  22605. "500":
  22606. description: Internal Server Error
  22607. schema:
  22608. $ref: '#/definitions/app.Response'
  22609. security:
  22610. - ApiKeyAuth: []
  22611. summary: 查询“我的商品”信息
  22612. tags:
  22613. - 定制【海商报业】
  22614. /HSBY/QueryHsbyMyPackages:
  22615. get:
  22616. parameters:
  22617. - description: 资金账户列表,格式:1,2,3
  22618. in: query
  22619. name: accountIDs
  22620. required: true
  22621. type: string
  22622. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22623. in: query
  22624. name: takeOrderStatus
  22625. type: integer
  22626. produces:
  22627. - application/json
  22628. responses:
  22629. "200":
  22630. description: OK
  22631. schema:
  22632. $ref: '#/definitions/models.HsbyMyPackage'
  22633. "500":
  22634. description: Internal Server Error
  22635. schema:
  22636. $ref: '#/definitions/app.Response'
  22637. security:
  22638. - ApiKeyAuth: []
  22639. summary: 查询我的包裹信息
  22640. tags:
  22641. - 定制【海商报业】
  22642. /HSBY/QueryHsbyPreGoodsDetail:
  22643. get:
  22644. parameters:
  22645. - description: 商品ID
  22646. in: query
  22647. name: goodsID
  22648. required: true
  22649. type: integer
  22650. - description: 资金账户,主要用于获取预售商品购买上限
  22651. in: query
  22652. name: accountID
  22653. type: integer
  22654. produces:
  22655. - application/json
  22656. responses:
  22657. "200":
  22658. description: OK
  22659. schema:
  22660. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22661. "500":
  22662. description: Internal Server Error
  22663. schema:
  22664. $ref: '#/definitions/app.Response'
  22665. security:
  22666. - ApiKeyAuth: []
  22667. summary: 查询一级市场(预售)商品信息详情
  22668. tags:
  22669. - 定制【海商报业】
  22670. /HSBY/QueryHsbyPreGoodses:
  22671. get:
  22672. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22673. parameters:
  22674. - description: 页码
  22675. in: query
  22676. name: page
  22677. type: integer
  22678. - description: 每页条数
  22679. in: query
  22680. name: pagesize
  22681. type: integer
  22682. - description: 市场ID列表,格式:1,2,3
  22683. in: query
  22684. name: marketIDs
  22685. required: true
  22686. type: string
  22687. - description: 目的地(省)ID
  22688. in: query
  22689. name: descProvinceID
  22690. type: integer
  22691. - description: 目的地(市)ID
  22692. in: query
  22693. name: descCityID
  22694. type: integer
  22695. produces:
  22696. - application/json
  22697. responses:
  22698. "200":
  22699. description: OK
  22700. schema:
  22701. $ref: '#/definitions/models.HsbyPreGoods'
  22702. "500":
  22703. description: Internal Server Error
  22704. schema:
  22705. $ref: '#/definitions/app.Response'
  22706. security:
  22707. - ApiKeyAuth: []
  22708. summary: 查询新品上市商品列表(一级市场预售)
  22709. tags:
  22710. - 定制【海商报业】
  22711. /HSBY/QueryHsbySellMyDetails:
  22712. get:
  22713. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22714. parameters:
  22715. - description: 页码
  22716. in: query
  22717. name: page
  22718. type: integer
  22719. - description: 每页条数
  22720. in: query
  22721. name: pagesize
  22722. type: integer
  22723. - description: 资金账户列表,格式:1,2,3
  22724. in: query
  22725. name: accountIDs
  22726. required: true
  22727. type: string
  22728. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22729. in: query
  22730. name: orderType
  22731. type: integer
  22732. produces:
  22733. - application/json
  22734. responses:
  22735. "200":
  22736. description: OK
  22737. schema:
  22738. $ref: '#/definitions/models.HsbySellMyDetail'
  22739. "500":
  22740. description: Internal Server Error
  22741. schema:
  22742. $ref: '#/definitions/app.Response'
  22743. security:
  22744. - ApiKeyAuth: []
  22745. summary: 查询"我的闲置"单据信息
  22746. tags:
  22747. - 定制【海商报业】
  22748. /HSBY/QueryHsbyTopGoodses:
  22749. get:
  22750. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22751. parameters:
  22752. - description: 页码
  22753. in: query
  22754. name: page
  22755. type: integer
  22756. - description: 每页条数
  22757. in: query
  22758. name: pagesize
  22759. type: integer
  22760. - description: 市场ID列表,格式:1,2,3
  22761. in: query
  22762. name: marketIDs
  22763. required: true
  22764. type: string
  22765. - description: 目的地(省)ID
  22766. in: query
  22767. name: descProvinceID
  22768. type: integer
  22769. - description: 目的地(市)ID
  22770. in: query
  22771. name: descCityID
  22772. type: integer
  22773. produces:
  22774. - application/json
  22775. responses:
  22776. "200":
  22777. description: OK
  22778. schema:
  22779. $ref: '#/definitions/models.HsbyTopGoods'
  22780. "500":
  22781. description: Internal Server Error
  22782. schema:
  22783. $ref: '#/definitions/app.Response'
  22784. security:
  22785. - ApiKeyAuth: []
  22786. summary: 查询热卖商品列表(二级市场挂牌点选)
  22787. tags:
  22788. - 定制【海商报业】
  22789. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22790. get:
  22791. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22792. parameters:
  22793. - description: 商品ID
  22794. in: query
  22795. name: goodsID
  22796. required: true
  22797. type: integer
  22798. produces:
  22799. - application/json
  22800. responses:
  22801. "200":
  22802. description: OK
  22803. schema:
  22804. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22805. "500":
  22806. description: Internal Server Error
  22807. schema:
  22808. $ref: '#/definitions/app.Response'
  22809. security:
  22810. - ApiKeyAuth: []
  22811. summary: 查询游客三级市场(商城)商品信息详情
  22812. tags:
  22813. - 定制【海商报业】
  22814. /HSBY/QueryHsbyVisitorMarketGoodses:
  22815. get:
  22816. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22817. parameters:
  22818. - description: 页码
  22819. in: query
  22820. name: page
  22821. type: integer
  22822. - description: 每页条数
  22823. in: query
  22824. name: pagesize
  22825. type: integer
  22826. - description: 市场ID列表,格式:1,2,3
  22827. in: query
  22828. name: marketIDs
  22829. required: true
  22830. type: string
  22831. - description: 类别ID
  22832. in: query
  22833. name: categoryID
  22834. type: integer
  22835. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22836. in: query
  22837. name: goodsIDs
  22838. type: string
  22839. produces:
  22840. - application/json
  22841. responses:
  22842. "200":
  22843. description: OK
  22844. schema:
  22845. $ref: '#/definitions/models.HsbyMarketGoods'
  22846. "500":
  22847. description: Internal Server Error
  22848. schema:
  22849. $ref: '#/definitions/app.Response'
  22850. security:
  22851. - ApiKeyAuth: []
  22852. summary: 查询游客特卖商品列表(三级商城)
  22853. tags:
  22854. - 定制【海商报业】
  22855. /HSBY/QueryMyCollectionOrders:
  22856. get:
  22857. parameters:
  22858. - description: 页码
  22859. in: query
  22860. name: page
  22861. type: integer
  22862. - description: 每页条数
  22863. in: query
  22864. name: pagesize
  22865. type: integer
  22866. - description: 资金账户,格式:1,2,3
  22867. in: query
  22868. name: accountIDs
  22869. required: true
  22870. type: string
  22871. produces:
  22872. - application/json
  22873. responses:
  22874. "200":
  22875. description: OK
  22876. schema:
  22877. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22878. "500":
  22879. description: Internal Server Error
  22880. schema:
  22881. $ref: '#/definitions/app.Response'
  22882. security:
  22883. - ApiKeyAuth: []
  22884. summary: 我的闲置中收款信息查询
  22885. tags:
  22886. - 定制【海商报业】
  22887. /HSBY/QueryMyCouponHolds:
  22888. get:
  22889. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22890. parameters:
  22891. - description: 资金账户列表,格式:1,2,3
  22892. in: query
  22893. name: accountIDs
  22894. required: true
  22895. type: string
  22896. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22897. in: query
  22898. name: holdStatus
  22899. type: string
  22900. produces:
  22901. - application/json
  22902. responses:
  22903. "200":
  22904. description: OK
  22905. schema:
  22906. $ref: '#/definitions/models.MyCouponHold'
  22907. "500":
  22908. description: Internal Server Error
  22909. schema:
  22910. $ref: '#/definitions/app.Response'
  22911. security:
  22912. - ApiKeyAuth: []
  22913. summary: 我的优惠卷持仓查询
  22914. tags:
  22915. - 定制【海商报业】
  22916. /HSBY/QueryMyCoupons:
  22917. get:
  22918. parameters:
  22919. - description: 资金账户列表,格式:1,2,3
  22920. in: query
  22921. name: accountIDs
  22922. required: true
  22923. type: string
  22924. - description: 商品ID, 一般与sellUserID配套传入
  22925. in: query
  22926. name: goodsID
  22927. type: integer
  22928. - description: 卖方UserID
  22929. in: query
  22930. name: sellUserID
  22931. type: integer
  22932. produces:
  22933. - application/json
  22934. responses:
  22935. "200":
  22936. description: OK
  22937. schema:
  22938. $ref: '#/definitions/models.MyCoupon'
  22939. "500":
  22940. description: Internal Server Error
  22941. schema:
  22942. $ref: '#/definitions/app.Response'
  22943. security:
  22944. - ApiKeyAuth: []
  22945. summary: 我的优惠卷查询
  22946. tags:
  22947. - 定制【海商报业】
  22948. /HSBY/QueryMyPayOrders:
  22949. get:
  22950. parameters:
  22951. - description: 页码
  22952. in: query
  22953. name: page
  22954. type: integer
  22955. - description: 每页条数
  22956. in: query
  22957. name: pagesize
  22958. type: integer
  22959. - description: 资金账户列表,格式:1,2,3
  22960. in: query
  22961. name: accountIDs
  22962. required: true
  22963. type: string
  22964. - description: 买方委托单号
  22965. in: query
  22966. name: buyOrderID
  22967. type: integer
  22968. - description: 卖方委托单号
  22969. in: query
  22970. name: sellOrderID
  22971. type: integer
  22972. produces:
  22973. - application/json
  22974. responses:
  22975. "200":
  22976. description: OK
  22977. schema:
  22978. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22979. "500":
  22980. description: Internal Server Error
  22981. schema:
  22982. $ref: '#/definitions/app.Response'
  22983. security:
  22984. - ApiKeyAuth: []
  22985. summary: 获取我的订单中待付款信息
  22986. tags:
  22987. - 定制【海商报业】
  22988. /HSBY/QueryMyUsedCoupon:
  22989. get:
  22990. parameters:
  22991. - description: 资金账户列表,格式:1,2,3
  22992. in: query
  22993. name: accountIDs
  22994. required: true
  22995. type: string
  22996. produces:
  22997. - application/json
  22998. responses:
  22999. "200":
  23000. description: OK
  23001. schema:
  23002. $ref: '#/definitions/models.MyUsedCoupon'
  23003. "500":
  23004. description: Internal Server Error
  23005. schema:
  23006. $ref: '#/definitions/app.Response'
  23007. security:
  23008. - ApiKeyAuth: []
  23009. summary: 已使用优惠卷查询
  23010. tags:
  23011. - 定制【海商报业】
  23012. /HSBY/QueryProvincesAndCities:
  23013. get:
  23014. description: 查询结果只包括二级市场商品已关连的省市信息。
  23015. parameters:
  23016. - description: 省ID
  23017. in: query
  23018. name: provinceID
  23019. type: integer
  23020. produces:
  23021. - application/json
  23022. responses:
  23023. "200":
  23024. description: OK
  23025. schema:
  23026. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23027. "500":
  23028. description: Internal Server Error
  23029. schema:
  23030. $ref: '#/definitions/app.Response'
  23031. security:
  23032. - ApiKeyAuth: []
  23033. summary: 查询省市信息(不包括区)
  23034. tags:
  23035. - 定制【海商报业】
  23036. /HSBY/SetHsbyMyPackagesStatus:
  23037. post:
  23038. parameters:
  23039. - description: 提货单号
  23040. in: query
  23041. name: takeOrderID
  23042. required: true
  23043. type: string
  23044. - description: 资金账号
  23045. in: query
  23046. name: accountID
  23047. required: true
  23048. type: integer
  23049. produces:
  23050. - application/json
  23051. responses:
  23052. "200":
  23053. description: OK
  23054. schema:
  23055. $ref: '#/definitions/app.Response'
  23056. "500":
  23057. description: Internal Server Error
  23058. schema:
  23059. $ref: '#/definitions/app.Response'
  23060. security:
  23061. - ApiKeyAuth: []
  23062. summary: 设置我的包裹已收货状态
  23063. tags:
  23064. - 定制【海商报业】
  23065. /Market/GetAllExExchanges:
  23066. get:
  23067. produces:
  23068. - application/json
  23069. responses:
  23070. "200":
  23071. description: OK
  23072. schema:
  23073. $ref: '#/definitions/models.Goods'
  23074. "500":
  23075. description: Internal Server Error
  23076. schema:
  23077. $ref: '#/definitions/app.Response'
  23078. security:
  23079. - ApiKeyAuth: []
  23080. summary: 获取所有外部交易所信息
  23081. tags:
  23082. - 通用市场
  23083. /Market/QueryGoodsesByLoginID:
  23084. get:
  23085. parameters:
  23086. - description: 登录账号
  23087. in: query
  23088. name: loginID
  23089. required: true
  23090. type: integer
  23091. - description: 市场ID列表,格式:1,2,3
  23092. in: query
  23093. name: marketIDs
  23094. type: string
  23095. produces:
  23096. - application/json
  23097. responses:
  23098. "200":
  23099. description: OK
  23100. schema:
  23101. $ref: '#/definitions/models.Goods'
  23102. "500":
  23103. description: Internal Server Error
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. security:
  23107. - ApiKeyAuth: []
  23108. summary: 获取登录账号有权限的商品信息
  23109. tags:
  23110. - 通用市场
  23111. /Market/QueryMarketRun:
  23112. get:
  23113. parameters:
  23114. - description: 市场ID,不传返回所有
  23115. in: query
  23116. name: marketID
  23117. type: integer
  23118. produces:
  23119. - application/json
  23120. responses:
  23121. "200":
  23122. description: OK
  23123. schema:
  23124. $ref: '#/definitions/models.Marketrun'
  23125. "500":
  23126. description: Internal Server Error
  23127. schema:
  23128. $ref: '#/definitions/app.Response'
  23129. security:
  23130. - ApiKeyAuth: []
  23131. summary: 查询市场运行信息
  23132. tags:
  23133. - 通用市场
  23134. /Market/QueryMarketsByLoginID:
  23135. get:
  23136. parameters:
  23137. - description: 登录账号
  23138. in: query
  23139. name: loginID
  23140. required: true
  23141. type: integer
  23142. produces:
  23143. - application/json
  23144. responses:
  23145. "200":
  23146. description: OK
  23147. schema:
  23148. $ref: '#/definitions/models.Market'
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 获取登录账号有权限的市场信息
  23156. tags:
  23157. - 通用市场
  23158. /Order/QueryHisTradeDetail:
  23159. get:
  23160. parameters:
  23161. - description: 资金账户 - 格式:1,2,3
  23162. in: query
  23163. name: accountID
  23164. required: true
  23165. type: string
  23166. - description: 成交单号
  23167. in: query
  23168. name: tradeID
  23169. type: integer
  23170. - description: 委托单号
  23171. in: query
  23172. name: orderID
  23173. type: integer
  23174. - description: 商品ID
  23175. in: query
  23176. name: goodsID
  23177. type: integer
  23178. - description: 交易模式 - 格式:1,2,3
  23179. in: query
  23180. name: tradeMode
  23181. type: string
  23182. - description: 委托单据类型
  23183. in: query
  23184. name: buildType
  23185. type: integer
  23186. - description: 成交类别 - 格式:1,2,3
  23187. in: query
  23188. name: tradeType
  23189. type: string
  23190. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23191. in: query
  23192. name: startDate
  23193. type: string
  23194. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23195. in: query
  23196. name: endDate
  23197. type: string
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23205. "500":
  23206. description: Internal Server Error
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. security:
  23210. - ApiKeyAuth: []
  23211. summary: 历史成交单查询(合约市场)
  23212. tags:
  23213. - 通用单据
  23214. /Order/QueryHisTradeOrderDetail:
  23215. get:
  23216. parameters:
  23217. - description: 资金账户 - 格式:1,2,3
  23218. in: query
  23219. name: accountID
  23220. required: true
  23221. type: string
  23222. - description: 交易模式 - 格式:1,2,3
  23223. in: query
  23224. name: tradeMode
  23225. type: string
  23226. - description: 委托状态 - 格式:1,2,3
  23227. in: query
  23228. name: orderStatus
  23229. type: string
  23230. - description: 委托单号
  23231. in: query
  23232. name: orderID
  23233. type: integer
  23234. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23235. in: query
  23236. name: startDate
  23237. type: string
  23238. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23239. in: query
  23240. name: endDate
  23241. type: string
  23242. produces:
  23243. - application/json
  23244. responses:
  23245. "200":
  23246. description: OK
  23247. schema:
  23248. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23249. "500":
  23250. description: Internal Server Error
  23251. schema:
  23252. $ref: '#/definitions/app.Response'
  23253. security:
  23254. - ApiKeyAuth: []
  23255. summary: 历史委托单查询请求(合约市场)
  23256. tags:
  23257. - 通用单据
  23258. /Order/QueryTradeDetail:
  23259. get:
  23260. parameters:
  23261. - description: 资金账户 - 格式:1,2,3
  23262. in: query
  23263. name: accountID
  23264. required: true
  23265. type: string
  23266. - description: 成交单号
  23267. in: query
  23268. name: tradeID
  23269. type: integer
  23270. - description: 委托单号
  23271. in: query
  23272. name: orderID
  23273. type: integer
  23274. - description: 交易模式 - 格式:1,2,3
  23275. in: query
  23276. name: tradeMode
  23277. type: string
  23278. - description: 委托单据类型
  23279. in: query
  23280. name: buildType
  23281. type: integer
  23282. - description: 成交类别 - 格式:1,2,3
  23283. in: query
  23284. name: tradeType
  23285. type: string
  23286. - description: 商品ID
  23287. in: query
  23288. name: goodsID
  23289. type: integer
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23297. "500":
  23298. description: Internal Server Error
  23299. schema:
  23300. $ref: '#/definitions/app.Response'
  23301. security:
  23302. - ApiKeyAuth: []
  23303. summary: 成交单查询(合约市场)
  23304. tags:
  23305. - 通用单据
  23306. /Order/QueryTradeHolderDetail:
  23307. get:
  23308. parameters:
  23309. - description: 用户id
  23310. in: query
  23311. name: userid
  23312. type: integer
  23313. - description: 资金账号, 格式 1,2,3
  23314. in: query
  23315. name: accids
  23316. type: string
  23317. - description: 交易模式, 格式 1,2,3
  23318. in: query
  23319. name: trademodes
  23320. type: string
  23321. - description: 市场id, 格式 1,2,3
  23322. in: query
  23323. name: marketids
  23324. type: string
  23325. - description: 商品id
  23326. in: query
  23327. name: goodsid
  23328. type: integer
  23329. - description: 买卖方向 0-买 1-卖
  23330. in: query
  23331. name: buyorsell
  23332. type: integer
  23333. produces:
  23334. - application/json
  23335. responses:
  23336. "200":
  23337. description: OK
  23338. schema:
  23339. items:
  23340. $ref: '#/definitions/models.TradeHolderDetail'
  23341. type: array
  23342. "500":
  23343. description: Internal Server Error
  23344. schema:
  23345. $ref: '#/definitions/app.Response'
  23346. security:
  23347. - ApiKeyAuth: []
  23348. summary: 查询持仓明细
  23349. tags:
  23350. - 通用单据
  23351. /Order/QueryTradeOrderDetail:
  23352. get:
  23353. parameters:
  23354. - description: 资金账户 - 格式:1,2,3
  23355. in: query
  23356. name: accountID
  23357. required: true
  23358. type: string
  23359. - description: 交易模式 - 格式:1,2,3
  23360. in: query
  23361. name: tradeMode
  23362. type: string
  23363. - description: 委托状态 - 格式:1,2,3
  23364. in: query
  23365. name: orderStatus
  23366. type: string
  23367. - description: 委托单号
  23368. in: query
  23369. name: orderID
  23370. type: integer
  23371. produces:
  23372. - application/json
  23373. responses:
  23374. "200":
  23375. description: OK
  23376. schema:
  23377. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23378. "500":
  23379. description: Internal Server Error
  23380. schema:
  23381. $ref: '#/definitions/app.Response'
  23382. security:
  23383. - ApiKeyAuth: []
  23384. summary: 委托单查询请求(合约市场)
  23385. tags:
  23386. - 通用单据
  23387. /Order/QueryTradePosition:
  23388. get:
  23389. parameters:
  23390. - description: 资金账户 - 格式:1,2,3
  23391. in: query
  23392. name: accountID
  23393. required: true
  23394. type: string
  23395. - description: 交易模式 - 格式:1,2,3
  23396. in: query
  23397. name: tradeMode
  23398. type: string
  23399. produces:
  23400. - application/json
  23401. responses:
  23402. "200":
  23403. description: OK
  23404. schema:
  23405. $ref: '#/definitions/order.QueryTradePositionRsp'
  23406. "500":
  23407. description: Internal Server Error
  23408. schema:
  23409. $ref: '#/definitions/app.Response'
  23410. security:
  23411. - ApiKeyAuth: []
  23412. summary: 持仓汇总查询(合约市场)
  23413. tags:
  23414. - 通用单据
  23415. /Order/QueryTradePosition2:
  23416. get:
  23417. parameters:
  23418. - description: 用户id
  23419. in: query
  23420. name: userid
  23421. type: integer
  23422. - description: 资金账号, 格式 1,2,3
  23423. in: query
  23424. name: accids
  23425. type: string
  23426. - description: 交易模式, 格式 1,2,3
  23427. in: query
  23428. name: trademodes
  23429. type: string
  23430. - description: 市场id, 格式 1,2,3
  23431. in: query
  23432. name: marketids
  23433. type: string
  23434. - description: 商品id
  23435. in: query
  23436. name: goodsid
  23437. type: integer
  23438. - description: 买卖方向 0-买 1-卖
  23439. in: query
  23440. name: buyorsell
  23441. type: integer
  23442. produces:
  23443. - application/json
  23444. responses:
  23445. "200":
  23446. description: OK
  23447. schema:
  23448. items:
  23449. $ref: '#/definitions/models.TradeHolderDetail'
  23450. type: array
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. security:
  23456. - ApiKeyAuth: []
  23457. summary: 查询持仓汇总2
  23458. tags:
  23459. - 通用单据
  23460. /Qhj/QueryAccountInOutApply:
  23461. get:
  23462. parameters:
  23463. - description: 用户ID
  23464. in: query
  23465. name: userid
  23466. required: true
  23467. type: integer
  23468. - description: 申请起始日期(格式yyyymmdd)
  23469. in: query
  23470. name: begindate
  23471. type: string
  23472. - description: 申请截止日期(格式yyyymmdd)
  23473. in: query
  23474. name: enddate
  23475. type: string
  23476. - description: 模糊搜索名称
  23477. in: query
  23478. name: likename
  23479. type: string
  23480. produces:
  23481. - application/json
  23482. responses:
  23483. "200":
  23484. description: OK
  23485. schema:
  23486. items:
  23487. $ref: '#/definitions/models.QhjAccountOutInApply'
  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/QueryAreaFinanceConfig:
  23499. get:
  23500. parameters:
  23501. - description: 机构用户ID 其他做市关系,都设置为 1
  23502. in: query
  23503. name: userid
  23504. type: integer
  23505. produces:
  23506. - application/json
  23507. responses:
  23508. "200":
  23509. description: OK
  23510. schema:
  23511. items:
  23512. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23513. type: array
  23514. "500":
  23515. description: Internal Server Error
  23516. schema:
  23517. $ref: '#/definitions/app.Response'
  23518. security:
  23519. - ApiKeyAuth: []
  23520. summary: 查询企业配置表
  23521. tags:
  23522. - 大连千海金
  23523. /Qhj/QueryBankAccountSign:
  23524. get:
  23525. parameters:
  23526. - description: 用户ID
  23527. in: query
  23528. name: userid
  23529. required: true
  23530. type: integer
  23531. produces:
  23532. - application/json
  23533. responses:
  23534. "200":
  23535. description: OK
  23536. schema:
  23537. items:
  23538. $ref: '#/definitions/models.QhjBankAccountSign'
  23539. type: array
  23540. "500":
  23541. description: Internal Server Error
  23542. schema:
  23543. $ref: '#/definitions/app.Response'
  23544. security:
  23545. - ApiKeyAuth: []
  23546. summary: 查询签约银行信息(提现账户管理)
  23547. tags:
  23548. - 大连千海金
  23549. /Qhj/QueryBankInfo:
  23550. get:
  23551. produces:
  23552. - application/json
  23553. responses:
  23554. "200":
  23555. description: OK
  23556. schema:
  23557. items:
  23558. $ref: '#/definitions/models.QhjBankInfo'
  23559. type: array
  23560. "500":
  23561. description: Internal Server Error
  23562. schema:
  23563. $ref: '#/definitions/app.Response'
  23564. security:
  23565. - ApiKeyAuth: []
  23566. summary: 查询开户行
  23567. tags:
  23568. - 大连千海金
  23569. /Qhj/QueryBrokerApply:
  23570. get:
  23571. parameters:
  23572. - description: 所属机构ID
  23573. in: query
  23574. name: userid
  23575. type: integer
  23576. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23577. in: query
  23578. name: filterstatus
  23579. type: string
  23580. produces:
  23581. - application/json
  23582. responses:
  23583. "200":
  23584. description: OK
  23585. schema:
  23586. items:
  23587. $ref: '#/definitions/models.QhjBrokerApply'
  23588. type: array
  23589. "500":
  23590. description: Internal Server Error
  23591. schema:
  23592. $ref: '#/definitions/app.Response'
  23593. security:
  23594. - ApiKeyAuth: []
  23595. summary: 查询经纪人申请
  23596. tags:
  23597. - 大连千海金
  23598. /Qhj/QueryBrokerApplyEx:
  23599. get:
  23600. parameters:
  23601. - description: 所属机构ID
  23602. in: query
  23603. name: userid
  23604. type: integer
  23605. produces:
  23606. - application/json
  23607. responses:
  23608. "200":
  23609. description: OK
  23610. schema:
  23611. items:
  23612. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23613. type: array
  23614. "500":
  23615. description: Internal Server Error
  23616. schema:
  23617. $ref: '#/definitions/app.Response'
  23618. security:
  23619. - ApiKeyAuth: []
  23620. summary: 查询经纪人信息和申请记录
  23621. tags:
  23622. - 大连千海金
  23623. /Qhj/QueryBrokerRewardLog:
  23624. get:
  23625. parameters:
  23626. - description: 用户ID
  23627. in: query
  23628. name: userid
  23629. required: true
  23630. type: integer
  23631. - description: 开始交易日(yyyymmdd)
  23632. in: query
  23633. name: begindate
  23634. type: string
  23635. - description: 结束交易日(yyyymmdd)
  23636. in: query
  23637. name: enddate
  23638. type: string
  23639. produces:
  23640. - application/json
  23641. responses:
  23642. "200":
  23643. description: OK
  23644. schema:
  23645. items:
  23646. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23647. type: array
  23648. "500":
  23649. description: Internal Server Error
  23650. schema:
  23651. $ref: '#/definitions/app.Response'
  23652. security:
  23653. - ApiKeyAuth: []
  23654. summary: 查询奖励流水(我的奖励)
  23655. tags:
  23656. - 大连千海金
  23657. /Qhj/QueryContract:
  23658. get:
  23659. parameters:
  23660. - description: 用户ID
  23661. in: query
  23662. name: userid
  23663. type: integer
  23664. - description: scf合同id
  23665. in: query
  23666. name: scfcontractid
  23667. type: integer
  23668. produces:
  23669. - application/json
  23670. responses:
  23671. "200":
  23672. description: OK
  23673. schema:
  23674. items:
  23675. $ref: '#/definitions/models.QhjContract'
  23676. type: array
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 查询融资明细(合同)
  23684. tags:
  23685. - 大连千海金
  23686. /Qhj/QueryContractLog:
  23687. get:
  23688. parameters:
  23689. - description: scf合同id
  23690. in: query
  23691. name: scfcontractid
  23692. required: true
  23693. type: integer
  23694. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23695. in: query
  23696. name: amounttype
  23697. type: string
  23698. produces:
  23699. - application/json
  23700. responses:
  23701. "200":
  23702. description: OK
  23703. schema:
  23704. items:
  23705. $ref: '#/definitions/models.QhjContractLog'
  23706. type: array
  23707. "500":
  23708. description: Internal Server Error
  23709. schema:
  23710. $ref: '#/definitions/app.Response'
  23711. security:
  23712. - ApiKeyAuth: []
  23713. summary: 查询融资明细流水(融资明细详情页中的流水)
  23714. tags:
  23715. - 大连千海金
  23716. /Qhj/QueryCusBankSignBank:
  23717. get:
  23718. produces:
  23719. - application/json
  23720. responses:
  23721. "200":
  23722. description: OK
  23723. schema:
  23724. items:
  23725. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23726. type: array
  23727. "500":
  23728. description: Internal Server Error
  23729. schema:
  23730. $ref: '#/definitions/app.Response'
  23731. security:
  23732. - ApiKeyAuth: []
  23733. summary: 查询托管银行
  23734. tags:
  23735. - 大连千海金
  23736. /Qhj/QueryCustomerInfo:
  23737. get:
  23738. parameters:
  23739. - description: 用户ID
  23740. in: query
  23741. name: userid
  23742. required: true
  23743. type: integer
  23744. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23745. in: query
  23746. name: querytype
  23747. required: true
  23748. type: integer
  23749. - description: 客户类型 1-个人 2-企业
  23750. in: query
  23751. name: userinfotype
  23752. type: integer
  23753. - description: 客户名称(模糊匹配)
  23754. in: query
  23755. name: customername
  23756. type: string
  23757. - description: 昵称(模糊匹配)
  23758. in: query
  23759. name: nickname
  23760. type: string
  23761. - description: 是否包含子级 1-包含
  23762. in: query
  23763. name: includesub
  23764. type: integer
  23765. produces:
  23766. - application/json
  23767. responses:
  23768. "200":
  23769. description: OK
  23770. schema:
  23771. items:
  23772. $ref: '#/definitions/models.QhjCustomer'
  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/QueryGoodsEx:
  23784. get:
  23785. parameters:
  23786. - description: 商品id
  23787. in: query
  23788. name: goodsid
  23789. type: integer
  23790. produces:
  23791. - application/json
  23792. responses:
  23793. "200":
  23794. description: OK
  23795. schema:
  23796. items:
  23797. $ref: '#/definitions/models.Qhjgoodsex'
  23798. type: array
  23799. "500":
  23800. description: Internal Server Error
  23801. schema:
  23802. $ref: '#/definitions/app.Response'
  23803. security:
  23804. - ApiKeyAuth: []
  23805. summary: 交易商品扩展表
  23806. tags:
  23807. - 大连千海金
  23808. /Qhj/QueryMyTeam:
  23809. get:
  23810. parameters:
  23811. - description: 用户ID
  23812. in: query
  23813. name: userid
  23814. required: true
  23815. type: integer
  23816. produces:
  23817. - application/json
  23818. responses:
  23819. "200":
  23820. description: OK
  23821. schema:
  23822. items:
  23823. $ref: '#/definitions/models.QhjMyTeamEx'
  23824. type: array
  23825. "500":
  23826. description: Internal Server Error
  23827. schema:
  23828. $ref: '#/definitions/app.Response'
  23829. security:
  23830. - ApiKeyAuth: []
  23831. summary: 查询我的团队
  23832. tags:
  23833. - 大连千海金
  23834. /Qhj/QueryMyTeamOrder:
  23835. get:
  23836. parameters:
  23837. - description: 页码
  23838. in: query
  23839. name: page
  23840. type: integer
  23841. - description: 每页条数
  23842. in: query
  23843. name: pagesize
  23844. type: integer
  23845. - description: 用户ID
  23846. in: query
  23847. name: userid
  23848. required: true
  23849. type: integer
  23850. - description: 交易模式
  23851. in: query
  23852. name: trademode
  23853. type: integer
  23854. - description: 名称(模糊搜索账户)
  23855. in: query
  23856. name: filtername
  23857. type: string
  23858. produces:
  23859. - application/json
  23860. responses:
  23861. "200":
  23862. description: OK
  23863. schema:
  23864. items:
  23865. $ref: '#/definitions/models.QhjTeamOrder'
  23866. type: array
  23867. "500":
  23868. description: Internal Server Error
  23869. schema:
  23870. $ref: '#/definitions/app.Response'
  23871. security:
  23872. - ApiKeyAuth: []
  23873. summary: 查询团队订单(我的团队/团队订单)
  23874. tags:
  23875. - 大连千海金
  23876. /Qhj/QueryParentAreaList:
  23877. get:
  23878. parameters:
  23879. - description: 用户ID
  23880. in: query
  23881. name: userid
  23882. required: true
  23883. type: integer
  23884. produces:
  23885. - application/json
  23886. responses:
  23887. "200":
  23888. description: OK
  23889. schema:
  23890. items:
  23891. $ref: '#/definitions/models.QhjParentAreaList'
  23892. type: array
  23893. "500":
  23894. description: Internal Server Error
  23895. schema:
  23896. $ref: '#/definitions/app.Response'
  23897. security:
  23898. - ApiKeyAuth: []
  23899. summary: 查询所属机构列表
  23900. tags:
  23901. - 大连千海金
  23902. /Qhj/QueryPayOrder:
  23903. get:
  23904. parameters:
  23905. - description: 资金账号id
  23906. in: query
  23907. name: accountid
  23908. required: true
  23909. type: integer
  23910. - description: 成交单号
  23911. in: query
  23912. name: tradeid
  23913. type: integer
  23914. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23915. in: query
  23916. name: payflag
  23917. type: string
  23918. produces:
  23919. - application/json
  23920. responses:
  23921. "200":
  23922. description: OK
  23923. schema:
  23924. items:
  23925. $ref: '#/definitions/models.QhjPayOrder'
  23926. type: array
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 查询待付款单据
  23934. tags:
  23935. - 大连千海金
  23936. /Qhj/QueryPickArea:
  23937. get:
  23938. parameters:
  23939. - description: 用户ID
  23940. in: query
  23941. name: userid
  23942. type: integer
  23943. produces:
  23944. - application/json
  23945. responses:
  23946. "200":
  23947. description: OK
  23948. schema:
  23949. items:
  23950. $ref: '#/definitions/models.QhjPickArea'
  23951. type: array
  23952. "500":
  23953. description: Internal Server Error
  23954. schema:
  23955. $ref: '#/definitions/app.Response'
  23956. security:
  23957. - ApiKeyAuth: []
  23958. summary: 查询提货门店
  23959. tags:
  23960. - 大连千海金
  23961. /Qhj/QueryPickGoods:
  23962. get:
  23963. parameters:
  23964. - description: 交易商品id
  23965. in: query
  23966. name: goodsid
  23967. required: true
  23968. type: integer
  23969. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23970. in: query
  23971. name: status
  23972. type: string
  23973. produces:
  23974. - application/json
  23975. responses:
  23976. "200":
  23977. description: OK
  23978. schema:
  23979. items:
  23980. $ref: '#/definitions/models.QhjPickGoods'
  23981. type: array
  23982. "500":
  23983. description: Internal Server Error
  23984. schema:
  23985. $ref: '#/definitions/app.Response'
  23986. security:
  23987. - ApiKeyAuth: []
  23988. summary: 查询提货商品
  23989. tags:
  23990. - 大连千海金
  23991. /Qhj/QueryRSTriggerLog:
  23992. get:
  23993. parameters:
  23994. - description: 用户ID
  23995. in: query
  23996. name: userid
  23997. type: integer
  23998. - description: 定投策略id
  23999. in: query
  24000. name: regularlystrategyid
  24001. type: integer
  24002. - description: 商品id
  24003. in: query
  24004. name: goodsid
  24005. type: integer
  24006. - description: 开始交易日(yyyymmdd)
  24007. in: query
  24008. name: begindate
  24009. type: string
  24010. - description: 结束交易日(yyyymmdd)
  24011. in: query
  24012. name: enddate
  24013. type: string
  24014. - description: 名称(模糊搜索账户)
  24015. in: query
  24016. name: filtername
  24017. type: string
  24018. produces:
  24019. - application/json
  24020. responses:
  24021. "200":
  24022. description: OK
  24023. schema:
  24024. items:
  24025. $ref: '#/definitions/models.QhjRSTriggerLog'
  24026. type: array
  24027. "500":
  24028. description: Internal Server Error
  24029. schema:
  24030. $ref: '#/definitions/app.Response'
  24031. security:
  24032. - ApiKeyAuth: []
  24033. summary: 查询定投记录(定投管理/详情/定投记录)
  24034. tags:
  24035. - 大连千海金
  24036. /Qhj/QueryRStrategy:
  24037. get:
  24038. parameters:
  24039. - description: 用户ID
  24040. in: query
  24041. name: userid
  24042. type: integer
  24043. - description: 商品id
  24044. in: query
  24045. name: goodsid
  24046. type: integer
  24047. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24048. in: query
  24049. name: status
  24050. type: string
  24051. - description: 名称(模糊搜索账户)
  24052. in: query
  24053. name: filtername
  24054. type: string
  24055. produces:
  24056. - application/json
  24057. responses:
  24058. "200":
  24059. description: OK
  24060. schema:
  24061. items:
  24062. $ref: '#/definitions/models.QhjRStrategy'
  24063. type: array
  24064. "500":
  24065. description: Internal Server Error
  24066. schema:
  24067. $ref: '#/definitions/app.Response'
  24068. security:
  24069. - ApiKeyAuth: []
  24070. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24071. tags:
  24072. - 大连千海金
  24073. /Qhj/QueryReckonPriceLog:
  24074. get:
  24075. parameters:
  24076. - description: 商品ID
  24077. in: query
  24078. name: goodsid
  24079. type: integer
  24080. - description: 交易日 格式(yyyymmdd)
  24081. in: query
  24082. name: tradedate
  24083. type: string
  24084. produces:
  24085. - application/json
  24086. responses:
  24087. "200":
  24088. description: OK
  24089. schema:
  24090. items:
  24091. $ref: '#/definitions/models.QhjReckonPriceLog'
  24092. type: array
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 查询定投价(结算价)
  24100. tags:
  24101. - 大连千海金
  24102. /Qhj/QueryScoreLog:
  24103. get:
  24104. parameters:
  24105. - description: 用户ID
  24106. in: query
  24107. name: userid
  24108. required: true
  24109. type: integer
  24110. - description: 开始交易日(yyyymmdd)
  24111. in: query
  24112. name: begindate
  24113. type: string
  24114. - description: 结束交易日(yyyymmdd)
  24115. in: query
  24116. name: enddate
  24117. type: string
  24118. - description: 最近多少条
  24119. in: query
  24120. name: lastnum
  24121. type: integer
  24122. produces:
  24123. - application/json
  24124. responses:
  24125. "200":
  24126. description: OK
  24127. schema:
  24128. items:
  24129. $ref: '#/definitions/models.QhjScoreLog'
  24130. type: array
  24131. "500":
  24132. description: Internal Server Error
  24133. schema:
  24134. $ref: '#/definitions/app.Response'
  24135. security:
  24136. - ApiKeyAuth: []
  24137. summary: 查询积分流水(我的积分)
  24138. tags:
  24139. - 大连千海金
  24140. /Qhj/QuerySiteColumnDetail:
  24141. get:
  24142. parameters:
  24143. - description: 用户ID
  24144. in: query
  24145. name: userid
  24146. required: true
  24147. type: integer
  24148. produces:
  24149. - application/json
  24150. responses:
  24151. "200":
  24152. description: OK
  24153. schema:
  24154. items:
  24155. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24156. type: array
  24157. "500":
  24158. description: Internal Server Error
  24159. schema:
  24160. $ref: '#/definitions/app.Response'
  24161. security:
  24162. - ApiKeyAuth: []
  24163. summary: 查询资讯
  24164. tags:
  24165. - 大连千海金
  24166. /Qhj/QueryTradeGoodsPickup:
  24167. get:
  24168. parameters:
  24169. - description: 用户ID
  24170. in: query
  24171. name: userid
  24172. required: true
  24173. type: integer
  24174. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24175. in: query
  24176. name: takeorderstatus
  24177. type: integer
  24178. produces:
  24179. - application/json
  24180. responses:
  24181. "200":
  24182. description: OK
  24183. schema:
  24184. items:
  24185. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24186. type: array
  24187. "500":
  24188. description: Internal Server Error
  24189. schema:
  24190. $ref: '#/definitions/app.Response'
  24191. security:
  24192. - ApiKeyAuth: []
  24193. summary: 查询提货
  24194. tags:
  24195. - 大连千海金
  24196. /Qhj/QueryUserCollectConfig:
  24197. get:
  24198. parameters:
  24199. - description: 用户ID
  24200. in: query
  24201. name: userid
  24202. required: true
  24203. type: integer
  24204. produces:
  24205. - application/json
  24206. responses:
  24207. "200":
  24208. description: OK
  24209. schema:
  24210. items:
  24211. $ref: '#/definitions/models.UserCollectConfig'
  24212. type: array
  24213. "500":
  24214. description: Internal Server Error
  24215. schema:
  24216. $ref: '#/definitions/app.Response'
  24217. security:
  24218. - ApiKeyAuth: []
  24219. summary: 查询提现账户设置
  24220. tags:
  24221. - 大连千海金
  24222. /Qhj/QueryUserReceiveInfo:
  24223. get:
  24224. parameters:
  24225. - description: 用户ID
  24226. in: query
  24227. name: userid
  24228. required: true
  24229. type: integer
  24230. produces:
  24231. - application/json
  24232. responses:
  24233. "200":
  24234. description: OK
  24235. schema:
  24236. items:
  24237. $ref: '#/definitions/models.UserReceiveInfo'
  24238. type: array
  24239. "500":
  24240. description: Internal Server Error
  24241. schema:
  24242. $ref: '#/definitions/app.Response'
  24243. security:
  24244. - ApiKeyAuth: []
  24245. summary: 查询收货地址信息
  24246. tags:
  24247. - 大连千海金
  24248. /QhjMgr/QueryAccountInOutApply:
  24249. get:
  24250. parameters:
  24251. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24252. in: query
  24253. name: querytype
  24254. required: true
  24255. type: integer
  24256. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24257. in: query
  24258. name: applystatus
  24259. type: integer
  24260. - description: 申请起始日期(格式yyyymmdd)
  24261. in: query
  24262. name: begindate
  24263. type: string
  24264. - description: 申请截止日期(格式yyyymmdd)
  24265. in: query
  24266. name: enddate
  24267. type: string
  24268. - description: 模糊搜索名称
  24269. in: query
  24270. name: likename
  24271. type: string
  24272. produces:
  24273. - application/json
  24274. responses:
  24275. "200":
  24276. description: OK
  24277. schema:
  24278. items:
  24279. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24280. type: array
  24281. "500":
  24282. description: Internal Server Error
  24283. schema:
  24284. $ref: '#/definitions/app.Response'
  24285. security:
  24286. - ApiKeyAuth: []
  24287. summary: 查询充值提现
  24288. tags:
  24289. - 大连千海金(PCWeb)
  24290. /QhjMgr/QueryBrokerApply:
  24291. get:
  24292. parameters:
  24293. - description: 所属机构ID
  24294. in: query
  24295. name: userid
  24296. type: integer
  24297. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24298. in: query
  24299. name: filterstatus
  24300. type: string
  24301. - description: 名称(模糊匹配)
  24302. in: query
  24303. name: filtername
  24304. type: string
  24305. - description: 是否包含子级 1-包含
  24306. in: query
  24307. name: includesub
  24308. type: integer
  24309. produces:
  24310. - application/json
  24311. responses:
  24312. "200":
  24313. description: OK
  24314. schema:
  24315. items:
  24316. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24317. type: array
  24318. "500":
  24319. description: Internal Server Error
  24320. schema:
  24321. $ref: '#/definitions/app.Response'
  24322. security:
  24323. - ApiKeyAuth: []
  24324. summary: 查询经纪人申请
  24325. tags:
  24326. - 大连千海金(PCWeb)
  24327. /QhjMgr/QueryBrokerRewardReport:
  24328. get:
  24329. parameters:
  24330. - description: 所属机构ID
  24331. in: query
  24332. name: userid
  24333. required: true
  24334. type: integer
  24335. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24336. in: query
  24337. name: cycletype
  24338. required: true
  24339. type: integer
  24340. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24341. in: query
  24342. name: cycletime
  24343. required: true
  24344. type: string
  24345. - description: 名称(模糊匹配)
  24346. in: query
  24347. name: filtername
  24348. type: string
  24349. - description: 是否包含子级 1-包含
  24350. in: query
  24351. name: includesub
  24352. type: integer
  24353. produces:
  24354. - application/json
  24355. responses:
  24356. "200":
  24357. description: OK
  24358. schema:
  24359. items:
  24360. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24361. type: array
  24362. "500":
  24363. description: Internal Server Error
  24364. schema:
  24365. $ref: '#/definitions/app.Response'
  24366. security:
  24367. - ApiKeyAuth: []
  24368. summary: 查询经纪人奖励报表(废弃)
  24369. tags:
  24370. - 大连千海金(PCWeb)
  24371. /QhjMgr/QueryContract:
  24372. get:
  24373. parameters:
  24374. - description: 用户ID
  24375. in: query
  24376. name: userid
  24377. type: integer
  24378. - description: 商品id
  24379. in: query
  24380. name: goodsid
  24381. type: integer
  24382. - description: 名称(模糊搜索账户)
  24383. in: query
  24384. name: filtername
  24385. type: string
  24386. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24387. in: query
  24388. name: risklevel
  24389. type: string
  24390. - description: 开始交易日(yyyymmdd)
  24391. in: query
  24392. name: begindate
  24393. type: string
  24394. - description: 结束交易日(yyyymmdd)
  24395. in: query
  24396. name: enddate
  24397. type: string
  24398. produces:
  24399. - application/json
  24400. responses:
  24401. "200":
  24402. description: OK
  24403. schema:
  24404. items:
  24405. $ref: '#/definitions/models.QhjMgrContract'
  24406. type: array
  24407. "500":
  24408. description: Internal Server Error
  24409. schema:
  24410. $ref: '#/definitions/app.Response'
  24411. security:
  24412. - ApiKeyAuth: []
  24413. summary: 查询融资信息(合同)
  24414. tags:
  24415. - 大连千海金(PCWeb)
  24416. /QhjMgr/QueryCustomerInfo:
  24417. get:
  24418. parameters:
  24419. - description: 用户ID
  24420. in: query
  24421. name: userid
  24422. required: true
  24423. type: integer
  24424. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24425. in: query
  24426. name: querytype
  24427. required: true
  24428. type: integer
  24429. - description: 客户类型 1-个人 2-企业
  24430. in: query
  24431. name: userinfotype
  24432. type: integer
  24433. - description: 客户名称(模糊匹配)
  24434. in: query
  24435. name: customername
  24436. type: string
  24437. - description: 昵称(模糊匹配)
  24438. in: query
  24439. name: nickname
  24440. type: string
  24441. - description: 所属客户经理(模糊匹配)
  24442. in: query
  24443. name: brokername
  24444. type: string
  24445. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24446. in: query
  24447. name: birthday
  24448. type: string
  24449. - description: 是否包含子级 1-包含
  24450. in: query
  24451. name: includesub
  24452. type: integer
  24453. produces:
  24454. - application/json
  24455. responses:
  24456. "200":
  24457. description: OK
  24458. schema:
  24459. items:
  24460. $ref: '#/definitions/models.QhjMgrCustomer'
  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/QueryPickGoods:
  24472. get:
  24473. parameters:
  24474. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24475. in: query
  24476. name: status
  24477. type: string
  24478. produces:
  24479. - application/json
  24480. responses:
  24481. "200":
  24482. description: OK
  24483. schema:
  24484. items:
  24485. $ref: '#/definitions/models.QhjMgrPickGoods'
  24486. type: array
  24487. "500":
  24488. description: Internal Server Error
  24489. schema:
  24490. $ref: '#/definitions/app.Response'
  24491. security:
  24492. - ApiKeyAuth: []
  24493. summary: 查询提货商品
  24494. tags:
  24495. - 大连千海金(PCWeb)
  24496. /QhjMgr/QuerySubArea:
  24497. get:
  24498. parameters:
  24499. - description: 用户ID
  24500. in: query
  24501. name: userid
  24502. required: true
  24503. type: integer
  24504. produces:
  24505. - application/json
  24506. responses:
  24507. "200":
  24508. description: OK
  24509. schema:
  24510. items:
  24511. $ref: '#/definitions/models.QhjMgrSubArea'
  24512. type: array
  24513. "500":
  24514. description: Internal Server Error
  24515. schema:
  24516. $ref: '#/definitions/app.Response'
  24517. security:
  24518. - ApiKeyAuth: []
  24519. summary: 查询子机构列表
  24520. tags:
  24521. - 大连千海金(PCWeb)
  24522. /QhjMgr/QueryTradeDetail:
  24523. get:
  24524. parameters:
  24525. - description: 用户ID
  24526. in: query
  24527. name: userid
  24528. required: true
  24529. type: integer
  24530. - description: 用户类型 1-个人 2-企业
  24531. in: query
  24532. name: userinfotype
  24533. type: integer
  24534. - description: 交易模式
  24535. in: query
  24536. name: trademode
  24537. type: integer
  24538. - description: 商品id
  24539. in: query
  24540. name: goodsid
  24541. type: integer
  24542. - description: 名称(模糊搜索账户)
  24543. in: query
  24544. name: filtername
  24545. type: string
  24546. - description: 开始交易日(yyyymmdd)
  24547. in: query
  24548. name: begindate
  24549. type: string
  24550. - description: 结束交易日(yyyymmdd)
  24551. in: query
  24552. name: enddate
  24553. type: string
  24554. - description: 是否包含子级 1-包含
  24555. in: query
  24556. name: includesub
  24557. type: integer
  24558. produces:
  24559. - application/json
  24560. responses:
  24561. "200":
  24562. description: OK
  24563. schema:
  24564. items:
  24565. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24566. type: array
  24567. "500":
  24568. description: Internal Server Error
  24569. schema:
  24570. $ref: '#/definitions/app.Response'
  24571. security:
  24572. - ApiKeyAuth: []
  24573. summary: 查询成交明细
  24574. tags:
  24575. - 大连千海金(PCWeb)
  24576. /QhjMgr/QueryTradeOrderDetail:
  24577. get:
  24578. parameters:
  24579. - description: 用户ID
  24580. in: query
  24581. name: userid
  24582. required: true
  24583. type: integer
  24584. - description: 用户类型 1-个人 2-企业
  24585. in: query
  24586. name: userinfotype
  24587. type: integer
  24588. - description: 交易模式
  24589. in: query
  24590. name: trademode
  24591. type: integer
  24592. - description: 商品id
  24593. in: query
  24594. name: goodsid
  24595. type: integer
  24596. - description: 名称(模糊搜索账户)
  24597. in: query
  24598. name: filtername
  24599. type: string
  24600. - description: 开始交易日(yyyymmdd)
  24601. in: query
  24602. name: begindate
  24603. type: string
  24604. - description: 结束交易日(yyyymmdd)
  24605. in: query
  24606. name: enddate
  24607. type: string
  24608. - description: 是否包含子级 1-包含
  24609. in: query
  24610. name: includesub
  24611. type: integer
  24612. produces:
  24613. - application/json
  24614. responses:
  24615. "200":
  24616. description: OK
  24617. schema:
  24618. items:
  24619. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24620. type: array
  24621. "500":
  24622. description: Internal Server Error
  24623. schema:
  24624. $ref: '#/definitions/app.Response'
  24625. security:
  24626. - ApiKeyAuth: []
  24627. summary: 查询委托明细
  24628. tags:
  24629. - 大连千海金(PCWeb)
  24630. /QhjMgr/QueryTradePayOrder:
  24631. get:
  24632. parameters:
  24633. - description: 用户ID
  24634. in: query
  24635. name: userid
  24636. required: true
  24637. type: integer
  24638. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24639. in: query
  24640. name: payflag
  24641. type: string
  24642. - description: 用户类型 1-个人 2-企业
  24643. in: query
  24644. name: userinfotype
  24645. type: integer
  24646. - description: 交易模式
  24647. in: query
  24648. name: trademode
  24649. type: integer
  24650. - description: 商品id
  24651. in: query
  24652. name: goodsid
  24653. type: integer
  24654. - description: 名称(模糊搜索账户)
  24655. in: query
  24656. name: filtername
  24657. type: string
  24658. - description: 开始交易日(yyyymmdd)
  24659. in: query
  24660. name: begindate
  24661. type: string
  24662. - description: 结束交易日(yyyymmdd)
  24663. in: query
  24664. name: enddate
  24665. type: string
  24666. - description: 是否包含子级 1-包含
  24667. in: query
  24668. name: includesub
  24669. type: integer
  24670. produces:
  24671. - application/json
  24672. responses:
  24673. "200":
  24674. description: OK
  24675. schema:
  24676. items:
  24677. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24678. type: array
  24679. "500":
  24680. description: Internal Server Error
  24681. schema:
  24682. $ref: '#/definitions/app.Response'
  24683. security:
  24684. - ApiKeyAuth: []
  24685. summary: 查询待付款单
  24686. tags:
  24687. - 大连千海金(PCWeb)
  24688. /QhjMgr/QueryTradePosition:
  24689. get:
  24690. parameters:
  24691. - description: 用户ID
  24692. in: query
  24693. name: userid
  24694. required: true
  24695. type: integer
  24696. - description: 用户类型 1-个人 2-企业
  24697. in: query
  24698. name: userinfotype
  24699. type: integer
  24700. - description: 交易模式
  24701. in: query
  24702. name: trademode
  24703. type: integer
  24704. - description: 商品id
  24705. in: query
  24706. name: goodsid
  24707. type: integer
  24708. - description: 名称(模糊搜索账户)
  24709. in: query
  24710. name: filtername
  24711. type: string
  24712. - description: 是否包含子级 1-包含
  24713. in: query
  24714. name: includesub
  24715. type: integer
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. items:
  24723. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24724. type: array
  24725. "500":
  24726. description: Internal Server Error
  24727. schema:
  24728. $ref: '#/definitions/app.Response'
  24729. security:
  24730. - ApiKeyAuth: []
  24731. summary: 查询持仓汇总
  24732. tags:
  24733. - 大连千海金(PCWeb)
  24734. /QhjSys/QueryAgreementChangeLog:
  24735. get:
  24736. parameters:
  24737. - description: 协议ID
  24738. in: query
  24739. name: agreementid
  24740. type: integer
  24741. - description: 协议版本号
  24742. in: query
  24743. name: agreementversion
  24744. type: integer
  24745. - description: 协议类型 - 1:注册 2:登录 3:交易
  24746. in: query
  24747. name: agreementtype
  24748. type: integer
  24749. - description: 协议编号(模糊匹配)
  24750. in: query
  24751. name: agreementno
  24752. type: string
  24753. - description: 协议名称(模糊匹配)
  24754. in: query
  24755. name: agreementname
  24756. type: string
  24757. produces:
  24758. - application/json
  24759. responses:
  24760. "200":
  24761. description: OK
  24762. schema:
  24763. items:
  24764. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24765. type: array
  24766. "500":
  24767. description: Internal Server Error
  24768. schema:
  24769. $ref: '#/definitions/app.Response'
  24770. security:
  24771. - ApiKeyAuth: []
  24772. summary: 查询协议配置变更流水
  24773. tags:
  24774. - 大连千海金(协议和签约信息)
  24775. /QhjSys/QueryAgreementConfig:
  24776. get:
  24777. parameters:
  24778. - description: 协议ID
  24779. in: query
  24780. name: agreementid
  24781. type: integer
  24782. - description: 协议版本号
  24783. in: query
  24784. name: agreementversion
  24785. type: integer
  24786. - description: 协议类型 - 1:注册 2:登录 3:交易
  24787. in: query
  24788. name: agreementtype
  24789. type: integer
  24790. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24791. in: query
  24792. name: isvalid
  24793. type: integer
  24794. - description: 协议编号(模糊匹配)
  24795. in: query
  24796. name: agreementno
  24797. type: string
  24798. - description: 协议名称(模糊匹配)
  24799. in: query
  24800. name: agreementname
  24801. type: string
  24802. produces:
  24803. - application/json
  24804. responses:
  24805. "200":
  24806. description: OK
  24807. schema:
  24808. items:
  24809. $ref: '#/definitions/models.QhjAgreementConfig'
  24810. type: array
  24811. "500":
  24812. description: Internal Server Error
  24813. schema:
  24814. $ref: '#/definitions/app.Response'
  24815. security:
  24816. - ApiKeyAuth: []
  24817. summary: 查询协议配置
  24818. tags:
  24819. - 大连千海金(协议和签约信息)
  24820. /QhjSys/QueryCustomerSignStatus:
  24821. get:
  24822. parameters:
  24823. - description: 客户ID
  24824. in: query
  24825. name: userid
  24826. type: integer
  24827. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24828. in: query
  24829. name: nodetype
  24830. type: integer
  24831. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24832. in: query
  24833. name: goodsid
  24834. type: integer
  24835. - description: 创建交易日(yyyyMMdd)
  24836. in: query
  24837. name: tradedate
  24838. type: string
  24839. - description: 用户名称(模糊匹配)
  24840. in: query
  24841. name: username
  24842. type: string
  24843. produces:
  24844. - application/json
  24845. responses:
  24846. "200":
  24847. description: OK
  24848. schema:
  24849. items:
  24850. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24851. type: array
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 查询客户协议签约状态
  24859. tags:
  24860. - 大连千海金(协议和签约信息)
  24861. /QhjSys/QueryNodeAgreementConfig:
  24862. get:
  24863. parameters:
  24864. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24865. in: query
  24866. name: configid
  24867. type: integer
  24868. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24869. in: query
  24870. name: nodetype
  24871. type: integer
  24872. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24873. in: query
  24874. name: goodsid
  24875. type: integer
  24876. - description: 协议ID
  24877. in: query
  24878. name: agreementid
  24879. type: integer
  24880. - description: 协议类型 - 1:注册 2:登录 3:交易
  24881. in: query
  24882. name: agreementtype
  24883. type: integer
  24884. - description: 协议版本号
  24885. in: query
  24886. name: agreementversion
  24887. type: integer
  24888. - description: 协议编号(模糊匹配)
  24889. in: query
  24890. name: agreementno
  24891. type: string
  24892. - description: 协议名称(模糊匹配)
  24893. in: query
  24894. name: agreementname
  24895. type: string
  24896. produces:
  24897. - application/json
  24898. responses:
  24899. "200":
  24900. description: OK
  24901. schema:
  24902. items:
  24903. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24904. type: array
  24905. "500":
  24906. description: Internal Server Error
  24907. schema:
  24908. $ref: '#/definitions/app.Response'
  24909. security:
  24910. - ApiKeyAuth: []
  24911. summary: 查询协议节点配置
  24912. tags:
  24913. - 大连千海金(协议和签约信息)
  24914. /QhjSys/QueryQhjCustomerSignLog:
  24915. get:
  24916. parameters:
  24917. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24918. in: query
  24919. name: logid
  24920. type: integer
  24921. - description: 客户ID
  24922. in: query
  24923. name: userid
  24924. type: integer
  24925. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24926. in: query
  24927. name: nodetype
  24928. type: integer
  24929. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24930. in: query
  24931. name: goodsid
  24932. type: integer
  24933. - description: 协议ID
  24934. in: query
  24935. name: agreementid
  24936. type: integer
  24937. - description: 用户名称(模糊匹配)
  24938. in: query
  24939. name: username
  24940. type: string
  24941. - description: 协议编号(模糊匹配)
  24942. in: query
  24943. name: agreementno
  24944. type: string
  24945. - description: 协议名称(模糊匹配)
  24946. in: query
  24947. name: agreementname
  24948. type: string
  24949. produces:
  24950. - application/json
  24951. responses:
  24952. "200":
  24953. description: OK
  24954. schema:
  24955. items:
  24956. $ref: '#/definitions/models.QhjCustomerSignLog'
  24957. type: array
  24958. "500":
  24959. description: Internal Server Error
  24960. schema:
  24961. $ref: '#/definitions/app.Response'
  24962. security:
  24963. - ApiKeyAuth: []
  24964. summary: 查询客户协议签约流水
  24965. tags:
  24966. - 大连千海金(协议和签约信息)
  24967. /QhjSys/QueryUserNodeCfgAndStatus:
  24968. get:
  24969. parameters:
  24970. - description: 客户ID
  24971. in: query
  24972. name: userid
  24973. type: integer
  24974. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24975. in: query
  24976. name: configid
  24977. type: integer
  24978. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24979. in: query
  24980. name: nodetype
  24981. type: string
  24982. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24983. in: query
  24984. name: goodsid
  24985. type: integer
  24986. - description: 协议ID
  24987. in: query
  24988. name: agreementid
  24989. type: integer
  24990. - description: 协议类型 - 1:注册 2:登录 3:交易
  24991. in: query
  24992. name: agreementtype
  24993. type: integer
  24994. - description: 协议版本号
  24995. in: query
  24996. name: agreementversion
  24997. type: integer
  24998. - description: 协议编号(模糊匹配)
  24999. in: query
  25000. name: agreementno
  25001. type: string
  25002. - description: 协议名称(模糊匹配)
  25003. in: query
  25004. name: agreementname
  25005. type: string
  25006. produces:
  25007. - application/json
  25008. responses:
  25009. "200":
  25010. description: OK
  25011. schema:
  25012. items:
  25013. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25014. type: array
  25015. "500":
  25016. description: Internal Server Error
  25017. schema:
  25018. $ref: '#/definitions/app.Response'
  25019. security:
  25020. - ApiKeyAuth: []
  25021. summary: 查询用户协议节点配置和状态
  25022. tags:
  25023. - 大连千海金(协议和签约信息)
  25024. /Quote/QueryHistoryDatas:
  25025. get:
  25026. parameters:
  25027. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25028. in: query
  25029. name: cycleType
  25030. required: true
  25031. type: integer
  25032. - description: 商品代码
  25033. in: query
  25034. name: goodsCode
  25035. required: true
  25036. type: string
  25037. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25038. in: query
  25039. name: startTime
  25040. type: string
  25041. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25042. in: query
  25043. name: endTime
  25044. type: string
  25045. - description: 条数
  25046. in: query
  25047. name: count
  25048. type: integer
  25049. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25050. in: query
  25051. name: isAsc
  25052. type: boolean
  25053. produces:
  25054. - application/json
  25055. responses:
  25056. "200":
  25057. description: OK
  25058. schema:
  25059. $ref: '#/definitions/quote.HistoryData'
  25060. "500":
  25061. description: Internal Server Error
  25062. schema:
  25063. $ref: '#/definitions/app.Response'
  25064. security:
  25065. - ApiKeyAuth: []
  25066. summary: 查询行情历史数据
  25067. tags:
  25068. - 行情服务
  25069. /Quote/QueryHistoryTikDatas:
  25070. get:
  25071. parameters:
  25072. - description: 商品代码
  25073. in: query
  25074. name: goodsCode
  25075. required: true
  25076. type: string
  25077. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25078. in: query
  25079. name: startTime
  25080. type: string
  25081. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25082. in: query
  25083. name: endTime
  25084. type: string
  25085. - description: 条数
  25086. in: query
  25087. name: count
  25088. type: integer
  25089. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25090. in: query
  25091. name: isAsc
  25092. type: boolean
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. $ref: '#/definitions/quote.HistoryTikData'
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 查询行情Tik数据
  25107. tags:
  25108. - 行情服务
  25109. /Quote/QueryQuoteDay:
  25110. get:
  25111. parameters:
  25112. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25113. in: query
  25114. name: goodsCodes
  25115. required: true
  25116. type: string
  25117. produces:
  25118. - application/json
  25119. responses:
  25120. "200":
  25121. description: OK
  25122. schema:
  25123. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25124. "500":
  25125. description: Internal Server Error
  25126. schema:
  25127. $ref: '#/definitions/app.Response'
  25128. security:
  25129. - ApiKeyAuth: []
  25130. summary: 获取商品盘面信息
  25131. tags:
  25132. - 行情服务
  25133. /Quote/QueryTSData:
  25134. get:
  25135. parameters:
  25136. - description: 商品代码
  25137. in: query
  25138. name: goodsCode
  25139. required: true
  25140. type: string
  25141. produces:
  25142. - application/json
  25143. responses:
  25144. "200":
  25145. description: OK
  25146. schema:
  25147. $ref: '#/definitions/quote.QueryTSDataRsp'
  25148. "500":
  25149. description: Internal Server Error
  25150. schema:
  25151. $ref: '#/definitions/app.Response'
  25152. security:
  25153. - ApiKeyAuth: []
  25154. summary: 分时图数据查询
  25155. tags:
  25156. - 行情服务
  25157. /SZDZ/QueryConvertConfig:
  25158. get:
  25159. parameters:
  25160. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25161. in: query
  25162. name: convertType
  25163. type: integer
  25164. - description: 外部商品代码[JD\PD]
  25165. in: query
  25166. name: outerGoodsCode
  25167. type: string
  25168. - description: 内部商品ID列表[交易],格式:1,2,3
  25169. in: query
  25170. name: innerGoodsIDs
  25171. type: string
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. $ref: '#/definitions/models.Szdz3convertconfig'
  25179. "500":
  25180. description: Internal Server Error
  25181. schema:
  25182. $ref: '#/definitions/app.Response'
  25183. security:
  25184. - ApiKeyAuth: []
  25185. summary: 查询交易系统转换设置
  25186. tags:
  25187. - 定制【尚志大宗】
  25188. /SZDZ/QueryConvertLog:
  25189. get:
  25190. parameters:
  25191. - description: 资金账户 - 格式:1,2,3
  25192. in: query
  25193. name: accountID
  25194. required: true
  25195. type: string
  25196. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25197. in: query
  25198. name: startDate
  25199. type: string
  25200. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25201. in: query
  25202. name: endDate
  25203. type: string
  25204. produces:
  25205. - application/json
  25206. responses:
  25207. "200":
  25208. description: OK
  25209. schema:
  25210. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25211. "500":
  25212. description: Internal Server Error
  25213. schema:
  25214. $ref: '#/definitions/app.Response'
  25215. security:
  25216. - ApiKeyAuth: []
  25217. summary: 交易系统转换流水查询
  25218. tags:
  25219. - 定制【尚志大宗】
  25220. /SZDZ/QueryGoodsPickup:
  25221. get:
  25222. parameters:
  25223. - description: 资金账户 - 格式:1,2,3
  25224. in: query
  25225. name: accountID
  25226. required: true
  25227. type: string
  25228. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25229. in: query
  25230. name: takeOrderStatus
  25231. type: integer
  25232. produces:
  25233. - application/json
  25234. responses:
  25235. "200":
  25236. description: OK
  25237. schema:
  25238. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25239. "500":
  25240. description: Internal Server Error
  25241. schema:
  25242. $ref: '#/definitions/app.Response'
  25243. security:
  25244. - ApiKeyAuth: []
  25245. summary: 商品提货单查询
  25246. tags:
  25247. - 定制【尚志大宗】
  25248. /SZDZ/QueryRecieptOrder:
  25249. get:
  25250. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25251. parameters:
  25252. - description: 页码
  25253. in: query
  25254. name: page
  25255. type: integer
  25256. - description: 每页条数
  25257. in: query
  25258. name: pagesize
  25259. type: integer
  25260. - description: 商品ID
  25261. in: query
  25262. name: goodsID
  25263. required: true
  25264. type: integer
  25265. - description: 所属账户名称
  25266. in: query
  25267. name: accountName
  25268. type: string
  25269. - description: 市场ID
  25270. in: query
  25271. name: marketID
  25272. type: integer
  25273. - description: 方向 - 0:买 1:卖
  25274. in: query
  25275. name: buyorsell
  25276. required: true
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25285. "500":
  25286. description: Internal Server Error
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. security:
  25290. - ApiKeyAuth: []
  25291. summary: 点选挂牌委托单据查询(摘牌大厅)
  25292. tags:
  25293. - 定制【尚志大宗】
  25294. /SZDZ/QuerySZDZTradePosition:
  25295. get:
  25296. parameters:
  25297. - description: 资金账户
  25298. in: query
  25299. name: accountID
  25300. required: true
  25301. type: integer
  25302. produces:
  25303. - application/json
  25304. responses:
  25305. "200":
  25306. description: OK
  25307. schema:
  25308. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25309. "500":
  25310. description: Internal Server Error
  25311. schema:
  25312. $ref: '#/definitions/app.Response'
  25313. security:
  25314. - ApiKeyAuth: []
  25315. summary: 持仓汇总查询(尚志大宗)
  25316. tags:
  25317. - 定制【尚志大宗】
  25318. /SZDZ/SearchWhite:
  25319. get:
  25320. parameters:
  25321. - description: 用户ID
  25322. in: query
  25323. name: userID
  25324. required: true
  25325. type: integer
  25326. produces:
  25327. - application/json
  25328. responses:
  25329. "200":
  25330. description: OK
  25331. schema:
  25332. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25333. "500":
  25334. description: Internal Server Error
  25335. schema:
  25336. $ref: '#/definitions/app.Response'
  25337. security:
  25338. - ApiKeyAuth: []
  25339. summary: 搜索白名单
  25340. tags:
  25341. - 定制【尚志大宗】
  25342. /Search/SearchGoodses:
  25343. get:
  25344. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25345. parameters:
  25346. - description: 检索内容
  25347. in: query
  25348. name: content
  25349. required: true
  25350. type: string
  25351. - description: 交易模式,格式:1,2,3
  25352. in: query
  25353. name: tradeModes
  25354. type: string
  25355. produces:
  25356. - application/json
  25357. responses:
  25358. "200":
  25359. description: OK
  25360. schema:
  25361. $ref: '#/definitions/models.SearchGoods'
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. summary: 检索商品信息
  25367. tags:
  25368. - 检索服务
  25369. /TaAccount/GetTaAccounts:
  25370. get:
  25371. parameters:
  25372. - description: 登录账户
  25373. in: query
  25374. name: loginID
  25375. required: true
  25376. type: integer
  25377. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25378. in: query
  25379. name: taAccountType
  25380. type: integer
  25381. produces:
  25382. - application/json
  25383. responses:
  25384. "200":
  25385. description: OK
  25386. schema:
  25387. $ref: '#/definitions/models.Taaccount'
  25388. "500":
  25389. description: Internal Server Error
  25390. schema:
  25391. $ref: '#/definitions/app.Response'
  25392. security:
  25393. - ApiKeyAuth: []
  25394. summary: 获取资金账户信息
  25395. tags:
  25396. - 资金账户
  25397. /TaAccount/QueryAmountLog:
  25398. get:
  25399. parameters:
  25400. - description: 页码
  25401. in: query
  25402. name: page
  25403. type: integer
  25404. - description: 每页条数
  25405. in: query
  25406. name: pagesize
  25407. type: integer
  25408. - description: 资金账户 - 格式:1,2,3
  25409. in: query
  25410. name: accountID
  25411. required: true
  25412. type: string
  25413. - description: 资金操作类型 - 格式:1,2,3
  25414. in: query
  25415. name: OperateType
  25416. type: string
  25417. produces:
  25418. - application/json
  25419. responses:
  25420. "200":
  25421. description: OK
  25422. schema:
  25423. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25424. "500":
  25425. description: Internal Server Error
  25426. schema:
  25427. $ref: '#/definitions/app.Response'
  25428. security:
  25429. - ApiKeyAuth: []
  25430. summary: 资金流水查询(当前)
  25431. tags:
  25432. - 资金账户
  25433. /TaAccount/QueryHisAmountLog:
  25434. get:
  25435. parameters:
  25436. - description: 页码
  25437. in: query
  25438. name: page
  25439. type: integer
  25440. - description: 每页条数
  25441. in: query
  25442. name: pagesize
  25443. type: integer
  25444. - description: 资金账户 - 格式:1,2,3
  25445. in: query
  25446. name: accountID
  25447. required: true
  25448. type: string
  25449. - description: 资金操作类型 - 格式:1,2,3
  25450. in: query
  25451. name: OperateType
  25452. type: string
  25453. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25454. in: query
  25455. name: startDate
  25456. type: string
  25457. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25458. in: query
  25459. name: endDate
  25460. type: string
  25461. produces:
  25462. - application/json
  25463. responses:
  25464. "200":
  25465. description: OK
  25466. schema:
  25467. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25468. "500":
  25469. description: Internal Server Error
  25470. schema:
  25471. $ref: '#/definitions/app.Response'
  25472. security:
  25473. - ApiKeyAuth: []
  25474. summary: 资金流水查询(历史)
  25475. tags:
  25476. - 资金账户
  25477. /Tjmd/QueryQuoteGoodsList:
  25478. get:
  25479. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25480. parameters:
  25481. - description: 用户类型
  25482. in: query
  25483. name: usertype
  25484. required: true
  25485. type: integer
  25486. - description: 市场id, 格式 1,2,3
  25487. in: query
  25488. name: marketids
  25489. type: string
  25490. - description: 商品组id
  25491. in: query
  25492. name: goodsgroupid
  25493. type: integer
  25494. - description: 商品id
  25495. in: query
  25496. name: goodsid
  25497. type: integer
  25498. produces:
  25499. - application/json
  25500. responses:
  25501. "200":
  25502. description: OK
  25503. schema:
  25504. items:
  25505. $ref: '#/definitions/models.TjmdQuoteGoods'
  25506. type: array
  25507. "500":
  25508. description: Internal Server Error
  25509. schema:
  25510. $ref: '#/definitions/app.Response'
  25511. security:
  25512. - ApiKeyAuth: []
  25513. summary: 查询掉期报价列表
  25514. tags:
  25515. - 天津麦顿
  25516. /Tjmd/QueryTjmdTodayAccountMargin:
  25517. get:
  25518. parameters:
  25519. - description: 市场id
  25520. in: query
  25521. name: marketid
  25522. type: string
  25523. - description: 商品id
  25524. in: query
  25525. name: goodsid
  25526. type: string
  25527. - description: 资金账号
  25528. in: query
  25529. name: accountid
  25530. type: string
  25531. produces:
  25532. - application/json
  25533. responses:
  25534. "200":
  25535. description: OK
  25536. schema:
  25537. items:
  25538. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25539. type: array
  25540. "500":
  25541. description: Internal Server Error
  25542. schema:
  25543. $ref: '#/definitions/app.Response'
  25544. security:
  25545. - ApiKeyAuth: []
  25546. summary: 查询今日账户保证金配置
  25547. tags:
  25548. - 天津麦顿
  25549. /Tjmd/QueryTjmdTradeOrderDetail:
  25550. get:
  25551. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25552. parameters:
  25553. - description: 页码
  25554. in: query
  25555. name: page
  25556. type: integer
  25557. - description: 每页条数
  25558. in: query
  25559. name: pagesize
  25560. type: integer
  25561. - description: 用户id
  25562. in: query
  25563. name: userid
  25564. required: true
  25565. type: integer
  25566. - description: 用户类型
  25567. in: query
  25568. name: usertype
  25569. required: true
  25570. type: integer
  25571. - description: 市场id, 格式 1,2,3
  25572. in: query
  25573. name: marketids
  25574. type: string
  25575. - description: 商品id
  25576. in: query
  25577. name: goodsid
  25578. required: true
  25579. type: integer
  25580. - description: 买卖方向 0-买 1-卖
  25581. in: query
  25582. name: buyorsell
  25583. required: true
  25584. type: integer
  25585. produces:
  25586. - application/json
  25587. responses:
  25588. "200":
  25589. description: OK
  25590. schema:
  25591. items:
  25592. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25593. type: array
  25594. "500":
  25595. description: Internal Server Error
  25596. schema:
  25597. $ref: '#/definitions/app.Response'
  25598. security:
  25599. - ApiKeyAuth: []
  25600. summary: 查询掉期买卖大厅
  25601. tags:
  25602. - 天津麦顿
  25603. /Tjmd/QueryTjmdTransferApply:
  25604. get:
  25605. parameters:
  25606. - description: 类型 1-我的申请 2-对方申请
  25607. in: query
  25608. name: applytype
  25609. required: true
  25610. type: integer
  25611. - description: 市场id, 格式 1,2,3
  25612. in: query
  25613. name: marketids
  25614. type: string
  25615. - description: 资金账号, 格式 25000000001,25000000003
  25616. in: query
  25617. name: accountids
  25618. type: string
  25619. produces:
  25620. - application/json
  25621. responses:
  25622. "200":
  25623. description: OK
  25624. schema:
  25625. items:
  25626. $ref: '#/definitions/models.TjmdTransferApply'
  25627. type: array
  25628. "500":
  25629. description: Internal Server Error
  25630. schema:
  25631. $ref: '#/definitions/app.Response'
  25632. security:
  25633. - ApiKeyAuth: []
  25634. summary: 查询掉期协议单
  25635. tags:
  25636. - 天津麦顿
  25637. /Trade/QueryRecieptOrder:
  25638. get:
  25639. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25640. parameters:
  25641. - description: 页码
  25642. in: query
  25643. name: page
  25644. type: integer
  25645. - description: 每页条数
  25646. in: query
  25647. name: pagesize
  25648. type: integer
  25649. - description: 商品ID
  25650. in: query
  25651. name: goodsID
  25652. required: true
  25653. type: integer
  25654. - description: 所属账户名称
  25655. in: query
  25656. name: accountName
  25657. type: string
  25658. - description: 市场ID
  25659. in: query
  25660. name: marketID
  25661. type: integer
  25662. - description: 方向 - 0:买 1:卖
  25663. in: query
  25664. name: buyorsell
  25665. required: true
  25666. type: integer
  25667. produces:
  25668. - application/json
  25669. responses:
  25670. "200":
  25671. description: OK
  25672. schema:
  25673. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25674. "500":
  25675. description: Internal Server Error
  25676. schema:
  25677. $ref: '#/definitions/app.Response'
  25678. security:
  25679. - ApiKeyAuth: []
  25680. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25681. tags:
  25682. - 通用交易
  25683. /User/AddMessageBoard:
  25684. post:
  25685. parameters:
  25686. - description: 用户ID
  25687. in: query
  25688. name: userID
  25689. required: true
  25690. type: integer
  25691. - description: 留言信息
  25692. in: query
  25693. name: message
  25694. required: true
  25695. type: string
  25696. - description: 联系电话
  25697. in: query
  25698. name: contactNum
  25699. required: true
  25700. type: string
  25701. produces:
  25702. - application/json
  25703. responses:
  25704. "200":
  25705. description: OK
  25706. schema:
  25707. $ref: '#/definitions/app.Response'
  25708. "500":
  25709. description: Internal Server Error
  25710. schema:
  25711. $ref: '#/definitions/app.Response'
  25712. security:
  25713. - ApiKeyAuth: []
  25714. summary: 添加用户留言板信息
  25715. tags:
  25716. - 用户信息
  25717. /User/AddUserFavoriteGoods:
  25718. post:
  25719. parameters:
  25720. - description: 用户ID
  25721. in: query
  25722. name: userID
  25723. required: true
  25724. type: integer
  25725. - description: 商品ID
  25726. in: query
  25727. name: goodsID
  25728. required: true
  25729. type: integer
  25730. produces:
  25731. - application/json
  25732. responses:
  25733. "200":
  25734. description: OK
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. "500":
  25738. description: Internal Server Error
  25739. schema:
  25740. $ref: '#/definitions/app.Response'
  25741. security:
  25742. - ApiKeyAuth: []
  25743. summary: 添加用户商品收藏信息
  25744. tags:
  25745. - 用户信息
  25746. /User/GetLoginID:
  25747. get:
  25748. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25749. parameters:
  25750. - description: 登录代码
  25751. in: query
  25752. name: username
  25753. required: true
  25754. type: string
  25755. produces:
  25756. - application/json
  25757. responses:
  25758. "200":
  25759. description: OK
  25760. schema:
  25761. $ref: '#/definitions/app.Response'
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. summary: 获取登录ID
  25767. tags:
  25768. - 用户信息
  25769. /User/GetUserAccount:
  25770. get:
  25771. parameters:
  25772. - description: 用户ID
  25773. in: query
  25774. name: userID
  25775. required: true
  25776. type: integer
  25777. produces:
  25778. - application/json
  25779. responses:
  25780. "200":
  25781. description: OK
  25782. schema:
  25783. $ref: '#/definitions/models.Useraccount'
  25784. "500":
  25785. description: Internal Server Error
  25786. schema:
  25787. $ref: '#/definitions/app.Response'
  25788. security:
  25789. - ApiKeyAuth: []
  25790. summary: 获取用户账号信息
  25791. tags:
  25792. - 用户信息
  25793. /User/GetUserAuthStatus:
  25794. get:
  25795. parameters:
  25796. - description: 用户ID
  25797. in: query
  25798. name: userID
  25799. required: true
  25800. type: integer
  25801. produces:
  25802. - application/json
  25803. responses:
  25804. "200":
  25805. description: OK
  25806. schema:
  25807. $ref: '#/definitions/app.Response'
  25808. "500":
  25809. description: Internal Server Error
  25810. schema:
  25811. $ref: '#/definitions/app.Response'
  25812. security:
  25813. - ApiKeyAuth: []
  25814. summary: 获取用户实名认证状态
  25815. tags:
  25816. - 用户信息
  25817. /User/LoginQuery:
  25818. get:
  25819. parameters:
  25820. - description: 登录账号
  25821. in: query
  25822. name: loginID
  25823. required: true
  25824. type: integer
  25825. produces:
  25826. - application/json
  25827. responses:
  25828. "200":
  25829. description: OK
  25830. schema:
  25831. $ref: '#/definitions/user.LoginQueryRsp'
  25832. "500":
  25833. description: Internal Server Error
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. security:
  25837. - ApiKeyAuth: []
  25838. summary: 账户登录后信息查询
  25839. tags:
  25840. - 用户信息
  25841. /User/QueryMessageBoard:
  25842. get:
  25843. parameters:
  25844. - description: 用户ID
  25845. in: query
  25846. name: userID
  25847. required: true
  25848. type: integer
  25849. produces:
  25850. - application/json
  25851. responses:
  25852. "200":
  25853. description: OK
  25854. schema:
  25855. $ref: '#/definitions/models.Messageboard'
  25856. "500":
  25857. description: Internal Server Error
  25858. schema:
  25859. $ref: '#/definitions/app.Response'
  25860. security:
  25861. - ApiKeyAuth: []
  25862. summary: 获取用户留言板信息
  25863. tags:
  25864. - 用户信息
  25865. /User/QueryUserFavoriteGoodses:
  25866. get:
  25867. parameters:
  25868. - description: 用户ID
  25869. in: query
  25870. name: userID
  25871. required: true
  25872. type: integer
  25873. produces:
  25874. - application/json
  25875. responses:
  25876. "200":
  25877. description: OK
  25878. schema:
  25879. $ref: '#/definitions/models.Userfavoritegoods'
  25880. "500":
  25881. description: Internal Server Error
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. security:
  25885. - ApiKeyAuth: []
  25886. summary: 获取用户商品收藏信息
  25887. tags:
  25888. - 用户信息
  25889. /User/QueryUserInfo:
  25890. get:
  25891. parameters:
  25892. - description: 用户ID
  25893. in: query
  25894. name: userID
  25895. required: true
  25896. type: integer
  25897. - description: 是否解密
  25898. in: query
  25899. name: isDecrypt
  25900. type: boolean
  25901. produces:
  25902. - application/json
  25903. responses:
  25904. "200":
  25905. description: OK
  25906. schema:
  25907. $ref: '#/definitions/models.Userinfo'
  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/QueryUserReferNum:
  25918. get:
  25919. parameters:
  25920. - description: 用户ID
  25921. in: query
  25922. name: userID
  25923. required: true
  25924. type: integer
  25925. produces:
  25926. - application/json
  25927. responses:
  25928. "200":
  25929. description: OK
  25930. schema:
  25931. $ref: '#/definitions/app.Response'
  25932. "500":
  25933. description: Internal Server Error
  25934. schema:
  25935. $ref: '#/definitions/app.Response'
  25936. summary: 获取用户邀请码
  25937. tags:
  25938. - 用户信息
  25939. /User/RemoveUserFavoriteGoods:
  25940. post:
  25941. parameters:
  25942. - description: 用户ID
  25943. in: query
  25944. name: userID
  25945. required: true
  25946. type: integer
  25947. - description: 商品ID
  25948. in: query
  25949. name: goodsID
  25950. required: true
  25951. type: integer
  25952. produces:
  25953. - application/json
  25954. responses:
  25955. "200":
  25956. description: OK
  25957. schema:
  25958. $ref: '#/definitions/app.Response'
  25959. "500":
  25960. description: Internal Server Error
  25961. schema:
  25962. $ref: '#/definitions/app.Response'
  25963. security:
  25964. - ApiKeyAuth: []
  25965. summary: 移除用户商品收藏信息
  25966. tags:
  25967. - 用户信息
  25968. /User/UpdateUserAccountStatus:
  25969. post:
  25970. parameters:
  25971. - description: 用户ID
  25972. in: query
  25973. name: userID
  25974. required: true
  25975. type: integer
  25976. - description: 账户状态 - 4:正常 6:注销(停用)
  25977. in: query
  25978. name: accountStatus
  25979. required: true
  25980. type: integer
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. $ref: '#/definitions/app.Response'
  25988. "500":
  25989. description: Internal Server Error
  25990. schema:
  25991. $ref: '#/definitions/app.Response'
  25992. security:
  25993. - ApiKeyAuth: []
  25994. summary: 更新用户状态
  25995. tags:
  25996. - 用户信息
  25997. /WRTrade/GetAllDeliveryGoods:
  25998. get:
  25999. produces:
  26000. - application/json
  26001. - application/json
  26002. responses:
  26003. "200":
  26004. description: OK
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. "500":
  26008. description: Internal Server Error
  26009. schema:
  26010. $ref: '#/definitions/app.Response'
  26011. security:
  26012. - ApiKeyAuth: []
  26013. - ApiKeyAuth: []
  26014. summary: 获取带仓单分类的种类信息
  26015. tags:
  26016. - 仓单贸易
  26017. - 仓单贸易
  26018. /WrTrade2/QueryFaProductDetail:
  26019. get:
  26020. description: 页面 买卖大厅 -> 选择融资方案
  26021. parameters:
  26022. - description: 仓单要素id
  26023. in: query
  26024. name: wrfactortypeid
  26025. required: true
  26026. type: integer
  26027. produces:
  26028. - application/json
  26029. responses:
  26030. "200":
  26031. description: OK
  26032. schema:
  26033. items:
  26034. $ref: '#/definitions/models.WrFAProductDetail'
  26035. type: array
  26036. "500":
  26037. description: Internal Server Error
  26038. schema:
  26039. $ref: '#/definitions/app.Response'
  26040. security:
  26041. - ApiKeyAuth: []
  26042. summary: 查询融资产品列表
  26043. tags:
  26044. - 仓单贸易v2
  26045. /WrTrade2/QueryFilterItem:
  26046. get:
  26047. parameters:
  26048. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26049. in: query
  26050. name: itype
  26051. required: true
  26052. type: string
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.WrFilterItem'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26069. tags:
  26070. - 仓单贸易v2
  26071. /WrTrade2/QueryFtDeliveryGoods:
  26072. get:
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. items:
  26080. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26081. type: array
  26082. "500":
  26083. description: Internal Server Error
  26084. schema:
  26085. $ref: '#/definitions/app.Response'
  26086. security:
  26087. - ApiKeyAuth: []
  26088. summary: 查询品种品类筛选框列表
  26089. tags:
  26090. - 仓单贸易v2
  26091. /WrTrade2/QueryHoldLB:
  26092. get:
  26093. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26094. parameters:
  26095. - description: 资金账号
  26096. in: query
  26097. name: accountid
  26098. required: true
  26099. type: integer
  26100. - description: 仓库id
  26101. in: query
  26102. name: warehouseid
  26103. type: integer
  26104. - description: 品种id
  26105. in: query
  26106. name: deliverygoodsid
  26107. type: integer
  26108. - description: 品类id
  26109. in: query
  26110. name: wrstandardid
  26111. type: integer
  26112. - description: 仓单要素id
  26113. in: query
  26114. name: wrfactortypeid
  26115. type: integer
  26116. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26117. in: query
  26118. name: dgitemname
  26119. type: string
  26120. produces:
  26121. - application/json
  26122. responses:
  26123. "200":
  26124. description: OK
  26125. schema:
  26126. items:
  26127. $ref: '#/definitions/models.WrHoldLB'
  26128. type: array
  26129. "500":
  26130. description: Internal Server Error
  26131. schema:
  26132. $ref: '#/definitions/app.Response'
  26133. security:
  26134. - ApiKeyAuth: []
  26135. summary: 查询仓单持有记录
  26136. tags:
  26137. - 仓单贸易v2
  26138. /WrTrade2/QueryOrderQuote:
  26139. get:
  26140. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26141. parameters:
  26142. - description: 页码
  26143. in: query
  26144. name: page
  26145. type: integer
  26146. - description: 每页条数
  26147. in: query
  26148. name: pagesize
  26149. type: integer
  26150. - description: 仓单贸易市场id
  26151. in: query
  26152. name: marketid
  26153. type: integer
  26154. - description: 价格方式 - 1:固定价 2-浮动价
  26155. in: query
  26156. name: wrpricetype
  26157. required: true
  26158. type: integer
  26159. - description: 0:仓单预售 1:仓单贸易
  26160. in: query
  26161. name: haswr
  26162. required: true
  26163. type: integer
  26164. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26165. in: query
  26166. name: dgitemname
  26167. type: string
  26168. - description: 仓库id(筛选条件)
  26169. in: query
  26170. name: warehouseid
  26171. type: integer
  26172. - description: 品种id
  26173. in: query
  26174. name: deliverygoodsid
  26175. type: integer
  26176. - description: 品类id
  26177. in: query
  26178. name: wrstandardid
  26179. type: integer
  26180. - description: 仓单要素id
  26181. in: query
  26182. name: wrfactortypeid
  26183. type: integer
  26184. - description: 交收月(yyyy-mm) 仓单预售填写
  26185. in: query
  26186. name: deliverymonth
  26187. type: string
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/models.WrOrderQuote'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 查询大厅行情列表
  26204. tags:
  26205. - 仓单贸易v2
  26206. /WrTrade2/QueryOrderQuoteDetail:
  26207. get:
  26208. parameters:
  26209. - description: 页码
  26210. in: query
  26211. name: page
  26212. type: integer
  26213. - description: 每页条数
  26214. in: query
  26215. name: pagesize
  26216. type: integer
  26217. - description: 仓单贸易市场id
  26218. in: query
  26219. name: marketid
  26220. type: integer
  26221. - description: 价格方式 - 1:固定价 2-浮动价
  26222. in: query
  26223. name: wrpricetype
  26224. required: true
  26225. type: integer
  26226. - description: 0:仓单预售 1:仓单贸易
  26227. in: query
  26228. name: haswr
  26229. required: true
  26230. type: integer
  26231. - description: 仓单要素id
  26232. in: query
  26233. name: wrfactortypeid
  26234. required: true
  26235. type: integer
  26236. - description: 期货商品id(浮动价方式时填)
  26237. in: query
  26238. name: goodsid
  26239. type: integer
  26240. - description: 买卖方向 0-买 1-卖
  26241. in: query
  26242. name: buyorsell
  26243. required: true
  26244. type: integer
  26245. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26246. in: query
  26247. name: deliverymonth
  26248. type: string
  26249. produces:
  26250. - application/json
  26251. responses:
  26252. "200":
  26253. description: OK
  26254. schema:
  26255. items:
  26256. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26257. type: array
  26258. "500":
  26259. description: Internal Server Error
  26260. schema:
  26261. $ref: '#/definitions/app.Response'
  26262. security:
  26263. - ApiKeyAuth: []
  26264. summary: 查询买卖大厅
  26265. tags:
  26266. - 仓单贸易v2
  26267. /WrTrade2/QueryOrderQuoteMyq:
  26268. get:
  26269. parameters:
  26270. - description: 页码
  26271. in: query
  26272. name: page
  26273. type: integer
  26274. - description: 每页条数
  26275. in: query
  26276. name: pagesize
  26277. type: integer
  26278. - description: 用户id
  26279. in: query
  26280. name: userid
  26281. required: true
  26282. type: integer
  26283. - description: 仓单贸易市场id
  26284. in: query
  26285. name: marketid
  26286. type: integer
  26287. - description: 0:仓单预售 1:仓单贸易
  26288. in: query
  26289. name: haswr
  26290. required: true
  26291. type: integer
  26292. - description: 买卖方向 0-买 1-卖
  26293. in: query
  26294. name: buyorsell
  26295. required: true
  26296. type: integer
  26297. - description: 品种id
  26298. in: query
  26299. name: deliverygoodsid
  26300. type: integer
  26301. - description: 品类id
  26302. in: query
  26303. name: wrstandardid
  26304. type: integer
  26305. - description: 交收月(yyyy-mm) 仓单预售填写
  26306. in: query
  26307. name: deliverymonth
  26308. type: string
  26309. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26310. in: query
  26311. name: dgitemname
  26312. type: string
  26313. produces:
  26314. - application/json
  26315. responses:
  26316. "200":
  26317. description: OK
  26318. schema:
  26319. items:
  26320. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26321. type: array
  26322. "500":
  26323. description: Internal Server Error
  26324. schema:
  26325. $ref: '#/definitions/app.Response'
  26326. security:
  26327. - ApiKeyAuth: []
  26328. summary: 查询贸易圈挂牌大厅
  26329. tags:
  26330. - 仓单贸易v2
  26331. /WrTrade2/QueryPerformancePlan:
  26332. get:
  26333. parameters:
  26334. - description: 用户id
  26335. in: query
  26336. name: userid
  26337. required: true
  26338. type: integer
  26339. - description: 买卖方向 0-买 1-卖
  26340. in: query
  26341. name: buyorsell
  26342. required: true
  26343. type: integer
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. items:
  26351. $ref: '#/definitions/models.WrPerformancePlan'
  26352. type: array
  26353. "500":
  26354. description: Internal Server Error
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. security:
  26358. - ApiKeyAuth: []
  26359. summary: 查询履约信息
  26360. tags:
  26361. - 仓单贸易v2
  26362. /WrTrade2/QueryPermancePlanTmp:
  26363. get:
  26364. description: 返回指定用户的模板和公共模板(用户id为空)
  26365. parameters:
  26366. - description: 用户id
  26367. in: query
  26368. name: userid
  26369. type: integer
  26370. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26371. in: query
  26372. name: tmptype
  26373. type: string
  26374. - description: 是否包含公共模板(用户id为空的) 1-包含
  26375. in: query
  26376. name: includepub
  26377. type: integer
  26378. produces:
  26379. - application/json
  26380. responses:
  26381. "200":
  26382. description: OK
  26383. schema:
  26384. items:
  26385. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26386. type: array
  26387. "500":
  26388. description: Internal Server Error
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. security:
  26392. - ApiKeyAuth: []
  26393. summary: 查询履约模板
  26394. tags:
  26395. - 仓单贸易v2
  26396. /WrTrade2/QueryWrAverageTradePrice:
  26397. get:
  26398. parameters:
  26399. - description: 页码
  26400. in: query
  26401. name: page
  26402. type: integer
  26403. - description: 每页条数
  26404. in: query
  26405. name: pagesize
  26406. type: integer
  26407. - description: 0:仓单预售 1:仓单贸易
  26408. in: query
  26409. name: haswr
  26410. required: true
  26411. type: integer
  26412. - description: 仓单要素id
  26413. in: query
  26414. name: wrfactortypeid
  26415. required: true
  26416. type: integer
  26417. produces:
  26418. - application/json
  26419. responses:
  26420. "200":
  26421. description: OK
  26422. schema:
  26423. items:
  26424. $ref: '#/definitions/models.WrAverageTradePrice'
  26425. type: array
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. security:
  26431. - ApiKeyAuth: []
  26432. summary: 查询成交价(历史走势)
  26433. tags:
  26434. - 仓单贸易v2
  26435. /WrTrade2/QueryWrBsGoodsInfo:
  26436. get:
  26437. description: 合约交易/买卖大厅/详情
  26438. parameters:
  26439. - description: 商品id
  26440. in: query
  26441. name: goodsid
  26442. required: true
  26443. type: integer
  26444. produces:
  26445. - application/json
  26446. responses:
  26447. "200":
  26448. description: OK
  26449. schema:
  26450. items:
  26451. $ref: '#/definitions/models.WrBsGoodsInfo'
  26452. type: array
  26453. "500":
  26454. description: Internal Server Error
  26455. schema:
  26456. $ref: '#/definitions/app.Response'
  26457. security:
  26458. - ApiKeyAuth: []
  26459. summary: 查询合约交易买卖大厅详情
  26460. tags:
  26461. - 仓单贸易v2
  26462. /WrTrade2/QueryWrBuybackDetail:
  26463. get:
  26464. parameters:
  26465. - description: 融资合同id
  26466. in: query
  26467. name: scfcontractid
  26468. type: integer
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. items:
  26476. $ref: '#/definitions/models.WrBuybackDetail'
  26477. type: array
  26478. "500":
  26479. description: Internal Server Error
  26480. schema:
  26481. $ref: '#/definitions/app.Response'
  26482. security:
  26483. - ApiKeyAuth: []
  26484. summary: 查询仓单回购明细
  26485. tags:
  26486. - 仓单贸易v2
  26487. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26488. get:
  26489. parameters:
  26490. - description: 资金账号
  26491. in: query
  26492. name: accountid
  26493. required: true
  26494. type: integer
  26495. - description: 商品id
  26496. in: query
  26497. name: goodsid
  26498. required: true
  26499. type: integer
  26500. produces:
  26501. - application/json
  26502. responses:
  26503. "200":
  26504. description: OK
  26505. schema:
  26506. items:
  26507. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26508. type: array
  26509. "500":
  26510. description: Internal Server Error
  26511. schema:
  26512. $ref: '#/definitions/app.Response'
  26513. security:
  26514. - ApiKeyAuth: []
  26515. summary: 查询合约交收可点选仓单
  26516. tags:
  26517. - 仓单贸易v2
  26518. /WrTrade2/QueryWrDeliveryDetail:
  26519. get:
  26520. parameters:
  26521. - description: 用户id
  26522. in: query
  26523. name: userid
  26524. required: true
  26525. type: integer
  26526. - description: 资金账号id
  26527. in: query
  26528. name: accountid
  26529. type: integer
  26530. produces:
  26531. - application/json
  26532. responses:
  26533. "200":
  26534. description: OK
  26535. schema:
  26536. items:
  26537. $ref: '#/definitions/models.WrDeliveryDetail'
  26538. type: array
  26539. "500":
  26540. description: Internal Server Error
  26541. schema:
  26542. $ref: '#/definitions/app.Response'
  26543. security:
  26544. - ApiKeyAuth: []
  26545. summary: 查询交收
  26546. tags:
  26547. - 仓单贸易v2
  26548. /WrTrade2/QueryWrFactorTypeInfo:
  26549. get:
  26550. parameters:
  26551. - description: 仓单要素id
  26552. in: query
  26553. name: wrfactortypeid
  26554. required: true
  26555. type: integer
  26556. produces:
  26557. - application/json
  26558. responses:
  26559. "200":
  26560. description: OK
  26561. schema:
  26562. items:
  26563. $ref: '#/definitions/models.WrFactorTypeInfo'
  26564. type: array
  26565. "500":
  26566. description: Internal Server Error
  26567. schema:
  26568. $ref: '#/definitions/app.Response'
  26569. security:
  26570. - ApiKeyAuth: []
  26571. summary: 查询仓单要素详细信息
  26572. tags:
  26573. - 仓单贸易v2
  26574. /WrTrade2/QueryWrFactorTypeInfoEx:
  26575. get:
  26576. parameters:
  26577. - description: 仓单要素id
  26578. in: query
  26579. name: wrfactortypeid
  26580. required: true
  26581. type: integer
  26582. produces:
  26583. - application/json
  26584. responses:
  26585. "200":
  26586. description: OK
  26587. schema:
  26588. items:
  26589. $ref: '#/definitions/models.WrTypeItem'
  26590. type: array
  26591. "500":
  26592. description: Internal Server Error
  26593. schema:
  26594. $ref: '#/definitions/app.Response'
  26595. security:
  26596. - ApiKeyAuth: []
  26597. summary: 查询仓单要素详细信息列表项
  26598. tags:
  26599. - 仓单贸易v2
  26600. /WrTrade2/QueryWrFinanceBuyApply:
  26601. get:
  26602. description: 页面 融资信息+ / 申请单
  26603. parameters:
  26604. - description: 用户id
  26605. in: query
  26606. name: userid
  26607. required: true
  26608. type: integer
  26609. produces:
  26610. - application/json
  26611. responses:
  26612. "200":
  26613. description: OK
  26614. schema:
  26615. items:
  26616. $ref: '#/definitions/models.WrFinanceBuyApply'
  26617. type: array
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 查询融资购买申请
  26625. tags:
  26626. - 仓单贸易v2
  26627. /WrTrade2/QueryWrFriendApply:
  26628. get:
  26629. parameters:
  26630. - description: 用户id
  26631. in: query
  26632. name: userid
  26633. required: true
  26634. type: integer
  26635. produces:
  26636. - application/json
  26637. responses:
  26638. "200":
  26639. description: OK
  26640. schema:
  26641. items:
  26642. $ref: '#/definitions/models.WrFriendApply'
  26643. type: array
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 查询好友申请记录
  26651. tags:
  26652. - 仓单贸易v2
  26653. /WrTrade2/QueryWrGoodsInfo:
  26654. get:
  26655. parameters:
  26656. - description: 仓单贸易市场id
  26657. in: query
  26658. name: marketid
  26659. type: integer
  26660. - description: 0:仓单预售 1:仓单贸易
  26661. in: query
  26662. name: haswr
  26663. required: true
  26664. type: integer
  26665. - description: 仓单要素id
  26666. in: query
  26667. name: wrfactortypeid
  26668. required: true
  26669. type: integer
  26670. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26671. in: query
  26672. name: tmplateid
  26673. type: integer
  26674. produces:
  26675. - application/json
  26676. responses:
  26677. "200":
  26678. description: OK
  26679. schema:
  26680. items:
  26681. $ref: '#/definitions/models.WrGoodsInfo'
  26682. type: array
  26683. "500":
  26684. description: Internal Server Error
  26685. schema:
  26686. $ref: '#/definitions/app.Response'
  26687. security:
  26688. - ApiKeyAuth: []
  26689. summary: 查询仓单商品信息
  26690. tags:
  26691. - 仓单贸易v2
  26692. /WrTrade2/QueryWrMarketTradeConfig:
  26693. get:
  26694. parameters:
  26695. - description: 市场id
  26696. in: query
  26697. name: marketid
  26698. type: integer
  26699. produces:
  26700. - application/json
  26701. responses:
  26702. "200":
  26703. description: OK
  26704. schema:
  26705. items:
  26706. $ref: '#/definitions/models.WrMarketTradeConfig'
  26707. type: array
  26708. "500":
  26709. description: Internal Server Error
  26710. schema:
  26711. $ref: '#/definitions/app.Response'
  26712. security:
  26713. - ApiKeyAuth: []
  26714. summary: 查询市场交易参数配置
  26715. tags:
  26716. - 仓单贸易v2
  26717. /WrTrade2/QueryWrOrderDetail:
  26718. get:
  26719. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26720. parameters:
  26721. - description: 页码
  26722. in: query
  26723. name: page
  26724. type: integer
  26725. - description: 每页条数
  26726. in: query
  26727. name: pagesize
  26728. type: integer
  26729. - description: 用户id
  26730. in: query
  26731. name: userid
  26732. required: true
  26733. type: integer
  26734. - description: 仓单贸易市场id
  26735. in: query
  26736. name: marketid
  26737. type: integer
  26738. - description: 0:仓单预售 1:仓单贸易
  26739. in: query
  26740. name: haswr
  26741. required: true
  26742. type: integer
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. items:
  26750. $ref: '#/definitions/models.WrOrderDetail'
  26751. type: array
  26752. "500":
  26753. description: Internal Server Error
  26754. schema:
  26755. $ref: '#/definitions/app.Response'
  26756. security:
  26757. - ApiKeyAuth: []
  26758. summary: 查询仓单委托单(挂单)
  26759. tags:
  26760. - 仓单贸易v2
  26761. /WrTrade2/QueryWrOutInApply:
  26762. get:
  26763. parameters:
  26764. - description: 用户id
  26765. in: query
  26766. name: userid
  26767. required: true
  26768. type: integer
  26769. produces:
  26770. - application/json
  26771. responses:
  26772. "200":
  26773. description: OK
  26774. schema:
  26775. items:
  26776. $ref: '#/definitions/models.WrOutInApply'
  26777. type: array
  26778. "500":
  26779. description: Internal Server Error
  26780. schema:
  26781. $ref: '#/definitions/app.Response'
  26782. security:
  26783. - ApiKeyAuth: []
  26784. summary: 查询提货申请
  26785. tags:
  26786. - 仓单贸易v2
  26787. /WrTrade2/QueryWrPerformancePlanStep:
  26788. get:
  26789. parameters:
  26790. - description: 履约计划id(performanceplanid)
  26791. in: query
  26792. name: planid
  26793. required: true
  26794. type: integer
  26795. - description: 当前步骤id
  26796. in: query
  26797. name: curstepid
  26798. type: integer
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. items:
  26806. $ref: '#/definitions/models.WrPerformancePlanStep'
  26807. type: array
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 查询履约信息详情
  26815. tags:
  26816. - 仓单贸易v2
  26817. /WrTrade2/QueryWrPerformanceStepType:
  26818. get:
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.WrPerformanceStepType'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询履约步骤枚举
  26835. tags:
  26836. - 仓单贸易v2
  26837. /WrTrade2/QueryWrPosition:
  26838. get:
  26839. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26840. parameters:
  26841. - description: 用户id
  26842. in: query
  26843. name: userid
  26844. required: true
  26845. type: integer
  26846. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26847. in: query
  26848. name: querytype
  26849. required: true
  26850. type: integer
  26851. - description: 0:仓单预售 1:仓单贸易
  26852. in: query
  26853. name: haswr
  26854. required: true
  26855. type: integer
  26856. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26857. in: query
  26858. name: dgitemname
  26859. type: string
  26860. - description: 仓库id(筛选条件)
  26861. in: query
  26862. name: warehouseid
  26863. type: integer
  26864. - description: 品种id
  26865. in: query
  26866. name: deliverygoodsid
  26867. type: integer
  26868. - description: 品类id
  26869. in: query
  26870. name: wrstandardid
  26871. type: integer
  26872. produces:
  26873. - application/json
  26874. responses:
  26875. "200":
  26876. description: OK
  26877. schema:
  26878. items:
  26879. $ref: '#/definitions/models.WrPosition'
  26880. type: array
  26881. "500":
  26882. description: Internal Server Error
  26883. schema:
  26884. $ref: '#/definitions/app.Response'
  26885. security:
  26886. - ApiKeyAuth: []
  26887. summary: 查询现货(预售)仓单持仓
  26888. tags:
  26889. - 仓单贸易v2
  26890. /WrTrade2/QueryWrScfContract:
  26891. get:
  26892. parameters:
  26893. - description: 用户id
  26894. in: query
  26895. name: userid
  26896. required: true
  26897. type: integer
  26898. - description: 融资合同id
  26899. in: query
  26900. name: scfcontractid
  26901. type: integer
  26902. produces:
  26903. - application/json
  26904. responses:
  26905. "200":
  26906. description: OK
  26907. schema:
  26908. items:
  26909. $ref: '#/definitions/models.WrScfContract'
  26910. type: array
  26911. "500":
  26912. description: Internal Server Error
  26913. schema:
  26914. $ref: '#/definitions/app.Response'
  26915. security:
  26916. - ApiKeyAuth: []
  26917. summary: 查询仓单贸易融资合同
  26918. tags:
  26919. - 仓单贸易v2
  26920. /WrTrade2/QueryWrScfContractInterest:
  26921. get:
  26922. parameters:
  26923. - description: 融资合同id
  26924. in: query
  26925. name: scfcontractid
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.WrScfContractInterest'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询融资合同费用明细
  26943. tags:
  26944. - 仓单贸易v2
  26945. /WrTrade2/QueryWrSpecialMatchOrder:
  26946. get:
  26947. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26948. parameters:
  26949. - description: 页码
  26950. in: query
  26951. name: page
  26952. type: integer
  26953. - description: 每页条数
  26954. in: query
  26955. name: pagesize
  26956. type: integer
  26957. - description: 用户id
  26958. in: query
  26959. name: userid
  26960. required: true
  26961. type: integer
  26962. - description: 仓单贸易市场id
  26963. in: query
  26964. name: marketid
  26965. type: integer
  26966. - description: 0:仓单预售 1:仓单贸易
  26967. in: query
  26968. name: haswr
  26969. required: true
  26970. type: integer
  26971. produces:
  26972. - application/json
  26973. responses:
  26974. "200":
  26975. description: OK
  26976. schema:
  26977. items:
  26978. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26979. type: array
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询指定成交
  26987. tags:
  26988. - 仓单贸易v2
  26989. /WrTrade2/QueryWrStandardFactoryItem:
  26990. get:
  26991. parameters:
  26992. - description: 品类id
  26993. in: query
  26994. name: wrstandardid
  26995. required: true
  26996. type: integer
  26997. produces:
  26998. - application/json
  26999. responses:
  27000. "200":
  27001. description: OK
  27002. schema:
  27003. items:
  27004. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27005. type: array
  27006. "500":
  27007. description: Internal Server Error
  27008. schema:
  27009. $ref: '#/definitions/app.Response'
  27010. security:
  27011. - ApiKeyAuth: []
  27012. summary: 查询品类要素定义项
  27013. tags:
  27014. - 仓单贸易v2
  27015. /WrTrade2/QueryWrTradeBargainApply:
  27016. get:
  27017. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27018. parameters:
  27019. - description: 议价人id(摘牌方)
  27020. in: query
  27021. name: userid
  27022. type: integer
  27023. - description: 挂牌方id(查对方议价时,填写此项)
  27024. in: query
  27025. name: matchuserid
  27026. type: integer
  27027. - description: 关联委托单id
  27028. in: query
  27029. name: wrtradeorderid
  27030. type: integer
  27031. - description: 0:仓单预售 1:仓单贸易
  27032. in: query
  27033. name: haswr
  27034. required: true
  27035. type: integer
  27036. produces:
  27037. - application/json
  27038. responses:
  27039. "200":
  27040. description: OK
  27041. schema:
  27042. items:
  27043. $ref: '#/definitions/models.WRTradeBargainApply'
  27044. type: array
  27045. "500":
  27046. description: Internal Server Error
  27047. schema:
  27048. $ref: '#/definitions/app.Response'
  27049. security:
  27050. - ApiKeyAuth: []
  27051. summary: 查询议价单
  27052. tags:
  27053. - 仓单贸易v2
  27054. /WrTrade2/QueryWrTradeDetail:
  27055. get:
  27056. parameters:
  27057. - description: 页码
  27058. in: query
  27059. name: page
  27060. type: integer
  27061. - description: 每页条数
  27062. in: query
  27063. name: pagesize
  27064. type: integer
  27065. - description: 用户id
  27066. in: query
  27067. name: userid
  27068. required: true
  27069. type: integer
  27070. - description: 仓单贸易市场id
  27071. in: query
  27072. name: marketid
  27073. type: integer
  27074. - description: 0:仓单预售 1:仓单贸易
  27075. in: query
  27076. name: haswr
  27077. required: true
  27078. type: integer
  27079. produces:
  27080. - application/json
  27081. responses:
  27082. "200":
  27083. description: OK
  27084. schema:
  27085. items:
  27086. $ref: '#/definitions/models.WrTradeDetail'
  27087. type: array
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 查询仓单成交明细
  27095. tags:
  27096. - 仓单贸易v2
  27097. /WrTrade2/QueryWrTradeOrderDetail:
  27098. get:
  27099. parameters:
  27100. - description: 页码
  27101. in: query
  27102. name: page
  27103. type: integer
  27104. - description: 每页条数
  27105. in: query
  27106. name: pagesize
  27107. type: integer
  27108. - description: 商品id
  27109. in: query
  27110. name: goodsid
  27111. required: true
  27112. type: integer
  27113. - description: 买卖方向 0-买 1-卖
  27114. in: query
  27115. name: buyorsell
  27116. required: true
  27117. type: integer
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. items:
  27125. $ref: '#/definitions/models.WrTradeOrderDetail'
  27126. type: array
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 查询合约交易买卖大厅
  27134. tags:
  27135. - 仓单贸易v2
  27136. /WrTrade2/QueryWrUserFriend:
  27137. get:
  27138. parameters:
  27139. - description: 用户id
  27140. in: query
  27141. name: userid
  27142. required: true
  27143. type: integer
  27144. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27145. in: query
  27146. name: newuserid
  27147. type: integer
  27148. produces:
  27149. - application/json
  27150. responses:
  27151. "200":
  27152. description: OK
  27153. schema:
  27154. items:
  27155. $ref: '#/definitions/models.WrUserFriend'
  27156. type: array
  27157. "500":
  27158. description: Internal Server Error
  27159. schema:
  27160. $ref: '#/definitions/app.Response'
  27161. security:
  27162. - ApiKeyAuth: []
  27163. summary: 查询我的朋友
  27164. tags:
  27165. - 仓单贸易v2
  27166. /ZJ/GetBankTip:
  27167. get:
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. type: string
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. summary: 获取中江网银端出入金提示信息
  27180. tags:
  27181. - 中江
  27182. /ZJ/GetCusBankChannels:
  27183. get:
  27184. produces:
  27185. - application/json
  27186. responses:
  27187. "200":
  27188. description: OK
  27189. schema:
  27190. items:
  27191. type: string
  27192. type: array
  27193. "500":
  27194. description: Internal Server Error
  27195. schema:
  27196. $ref: '#/definitions/app.Response'
  27197. summary: 获取中江出入金渠道显示列表
  27198. tags:
  27199. - 中江
  27200. securityDefinitions:
  27201. ApiKeyAuth:
  27202. in: header
  27203. name: Authorization
  27204. type: apiKey
  27205. swagger: "2.0"