swagger.yaml 793 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.Division:
  3871. properties:
  3872. autoid:
  3873. description: 自增ID
  3874. type: integer
  3875. divisioncode:
  3876. description: 行政代码
  3877. type: string
  3878. divisionlevel:
  3879. description: 行政级别
  3880. type: string
  3881. divisionname:
  3882. description: 行政名称
  3883. type: string
  3884. modifierid:
  3885. description: 修改人
  3886. type: integer
  3887. modifytime:
  3888. description: 修改时间
  3889. type: string
  3890. parentcode:
  3891. description: 上级行政代码
  3892. type: string
  3893. pathname:
  3894. description: 路径名称
  3895. type: string
  3896. postcode:
  3897. description: 邮政编码
  3898. type: string
  3899. separablename:
  3900. description: 可拆分的全称
  3901. type: string
  3902. shortcode:
  3903. description: 地区简码
  3904. type: string
  3905. required:
  3906. - autoid
  3907. - divisioncode
  3908. type: object
  3909. models.Enumdicitem:
  3910. properties:
  3911. autoid:
  3912. description: 自增ID
  3913. type: integer
  3914. bankmappedvalue:
  3915. description: 银行服务对应值
  3916. type: string
  3917. enumdiccode:
  3918. description: 所属枚举代码
  3919. type: string
  3920. enumdicid:
  3921. description: 所属枚举ID
  3922. type: integer
  3923. enumdicname:
  3924. description: 枚举项名称
  3925. type: string
  3926. enumitemname:
  3927. description: 枚举项值
  3928. type: integer
  3929. enumitemstatus:
  3930. description: 枚举项状态 - 1.启用 2.不启用
  3931. type: integer
  3932. enumitemvalue:
  3933. description: 通用值 - [币种通用简写]
  3934. type: string
  3935. param1:
  3936. description: 参数1[币种:币种小数位]
  3937. type: string
  3938. param2:
  3939. description: 参数1[币种:币种显示单位]
  3940. type: string
  3941. remark:
  3942. description: 备注
  3943. type: string
  3944. required:
  3945. - autoid
  3946. - enumdiccode
  3947. - enumdicid
  3948. - enumitemname
  3949. type: object
  3950. models.Ermcp3AreaSpot:
  3951. properties:
  3952. areauserid:
  3953. description: 所属机构
  3954. type: integer
  3955. convertratio:
  3956. description: 套保系数
  3957. type: number
  3958. decreaseqty:
  3959. description: 减少数量=-(销售已定价数量+采购计划数量)
  3960. type: number
  3961. enumdicname:
  3962. description: 单位名称
  3963. type: string
  3964. increaseqty:
  3965. description: 增加数量=销售计划数量+采购已定价数量
  3966. type: number
  3967. oritoalspotqty:
  3968. description: 昨日数量
  3969. type: number
  3970. totalspotqty:
  3971. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3972. type: number
  3973. unitid:
  3974. description: 现货商品单位id
  3975. type: integer
  3976. updatetime:
  3977. description: 更新时间
  3978. type: string
  3979. wrstandardcode:
  3980. description: 现货商品代码
  3981. type: string
  3982. wrstandardid:
  3983. description: 现货商品ID(SEQ_WRSTANDARD)
  3984. type: integer
  3985. wrstandardname:
  3986. description: 现货商品名称
  3987. type: string
  3988. type: object
  3989. models.Ermcp3AreaSpotDetail:
  3990. properties:
  3991. contracttype:
  3992. description: 合同类型 1-采购 -1-销售
  3993. type: integer
  3994. createtime:
  3995. description: 创建时间
  3996. type: string
  3997. enumdicname:
  3998. description: 现货商品单位名称
  3999. type: string
  4000. logtype:
  4001. description: 记录类型 1-套保 2-现货合同
  4002. type: integer
  4003. qty:
  4004. description: 数量
  4005. type: number
  4006. recordname:
  4007. description: 类型名称
  4008. type: string
  4009. relatedid:
  4010. description: 套保计划ID/现货合同ID
  4011. type: string
  4012. relatedno:
  4013. description: 编号
  4014. type: string
  4015. strtime:
  4016. description: 时间
  4017. type: string
  4018. wrstandardcode:
  4019. description: 现货商品代码
  4020. type: string
  4021. wrstandardid:
  4022. description: 现货商品ID(SEQ_WRSTANDARD)
  4023. type: integer
  4024. wrstandardname:
  4025. description: 现货商品名称
  4026. type: string
  4027. type: object
  4028. models.Ermcp3AreaSpotPLReport:
  4029. properties:
  4030. accountid:
  4031. description: 期货账户ID (作废, 默认为0)
  4032. type: integer
  4033. accountname:
  4034. description: 机构名称
  4035. type: string
  4036. actualpl:
  4037. description: 现货损益
  4038. type: number
  4039. areauserid:
  4040. description: 所属机构\交易用户ID
  4041. type: integer
  4042. begindate:
  4043. description: 开始交易日
  4044. type: string
  4045. biztype:
  4046. description: 业务类型 - 1:套保 2:套利
  4047. type: integer
  4048. brandname:
  4049. description: 品牌名称
  4050. type: string
  4051. curamount:
  4052. description: 期末额
  4053. type: number
  4054. curaverageprice:
  4055. description: 期末均价
  4056. type: number
  4057. curbuyamount:
  4058. description: 期末采购总额
  4059. type: number
  4060. curbuyqty:
  4061. description: 期末采购总量
  4062. type: number
  4063. curmarketvalue:
  4064. description: 参考市值(期末市值)
  4065. type: number
  4066. curqty:
  4067. description: 期末量
  4068. type: number
  4069. currencyid:
  4070. description: 结算币种ID【原值】
  4071. type: integer
  4072. currencyname:
  4073. description: 币种名称
  4074. type: string
  4075. cursellamount:
  4076. description: 期末销售总额
  4077. type: number
  4078. cursellqty:
  4079. description: 期末销售总量
  4080. type: number
  4081. curspotprice:
  4082. description: 参考市价(最新价)
  4083. type: number
  4084. cycletime:
  4085. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4086. type: string
  4087. cycletype:
  4088. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4089. type: integer
  4090. deliverygoodscode:
  4091. description: 现货品种代码
  4092. type: string
  4093. deliverygoodsid:
  4094. description: 现货品种ID
  4095. type: integer
  4096. deliverygoodsname:
  4097. description: 现货品种名称
  4098. type: string
  4099. enddate:
  4100. description: 结束交易日
  4101. type: string
  4102. enumdicname:
  4103. description: 现货品种单位名称(作废)
  4104. type: string
  4105. floatpl:
  4106. description: 浮动损益
  4107. type: number
  4108. goodsunitid:
  4109. description: 现货品种单位id(作废)
  4110. type: integer
  4111. oriamount:
  4112. description: 期初额
  4113. type: number
  4114. oriaverageprice:
  4115. description: 期初均价
  4116. type: number
  4117. oribuyamount:
  4118. description: 期初采购总额
  4119. type: number
  4120. oribuyqty:
  4121. description: 期初采购总量
  4122. type: number
  4123. oriqty:
  4124. description: 期初量
  4125. type: number
  4126. orisellamount:
  4127. description: 期初销售总额
  4128. type: number
  4129. orisellqty:
  4130. description: 期初销售总量
  4131. type: number
  4132. reckondate:
  4133. description: 日照时期(yyyyMMdd)
  4134. type: string
  4135. spotgoodsbrandid:
  4136. description: 现货品牌ID
  4137. type: integer
  4138. todaybuyamount:
  4139. description: 今日采购额(今采购额)
  4140. type: number
  4141. todaybuyaverageprice:
  4142. description: 今日采购均价
  4143. type: number
  4144. todaybuyqty:
  4145. description: 今日采购量(今采购量)
  4146. type: number
  4147. todayinqty:
  4148. description: 今日入库量(今入库量)
  4149. type: number
  4150. todayoutqty:
  4151. description: 今日出库量(今出库量)
  4152. type: number
  4153. todaysellamount:
  4154. description: 今日销售额(今销售额)
  4155. type: number
  4156. todaysellaverageprice:
  4157. description: 今日销售均价
  4158. type: number
  4159. todaysellqty:
  4160. description: 今日销售量(今销售量)
  4161. type: number
  4162. unitid:
  4163. description: 品类单位id
  4164. type: integer
  4165. unitidname:
  4166. description: 品类单位名称
  4167. type: string
  4168. updatetime:
  4169. description: 更新时间
  4170. type: string
  4171. wrfactortypeid:
  4172. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4173. type: integer
  4174. wrstandardcode:
  4175. description: 现货商品(品类)代码
  4176. type: string
  4177. wrstandardid:
  4178. description: 现货品类ID
  4179. type: integer
  4180. wrstandardname:
  4181. description: 现货商品(品类)名称
  4182. type: string
  4183. type: object
  4184. models.Ermcp3AreaStock:
  4185. properties:
  4186. brandname:
  4187. description: 品牌名称
  4188. type: string
  4189. curstock:
  4190. description: 期末库存量(今日量)
  4191. type: number
  4192. deliverygoodscode:
  4193. description: 现货品种代码
  4194. type: string
  4195. deliverygoodsid:
  4196. description: 现货品种id
  4197. type: integer
  4198. deliverygoodsname:
  4199. description: 现货品种名称
  4200. type: string
  4201. enumdicname:
  4202. description: 单位名称
  4203. type: string
  4204. goodsunitid:
  4205. description: 现货商品单位id
  4206. type: integer
  4207. oristock:
  4208. description: 期初库存量(昨日量)
  4209. type: number
  4210. spotgoodsbrandid:
  4211. description: 现货品牌ID
  4212. type: integer
  4213. todaybuyinqty:
  4214. description: 今日采购入库量
  4215. type: number
  4216. todayproduceinqty:
  4217. description: 今日生产入库量
  4218. type: number
  4219. todayproduceoutqty:
  4220. description: 今日生产出库量
  4221. type: number
  4222. todayselloutqty:
  4223. description: 今日销售出库量
  4224. type: number
  4225. unitid:
  4226. description: 单位id
  4227. type: integer
  4228. updatetime:
  4229. description: 更新时间
  4230. type: string
  4231. userid:
  4232. description: 机构ID
  4233. type: integer
  4234. username:
  4235. description: 机构名称
  4236. type: string
  4237. warehousecode:
  4238. description: 仓库代码
  4239. type: string
  4240. warehouseinfoid:
  4241. description: 仓库ID
  4242. type: string
  4243. warehousename:
  4244. description: 仓库名称
  4245. type: string
  4246. warehousetype:
  4247. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4248. type: integer
  4249. wrstandardcode:
  4250. description: 品类代码
  4251. type: string
  4252. wrstandardid:
  4253. description: 品类ID
  4254. type: string
  4255. wrstandardname:
  4256. description: 品类名称
  4257. type: string
  4258. required:
  4259. - userid
  4260. type: object
  4261. models.Ermcp3AreaStockApply:
  4262. properties:
  4263. applyid:
  4264. description: 申请人
  4265. type: integer
  4266. applyname:
  4267. description: 申请人名称
  4268. type: string
  4269. applyremark:
  4270. description: 申请备注
  4271. type: string
  4272. applysrc:
  4273. description: 申请来源 - 1:管理端 2:终端
  4274. type: integer
  4275. applystatus:
  4276. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4277. type: integer
  4278. applytime:
  4279. description: 申请时间
  4280. type: string
  4281. auditid:
  4282. description: 审核人
  4283. type: integer
  4284. auditname:
  4285. description: 审核人名称
  4286. type: string
  4287. auditremark:
  4288. description: 审核备注
  4289. type: string
  4290. auditsrc:
  4291. description: 审核来源 - 1:管理端 2:终端
  4292. type: integer
  4293. audittime:
  4294. description: 审核时间
  4295. type: string
  4296. audittradedate:
  4297. description: 审核交易日(yyyyMMdd)
  4298. type: string
  4299. brandname:
  4300. description: 品牌名称
  4301. type: string
  4302. buynickname:
  4303. description: 采购方昵称
  4304. type: string
  4305. buyuserid:
  4306. description: 采购方userid
  4307. type: integer
  4308. buyusername:
  4309. description: 采购方名称
  4310. type: string
  4311. contractno:
  4312. description: 合同编号
  4313. type: string
  4314. contractqty:
  4315. description: 合同量
  4316. type: number
  4317. contracttype:
  4318. description: 现货合同类型 - 1:采购 -1:销售
  4319. type: integer
  4320. deliverygoodscode:
  4321. description: 现货品种代码
  4322. type: string
  4323. deliverygoodsid:
  4324. description: 现货品种id
  4325. type: integer
  4326. deliverygoodsname:
  4327. description: 现货品种名称
  4328. type: string
  4329. detailjson:
  4330. description: 明细数据
  4331. type: string
  4332. enumdicname:
  4333. description: 现货商品单位名称
  4334. type: string
  4335. inoutapplyid:
  4336. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4337. type: string
  4338. inouttype:
  4339. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4340. type: integer
  4341. pricetype:
  4342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4343. type: integer
  4344. qty:
  4345. description: 数量
  4346. type: number
  4347. sellnickname:
  4348. description: 销售方昵称
  4349. type: string
  4350. selluserid:
  4351. description: 销售方userid
  4352. type: integer
  4353. sellusername:
  4354. description: 销售方名称
  4355. type: string
  4356. spotcontractid:
  4357. description: 关联现货合同ID
  4358. type: string
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID
  4361. type: integer
  4362. unitid:
  4363. description: 单位id
  4364. type: integer
  4365. userid:
  4366. description: 机构ID
  4367. type: integer
  4368. warehousecode:
  4369. description: 仓库代码
  4370. type: string
  4371. warehouseinfoid:
  4372. description: 现货仓库ID
  4373. type: string
  4374. warehousename:
  4375. description: 仓库名称
  4376. type: string
  4377. warehousetype:
  4378. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4379. type: integer
  4380. wrstandardcode:
  4381. description: 品类代码
  4382. type: string
  4383. wrstandardid:
  4384. description: 品类ID
  4385. type: integer
  4386. wrstandardname:
  4387. description: 品类名称
  4388. type: string
  4389. type: object
  4390. models.Ermcp3AreaStockApplySum:
  4391. properties:
  4392. brandname:
  4393. description: 品牌名称
  4394. type: string
  4395. inouttype:
  4396. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4397. type: integer
  4398. spotcontractid:
  4399. description: 关联现货合同ID
  4400. type: string
  4401. spotgoodsbrandid:
  4402. description: 品牌id
  4403. type: integer
  4404. totalqty:
  4405. description: 总数量
  4406. type: number
  4407. wrstandardid:
  4408. description: 品类id
  4409. type: integer
  4410. wrstandardname:
  4411. description: 品类名称
  4412. type: string
  4413. type: object
  4414. models.Ermcp3AreaStockReportEx:
  4415. properties:
  4416. begindate:
  4417. description: 开始交易日
  4418. type: string
  4419. brandname:
  4420. description: 品牌名称
  4421. type: string
  4422. curstock:
  4423. description: 期末库存量
  4424. type: number
  4425. cycletime:
  4426. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4427. type: string
  4428. cycletype:
  4429. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货品种代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货品种id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货品种名称
  4439. type: string
  4440. diffqty:
  4441. description: 库存变化量 = 期末 - 期初
  4442. type: number
  4443. enddate:
  4444. description: 结束交易日
  4445. type: string
  4446. enumdicname:
  4447. description: 单位名称
  4448. type: string
  4449. goodsunitid:
  4450. description: 现货单位id
  4451. type: integer
  4452. oristock:
  4453. description: 期初库存量
  4454. type: number
  4455. reckondate:
  4456. description: 日照时期(yyyyMMdd)
  4457. type: string
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID
  4460. type: integer
  4461. todaybuyinqty:
  4462. description: 今采购入库量
  4463. type: number
  4464. todayproduceinqty:
  4465. description: 今内部入库量
  4466. type: number
  4467. todayproduceoutqty:
  4468. description: 今内部出库量
  4469. type: number
  4470. todayselloutqty:
  4471. description: 今销售出库量
  4472. type: number
  4473. unbuyinqty:
  4474. description: 采购未入库量(数据库未找到相关字段?)
  4475. type: number
  4476. unitid:
  4477. description: 品类单位id
  4478. type: integer
  4479. unselloutqty:
  4480. description: 销售未出库量(数据库未找到相关字段?)
  4481. type: number
  4482. updatetime:
  4483. description: 更新时间
  4484. type: string
  4485. userid:
  4486. description: 机构ID
  4487. type: integer
  4488. username:
  4489. description: 机构名称
  4490. type: string
  4491. warehousecode:
  4492. description: 仓库代码
  4493. type: string
  4494. warehouseinfoid:
  4495. description: 仓库ID
  4496. type: string
  4497. warehousename:
  4498. description: 仓库名称
  4499. type: string
  4500. warehousetype:
  4501. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 品类ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3ArealSumPL:
  4514. properties:
  4515. accountname:
  4516. description: 机构名称
  4517. type: string
  4518. areauserid:
  4519. description: 所属机构\交易用户ID
  4520. type: integer
  4521. begindate:
  4522. description: 开始交易日
  4523. type: string
  4524. currencyid:
  4525. description: 结算币种ID
  4526. type: integer
  4527. currencyname:
  4528. description: 币种名称
  4529. type: string
  4530. cycletime:
  4531. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4532. type: string
  4533. cycletype:
  4534. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4535. type: integer
  4536. enddate:
  4537. description: 结束交易日
  4538. type: string
  4539. enumdicname:
  4540. description: 单位名称(套保品种)
  4541. type: string
  4542. futureactualpl:
  4543. description: 期货损益
  4544. type: number
  4545. futurefloatpl:
  4546. description: 期货浮动损益
  4547. type: number
  4548. futurespotratio:
  4549. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4550. type: number
  4551. goodsunitid:
  4552. description: 套保品种单位id
  4553. type: integer
  4554. hedgeexposurepl:
  4555. description: 套保敞口损益
  4556. type: number
  4557. middlegoodscode:
  4558. description: 套保品种代码
  4559. type: string
  4560. middlegoodsid:
  4561. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4562. type: integer
  4563. middlegoodsname:
  4564. description: 套保品种名称
  4565. type: string
  4566. reckondate:
  4567. description: 日照时期(yyyyMMdd)
  4568. type: string
  4569. spotactualpl:
  4570. description: 现货损益
  4571. type: number
  4572. spotfloatpl:
  4573. description: 现货浮动损益
  4574. type: number
  4575. sumactualpl:
  4576. description: 实际损益 = (ActualPL + FutureActualPL)
  4577. type: number
  4578. sumpl:
  4579. description: 总敞口损益 | 汇总损益
  4580. type: number
  4581. totalfutureqty:
  4582. description: 期货头寸总量
  4583. type: number
  4584. totalneedhedgeqty:
  4585. description: 应套保总量
  4586. type: number
  4587. totalspotqty:
  4588. description: 现货头寸总量
  4589. type: number
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. type: object
  4594. models.Ermcp3Brand:
  4595. properties:
  4596. areauserid:
  4597. description: 用户id
  4598. type: integer
  4599. brandid:
  4600. description: 品牌id
  4601. type: integer
  4602. brandname:
  4603. description: 品牌名称
  4604. type: string
  4605. deliverygoodsid:
  4606. description: 品种ID
  4607. type: integer
  4608. isvalid:
  4609. description: 是否有效
  4610. type: integer
  4611. type: object
  4612. models.Ermcp3Contract:
  4613. properties:
  4614. accountid:
  4615. description: 期货账户id
  4616. type: string
  4617. amount:
  4618. description: 金额 [1:一口价、3:暂定价]
  4619. type: number
  4620. attachment:
  4621. description: 附件
  4622. type: string
  4623. auditremark:
  4624. description: 审核意见
  4625. type: string
  4626. audittime:
  4627. description: 审核时间
  4628. type: string
  4629. biztype:
  4630. description: 业务类型 1-套保 2-套利
  4631. type: integer
  4632. brandname:
  4633. description: 品牌名称
  4634. type: string
  4635. buynickname:
  4636. description: 销售方昵称
  4637. type: string
  4638. buyuserid:
  4639. description: 采购方ID
  4640. type: integer
  4641. buyusername:
  4642. description: 采购方名称
  4643. type: string
  4644. contracctstatus:
  4645. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4646. type: integer
  4647. contractmargin:
  4648. description: 合同保证金
  4649. type: number
  4650. contractno:
  4651. description: 现货合同编号
  4652. type: string
  4653. contracttype:
  4654. description: 现货合同类型 - 1:采购 -1:销售
  4655. type: integer
  4656. convertfactor:
  4657. description: 标仓系数(品类)
  4658. type: number
  4659. createtime:
  4660. description: 创建时间
  4661. type: string
  4662. currencyid:
  4663. description: 币种id
  4664. type: integer
  4665. currencyname:
  4666. description: 币种名称
  4667. type: string
  4668. deliveryenddate:
  4669. description: 交收期(结束)
  4670. type: string
  4671. deliverygoodscode:
  4672. description: 现货品种代码
  4673. type: string
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. deliverygoodsname:
  4678. description: 现货品种名称
  4679. type: string
  4680. deliverystartdate:
  4681. description: 交收期(开始)
  4682. type: string
  4683. enddate:
  4684. description: 点价结束日期 [2:点价 3:暂定价]
  4685. type: string
  4686. enumdicname:
  4687. description: 单位名称
  4688. type: string
  4689. goodscode:
  4690. description: 点价合约代码
  4691. type: string
  4692. goodsid:
  4693. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4694. type: integer
  4695. goodsname:
  4696. description: 点价商品名称
  4697. type: string
  4698. margin:
  4699. description: 当前保证金
  4700. type: number
  4701. meruserid:
  4702. description: 跟单员id
  4703. type: integer
  4704. meruserlogincode:
  4705. description: 跟单员登录代码
  4706. type: string
  4707. merusername:
  4708. description: 跟单员名称
  4709. type: string
  4710. pointdesc:
  4711. description: 点价备注
  4712. type: string
  4713. price:
  4714. description: 价格\暂定价 [1:一口价、3:暂定价]
  4715. type: number
  4716. pricemove:
  4717. description: 升贴水 [2:点价 3:暂定价]
  4718. type: number
  4719. pricetype:
  4720. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4721. type: integer
  4722. producttype:
  4723. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4724. type: integer
  4725. qty:
  4726. description: 数量
  4727. type: number
  4728. remark:
  4729. description: 备注
  4730. type: string
  4731. saleuserid:
  4732. description: 业务员id
  4733. type: integer
  4734. saleuserlogincode:
  4735. description: 业务员登录代码
  4736. type: string
  4737. saleusername:
  4738. description: 业务员名称
  4739. type: string
  4740. sellnickname:
  4741. description: 采购方昵称
  4742. type: string
  4743. selluserid:
  4744. description: 销售方ID
  4745. type: integer
  4746. sellusername:
  4747. description: 销售方名称
  4748. type: string
  4749. spotcontractid:
  4750. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4751. type: string
  4752. spotgoodsbrandid:
  4753. description: 现货品牌ID(DGFactoryItem表的ID)
  4754. type: integer
  4755. spotgoodsdesc:
  4756. description: 商品型号
  4757. type: string
  4758. startdate:
  4759. description: 点价开始日期 [2:点价 3:暂定价]
  4760. type: string
  4761. subjectid:
  4762. description: 交易主体ID
  4763. type: integer
  4764. subjectname:
  4765. description: 交易主体名称
  4766. type: string
  4767. tradeuserid:
  4768. description: 交易员id
  4769. type: integer
  4770. tradeuserlogincode:
  4771. description: 交易员登录代码
  4772. type: string
  4773. tradeusername:
  4774. description: 交易员名称
  4775. type: string
  4776. unitid:
  4777. description: 单位id(取品类上的单位id)
  4778. type: integer
  4779. updatetime:
  4780. description: 更新时间
  4781. type: string
  4782. userid:
  4783. description: 所属机构ID
  4784. type: integer
  4785. vatrate:
  4786. description: 增值税率
  4787. type: number
  4788. wrstandardcode:
  4789. description: 品类代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 品类ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 品类名称
  4796. type: string
  4797. type: object
  4798. models.Ermcp3ExposureContractDetail:
  4799. properties:
  4800. biztype:
  4801. description: 业务类型 1-套保 2-套利
  4802. type: integer
  4803. brandname:
  4804. description: 品牌名称
  4805. type: string
  4806. buyuserid:
  4807. description: 采购方id
  4808. type: integer
  4809. buyusername:
  4810. description: 采购方名称
  4811. type: string
  4812. contractno:
  4813. description: 合同编号
  4814. type: string
  4815. contracttype:
  4816. description: 现货合同类型 - 1:采购 -1:销售
  4817. type: integer
  4818. convertfactor:
  4819. description: 标仓系数
  4820. type: number
  4821. convertratio:
  4822. description: 折算系数(套保品种)
  4823. type: number
  4824. curqty:
  4825. description: 今定价量
  4826. type: number
  4827. deliverygoodscode:
  4828. description: 现货品种代码
  4829. type: string
  4830. deliverygoodsid:
  4831. description: 现货品种id
  4832. type: integer
  4833. deliverygoodsname:
  4834. description: 现货品种名称
  4835. type: string
  4836. diffhedgeqty:
  4837. description: 套保变动量
  4838. type: number
  4839. diffneedhedgeqty:
  4840. description: 应套保变动量
  4841. type: number
  4842. diffqty:
  4843. description: 套保品种今变动量
  4844. type: number
  4845. enumdicname:
  4846. description: 单位名称
  4847. type: string
  4848. mgunitname:
  4849. description: 套保品种单位名称
  4850. type: string
  4851. middlegoodscode:
  4852. description: 套保品种代码
  4853. type: string
  4854. middlegoodsid:
  4855. description: 套保品种id
  4856. type: integer
  4857. middlegoodsname:
  4858. description: 套保品种名称
  4859. type: string
  4860. needarbitrageratio:
  4861. description: 应套利比例
  4862. type: number
  4863. needhedgeratio:
  4864. description: 应套保比例
  4865. type: number
  4866. pricedqty:
  4867. description: 已定价量
  4868. type: number
  4869. qty:
  4870. description: 合同量
  4871. type: number
  4872. selluserid:
  4873. description: 销售方id
  4874. type: integer
  4875. sellusername:
  4876. description: 销售方名称
  4877. type: string
  4878. spotcontractid:
  4879. description: 合同id
  4880. type: string
  4881. todaypricedqty:
  4882. description: 今定价量
  4883. type: number
  4884. tradedate:
  4885. description: 交易日
  4886. type: string
  4887. unitid:
  4888. description: 品类单位id
  4889. type: integer
  4890. userid:
  4891. description: 机构id
  4892. type: integer
  4893. username:
  4894. description: 交易用户
  4895. type: string
  4896. wrstandardcode:
  4897. description: 现货商品代码
  4898. type: string
  4899. wrstandardid:
  4900. description: 现货商品id
  4901. type: integer
  4902. wrstandardname:
  4903. description: 现货商品名称
  4904. type: string
  4905. type: object
  4906. models.Ermcp3ExposureDetail:
  4907. properties:
  4908. areauserid:
  4909. description: 机构ID
  4910. type: integer
  4911. changeQty:
  4912. description: 套保变动量
  4913. type: number
  4914. contracttype:
  4915. description: 现货合同类型 - 1:采购 -1:销售
  4916. type: integer
  4917. convertfactor:
  4918. description: 标仓系数
  4919. type: number
  4920. convertratio:
  4921. description: 折算系数
  4922. type: number
  4923. createtime:
  4924. description: 时间
  4925. type: string
  4926. enumdicname:
  4927. description: 现货商品单位名称
  4928. type: string
  4929. logtype:
  4930. description: 类型 - 1:套保计划 2:现货合同
  4931. type: integer
  4932. mgunitid:
  4933. description: 套保品种单位id
  4934. type: integer
  4935. mgunitidname:
  4936. description: 套保品种单位名称
  4937. type: string
  4938. middlegoodsId:
  4939. description: 套保商品id
  4940. type: integer
  4941. middlegoodscode:
  4942. description: 套保商品代码
  4943. type: string
  4944. middlegoodsname:
  4945. description: 套保商品名称
  4946. type: string
  4947. qty:
  4948. description: 数量
  4949. type: number
  4950. relateNo:
  4951. description: 现货合同/套保计划编号
  4952. type: string
  4953. unitid:
  4954. description: 现货商品单位id
  4955. type: integer
  4956. wrstandardcode:
  4957. description: 现货商品代码
  4958. type: string
  4959. wrstandardid:
  4960. description: 现货商品ID(SEQ_WRSTANDARD)
  4961. type: integer
  4962. wrstandardname:
  4963. description: 现货商品名称
  4964. type: string
  4965. type: object
  4966. models.Ermcp3ExposureFutuDetail:
  4967. properties:
  4968. accountid:
  4969. description: 交易账户id
  4970. type: integer
  4971. accountname:
  4972. description: 交易账户
  4973. type: string
  4974. begindate:
  4975. description: 开始交易日
  4976. type: string
  4977. buyorsell:
  4978. description: 方向 0-买 1-卖
  4979. type: integer
  4980. diffmgqty:
  4981. description: 套保品种今变化量
  4982. type: number
  4983. diffneedqty:
  4984. description: 应套保总量变化量
  4985. type: number
  4986. difftradeqty:
  4987. description: 交易品种今变化量
  4988. type: number
  4989. enddate:
  4990. description: 结束交易日
  4991. type: string
  4992. enumdicname:
  4993. description: 单位名称
  4994. type: string
  4995. goodscode:
  4996. description: 商品代码
  4997. type: string
  4998. goodsid:
  4999. description: 商品id
  5000. type: integer
  5001. goodsname:
  5002. description: 商品名称
  5003. type: string
  5004. holdqty:
  5005. description: 期末持仓量
  5006. type: number
  5007. middlegoodscode:
  5008. description: 套保商品代码
  5009. type: string
  5010. middlegoodsid:
  5011. description: 套保商品id
  5012. type: integer
  5013. middlegoodsname:
  5014. description: 套保商品名称
  5015. type: string
  5016. oriholdqty:
  5017. description: 期初持仓量
  5018. type: number
  5019. todaycloseqty:
  5020. description: 今平仓量
  5021. type: number
  5022. todayopenqty:
  5023. description: 今开仓量
  5024. type: number
  5025. tradedate:
  5026. description: 交易日
  5027. type: string
  5028. username:
  5029. description: 用户名称(交易用户)
  5030. type: string
  5031. type: object
  5032. models.Ermcp3ExposureHedgeplanDetail:
  5033. properties:
  5034. biztype:
  5035. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5036. type: integer
  5037. changqty:
  5038. description: 应套保总量变化量
  5039. type: number
  5040. contracttype:
  5041. description: 计划类型 - 1:采购 -1:销售
  5042. type: integer
  5043. convertratio:
  5044. description: 折算系数(套保品种)
  5045. type: number
  5046. deliverygoodscode:
  5047. description: 现货商品代码
  5048. type: string
  5049. deliverygoodsid:
  5050. description: 现货商品id
  5051. type: integer
  5052. deliverygoodsname:
  5053. description: 现货商吕名称
  5054. type: string
  5055. dgunitid:
  5056. description: 现货商品单位id
  5057. type: integer
  5058. dgunitidname:
  5059. description: 单位名称(现货商品)
  5060. type: string
  5061. diffqty:
  5062. description: 套保品种今变动量
  5063. type: number
  5064. enumdicname:
  5065. description: 单位名称(品类)
  5066. type: string
  5067. hedgeplanid:
  5068. description: 套保计划id
  5069. type: string
  5070. hedgeplanno:
  5071. description: 套保计划名称
  5072. type: string
  5073. hedgeplanstatus:
  5074. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5075. type: integer
  5076. mgunitidname:
  5077. description: 单位名称(套保商品)
  5078. type: string
  5079. middlegoodscode:
  5080. description: 套保品种代码
  5081. type: string
  5082. middlegoodsid:
  5083. description: 套保品种id
  5084. type: integer
  5085. middlegoodsname:
  5086. description: 套保品种名称
  5087. type: string
  5088. needarbitrageratio:
  5089. description: 应套利比例
  5090. type: number
  5091. needhedgeratio:
  5092. description: 应套保比例
  5093. type: number
  5094. pricedqty:
  5095. description: 已定价量
  5096. type: number
  5097. qty:
  5098. description: 合同量
  5099. type: number
  5100. tradedate:
  5101. description: 交易日(登记日)
  5102. type: string
  5103. unitid:
  5104. description: 品类单位id
  5105. type: integer
  5106. userid:
  5107. description: 机构id
  5108. type: integer
  5109. wrstandardcode:
  5110. description: 品类代码
  5111. type: string
  5112. wrstandardid:
  5113. description: 品类id
  5114. type: integer
  5115. wrstandardname:
  5116. description: 品类名称
  5117. type: string
  5118. type: object
  5119. models.Ermcp3ExposureParamChLog:
  5120. properties:
  5121. accountid:
  5122. description: 期货账户ID (作废, 默认为0)
  5123. type: integer
  5124. aftervalue:
  5125. description: 应套保\套利量变更后(调整后应套保总量)
  5126. type: number
  5127. areauserid:
  5128. description: 所属机构\交易用户ID
  5129. type: integer
  5130. beforevalue:
  5131. description: 应套保\套利量变更前(调整前应套保总量)
  5132. type: number
  5133. begindate:
  5134. description: 开始交易日
  5135. type: string
  5136. changelogtype:
  5137. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5138. type: integer
  5139. curvalue:
  5140. description: 当前套保\套利量(套保总量|套利总量)
  5141. type: number
  5142. diffvalue:
  5143. description: 应套保总量变化量
  5144. type: number
  5145. enddate:
  5146. description: 结束交易日
  5147. type: string
  5148. logdatetime:
  5149. description: 流水日期
  5150. type: string
  5151. logid:
  5152. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. middlegoodscode:
  5155. description: 套保品种代码
  5156. type: string
  5157. middlegoodsid:
  5158. description: 套保品种
  5159. type: integer
  5160. middlegoodsname:
  5161. description: 套保品种名称
  5162. type: string
  5163. paramaftervalue:
  5164. description: 参数变更后(调整后参数值)
  5165. type: number
  5166. parambeforevalue:
  5167. description: 参数变更前(调整前参数值)
  5168. type: number
  5169. tradedate:
  5170. description: 交易日(yyyyMMdd)
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExpourseReport:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. accountname:
  5179. description: 机构名称
  5180. type: string
  5181. arbitrageqty:
  5182. description: 套利量
  5183. type: number
  5184. areauserid:
  5185. description: 所属机构\交易用户ID
  5186. type: integer
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. buyfutureqty:
  5191. description: 买入期货数量
  5192. type: number
  5193. buyplanqty:
  5194. description: 采购计划数量
  5195. type: number
  5196. buypricedqty:
  5197. description: 采购合同已定价数量
  5198. type: number
  5199. cycletime:
  5200. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5201. type: string
  5202. cycletype:
  5203. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5204. type: integer
  5205. diffexposure:
  5206. description: 变动量(套保敞口)
  5207. type: number
  5208. difffutuqty:
  5209. description: 变动量(期货)
  5210. type: number
  5211. diffhedgeqty:
  5212. description: 变动量(现货应套保总量)
  5213. type: number
  5214. diffmgqtya:
  5215. description: 套保变动量
  5216. type: number
  5217. diffmgqtyb:
  5218. description: 套利变动量
  5219. type: number
  5220. diffqty:
  5221. description: 变动量(总敞口)
  5222. type: number
  5223. diffspotqty:
  5224. description: 变动量(现货)
  5225. type: number
  5226. enddate:
  5227. description: 结束交易日
  5228. type: string
  5229. enumdicname:
  5230. description: 单位名称
  5231. type: string
  5232. hedgeqty:
  5233. description: 套保量
  5234. type: number
  5235. mgneedhedgeratio:
  5236. description: 套保比例(套保品的)
  5237. type: number
  5238. middlegoodsid:
  5239. description: 套保品种ID
  5240. type: integer
  5241. middlegoodsname:
  5242. description: 套保商品名称
  5243. type: string
  5244. middlgoodscode:
  5245. description: 套保商品代码
  5246. type: string
  5247. needarbitrageqty:
  5248. description: 应套利量
  5249. type: number
  5250. needarbitrageratio:
  5251. description: 套利比例(套保品的)
  5252. type: number
  5253. needhedgeexposoure:
  5254. description: 应套保敞口(套保敞口)
  5255. type: number
  5256. needhedgeqty:
  5257. description: 应套保量
  5258. type: number
  5259. needhedgeratio:
  5260. description: 应套保敞口比例
  5261. type: number
  5262. oriarbitrageqty:
  5263. description: 期初套利量
  5264. type: number
  5265. oribuyfutureqty:
  5266. description: 期初买入期货数量
  5267. type: number
  5268. oribuyplanqty:
  5269. description: 期初采购计划数量
  5270. type: number
  5271. oribuypricedqty:
  5272. description: 期初采购合同已定价数量
  5273. type: number
  5274. orihedgeqty:
  5275. description: 期初套保量
  5276. type: number
  5277. orineedarbitrageqty:
  5278. description: 期初应套利量
  5279. type: number
  5280. orineedhedgeexposoure:
  5281. description: 期初应套保敞口
  5282. type: number
  5283. orineedhedgeqty:
  5284. description: 期初应套保量
  5285. type: number
  5286. orisellfutureqty:
  5287. description: 期初卖出期货数量
  5288. type: number
  5289. orisellplanqty:
  5290. description: 期初销售计划数量
  5291. type: number
  5292. orisellpricedqty:
  5293. description: 期初销售合同已定价数量
  5294. type: number
  5295. oritotalexposure:
  5296. description: 期初实时总敞口
  5297. type: number
  5298. oritotalfutureqty:
  5299. description: 期初期货头寸总量
  5300. type: number
  5301. oritotalneedhedgeqty:
  5302. description: 期初应套保总量
  5303. type: number
  5304. oritotalspotqty:
  5305. description: 期初现货头寸总量
  5306. type: number
  5307. reckondate:
  5308. description: 日照时期(yyyyMMdd)
  5309. type: string
  5310. sellfutureqty:
  5311. description: 卖出期货数量
  5312. type: number
  5313. sellplanqty:
  5314. description: 销售计划数量
  5315. type: number
  5316. sellpricedqty:
  5317. description: 销售合同已定价数量
  5318. type: number
  5319. totalexposure:
  5320. description: 实时总敞口(总敞口)
  5321. type: number
  5322. totalfutureqty:
  5323. description: 期货头寸总量(期货总量)
  5324. type: number
  5325. totalhedgeratio:
  5326. description: 敞口比例
  5327. type: number
  5328. totalneedhedgeqty:
  5329. description: 应套保总量(现货应套保总量)
  5330. type: number
  5331. totalspotqty:
  5332. description: 现货头寸总量
  5333. type: number
  5334. unitid:
  5335. description: 单位id
  5336. type: integer
  5337. updatetime:
  5338. description: 更新时间
  5339. type: string
  5340. type: object
  5341. models.Ermcp3FinanceReport:
  5342. properties:
  5343. accountname:
  5344. description: 机构名称
  5345. type: string
  5346. areauserid:
  5347. description: 所属机构\交易用户ID
  5348. type: integer
  5349. begindate:
  5350. description: 开始交易日
  5351. type: string
  5352. biztype:
  5353. description: 业务类型 - 1:套保 2:套利
  5354. type: integer
  5355. brandname:
  5356. description: 品牌名称
  5357. type: string
  5358. buypreinvoicedamount:
  5359. description: 采购预收票额(预收票额)
  5360. type: number
  5361. buyprepaidamount:
  5362. description: 采购预付款额(预付货款额)
  5363. type: number
  5364. buytodayinvoiceamount:
  5365. description: 采购今收票额(今收票额)
  5366. type: number
  5367. buytodayrefundamount:
  5368. description: 采购今收退款额(今收退款额)
  5369. type: number
  5370. buytodaysettleamount:
  5371. description: 采购今付款额(今付货款额)
  5372. type: number
  5373. buyuninvoicedamount:
  5374. description: 采购应收票额(应收票额)
  5375. type: number
  5376. buyunpaidamount:
  5377. description: 采购应付款额(应付货款额)
  5378. type: number
  5379. currencyid:
  5380. description: 结算币种ID
  5381. type: integer
  5382. currencyname:
  5383. description: 币种名称
  5384. type: string
  5385. cycletime:
  5386. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5387. type: string
  5388. cycletype:
  5389. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5390. type: integer
  5391. deliverygoodscode:
  5392. description: 现货品种代码
  5393. type: string
  5394. deliverygoodsid:
  5395. description: 现货品种ID
  5396. type: integer
  5397. deliverygoodsname:
  5398. description: 现货品种名称
  5399. type: string
  5400. enddate:
  5401. description: 结束交易日
  5402. type: string
  5403. reckondate:
  5404. description: 日照时期(yyyyMMdd)
  5405. type: string
  5406. sellpreinvoicedamount:
  5407. description: 销售预开票额(预开票额)
  5408. type: number
  5409. sellprepaidamount:
  5410. description: 销售预收款额(预收货款额)
  5411. type: number
  5412. selltodayinvoiceamount:
  5413. description: 销售今开票额(今开票额)
  5414. type: number
  5415. selltodayrefundamount:
  5416. description: 销售今付退款额(今付退款额)
  5417. type: number
  5418. selltodaysettleamount:
  5419. description: 销售今收款额(今收货款额)
  5420. type: number
  5421. selluninvoicedamount:
  5422. description: 销售应开票额(应开票额)
  5423. type: number
  5424. sellunpaidamount:
  5425. description: 销售应收款额(应收货款额)
  5426. type: number
  5427. spotgoodsbrandid:
  5428. description: 现货品牌ID
  5429. type: integer
  5430. todaypaysum:
  5431. description: 今付款合计
  5432. type: number
  5433. todayreceivesum:
  5434. description: 今收款合计
  5435. type: number
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrfactortypeid:
  5440. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5441. type: integer
  5442. wrstandardcode:
  5443. description: 品类代码
  5444. type: string
  5445. wrstandardid:
  5446. description: 现货商品ID
  5447. type: integer
  5448. wrstandardname:
  5449. description: 品类名称
  5450. type: string
  5451. type: object
  5452. models.Ermcp3GoodsGroup:
  5453. properties:
  5454. agreeunit:
  5455. description: 合约单位
  5456. type: number
  5457. areauserid:
  5458. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5459. type: integer
  5460. canshort:
  5461. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5462. type: integer
  5463. closepricemode:
  5464. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5465. type: integer
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. currencyid:
  5473. description: 报价货币ID
  5474. type: integer
  5475. decimalplace:
  5476. description: 报价小数位
  5477. type: integer
  5478. enumdicname:
  5479. description: 单位名称
  5480. type: string
  5481. exchangefullname:
  5482. description: 交易所全称
  5483. type: string
  5484. excludecfg:
  5485. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5486. type: integer
  5487. exexchangecode:
  5488. description: 交易所代码
  5489. type: string
  5490. exexchangeid:
  5491. description: 外部交易所ID[通道交易]
  5492. type: integer
  5493. exexchangename:
  5494. description: 交易所名称
  5495. type: string
  5496. goodsgroupid:
  5497. description: 商品组ID(自增ID)
  5498. type: integer
  5499. goodsgroupname:
  5500. description: 商品组名称
  5501. type: string
  5502. goodsgroupstatus:
  5503. description: 商品组状态 - 1:正常 2:注销
  5504. type: integer
  5505. goodunitid:
  5506. description: 报价单位ID
  5507. type: integer
  5508. groupcategroyid:
  5509. description: 品种分类ID
  5510. type: integer
  5511. innerdealmode:
  5512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5513. type: integer
  5514. marketid:
  5515. description: 所属市场ID
  5516. type: integer
  5517. modifierid:
  5518. description: 修改人
  5519. type: integer
  5520. modifytime:
  5521. description: 修改时间
  5522. type: string
  5523. outerdealmode:
  5524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5525. type: integer
  5526. outergroupcode:
  5527. description: 外部商品组代码[通道交易]
  5528. type: string
  5529. quoteminunit:
  5530. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5531. type: integer
  5532. quotesourcegroupid:
  5533. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5534. type: integer
  5535. syncgoodsqty:
  5536. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5537. type: integer
  5538. required:
  5539. - areauserid
  5540. type: object
  5541. models.Ermcp3HedgePlan:
  5542. properties:
  5543. accountid:
  5544. description: 资金账号
  5545. type: integer
  5546. areauserid:
  5547. description: 用户ID
  5548. type: integer
  5549. auditid:
  5550. description: 审核id
  5551. type: integer
  5552. auditname:
  5553. description: 审核人名称
  5554. type: string
  5555. auditremark:
  5556. description: 审核备注
  5557. type: string
  5558. auditsrc:
  5559. description: 审核来源 1-管理端 2-终端
  5560. type: integer
  5561. audittime:
  5562. description: 审核时间
  5563. type: string
  5564. contracttype:
  5565. description: 计划类型 - 1:采购 -1:销售
  5566. type: integer
  5567. convertfactor:
  5568. description: 标仓系数
  5569. type: number
  5570. createtime:
  5571. description: 创建时间
  5572. type: string
  5573. currencyid:
  5574. description: 币种id
  5575. type: integer
  5576. currencyname:
  5577. description: 币种名称
  5578. type: string
  5579. deliverygoodscode:
  5580. description: 现货品种代码
  5581. type: string
  5582. deliverygoodsid:
  5583. description: 现货品种ID
  5584. type: integer
  5585. deliverygoodsname:
  5586. description: 现货品种名称
  5587. type: string
  5588. enumdicname:
  5589. description: 单位名称(现货商品)
  5590. type: string
  5591. hedgeplanid:
  5592. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5593. type: string
  5594. hedgeplanno:
  5595. description: 套保计划编号(名称)
  5596. type: string
  5597. hedgeplanstatus:
  5598. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5599. type: integer
  5600. planqty:
  5601. description: 计划数量
  5602. type: number
  5603. plantime:
  5604. description: 计划时间
  5605. type: string
  5606. producttype:
  5607. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5608. type: integer
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. spotgoodsdesc:
  5613. description: 商品型号
  5614. type: string
  5615. taaccountname:
  5616. description: 资金账号名称
  5617. type: string
  5618. tradeuserid:
  5619. description: 交易用户id
  5620. type: integer
  5621. tradeusername:
  5622. description: 交易用户名称
  5623. type: string
  5624. unitid:
  5625. description: 单位id(现货商品)
  5626. type: integer
  5627. updatetime:
  5628. description: 更新时间
  5629. type: string
  5630. vatrate:
  5631. description: 增值税率
  5632. type: number
  5633. wrstandardcode:
  5634. description: 品类代码
  5635. type: string
  5636. wrstandardid:
  5637. description: 品类id
  5638. type: integer
  5639. wrstandardname:
  5640. description: 品类名称
  5641. type: string
  5642. wrunitid:
  5643. description: 品类单位id
  5644. type: integer
  5645. wrunitidame:
  5646. description: 品类单位名称
  5647. type: string
  5648. type: object
  5649. models.Ermcp3InnerTradeLink:
  5650. properties:
  5651. accountid:
  5652. description: 期货账号代码 | 资金账号ID
  5653. type: integer
  5654. buyorsell:
  5655. description: 方向 - 0:买 1:卖
  5656. type: integer
  5657. channelbuildtype:
  5658. description: 委托单据类型 0:无 1:建仓 2:平仓
  5659. type: integer
  5660. currencyid:
  5661. description: 币种id
  5662. type: integer
  5663. currencyname:
  5664. description: 结算币种 名称
  5665. type: string
  5666. goodscode:
  5667. description: 商品代码
  5668. type: string
  5669. goodsid:
  5670. description: 商品ID
  5671. type: integer
  5672. goodsname:
  5673. description: 商品名称
  5674. type: string
  5675. outtradeid:
  5676. description: 外部成交单号
  5677. type: string
  5678. taname:
  5679. description: 期货账户名称
  5680. type: string
  5681. tradeid:
  5682. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5683. type: string
  5684. tradeprice:
  5685. description: 成交价格
  5686. type: number
  5687. tradeqty:
  5688. description: 期货成交数量
  5689. type: integer
  5690. tradetime:
  5691. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5692. type: string
  5693. username:
  5694. description: 用户名称
  5695. type: string
  5696. type: object
  5697. models.Ermcp3OutTradeLink:
  5698. properties:
  5699. buyorsell:
  5700. description: 买卖方向 - 0:买 1:卖
  5701. type: integer
  5702. channelbuildtype:
  5703. description: 开平标志- 0:无 1:建仓 2:平仓
  5704. type: integer
  5705. currencyname:
  5706. description: 币种名称
  5707. type: string
  5708. exexchangecode:
  5709. description: 交易所代码
  5710. type: string
  5711. exexchangename:
  5712. description: 交易所名称
  5713. type: string
  5714. goodscode:
  5715. description: 合约代码
  5716. type: string
  5717. goodsid:
  5718. description: 合约id
  5719. type: integer
  5720. goodsname:
  5721. description: 合约名称
  5722. type: string
  5723. hasinnerorder:
  5724. description: 是否有内部单关联 - 0:无 1:有
  5725. type: integer
  5726. hedgeaccountcode:
  5727. description: 外部账号 | 对冲账号
  5728. type: string
  5729. outtradeid:
  5730. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5731. type: string
  5732. tradeprice:
  5733. description: 成交价格
  5734. type: number
  5735. tradeqty:
  5736. description: 成交数量
  5737. type: integer
  5738. tradetime:
  5739. description: 成交时间
  5740. type: string
  5741. type: object
  5742. models.Ermcp3PaAreaAuditCfg:
  5743. properties:
  5744. areauserid:
  5745. description: 用户ID
  5746. type: integer
  5747. buyinauditflag:
  5748. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5749. type: integer
  5750. costratioauditflag:
  5751. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5752. type: integer
  5753. customerauditflag:
  5754. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5755. type: integer
  5756. deliveryauditflag:
  5757. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5758. type: integer
  5759. invoiceauditflag:
  5760. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5761. type: integer
  5762. mgneedhedgeratioauditflag:
  5763. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. moneyauditflag:
  5766. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5767. type: integer
  5768. operatorid:
  5769. description: 操作人
  5770. type: integer
  5771. operatorsrc:
  5772. description: 操作来源 - 1:管理端 2:终端
  5773. type: integer
  5774. pointpriceauditflag:
  5775. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. produceinauditflag:
  5778. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. produceoutauditflag:
  5781. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. selloutauditflag:
  5784. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. sgconvertratioauditflag:
  5787. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. sgvtaratioauditflag:
  5790. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. spotcontractauditflag:
  5793. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. updatetime:
  5796. description: 更新时间
  5797. type: string
  5798. type: object
  5799. models.Ermcp3PaAreaSubject:
  5800. properties:
  5801. areauserid:
  5802. description: 所属机构
  5803. type: integer
  5804. canmodify:
  5805. description: 是否可修改 - 0:否 1:是
  5806. type: integer
  5807. createtime:
  5808. description: 创建时间
  5809. type: string
  5810. creatorid:
  5811. description: 创建人ID
  5812. type: string
  5813. creatorsrc:
  5814. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5815. type: integer
  5816. modifierid:
  5817. description: 修改人
  5818. type: string
  5819. modifiersrc:
  5820. description: 修改人来源 - 1:管理端 2:终端
  5821. type: integer
  5822. modifytime:
  5823. description: 修改时间
  5824. type: string
  5825. parentsubjectid:
  5826. description: 上级主体ID
  5827. type: string
  5828. remark:
  5829. description: 备注
  5830. type: string
  5831. subjectid:
  5832. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5833. type: integer
  5834. subjectname:
  5835. description: 主体名称
  5836. type: string
  5837. subjectstatus:
  5838. description: '主体状态 - 1:正常 2: 停用'
  5839. type: integer
  5840. subjecttype:
  5841. description: 主体类型 - 1:交易主体 2:业务部门
  5842. type: integer
  5843. type: object
  5844. models.Ermcp3PaTradeLink:
  5845. properties:
  5846. accountid:
  5847. description: 期货账户代码 | 账号ID
  5848. type: integer
  5849. agreeunit:
  5850. description: 合约乘数
  5851. type: number
  5852. buyorsell:
  5853. description: 方向 - 0:买 1:卖
  5854. type: integer
  5855. channelbuildtype:
  5856. description: 委托单据类型 0:无 1:建仓 2:平仓
  5857. type: integer
  5858. charge:
  5859. description: 手续费
  5860. type: number
  5861. closepl:
  5862. description: 平仓盈亏
  5863. type: number
  5864. closetype:
  5865. description: 平仓方式 - 0:无 1:平今 2:平昨
  5866. type: integer
  5867. convertratio:
  5868. description: 折算系数
  5869. type: number
  5870. enumdicname:
  5871. description: 单位名称
  5872. type: string
  5873. executeprice:
  5874. description: 执行价 [期权]
  5875. type: integer
  5876. goodscode:
  5877. description: 合约代码
  5878. type: string
  5879. goodsgroupid:
  5880. description: 对冲品种ID[期货合约商品组ID]
  5881. type: integer
  5882. goodsid:
  5883. description: 商品ID
  5884. type: integer
  5885. goodsname:
  5886. description: 合约名称
  5887. type: string
  5888. goodunitid:
  5889. description: 单位id
  5890. type: integer
  5891. hedgeflag:
  5892. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5893. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5894. type: integer
  5895. marketid:
  5896. description: 市场ID
  5897. type: integer
  5898. middlegoodsid:
  5899. description: 套保品种ID
  5900. type: integer
  5901. middlegoodsqty:
  5902. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5903. type: number
  5904. optioncode:
  5905. description: 期权代码 [期权]
  5906. type: string
  5907. ordertype:
  5908. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5909. type: integer
  5910. ordertypename:
  5911. description: 订单类型
  5912. type: string
  5913. parentaccountid:
  5914. description: 所属母账户
  5915. type: integer
  5916. premium:
  5917. description: 权利金 [期权]
  5918. type: number
  5919. relatedlot:
  5920. description: 已关联数量(已关联数量手) | db:关联手数
  5921. type: number
  5922. relatedouttradeid:
  5923. description: 关联外部成交单ID
  5924. type: string
  5925. relatedqty:
  5926. description: 关联数量
  5927. type: number
  5928. spotcontractid:
  5929. description: 现货合同ID [4:套期保值\10\11]
  5930. type: string
  5931. taname:
  5932. description: 期货账户名称
  5933. type: string
  5934. tradeamount:
  5935. description: 成交金额(账户)
  5936. type: number
  5937. tradedate:
  5938. description: 交易日(yyyyMMdd)
  5939. type: string
  5940. tradeid:
  5941. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5942. type: string
  5943. tradelot:
  5944. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5945. type: integer
  5946. tradeprice:
  5947. description: 成交价格
  5948. type: number
  5949. tradetime:
  5950. description: 时间 | db:成交时间
  5951. type: string
  5952. tradetype:
  5953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5954. type: integer
  5955. userid:
  5956. description: 所属机构 - 所属母账户的UserID
  5957. type: string
  5958. username:
  5959. description: 用户名称
  5960. type: string
  5961. type: object
  5962. models.Ermcp3ParamChangeApp:
  5963. properties:
  5964. aftervalue:
  5965. description: 变更后
  5966. type: number
  5967. applicationid:
  5968. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5969. type: string
  5970. applyid:
  5971. description: 申请人
  5972. type: string
  5973. applyname:
  5974. description: 申请人名称(代码)
  5975. type: string
  5976. applyremark:
  5977. description: 申请备注
  5978. type: string
  5979. applysrc:
  5980. description: 申请来源 - 1:管理端 2:终端
  5981. type: integer
  5982. applystatus:
  5983. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5984. type: integer
  5985. applytime:
  5986. description: 申请时间
  5987. type: string
  5988. areauserid:
  5989. description: 所属机构用户ID
  5990. type: integer
  5991. auditid:
  5992. description: 审核人
  5993. type: string
  5994. auditname:
  5995. description: 审核人名称(代码)
  5996. type: string
  5997. auditremark:
  5998. description: 审核备注
  5999. type: string
  6000. auditsrc:
  6001. description: 审核来源 - 1:管理端 2:终端
  6002. type: integer
  6003. audittime:
  6004. description: 审核时间
  6005. type: string
  6006. audittradedate:
  6007. description: 审核交易日(yyyyMMdd)
  6008. type: string
  6009. beforevalue:
  6010. description: 变更前
  6011. type: number
  6012. deliverygoodscode:
  6013. description: 品种代码
  6014. type: string
  6015. deliverygoodsid:
  6016. description: 品种id
  6017. type: integer
  6018. deliverygoodsname:
  6019. description: 品种名称
  6020. type: string
  6021. middlegoodscode:
  6022. description: 套保品种代码
  6023. type: string
  6024. middlegoodsid:
  6025. description: 套保品种ID [ParamChangeType = 2,3,4]
  6026. type: integer
  6027. middlegoodsname:
  6028. description: 套保品种名称
  6029. type: string
  6030. operatetype:
  6031. description: 操作类型 - 1:新增 2:修改
  6032. type: integer
  6033. paramchangetype:
  6034. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6035. type: integer
  6036. wrstandardcode:
  6037. description: 现货商品代码
  6038. type: string
  6039. wrstandardid:
  6040. description: 现货商品ID [ParamChangeType = 1,2,3]
  6041. type: integer
  6042. wrstandardname:
  6043. description: 现货商品名称
  6044. type: string
  6045. type: object
  6046. models.Ermcp3RootUserAccount:
  6047. properties:
  6048. accountname:
  6049. description: 账户名称(机构名称)
  6050. type: string
  6051. accountstatus:
  6052. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6053. type: integer
  6054. applysrc:
  6055. description: 申请来源 - 1:管理端 2:终端
  6056. type: integer
  6057. auditremark:
  6058. description: 审核备注
  6059. type: string
  6060. auditsrc:
  6061. description: 审核来源 - 1:管理端 2:终端
  6062. type: integer
  6063. audittime:
  6064. description: 审核时间
  6065. type: string
  6066. audituserid:
  6067. description: 审核人
  6068. type: integer
  6069. broker:
  6070. description: 所属经纪人ID
  6071. type: integer
  6072. canceltime:
  6073. description: 销户时间
  6074. type: string
  6075. canceluserid:
  6076. description: 销户人
  6077. type: integer
  6078. canrecommend:
  6079. description: 是否可推荐 - 0:不可 1;可
  6080. type: integer
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. creatorid:
  6085. description: 创建人
  6086. type: integer
  6087. hasauth:
  6088. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6089. type: integer
  6090. isanonymous:
  6091. description: 是否匿名下单 - 0:否 1:是
  6092. type: integer
  6093. maxinvestornum:
  6094. description: 最大用户数(经纪会员下投资者个数)
  6095. type: integer
  6096. memberuserid:
  6097. description: 所属会员ID
  6098. type: integer
  6099. modifierid:
  6100. description: 修改人
  6101. type: integer
  6102. modifyremark:
  6103. description: 变更备注
  6104. type: string
  6105. modifystatus:
  6106. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6107. type: integer
  6108. modifytime:
  6109. description: 修改时间
  6110. type: string
  6111. nickname:
  6112. description: 昵称
  6113. type: string
  6114. parenttopuser:
  6115. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6116. type: string
  6117. parentuserid:
  6118. description: 所属机构ID
  6119. type: integer
  6120. reckonaccountid:
  6121. description: 默认结算资金账号ID(机构分润使用) 作废
  6122. type: integer
  6123. refercount:
  6124. description: 推荐总人数
  6125. type: integer
  6126. refereeuserid:
  6127. description: 推荐人ID
  6128. type: integer
  6129. refernum:
  6130. description: 推荐码
  6131. type: string
  6132. rootuserid:
  6133. description: 根用户ID
  6134. type: integer
  6135. subaccountlevel:
  6136. description: 子账户层数
  6137. type: integer
  6138. subarealevelpath:
  6139. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6140. type: string
  6141. userid:
  6142. description: 用户ID
  6143. type: integer
  6144. usertype:
  6145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6146. type: integer
  6147. type: object
  6148. models.Ermcp3SCMiddleGoods:
  6149. properties:
  6150. biztype:
  6151. description: 业务类型 1:套保 2:套利
  6152. type: integer
  6153. contractno:
  6154. description: 合同编号
  6155. type: string
  6156. contracttype:
  6157. description: 合同类型 1:采购 -1:销售
  6158. type: integer
  6159. convertratio:
  6160. description: 折算系数
  6161. type: number
  6162. customername:
  6163. description: 对手手名称
  6164. type: string
  6165. customeruserid:
  6166. description: 对手id
  6167. type: integer
  6168. deliverygoodscode:
  6169. description: 现货品种代码
  6170. type: string
  6171. deliverygoodsid:
  6172. description: 现货品种ID
  6173. type: integer
  6174. deliverygoodsname:
  6175. description: 现货品种名称
  6176. type: string
  6177. enumdicname:
  6178. description: 现货单位名称
  6179. type: string
  6180. middlegoodsid:
  6181. description: 套保品种ID
  6182. type: integer
  6183. middlegoodspricedqty3:
  6184. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6185. type: number
  6186. needhedgeratio:
  6187. description: 套保比例
  6188. type: number
  6189. pricedqty:
  6190. description: 已定价量
  6191. type: number
  6192. relatedmiddlegoodsqty:
  6193. description: 已关联量(套保品种)(期货)
  6194. type: number
  6195. spotcontractid:
  6196. description: 合同编号
  6197. type: string
  6198. unitid:
  6199. description: 现货单位id
  6200. type: integer
  6201. userid:
  6202. description: 用户id
  6203. type: integer
  6204. vatrate:
  6205. description: 增值税率
  6206. type: number
  6207. wrstandardcode:
  6208. description: 现货商品代码
  6209. type: string
  6210. wrstandardid:
  6211. description: 现货商品id
  6212. type: integer
  6213. wrstandardname:
  6214. description: 现货商品名称
  6215. type: string
  6216. type: object
  6217. models.Ermcp3SCMiddleGoodsReport:
  6218. properties:
  6219. begindate:
  6220. description: 开始交易日
  6221. type: string
  6222. contractno:
  6223. description: 合同编号
  6224. type: string
  6225. contracttype:
  6226. description: 合同类型 1:采购 -1:销售
  6227. type: integer
  6228. convertratio:
  6229. description: 折算系数
  6230. type: number
  6231. cycletime:
  6232. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6233. type: string
  6234. cycletype:
  6235. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6236. type: integer
  6237. deliverygoodscode:
  6238. description: 品种代码
  6239. type: string
  6240. deliverygoodsid:
  6241. description: 现货品种ID
  6242. type: integer
  6243. deliverygoodsname:
  6244. description: 品种名称
  6245. type: string
  6246. diffprice:
  6247. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6248. type: number
  6249. diffqty:
  6250. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6251. type: number
  6252. enddate:
  6253. description: 结束交易日
  6254. type: string
  6255. hedgeplanqty:
  6256. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6257. type: number
  6258. matchname:
  6259. description: 交易对手方(个人:用户名称 企业:简称)
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. middlegoodspricedqty:
  6271. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6272. type: number
  6273. middlegoodspricedqty2:
  6274. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6275. type: number
  6276. middlegoodspricedqty3:
  6277. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6278. type: number
  6279. needhedgeratio:
  6280. description: 套保系数
  6281. type: number
  6282. pricedamount:
  6283. description: 已定价额(现货)
  6284. type: number
  6285. pricedamount2:
  6286. description: 已定价额(现货-基价额)
  6287. type: number
  6288. pricedqty:
  6289. description: 已定价量(现货)
  6290. type: number
  6291. reckondate:
  6292. description: 日照时期(yyyyMMdd)
  6293. type: string
  6294. relatedmiddlegoodsamount:
  6295. description: 已关联额(期货)
  6296. type: number
  6297. relatedmiddlegoodsqty:
  6298. description: 已关联量(套保品种)(期货)
  6299. type: number
  6300. spotcontractid:
  6301. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6302. type: string
  6303. todayavgfutuprice:
  6304. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6305. type: number
  6306. todayavgprice:
  6307. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6308. type: number
  6309. todayavgprice2:
  6310. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6311. type: number
  6312. todaypricedamount:
  6313. description: 今日定价额(现货)
  6314. type: number
  6315. todaypricedamount2:
  6316. description: 今日定价额(现货-基价额)
  6317. type: number
  6318. todaypricedqty:
  6319. description: 今日定价量(现货)
  6320. type: number
  6321. todayrelatedfutureqty:
  6322. description: 今日关联量(期货)
  6323. type: number
  6324. todayrelatedmiddlegoodsamount:
  6325. description: 今日关联额(期货)
  6326. type: number
  6327. todayrelatedmiddlegoodsqty:
  6328. description: 今日关联量(套保品-期货)
  6329. type: number
  6330. updatetime:
  6331. description: 更新时间
  6332. type: string
  6333. userid:
  6334. description: 合同所属用户id
  6335. type: integer
  6336. vatrate:
  6337. description: 增值税率
  6338. type: number
  6339. wrstandardcode:
  6340. description: 商品(品类) 代码
  6341. type: string
  6342. wrstandardid:
  6343. description: 现货商品ID
  6344. type: integer
  6345. wrstandardname:
  6346. description: 商品(品类) 名称
  6347. type: string
  6348. type: object
  6349. models.Ermcp3SellBuyContract:
  6350. properties:
  6351. accountid:
  6352. description: 期货账户id
  6353. type: string
  6354. accountname:
  6355. description: 账户名称
  6356. type: string
  6357. attachment:
  6358. description: 附件
  6359. type: string
  6360. audittime:
  6361. description: 审核时间
  6362. type: string
  6363. bizsubjectid:
  6364. description: 归属业务部门ID - SubjectID
  6365. type: integer
  6366. biztype:
  6367. description: 业务类型 1-套保 2-套利
  6368. type: integer
  6369. brandname:
  6370. description: 品牌名称
  6371. type: string
  6372. contracctstatus:
  6373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6374. type: integer
  6375. contractmargin:
  6376. description: 合同保证金
  6377. type: number
  6378. contractno:
  6379. description: 合同编号
  6380. type: string
  6381. contracttype:
  6382. description: 合同类型 1-采购, -1-销售
  6383. type: integer
  6384. convertfactor:
  6385. description: 标仓系数(品类)
  6386. type: number
  6387. createtime:
  6388. description: 创建时间
  6389. type: string
  6390. currencyid:
  6391. description: 币种id
  6392. type: integer
  6393. currencyname:
  6394. description: 币种名称
  6395. type: string
  6396. daikaiamount:
  6397. description: 应收(开)票额
  6398. type: number
  6399. deliveryenddate:
  6400. description: 交割结束日
  6401. type: string
  6402. deliverygoodscode:
  6403. description: 现货品种代码
  6404. type: string
  6405. deliverygoodsid:
  6406. description: 现货商品ID
  6407. type: integer
  6408. deliverygoodsname:
  6409. description: 现货品种名称
  6410. type: string
  6411. deliverystartdate:
  6412. description: 交割开始日
  6413. type: string
  6414. enddate:
  6415. description: 点价结束日
  6416. type: string
  6417. enumdicname:
  6418. description: 单位名称
  6419. type: string
  6420. goodscode:
  6421. description: 点价商品代码
  6422. type: string
  6423. goodsgroupid:
  6424. description: 点价商品组id
  6425. type: integer
  6426. goodsid:
  6427. description: 点价商品ID
  6428. type: integer
  6429. goodsname:
  6430. description: 点价商品名称
  6431. type: string
  6432. invoiceamount:
  6433. description: 已开票额
  6434. type: number
  6435. loanamount:
  6436. description: 贷款总额=已定价额+调整金额
  6437. type: number
  6438. margin:
  6439. description: 保证金
  6440. type: number
  6441. meruserid:
  6442. description: 跟单员id
  6443. type: integer
  6444. meruserlogincode:
  6445. description: 跟单员登录代码
  6446. type: string
  6447. merusername:
  6448. description: 跟单员名称
  6449. type: string
  6450. nickname:
  6451. description: 账户昵称
  6452. type: string
  6453. orireckonrealqty:
  6454. description: 应交收量
  6455. type: number
  6456. payamount:
  6457. description: 已收付额(收款或付款)
  6458. type: number
  6459. preinvoiceamount:
  6460. description: 预收(开)票额
  6461. type: number
  6462. prepayamount:
  6463. description: 预收付额
  6464. type: number
  6465. price:
  6466. description: 价格
  6467. type: number
  6468. pricedamount:
  6469. description: 已定价额
  6470. type: number
  6471. pricedavg:
  6472. description: 已点均价
  6473. type: number
  6474. pricedqty:
  6475. description: 已定价量
  6476. type: number
  6477. pricemove:
  6478. description: 升贴水
  6479. type: number
  6480. pricetype:
  6481. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6482. type: integer
  6483. producttype:
  6484. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6485. type: integer
  6486. qty:
  6487. description: 合同量
  6488. type: number
  6489. reckonadjustamount:
  6490. description: 调整金额
  6491. type: number
  6492. reckonedamount:
  6493. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6494. type: number
  6495. reckonotheramount:
  6496. description: 其它费用
  6497. type: number
  6498. reckonrealqty:
  6499. description: 已交收量
  6500. type: number
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. saleuserid:
  6505. description: 业务员id
  6506. type: integer
  6507. saleuserlogincode:
  6508. description: 业务员登录代码
  6509. type: string
  6510. saleusername:
  6511. description: 业务员名称
  6512. type: string
  6513. spotcontractid:
  6514. description: 合同ID
  6515. type: string
  6516. spotgoodsbrandid:
  6517. description: 现货品牌ID(DGFactoryItem表的ID)
  6518. type: integer
  6519. spotgoodsdesc:
  6520. description: 商品型号(商品规格)
  6521. type: string
  6522. startdate:
  6523. description: 点价开始日
  6524. type: string
  6525. subjectid:
  6526. description: 交易主体ID
  6527. type: integer
  6528. subjectname:
  6529. description: 交易主体名称
  6530. type: string
  6531. totalamount:
  6532. description: 合计总额
  6533. type: number
  6534. tradeuserid:
  6535. description: 交易员id
  6536. type: integer
  6537. tradeuserlogincode:
  6538. description: 交易员登录代码
  6539. type: string
  6540. tradeusername:
  6541. description: 交易员名称
  6542. type: string
  6543. unpayamount:
  6544. description: 应收付款额(应支付或应收款)
  6545. type: number
  6546. unpricedqty:
  6547. description: 未定价量
  6548. type: number
  6549. unsureqty:
  6550. description: 未确定量
  6551. type: number
  6552. userid:
  6553. description: 机构ID
  6554. type: integer
  6555. vatrate:
  6556. description: 增值税率
  6557. type: number
  6558. wrstandardcode:
  6559. description: 品类代码
  6560. type: string
  6561. wrstandardid:
  6562. description: 品类ID
  6563. type: integer
  6564. wrstandardname:
  6565. description: 品类名称
  6566. type: string
  6567. type: object
  6568. models.Ermcp3SpotGoodsPrice:
  6569. properties:
  6570. areauserid:
  6571. description: 所属机构id
  6572. type: integer
  6573. brandname:
  6574. description: 品牌名称
  6575. type: string
  6576. currencyid:
  6577. description: 报价货币ID
  6578. type: integer
  6579. currencyname:
  6580. description: 币种名称
  6581. type: string
  6582. deliverygoodscode:
  6583. description: 现货商品代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货商品id
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 现货商品名称
  6590. type: string
  6591. enumdicname:
  6592. description: 现货商品单位名称
  6593. type: string
  6594. gbenumdicname:
  6595. description: 品类单位名称
  6596. type: string
  6597. gmunitid:
  6598. description: 品类单位id
  6599. type: integer
  6600. isvalid:
  6601. description: 是否有效 - 0:无效 1:有效
  6602. type: integer
  6603. operateid:
  6604. description: 最后操作人
  6605. type: integer
  6606. operatesrc:
  6607. description: 最后操作来源 - 1:管理端 2:终端
  6608. type: integer
  6609. operatetime:
  6610. description: 最后操作时间
  6611. type: string
  6612. operatorname:
  6613. description: 操作人名称
  6614. type: string
  6615. spotgoodsbrandid:
  6616. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6617. type: integer
  6618. spotgoodsprice:
  6619. description: 现货价格
  6620. type: number
  6621. tradedate:
  6622. description: 交易日(yyyyMMdd)
  6623. type: string
  6624. unitid:
  6625. description: 现货商品单位id
  6626. type: integer
  6627. wrstandardcode:
  6628. description: 品类代码
  6629. type: string
  6630. wrstandardid:
  6631. description: 现货品类ID(通用则为0)
  6632. type: integer
  6633. wrstandardname:
  6634. description: 品类名称
  6635. type: string
  6636. type: object
  6637. models.Ermcp3SpotGoodsPriceLog:
  6638. properties:
  6639. areauserid:
  6640. description: 所属机构id
  6641. type: integer
  6642. brandname:
  6643. description: 品牌名称
  6644. type: string
  6645. currencyid:
  6646. description: 报价货币ID
  6647. type: integer
  6648. deliverygoodscode:
  6649. description: 现货商品代码
  6650. type: string
  6651. deliverygoodsid:
  6652. description: 现货商品id
  6653. type: integer
  6654. deliverygoodsname:
  6655. description: 现货商品名称
  6656. type: string
  6657. enumdicname:
  6658. description: 现货商品单位名称
  6659. type: string
  6660. gbenumdicname:
  6661. description: 品类单位名称
  6662. type: string
  6663. gmunitid:
  6664. description: 品类单位id
  6665. type: integer
  6666. logid:
  6667. description: 日志id
  6668. type: integer
  6669. operateid:
  6670. description: 最后操作人
  6671. type: integer
  6672. operatesrc:
  6673. description: 最后操作来源 - 1:管理端 2:终端
  6674. type: integer
  6675. operatetime:
  6676. description: 最后操作时间
  6677. type: string
  6678. operatorname:
  6679. description: 操作人名称
  6680. type: string
  6681. spotgoodsbrandid:
  6682. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6683. type: integer
  6684. spotgoodsprice:
  6685. description: 现货价格
  6686. type: number
  6687. tradedate:
  6688. description: 交易日(yyyyMMdd)
  6689. type: string
  6690. unitid:
  6691. description: 现货商品单位id
  6692. type: integer
  6693. wrstandardcode:
  6694. description: 品类代码
  6695. type: string
  6696. wrstandardid:
  6697. description: 现货品类ID(通用则为0)
  6698. type: integer
  6699. wrstandardname:
  6700. description: 品类名称
  6701. type: string
  6702. type: object
  6703. models.Ermcp3SubTaaccount:
  6704. properties:
  6705. accountid:
  6706. description: 资金账户ID
  6707. type: integer
  6708. parentaccountcode:
  6709. description: 所属根账号代码(母账号代码)
  6710. type: string
  6711. parentaccountid:
  6712. description: 所属根账号(母账号)
  6713. type: integer
  6714. taname:
  6715. description: 资金账号名称
  6716. type: string
  6717. tradestatus:
  6718. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6719. type: integer
  6720. username:
  6721. description: 交易用户
  6722. type: string
  6723. type: object
  6724. models.Ermcp3TaFutuReDataReport:
  6725. properties:
  6726. accountid:
  6727. description: 交易账户
  6728. type: integer
  6729. accountname:
  6730. description: 交易账号名称
  6731. type: string
  6732. agreeunit:
  6733. description: 商品合约单位
  6734. type: number
  6735. begindate:
  6736. description: 开始交易日
  6737. type: string
  6738. buyorsell:
  6739. description: 持仓方向
  6740. type: integer
  6741. charge:
  6742. description: 手续费
  6743. type: number
  6744. closeavgprice:
  6745. description: 平仓均价
  6746. type: number
  6747. closepl:
  6748. description: 平仓损益
  6749. type: number
  6750. currencyid:
  6751. description: 结算币种ID
  6752. type: integer
  6753. currencyname:
  6754. description: 币种名称
  6755. type: string
  6756. cycletime:
  6757. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6758. type: string
  6759. cycletype:
  6760. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6761. type: integer
  6762. enddate:
  6763. description: 结束交易日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. floatpl:
  6769. description: 浮动损益
  6770. type: number
  6771. goodscode:
  6772. description: 交易合约代码
  6773. type: string
  6774. goodsgroupid:
  6775. description: 交易品种
  6776. type: integer
  6777. goodsgroupname:
  6778. description: 交易品种名称
  6779. type: string
  6780. goodsgroupspotqty:
  6781. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6782. type: number
  6783. goodsid:
  6784. description: 交易合约
  6785. type: integer
  6786. goodsname:
  6787. description: 交易合约名称
  6788. type: string
  6789. goodunitid:
  6790. description: 交易合约单位id
  6791. type: integer
  6792. holdamount:
  6793. description: 期末持仓额
  6794. type: number
  6795. holdqty:
  6796. description: 期末持仓量
  6797. type: number
  6798. lastholdamount:
  6799. description: 当前持仓额
  6800. type: number
  6801. lastprice:
  6802. description: 最新价
  6803. type: number
  6804. middlegoodsid:
  6805. description: 套保品种id
  6806. type: integer
  6807. middlegoodsname:
  6808. description: 套保商品名称
  6809. type: string
  6810. middlegoodsqty:
  6811. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6812. type: number
  6813. middlgoodscode:
  6814. description: 套保商品代码
  6815. type: string
  6816. openamount:
  6817. description: 期末开仓额
  6818. type: number
  6819. openavgprice:
  6820. description: 开仓均价
  6821. type: number
  6822. oriholdamount:
  6823. description: 期初持仓额
  6824. type: number
  6825. oriholdqty:
  6826. description: 期初持仓量
  6827. type: number
  6828. oriopenamount:
  6829. description: 期初开仓额
  6830. type: number
  6831. outergroupcode:
  6832. description: 交易品种代码
  6833. type: string
  6834. qtydecimalplace:
  6835. description: 成交量小数位
  6836. type: integer
  6837. reckondate:
  6838. description: 日照时期(yyyyMMdd)
  6839. type: string
  6840. reckonholdamount:
  6841. description: 结算持仓额
  6842. type: number
  6843. reckonpl:
  6844. description: 结算损益
  6845. type: number
  6846. reckonpl2:
  6847. description: 结算逐笔盈亏
  6848. type: number
  6849. reckonprice:
  6850. description: 结算价
  6851. type: number
  6852. relateduserid:
  6853. description: 账户关联用户ID
  6854. type: integer
  6855. todaycloseamount:
  6856. description: 今平仓额
  6857. type: number
  6858. todaycloseqty:
  6859. description: 今平仓量
  6860. type: number
  6861. todaygoodsgroupspotqty:
  6862. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6863. type: number
  6864. todaymiddlegoodsqty:
  6865. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6866. type: number
  6867. todayopenamount:
  6868. description: 今开仓额
  6869. type: number
  6870. todayopenqty:
  6871. description: 今开仓量
  6872. type: number
  6873. userid:
  6874. description: 账户所属用户ID
  6875. type: integer
  6876. type: object
  6877. models.Ermcp3TradeLinkDetail:
  6878. properties:
  6879. accountid:
  6880. description: 资金账号
  6881. type: integer
  6882. agreeunit:
  6883. description: 合约乘数
  6884. type: number
  6885. areauserid:
  6886. description: 所属机构
  6887. type: string
  6888. bizsubjectid:
  6889. description: 归属业务部门ID - SubjectID
  6890. type: string
  6891. buyorsell:
  6892. description: 方向 - 0:买 1:卖
  6893. type: integer
  6894. channelbuildtype:
  6895. description: 委托单据类型 0:无 1:建仓 2:平仓
  6896. type: integer
  6897. contractno:
  6898. description: 现货编号 (合同编号)
  6899. type: string
  6900. convertratio:
  6901. description: 折算系数
  6902. type: number
  6903. createtime:
  6904. description: 关联时间 | 创建时间
  6905. type: string
  6906. creatorid:
  6907. description: 创建人ID
  6908. type: string
  6909. creatorsrc:
  6910. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6911. type: integer
  6912. enumdicname:
  6913. description: 单位名称
  6914. type: string
  6915. goodscode:
  6916. description: 合约代码
  6917. type: string
  6918. goodsgroupid:
  6919. description: 对冲品种ID[期货合约商品组ID]
  6920. type: integer
  6921. goodsid:
  6922. description: 商品ID
  6923. type: integer
  6924. goodsname:
  6925. description: 合约名称
  6926. type: string
  6927. hedgeflag:
  6928. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6929. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6930. type: integer
  6931. linkdetailid:
  6932. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6933. type: string
  6934. linkstatus:
  6935. description: 关联状态 - 1:成功 2:失败 3:解绑
  6936. type: integer
  6937. middlegoodscode:
  6938. description: 套保品种代码
  6939. type: string
  6940. middlegoodsid:
  6941. description: 套保品种ID
  6942. type: integer
  6943. middlegoodsname:
  6944. description: 套保品种名称
  6945. type: string
  6946. relatedlot:
  6947. description: 关联手数
  6948. type: number
  6949. relatedmode:
  6950. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6951. type: integer
  6952. relatedqty:
  6953. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6954. type: number
  6955. retcode:
  6956. description: 返回码
  6957. type: integer
  6958. saleuserid:
  6959. description: 业务员ID
  6960. type: string
  6961. spotcontractid:
  6962. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6963. type: string
  6964. taname:
  6965. description: 期货账户
  6966. type: string
  6967. tradedate:
  6968. description: 关联交易日(yyyyMMdd)
  6969. type: string
  6970. tradeid:
  6971. description: 期货订单号 | 内部成交单ID
  6972. type: string
  6973. tradelot:
  6974. description: 成交数量 | 成交手数
  6975. type: integer
  6976. tradeprice:
  6977. description: 成交价格
  6978. type: number
  6979. tradetime:
  6980. description: 期货成交时间
  6981. type: string
  6982. tradetradedate:
  6983. description: 成交交易日(yyyyMMdd)
  6984. type: string
  6985. username:
  6986. description: 用户名称
  6987. type: string
  6988. type: object
  6989. models.Ermcp3Wrstandard:
  6990. properties:
  6991. areauserid:
  6992. description: 所属机构
  6993. type: integer
  6994. cantrade:
  6995. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6996. type: integer
  6997. convertfactor:
  6998. description: 标仓系数
  6999. type: number
  7000. createtime:
  7001. description: 创建时间
  7002. type: string
  7003. creatorid:
  7004. description: 创建人
  7005. type: integer
  7006. deliverygoodsid:
  7007. description: 现货品种ID
  7008. type: integer
  7009. enumdicname:
  7010. description: 品类单位名称
  7011. type: string
  7012. isvalid:
  7013. description: 是否有效 0-无效(停用) 1-有效(正常)
  7014. type: integer
  7015. minivalue:
  7016. description: 最小变动值
  7017. type: integer
  7018. minivaluedp:
  7019. description: 最小变动值小数位
  7020. type: integer
  7021. realminivalue:
  7022. description: 实际最小变动值
  7023. type: integer
  7024. realminivaluedp:
  7025. description: 实际最小变动值小数位
  7026. type: integer
  7027. remark:
  7028. description: 备注
  7029. type: string
  7030. unitid:
  7031. description: 品类单位ID
  7032. type: integer
  7033. updatetime:
  7034. description: 更新时间
  7035. type: string
  7036. wrstandardcode:
  7037. description: 品类代码
  7038. type: string
  7039. wrstandardid:
  7040. description: 品类ID(SEQ_WRSTANDARD)
  7041. type: integer
  7042. wrstandardname:
  7043. description: 品类名称
  7044. type: string
  7045. type: object
  7046. models.ErmcpBizGroupEx:
  7047. properties:
  7048. acclist:
  7049. description: 账号列表
  7050. items:
  7051. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7052. type: array
  7053. bizgroupid:
  7054. description: 业务分组id
  7055. type: integer
  7056. biztype:
  7057. description: 业务类型 1-套保 2-套利
  7058. type: integer
  7059. wrlist:
  7060. description: 现货商品表
  7061. items:
  7062. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7063. type: array
  7064. type: object
  7065. models.ErmcpBizGroupSpotGoods:
  7066. properties:
  7067. areauserid:
  7068. description: 所属机构id
  7069. type: integer
  7070. bizgroupid:
  7071. description: 分组id
  7072. type: integer
  7073. biztype:
  7074. description: 业务类型 1-套保 2-套利
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货商品代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货商品id
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货商品名称
  7084. type: string
  7085. unitid:
  7086. description: 现货商品单位id
  7087. type: integer
  7088. type: object
  7089. models.ErmcpBizGroupTaAccount:
  7090. properties:
  7091. accountid:
  7092. description: 账号id
  7093. type: integer
  7094. accountname:
  7095. description: 账号名称
  7096. type: string
  7097. areauserid:
  7098. description: 所属机构id
  7099. type: integer
  7100. bizgroupid:
  7101. description: 业务分组id
  7102. type: integer
  7103. ismain:
  7104. description: 是否主账号 1-是 0-否
  7105. type: integer
  7106. type: object
  7107. models.ErmcpDGFactoryItem:
  7108. properties:
  7109. areauserid:
  7110. description: 用户id
  7111. type: integer
  7112. deliverygoodsid:
  7113. description: 现货品种ID
  7114. type: integer
  7115. dgfactoryitemid:
  7116. description: 选择项ID(SEQ_DGFACTORYITEM)
  7117. type: integer
  7118. dgfactoryitemtypeid:
  7119. description: 要素项类型
  7120. type: integer
  7121. dgfactoryitemvalue:
  7122. description: 要素项值(类型为仓库时填写仓库名称)
  7123. type: string
  7124. isvalid:
  7125. description: 是否有效 - 0:无效 1:有效
  7126. type: integer
  7127. orderindex:
  7128. description: 顺序
  7129. type: integer
  7130. warehouseid:
  7131. description: 仓库ID(类型为仓库时填写)
  7132. type: integer
  7133. type: object
  7134. models.ErmcpDeliveryGoods:
  7135. properties:
  7136. agreeunit:
  7137. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7138. type: integer
  7139. areauserid:
  7140. description: 所属机构
  7141. type: integer
  7142. auditflag:
  7143. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7144. type: integer
  7145. categoryid:
  7146. description: 类别ID(SEQ_WRCATEGORY)
  7147. type: integer
  7148. deliverygoodscode:
  7149. description: 现货品种代码
  7150. type: string
  7151. deliverygoodsid:
  7152. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7153. type: integer
  7154. deliverygoodsname:
  7155. description: 现货品种名称
  7156. type: string
  7157. deliverygoodstype:
  7158. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7159. type: integer
  7160. dgstatus:
  7161. description: 品种状态 - 作废 - 0:未激活 1:正常
  7162. type: integer
  7163. enumdicname:
  7164. description: 现货品种单位名称
  7165. type: string
  7166. goodsunitid:
  7167. description: 现货品种单位ID
  7168. type: integer
  7169. isvalid:
  7170. description: 是否有效 - 0:无效 1:有效
  7171. type: integer
  7172. qtydecimalplace:
  7173. description: 成交量小数位
  7174. type: integer
  7175. remark:
  7176. description: 备注
  7177. type: string
  7178. standardqty:
  7179. description: 标准数量(库位数量) [标准品特有]
  7180. type: integer
  7181. standardqtyrange:
  7182. description: 标准数量偏差范围 [标准品特有]
  7183. type: integer
  7184. type: object
  7185. models.ErmcpFuturesCompany:
  7186. properties:
  7187. brokerid:
  7188. description: 经纪公司代码
  7189. type: string
  7190. channeladdress:
  7191. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7192. type: string
  7193. channelid:
  7194. description: 对冲渠道ID
  7195. type: string
  7196. createtime:
  7197. description: 创建时间
  7198. type: string
  7199. creatorid:
  7200. description: 创建人
  7201. type: string
  7202. fcid:
  7203. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7204. type: integer
  7205. fcname:
  7206. description: 期货公司名称
  7207. type: string
  7208. isvalid:
  7209. description: 是否有效 - 0:无效 1:有效
  7210. type: integer
  7211. mhpaddress:
  7212. description: MHP服务地址(IP:Port)
  7213. type: string
  7214. riskrulegroupid:
  7215. description: 风控规则组ID
  7216. type: string
  7217. tradefeetmpid:
  7218. description: 手续费模板ID[TradeConfigTmpType为2]
  7219. type: string
  7220. trademargintmpid:
  7221. description: 保证金模板ID [TradeConfigTmpType为1]
  7222. type: string
  7223. traderatetmpid:
  7224. description: 汇率模板ID[TradeConfigTmpType为3]
  7225. type: string
  7226. updatetime:
  7227. description: 更新时间
  7228. type: string
  7229. updatorid:
  7230. description: 更新人
  7231. type: string
  7232. type: object
  7233. models.ErmcpGGConvertCfg:
  7234. properties:
  7235. convertratio:
  7236. description: 折算系数
  7237. type: number
  7238. destgoodsgroupid:
  7239. description: 目标品种ID
  7240. type: integer
  7241. dstcode:
  7242. description: 目录品种代码
  7243. type: string
  7244. dstexchangecode:
  7245. description: 目标期货交易所
  7246. type: string
  7247. dstname:
  7248. description: 目标品种名称
  7249. type: string
  7250. dstunitid:
  7251. description: 目标品种单位ID
  7252. type: integer
  7253. dstunitidname:
  7254. description: 目标品种单位名称
  7255. type: string
  7256. modifytime:
  7257. description: 修改时间
  7258. type: string
  7259. srccode:
  7260. description: 源品种代码
  7261. type: string
  7262. srcexchangecode:
  7263. description: 源期货交易所
  7264. type: string
  7265. srcgoodsgroupid:
  7266. description: 源品种ID
  7267. type: integer
  7268. srcname:
  7269. description: 源品种名称
  7270. type: string
  7271. srcunitid:
  7272. description: 源品种单位ID
  7273. type: integer
  7274. srcunitidname:
  7275. description: 源品种单位名称
  7276. type: string
  7277. type: object
  7278. models.ErmcpGoods:
  7279. properties:
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. areauserid:
  7284. description: 所属机构
  7285. type: integer
  7286. auditaccountid:
  7287. description: 审核操作员账号
  7288. type: integer
  7289. audittime:
  7290. description: 审核时间
  7291. type: string
  7292. cancelaccountid:
  7293. description: 注销操作员账号
  7294. type: integer
  7295. canceltime:
  7296. description: 注销时间
  7297. type: string
  7298. closepricemode:
  7299. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7300. type: integer
  7301. closepriceparam:
  7302. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7303. type: number
  7304. createtime:
  7305. description: 创建时间
  7306. type: string
  7307. creatorid:
  7308. description: 创建人
  7309. type: integer
  7310. currencyid:
  7311. description: 报价货币ID
  7312. type: integer
  7313. cutmode:
  7314. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7315. type: integer
  7316. decimalplace:
  7317. description: 报价小数位
  7318. type: integer
  7319. delistingdate:
  7320. description: 商品退市时间(状态:退市) -- 已作废
  7321. type: string
  7322. delistingmode:
  7323. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7324. type: integer
  7325. deliveryflag:
  7326. description: 交割标志 - 0:不可交割 1:可交割
  7327. type: integer
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. forceclosemode:
  7332. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7333. type: integer
  7334. forceclosevalue:
  7335. description: 定期强平参数 [收益权]
  7336. type: integer
  7337. goodscode:
  7338. description: 商品代码(内部)
  7339. type: string
  7340. goodscurrencyid:
  7341. description: 合约货币ID
  7342. type: integer
  7343. goodsgroupid:
  7344. description: 所属商品组ID
  7345. type: integer
  7346. goodsid:
  7347. description: 商品ID(自增ID SEQ_GOODS)
  7348. type: integer
  7349. goodsname:
  7350. description: 商品名称
  7351. type: string
  7352. goodsquotetype:
  7353. description: '合约报价类型: 1-直接报价 2-间接报价'
  7354. type: integer
  7355. goodsstatus:
  7356. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7357. type: integer
  7358. goodstradetype:
  7359. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7360. type: integer
  7361. goodunitid:
  7362. description: 报价单位ID
  7363. type: integer
  7364. hasquoter:
  7365. description: 是否有报价商 - 0:无报价商 1:有报价商
  7366. type: integer
  7367. hqprotecttime:
  7368. description: 行情保护时间(秒)
  7369. type: integer
  7370. innerdealmode:
  7371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7372. type: integer
  7373. isbuylimited:
  7374. description: 是否限制建仓量 - 0:不限制 1:限制
  7375. type: integer
  7376. isvisible:
  7377. description: 游客是否可见 - 0:不可见 1:可见
  7378. type: integer
  7379. lasttradedate:
  7380. description: 最后交易日期(状态:待退市)
  7381. type: string
  7382. listingdate:
  7383. description: 交易开始日期
  7384. type: string
  7385. marketid:
  7386. description: 所属市场ID
  7387. type: integer
  7388. modifierid:
  7389. description: 修改人
  7390. type: integer
  7391. modifystatus:
  7392. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7393. type: integer
  7394. modifytime:
  7395. description: 修改时间
  7396. type: string
  7397. outerdealmode:
  7398. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. outgoodscode:
  7401. description: 商品代码(外部)
  7402. type: string
  7403. pictureurl:
  7404. description: 商品图片
  7405. type: string
  7406. qtydecimalplace:
  7407. description: 成交量小数位
  7408. type: integer
  7409. quotegear:
  7410. description: 行情档位(1-10)
  7411. type: integer
  7412. quoteminunit:
  7413. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7414. type: integer
  7415. quoteshowtype:
  7416. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7417. type: integer
  7418. quoteshowtypeinterval:
  7419. description: 行情报价间隔时间(秒)(成交价时为0)
  7420. type: integer
  7421. relatedgoodsid:
  7422. description: 关联参考商品ID
  7423. type: integer
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. trademode:
  7428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7429. 21:竞拍-大宗式 22:受托竞价
  7430. type: integer
  7431. required:
  7432. - goodscode
  7433. - goodsid
  7434. - goodsname
  7435. - marketid
  7436. type: object
  7437. models.ErmcpGoodsBrand:
  7438. properties:
  7439. areauserid:
  7440. description: 所属机构
  7441. type: integer
  7442. brandid:
  7443. description: BrandID(SEQ_SPOTGOODSBRAND)
  7444. type: integer
  7445. brandname:
  7446. description: 品牌名称
  7447. type: string
  7448. createtime:
  7449. description: 创建时间
  7450. type: string
  7451. creatorid:
  7452. description: 创建人
  7453. type: integer
  7454. creatorsrc:
  7455. description: 创建人来源 - 1:管理端 2:终端
  7456. type: integer
  7457. deliverygoodsid:
  7458. description: 现货品种ID
  7459. type: integer
  7460. isvalid:
  7461. description: 是否有效 - 0:无效 1:有效
  7462. type: integer
  7463. updatetime:
  7464. description: 更新时间
  7465. type: string
  7466. updatorid:
  7467. description: 更新人
  7468. type: integer
  7469. updatorsrc:
  7470. description: 更新人来源 - 1:管理端 2:终端
  7471. type: integer
  7472. wrstandardid:
  7473. description: 现货商品ID
  7474. type: integer
  7475. type: object
  7476. models.ErmcpGoodsModel:
  7477. properties:
  7478. areauserid:
  7479. description: 所属机构
  7480. type: integer
  7481. convertfactor:
  7482. description: 标仓系数
  7483. type: number
  7484. createtime:
  7485. description: 创建时间
  7486. type: string
  7487. creatorid:
  7488. description: 创建人
  7489. type: integer
  7490. creatorsrc:
  7491. description: 创建人来源 - 1:管理端 2:终端
  7492. type: integer
  7493. deliverygoodsid:
  7494. description: 现货品种ID
  7495. type: integer
  7496. isvalid:
  7497. description: 是否有效 - 0:无效 1:有效
  7498. type: integer
  7499. modelid:
  7500. description: ModelID(SEQ_SPOTGOODSMODEL)
  7501. type: integer
  7502. modelname:
  7503. description: 型号名称
  7504. type: string
  7505. updatetime:
  7506. description: 更新时间
  7507. type: string
  7508. updatorid:
  7509. description: 更新人
  7510. type: integer
  7511. updatorsrc:
  7512. description: 更新人来源 - 1:管理端 2:终端
  7513. type: integer
  7514. wrstandardid:
  7515. description: 现货商品ID
  7516. type: integer
  7517. type: object
  7518. models.ErmcpHisExposure:
  7519. properties:
  7520. needhedgeexposoure:
  7521. description: 应套保敞口
  7522. type: number
  7523. reckondate:
  7524. description: 日照时期(yyyyMMdd)
  7525. type: string
  7526. totalexposure:
  7527. description: 总敞口
  7528. type: number
  7529. type: object
  7530. models.ErmcpLoginTaAccount:
  7531. properties:
  7532. accountid:
  7533. description: 账号id
  7534. type: integer
  7535. accountname:
  7536. description: 账号名称
  7537. type: string
  7538. type: object
  7539. models.ErmcpLoginUser:
  7540. properties:
  7541. acclist:
  7542. description: 关联资金账号
  7543. items:
  7544. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7545. type: array
  7546. accountname:
  7547. description: 用户名称
  7548. type: string
  7549. clientroleid:
  7550. description: 角色id(usertype=2)
  7551. type: integer
  7552. createtime:
  7553. description: 创建时间
  7554. type: string
  7555. logincode:
  7556. description: 登录代码
  7557. type: string
  7558. loginid:
  7559. description: 登录id(LOGINID)
  7560. type: integer
  7561. loginname:
  7562. description: 登录名称(loginaccount表中的accountname字段)
  7563. type: string
  7564. loginstatus:
  7565. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7566. type: integer
  7567. memberuserid:
  7568. description: 所属会员id
  7569. type: integer
  7570. mobile:
  7571. description: 手机号
  7572. type: string
  7573. modifytime:
  7574. description: 修改时间
  7575. type: string
  7576. password:
  7577. description: 密码(不可解密)
  7578. type: string
  7579. rolename:
  7580. description: 角色名称
  7581. type: string
  7582. rolestatus:
  7583. description: 角色状态 1-启用 2-停用
  7584. type: integer
  7585. roletype:
  7586. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7587. type: string
  7588. userid:
  7589. description: 用户id
  7590. type: integer
  7591. usertype:
  7592. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpLoginUserEx:
  7596. properties:
  7597. accountstatus:
  7598. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7599. type: integer
  7600. mobile:
  7601. description: 手机号
  7602. type: string
  7603. querytype:
  7604. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7605. type: integer
  7606. roleid:
  7607. description: 角色id(交易账户->用户id)
  7608. type: integer
  7609. rolename:
  7610. description: 角色名称(交易账户->用户名称)
  7611. type: string
  7612. userlist:
  7613. description: 用户列表
  7614. items:
  7615. $ref: '#/definitions/models.ErmcpLoginUser'
  7616. type: array
  7617. usertype:
  7618. description: 用户类型 2-机构 7-企业成员(云平台)
  7619. type: integer
  7620. type: object
  7621. models.ErmcpMiddleGoodsModel:
  7622. properties:
  7623. areauserid:
  7624. description: 机构用户ID
  7625. type: integer
  7626. createtime:
  7627. description: 修改时间
  7628. type: string
  7629. enumdicname:
  7630. description: 单位名称
  7631. type: string
  7632. evaluateratio:
  7633. description: 估价系数
  7634. type: number
  7635. goodsgroupid:
  7636. description: 关联期货品种ID
  7637. type: integer
  7638. goodsunitid:
  7639. description: 单位ID
  7640. type: integer
  7641. isvalid:
  7642. description: 状态 0-无效(停用) 1-有效(正常)
  7643. type: integer
  7644. middlegoodscode:
  7645. description: 套保品种代码
  7646. type: string
  7647. middlegoodsid:
  7648. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保品种名称
  7652. type: string
  7653. modifytime:
  7654. description: 修改时间
  7655. type: string
  7656. needarbitrageratio:
  7657. description: 套利比例
  7658. type: number
  7659. needhedgeratio:
  7660. description: 套保比率
  7661. type: number
  7662. qtydecimalplace:
  7663. description: 数量小数位
  7664. type: integer
  7665. relatedgoodsid:
  7666. description: 关联交易商品ID
  7667. type: integer
  7668. relatedgoodstype:
  7669. description: 关联商品类型 - 1:期货合约 2:现货品种
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. type: object
  7675. models.ErmcpMiddlegoodsRelateGoods:
  7676. properties:
  7677. agreeunit:
  7678. description: 合约乘数
  7679. type: number
  7680. convertratio:
  7681. description: 折算系数
  7682. type: number
  7683. enumdicname:
  7684. description: 单位名称(交易商品)
  7685. type: string
  7686. goodscode:
  7687. description: 交易商品代码
  7688. type: string
  7689. goodsgroupid:
  7690. description: 交易品种id
  7691. type: integer
  7692. goodsid:
  7693. description: 商品Id
  7694. type: integer
  7695. goodsname:
  7696. description: 交易商品名称
  7697. type: string
  7698. goodunitid:
  7699. description: 交易商品单位id
  7700. type: integer
  7701. middlegoodsid:
  7702. description: 套保商品id
  7703. type: integer
  7704. middlegoodsname:
  7705. description: 套保商品名称
  7706. type: string
  7707. middlegoodsswcode:
  7708. description: 套保商品代码
  7709. type: string
  7710. needarbitrageratio:
  7711. description: 应套利比例
  7712. type: number
  7713. needhedgeratio:
  7714. description: 应套保比例
  7715. type: number
  7716. type: object
  7717. models.ErmcpRole:
  7718. properties:
  7719. areauserid:
  7720. description: 所属机构
  7721. type: integer
  7722. autoid:
  7723. description: 角色ID(自增ID)
  7724. type: integer
  7725. modifierid:
  7726. description: 修改人(创建人)
  7727. type: integer
  7728. modifiername:
  7729. description: 修改人名称
  7730. type: string
  7731. modifytime:
  7732. description: 修改时间(创建时间)
  7733. type: string
  7734. rolename:
  7735. description: 角色名称
  7736. type: string
  7737. rolestatus:
  7738. description: 角色状态 - 1:启用 2:停用
  7739. type: integer
  7740. roletype:
  7741. description: 角色类型 - 1- 管理端 2- 交易端
  7742. type: integer
  7743. type: object
  7744. models.ErmcpRoleMenu:
  7745. properties:
  7746. iconame:
  7747. description: 菜单图标
  7748. type: string
  7749. ishadrole:
  7750. description: 是否有权限
  7751. type: boolean
  7752. menutype:
  7753. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7754. type: integer
  7755. parentcode:
  7756. description: 上级资源代码
  7757. type: string
  7758. remark:
  7759. description: 菜单备注
  7760. type: string
  7761. resourcecode:
  7762. description: 菜单代码
  7763. type: string
  7764. resourcelevel:
  7765. description: 级别
  7766. type: integer
  7767. resourcename:
  7768. description: 菜单名称
  7769. type: string
  7770. roleid:
  7771. description: 角色id
  7772. type: integer
  7773. sort:
  7774. description: 排序
  7775. type: integer
  7776. url:
  7777. description: URL
  7778. type: string
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpRoleMenuEx:
  7784. properties:
  7785. menu:
  7786. $ref: '#/definitions/models.ErmcpRoleMenu'
  7787. description: 父级菜单
  7788. subMenu:
  7789. description: 子级菜单
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccount:
  7795. properties:
  7796. accountid:
  7797. description: 账户id
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. currencyid:
  7803. description: 币种id
  7804. type: integer
  7805. hedgeaccountcode:
  7806. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7807. type: string
  7808. ismain:
  7809. description: 是否主账户 0-否 1-是
  7810. type: integer
  7811. parentaccountid:
  7812. description: 父账户id
  7813. type: integer
  7814. relateduserid:
  7815. description: 关联userid
  7816. type: integer
  7817. tradefeetmpid:
  7818. description: 手续费模板id
  7819. type: integer
  7820. tradefeetmpname:
  7821. description: 手续费模板名称
  7822. type: string
  7823. trademargintmpid:
  7824. description: 保证金模板id
  7825. type: integer
  7826. trademargintmpname:
  7827. description: 保证金模板名称
  7828. type: string
  7829. traderatetmpid:
  7830. description: 汇率模板id
  7831. type: integer
  7832. traderatetmpname:
  7833. description: 汇率模板名称
  7834. type: string
  7835. tradestatus:
  7836. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7837. type: integer
  7838. userid:
  7839. description: 用户id
  7840. type: integer
  7841. type: object
  7842. models.ErmcpTaAccountEx:
  7843. properties:
  7844. mainAcc:
  7845. $ref: '#/definitions/models.ErmcpTaAccountM'
  7846. description: 主账号
  7847. subacclist:
  7848. description: 子账号列表
  7849. items:
  7850. $ref: '#/definitions/models.ErmcpTaAccount'
  7851. type: array
  7852. type: object
  7853. models.ErmcpTaAccountInfo:
  7854. properties:
  7855. accountid:
  7856. description: 资金账户ID
  7857. type: integer
  7858. accountname:
  7859. description: 账户名称
  7860. type: string
  7861. balance:
  7862. description: 期初余额
  7863. type: number
  7864. capitalbalance:
  7865. description: 本金余额[外部子账户实际出入金余额]
  7866. type: number
  7867. closepl:
  7868. description: 今日平仓盈亏
  7869. type: number
  7870. creditdecrease:
  7871. description: 今日授信减少
  7872. type: number
  7873. creditincrease:
  7874. description: 今日授信增加
  7875. type: number
  7876. curdebt:
  7877. description: 期末欠款
  7878. type: number
  7879. currencyid:
  7880. description: 货币ID
  7881. type: integer
  7882. currentbalance:
  7883. description: 期末余额
  7884. type: number
  7885. freezecharge:
  7886. description: 手续费冻结
  7887. type: number
  7888. freezemargin:
  7889. description: 冻结保证金
  7890. type: number
  7891. fromaccountid:
  7892. description: 所属上级账户
  7893. type: integer
  7894. inamount:
  7895. description: 今日入金金额(包括三方入金)
  7896. type: number
  7897. ismain:
  7898. description: 是否母账号 0:不是母账户 1:是母账户
  7899. type: integer
  7900. mortgagecredit:
  7901. description: 授信金额
  7902. type: number
  7903. oridebt:
  7904. description: 期初欠款
  7905. type: number
  7906. orifreezecharge:
  7907. description: 期初手续费冻结
  7908. type: number
  7909. orifreezemargin:
  7910. description: 期初冻结保证金
  7911. type: number
  7912. orimortgagecredit:
  7913. description: 期初授信金额
  7914. type: number
  7915. oriothercredit:
  7916. description: 期初其它授信金额
  7917. type: number
  7918. oriotherfreezemargin:
  7919. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7920. type: number
  7921. orioutamountfreeze:
  7922. description: 期初出金冻结
  7923. type: number
  7924. oriusedmargin:
  7925. description: 期初占用保证金
  7926. type: number
  7927. othercredit:
  7928. description: 其它授信金额
  7929. type: number
  7930. othercreditdecrease:
  7931. description: 今日其它授信减少
  7932. type: number
  7933. othercreditincrease:
  7934. description: 今日其它授信增加
  7935. type: number
  7936. otherfreezemargin:
  7937. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7938. type: number
  7939. outamount:
  7940. description: 今日出金金额(包括三方出金)
  7941. type: number
  7942. outamountfreeze:
  7943. description: 出金冻结
  7944. type: number
  7945. outthreshold:
  7946. description: 出金阈值
  7947. type: number
  7948. parentaccountid:
  7949. description: 所属根账号
  7950. type: integer
  7951. paycharge:
  7952. description: 今日手续费支出
  7953. type: number
  7954. relateduserid:
  7955. description: 关联用户
  7956. type: integer
  7957. signstatus:
  7958. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7959. type: integer
  7960. sublevelpath:
  7961. description: 账号层级路径(逗号分隔,首尾加逗号)
  7962. type: string
  7963. taaccounttype:
  7964. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7965. type: integer
  7966. thirdinamount:
  7967. description: 今日三方入金
  7968. type: number
  7969. thirdoutamount:
  7970. description: 今日三方出金
  7971. type: number
  7972. tradestatus:
  7973. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7974. type: integer
  7975. transferamount:
  7976. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7977. type: number
  7978. usedmargin:
  7979. description: 占用保证金
  7980. type: number
  7981. userid:
  7982. description: 用户ID
  7983. type: integer
  7984. type: object
  7985. models.ErmcpTaAccountM:
  7986. properties:
  7987. accountid:
  7988. description: 账户id
  7989. type: integer
  7990. accountname:
  7991. description: 账户名称
  7992. type: string
  7993. currencyid:
  7994. description: 币种id
  7995. type: integer
  7996. fcid:
  7997. description: 期货公司id
  7998. type: integer
  7999. fcname:
  8000. description: 期货公司代码
  8001. type: string
  8002. hedgeaccountcode:
  8003. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8004. type: string
  8005. ismain:
  8006. description: 是否主账户 0-否 1-是
  8007. type: integer
  8008. parentaccountid:
  8009. description: 父账户id
  8010. type: integer
  8011. relateduserid:
  8012. description: 关联userid
  8013. type: integer
  8014. tradefeetmpid:
  8015. description: 手续费模板id
  8016. type: integer
  8017. tradefeetmpname:
  8018. description: 手续费模板名称
  8019. type: string
  8020. trademargintmpid:
  8021. description: 保证金模板id
  8022. type: integer
  8023. trademargintmpname:
  8024. description: 保证金模板名称
  8025. type: string
  8026. traderatetmpid:
  8027. description: 汇率模板id
  8028. type: integer
  8029. traderatetmpname:
  8030. description: 汇率模板名称
  8031. type: string
  8032. tradestatus:
  8033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8034. type: integer
  8035. userid:
  8036. description: 用户id
  8037. type: integer
  8038. type: object
  8039. models.ErmcpTradeConfigTMP:
  8040. properties:
  8041. areauserid:
  8042. description: 所属机构
  8043. type: integer
  8044. basiccurrencyid:
  8045. description: 基本币种ID[汇率] - 目标币种
  8046. type: integer
  8047. mainaccountid:
  8048. description: 主账户ID
  8049. type: integer
  8050. modifierid:
  8051. description: 修改人
  8052. type: integer
  8053. remark:
  8054. description: 备注
  8055. type: string
  8056. tradeconfigtmpid:
  8057. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8058. type: integer
  8059. tradeconfigtmpname:
  8060. description: 交易配置模板名称
  8061. type: string
  8062. tradeconfigtmptype:
  8063. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8064. type: integer
  8065. updatetime:
  8066. description: 更新时间
  8067. type: string
  8068. type: object
  8069. models.Externalexchange:
  8070. properties:
  8071. autoid:
  8072. description: AutoID - SEQ_EXTERNALEXCHANGE
  8073. type: integer
  8074. exchangefullname:
  8075. description: 外部交易所全称
  8076. type: string
  8077. exexchangecode:
  8078. description: 外部交易所代码
  8079. type: string
  8080. exexchangename:
  8081. description: 外部交易所名称(简称)
  8082. type: string
  8083. ismarketprice:
  8084. description: 是否支持市价 - 0:不支持 1:支持
  8085. type: integer
  8086. quotegear:
  8087. description: 行情档位(1-10)
  8088. type: integer
  8089. showbrokerflag:
  8090. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8091. type: integer
  8092. updatetime:
  8093. description: 更新时间
  8094. type: string
  8095. required:
  8096. - autoid
  8097. type: object
  8098. models.Funcmenulist:
  8099. properties:
  8100. iconame:
  8101. description: 菜单图标
  8102. type: string
  8103. menutype:
  8104. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8105. type: integer
  8106. parentcode:
  8107. description: 上级资源代码
  8108. type: string
  8109. remark:
  8110. description: 备注
  8111. type: string
  8112. resourcecode:
  8113. description: 资源代码
  8114. type: string
  8115. resourcelevel:
  8116. description: 级别 1-一级 2-二级 3-三级 4-四级
  8117. type: integer
  8118. resourcename:
  8119. description: 资源名
  8120. type: string
  8121. sort:
  8122. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. required:
  8128. - resourcecode
  8129. type: object
  8130. models.Goods:
  8131. properties:
  8132. agreeunit:
  8133. description: 合约单位
  8134. type: number
  8135. areauserid:
  8136. description: 所属机构
  8137. type: integer
  8138. auditaccountid:
  8139. description: 审核操作员账号
  8140. type: integer
  8141. audittime:
  8142. description: 审核时间
  8143. type: string
  8144. cancelaccountid:
  8145. description: 注销操作员账号
  8146. type: integer
  8147. canceltime:
  8148. description: 注销时间
  8149. type: string
  8150. closepricemode:
  8151. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8152. type: integer
  8153. closepriceparam:
  8154. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8155. type: number
  8156. createtime:
  8157. description: 创建时间
  8158. type: string
  8159. creatorid:
  8160. description: 创建人
  8161. type: integer
  8162. currencyid:
  8163. description: 报价货币ID
  8164. type: integer
  8165. cutmode:
  8166. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8167. type: integer
  8168. decimalplace:
  8169. description: 报价小数位
  8170. type: integer
  8171. delistingdate:
  8172. description: 商品退市时间(状态:退市) -- 已作废
  8173. type: string
  8174. delistingmode:
  8175. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8176. type: integer
  8177. deliveryflag:
  8178. description: 交割标志 - 0:不可交割 1:可交割
  8179. type: integer
  8180. forceclosemode:
  8181. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8182. type: integer
  8183. forceclosevalue:
  8184. description: 定期强平参数 [收益权]
  8185. type: integer
  8186. goodscode:
  8187. description: 商品代码(内部)
  8188. type: string
  8189. goodscurrencyid:
  8190. description: 合约货币ID
  8191. type: integer
  8192. goodsgroupid:
  8193. description: 所属商品组ID
  8194. type: integer
  8195. goodsid:
  8196. description: 商品ID(自增ID SEQ_GOODS)
  8197. type: integer
  8198. goodsname:
  8199. description: 商品名称
  8200. type: string
  8201. goodsquotetype:
  8202. description: '合约报价类型: 1-直接报价 2-间接报价'
  8203. type: integer
  8204. goodsstatus:
  8205. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8206. type: integer
  8207. goodstradetype:
  8208. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8209. type: integer
  8210. goodunitid:
  8211. description: 报价单位ID
  8212. type: integer
  8213. hasquoter:
  8214. description: 是否有报价商 - 0:无报价商 1:有报价商
  8215. type: integer
  8216. hqprotecttime:
  8217. description: 行情保护时间(秒)
  8218. type: integer
  8219. innerdealmode:
  8220. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8221. type: integer
  8222. isbuylimited:
  8223. description: 是否限制建仓量 - 0:不限制 1:限制
  8224. type: integer
  8225. isvisible:
  8226. description: 游客是否可见 - 0:不可见 1:可见
  8227. type: integer
  8228. lasttradedate:
  8229. description: 最后交易日期(状态:待退市)
  8230. type: string
  8231. listingdate:
  8232. description: 交易开始日期
  8233. type: string
  8234. marketid:
  8235. description: 所属市场ID
  8236. type: integer
  8237. modifierid:
  8238. description: 修改人
  8239. type: integer
  8240. modifystatus:
  8241. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8242. type: integer
  8243. modifytime:
  8244. description: 修改时间
  8245. type: string
  8246. outerdealmode:
  8247. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8248. type: integer
  8249. outgoodscode:
  8250. description: 商品代码(外部)
  8251. type: string
  8252. pictureurl:
  8253. description: 商品图片
  8254. type: string
  8255. qtydecimalplace:
  8256. description: 成交量小数位
  8257. type: integer
  8258. quotegear:
  8259. description: 行情档位(1-10)
  8260. type: integer
  8261. quoteminunit:
  8262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8263. type: integer
  8264. quoteshowtype:
  8265. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8266. type: integer
  8267. quoteshowtypeinterval:
  8268. description: 行情报价间隔时间(秒)(成交价时为0)
  8269. type: integer
  8270. remark:
  8271. description: 备注
  8272. type: string
  8273. required:
  8274. - goodscode
  8275. - goodsid
  8276. - goodsname
  8277. - marketid
  8278. type: object
  8279. models.GoodsIDAndName:
  8280. properties:
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsid:
  8285. description: 商品ID(自增ID SEQ_GOODS)
  8286. type: integer
  8287. goodsname:
  8288. description: 商品名称
  8289. type: string
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. required:
  8294. - goodscode
  8295. - goodsid
  8296. - goodsname
  8297. - marketid
  8298. type: object
  8299. models.Goodsgroup:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. canshort:
  8305. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8306. type: integer
  8307. closepricemode:
  8308. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8309. type: integer
  8310. closepriceparam:
  8311. description: 强平最新价浮动比例 - 方式为2时使用
  8312. type: number
  8313. createtime:
  8314. description: 创建时间
  8315. type: string
  8316. creatorid:
  8317. description: 创建人
  8318. type: integer
  8319. currencyid:
  8320. description: 报价货币ID
  8321. type: integer
  8322. decimalplace:
  8323. description: 报价小数位
  8324. type: integer
  8325. exercisetype:
  8326. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8327. type: integer
  8328. exexchangeid:
  8329. description: 外部交易所ID[通道交易]
  8330. type: integer
  8331. goodsgroupid:
  8332. description: 商品组ID(自增ID)
  8333. type: integer
  8334. goodsgroupname:
  8335. description: 商品组名称
  8336. type: string
  8337. goodsgroupstatus:
  8338. description: 商品组状态 - 1:正常 2:注销
  8339. type: integer
  8340. goodunitid:
  8341. description: 报价单位ID
  8342. type: integer
  8343. innerdealmode:
  8344. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8345. type: integer
  8346. isbuylimited:
  8347. description: 是否限制建仓量 - 0:不限制 1:限制
  8348. type: integer
  8349. marketid:
  8350. description: 所属市场ID
  8351. type: integer
  8352. modifierid:
  8353. description: 修改人
  8354. type: integer
  8355. modifytime:
  8356. description: 修改时间
  8357. type: string
  8358. outerdealmode:
  8359. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8360. type: integer
  8361. outergroupcode:
  8362. description: 外部商品组代码[通道交易]
  8363. type: string
  8364. premiumdecimalplace:
  8365. description: 权利金小数位[场外期权]
  8366. type: integer
  8367. premiumspreadalgorithm:
  8368. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8369. type: integer
  8370. premiumspreadvalue:
  8371. description: 权利金点差值[场外期权]
  8372. type: number
  8373. qtydecimalplace:
  8374. description: 成交量小数位
  8375. type: integer
  8376. quotegear:
  8377. description: 行情档位(1-10)
  8378. type: integer
  8379. quoteminunit:
  8380. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8381. type: integer
  8382. quoterid:
  8383. description: 报价商ID[场外期权]
  8384. type: integer
  8385. quotesourcegroupid:
  8386. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8387. type: integer
  8388. syncgoodsqty:
  8389. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8390. type: integer
  8391. required:
  8392. - goodsgroupid
  8393. - goodsgroupname
  8394. - goodsgroupstatus
  8395. - marketid
  8396. type: object
  8397. models.Goodssortbypreposition:
  8398. properties:
  8399. goodscode:
  8400. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8401. type: string
  8402. goodsgroupcode:
  8403. description: 品种代码
  8404. type: string
  8405. prepositionqty:
  8406. description: 昨持仓量
  8407. type: integer
  8408. sortindex:
  8409. description: 排序
  8410. type: integer
  8411. tradedate:
  8412. description: 交易日
  8413. type: string
  8414. updatetime:
  8415. description: 更新时间
  8416. type: string
  8417. required:
  8418. - goodscode
  8419. - tradedate
  8420. type: object
  8421. models.Hedgeinnerholderdetail:
  8422. properties:
  8423. accountid:
  8424. description: 账号ID
  8425. type: integer
  8426. buyorsell:
  8427. description: 方向 - 0:买 1:卖
  8428. type: integer
  8429. freezeqty:
  8430. description: 冻结数量 - 按单平使用
  8431. type: integer
  8432. goodsid:
  8433. description: 商品ID
  8434. type: integer
  8435. holderamount:
  8436. description: 持仓金额 [商品币种]
  8437. type: number
  8438. holderdays:
  8439. description: 剩余冻结天数
  8440. type: integer
  8441. holderprice:
  8442. description: 持仓价格
  8443. type: number
  8444. holderqty:
  8445. description: 持仓数量
  8446. type: integer
  8447. marketid:
  8448. description: 市场ID
  8449. type: integer
  8450. openprice:
  8451. description: 建仓价格
  8452. type: number
  8453. openqty:
  8454. description: 建仓数量
  8455. type: integer
  8456. parentaccountid:
  8457. description: 所属母账户
  8458. type: integer
  8459. releaseamount:
  8460. description: 释放持仓金额[商品币种]
  8461. type: number
  8462. tradeamount:
  8463. description: 成交金额[账户]
  8464. type: number
  8465. tradedate:
  8466. description: 交易日(yyyyMMdd)
  8467. type: string
  8468. tradeid:
  8469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8470. type: string
  8471. tradetime:
  8472. description: 交易时间
  8473. type: string
  8474. required:
  8475. - buyorsell
  8476. - tradeid
  8477. type: object
  8478. models.Hedgemarketopenlog:
  8479. properties:
  8480. accountid:
  8481. description: 资金账号[外部母账户]
  8482. type: integer
  8483. fcname:
  8484. description: 期货公司名称
  8485. type: string
  8486. handlestatus:
  8487. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8488. type: integer
  8489. marketid:
  8490. description: 市场ID
  8491. type: integer
  8492. status:
  8493. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8494. type: integer
  8495. tradedate:
  8496. description: 交易日(yyyyMMdd)
  8497. type: string
  8498. updatetime:
  8499. description: 更新时间
  8500. type: string
  8501. required:
  8502. - accountid
  8503. type: object
  8504. models.HsbyBuyMyPayOrder:
  8505. properties:
  8506. agreeunit:
  8507. description: 合约单位
  8508. type: number
  8509. buyaccountid:
  8510. description: 买方账号ID[报价币种]
  8511. type: integer
  8512. buyorderid:
  8513. description: 买方委托单号
  8514. type: string
  8515. createtime:
  8516. description: 创建时间
  8517. type: string
  8518. currencysign:
  8519. description: 货币符号
  8520. type: string
  8521. decimalplace:
  8522. description: 报价小数位
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码(内部)
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. marketid:
  8534. description: 市场ID
  8535. type: integer
  8536. offamount:
  8537. description: 优惠金额
  8538. type: number
  8539. originalamount:
  8540. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8541. type: number
  8542. payamount:
  8543. description: 支付金额 = TradeAmount + TradeCharge
  8544. type: number
  8545. payflag:
  8546. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8547. type: integer
  8548. paylimitedtime:
  8549. description: 支付期限
  8550. type: string
  8551. paytime:
  8552. description: 付款时间
  8553. type: string
  8554. picurls1:
  8555. description: 预售商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. picurls2:
  8558. description: 挂牌商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. vendorname1:
  8589. description: 预售商品供应商名称
  8590. type: string
  8591. vendorname2:
  8592. description: 挂牌商品供应商名称
  8593. type: string
  8594. required:
  8595. - goodscode
  8596. - goodsname
  8597. - tradeid
  8598. - trademode
  8599. type: object
  8600. models.HsbyBuyMyTradeDetail:
  8601. properties:
  8602. accountid:
  8603. description: 账户ID[报价币种]
  8604. type: integer
  8605. agreeunit:
  8606. description: 合约单位
  8607. type: number
  8608. amount:
  8609. description: 金额 = 价格 * 数量 * 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderamount:
  8633. description: 委托金额
  8634. type: number
  8635. orderid:
  8636. description: 单号(成交单号)
  8637. type: string
  8638. picurls1:
  8639. description: 预售商品介绍图片[多张用逗号分隔]
  8640. type: string
  8641. picurls2:
  8642. description: 挂牌商品介绍图片[多张用逗号分隔]
  8643. type: string
  8644. price:
  8645. description: 价格
  8646. type: number
  8647. qty:
  8648. description: 数量
  8649. type: integer
  8650. time:
  8651. description: 时间
  8652. type: string
  8653. trademode:
  8654. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8655. 21:竞拍-大宗式 22:受托竞价
  8656. type: integer
  8657. vendorname1:
  8658. description: 预售商品供应商名称
  8659. type: string
  8660. vendorname2:
  8661. description: 挂牌商品供应商名称
  8662. type: string
  8663. required:
  8664. - accountid
  8665. - buyorsell
  8666. - goodscode
  8667. - goodsid
  8668. - goodsname
  8669. - marketid
  8670. - orderid
  8671. - qty
  8672. - time
  8673. - trademode
  8674. type: object
  8675. models.HsbyGoodsOrderDetail:
  8676. properties:
  8677. buyorsell:
  8678. description: 买卖 - 0:买 1:卖
  8679. type: integer
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. customername:
  8684. description: 客户名称(企业名称),已脱敏
  8685. type: string
  8686. enableqty:
  8687. description: 可用数量
  8688. type: integer
  8689. goodunit:
  8690. description: 报价单位
  8691. type: string
  8692. orderid:
  8693. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8694. type: string
  8695. orderprice:
  8696. description: 委托价格
  8697. type: number
  8698. ordertime:
  8699. description: 委托时间
  8700. type: string
  8701. required:
  8702. - buyorsell
  8703. - orderid
  8704. - ordertime
  8705. type: object
  8706. models.HsbyListingGoodsDetail:
  8707. properties:
  8708. agreeunit:
  8709. description: 合约单位
  8710. type: number
  8711. buymaxqty:
  8712. description: 购买上限 [71] - 0为不限
  8713. type: integer
  8714. currency:
  8715. description: 货币
  8716. type: string
  8717. currencysign:
  8718. description: 货币符号
  8719. type: string
  8720. decimalplace:
  8721. description: 报价小数位
  8722. type: integer
  8723. desccityid:
  8724. description: 目的地(市)ID
  8725. type: integer
  8726. descprovinceid:
  8727. description: 目的地(省)ID
  8728. type: integer
  8729. goodscode:
  8730. description: 商品代码(内部)
  8731. type: string
  8732. goodsdesc:
  8733. description: 商品详情
  8734. type: string
  8735. goodsid:
  8736. description: 商品ID(自增ID SEQ_GOODS)
  8737. type: integer
  8738. goodsname:
  8739. description: 商品名称
  8740. type: string
  8741. goodsprice:
  8742. description: 商品价格
  8743. type: number
  8744. hotindex:
  8745. description: 景点热度
  8746. type: integer
  8747. last:
  8748. description: 现价
  8749. type: number
  8750. limitdown:
  8751. description: 跌停价
  8752. type: number
  8753. limitup:
  8754. description: 涨停价
  8755. type: number
  8756. lotsize:
  8757. description: 手数最小变动单位
  8758. type: integer
  8759. marketid:
  8760. description: 所属市场ID
  8761. type: integer
  8762. picurls:
  8763. description: 介绍图片[多张用逗号分隔]
  8764. type: string
  8765. quoteminunit:
  8766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8767. type: integer
  8768. stepvalue:
  8769. description: 价格最小变动单位
  8770. type: number
  8771. trademode:
  8772. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8773. 21:竞拍-大宗式 22:受托竞价
  8774. type: integer
  8775. vendorattr:
  8776. description: 供应商附件(多张,逗号分隔)
  8777. type: string
  8778. vendorname:
  8779. description: 供应商名称
  8780. type: string
  8781. vendorphone:
  8782. description: 供应商客服电话
  8783. type: string
  8784. videourls:
  8785. description: 介绍视频[多张用逗号分隔]
  8786. type: string
  8787. required:
  8788. - goodscode
  8789. - goodsid
  8790. - goodsname
  8791. - marketid
  8792. - trademode
  8793. type: object
  8794. models.HsbyMarketGoods:
  8795. properties:
  8796. accountid:
  8797. description: 账户ID[报价币种]
  8798. type: integer
  8799. agreeunit:
  8800. description: 合约单位
  8801. type: number
  8802. buyorsell:
  8803. description: 买卖 - 0:买 1:卖
  8804. type: integer
  8805. categoryid:
  8806. description: 类别ID(WRCATEGORY)
  8807. type: integer
  8808. currency:
  8809. description: 货币
  8810. type: string
  8811. currencysign:
  8812. description: 货币符号
  8813. type: string
  8814. customername:
  8815. description: 卖家名称
  8816. type: string
  8817. decimalplace:
  8818. description: 报价小数位
  8819. type: integer
  8820. goodscode:
  8821. description: 商品代码(内部)
  8822. type: string
  8823. goodsid:
  8824. description: 商品ID
  8825. type: integer
  8826. goodsname:
  8827. description: 商品名称
  8828. type: string
  8829. goodsprice:
  8830. description: 商品价格
  8831. type: number
  8832. hascoupon:
  8833. description: 是否可用优惠卷
  8834. type: boolean
  8835. hotindex:
  8836. description: 景点热度
  8837. type: integer
  8838. marketid:
  8839. description: 市场ID
  8840. type: integer
  8841. orderid:
  8842. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8843. type: string
  8844. orderprice:
  8845. description: 委托价格
  8846. type: number
  8847. orderstatus:
  8848. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8849. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8850. 16:成交失败违约(荷兰式竞拍专用)
  8851. type: integer
  8852. picurls:
  8853. description: 介绍图片[多张用逗号分隔]
  8854. type: string
  8855. quoteminunit:
  8856. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8857. type: integer
  8858. sellUserID:
  8859. description: 卖方UserID
  8860. type: integer
  8861. trademode:
  8862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8863. 21:竞拍-大宗式 22:受托竞价
  8864. type: integer
  8865. videourls:
  8866. description: 介绍视频[多张用逗号分隔]
  8867. type: string
  8868. required:
  8869. - accountid
  8870. - buyorsell
  8871. - goodscode
  8872. - goodsid
  8873. - goodsname
  8874. - marketid
  8875. - orderid
  8876. - trademode
  8877. type: object
  8878. models.HsbyMarketGoodsDetail:
  8879. properties:
  8880. accountid:
  8881. description: 账户ID[报价币种]
  8882. type: integer
  8883. agreeunit:
  8884. description: 合约单位
  8885. type: number
  8886. buymaxqty:
  8887. description: 购买上限 [71] - 0为不限
  8888. type: integer
  8889. buyorsell:
  8890. description: 买卖 - 0:买 1:卖
  8891. type: integer
  8892. cancelqty:
  8893. description: 撤单数量
  8894. type: integer
  8895. categoryid:
  8896. description: 类别ID(WRCATEGORY)
  8897. type: integer
  8898. currency:
  8899. description: 货币
  8900. type: string
  8901. currencysign:
  8902. description: 货币符号
  8903. type: string
  8904. customername:
  8905. description: 卖家名称
  8906. type: string
  8907. decimalplace:
  8908. description: 报价小数位
  8909. type: integer
  8910. goodscode:
  8911. description: 商品代码(内部)
  8912. type: string
  8913. goodsdesc:
  8914. description: 商品详情
  8915. type: string
  8916. goodsid:
  8917. description: 商品ID
  8918. type: integer
  8919. goodsname:
  8920. description: 商品名称
  8921. type: string
  8922. goodsprice:
  8923. description: 商品价格
  8924. type: number
  8925. hotindex:
  8926. description: 景点热度
  8927. type: integer
  8928. lotsize:
  8929. description: 手数最小变动单位
  8930. type: integer
  8931. marketid:
  8932. description: 市场ID
  8933. type: integer
  8934. orderid:
  8935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8936. type: string
  8937. orderprice:
  8938. description: 委托价格
  8939. type: number
  8940. orderqty:
  8941. description: 委托数量
  8942. type: integer
  8943. orderstatus:
  8944. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8945. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8946. 16:成交失败违约(荷兰式竞拍专用)
  8947. type: integer
  8948. picurls:
  8949. description: 介绍图片[多张用逗号分隔]
  8950. type: string
  8951. quoteminunit:
  8952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8953. type: integer
  8954. sellUserID:
  8955. description: 卖方UserID
  8956. type: integer
  8957. trademode:
  8958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8959. 21:竞拍-大宗式 22:受托竞价
  8960. type: integer
  8961. tradeqty:
  8962. description: 成交数量
  8963. type: integer
  8964. vendorattr:
  8965. description: 供应商附件(多张,逗号分隔)
  8966. type: string
  8967. vendorname:
  8968. description: 供应商名称
  8969. type: string
  8970. vendorphone:
  8971. description: 供应商客服电话
  8972. type: string
  8973. videourls:
  8974. description: 介绍视频[多张用逗号分隔]
  8975. type: string
  8976. required:
  8977. - accountid
  8978. - buyorsell
  8979. - goodscode
  8980. - goodsid
  8981. - goodsname
  8982. - marketid
  8983. - orderid
  8984. - orderqty
  8985. - trademode
  8986. type: object
  8987. models.HsbyMarketInfo:
  8988. properties:
  8989. marketid:
  8990. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8991. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8992. type: integer
  8993. marketname:
  8994. description: 市场名称
  8995. type: string
  8996. marketstatus:
  8997. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8998. type: integer
  8999. trademode:
  9000. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9001. 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - marketid
  9005. - marketstatus
  9006. - trademode
  9007. type: object
  9008. models.HsbyMyGoods:
  9009. properties:
  9010. accountid:
  9011. description: 账号Id
  9012. type: integer
  9013. agreeunit:
  9014. description: 合约单位
  9015. type: number
  9016. buyaverageprice:
  9017. description: 持仓均价
  9018. type: number
  9019. buycurholderamount:
  9020. description: 买当前持仓总金额[商品币种]
  9021. type: number
  9022. buycurpositionqty:
  9023. description: 买当前持仓总数量
  9024. type: integer
  9025. buymaxqty:
  9026. description: 购买上限 [71] - 0为不限
  9027. type: integer
  9028. currencysign:
  9029. description: 货币符号
  9030. type: string
  9031. decimalplace:
  9032. description: 报价小数位
  9033. type: integer
  9034. enableqty:
  9035. description: 可用数量
  9036. type: integer
  9037. goodscode:
  9038. description: 商品代码(内部)
  9039. type: string
  9040. goodsid:
  9041. description: 商品Id
  9042. type: integer
  9043. goodsname:
  9044. description: 商品名称
  9045. type: string
  9046. goodsprice:
  9047. description: 商品价格
  9048. type: number
  9049. goodsstatus:
  9050. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9051. type: integer
  9052. last:
  9053. description: 现价(仅使用于挂牌点选)
  9054. type: number
  9055. limitdown:
  9056. description: 跌停价(仅使用于挂牌点选)
  9057. type: number
  9058. limitup:
  9059. description: 涨停价(仅使用于挂牌点选)
  9060. type: number
  9061. lotsize:
  9062. description: 手数最小变动单位
  9063. type: integer
  9064. marketid:
  9065. description: 所属市场ID
  9066. type: integer
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. quoteminunit:
  9071. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9072. type: integer
  9073. stepvalue:
  9074. description: 价格最小变动单位
  9075. type: number
  9076. trademode:
  9077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9078. 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. required:
  9081. - accountid
  9082. - goodscode
  9083. - goodsid
  9084. - goodsname
  9085. - marketid
  9086. - trademode
  9087. type: object
  9088. models.HsbyMyPackage:
  9089. properties:
  9090. accountid:
  9091. description: 账户ID
  9092. type: integer
  9093. address:
  9094. description: 提货人详细地址
  9095. type: string
  9096. agreeunit:
  9097. description: 合约单位
  9098. type: number
  9099. amount:
  9100. description: 提货金额
  9101. type: number
  9102. auditer:
  9103. description: 审核人
  9104. type: integer
  9105. audittime:
  9106. description: 审核时间
  9107. type: string
  9108. averageprice:
  9109. description: 均价
  9110. type: number
  9111. cardnum:
  9112. description: 提货人证件号码
  9113. type: string
  9114. cardtypeid:
  9115. description: 提货人证件类型
  9116. type: integer
  9117. checkremark:
  9118. description: 审核备注
  9119. type: string
  9120. currencysign:
  9121. description: 货币符号
  9122. type: string
  9123. decimalplace:
  9124. description: 报价小数位
  9125. type: integer
  9126. goodscode:
  9127. description: 商品代码(内部)
  9128. type: string
  9129. goodsid:
  9130. description: 商品ID
  9131. type: integer
  9132. goodsname:
  9133. description: 商品名称
  9134. type: string
  9135. handlestatus:
  9136. description: 处理状态
  9137. type: integer
  9138. marketid:
  9139. description: 市场ID
  9140. type: integer
  9141. phonenum:
  9142. description: 提货人联系方式
  9143. type: string
  9144. picurls:
  9145. description: 介绍图片[多张用逗号分隔]
  9146. type: string
  9147. qty:
  9148. description: 提货数量
  9149. type: number
  9150. recivername:
  9151. description: 提货人姓名
  9152. type: string
  9153. reqtime:
  9154. description: 更新时间
  9155. type: string
  9156. takemode:
  9157. description: 提货方式 - 2:自提 3:配送
  9158. type: integer
  9159. takeorderid:
  9160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9161. type: string
  9162. takeorderstatus:
  9163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9164. type: integer
  9165. takeremark:
  9166. description: 提货备注
  9167. type: string
  9168. tradedate:
  9169. description: 交易日(yyyyMMdd)
  9170. type: string
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9173. 21:竞拍-大宗式 22:受托竞价
  9174. type: integer
  9175. userid:
  9176. description: 用户ID
  9177. type: integer
  9178. vendorname:
  9179. description: 供应商名称
  9180. type: string
  9181. required:
  9182. - goodscode
  9183. - goodsname
  9184. - takeorderid
  9185. - trademode
  9186. type: object
  9187. models.HsbyPreGoods:
  9188. properties:
  9189. agreeunit:
  9190. description: 合约单位
  9191. type: number
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. decimalplace:
  9199. description: 报价小数位
  9200. type: integer
  9201. desccityid:
  9202. description: 目的地(市)
  9203. type: integer
  9204. descprovinceid:
  9205. description: 目的地(省)
  9206. type: integer
  9207. enableqty:
  9208. description: 剩余数量
  9209. type: integer
  9210. goodscode:
  9211. description: 商品代码(内部)
  9212. type: string
  9213. goodsid:
  9214. description: 商品ID(自增ID SEQ_GOODS)
  9215. type: integer
  9216. goodsname:
  9217. description: 商品名称
  9218. type: string
  9219. goodsstatus:
  9220. description: 商品状态- 2:未上市 3:上市
  9221. type: integer
  9222. lasttradedate:
  9223. description: 最后交易日期(状态:待退市)
  9224. type: string
  9225. listingdate:
  9226. description: 交易开始日期
  9227. type: string
  9228. marketid:
  9229. description: 所属市场ID
  9230. type: integer
  9231. picurls:
  9232. description: 介绍图片[多张用逗号分隔]
  9233. type: string
  9234. presaledqty:
  9235. description: 已预售量(预售结束时更新)
  9236. type: integer
  9237. presaleqty:
  9238. description: 预售数量
  9239. type: integer
  9240. quoteminunit:
  9241. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9242. type: integer
  9243. refprice:
  9244. description: 参考价格[一口价]
  9245. type: number
  9246. relatedgoodsid:
  9247. description: 关联交易合约ID
  9248. type: integer
  9249. trademode:
  9250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9251. 21:竞拍-大宗式 22:受托竞价
  9252. type: integer
  9253. videourls:
  9254. description: 介绍视频[多张用逗号分隔]
  9255. type: string
  9256. required:
  9257. - goodscode
  9258. - goodsid
  9259. - goodsname
  9260. - marketid
  9261. - trademode
  9262. type: object
  9263. models.HsbyPreGoodsDetail:
  9264. properties:
  9265. agreeunit:
  9266. description: 合约单位
  9267. type: number
  9268. buymaxqty:
  9269. description: 购买上限 [71] - 0为不限
  9270. type: integer
  9271. currency:
  9272. description: 货币
  9273. type: string
  9274. currencysign:
  9275. description: 货币符号
  9276. type: string
  9277. customername:
  9278. description: 发行单位
  9279. type: string
  9280. decimalplace:
  9281. description: 报价小数位
  9282. type: integer
  9283. desccityid:
  9284. description: 目的地(市)ID
  9285. type: integer
  9286. descprovinceid:
  9287. description: 目的地(省)ID
  9288. type: integer
  9289. enableqty:
  9290. description: 剩余数量
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsdesc:
  9296. description: 商品详情
  9297. type: string
  9298. goodsid:
  9299. description: 商品ID(自增ID SEQ_GOODS)
  9300. type: integer
  9301. goodsname:
  9302. description: 商品名称
  9303. type: string
  9304. goodsstatus:
  9305. description: 商品状态- 2:未上市 3:上市
  9306. type: integer
  9307. goodunit:
  9308. description: 报价单位
  9309. type: string
  9310. lasttradedate:
  9311. description: 最后交易日期(状态:待退市)
  9312. type: string
  9313. listingdate:
  9314. description: 交易开始日期
  9315. type: string
  9316. lotsize:
  9317. description: 手数最小变动单位
  9318. type: integer
  9319. marketid:
  9320. description: 所属市场ID
  9321. type: integer
  9322. picurls:
  9323. description: 介绍图片[多张用逗号分隔]
  9324. type: string
  9325. presaledqty:
  9326. description: 已预售量(预售结束时更新)
  9327. type: integer
  9328. presaleqty:
  9329. description: 预售数量
  9330. type: integer
  9331. quoteminunit:
  9332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9333. type: integer
  9334. refprice:
  9335. description: 参考价格[一口价]
  9336. type: number
  9337. relatedgoodsid:
  9338. description: 关联交易合约ID
  9339. type: integer
  9340. stepvalue:
  9341. description: 价格最小变动单位
  9342. type: number
  9343. trademode:
  9344. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9345. 21:竞拍-大宗式 22:受托竞价
  9346. type: integer
  9347. vendorattr:
  9348. description: 供应商附件(多张,逗号分隔)
  9349. type: string
  9350. vendorname:
  9351. description: 供应商名称
  9352. type: string
  9353. vendorphone:
  9354. description: 供应商客服电话
  9355. type: string
  9356. videourls:
  9357. description: 介绍视频[多张用逗号分隔]
  9358. type: string
  9359. required:
  9360. - goodscode
  9361. - goodsid
  9362. - goodsname
  9363. - marketid
  9364. - trademode
  9365. type: object
  9366. models.HsbySellCollectionOrder:
  9367. properties:
  9368. agreeunit:
  9369. description: 合约单位
  9370. type: number
  9371. buyaccountid:
  9372. description: 买方账号ID[报价币种]
  9373. type: integer
  9374. buyorderid:
  9375. description: 买方委托单号
  9376. type: string
  9377. createtime:
  9378. description: 创建时间
  9379. type: string
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. offamount:
  9399. description: 优惠金额
  9400. type: number
  9401. payamount:
  9402. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9403. type: number
  9404. payflag:
  9405. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9406. type: integer
  9407. paylimitedtime:
  9408. description: 支付期限
  9409. type: string
  9410. paytime:
  9411. description: 付款时间
  9412. type: string
  9413. picurls:
  9414. description: 商品介绍图片[多张用逗号分隔]
  9415. type: string
  9416. sellaccountid:
  9417. description: 卖方账号ID[报价币种]
  9418. type: integer
  9419. sellorderid:
  9420. description: 卖方委托单号
  9421. type: string
  9422. tradeamount:
  9423. description: 成交金额
  9424. type: number
  9425. tradecharge:
  9426. description: 成交手续费(买方)
  9427. type: number
  9428. tradedate:
  9429. description: 交易日(yyyyMMdd)
  9430. type: string
  9431. tradeid:
  9432. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9433. type: string
  9434. trademode:
  9435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9436. 21:竞拍-大宗式 22:受托竞价
  9437. type: integer
  9438. tradeprice:
  9439. description: 成交价格
  9440. type: number
  9441. tradeqty:
  9442. description: 成交数量
  9443. type: integer
  9444. required:
  9445. - goodscode
  9446. - goodsname
  9447. - tradeid
  9448. - trademode
  9449. type: object
  9450. models.HsbySellMyDetail:
  9451. properties:
  9452. accountid:
  9453. description: 账户ID[报价币种]
  9454. type: integer
  9455. agreeunit:
  9456. description: 合约单位
  9457. type: number
  9458. buyorsell:
  9459. description: 买卖 - 0:买 1:卖
  9460. type: integer
  9461. currencysign:
  9462. description: 货币符号
  9463. type: string
  9464. decimalplace:
  9465. description: 报价小数位
  9466. type: integer
  9467. goodscode:
  9468. description: 商品代码(内部)
  9469. type: string
  9470. goodsid:
  9471. description: 商品ID
  9472. type: integer
  9473. goodsname:
  9474. description: 商品名称
  9475. type: string
  9476. marketid:
  9477. description: 市场ID
  9478. type: integer
  9479. orderid:
  9480. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9481. type: string
  9482. ordertype:
  9483. description: 单据类型:0 - 发布中, 1 - 已完成
  9484. type: integer
  9485. picurls:
  9486. description: 介绍图片[多张用逗号分隔]
  9487. type: string
  9488. price:
  9489. description: 价格
  9490. type: number
  9491. qty:
  9492. description: 数量
  9493. type: integer
  9494. time:
  9495. description: 时间
  9496. type: string
  9497. trademode:
  9498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9499. 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. vendorname:
  9502. description: 供应商名称
  9503. type: string
  9504. required:
  9505. - accountid
  9506. - buyorsell
  9507. - goodscode
  9508. - goodsid
  9509. - goodsname
  9510. - marketid
  9511. - orderid
  9512. - time
  9513. - trademode
  9514. type: object
  9515. models.HsbyTopGoods:
  9516. properties:
  9517. agreeunit:
  9518. description: 合约单位
  9519. type: number
  9520. currency:
  9521. description: 货币
  9522. type: string
  9523. currencysign:
  9524. description: 货币符号
  9525. type: string
  9526. decimalplace:
  9527. description: 报价小数位
  9528. type: integer
  9529. desccityid:
  9530. description: 目的地(市)
  9531. type: integer
  9532. descprovinceid:
  9533. description: 目的地(省)
  9534. type: integer
  9535. goodscode:
  9536. description: 商品代码(内部)
  9537. type: string
  9538. goodsid:
  9539. description: 商品ID(自增ID SEQ_GOODS)
  9540. type: integer
  9541. goodsname:
  9542. description: 商品名称
  9543. type: string
  9544. hotindex:
  9545. description: 景点热度
  9546. type: integer
  9547. last:
  9548. description: 现价
  9549. type: number
  9550. marketid:
  9551. description: 所属市场ID
  9552. type: integer
  9553. picurls:
  9554. description: 介绍图片[多张用逗号分隔]
  9555. type: string
  9556. quoteminunit:
  9557. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9558. type: integer
  9559. trademode:
  9560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9561. 21:竞拍-大宗式 22:受托竞价
  9562. type: integer
  9563. videourls:
  9564. description: 介绍视频[多张用逗号分隔]
  9565. type: string
  9566. required:
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - trademode
  9572. type: object
  9573. models.HybsMyBuyOrderDetail:
  9574. properties:
  9575. accountid:
  9576. description: 账户ID[报价币种]
  9577. type: integer
  9578. agreeunit:
  9579. description: 合约单位
  9580. type: number
  9581. buyorsell:
  9582. description: 买卖 - 0:买 1:卖
  9583. type: integer
  9584. cancelqty:
  9585. description: 撤单数量
  9586. type: integer
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. decimalplace:
  9591. description: 报价小数位
  9592. type: integer
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. listingselecttype:
  9603. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9604. type: integer
  9605. marketid:
  9606. description: 市场ID
  9607. type: integer
  9608. mybuystatus:
  9609. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9610. type: integer
  9611. orderamount:
  9612. description: 委托金额
  9613. type: number
  9614. orderid:
  9615. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9616. type: string
  9617. orderprice:
  9618. description: 委托价格
  9619. type: number
  9620. orderqty:
  9621. description: 委托数量
  9622. type: integer
  9623. orderstatus:
  9624. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9625. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9626. 16:成交失败违约(荷兰式竞拍专用)
  9627. type: integer
  9628. ordertime:
  9629. description: 委托时间
  9630. type: string
  9631. picurls1:
  9632. description: 预售商品介绍图片[多张用逗号分隔]
  9633. type: string
  9634. picurls2:
  9635. description: 挂牌商品介绍图片[多张用逗号分隔]
  9636. type: string
  9637. trademode:
  9638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9639. 21:竞拍-大宗式 22:受托竞价
  9640. type: integer
  9641. tradeqty:
  9642. description: 成交数量
  9643. type: integer
  9644. vendorname1:
  9645. description: 预售商品供应商名称
  9646. type: string
  9647. vendorname2:
  9648. description: 挂牌商品供应商名称
  9649. type: string
  9650. required:
  9651. - accountid
  9652. - buyorsell
  9653. - goodscode
  9654. - goodsid
  9655. - goodsname
  9656. - marketid
  9657. - orderid
  9658. - orderqty
  9659. - ordertime
  9660. - trademode
  9661. type: object
  9662. models.Loginaccount:
  9663. properties:
  9664. accountname:
  9665. description: 账户名称
  9666. type: string
  9667. canoutin:
  9668. description: 是否可出入金 - 0:不可 1:可
  9669. type: integer
  9670. clientroleid:
  9671. description: 终端角色ID
  9672. type: integer
  9673. haslogined:
  9674. description: 是否已登录 - 0:未登录 1:已登录
  9675. type: integer
  9676. hasupdatedpwd:
  9677. description: 是否已更改密码 - 0:未修改 1:已修改
  9678. type: integer
  9679. lastloginip:
  9680. description: 最新登录地址
  9681. type: string
  9682. lastloginmode:
  9683. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9684. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9685. type: integer
  9686. lastloginremark:
  9687. description: 最新登录描述
  9688. type: string
  9689. lastlogintime:
  9690. description: 最新登录时间
  9691. type: string
  9692. logincode:
  9693. description: 登录代码
  9694. type: string
  9695. loginfailnum:
  9696. description: 连续登录失败次数(登录成功时清零)
  9697. type: integer
  9698. loginid:
  9699. description: 登陆账号
  9700. type: integer
  9701. loginport:
  9702. description: 最新登录端口
  9703. type: integer
  9704. loginstatus:
  9705. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9706. type: integer
  9707. loginusertype:
  9708. description: 登录账号类型 - 1:投资者 2:机构交易员
  9709. type: integer
  9710. mobile:
  9711. description: 手机号码(加密存储)
  9712. type: string
  9713. modifierid:
  9714. description: 修改人
  9715. type: integer
  9716. modifysrc:
  9717. description: 审核来源 - 1:管理端 2:终端
  9718. type: integer
  9719. modifytime:
  9720. description: 修改时间
  9721. type: string
  9722. password:
  9723. description: 登陆密码
  9724. type: string
  9725. pwdwrongcount:
  9726. description: 密码错误次数
  9727. type: integer
  9728. relateduserid:
  9729. description: 关联用户ID(机构)
  9730. type: integer
  9731. taaccountrighttype:
  9732. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9733. type: integer
  9734. unfreezetime:
  9735. description: 账户解冻时间
  9736. type: string
  9737. userid:
  9738. description: 用户ID
  9739. type: integer
  9740. required:
  9741. - loginid
  9742. type: object
  9743. models.MainAccountInfo:
  9744. properties:
  9745. accountid:
  9746. description: 账号id
  9747. type: integer
  9748. accountname:
  9749. description: 账号名称(taaccount表中的名称)
  9750. type: string
  9751. appid:
  9752. description: AppID
  9753. type: string
  9754. authcode:
  9755. description: 授权码
  9756. type: string
  9757. brokerid:
  9758. description: 经纪商id
  9759. type: string
  9760. fcid:
  9761. description: 期货公司id
  9762. type: integer
  9763. fcname:
  9764. description: 期货公司代码
  9765. type: string
  9766. hedgeaccountcode:
  9767. description: 外部账号代码(主账号登录代码)
  9768. type: string
  9769. hedgeaccountpwd:
  9770. description: 密码
  9771. type: string
  9772. ismain:
  9773. description: 是否主账号
  9774. type: integer
  9775. relateduserid:
  9776. description: 关联用户id
  9777. type: integer
  9778. userid:
  9779. description: 关联用户id
  9780. type: integer
  9781. type: object
  9782. models.Market:
  9783. properties:
  9784. auctionwrtype:
  9785. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9786. type: integer
  9787. canacceptquote:
  9788. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9789. type: integer
  9790. cangoodsexercise:
  9791. description: '[期权]是否可现货行权- 0:否 1:是'
  9792. type: integer
  9793. cangoodsexercisetype:
  9794. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9795. type: integer
  9796. canmanualquotestrike:
  9797. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9798. type: integer
  9799. canmutistage:
  9800. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9801. type: integer
  9802. canpreexercise:
  9803. description: '[期权]是否可预申报- 0:否 1:是'
  9804. type: integer
  9805. clearinterval:
  9806. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9807. type: integer
  9808. contracttmp:
  9809. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9810. type: string
  9811. exchareaid:
  9812. description: 所属交易所,可以没有
  9813. type: integer
  9814. goodstype:
  9815. description: 商品类型 - 1:交易商品 2:仓单商品
  9816. type: integer
  9817. hasrebate:
  9818. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9819. type: integer
  9820. hastradecredit:
  9821. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9822. type: integer
  9823. haswr:
  9824. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9825. type: integer
  9826. isdeductmargin:
  9827. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9828. type: integer
  9829. isrecordsource:
  9830. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9831. type: integer
  9832. isreleasemargin:
  9833. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9834. type: integer
  9835. marginformula:
  9836. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9837. type: integer
  9838. marginformula2:
  9839. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9840. type: integer
  9841. marketid:
  9842. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9843. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9844. type: integer
  9845. marketname:
  9846. description: 市场名称
  9847. type: string
  9848. marketserviceid:
  9849. description: 市场服务ID
  9850. type: integer
  9851. marketstatus:
  9852. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9853. type: integer
  9854. markettype:
  9855. description: 市场类型- 1:非交易服务 2:交易服务
  9856. type: integer
  9857. matchermode:
  9858. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9859. type: integer
  9860. openmethod:
  9861. description: 开盘模式 - 0 自动 1手动
  9862. type: integer
  9863. otcuserid:
  9864. description: 场外期权做市商[场外期权]
  9865. type: integer
  9866. outersynctime:
  9867. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9868. type: string
  9869. pendingflag:
  9870. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9871. type: integer
  9872. pendingtime:
  9873. description: 待开市时间[通道交易-对冲](HH:mm)
  9874. type: string
  9875. performancetempid:
  9876. description: 履约计划模板ID - 作废
  9877. type: integer
  9878. premiumquotemode:
  9879. description: 权利金报价方式 - 1:自动 2:手动
  9880. type: integer
  9881. rebateratio:
  9882. description: 返利比率[竞价式]
  9883. type: number
  9884. reckonorder:
  9885. description: 结算顺序
  9886. type: integer
  9887. reckonpricealgorithm:
  9888. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9889. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9890. type: integer
  9891. reckonpriceparam:
  9892. description: 结算价参数
  9893. type: integer
  9894. reckontime:
  9895. description: 结算时间[通道交易-对冲](HH:mm)
  9896. type: string
  9897. roleprioritytype:
  9898. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9899. type: integer
  9900. selllistingauditflag:
  9901. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9902. type: integer
  9903. trademarkettype:
  9904. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9905. type: integer
  9906. trademode:
  9907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9908. 21:竞拍-大宗式 22:受托竞价
  9909. type: integer
  9910. tradeproperty:
  9911. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9912. 8:场外期权
  9913. type: integer
  9914. tradetype:
  9915. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9916. type: integer
  9917. required:
  9918. - marketid
  9919. - marketstatus
  9920. - openmethod
  9921. - reckonpricealgorithm
  9922. - trademode
  9923. - tradeproperty
  9924. type: object
  9925. models.Marketrun:
  9926. properties:
  9927. afternexttradedate:
  9928. description: 下下交易日
  9929. type: string
  9930. clearquoteflag:
  9931. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9932. type: integer
  9933. lastreckondate:
  9934. description: 最新交易日(结算成功)
  9935. type: string
  9936. machinedate:
  9937. description: 机器时间
  9938. type: string
  9939. manualflag:
  9940. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9941. type: integer
  9942. marketid:
  9943. description: 市场ID
  9944. type: integer
  9945. nexttradedate:
  9946. description: 下一交易日
  9947. type: string
  9948. pretradedate:
  9949. description: 上一交易日
  9950. type: string
  9951. reckonflag:
  9952. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9953. type: integer
  9954. runstatus:
  9955. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9956. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9957. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9958. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9959. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9960. 62.今日免清算
  9961. type: integer
  9962. sectionid:
  9963. description: 时间段号[多时段时用]
  9964. type: integer
  9965. tradedate:
  9966. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9967. type: string
  9968. tradedate2:
  9969. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9970. type: string
  9971. updatetime:
  9972. description: 更新时间
  9973. type: string
  9974. required:
  9975. - marketid
  9976. - nexttradedate
  9977. - reckonflag
  9978. - runstatus
  9979. - tradedate
  9980. - tradedate2
  9981. type: object
  9982. models.Messageboard:
  9983. properties:
  9984. contactnum:
  9985. description: 联系电话
  9986. type: string
  9987. createtime:
  9988. description: 创建时间
  9989. type: string
  9990. message:
  9991. description: 留言信息
  9992. type: string
  9993. messageboardid:
  9994. description: 留言簿ID(SEQ_MessageBoard)
  9995. type: integer
  9996. userid:
  9997. description: 用户ID
  9998. type: integer
  9999. required:
  10000. - messageboardid
  10001. type: object
  10002. models.MyCoupon:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. areauserid:
  10008. description: 所属机构
  10009. type: integer
  10010. conditionvalue:
  10011. description: 条件阈值(可为0)
  10012. type: number
  10013. couponcategroy:
  10014. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10015. type: integer
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. curfreezeqty:
  10026. description: 期末冻结数量
  10027. type: integer
  10028. curqty:
  10029. description: 期末数量
  10030. type: integer
  10031. isgeneral:
  10032. description: 是否通用券 - 0:否 1:是
  10033. type: integer
  10034. isunusable:
  10035. description: 是否不可用
  10036. type: boolean
  10037. limitedflag:
  10038. description: 是否指定商品 - 0:不限 1:限制
  10039. type: integer
  10040. limitedgoodsids:
  10041. description: 指定商品IDs[逗号分隔,前后加逗号]
  10042. type: string
  10043. orifreezeqty:
  10044. description: 期初冻结数量
  10045. type: integer
  10046. oriqty:
  10047. description: 期初数量
  10048. type: integer
  10049. reasontype:
  10050. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10051. type: integer
  10052. todaydecrease:
  10053. description: 今日减少
  10054. type: integer
  10055. todayincrease:
  10056. description: 今日增加
  10057. type: integer
  10058. userid:
  10059. description: 用户ID
  10060. type: integer
  10061. userscope:
  10062. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10063. type: string
  10064. required:
  10065. - accountid
  10066. - coupontypeid
  10067. type: object
  10068. models.MyCouponHold:
  10069. properties:
  10070. accountid:
  10071. description: 资金账户ID
  10072. type: integer
  10073. conditionvalue:
  10074. description: 条件阈值(可为0)
  10075. type: number
  10076. couponcategroy:
  10077. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10078. type: integer
  10079. couponholdid:
  10080. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10081. type: string
  10082. couponname:
  10083. description: 优惠券名称
  10084. type: string
  10085. coupontypeid:
  10086. description: 优惠券类型ID - SEQ_COUPONTYPE
  10087. type: string
  10088. couponvalue:
  10089. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10090. type: number
  10091. createtime:
  10092. description: 创建时间
  10093. type: string
  10094. enddate:
  10095. description: 结束日期
  10096. type: string
  10097. giveapplyid:
  10098. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10099. type: integer
  10100. holdstatus:
  10101. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10102. type: integer
  10103. isgeneral:
  10104. description: 是否通用券 - 0:否 1:是
  10105. type: integer
  10106. limitedflag:
  10107. description: 是否指定商品 - 0:不限 1:限制
  10108. type: integer
  10109. limitedgoodsids:
  10110. description: 指定商品IDs[逗号分隔]
  10111. type: string
  10112. qty:
  10113. description: 数量(按1平铺)
  10114. type: integer
  10115. startdate:
  10116. description: 开始日期
  10117. type: string
  10118. userid:
  10119. description: 用户ID
  10120. type: integer
  10121. userscope:
  10122. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10123. type: string
  10124. required:
  10125. - couponholdid
  10126. type: object
  10127. models.MyUsedCoupon:
  10128. properties:
  10129. accountid:
  10130. description: 资金账户ID(买方)
  10131. type: integer
  10132. conditionvalue:
  10133. description: 条件阈值(可为0)
  10134. type: number
  10135. couponcategroy:
  10136. description: 种类 - 1:现金券 2:折扣券
  10137. type: integer
  10138. couponname:
  10139. description: 优惠券名称
  10140. type: string
  10141. coupontypeid:
  10142. description: 优惠券类型ID(买方)
  10143. type: string
  10144. couponvalue:
  10145. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10146. type: number
  10147. createtime:
  10148. description: 创建时间
  10149. type: string
  10150. goodsid:
  10151. description: 商品ID
  10152. type: integer
  10153. handlestatus:
  10154. description: 处理状态
  10155. type: integer
  10156. marketid:
  10157. description: 市场ID
  10158. type: integer
  10159. offamount:
  10160. description: 优惠金额
  10161. type: number
  10162. orderid:
  10163. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10164. type: string
  10165. sellaccountid:
  10166. description: 资金账户ID(卖方)
  10167. type: integer
  10168. tradeamount:
  10169. description: 成交金额
  10170. type: number
  10171. tradeid:
  10172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10173. type: string
  10174. usedqty:
  10175. description: 使用数量
  10176. type: integer
  10177. required:
  10178. - coupontypeid
  10179. - orderid
  10180. type: object
  10181. models.OperationPrimaryMenu:
  10182. properties:
  10183. Children:
  10184. description: 二级功能菜单
  10185. items:
  10186. $ref: '#/definitions/models.OperationSecondaryMenu'
  10187. type: array
  10188. Key:
  10189. description: 菜单KEY
  10190. type: string
  10191. Label:
  10192. description: 菜单标题
  10193. type: string
  10194. type: object
  10195. models.OperationSecondaryMenu:
  10196. properties:
  10197. Key:
  10198. description: 菜单KEY
  10199. type: string
  10200. Label:
  10201. description: 菜单标题
  10202. type: string
  10203. TabList:
  10204. description: 三级功能菜单
  10205. items:
  10206. $ref: '#/definitions/models.OperationTabMenu'
  10207. type: array
  10208. type: object
  10209. models.OperationTabMenu:
  10210. properties:
  10211. Key:
  10212. description: 菜单KEY
  10213. type: string
  10214. Label:
  10215. description: 菜单标题
  10216. type: string
  10217. type: object
  10218. models.QhjAccountOutInApply:
  10219. properties:
  10220. accountcode:
  10221. description: 资金账号
  10222. type: string
  10223. accountname:
  10224. description: 用户名称(名称)
  10225. type: string
  10226. accountpwd:
  10227. description: 资金密码
  10228. type: string
  10229. accountticket:
  10230. description: 最新账户服务流水号
  10231. type: string
  10232. amount:
  10233. description: 金额
  10234. type: number
  10235. applyremark:
  10236. description: 申请备注
  10237. type: string
  10238. applystatus:
  10239. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10240. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10241. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10242. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10243. type: integer
  10244. auditid:
  10245. description: 审核人
  10246. type: integer
  10247. audittime:
  10248. description: 审核时间
  10249. type: string
  10250. bank_apply_ticket:
  10251. description: 银行申请流水
  10252. type: string
  10253. bankaccountname:
  10254. description: 银行账户名
  10255. type: string
  10256. bankaccountno:
  10257. description: 银行卡号
  10258. type: string
  10259. bankid:
  10260. description: 银行编号
  10261. type: string
  10262. bankticket:
  10263. description: 银行流水
  10264. type: string
  10265. branchbankid:
  10266. description: 银行支行号
  10267. type: string
  10268. branchbankname:
  10269. description: 银行支行名称
  10270. type: string
  10271. capamountout:
  10272. description: 出金(劣后本金) - 外部子账户
  10273. type: number
  10274. certificatephotourl:
  10275. description: 凭证地址
  10276. type: string
  10277. charge:
  10278. description: 手续费
  10279. type: number
  10280. checkerrorflag:
  10281. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10282. type: integer
  10283. currency:
  10284. description: 币种
  10285. type: string
  10286. cusbankid:
  10287. description: 托管银行编号
  10288. type: string
  10289. exchticket:
  10290. description: 银行服务流水号
  10291. type: string
  10292. executetype:
  10293. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10294. 7:外部子账户:入金 8:外部子账户:出金'
  10295. type: integer
  10296. extendinfo:
  10297. description: 扩展信息
  10298. type: string
  10299. extoperateid:
  10300. description: 交易服务流水号
  10301. type: integer
  10302. infamount:
  10303. description: 劣后金额(自有)
  10304. type: number
  10305. logincode:
  10306. description: 登录账号(账号)
  10307. type: string
  10308. netaddr:
  10309. description: 调转网址
  10310. type: string
  10311. priamount:
  10312. description: 优先金额(授信)
  10313. type: number
  10314. reauditid:
  10315. description: 复审人
  10316. type: integer
  10317. reauditremark:
  10318. description: 复审备注
  10319. type: string
  10320. reaudittime:
  10321. description: 复审时间
  10322. type: string
  10323. relatedorderid:
  10324. description: 三方关联ID
  10325. type: string
  10326. remark:
  10327. description: 备注
  10328. type: string
  10329. remark2:
  10330. description: 备注(失败原因)
  10331. type: string
  10332. soucreamount:
  10333. description: 原始出入金金额
  10334. type: number
  10335. soucrecurrencyid:
  10336. description: 原始出入金币种
  10337. type: integer
  10338. tradedate:
  10339. description: 交易日(yyyyMMdd)
  10340. type: string
  10341. updatetime:
  10342. description: 更新时间(申请时间)
  10343. type: string
  10344. userid:
  10345. description: 用户id
  10346. type: integer
  10347. userinfotype:
  10348. description: 账户类型 1-个人 2-企业
  10349. type: integer
  10350. type: object
  10351. models.QhjAgreementChangeLog:
  10352. properties:
  10353. agreementcontent:
  10354. description: 协议内容
  10355. type: string
  10356. agreementfrequency:
  10357. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10358. type: integer
  10359. agreementid:
  10360. description: 协议ID
  10361. type: integer
  10362. agreementname:
  10363. description: 协议名称
  10364. type: string
  10365. agreementno:
  10366. description: 协议编号
  10367. type: string
  10368. agreementtype:
  10369. description: 协议类型 - 1:注册 2:登录 3:交易
  10370. type: integer
  10371. agreementversion:
  10372. description: 协议版本号
  10373. type: integer
  10374. logid:
  10375. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10376. type: integer
  10377. reviserid:
  10378. description: 修改人
  10379. type: integer
  10380. revisersrc:
  10381. description: 修改来源 - 1:管理端 2:终端
  10382. type: integer
  10383. updatetime:
  10384. description: 更新时间
  10385. type: string
  10386. type: object
  10387. models.QhjAgreementConfig:
  10388. properties:
  10389. agreementcontent:
  10390. description: 协议内容
  10391. type: string
  10392. agreementfrequency:
  10393. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10394. type: integer
  10395. agreementid:
  10396. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10397. type: integer
  10398. agreementname:
  10399. description: 协议名称
  10400. type: string
  10401. agreementno:
  10402. description: 协议编号
  10403. type: string
  10404. agreementtype:
  10405. description: 协议类型 - 1:注册 2:登录 3:交易
  10406. type: integer
  10407. agreementversion:
  10408. description: 协议版本号(从1开始每次修改加1)
  10409. type: integer
  10410. createtime:
  10411. description: 创建时间
  10412. type: string
  10413. creatorid:
  10414. description: 创建人
  10415. type: integer
  10416. creatorsrc:
  10417. description: 创建来源 - 1:管理端 2:终端
  10418. type: integer
  10419. isvalid:
  10420. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10421. type: integer
  10422. reviserid:
  10423. description: 修改人
  10424. type: integer
  10425. revisersrc:
  10426. description: 修改来源 - 1:管理端 2:终端
  10427. type: integer
  10428. updatetime:
  10429. description: 更新时间
  10430. type: string
  10431. type: object
  10432. models.QhjAreaFinanceConfig:
  10433. properties:
  10434. additionalratio:
  10435. description: 追加款比例
  10436. type: number
  10437. advanceratio:
  10438. description: 预付款比例
  10439. type: number
  10440. alarmratio:
  10441. description: 告警比例
  10442. type: number
  10443. consumptiondirectreward:
  10444. description: 消费直推奖励值
  10445. type: number
  10446. consumptionenabled:
  10447. description: 是否启用消费奖励 - 0:不启用 1:启用
  10448. type: integer
  10449. consumptionindirectreward:
  10450. description: 消费间推奖励值
  10451. type: number
  10452. consumptionmodel:
  10453. description: 消费奖励方式 - 1:比率 2:固定
  10454. type: integer
  10455. customerservicenum:
  10456. description: 客服电话
  10457. type: string
  10458. dayinterestrate:
  10459. description: 日利率
  10460. type: number
  10461. disableconsumptiontips:
  10462. description: 关闭消费奖励提示
  10463. type: string
  10464. modifierid:
  10465. description: 修改人ID
  10466. type: integer
  10467. modifysrc:
  10468. description: 审核来源 - 1:管理端 2:终端
  10469. type: integer
  10470. modifytime:
  10471. description: 修改时间
  10472. type: string
  10473. promotionvalue:
  10474. description: 推广奖励值(固定)
  10475. type: number
  10476. scoreconfigvalue1:
  10477. description: 提货积分配置1
  10478. type: integer
  10479. scoreconfigvalue2:
  10480. description: 提货积分配置2
  10481. type: integer
  10482. userid:
  10483. description: 机构用户ID其他做市关系,都设置为 1
  10484. type: integer
  10485. username:
  10486. description: 用户名称
  10487. type: string
  10488. type: object
  10489. models.QhjBankAccountSign:
  10490. properties:
  10491. accountcode:
  10492. description: 资金账号
  10493. type: string
  10494. accountname:
  10495. description: 资金账号对应的账号名(UserName)
  10496. type: string
  10497. accountname2:
  10498. description: 资金账号对应的账号名(UserName) - 密文
  10499. type: string
  10500. accounttype:
  10501. description: 账户类型(UserType)
  10502. type: integer
  10503. applicationtime:
  10504. description: 最后一次更新的时间
  10505. type: string
  10506. applyexchticket:
  10507. description: 申请流水
  10508. type: string
  10509. auditid:
  10510. description: 审核人
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. bankaccountname:
  10516. description: 签约银行卡账号名
  10517. type: string
  10518. bankaccountname2:
  10519. description: 签约银行卡账号名 - 密文
  10520. type: string
  10521. bankaccountno:
  10522. description: 银行卡号
  10523. type: string
  10524. bankaccountno2:
  10525. description: 银行卡号 - 密文
  10526. type: string
  10527. bankaccounttype:
  10528. description: 银行账户类型 - 1-对私; 2-对公
  10529. type: integer
  10530. bankcardtype:
  10531. description: 银行卡类型
  10532. type: integer
  10533. bankchildaccount:
  10534. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10535. type: string
  10536. bankcity:
  10537. description: 开户行城市
  10538. type: string
  10539. bankid:
  10540. description: 签约银行ID
  10541. type: string
  10542. bankname:
  10543. description: 签约银行名称
  10544. type: string
  10545. bankprovince:
  10546. description: 开户行省份
  10547. type: string
  10548. branchbankid:
  10549. description: 签约银行支行号
  10550. type: string
  10551. branchbankname:
  10552. description: 签约银行支行名称
  10553. type: string
  10554. cardno:
  10555. description: 证件号码
  10556. type: string
  10557. cardno2:
  10558. description: 证件号码 - 密文
  10559. type: string
  10560. cardtype:
  10561. description: 证件类型
  10562. type: string
  10563. currency:
  10564. description: 币种
  10565. type: string
  10566. cusbankid:
  10567. description: 托管银行编号
  10568. type: string
  10569. direct:
  10570. description: 方向(可以判断那方先发起的签约)
  10571. type: integer
  10572. exchticket:
  10573. description: 最后一次签约成功的流水号
  10574. type: string
  10575. extendinfo:
  10576. description: 扩展信息(JSON字符串)
  10577. type: string
  10578. mobilephone:
  10579. description: 手机号
  10580. type: string
  10581. mobilephone2:
  10582. description: 手机号 - 密文
  10583. type: string
  10584. netaddr:
  10585. description: 调转网址
  10586. type: string
  10587. relateduserid:
  10588. description: 关联使用者userid
  10589. type: integer
  10590. signstatus:
  10591. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10592. 10:审核拒绝 11:换签待审核
  10593. type: integer
  10594. updatetime:
  10595. description: 更新时间(签解约更新时间)
  10596. type: string
  10597. type: object
  10598. models.QhjBankInfo:
  10599. properties:
  10600. bankid:
  10601. description: 银行ID
  10602. type: string
  10603. bankname:
  10604. description: 银行名称
  10605. type: string
  10606. clearbankno:
  10607. description: 清算系统银行编号
  10608. type: string
  10609. orderindex:
  10610. description: 排序顺序
  10611. type: integer
  10612. status:
  10613. description: 状态 - 0:正常 1:注销
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerApply:
  10617. properties:
  10618. applicantid:
  10619. description: 申请人
  10620. type: integer
  10621. applysrc:
  10622. description: 申请来源 - 1:管理端 2:终端
  10623. type: integer
  10624. applystatus:
  10625. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10626. type: integer
  10627. applytime:
  10628. description: 申请时间
  10629. type: string
  10630. auditorid:
  10631. description: 审核人
  10632. type: integer
  10633. auditremark:
  10634. description: 审核备注
  10635. type: string
  10636. auditsrc:
  10637. description: 审核来源 - 1:管理端 2:终端
  10638. type: integer
  10639. audittime:
  10640. description: 审核时间
  10641. type: string
  10642. audittradedate:
  10643. description: 审核交易日(yyyyMMdd)
  10644. type: string
  10645. brokerapplyid:
  10646. description: 申请ID(SEQ_BROKERAPPLY)
  10647. type: integer
  10648. cardbackphotourl:
  10649. description: 证件背面图片地址
  10650. type: string
  10651. cardfrontphotourl:
  10652. description: 证件正面图片地址
  10653. type: string
  10654. cardnum:
  10655. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10656. type: string
  10657. customername:
  10658. description: 姓名
  10659. type: string
  10660. logincode:
  10661. description: 登录代码
  10662. type: string
  10663. mobile:
  10664. description: 手机号码
  10665. type: string
  10666. parentuserid:
  10667. description: 所属机构id
  10668. type: integer
  10669. parentusername:
  10670. description: 所属机构名称
  10671. type: string
  10672. refereeuserid:
  10673. description: 推荐人id(经纪人)
  10674. type: integer
  10675. refernum:
  10676. description: 推荐码
  10677. type: string
  10678. remark:
  10679. description: 备注
  10680. type: string
  10681. subarealevelpath:
  10682. description: 层级路径
  10683. type: string
  10684. tradedate:
  10685. description: 交易日(yyyyMMdd)
  10686. type: string
  10687. userid:
  10688. description: 申请人用户ID
  10689. type: integer
  10690. userinfotype:
  10691. description: 用户类型 1-个人 2-企业
  10692. type: integer
  10693. username:
  10694. description: 用户名称
  10695. type: string
  10696. type: object
  10697. models.QhjBrokerApplyEx:
  10698. properties:
  10699. applylist:
  10700. description: 经纪人申请记录(只返回最新一条)
  10701. items:
  10702. $ref: '#/definitions/models.QhjBrokerApply'
  10703. type: array
  10704. canrecommend:
  10705. description: 是否经纪人 0-不是 1-是
  10706. type: integer
  10707. refernum:
  10708. description: 推荐码
  10709. type: string
  10710. userid:
  10711. description: 用户id
  10712. type: integer
  10713. userinfotype:
  10714. description: 用户类型 1-个人 2-企业
  10715. type: integer
  10716. type: object
  10717. models.QhjBrokerRewardLog:
  10718. properties:
  10719. accountid:
  10720. description: 资金账号ID
  10721. type: integer
  10722. createtime:
  10723. description: 创建时间(时间)
  10724. type: string
  10725. handlestatus:
  10726. description: 处理状态
  10727. type: integer
  10728. logid:
  10729. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10730. type: string
  10731. marketid:
  10732. description: 市场ID
  10733. type: integer
  10734. mmaccountid:
  10735. description: 做市商资金账号ID
  10736. type: string
  10737. mmuserid:
  10738. description: 做市商用户ID
  10739. type: string
  10740. rewardamount:
  10741. description: 奖励金额
  10742. type: number
  10743. rewardmodel:
  10744. description: 消费奖励方式 - 1:比率 2:固定
  10745. type: integer
  10746. rewardtype:
  10747. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10748. type: integer
  10749. rewardvalue:
  10750. description: 配置奖励值
  10751. type: number
  10752. srcamount:
  10753. description: 成交金额 [消费奖励] (金额)
  10754. type: number
  10755. srcgoodsid:
  10756. description: 来源商品ID [消费奖励]
  10757. type: string
  10758. srctime:
  10759. description: 来源时间 (成交时间) [消费奖励]
  10760. type: string
  10761. srctradeid:
  10762. description: 来源成交单ID [消费奖励] - 排除提货成交
  10763. type: string
  10764. srcuserid:
  10765. description: 来源用户ID(推广账户)
  10766. type: string
  10767. srcusername:
  10768. description: 推广账户名称
  10769. type: string
  10770. tradedate:
  10771. description: 交易日(yyyyMMdd)
  10772. type: string
  10773. userid:
  10774. description: 经纪人用户ID
  10775. type: integer
  10776. type: object
  10777. models.QhjContract:
  10778. properties:
  10779. contractconfirmtime:
  10780. description: 合同确认时间(时间)
  10781. type: string
  10782. currisklevel:
  10783. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10784. type: integer
  10785. decimalplace:
  10786. description: 商品报价小数位
  10787. type: integer
  10788. enumdicname:
  10789. description: 单位名称
  10790. type: string
  10791. goodscode:
  10792. description: 商品代码
  10793. type: string
  10794. goodsid:
  10795. description: 商品ID [5:融资单]
  10796. type: integer
  10797. goodsname:
  10798. description: 商品名称
  10799. type: string
  10800. goodunitid:
  10801. description: 商品单位id
  10802. type: integer
  10803. initmargin:
  10804. description: 初始保证金(首付款)
  10805. type: number
  10806. lenderamount:
  10807. description: 贷款金额(总额|订单总额)
  10808. type: number
  10809. marginratio:
  10810. description: 保证金比率(首付比例)
  10811. type: number
  10812. payamount:
  10813. description: 已付(已付货款)
  10814. type: number
  10815. reckonrecovermargin:
  10816. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10817. type: number
  10818. recoveredmargin:
  10819. description: 已追缴保证金
  10820. type: number
  10821. remainamount:
  10822. description: 合同剩余金额(融资额)
  10823. type: number
  10824. scfcontractid:
  10825. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10826. type: string
  10827. scfcontractstatus:
  10828. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10829. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10830. type: integer
  10831. scfcontracttype:
  10832. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10833. type: integer
  10834. totalinterest:
  10835. description: 已计总利息(利息)
  10836. type: number
  10837. tradeprice:
  10838. description: 成交价格(成本价格)
  10839. type: number
  10840. userid:
  10841. description: 用户ID
  10842. type: integer
  10843. username:
  10844. description: 用户名称
  10845. type: string
  10846. wrqty:
  10847. description: 仓单数量(数量)
  10848. type: number
  10849. type: object
  10850. models.QhjContractLog:
  10851. properties:
  10852. amount:
  10853. description: 支付金额
  10854. type: number
  10855. amounttype:
  10856. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10857. type: integer
  10858. logid:
  10859. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10860. type: string
  10861. remainamount:
  10862. description: 剩余货款
  10863. type: number
  10864. scfcontractid:
  10865. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10866. type: integer
  10867. updatetime:
  10868. description: 更新时间
  10869. type: string
  10870. type: object
  10871. models.QhjCusBankSignBankEx:
  10872. properties:
  10873. banklst:
  10874. description: 银行列表
  10875. items:
  10876. $ref: '#/definitions/models.QhjBankInfo'
  10877. type: array
  10878. canallot:
  10879. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10880. type: integer
  10881. canallotquery:
  10882. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10883. type: integer
  10884. canbindcard:
  10885. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10886. type: integer
  10887. caninamount:
  10888. description: 是否可入金 - 0:不可 1:可以
  10889. type: integer
  10890. caninamount2:
  10891. description: 是否可入金(网银端) - 0:不可 1:可以
  10892. type: integer
  10893. canmodifybankcard:
  10894. description: 是否可修改银行卡号 - 0:不可 1:可以
  10895. type: integer
  10896. canmodifyphone:
  10897. description: 是否可修改手机号 - 0:不可 1:可以
  10898. type: integer
  10899. canmodifysigninfo:
  10900. description: 是否可修改签约信息 - 0:不可 1:可以
  10901. type: integer
  10902. canoutamount:
  10903. description: 是否可出金 - 0:不可 1:可以
  10904. type: integer
  10905. canoutamount2:
  10906. description: 是否可出金(网银端) - 0:不可 1:可以
  10907. type: integer
  10908. canrelease:
  10909. description: 是否可解约 - 0:不可 1:可以
  10910. type: integer
  10911. canrelease2:
  10912. description: 是否可解约(网银端) - 0:不可 1:可以
  10913. type: integer
  10914. cansign:
  10915. description: 是否可签约 - 0:不可 1:可以
  10916. type: integer
  10917. cansign2:
  10918. description: 是否可签约(网银端) - 0:不可 1:可以
  10919. type: integer
  10920. currency:
  10921. description: 币种
  10922. type: string
  10923. cusbankid:
  10924. description: 托管银行编号(对应清算中心TRAN_NO)
  10925. type: string
  10926. cusbankname:
  10927. description: 银行业务名称
  10928. type: string
  10929. cusbankshortname:
  10930. description: 银行业务简称
  10931. type: string
  10932. exchbankid:
  10933. description: 交易所开户银行ID
  10934. type: string
  10935. exchpaybankaccname:
  10936. description: 交易所支出结算账户户名
  10937. type: string
  10938. exchpaybankaccno:
  10939. description: 交易所支出结算账户
  10940. type: string
  10941. isneedcheck:
  10942. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10943. type: integer
  10944. isneedclear:
  10945. description: 是否需要清算 - 0:不需要 1:需要
  10946. type: integer
  10947. lastcheckstatus:
  10948. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10949. type: integer
  10950. lastchecktime:
  10951. description: 最后对账时间
  10952. type: string
  10953. lastclearstatus:
  10954. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10955. type: integer
  10956. lastcleartime:
  10957. description: 最后清算时间
  10958. type: string
  10959. lastsignintime:
  10960. description: 最后签到时间
  10961. type: string
  10962. lastsignouttime:
  10963. description: 最后签退时间
  10964. type: string
  10965. riskinfo:
  10966. description: 签约风险提示书
  10967. type: string
  10968. signstatus:
  10969. description: 当前签到/签退状态 - 1:签到 2:签退
  10970. type: integer
  10971. tradedate:
  10972. description: 交易日(yyyyMMdd)
  10973. type: string
  10974. updatetime:
  10975. description: 当前签到/签退更新时间
  10976. type: string
  10977. type: object
  10978. models.QhjCustomer:
  10979. properties:
  10980. address:
  10981. description: 通讯地址
  10982. type: string
  10983. attachment1:
  10984. description: 附件1
  10985. type: string
  10986. attachment2:
  10987. description: 附件2
  10988. type: string
  10989. audittime:
  10990. description: 审核时间
  10991. type: string
  10992. cardbackphotourl:
  10993. description: 证件反面图片地址
  10994. type: string
  10995. cardfrontphotourl:
  10996. description: 证件正面图片地址
  10997. type: string
  10998. cardnum:
  10999. description: 证件号码
  11000. type: string
  11001. cardtype:
  11002. description: 证件类型
  11003. type: integer
  11004. cardtypename:
  11005. description: 证件类型名称
  11006. type: string
  11007. cityid:
  11008. description: 市
  11009. type: integer
  11010. cityname:
  11011. description: 城市名称
  11012. type: string
  11013. contactname:
  11014. description: 联系人
  11015. type: string
  11016. countryid:
  11017. description: 国家
  11018. type: integer
  11019. countryname:
  11020. description: 国家名称
  11021. type: string
  11022. createtime:
  11023. description: 创建时间
  11024. type: string
  11025. customername:
  11026. description: 客户名称
  11027. type: string
  11028. districtid:
  11029. description: 区域
  11030. type: integer
  11031. districtname:
  11032. description: 地区名称
  11033. type: string
  11034. email:
  11035. description: 邮件
  11036. type: string
  11037. legalpersonname:
  11038. description: 法人姓名(企业)
  11039. type: string
  11040. logincode:
  11041. description: 登录账号(代码)
  11042. type: string
  11043. memberuserid:
  11044. description: 所属机构ID(所属会员)
  11045. type: integer
  11046. memberusername:
  11047. description: 所属会员名称
  11048. type: string
  11049. mobile:
  11050. description: 手机号码
  11051. type: string
  11052. modifytime:
  11053. description: 修改时间
  11054. type: string
  11055. nickname:
  11056. description: 昵称
  11057. type: string
  11058. parentuserid:
  11059. description: 上级机构(所属机构)
  11060. type: integer
  11061. parentusername:
  11062. description: 所属机构名称
  11063. type: string
  11064. provinceid:
  11065. description: 省
  11066. type: integer
  11067. provincename:
  11068. description: 省名称
  11069. type: string
  11070. proxystatementurl:
  11071. description: 授权委托书
  11072. type: string
  11073. remark:
  11074. description: 备注
  11075. type: string
  11076. status:
  11077. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11078. type: integer
  11079. statusdesc:
  11080. description: 账户状态中文描述
  11081. type: string
  11082. taxpayernum:
  11083. description: 纳税人识别号
  11084. type: string
  11085. telphone:
  11086. description: 联系电话
  11087. type: string
  11088. userid:
  11089. description: 用户ID
  11090. type: integer
  11091. userinfotype:
  11092. description: 客户类型 1-个人 2-企业
  11093. type: integer
  11094. username:
  11095. description: 用户名称
  11096. type: string
  11097. type: object
  11098. models.QhjCustomerSignLog:
  11099. properties:
  11100. agreementcontent:
  11101. description: 协议内容
  11102. type: string
  11103. agreementid:
  11104. description: 协议ID
  11105. type: integer
  11106. agreementname:
  11107. description: 协议名称
  11108. type: string
  11109. agreementno:
  11110. description: 协议编号
  11111. type: string
  11112. agreementtype:
  11113. description: 协议类型 - 1:注册 2:登录 3:交易
  11114. type: integer
  11115. agreementversion:
  11116. description: 协议版本号
  11117. type: integer
  11118. createtime:
  11119. description: 创建时间
  11120. type: string
  11121. goodscode:
  11122. description: 商品代码
  11123. type: string
  11124. goodsid:
  11125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11126. type: integer
  11127. goodsname:
  11128. description: 商品名称
  11129. type: string
  11130. logid:
  11131. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11132. type: integer
  11133. nodetype:
  11134. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11135. type: integer
  11136. signadressurl:
  11137. description: 签约文件地址
  11138. type: string
  11139. signtimestamp:
  11140. description: 签约状态时间戳
  11141. type: string
  11142. userid:
  11143. description: 客户ID
  11144. type: integer
  11145. username:
  11146. description: 客户名称
  11147. type: string
  11148. type: object
  11149. models.QhjCustomerSignStatus:
  11150. properties:
  11151. createtime:
  11152. description: 创建时间
  11153. type: string
  11154. goodscode:
  11155. description: 商品代码
  11156. type: string
  11157. goodsid:
  11158. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11159. type: integer
  11160. goodsname:
  11161. description: 商品名称
  11162. type: string
  11163. nodetype:
  11164. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11165. type: integer
  11166. signtimestamp:
  11167. description: 签约状态时间戳
  11168. type: string
  11169. tradedate:
  11170. description: 创建交易日(yyyyMMdd)
  11171. type: string
  11172. updatetime:
  11173. description: 更新时间
  11174. type: string
  11175. userid:
  11176. description: 客户ID
  11177. type: integer
  11178. username:
  11179. description: 客户名称
  11180. type: string
  11181. type: object
  11182. models.QhjMgrAccountOutInApply:
  11183. properties:
  11184. accountcode:
  11185. description: 资金账号
  11186. type: string
  11187. accountname:
  11188. description: 用户名称(名称)
  11189. type: string
  11190. accountpwd:
  11191. description: 资金密码
  11192. type: string
  11193. accountticket:
  11194. description: 最新账户服务流水号
  11195. type: string
  11196. amount:
  11197. description: 金额
  11198. type: number
  11199. applyremark:
  11200. description: 申请备注
  11201. type: string
  11202. applystatus:
  11203. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11204. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11205. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11206. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11207. type: integer
  11208. auditid:
  11209. description: 审核人
  11210. type: integer
  11211. audittime:
  11212. description: 审核时间
  11213. type: string
  11214. bank_apply_ticket:
  11215. description: 银行申请流水
  11216. type: string
  11217. bankaccountname:
  11218. description: 银行账户名
  11219. type: string
  11220. bankaccountno:
  11221. description: 银行卡号
  11222. type: string
  11223. bankid:
  11224. description: 银行编号
  11225. type: string
  11226. bankname:
  11227. description: 银行名称
  11228. type: string
  11229. bankticket:
  11230. description: 银行流水
  11231. type: string
  11232. branchbankid:
  11233. description: 银行支行号
  11234. type: string
  11235. branchbankname:
  11236. description: 银行支行名称
  11237. type: string
  11238. capamountout:
  11239. description: 出金(劣后本金) - 外部子账户
  11240. type: number
  11241. certificatephotourl:
  11242. description: 凭证地址
  11243. type: string
  11244. charge:
  11245. description: 手续费
  11246. type: number
  11247. checkerrorflag:
  11248. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11249. type: integer
  11250. currency:
  11251. description: 币种
  11252. type: string
  11253. cusbankid:
  11254. description: 托管银行编号
  11255. type: string
  11256. exchticket:
  11257. description: 银行服务流水号
  11258. type: string
  11259. executetype:
  11260. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11261. 7:外部子账户:入金 8:外部子账户:出金'
  11262. type: integer
  11263. extendinfo:
  11264. description: 扩展信息
  11265. type: string
  11266. extoperateid:
  11267. description: 交易服务流水号
  11268. type: integer
  11269. infamount:
  11270. description: 劣后金额(自有)
  11271. type: number
  11272. logincode:
  11273. description: 登录账号(账号)
  11274. type: string
  11275. netaddr:
  11276. description: 调转网址
  11277. type: string
  11278. priamount:
  11279. description: 优先金额(授信)
  11280. type: number
  11281. reauditid:
  11282. description: 复审人
  11283. type: integer
  11284. reauditremark:
  11285. description: 复审备注
  11286. type: string
  11287. reaudittime:
  11288. description: 复审时间
  11289. type: string
  11290. relatedorderid:
  11291. description: 三方关联ID
  11292. type: string
  11293. remark:
  11294. description: 备注
  11295. type: string
  11296. remark2:
  11297. description: 备注(失败原因)
  11298. type: string
  11299. soucreamount:
  11300. description: 原始出入金金额
  11301. type: number
  11302. soucrecurrencyid:
  11303. description: 原始出入金币种
  11304. type: integer
  11305. tradedate:
  11306. description: 交易日(yyyyMMdd)
  11307. type: string
  11308. updatetime:
  11309. description: 更新时间(申请时间)
  11310. type: string
  11311. userid:
  11312. description: 用户id
  11313. type: integer
  11314. userinfotype:
  11315. description: 账户类型 1-个人 2-企业
  11316. type: integer
  11317. type: object
  11318. models.QhjMgrBrokerApply:
  11319. properties:
  11320. applicantid:
  11321. description: 申请人
  11322. type: integer
  11323. applysrc:
  11324. description: 申请来源 - 1:管理端 2:终端
  11325. type: integer
  11326. applystatus:
  11327. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11328. type: integer
  11329. applytime:
  11330. description: 申请时间
  11331. type: string
  11332. auditorid:
  11333. description: 审核人
  11334. type: integer
  11335. auditremark:
  11336. description: 审核备注
  11337. type: string
  11338. auditsrc:
  11339. description: 审核来源 - 1:管理端 2:终端
  11340. type: integer
  11341. audittime:
  11342. description: 审核时间
  11343. type: string
  11344. audittradedate:
  11345. description: 审核交易日(yyyyMMdd)
  11346. type: string
  11347. brokerapplyid:
  11348. description: 申请ID(SEQ_BROKERAPPLY)
  11349. type: integer
  11350. cardbackphotourl:
  11351. description: 证件背面图片地址
  11352. type: string
  11353. cardfrontphotourl:
  11354. description: 证件正面图片地址
  11355. type: string
  11356. cardnum:
  11357. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11358. type: string
  11359. customername:
  11360. description: 姓名
  11361. type: string
  11362. filterstatus:
  11363. description: 筛选条件
  11364. type: string
  11365. logincode:
  11366. description: 登录代码
  11367. type: string
  11368. mobile:
  11369. description: 手机号码
  11370. type: string
  11371. parentuserid:
  11372. description: 所属机构id
  11373. type: integer
  11374. parentusername:
  11375. description: 所属机构名称
  11376. type: string
  11377. refereeuserid:
  11378. description: 推荐人id(经纪人)
  11379. type: integer
  11380. refernum:
  11381. description: 推荐码
  11382. type: string
  11383. remark:
  11384. description: 备注
  11385. type: string
  11386. subarealevelpath:
  11387. description: 层级路径
  11388. type: string
  11389. tradedate:
  11390. description: 交易日(yyyyMMdd)
  11391. type: string
  11392. userid:
  11393. description: 申请人用户ID
  11394. type: integer
  11395. userinfotype:
  11396. description: 用户类型 1-个人 2-企业
  11397. type: integer
  11398. username:
  11399. description: 用户名称
  11400. type: string
  11401. type: object
  11402. models.QhjMgrBrokerRewardReport:
  11403. properties:
  11404. createtime:
  11405. description: 创建时间(注册时间)
  11406. type: string
  11407. cycletime:
  11408. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11409. type: string
  11410. cycletype:
  11411. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11412. type: integer
  11413. directtotalnum:
  11414. description: 直推总人数【期末】
  11415. type: integer
  11416. indirecttotalnum:
  11417. description: 间推总人数【期末】
  11418. type: integer
  11419. mobile:
  11420. description: 电话号码
  11421. type: string
  11422. refereeuserid:
  11423. description: 推荐人id(经纪人id)
  11424. type: integer
  11425. refereeusername:
  11426. description: 推荐人名称(经纪人) 上级经纪人名称
  11427. type: string
  11428. refernum:
  11429. description: 推荐码
  11430. type: string
  11431. subarealevelpath:
  11432. description: 用户层级路径
  11433. type: string
  11434. todayrewardamount:
  11435. description: 奖励总金额【汇总】
  11436. type: number
  11437. updatetime:
  11438. description: 更新时间
  11439. type: string
  11440. userid:
  11441. description: 经纪人用户ID
  11442. type: integer
  11443. userinfotype:
  11444. description: 用户类型 1-个人 2-企业
  11445. type: integer
  11446. username:
  11447. description: 用户名称
  11448. type: string
  11449. type: object
  11450. models.QhjMgrContract:
  11451. properties:
  11452. contractconfirmtime:
  11453. description: 合同确认时间(时间)
  11454. type: string
  11455. currisklevel:
  11456. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11457. type: integer
  11458. decimalplace:
  11459. description: 商品报价小数位
  11460. type: integer
  11461. enumdicname:
  11462. description: 单位名称
  11463. type: string
  11464. goodscode:
  11465. description: 商品代码
  11466. type: string
  11467. goodsid:
  11468. description: 商品ID [5:融资单]
  11469. type: integer
  11470. goodsname:
  11471. description: 商品名称
  11472. type: string
  11473. goodunitid:
  11474. description: 商品单位id
  11475. type: integer
  11476. initmargin:
  11477. description: 初始保证金(首付款)
  11478. type: number
  11479. lenderamount:
  11480. description: 贷款金额(总额|订单总额)
  11481. type: number
  11482. logincode:
  11483. description: 账号(登录代码)
  11484. type: string
  11485. marginratio:
  11486. description: 保证金比率(首付比例)
  11487. type: number
  11488. mobile:
  11489. description: 电话号码(用户资料里的电话)
  11490. type: string
  11491. payamount:
  11492. description: 已付(已付货款)
  11493. type: number
  11494. reckonrecovermargin:
  11495. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11496. type: number
  11497. recoveredmargin:
  11498. description: 已追缴保证金
  11499. type: number
  11500. remainamount:
  11501. description: 合同剩余金额(融资额)
  11502. type: number
  11503. scfcontractid:
  11504. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11505. type: string
  11506. scfcontractstatus:
  11507. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11508. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11509. type: integer
  11510. scfcontracttype:
  11511. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11512. type: integer
  11513. totalinterest:
  11514. description: 已计总利息(利息)
  11515. type: number
  11516. tradedate:
  11517. description: 交易日
  11518. type: string
  11519. tradeprice:
  11520. description: 成交价格(成本价格)
  11521. type: number
  11522. userid:
  11523. description: 用户ID
  11524. type: integer
  11525. userinfotype:
  11526. description: 用户类型 1-个人 2-企业
  11527. type: integer
  11528. username:
  11529. description: 用户名称
  11530. type: string
  11531. wrqty:
  11532. description: 仓单数量(数量)
  11533. type: number
  11534. type: object
  11535. models.QhjMgrCustomer:
  11536. properties:
  11537. address:
  11538. description: 通讯地址
  11539. type: string
  11540. attachment1:
  11541. description: 附件1
  11542. type: string
  11543. audittime:
  11544. description: 审核时间
  11545. type: string
  11546. birthday:
  11547. description: 生日
  11548. type: string
  11549. brokerid:
  11550. description: 所属客户经理id
  11551. type: integer
  11552. brokername:
  11553. description: 所属客户经理名称
  11554. type: string
  11555. cardbackphotourl:
  11556. description: 证件反面图片地址
  11557. type: string
  11558. cardfrontphotourl:
  11559. description: 证件正面图片地址
  11560. type: string
  11561. cardnum:
  11562. description: 证件号码
  11563. type: string
  11564. cardtype:
  11565. description: 证件类型
  11566. type: integer
  11567. cardtypename:
  11568. description: 证件类型名称
  11569. type: string
  11570. cityid:
  11571. description: 市
  11572. type: integer
  11573. cityname:
  11574. description: 城市名称
  11575. type: string
  11576. contactname:
  11577. description: 联系人
  11578. type: string
  11579. countryid:
  11580. description: 国家
  11581. type: integer
  11582. countryname:
  11583. description: 国家名称
  11584. type: string
  11585. createtime:
  11586. description: 创建时间
  11587. type: string
  11588. customername:
  11589. description: 客户名称
  11590. type: string
  11591. districtid:
  11592. description: 区域
  11593. type: integer
  11594. districtname:
  11595. description: 地区名称
  11596. type: string
  11597. email:
  11598. description: 邮件
  11599. type: string
  11600. legalpersonname:
  11601. description: 法人姓名(企业)
  11602. type: string
  11603. logincode:
  11604. description: 登录账号(代码)
  11605. type: string
  11606. memberuserid:
  11607. description: 所属机构ID(所属会员)
  11608. type: integer
  11609. memberusername:
  11610. description: 所属会员名称
  11611. type: string
  11612. mobile:
  11613. description: 手机号码
  11614. type: string
  11615. modifytime:
  11616. description: 修改时间
  11617. type: string
  11618. nickname:
  11619. description: 昵称
  11620. type: string
  11621. parentuserid:
  11622. description: 上级机构(所属机构)
  11623. type: integer
  11624. parentusername:
  11625. description: 所属机构名称
  11626. type: string
  11627. provinceid:
  11628. description: 省
  11629. type: integer
  11630. provincename:
  11631. description: 省名称
  11632. type: string
  11633. proxystatementurl:
  11634. description: 授权委托书
  11635. type: string
  11636. querytype:
  11637. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11638. type: integer
  11639. remark:
  11640. description: 备注
  11641. type: string
  11642. sex:
  11643. description: 性别 0-女 1-男
  11644. type: integer
  11645. status:
  11646. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11647. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11648. type: integer
  11649. statusdesc:
  11650. description: 账户状态中文描述
  11651. type: string
  11652. taxpayernum:
  11653. description: 纳税人识别号
  11654. type: string
  11655. telphone:
  11656. description: 联系电话
  11657. type: string
  11658. userid:
  11659. description: 用户ID
  11660. type: integer
  11661. userinfotype:
  11662. description: 客户类型 1-个人 2-企业
  11663. type: integer
  11664. username:
  11665. description: 用户名称
  11666. type: string
  11667. type: object
  11668. models.QhjMgrPickGoods:
  11669. properties:
  11670. enumdicname:
  11671. description: 单位名称(提货商品)
  11672. type: string
  11673. goodsid:
  11674. description: 商品id
  11675. type: integer
  11676. imageaddress:
  11677. description: 图片
  11678. type: string
  11679. modifierid:
  11680. description: 修改人
  11681. type: integer
  11682. modifiername:
  11683. description: 修改人名称
  11684. type: string
  11685. modifysrc:
  11686. description: 修改来源 - 1:管理端 2:终端
  11687. type: integer
  11688. pickupgoodsagreeunit:
  11689. description: 合约乘数
  11690. type: number
  11691. pickupgoodsdesc:
  11692. description: 描述
  11693. type: string
  11694. pickupgoodsid:
  11695. description: 提货商品ID
  11696. type: string
  11697. pickupgoodsname:
  11698. description: 提货商品名称
  11699. type: string
  11700. pickupgoodsstatus:
  11701. description: 状态 - 1:正常 2:停用 3:注销
  11702. type: integer
  11703. pickupgoodsunitid:
  11704. description: 单位ID
  11705. type: integer
  11706. pickupratio:
  11707. description: 提货系数
  11708. type: number
  11709. preparedays:
  11710. description: 备货期(天)
  11711. type: integer
  11712. remark:
  11713. description: 备注
  11714. type: string
  11715. updatetime:
  11716. description: 更新时间
  11717. type: string
  11718. type: object
  11719. models.QhjMgrPositionRsp:
  11720. properties:
  11721. accountid:
  11722. description: 账号Id
  11723. type: integer
  11724. accountname:
  11725. description: 用户名称
  11726. type: string
  11727. agreeunit:
  11728. description: 合约乘数
  11729. type: number
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. avialqty:
  11734. description: 可用数量
  11735. type: number
  11736. decimalplace:
  11737. description: 报价小数位
  11738. type: integer
  11739. enumdicname:
  11740. description: 单位名称(商品)
  11741. type: string
  11742. frozenqty:
  11743. description: 冻结数量
  11744. type: number
  11745. goodscode:
  11746. description: 商品代码(内部)
  11747. type: string
  11748. goodsid:
  11749. description: 商品Id
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. goodunitid:
  11755. description: 报价单位ID
  11756. type: integer
  11757. holderamount:
  11758. description: 金额
  11759. type: number
  11760. holderqty:
  11761. description: 持有数量
  11762. type: number
  11763. holdertype:
  11764. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11765. type: integer
  11766. logincode:
  11767. description: 登录代码(账户)
  11768. type: string
  11769. marketid:
  11770. description: 市场id
  11771. type: integer
  11772. qtydecimalplace:
  11773. description: 成交量小数位
  11774. type: integer
  11775. trademode:
  11776. description: 交易模式
  11777. type: integer
  11778. userid:
  11779. description: 用户id
  11780. type: integer
  11781. userinfotype:
  11782. description: 账户类型 1-个人 2-企业
  11783. type: integer
  11784. type: object
  11785. models.QhjMgrSubArea:
  11786. properties:
  11787. accountname:
  11788. description: 账户名称(机构名称)
  11789. type: string
  11790. memberuserid:
  11791. description: 所属会员ID
  11792. type: integer
  11793. parenttopuser:
  11794. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11795. type: string
  11796. parentuserid:
  11797. description: 所属机构ID
  11798. type: integer
  11799. rootuserid:
  11800. description: 根用户ID
  11801. type: string
  11802. subaccountlevel:
  11803. description: 子账户层数
  11804. type: integer
  11805. subarealevelpath:
  11806. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11807. type: string
  11808. userid:
  11809. description: 用户ID
  11810. type: integer
  11811. usertype:
  11812. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11813. type: integer
  11814. type: object
  11815. models.QhjMgrTradeDetailRsp:
  11816. properties:
  11817. accountid:
  11818. description: 资金账号
  11819. type: integer
  11820. accountname:
  11821. description: 用户名称
  11822. type: string
  11823. agreeunit:
  11824. description: 合约乘数
  11825. type: number
  11826. buyorsell:
  11827. description: 成交类型(方向) 0:买 1:卖
  11828. type: integer
  11829. decimalplace:
  11830. description: 报价小数位
  11831. type: integer
  11832. enumdicname:
  11833. description: 单位名称(商品)
  11834. type: string
  11835. goodscode:
  11836. description: 商品代码(内部)
  11837. type: string
  11838. goodsid:
  11839. description: 商品id
  11840. type: integer
  11841. goodsname:
  11842. description: 商品名称
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. logincode:
  11848. description: 登录代码(账户)
  11849. type: string
  11850. marketid:
  11851. description: 市场id
  11852. type: integer
  11853. orderid:
  11854. description: 关联委托单号
  11855. type: string
  11856. qtydecimalplace:
  11857. description: 成交量小数位
  11858. type: integer
  11859. tradeamount:
  11860. description: 金额
  11861. type: number
  11862. tradedate:
  11863. description: 交易日
  11864. type: string
  11865. tradeid:
  11866. description: 成交单号
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. tradeprice:
  11872. description: 价格
  11873. type: number
  11874. tradeqty:
  11875. description: 数量
  11876. type: number
  11877. tradetime:
  11878. description: 成交时间
  11879. type: string
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradeOrderDetailRsp:
  11888. properties:
  11889. accountid:
  11890. description: 资金账号
  11891. type: integer
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. amount:
  11899. description: 金额
  11900. type: number
  11901. decimalplace:
  11902. description: 报价小数位
  11903. type: integer
  11904. enumdicname:
  11905. description: 单位名称(商品)
  11906. type: string
  11907. goodscode:
  11908. description: 商品代码(内部)
  11909. type: string
  11910. goodsid:
  11911. description: 商品id
  11912. type: integer
  11913. goodsname:
  11914. description: 商品名称
  11915. type: string
  11916. goodunitid:
  11917. description: 报价单位ID
  11918. type: integer
  11919. logincode:
  11920. description: 登录代码(账户)
  11921. type: string
  11922. marketid:
  11923. description: 市场id
  11924. type: integer
  11925. orderid:
  11926. description: 关联委托单号
  11927. type: string
  11928. orderprice:
  11929. description: 价格
  11930. type: number
  11931. orderqty:
  11932. description: 数量
  11933. type: number
  11934. orderstatus:
  11935. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11936. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11937. 16:成交失败违约(荷兰式竞拍专用)
  11938. type: integer
  11939. ordertime:
  11940. description: 委托时间
  11941. type: string
  11942. qtydecimalplace:
  11943. description: 成交量小数位
  11944. type: integer
  11945. tradedate:
  11946. description: 交易日
  11947. type: string
  11948. trademode:
  11949. description: 交易模式
  11950. type: integer
  11951. userid:
  11952. description: 用户id
  11953. type: integer
  11954. userinfotype:
  11955. description: 账户类型 1-个人 2-企业
  11956. type: integer
  11957. type: object
  11958. models.QhjMgrTradePayOrder:
  11959. properties:
  11960. accountname:
  11961. description: 用户名称
  11962. type: string
  11963. advanceratio:
  11964. description: 首付比率
  11965. type: number
  11966. agreeunit:
  11967. description: 合约乘数
  11968. type: number
  11969. buyaccountid:
  11970. description: 买方账号ID[报价币种]
  11971. type: integer
  11972. buyorderid:
  11973. description: 买方委托单号(关联单号)
  11974. type: string
  11975. createtime:
  11976. description: 创建时间
  11977. type: string
  11978. decimalplace:
  11979. description: 报价小数位
  11980. type: integer
  11981. enumdicname:
  11982. description: 单位名称(商品)
  11983. type: string
  11984. goodscode:
  11985. description: 商品代码(内部)
  11986. type: string
  11987. goodsid:
  11988. description: 商品ID
  11989. type: integer
  11990. goodsname:
  11991. description: 商品名称
  11992. type: string
  11993. goodunitid:
  11994. description: 报价单位ID
  11995. type: integer
  11996. logincode:
  11997. description: 登录代码(账户)
  11998. type: string
  11999. marketid:
  12000. description: 市场id
  12001. type: integer
  12002. offamount:
  12003. description: 优惠金额
  12004. type: number
  12005. operatetype:
  12006. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12007. type: integer
  12008. payamount:
  12009. description: 支付金额(金额)
  12010. type: number
  12011. payflag:
  12012. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12013. type: integer
  12014. paylimitedtime:
  12015. description: 支付期限
  12016. type: string
  12017. paytime:
  12018. description: 付款时间
  12019. type: string
  12020. qtydecimalplace:
  12021. description: 成交量小数位
  12022. type: integer
  12023. sellaccountid:
  12024. description: 卖方账号ID[报价币种]
  12025. type: integer
  12026. sellorderid:
  12027. description: 卖方委托单号
  12028. type: string
  12029. tradeamount:
  12030. description: 成交金额(优惠后金额)
  12031. type: number
  12032. tradecharge:
  12033. description: 成交手续费(买方)
  12034. type: number
  12035. tradedate:
  12036. description: 交易日(yyyyMMdd)
  12037. type: string
  12038. tradeid:
  12039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12040. type: string
  12041. trademode:
  12042. description: 交易模式
  12043. type: integer
  12044. tradeprice:
  12045. description: 成交价格(价格)
  12046. type: number
  12047. tradeqty:
  12048. description: 成交数量(数量)
  12049. type: number
  12050. tradetime:
  12051. description: 成交时间
  12052. type: string
  12053. userid:
  12054. description: 用户id
  12055. type: integer
  12056. userinfotype:
  12057. description: 账户类型 1-个人 2-企业
  12058. type: integer
  12059. type: object
  12060. models.QhjMyTeamEx:
  12061. properties:
  12062. accountname:
  12063. description: 用户名称
  12064. type: string
  12065. accountstatus:
  12066. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12067. type: integer
  12068. createtime:
  12069. description: 创建时间
  12070. type: string
  12071. mobile:
  12072. description: 手机号码
  12073. type: string
  12074. refereeuserid:
  12075. description: 推荐人id
  12076. type: integer
  12077. refernum:
  12078. description: 推荐码
  12079. type: string
  12080. subList:
  12081. items:
  12082. $ref: '#/definitions/models.QhjMyTeamEx'
  12083. type: array
  12084. userid:
  12085. description: 用户id
  12086. type: integer
  12087. userinfotype:
  12088. description: 用户类型 1-个人 2-企业
  12089. type: integer
  12090. type: object
  12091. models.QhjNodeAgreementConfig:
  12092. properties:
  12093. agreementcontent:
  12094. description: 协议内容
  12095. type: string
  12096. agreementid:
  12097. description: 协议ID
  12098. type: integer
  12099. agreementname:
  12100. description: 协议名称
  12101. type: string
  12102. agreementno:
  12103. description: 协议编号
  12104. type: string
  12105. agreementtype:
  12106. description: 协议类型 - 1:注册 2:登录 3:交易
  12107. type: integer
  12108. agreementversion:
  12109. description: 协议版本号
  12110. type: integer
  12111. configid:
  12112. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12113. type: integer
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. goodsid:
  12118. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12119. type: integer
  12120. nodetype:
  12121. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12122. type: integer
  12123. type: object
  12124. models.QhjParentAreaList:
  12125. properties:
  12126. accountname:
  12127. description: 账户名称(机构名称)
  12128. type: string
  12129. userid:
  12130. description: 用户ID
  12131. type: integer
  12132. usertype:
  12133. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12134. type: integer
  12135. type: object
  12136. models.QhjPayOrder:
  12137. properties:
  12138. advanceratio:
  12139. description: 首付比率
  12140. type: number
  12141. buyaccountid:
  12142. description: 买方账号ID[报价币种]
  12143. type: integer
  12144. buyorderid:
  12145. description: 买方委托单号
  12146. type: string
  12147. createtime:
  12148. description: 创建时间
  12149. type: string
  12150. decimalplace:
  12151. description: 商品报价小数位
  12152. type: integer
  12153. enumdicname:
  12154. description: 单位名称
  12155. type: string
  12156. goodscode:
  12157. description: 商品代码
  12158. type: string
  12159. goodsid:
  12160. description: 商品ID
  12161. type: integer
  12162. goodsname:
  12163. description: 商品名称
  12164. type: string
  12165. goodunitid:
  12166. description: 商品单位id
  12167. type: integer
  12168. marketid:
  12169. description: 市场ID
  12170. type: integer
  12171. offamount:
  12172. description: 优惠金额
  12173. type: number
  12174. operatetype:
  12175. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12176. type: integer
  12177. payamount:
  12178. description: 支付金额
  12179. type: number
  12180. payflag:
  12181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12182. type: integer
  12183. paylimitedtime:
  12184. description: 支付期限
  12185. type: string
  12186. paytime:
  12187. description: 付款时间
  12188. type: string
  12189. qtydecimalplace:
  12190. description: 成交量小数位
  12191. type: integer
  12192. sellaccountid:
  12193. description: 卖方账号ID[报价币种]
  12194. type: integer
  12195. sellorderid:
  12196. description: 卖方委托单号
  12197. type: string
  12198. tradeamount:
  12199. description: 成交金额(优惠后金额)
  12200. type: number
  12201. tradecharge:
  12202. description: 成交手续费(买方)
  12203. type: number
  12204. tradedate:
  12205. description: 交易日(yyyyMMdd)
  12206. type: string
  12207. tradeid:
  12208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12209. type: string
  12210. tradeprice:
  12211. description: 成交价格
  12212. type: number
  12213. tradeqty:
  12214. description: 成交数量
  12215. type: number
  12216. type: object
  12217. models.QhjPickArea:
  12218. properties:
  12219. address:
  12220. description: 详细地址
  12221. type: string
  12222. cityid:
  12223. description: 市
  12224. type: integer
  12225. cityname:
  12226. description: 城市名称
  12227. type: string
  12228. countryid:
  12229. description: 国家
  12230. type: integer
  12231. countryname:
  12232. description: 国家名称
  12233. type: string
  12234. districtid:
  12235. description: 地区
  12236. type: integer
  12237. districtname:
  12238. description: 地区名称
  12239. type: string
  12240. fromuserid:
  12241. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12242. type: integer
  12243. fromusername:
  12244. description: 所属机构名称
  12245. type: string
  12246. provinceid:
  12247. description: 省
  12248. type: integer
  12249. provincename:
  12250. description: 省名称
  12251. type: string
  12252. suborgtype:
  12253. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12254. type: integer
  12255. userid:
  12256. description: 机构用户ID 其他做市关系,都设置为 1
  12257. type: integer
  12258. username:
  12259. description: 机构用户名称(门店门称)
  12260. type: string
  12261. type: object
  12262. models.QhjPickGoods:
  12263. properties:
  12264. enumdicname:
  12265. description: 单位名称(提货商品)
  12266. type: string
  12267. goodsid:
  12268. description: 商品id
  12269. type: integer
  12270. imageaddress:
  12271. description: 图片
  12272. type: string
  12273. modifierid:
  12274. description: 修改人
  12275. type: integer
  12276. modifiername:
  12277. description: 修改人名称
  12278. type: string
  12279. modifysrc:
  12280. description: 修改来源 - 1:管理端 2:终端
  12281. type: integer
  12282. pickupgoodsagreeunit:
  12283. description: 合约乘数
  12284. type: number
  12285. pickupgoodsdesc:
  12286. description: 描述
  12287. type: string
  12288. pickupgoodsid:
  12289. description: 提货商品ID
  12290. type: string
  12291. pickupgoodsname:
  12292. description: 提货商品名称
  12293. type: string
  12294. pickupgoodsstatus:
  12295. description: 状态 - 1:正常 2:停用 3:注销
  12296. type: integer
  12297. pickupgoodsunitid:
  12298. description: 单位ID
  12299. type: integer
  12300. pickupratio:
  12301. description: 提货系数
  12302. type: number
  12303. preparedays:
  12304. description: 备货期(天)
  12305. type: integer
  12306. remark:
  12307. description: 备注
  12308. type: string
  12309. updatetime:
  12310. description: 更新时间
  12311. type: string
  12312. type: object
  12313. models.QhjRSTriggerLog:
  12314. properties:
  12315. accountid:
  12316. description: 用户资金账户
  12317. type: integer
  12318. accountname:
  12319. description: 账号名称(ACCOUNTID对应的名称)
  12320. type: string
  12321. currencyid:
  12322. description: 币种id
  12323. type: integer
  12324. currencyname:
  12325. description: 币种名称
  12326. type: string
  12327. decimalplace:
  12328. description: 商品报价小数位
  12329. type: integer
  12330. enumdicname:
  12331. description: 单位名称
  12332. type: string
  12333. goodscode:
  12334. description: 定投商品代码
  12335. type: string
  12336. goodsid:
  12337. description: 定投商品ID
  12338. type: integer
  12339. goodsname:
  12340. description: 定投商品名称
  12341. type: string
  12342. goodunitid:
  12343. description: 定投商品单位id
  12344. type: integer
  12345. logid:
  12346. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12347. type: string
  12348. logincode:
  12349. description: 账号(登录代码)
  12350. type: string
  12351. qtydecimalplace:
  12352. description: 成交量小数位
  12353. type: integer
  12354. regularlycycle:
  12355. description: 定投频率 - 1:每周 2:每月
  12356. type: integer
  12357. regularlycyclevalue:
  12358. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12359. type: string
  12360. regularlymode:
  12361. description: 定投方式 - 1:按数量 2:按金额
  12362. type: integer
  12363. regularlymodevalue:
  12364. description: 定投方式值 - 数量或金额
  12365. type: number
  12366. regularlystrategyid:
  12367. description: 定投策略ID
  12368. type: integer
  12369. retcode:
  12370. description: 错误码
  12371. type: string
  12372. tradeid:
  12373. description: 成交单ID
  12374. type: string
  12375. triggeramount:
  12376. description: 触发金额
  12377. type: number
  12378. triggerqty:
  12379. description: 触发数量
  12380. type: number
  12381. triggerstatus:
  12382. description: 触发状态 - 1:成功 2:失败
  12383. type: integer
  12384. triggertime:
  12385. description: 触发时间
  12386. type: string
  12387. triggertradedate:
  12388. description: 触发交易日
  12389. type: string
  12390. userid:
  12391. description: 所属用户ID
  12392. type: integer
  12393. userinfotype:
  12394. description: 用户类型 1-个人 2-企业
  12395. type: integer
  12396. username:
  12397. description: 用户名称(userid对应的名称)
  12398. type: string
  12399. type: object
  12400. models.QhjRStrategy:
  12401. properties:
  12402. accountid:
  12403. description: 用户资金账户
  12404. type: integer
  12405. accountname:
  12406. description: 账号名称(ACCOUNTID对应的名称)
  12407. type: string
  12408. currencyid:
  12409. description: 币种id
  12410. type: integer
  12411. currencyname:
  12412. description: 币种名称
  12413. type: string
  12414. decimalplace:
  12415. description: 商品报价小数位
  12416. type: integer
  12417. enumdicname:
  12418. description: 单位名称
  12419. type: string
  12420. goodscode:
  12421. description: 定投商品代码
  12422. type: string
  12423. goodsid:
  12424. description: 定投商品ID
  12425. type: integer
  12426. goodsname:
  12427. description: 定投商品名称
  12428. type: string
  12429. goodunitid:
  12430. description: 定投商品单位id
  12431. type: integer
  12432. lasteffecttradedate:
  12433. description: 最新生效交易日
  12434. type: string
  12435. laststoptradedate:
  12436. description: 最新暂停交易日
  12437. type: string
  12438. lasttriggertradedate:
  12439. description: 最新触发交易日
  12440. type: string
  12441. logincode:
  12442. description: 账号(登录代码)
  12443. type: string
  12444. nexttriggeramount:
  12445. description: 下次触发金额
  12446. type: number
  12447. nexttriggerdate:
  12448. description: 下次触发日期
  12449. type: string
  12450. nexttriggerqty:
  12451. description: 下次触发数量 [按小数位放大值]
  12452. type: number
  12453. qtydecimalplace:
  12454. description: 成交量小数位
  12455. type: integer
  12456. regularlycycle:
  12457. description: 定投频率 - 1:每周 2:每月
  12458. type: integer
  12459. regularlycyclevalue:
  12460. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12461. type: string
  12462. regularlymode:
  12463. description: 定投方式 - 1:按数量 2:按金额
  12464. type: integer
  12465. regularlymodevalue:
  12466. description: 定投方式值 - 数量或金额
  12467. type: number
  12468. regularlystrategyid:
  12469. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12470. type: integer
  12471. regularlystrategystatus:
  12472. description: 策略状态 - 1:正常 2:暂停 3:终止
  12473. type: integer
  12474. remark:
  12475. description: 备注
  12476. type: string
  12477. triggersuccesstimes:
  12478. description: 累计定投成功次数
  12479. type: string
  12480. triggertotalamount:
  12481. description: 累计定投金额(成功)
  12482. type: number
  12483. triggertotalqty:
  12484. description: 累计定投数量(成功) [按小数位放大值]
  12485. type: number
  12486. triggertotaltimes:
  12487. description: 累计定投总次数
  12488. type: string
  12489. updatesrc:
  12490. description: 更新来源 - 1:管理端 2:终端
  12491. type: integer
  12492. updatetime:
  12493. description: 更新时间
  12494. type: string
  12495. updatorid:
  12496. description: 更新人
  12497. type: string
  12498. userid:
  12499. description: 所属用户ID
  12500. type: integer
  12501. userinfotype:
  12502. description: 用户类型 1-个人 2-企业
  12503. type: integer
  12504. username:
  12505. description: 用户名称(userid对应的名称)
  12506. type: string
  12507. type: object
  12508. models.QhjReckonPriceLog:
  12509. properties:
  12510. decimalplace:
  12511. description: 商品报价小数位
  12512. type: integer
  12513. goodscode:
  12514. description: 商品代码
  12515. type: string
  12516. goodsid:
  12517. description: 商品ID
  12518. type: integer
  12519. goodsname:
  12520. description: 商品名称
  12521. type: string
  12522. lastreckonprice:
  12523. description: 上日结算价
  12524. type: number
  12525. nextdnlimitprice:
  12526. description: 下个交易日跌停价
  12527. type: number
  12528. nexttrade:
  12529. description: 下个交易日
  12530. type: string
  12531. nextuplimitprice:
  12532. description: 下个交易日涨停价
  12533. type: number
  12534. reckonprice:
  12535. description: 今日结算价(定投价)
  12536. type: number
  12537. reckontime:
  12538. description: 结算时间
  12539. type: string
  12540. totalholderqty:
  12541. description: 总持仓数
  12542. type: integer
  12543. totalstock:
  12544. description: 总库存
  12545. type: integer
  12546. tradedate:
  12547. description: 交易日
  12548. type: string
  12549. updowncount:
  12550. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12551. type: integer
  12552. updownflag:
  12553. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12554. type: integer
  12555. updownrate:
  12556. description: 今日涨跌幅
  12557. type: number
  12558. updownrate_2d:
  12559. description: 连续两日涨跌幅
  12560. type: number
  12561. updownrate_3d:
  12562. description: 连续三日涨跌幅
  12563. type: number
  12564. type: object
  12565. models.QhjScoreLog:
  12566. properties:
  12567. accountid:
  12568. description: 账户ID
  12569. type: integer
  12570. createtime:
  12571. description: 创建时间(时间)
  12572. type: string
  12573. goodsid:
  12574. description: 商品ID
  12575. type: integer
  12576. hasuploaded:
  12577. description: 是否已同步(千海金) 0:未同步 1;已同步
  12578. type: integer
  12579. logid:
  12580. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12581. type: string
  12582. marketid:
  12583. description: 市场ID
  12584. type: integer
  12585. relatedamount:
  12586. description: 关联金额
  12587. type: number
  12588. relatedorderid:
  12589. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12590. type: string
  12591. scoreconfigvalue1:
  12592. description: 积分配置1
  12593. type: integer
  12594. scoreconfigvalue2:
  12595. description: 积分配置1
  12596. type: integer
  12597. scoretype:
  12598. description: 积分类型 - 1:提货积分
  12599. type: integer
  12600. scorevalue:
  12601. description: 积分
  12602. type: number
  12603. tradedate:
  12604. description: 交易日(yyyyMMdd)
  12605. type: string
  12606. uploadedtime:
  12607. description: 同步时间
  12608. type: string
  12609. userid:
  12610. description: 用户ID
  12611. type: integer
  12612. type: object
  12613. models.QhjSiteColumnDetail:
  12614. properties:
  12615. author:
  12616. description: 作者
  12617. type: string
  12618. brief:
  12619. description: 简介
  12620. type: string
  12621. columnid:
  12622. description: 所属栏目
  12623. type: integer
  12624. context:
  12625. description: 内容
  12626. type: string
  12627. coverimage:
  12628. description: 封面图片
  12629. type: string
  12630. creaedate:
  12631. description: 创建时间
  12632. type: string
  12633. creatorid:
  12634. description: 创建人
  12635. type: integer
  12636. hits:
  12637. description: 点击数
  12638. type: integer
  12639. id:
  12640. description: ID(SEQ_SITE_COLUMNDETAIL)
  12641. type: integer
  12642. isshow:
  12643. description: 是否展示 - 0:不展示 1:展示
  12644. type: integer
  12645. istop:
  12646. description: 是否置顶 - 0:不置 1:置顶
  12647. type: integer
  12648. modifierid:
  12649. description: 操作人
  12650. type: integer
  12651. publishdate:
  12652. description: 发布日期
  12653. type: string
  12654. status:
  12655. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12656. type: integer
  12657. title:
  12658. description: 标题
  12659. type: string
  12660. updatedate:
  12661. description: 修改时间
  12662. type: string
  12663. userid:
  12664. description: 用户ID(默认为0, 核心为为机构用户ID)
  12665. type: integer
  12666. username:
  12667. description: 用户名称
  12668. type: string
  12669. type: object
  12670. models.QhjTeamOrder:
  12671. properties:
  12672. accountid:
  12673. description: 账户ID[报价币种]
  12674. type: integer
  12675. accountname:
  12676. description: 账户名称
  12677. type: string
  12678. agreeunit:
  12679. description: 合约乘数
  12680. type: number
  12681. buyorsell:
  12682. description: 方向 - 0:买 1:卖
  12683. type: integer
  12684. decimalplace:
  12685. description: 报价小数位
  12686. type: integer
  12687. enumdicname:
  12688. description: 单位名称
  12689. type: string
  12690. goodscode:
  12691. description: 商品代码(内部)
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. goodsname:
  12697. description: 商品名称
  12698. type: string
  12699. goodunitid:
  12700. description: 报价单位ID
  12701. type: integer
  12702. marketid:
  12703. description: 市场ID
  12704. type: integer
  12705. marketname:
  12706. description: 市场名称
  12707. type: string
  12708. qtydecimalplace:
  12709. description: 成交量小数位
  12710. type: integer
  12711. refereeuserid:
  12712. description: 推荐人ID
  12713. type: integer
  12714. tradeamount:
  12715. description: 成交金额[账户币种,用于所有权]
  12716. type: number
  12717. tradedate:
  12718. description: 交易日(yyyyMMdd)
  12719. type: string
  12720. trademode:
  12721. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12722. 21:竞拍-大宗式 22:受托竞价
  12723. type: integer
  12724. tradeprice:
  12725. description: 成交价格
  12726. type: number
  12727. tradeqty:
  12728. description: 成交数量
  12729. type: number
  12730. tradetime:
  12731. description: 成交时间
  12732. type: string
  12733. userid:
  12734. description: 用户ID
  12735. type: integer
  12736. type: object
  12737. models.QhjTradeGoodsPickup:
  12738. properties:
  12739. accountid:
  12740. description: 账户ID
  12741. type: integer
  12742. address:
  12743. description: 提货人详细地址
  12744. type: string
  12745. amount:
  12746. description: 提货金额
  12747. type: number
  12748. artradedate:
  12749. description: 自动收货交易日(yyyyMMdd)
  12750. type: string
  12751. auditer:
  12752. description: 审核人
  12753. type: integer
  12754. auditsrc:
  12755. description: 更新来源 - 1:管理端 2:终端
  12756. type: integer
  12757. audittime:
  12758. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12759. type: string
  12760. audittradedate:
  12761. description: 审核交易日(yyyyMMdd)
  12762. type: string
  12763. cardnum:
  12764. description: 提货人证件号码
  12765. type: string
  12766. cardtypeid:
  12767. description: 提货人证件类型
  12768. type: integer
  12769. checkremark:
  12770. description: 审核备注
  12771. type: string
  12772. cityid:
  12773. description: 市
  12774. type: integer
  12775. cityname:
  12776. description: 城市名称
  12777. type: string
  12778. confirmtime:
  12779. description: 取货时间 或 收货时间
  12780. type: string
  12781. countryid:
  12782. description: 国家
  12783. type: integer
  12784. countryname:
  12785. description: 国家名称
  12786. type: string
  12787. decimalplace:
  12788. description: 商品报价小数位
  12789. type: integer
  12790. districtid:
  12791. description: 地区
  12792. type: integer
  12793. districtname:
  12794. description: 地区名称
  12795. type: string
  12796. enumdicname:
  12797. description: 单位名称(提货商品)
  12798. type: string
  12799. expresscompany:
  12800. description: 物流公司
  12801. type: string
  12802. expressnum:
  12803. description: 物流单号
  12804. type: string
  12805. goodsagreeunit:
  12806. description: 交易商品乘数
  12807. type: number
  12808. goodscode:
  12809. description: 商品代码
  12810. type: string
  12811. goodsid:
  12812. description: 商品ID
  12813. type: integer
  12814. goodsname:
  12815. description: 商品名称
  12816. type: string
  12817. goodsqty:
  12818. description: 交易商品手数(69模式按成交量小数位放大取整)
  12819. type: number
  12820. handlestatus:
  12821. description: 处理状态
  12822. type: integer
  12823. logincode:
  12824. description: 账号(登录代码, 有可能为空)
  12825. type: string
  12826. marketid:
  12827. description: 市场ID
  12828. type: integer
  12829. phonenum:
  12830. description: 提货人联系方式
  12831. type: string
  12832. pickupgoodsagreeunit:
  12833. description: 提货商品合约乘数
  12834. type: number
  12835. pickupgoodsid:
  12836. description: 提货商品ID
  12837. type: string
  12838. pickupgoodsname:
  12839. description: 提货商品名称
  12840. type: string
  12841. pickupgoodsqty:
  12842. description: 提货商品手数(数量)
  12843. type: number
  12844. pickupgoodsunitid:
  12845. description: 单位ID(提货商品)
  12846. type: integer
  12847. pickupratio:
  12848. description: 提货系数
  12849. type: number
  12850. preparedays:
  12851. description: 备货期(天)-提货单明细表
  12852. type: integer
  12853. provinceid:
  12854. description: 省
  12855. type: integer
  12856. provincename:
  12857. description: 省名称
  12858. type: string
  12859. qty:
  12860. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12861. type: number
  12862. qtydecimalplace:
  12863. description: 商品数量小数位
  12864. type: integer
  12865. recivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. reqtime:
  12869. description: 提货申请时间
  12870. type: string
  12871. storeuserid:
  12872. description: 门店用户ID (千海金)
  12873. type: integer
  12874. storeusername:
  12875. description: 门店用户名称
  12876. type: string
  12877. takemode:
  12878. description: 提货方式 - 2:自提 3:配送(邮寄)
  12879. type: integer
  12880. takeorderid:
  12881. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12882. type: string
  12883. takeorderstatus:
  12884. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12885. 7:已拒绝 8:已撤销
  12886. type: integer
  12887. takeremark:
  12888. description: 提货备注
  12889. type: string
  12890. tradedate:
  12891. description: 交易日(yyyyMMdd)
  12892. type: string
  12893. updatetime:
  12894. description: 更新时间
  12895. type: string
  12896. userid:
  12897. description: 用户ID
  12898. type: integer
  12899. userinfotype:
  12900. description: 客户类型 1-个人 2-企业
  12901. type: integer
  12902. username:
  12903. description: 用户名称
  12904. type: string
  12905. type: object
  12906. models.QhjUserNodeCfgAndStatus:
  12907. properties:
  12908. agreementcontent:
  12909. description: 协议内容
  12910. type: string
  12911. agreementid:
  12912. description: 协议ID
  12913. type: integer
  12914. agreementname:
  12915. description: 协议名称
  12916. type: string
  12917. agreementno:
  12918. description: 协议编号
  12919. type: string
  12920. agreementtype:
  12921. description: 协议类型 - 1:注册 2:登录 3:交易
  12922. type: integer
  12923. agreementversion:
  12924. description: 协议版本号
  12925. type: integer
  12926. configid:
  12927. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12928. type: integer
  12929. createtime:
  12930. description: 创建时间
  12931. type: string
  12932. goodsid:
  12933. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12934. type: integer
  12935. nodetype:
  12936. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12937. type: integer
  12938. signtimestamp:
  12939. description: 签约状态时间戳(最近一次)
  12940. type: string
  12941. tradedate:
  12942. description: 签约交易日(yyyyMMdd)
  12943. type: string
  12944. userid:
  12945. description: 客户ID
  12946. type: integer
  12947. type: object
  12948. models.Qhjgoodsex:
  12949. properties:
  12950. canfinance:
  12951. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12952. type: integer
  12953. canregularlybuy:
  12954. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12955. type: integer
  12956. defaulttradeuserid:
  12957. description: 默认交易用户ID
  12958. type: integer
  12959. deliverygoodsid:
  12960. description: 现货品种ID
  12961. type: integer
  12962. goodsid:
  12963. description: 商品ID(自增ID SEQ_GOODS)
  12964. type: integer
  12965. minamount:
  12966. description: 最小购买金额
  12967. type: number
  12968. regularlybuyminamount:
  12969. description: 定投最小金额
  12970. type: number
  12971. regularlybuyminqty:
  12972. description: 定投最小数量
  12973. type: number
  12974. spotgoodsbrandid:
  12975. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12976. type: integer
  12977. visibilityforenterprise:
  12978. description: 企业客户是否可见 - 0:不可见 1:可见
  12979. type: integer
  12980. visibilityforpersonal:
  12981. description: 个人客户是否可见 - 0:不可见 1:可见
  12982. type: integer
  12983. wrstandardid:
  12984. description: 现货商品ID
  12985. type: integer
  12986. type: object
  12987. models.QueryErrorInfosRsp:
  12988. properties:
  12989. description:
  12990. description: 异常描述
  12991. type: string
  12992. errorcode:
  12993. description: 异常代码
  12994. type: string
  12995. errorid:
  12996. description: 异常ID
  12997. type: integer
  12998. modulecode:
  12999. description: 所属模块
  13000. type: string
  13001. operatecode:
  13002. description: 所属操作
  13003. type: string
  13004. rownumber:
  13005. description: 行号
  13006. type: string
  13007. required:
  13008. - errorid
  13009. type: object
  13010. models.QueryHedgeOrderDetailRsp:
  13011. properties:
  13012. accountid:
  13013. description: 账户ID
  13014. type: integer
  13015. buyorsell:
  13016. description: 买卖 - 0:买 1:卖
  13017. type: integer
  13018. cancellogincode:
  13019. description: 撤单人
  13020. type: string
  13021. channelbuildtype:
  13022. description: 开平标志 - 0:无 1:建仓 2:平仓
  13023. type: integer
  13024. channelinnerorderstatus:
  13025. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13026. 9:全部成交
  13027. type: integer
  13028. channeloperatetype:
  13029. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13030. type: integer
  13031. closetype:
  13032. description: 平仓方式 - 0:无 1:平今 2:平昨
  13033. type: integer
  13034. curexchangerate:
  13035. description: 当前汇率
  13036. type: number
  13037. decimalplace:
  13038. description: 商品报价小数位
  13039. type: integer
  13040. exchangefullname:
  13041. description: 外部交易所全称
  13042. type: string
  13043. goodscode:
  13044. description: 商品代码(内部)
  13045. type: string
  13046. goodsid:
  13047. description: 商品ID
  13048. type: integer
  13049. goodsname:
  13050. description: 商品名称
  13051. type: string
  13052. marketid:
  13053. description: 市场ID
  13054. type: integer
  13055. openfreezemargin:
  13056. description: 冻结保证金(冻结交易金额)
  13057. type: number
  13058. orderid:
  13059. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13060. type: string
  13061. orderlogincode:
  13062. description: 委托人
  13063. type: string
  13064. orderprice:
  13065. description: 委托价格(账户)
  13066. type: number
  13067. orderqty:
  13068. description: 委托数量
  13069. type: integer
  13070. ordertime:
  13071. description: 委托时间
  13072. type: string
  13073. pricemode:
  13074. description: '取价方式 - 1:市价 2: 限价'
  13075. type: integer
  13076. tradedate:
  13077. description: 交易日(yyyyMMdd)
  13078. type: string
  13079. tradeqty:
  13080. description: 成交数量
  13081. type: integer
  13082. type: object
  13083. models.QueryHedgeTradeDetailRsp:
  13084. properties:
  13085. accountid:
  13086. description: 账号ID
  13087. type: integer
  13088. buyorsell:
  13089. description: 方向 - 0:买 1:卖
  13090. type: integer
  13091. channelbuildtype:
  13092. description: 委托单据类型 0:无 1:建仓 2:平仓
  13093. type: integer
  13094. closecharge:
  13095. description: 平仓手续费(账户)
  13096. type: number
  13097. closecharge2:
  13098. description: 平仓手续费(商品)
  13099. type: number
  13100. closepl:
  13101. description: 平仓盈亏(账户)
  13102. type: number
  13103. closepl2:
  13104. description: 平仓盈亏(商品)
  13105. type: number
  13106. closepl3:
  13107. description: 平仓盈亏(账户)(逐笔)
  13108. type: number
  13109. closepl4:
  13110. description: 平仓盈亏(商品)(逐笔)
  13111. type: number
  13112. closetype:
  13113. description: 平仓方式 - 0:无 1:平今 2:平昨
  13114. type: integer
  13115. curexchangerate:
  13116. description: 当前汇率
  13117. type: number
  13118. decimalplace:
  13119. description: 商品报价小数位
  13120. type: integer
  13121. exchangefullname:
  13122. description: 外部交易所全称
  13123. type: string
  13124. goodscode:
  13125. description: 商品代码(内部)
  13126. type: string
  13127. goodsid:
  13128. description: 商品ID
  13129. type: integer
  13130. goodsname:
  13131. description: 商品名称
  13132. type: string
  13133. marketid:
  13134. description: 市场ID
  13135. type: integer
  13136. opencharge:
  13137. description: 建仓手续费(账户)
  13138. type: number
  13139. opencharge2:
  13140. description: 建仓手续费(商品)
  13141. type: number
  13142. orderid:
  13143. description: 委托单号
  13144. type: string
  13145. orderlogincode:
  13146. description: 委托人
  13147. type: string
  13148. tradeamount:
  13149. description: 成交金额(账户)
  13150. type: number
  13151. tradedate:
  13152. description: 交易日(yyyyMMdd)
  13153. type: string
  13154. tradeid:
  13155. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13156. type: string
  13157. tradeprice:
  13158. description: 成交价格
  13159. type: number
  13160. tradeqty:
  13161. description: 成交数量
  13162. type: integer
  13163. tradetime:
  13164. description: 成交时间
  13165. type: string
  13166. tradetype:
  13167. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13168. type: integer
  13169. type: object
  13170. models.QuotePrimaryMenu:
  13171. properties:
  13172. Index:
  13173. description: 序号
  13174. type: integer
  13175. Key:
  13176. description: 键名
  13177. type: string
  13178. Name:
  13179. description: 菜单名称
  13180. type: string
  13181. SubMenus:
  13182. description: 子菜单
  13183. items:
  13184. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13185. type: array
  13186. SubTitleType:
  13187. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13188. type: integer
  13189. TradeModes:
  13190. description: 包含市场交易类型
  13191. type: string
  13192. type: object
  13193. models.QuoteSecondaryMenu:
  13194. properties:
  13195. ExExchangeCode:
  13196. description: 外部交易所代码
  13197. type: string
  13198. ExExchangeID:
  13199. description: 外部交易所ID
  13200. type: integer
  13201. GoodsGroupIDs:
  13202. description: 商品组ID列表
  13203. items:
  13204. type: integer
  13205. type: array
  13206. Index:
  13207. description: 序号
  13208. type: integer
  13209. MarketID:
  13210. description: 市场ID
  13211. type: integer
  13212. MenuTitle:
  13213. description: 菜单标题(市场名称或外部交易所名称)
  13214. type: string
  13215. TradeMode:
  13216. description: 交易模式
  13217. type: integer
  13218. type: object
  13219. models.RoleMenu:
  13220. properties:
  13221. hasright:
  13222. description: 是否有权限 0-没有权限 1-有权限
  13223. type: integer
  13224. iconame:
  13225. description: 菜单图标
  13226. type: string
  13227. menutype:
  13228. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13229. type: integer
  13230. parentcode:
  13231. description: 上级资源代码
  13232. type: string
  13233. remark:
  13234. description: 菜单备注
  13235. type: string
  13236. resourcecode:
  13237. description: 菜单代码
  13238. type: string
  13239. resourcelevel:
  13240. description: 级别
  13241. type: integer
  13242. resourcename:
  13243. description: 菜单名称
  13244. type: string
  13245. roleid:
  13246. description: 角色id
  13247. type: integer
  13248. sort:
  13249. description: 排序
  13250. type: integer
  13251. subMenu:
  13252. description: 子级菜单(结构同上层一样, swag解析不出来)
  13253. items:
  13254. $ref: '#/definitions/models.RoleMenu'
  13255. type: array
  13256. url:
  13257. description: URL
  13258. type: string
  13259. userid:
  13260. description: 用户id
  13261. type: integer
  13262. type: object
  13263. models.SearchGoods:
  13264. properties:
  13265. goodscode:
  13266. description: 商品代码(内部)
  13267. type: string
  13268. goodsid:
  13269. description: 商品ID(自增ID SEQ_GOODS)
  13270. type: integer
  13271. goodsname:
  13272. description: 商品名称
  13273. type: string
  13274. marketid:
  13275. description: 所属市场ID
  13276. type: integer
  13277. marketname:
  13278. description: 市场名称
  13279. type: string
  13280. trademode:
  13281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13282. 21:竞拍-大宗式 22:受托竞价
  13283. type: integer
  13284. required:
  13285. - goodscode
  13286. - goodsid
  13287. - goodsname
  13288. - marketid
  13289. - trademode
  13290. type: object
  13291. models.Systemparam:
  13292. properties:
  13293. loginid:
  13294. description: 更新用户账号,登录账号
  13295. type: string
  13296. modifyflag:
  13297. description: 修改标志0 不允许修改 1 允许修改
  13298. type: integer
  13299. paramcode:
  13300. description: 参数代码
  13301. type: string
  13302. paramname:
  13303. description: 参数名
  13304. type: string
  13305. paramtype:
  13306. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13307. type: integer
  13308. paramvalue:
  13309. description: 参数值
  13310. type: string
  13311. paramvalue2:
  13312. description: 参数值(CLOB)
  13313. type: string
  13314. regexpress:
  13315. description: 正则表达式
  13316. type: string
  13317. remark:
  13318. description: 备注
  13319. type: string
  13320. serverip:
  13321. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13322. type: string
  13323. showflag:
  13324. description: 是否显示0 不显示 1 显示
  13325. type: integer
  13326. updatetime:
  13327. description: 更新时间
  13328. type: string
  13329. userid:
  13330. description: 更新用户ID
  13331. type: integer
  13332. required:
  13333. - paramcode
  13334. type: object
  13335. models.Szdz3convertconfig:
  13336. properties:
  13337. canin:
  13338. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13339. type: integer
  13340. canout:
  13341. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13342. type: integer
  13343. converttype:
  13344. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13345. 6:交易转花生米(不设置)
  13346. type: integer
  13347. createtime:
  13348. description: 创建时间
  13349. type: string
  13350. creatorid:
  13351. description: 创建人
  13352. type: integer
  13353. daymaxvalue:
  13354. description: 当日最大转入限制
  13355. type: number
  13356. freezedays:
  13357. description: 冻结天数 [5:花生米转交易]
  13358. type: integer
  13359. innergoodsid:
  13360. description: 内部商品ID[交易]
  13361. type: integer
  13362. inratio:
  13363. description: 目标值
  13364. type: integer
  13365. modifierid:
  13366. description: 修改人
  13367. type: integer
  13368. modifytime:
  13369. description: 修改时间
  13370. type: string
  13371. outergoodscode:
  13372. description: 外部商品代码[JD\PD]
  13373. type: string
  13374. outratio:
  13375. description: 源值
  13376. type: integer
  13377. pddecimalplace:
  13378. description: PD小数位
  13379. type: integer
  13380. timemaxvalue:
  13381. description: 单次最大转入限制
  13382. type: number
  13383. timeminvalue:
  13384. description: 单次最小转入限制
  13385. type: number
  13386. required:
  13387. - converttype
  13388. - innergoodsid
  13389. - outergoodscode
  13390. type: object
  13391. models.Szdz3searchwhitelist:
  13392. properties:
  13393. createtime:
  13394. description: 创建时间
  13395. type: string
  13396. creatorid:
  13397. description: 创建人
  13398. type: integer
  13399. modifierid:
  13400. description: 修改人
  13401. type: integer
  13402. modifytime:
  13403. description: 修改时间
  13404. type: string
  13405. userid:
  13406. description: 用户ID
  13407. type: integer
  13408. required:
  13409. - userid
  13410. type: object
  13411. models.TBGoods:
  13412. properties:
  13413. agreeunit:
  13414. description: 合约乘数
  13415. type: number
  13416. enumdicname:
  13417. description: 单位名称
  13418. type: string
  13419. goodscode:
  13420. description: 商品代码(内部)
  13421. type: string
  13422. goodsid:
  13423. description: 商品ID(自增ID SEQ_GOODS)
  13424. type: integer
  13425. goodsname:
  13426. description: 商品名称
  13427. type: string
  13428. type: object
  13429. models.TBGoodsGroup:
  13430. properties:
  13431. GDLST:
  13432. description: 商品列表
  13433. items:
  13434. $ref: '#/definitions/models.TBGoods'
  13435. type: array
  13436. convertratio:
  13437. description: 折算系数
  13438. type: number
  13439. enumdicname:
  13440. description: 单位名称
  13441. type: string
  13442. exexchangecode:
  13443. description: 交易所代码
  13444. type: string
  13445. exexchangename:
  13446. description: 交易所名称
  13447. type: string
  13448. goodsgroupid:
  13449. description: 商品组ID(自增ID)
  13450. type: integer
  13451. goodsgroupname:
  13452. description: 商品组名称
  13453. type: string
  13454. goodunitid:
  13455. description: 报价单位ID
  13456. type: integer
  13457. type: object
  13458. models.TBMiddleGoods:
  13459. properties:
  13460. GPLST:
  13461. description: 期货品种列表
  13462. items:
  13463. $ref: '#/definitions/models.TBGoodsGroup'
  13464. type: array
  13465. WDLST:
  13466. description: 商品信息列表(现货品类)
  13467. items:
  13468. $ref: '#/definitions/models.TBWrstandard'
  13469. type: array
  13470. areauserid:
  13471. description: 机构用户ID
  13472. type: integer
  13473. enumdicname:
  13474. description: 单位名称
  13475. type: string
  13476. goodsunitid:
  13477. description: 套保品种单位id
  13478. type: integer
  13479. middlegoodscode:
  13480. description: 套保品种代码
  13481. type: string
  13482. middlegoodsid:
  13483. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13484. type: integer
  13485. middlegoodsname:
  13486. description: 套保品种名称
  13487. type: string
  13488. needarbitrageratio:
  13489. description: 套利比率
  13490. type: number
  13491. needhedgeratio:
  13492. description: 套保比率
  13493. type: number
  13494. type: object
  13495. models.TBWrstandard:
  13496. properties:
  13497. convertratio:
  13498. description: 折算系数
  13499. type: number
  13500. deliverygoodsname:
  13501. description: 品种名称
  13502. type: string
  13503. enumdicname:
  13504. description: 单位名称
  13505. type: string
  13506. vatrate:
  13507. description: 增值税率
  13508. type: number
  13509. wrstandardcode:
  13510. description: 现货商品代码
  13511. type: string
  13512. wrstandardid:
  13513. description: 现货商品ID(SEQ_WRSTANDARD)
  13514. type: integer
  13515. wrstandardname:
  13516. description: 现货商品名称
  13517. type: string
  13518. type: object
  13519. models.Taaccount:
  13520. properties:
  13521. accountflag:
  13522. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13523. type: integer
  13524. accountid:
  13525. description: 资金账户ID
  13526. type: integer
  13527. accountname:
  13528. description: 账户名称
  13529. type: string
  13530. balance:
  13531. description: 期初余额
  13532. type: number
  13533. capitalbalance:
  13534. description: 本金余额[外部子账户实际出入金余额]
  13535. type: number
  13536. changeflag:
  13537. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13538. type: integer
  13539. changetime:
  13540. description: 账户状态变更时间
  13541. type: string
  13542. closepl:
  13543. description: 今日平仓盈亏
  13544. type: number
  13545. creditdecrease:
  13546. description: 今日授信减少
  13547. type: number
  13548. creditincrease:
  13549. description: 今日授信增加
  13550. type: number
  13551. curamount:
  13552. description: 总市值(从持仓中统计)
  13553. type: number
  13554. currencyid:
  13555. description: 货币ID
  13556. type: integer
  13557. currentbalance:
  13558. description: 期末余额
  13559. type: number
  13560. freezecharge:
  13561. description: 手续费冻结
  13562. type: number
  13563. freezemargin:
  13564. description: 冻结保证金
  13565. type: number
  13566. fromaccountid:
  13567. description: 所属上级账户
  13568. type: integer
  13569. inamount:
  13570. description: 今日入金金额(包括三方入金)
  13571. type: number
  13572. ismain:
  13573. description: 是否母账号 0:不是母账户 1:是母账户
  13574. type: integer
  13575. ismarketaccount:
  13576. description: 是否机构接单账号 0:不是 1:是
  13577. type: integer
  13578. isreckonaccount:
  13579. description: 是否机构分润账号 0:不是 1:是
  13580. type: integer
  13581. mortgagecredit:
  13582. description: 授信金额
  13583. type: number
  13584. orifreezecharge:
  13585. description: 期初手续费冻结
  13586. type: number
  13587. orifreezemargin:
  13588. description: 期初冻结保证金
  13589. type: number
  13590. orimortgagecredit:
  13591. description: 期初授信金额
  13592. type: number
  13593. oriothercredit:
  13594. description: 期初其它授信金额
  13595. type: number
  13596. oriotherfreezemargin:
  13597. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13598. type: number
  13599. orioutamountfreeze:
  13600. description: 期初出金冻结
  13601. type: number
  13602. oriusedmargin:
  13603. description: 期初占用保证金
  13604. type: number
  13605. othercredit:
  13606. description: 其它授信金额
  13607. type: number
  13608. othercreditdecrease:
  13609. description: 今日其它授信减少
  13610. type: number
  13611. othercreditincrease:
  13612. description: 今日其它授信增加
  13613. type: number
  13614. otherfreezemargin:
  13615. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13616. type: number
  13617. otherincome:
  13618. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13619. type: number
  13620. otherpay:
  13621. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13622. type: number
  13623. outamount:
  13624. description: 今日出金金额(包括三方出金)
  13625. type: number
  13626. outamountfreeze:
  13627. description: 出金冻结
  13628. type: number
  13629. outthreshold:
  13630. description: 出金阈值
  13631. type: number
  13632. parentaccountid:
  13633. description: 所属根账号
  13634. type: integer
  13635. paycharge:
  13636. description: 今日手续费支出
  13637. type: number
  13638. relatedaccountstatus:
  13639. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13640. type: integer
  13641. relateduserid:
  13642. description: 关联用户
  13643. type: integer
  13644. remainamount:
  13645. description: 融资额(从融资合同中统计)
  13646. type: number
  13647. serivcegroup:
  13648. description: 服务分组
  13649. type: integer
  13650. signstatus:
  13651. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13652. type: integer
  13653. sublevelpath:
  13654. description: 账号层级路径(逗号分隔,首尾加逗号)
  13655. type: string
  13656. taaccounttype:
  13657. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13658. type: integer
  13659. thirdinamount:
  13660. description: 今日三方入金
  13661. type: number
  13662. thirdoutamount:
  13663. description: 今日三方出金
  13664. type: number
  13665. tradestatus:
  13666. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13667. type: integer
  13668. tradestatuschangetime:
  13669. description: 激活时间
  13670. type: string
  13671. transferamount:
  13672. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13673. type: number
  13674. usedmargin:
  13675. description: 占用保证金
  13676. type: number
  13677. userid:
  13678. description: 用户ID
  13679. type: integer
  13680. required:
  13681. - accountid
  13682. - userid
  13683. type: object
  13684. models.Tablecolumnconfig:
  13685. properties:
  13686. aligntype:
  13687. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13688. type: integer
  13689. autoid:
  13690. description: AutoID
  13691. type: integer
  13692. columnfield:
  13693. description: 列字段
  13694. type: string
  13695. columntitle:
  13696. description: 列Title
  13697. type: string
  13698. columnwidth:
  13699. description: 列宽
  13700. type: string
  13701. formatterstring:
  13702. description: 格式化字符
  13703. type: string
  13704. formattertype:
  13705. description: 格式化类型
  13706. type: string
  13707. groupname:
  13708. description: 表头分组名称
  13709. type: string
  13710. isshow:
  13711. description: 是否显示 - 0:不显示 1:显示
  13712. type: integer
  13713. needsummary:
  13714. description: 是否需要汇总 - 0:不需要 1:需要
  13715. type: integer
  13716. orderindex:
  13717. description: 顺序
  13718. type: integer
  13719. remark:
  13720. description: 备注
  13721. type: string
  13722. summarytype:
  13723. description: 汇总类型 - 1:加总 2:最后一个
  13724. type: integer
  13725. tablekey:
  13726. description: 列表Key
  13727. type: string
  13728. required:
  13729. - autoid
  13730. type: object
  13731. models.TjmdMarketSection:
  13732. properties:
  13733. marketsectionid:
  13734. description: 市场版块ID(SEQ_MARKETSECTION)
  13735. type: integer
  13736. marketsectionname:
  13737. description: 市场版块名称
  13738. type: string
  13739. mlist:
  13740. description: 市场列表(板块下面有多少个市场)
  13741. items:
  13742. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13743. type: array
  13744. orderindex:
  13745. description: 排序
  13746. type: integer
  13747. pictureurl:
  13748. description: 图片url, 规格(90*90)
  13749. type: string
  13750. remark:
  13751. description: 备注
  13752. type: string
  13753. type: object
  13754. models.TjmdMarketSectionConfig:
  13755. properties:
  13756. auctionwrtype:
  13757. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13758. type: integer
  13759. canacceptquote:
  13760. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13761. type: integer
  13762. cangoodsexercise:
  13763. description: '[期权]是否可现货行权- 0:否 1:是'
  13764. type: integer
  13765. cangoodsexercisetype:
  13766. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13767. type: integer
  13768. canmanualquotestrike:
  13769. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13770. type: integer
  13771. canmutistage:
  13772. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13773. type: integer
  13774. canpreexercise:
  13775. description: '[期权]是否可预申报- 0:否 1:是'
  13776. type: integer
  13777. clearinterval:
  13778. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13779. type: integer
  13780. contracttmp:
  13781. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13782. type: string
  13783. exchareaid:
  13784. description: 所属交易所,可以没有
  13785. type: integer
  13786. financemarketid:
  13787. description: 融资回购市场ID [仓单贸易]
  13788. type: integer
  13789. goodstype:
  13790. description: 商品类型 - 1:交易商品 2:仓单商品
  13791. type: integer
  13792. hasrebate:
  13793. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13794. type: integer
  13795. hastradecredit:
  13796. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13797. type: integer
  13798. haswr:
  13799. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13800. type: integer
  13801. isdeductmargin:
  13802. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13803. type: integer
  13804. isrecordsource:
  13805. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13806. type: integer
  13807. isreleasemargin:
  13808. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13809. type: integer
  13810. isupdatereckonprice:
  13811. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13812. type: integer
  13813. listingmode:
  13814. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13815. type: integer
  13816. marginformula:
  13817. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13818. type: integer
  13819. marginformula2:
  13820. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13821. type: integer
  13822. marketid:
  13823. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13824. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13825. type: integer
  13826. marketname:
  13827. description: 市场名称
  13828. type: string
  13829. marketsectionid:
  13830. description: 市场版块ID(SEQ_MARKETSECTION)
  13831. type: integer
  13832. marketserviceid:
  13833. description: 市场服务ID
  13834. type: integer
  13835. marketstatus:
  13836. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13837. type: integer
  13838. markettype:
  13839. description: 市场类型- 1:非交易服务 2:交易服务
  13840. type: integer
  13841. matchermode:
  13842. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13843. type: integer
  13844. nowrquotaflag:
  13845. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13846. type: integer
  13847. openmethod:
  13848. description: 开盘模式 - 0 自动 1手动
  13849. type: integer
  13850. orderindex:
  13851. description: 排序
  13852. type: integer
  13853. otcuserid:
  13854. description: 场外期权做市商[场外期权]
  13855. type: integer
  13856. outersynctime:
  13857. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13858. type: string
  13859. paylaterflag:
  13860. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13861. type: integer
  13862. pendingflag:
  13863. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13864. type: integer
  13865. pendingtime:
  13866. description: 待开市时间[通道交易-对冲](HH:mm)
  13867. type: string
  13868. performancetempid:
  13869. description: 履约计划模板ID - 作废
  13870. type: integer
  13871. premiumquotemode:
  13872. description: 权利金报价方式 - 1:自动 2:手动
  13873. type: integer
  13874. rebateratio:
  13875. description: 返利比率[竞价式]
  13876. type: number
  13877. reckonorder:
  13878. description: 结算顺序
  13879. type: integer
  13880. reckonpricealgorithm:
  13881. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13882. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13883. type: integer
  13884. reckonpriceparam:
  13885. description: 结算价参数
  13886. type: integer
  13887. reckontime:
  13888. description: 结算时间[通道交易-对冲](HH:mm)
  13889. type: string
  13890. roleprioritytype:
  13891. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13892. type: integer
  13893. selllistingauditflag:
  13894. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13895. type: integer
  13896. trademarkettype:
  13897. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13898. type: integer
  13899. trademode:
  13900. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13901. 21:竞拍-大宗式 22:受托竞价
  13902. type: integer
  13903. tradeproperty:
  13904. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13905. 8:场外期权
  13906. type: integer
  13907. tradetype:
  13908. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13909. type: integer
  13910. updatereckonpriceinterval:
  13911. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13912. type: integer
  13913. type: object
  13914. models.TjmdQuoteGoods:
  13915. properties:
  13916. buyqty:
  13917. description: 买量(暂不做, 无值, 保留字段)
  13918. type: number
  13919. decimalplace:
  13920. description: 报价小数位
  13921. type: integer
  13922. goodscode:
  13923. description: 合约代码
  13924. type: string
  13925. goodsgroupid:
  13926. description: 商品组ID(自增ID)
  13927. type: integer
  13928. goodsgroupname:
  13929. description: 商品组名称
  13930. type: string
  13931. goodsid:
  13932. description: 合约id
  13933. type: integer
  13934. goodsname:
  13935. description: 合约名称
  13936. type: string
  13937. refgoodscode:
  13938. description: 标的合约代码
  13939. type: string
  13940. refgoodsid:
  13941. description: 标的合约id
  13942. type: integer
  13943. refgoodsname:
  13944. description: 标的合约名称
  13945. type: string
  13946. sellqty:
  13947. description: 卖量(暂不做, 无值, 保留字段)
  13948. type: number
  13949. type: object
  13950. models.TjmdTodayAccountMargin:
  13951. properties:
  13952. accountid:
  13953. description: 账号ID
  13954. type: integer
  13955. goodsid:
  13956. description: 商品ID
  13957. type: integer
  13958. infoc:
  13959. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13960. description: 配置参数
  13961. marketid:
  13962. description: 市场ID
  13963. type: integer
  13964. type: object
  13965. models.TjmdTradeOrderDetail:
  13966. properties:
  13967. buyorsell:
  13968. description: 买卖方向 0-买 1-卖
  13969. type: integer
  13970. goodsid:
  13971. description: 商品id
  13972. type: integer
  13973. marketmaxsub:
  13974. description: 市价最大偏移范围 [浮动价 - 点差]
  13975. type: number
  13976. orderid:
  13977. description: 委托单号
  13978. type: string
  13979. orderprice:
  13980. description: 委托价格
  13981. type: number
  13982. orderqty:
  13983. description: 委托数量
  13984. type: integer
  13985. pricemode:
  13986. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13987. type: integer
  13988. userid:
  13989. description: 用户id
  13990. type: integer
  13991. username:
  13992. description: 用户名称(已脱敏)
  13993. type: string
  13994. type: object
  13995. models.TjmdTransferApply:
  13996. properties:
  13997. applyid:
  13998. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13999. type: integer
  14000. applystatus:
  14001. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14002. type: integer
  14003. applytime:
  14004. description: 申请时间(时间)
  14005. type: string
  14006. auditremark:
  14007. description: 审核备注(拒绝原因?)
  14008. type: string
  14009. begindate:
  14010. description: 开始交易日(yyyymmdd)
  14011. type: string
  14012. buyorsell:
  14013. description: 买卖 - 0:买 1:卖
  14014. type: integer
  14015. enddate:
  14016. description: 结束交易日(yyyymmdd)
  14017. type: string
  14018. goodscode:
  14019. description: 商品代码
  14020. type: string
  14021. goodsid:
  14022. description: 商品ID
  14023. type: integer
  14024. goodsname:
  14025. description: 商品名称
  14026. type: string
  14027. marketid:
  14028. description: 市场ID
  14029. type: integer
  14030. qty:
  14031. description: 转让数量(数量)
  14032. type: number
  14033. tradeid:
  14034. description: 成交单号(关联持仓)
  14035. type: string
  14036. transferamount:
  14037. description: 转让总金额(金额)
  14038. type: number
  14039. transferprice:
  14040. description: 转让价格(协议价格)
  14041. type: number
  14042. type: object
  14043. models.TradeHolderDetail:
  14044. properties:
  14045. accountid:
  14046. description: 账号ID
  14047. type: integer
  14048. agreeunit:
  14049. description: 合约乘数
  14050. type: number
  14051. buyorsell:
  14052. description: 方向 - 0:买 1:卖
  14053. type: integer
  14054. currencyid:
  14055. description: 商品币种id
  14056. type: integer
  14057. currencyname:
  14058. description: 币种名称
  14059. type: string
  14060. decimalplace:
  14061. description: 商品价格小数位
  14062. type: integer
  14063. enumdicname:
  14064. description: 商品单位名称
  14065. type: string
  14066. expirecycle:
  14067. description: 行权周期(天) - 1:滚动行权时填写
  14068. type: integer
  14069. expiredate:
  14070. description: 行权日(yyyyMMdd) - 到期日
  14071. type: string
  14072. expiretype:
  14073. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14074. type: integer
  14075. freezeqty:
  14076. description: 冻结数量
  14077. type: number
  14078. goodscode:
  14079. description: 商品代码
  14080. type: string
  14081. goodsid:
  14082. description: 商品ID
  14083. type: integer
  14084. goodsname:
  14085. description: 商品名称
  14086. type: string
  14087. goodunitid:
  14088. description: 商品单位id
  14089. type: integer
  14090. holderamount:
  14091. description: 持仓金额
  14092. type: number
  14093. holdercredit:
  14094. description: 持仓授信金额
  14095. type: number
  14096. holderdays:
  14097. description: 剩余冻结天数
  14098. type: integer
  14099. holderprice:
  14100. description: 持仓价格
  14101. type: number
  14102. holderqty:
  14103. description: 持仓数量
  14104. type: number
  14105. isconfirmexercise:
  14106. description: 是否确认行权- 0:否 1:是
  14107. type: integer
  14108. ispreexercise:
  14109. description: 是否预申报- 0:否 1:是 2:不可行权
  14110. type: integer
  14111. marketid:
  14112. description: 市场id
  14113. type: integer
  14114. marketname:
  14115. description: 市场名称
  14116. type: string
  14117. openprice:
  14118. description: 建仓价格
  14119. type: number
  14120. openqty:
  14121. description: 建仓数量
  14122. type: number
  14123. optiontype:
  14124. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14125. type: integer
  14126. preexerciseprice:
  14127. description: 预申报价格
  14128. type: number
  14129. premium:
  14130. description: 权利金
  14131. type: number
  14132. qtydecimalplace:
  14133. description: 商品成交量小数位
  14134. type: integer
  14135. refgoodscode:
  14136. description: 标的合约代码
  14137. type: string
  14138. refgoodsid:
  14139. description: 标的合约id
  14140. type: integer
  14141. releaseamount:
  14142. description: 释放持仓金额
  14143. type: number
  14144. releaseholdercredit:
  14145. description: 释放持仓授信金额
  14146. type: number
  14147. taname:
  14148. description: 资金账号名称
  14149. type: string
  14150. tradeamount:
  14151. description: 成交金额
  14152. type: number
  14153. tradedate:
  14154. description: 交易日(yyyyMMdd)
  14155. type: string
  14156. tradeid:
  14157. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14158. type: string
  14159. trademode:
  14160. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14161. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14162. type: integer
  14163. tradeproperty:
  14164. description: 交易属性
  14165. type: integer
  14166. tradetime:
  14167. description: 交易时间
  14168. type: string
  14169. userid:
  14170. description: 用户id
  14171. type: integer
  14172. username:
  14173. description: 用户名称
  14174. type: string
  14175. type: object
  14176. models.UserCollectConfig:
  14177. properties:
  14178. accountstatus:
  14179. description: 账户状态 - 1:正常 2:停用 3:注销
  14180. type: integer
  14181. collectaccountname:
  14182. description: 收款人账户名称
  14183. type: string
  14184. collectaccountno:
  14185. description: 收款人账户
  14186. type: string
  14187. collectbankname:
  14188. description: 收款人开户行
  14189. type: string
  14190. collectbranchbankname:
  14191. description: 收款人开户支行
  14192. type: string
  14193. collectconfigid:
  14194. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14195. type: string
  14196. remark:
  14197. description: 备注
  14198. type: string
  14199. userid:
  14200. description: 收款人用户ID
  14201. type: integer
  14202. type: object
  14203. models.UserReceiveInfo:
  14204. properties:
  14205. address:
  14206. description: 提货人详细地址
  14207. type: string
  14208. autoid:
  14209. description: AutoID
  14210. type: integer
  14211. cardnum:
  14212. description: 证件号码(加密存储)
  14213. type: string
  14214. cardtypeid:
  14215. description: 证件类型
  14216. type: integer
  14217. cityid:
  14218. description: 市
  14219. type: integer
  14220. cityname:
  14221. description: 城市名称
  14222. type: string
  14223. countryid:
  14224. description: 国家
  14225. type: integer
  14226. countryname:
  14227. description: 国家名称
  14228. type: string
  14229. districtid:
  14230. description: 地区
  14231. type: integer
  14232. districtname:
  14233. description: 地区名称
  14234. type: string
  14235. hasencrypt:
  14236. description: 数据是否已加密 - 0:未加密 1:已加密
  14237. type: integer
  14238. isdefault:
  14239. description: 是否默认地址 - 0:否 1:是
  14240. type: integer
  14241. phonenum:
  14242. description: 提货人联系方式(加密存储)
  14243. type: string
  14244. provinceid:
  14245. description: 省
  14246. type: integer
  14247. provincename:
  14248. description: 省名称
  14249. type: string
  14250. receivername:
  14251. description: 提货人姓名
  14252. type: string
  14253. takeremark:
  14254. description: 提货备注
  14255. type: string
  14256. userid:
  14257. description: 用户ID
  14258. type: integer
  14259. type: object
  14260. models.Useraccount:
  14261. properties:
  14262. accountname:
  14263. description: 账户名称(机构名称)
  14264. type: string
  14265. accountstatus:
  14266. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14267. type: integer
  14268. applysrc:
  14269. description: 申请来源 - 1:管理端 2:终端
  14270. type: integer
  14271. auditremark:
  14272. description: 审核备注
  14273. type: string
  14274. auditsrc:
  14275. description: 审核来源 - 1:管理端 2:终端
  14276. type: integer
  14277. audittime:
  14278. description: 审核时间
  14279. type: string
  14280. audituserid:
  14281. description: 审核人
  14282. type: integer
  14283. broker:
  14284. description: 所属经纪人ID
  14285. type: integer
  14286. canceltime:
  14287. description: 销户时间
  14288. type: string
  14289. canceluserid:
  14290. description: 销户人
  14291. type: integer
  14292. canrecommend:
  14293. description: 是否可推荐 - 0:不可 1;可
  14294. type: integer
  14295. createtime:
  14296. description: 创建时间
  14297. type: string
  14298. creatorid:
  14299. description: 创建人
  14300. type: integer
  14301. hasauth:
  14302. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14303. type: integer
  14304. isanonymous:
  14305. description: 是否匿名下单 - 0:否 1:是
  14306. type: integer
  14307. maxinvestornum:
  14308. description: 最大用户数(经纪会员下投资者个数)
  14309. type: integer
  14310. memberuserid:
  14311. description: 所属会员ID
  14312. type: integer
  14313. modifierid:
  14314. description: 修改人
  14315. type: integer
  14316. modifyremark:
  14317. description: 变更备注
  14318. type: string
  14319. modifystatus:
  14320. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14321. type: integer
  14322. modifytime:
  14323. description: 修改时间
  14324. type: string
  14325. parenttopuser:
  14326. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14327. type: string
  14328. parentuserid:
  14329. description: 所属机构ID
  14330. type: integer
  14331. reckonaccountid:
  14332. description: 默认结算资金账号ID(机构分润使用) 作废
  14333. type: integer
  14334. refercount:
  14335. description: 推荐总人数
  14336. type: integer
  14337. refereeuserid:
  14338. description: 推荐人ID
  14339. type: integer
  14340. refernum:
  14341. description: 推荐码
  14342. type: string
  14343. rootuserid:
  14344. description: 根用户ID
  14345. type: integer
  14346. subaccountlevel:
  14347. description: 子账户层数
  14348. type: integer
  14349. subarealevelpath:
  14350. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14351. type: string
  14352. userid:
  14353. description: 用户ID
  14354. type: integer
  14355. usertype:
  14356. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14357. type: integer
  14358. required:
  14359. - userid
  14360. type: object
  14361. models.Userfavoritegoods:
  14362. properties:
  14363. goodsid:
  14364. description: 商品ID
  14365. type: integer
  14366. required:
  14367. - goodsid
  14368. type: object
  14369. models.Userinfo:
  14370. properties:
  14371. address:
  14372. description: 地址
  14373. type: string
  14374. attachment1:
  14375. description: 附件1
  14376. type: string
  14377. attachment2:
  14378. description: 附件2
  14379. type: string
  14380. bankaccount:
  14381. description: 银行帐号 (加密存储)
  14382. type: string
  14383. bankaccountname:
  14384. description: 收款人名称
  14385. type: string
  14386. bankcardfrontphotourl:
  14387. description: 银行卡正面照地址
  14388. type: string
  14389. bankid:
  14390. description: 银行编码
  14391. type: string
  14392. bankname:
  14393. description: 银行名称
  14394. type: string
  14395. biznature:
  14396. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14397. type: integer
  14398. bizscope:
  14399. description: 企业经营范围(企业)
  14400. type: string
  14401. cardbackphotourl:
  14402. description: 证件背面图片地址
  14403. type: string
  14404. cardfrontphotourl:
  14405. description: 证件正面图片地址
  14406. type: string
  14407. cardnum:
  14408. description: 证件号码(加密存储)
  14409. type: string
  14410. cardtypeid:
  14411. description: 证件类型ID
  14412. type: integer
  14413. cityid:
  14414. description: 市
  14415. type: integer
  14416. company:
  14417. description: 公司(个人)
  14418. type: string
  14419. contactname:
  14420. description: 联系人
  14421. type: string
  14422. countryid:
  14423. description: 国家
  14424. type: integer
  14425. createtime:
  14426. description: 创建时间
  14427. type: string
  14428. creatorid:
  14429. description: 创建人
  14430. type: integer
  14431. customername:
  14432. description: 客户名称(企业名称)
  14433. type: string
  14434. districtid:
  14435. description: 地区
  14436. type: integer
  14437. email:
  14438. description: 邮件(加密存储)
  14439. type: string
  14440. fax:
  14441. description: 传真(加密存储)
  14442. type: string
  14443. halfbodyphotourl:
  14444. description: 半身照地址
  14445. type: string
  14446. hasencrypt:
  14447. description: 数据是否已加密 - 0:未加密 1:已加密
  14448. type: integer
  14449. headurl:
  14450. description: 头像地址
  14451. type: string
  14452. legalcardbackphotourl:
  14453. description: 法人身份证背面照地址
  14454. type: string
  14455. legalcardfrontphotourl:
  14456. description: 法人身份证正面照地址
  14457. type: string
  14458. legalpersonname:
  14459. description: 法人姓名(企业)
  14460. type: string
  14461. mobile:
  14462. description: 手机号码(加密存储)
  14463. type: string
  14464. mobile2:
  14465. description: 手机号码[明文-尚志]
  14466. type: string
  14467. modifierid:
  14468. description: 修改人
  14469. type: integer
  14470. modifiertime:
  14471. description: 修改时间
  14472. type: string
  14473. needinvoice:
  14474. description: 是否需要发票 - 0:不需要 1:需要
  14475. type: integer
  14476. nickname:
  14477. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14478. type: string
  14479. openmode:
  14480. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14481. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14482. type: integer
  14483. otherurl:
  14484. description: 其它图片地址[使用分号分隔]
  14485. type: string
  14486. postalcode:
  14487. description: 邮政编码
  14488. type: string
  14489. provinceid:
  14490. description: 省
  14491. type: integer
  14492. qq:
  14493. description: QQ(加密存储
  14494. type: string
  14495. remark:
  14496. description: 备注
  14497. type: string
  14498. sex:
  14499. description: '用户性别 0: 女 1: 男'
  14500. type: integer
  14501. signpdfurl:
  14502. description: 签约pdf文件
  14503. type: string
  14504. telphone:
  14505. description: 联系电话(加密存储)
  14506. type: string
  14507. userid:
  14508. description: 用户ID
  14509. type: integer
  14510. userinfotype:
  14511. description: 用户信息类型 - 1:个人 2:企业
  14512. type: integer
  14513. userstatus:
  14514. description: 用户状态 - 1:正常 2:注销
  14515. type: integer
  14516. usertype:
  14517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14518. type: integer
  14519. wechat:
  14520. description: 微信(加密存储)
  14521. type: string
  14522. wskhinfo:
  14523. description: 开户申请信息(JSON)
  14524. type: string
  14525. required:
  14526. - userid
  14527. type: object
  14528. models.WRSConverTDetail:
  14529. properties:
  14530. convertratio:
  14531. description: 套保系数
  14532. type: number
  14533. deliverygoodscode:
  14534. description: 现货商品代码
  14535. type: string
  14536. deliverygoodsid:
  14537. description: 现货品种ID
  14538. type: integer
  14539. deliverygoodsname:
  14540. description: 现货商品名称
  14541. type: string
  14542. enumdicname:
  14543. description: 单位名称
  14544. type: string
  14545. goodsunitid:
  14546. description: 套保品种单位id
  14547. type: integer
  14548. middlegoodscode:
  14549. description: 套保品种代码
  14550. type: string
  14551. middlegoodsid:
  14552. description: 套保品种ID
  14553. type: integer
  14554. middlegoodsname:
  14555. description: 套保品种名称
  14556. type: string
  14557. modifytime:
  14558. description: 修改时间
  14559. type: string
  14560. wrstandardid:
  14561. description: 品类ID
  14562. type: integer
  14563. type: object
  14564. models.WRStandardInfo:
  14565. properties:
  14566. areauserid:
  14567. description: 所属机构
  14568. type: integer
  14569. convertfactor:
  14570. description: 标仓系数
  14571. type: number
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. creatorid:
  14576. description: 创建人
  14577. type: integer
  14578. deliverygoodsid:
  14579. description: 品种ID
  14580. type: integer
  14581. deliverygoodsname:
  14582. description: 交割商品名称
  14583. type: string
  14584. factoryitemjson:
  14585. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14586. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14587. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14588. 逗号分隔'
  14589. type: string
  14590. isvalid:
  14591. description: 是否有效 - 0:无效 1:有效
  14592. type: integer
  14593. minivalue:
  14594. description: 最小变动值
  14595. type: integer
  14596. minivaluedp:
  14597. description: 最小变动值小数位
  14598. type: integer
  14599. realminivalue:
  14600. description: 实际最小变动值
  14601. type: integer
  14602. realminivaluedp:
  14603. description: 实际最小变动值小数位
  14604. type: integer
  14605. remark:
  14606. description: 备注
  14607. type: string
  14608. unitid:
  14609. description: 单位ID
  14610. type: integer
  14611. unitname:
  14612. description: 单位
  14613. type: string
  14614. updatetime:
  14615. description: 更新时间
  14616. type: string
  14617. updatorid:
  14618. description: 更新人
  14619. type: integer
  14620. wrsstatus:
  14621. description: 状态 - 作废 - 0:未激活 1:正常
  14622. type: integer
  14623. wrstandardcode:
  14624. description: 现货品类代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 现货品类ID(SEQ_WRSTANDARD)
  14628. type: integer
  14629. wrstandardname:
  14630. description: 现货品类名称
  14631. type: string
  14632. required:
  14633. - wrstandardid
  14634. type: object
  14635. models.WRTradeBargainApply:
  14636. properties:
  14637. accountid:
  14638. description: 摘牌资金账号
  14639. type: integer
  14640. applyprice:
  14641. description: 申请价格(议价价格)
  14642. type: string
  14643. applyqty:
  14644. description: 摘牌数量(议价数量)
  14645. type: number
  14646. applyremark:
  14647. description: 申请备注
  14648. type: string
  14649. applystatus:
  14650. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14651. type: integer
  14652. applytime:
  14653. description: 申请时间(议价时间)
  14654. type: string
  14655. begindate:
  14656. description: 开始交易日(yyyymmdd)
  14657. type: string
  14658. buyorsell:
  14659. description: 买卖(挂牌类型) - 0:买 1:卖
  14660. type: integer
  14661. confirmremark:
  14662. description: 确认备注
  14663. type: string
  14664. confirmtime:
  14665. description: 确认时间
  14666. type: string
  14667. confirmuserid:
  14668. description: 确认人
  14669. type: integer
  14670. deliverygoodscode:
  14671. description: 品种代码
  14672. type: string
  14673. deliverygoodsid:
  14674. description: 品种ID
  14675. type: integer
  14676. deliverygoodsname:
  14677. description: 品种名称
  14678. type: string
  14679. deliverymonth:
  14680. description: 交收月
  14681. type: string
  14682. enddate:
  14683. description: 结束交易日(yyyymmdd)
  14684. type: string
  14685. enumdicname:
  14686. description: 单位名称
  14687. type: string
  14688. fixedprice:
  14689. description: 挂牌价格
  14690. type: number
  14691. handlestatus:
  14692. description: 处理状态
  14693. type: integer
  14694. marginvalue:
  14695. description: 履约保证金比例
  14696. type: number
  14697. marketid:
  14698. description: 市场ID
  14699. type: integer
  14700. matchaccountid:
  14701. description: 挂牌方资金账号
  14702. type: integer
  14703. matchuserid:
  14704. description: 挂牌方用户id
  14705. type: integer
  14706. matchusername:
  14707. description: 挂牌方用户名称(已脱敏)
  14708. type: string
  14709. minivalue:
  14710. description: 现货商品最小变动值
  14711. type: integer
  14712. optioncompare:
  14713. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14714. type: string
  14715. orderqty:
  14716. description: 挂牌数量
  14717. type: integer
  14718. refprice:
  14719. description: 参考价格
  14720. type: string
  14721. retcode:
  14722. description: 委托返回代码
  14723. type: integer
  14724. templatename:
  14725. description: 履约方式(履约模板名称)
  14726. type: string
  14727. tradedate:
  14728. description: 交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 摘牌人用户ID(议价人ID)
  14732. type: integer
  14733. username:
  14734. description: 议价人名字(已脱敏)
  14735. type: string
  14736. validtime:
  14737. description: 有效期限
  14738. type: string
  14739. warehouseid:
  14740. description: 仓库ID
  14741. type: integer
  14742. warehousename:
  14743. description: 仓库名称
  14744. type: string
  14745. wrbargainid:
  14746. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14747. type: string
  14748. wrfactortypeid:
  14749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14750. type: string
  14751. wrfactortypename:
  14752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14753. type: string
  14754. wrstandardcode:
  14755. description: 现货商品代码
  14756. type: string
  14757. wrstandardid:
  14758. description: 现货商品ID
  14759. type: integer
  14760. wrstandardname:
  14761. description: 商品名称
  14762. type: string
  14763. wrtradeorderid:
  14764. description: 关联委托单ID
  14765. type: string
  14766. wrtypename:
  14767. description: 商品
  14768. type: string
  14769. type: object
  14770. models.Warehouseinfo:
  14771. properties:
  14772. address:
  14773. description: 详细地址
  14774. type: string
  14775. areauserid:
  14776. description: 所属机构
  14777. type: integer
  14778. autoid:
  14779. description: 自增ID
  14780. type: integer
  14781. cityid:
  14782. description: 市
  14783. type: integer
  14784. contactname:
  14785. description: 联系人
  14786. type: string
  14787. contactnum:
  14788. description: 联系电话
  14789. type: string
  14790. countryid:
  14791. description: 国家
  14792. type: integer
  14793. createtime:
  14794. description: 创建时间
  14795. type: string
  14796. districtid:
  14797. description: 区
  14798. type: integer
  14799. hasvideo:
  14800. description: 是否有视频 - 0:无 1:有
  14801. type: integer
  14802. provinceid:
  14803. description: 省
  14804. type: integer
  14805. remark:
  14806. description: 审核备注
  14807. type: string
  14808. videourl:
  14809. description: 视频地址
  14810. type: string
  14811. warehousecode:
  14812. description: 仓库代码
  14813. type: string
  14814. warehousename:
  14815. description: 仓库名称
  14816. type: string
  14817. warehousestatus:
  14818. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14819. type: integer
  14820. warehousetype:
  14821. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14822. type: integer
  14823. required:
  14824. - autoid
  14825. - warehousecode
  14826. type: object
  14827. models.WrAverageTradePrice:
  14828. properties:
  14829. averageprice:
  14830. description: 成交均价
  14831. type: number
  14832. tradedate:
  14833. description: 交易日yyyymm
  14834. type: string
  14835. type: object
  14836. models.WrBsGoodsInfo:
  14837. properties:
  14838. buyorsell:
  14839. description: 买卖方向 0-买 1-卖
  14840. type: integer
  14841. goodsid:
  14842. description: 交易合约ID
  14843. type: integer
  14844. lstitem:
  14845. description: 商品信息项
  14846. items:
  14847. $ref: '#/definitions/models.WrTypeItem'
  14848. type: array
  14849. lststep:
  14850. description: 履约规则
  14851. items:
  14852. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14853. type: array
  14854. type: object
  14855. models.WrBuybackDetail:
  14856. properties:
  14857. buybackamount:
  14858. description: 回购金额
  14859. type: number
  14860. buybackqty:
  14861. description: 回购数量
  14862. type: number
  14863. buybackreleasemargin:
  14864. description: 回购释放保证金
  14865. type: number
  14866. buybacktime:
  14867. description: 回购时间
  14868. type: string
  14869. errordesc:
  14870. description: 错误描述
  14871. type: string
  14872. handlestatus:
  14873. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14874. type: integer
  14875. relatedwrid:
  14876. description: 关联仓单ID
  14877. type: integer
  14878. scfcontractid:
  14879. description: SCF合同ID
  14880. type: string
  14881. scfwrbuybackid:
  14882. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14883. type: integer
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. type: object
  14888. models.WrDeliveryAvalidHoldLB:
  14889. properties:
  14890. accountid:
  14891. description: 资金账号
  14892. type: integer
  14893. avalidqty:
  14894. description: 数量(可点选数量)
  14895. type: number
  14896. deliverygoodsid:
  14897. description: 品种id
  14898. type: integer
  14899. enumdicname:
  14900. description: 单位名称
  14901. type: string
  14902. goodsid:
  14903. description: x合约商品id
  14904. type: integer
  14905. ladingbillid:
  14906. description: 提单id
  14907. type: string
  14908. pgoodscode:
  14909. description: p商品代码(点价合约)
  14910. type: string
  14911. pgoodsid:
  14912. description: p商品id(点价合约)
  14913. type: integer
  14914. pgoodsname:
  14915. description: p商品名称(点价合约)
  14916. type: string
  14917. pricemove:
  14918. description: 升贴水
  14919. type: number
  14920. subnum:
  14921. description: 提单子id
  14922. type: integer
  14923. userid:
  14924. description: 用户id
  14925. type: integer
  14926. username:
  14927. description: 仓单持有人
  14928. type: string
  14929. warehousecode:
  14930. description: 仓库代码
  14931. type: string
  14932. warehouseid:
  14933. description: 仓库id
  14934. type: integer
  14935. warehousename:
  14936. description: 仓库名称
  14937. type: string
  14938. wrfactortypeid:
  14939. description: 仓单要素id
  14940. type: string
  14941. wrstandardcode:
  14942. description: 品代码
  14943. type: string
  14944. wrstandardid:
  14945. description: 品类d
  14946. type: integer
  14947. wrstandardname:
  14948. description: 品类名称
  14949. type: string
  14950. wrtypename:
  14951. description: 商品
  14952. type: string
  14953. xgoodscode:
  14954. description: x合约代码
  14955. type: string
  14956. xgoodsname:
  14957. description: x合约名称
  14958. type: string
  14959. type: object
  14960. models.WrDeliveryDetail:
  14961. properties:
  14962. accountid:
  14963. description: 账号ID
  14964. type: integer
  14965. averageprice:
  14966. description: 交割均价 = 交割金额 / 交割数量
  14967. type: number
  14968. begindate:
  14969. description: 开始交易日(yyyymmdd)
  14970. type: string
  14971. buyorsell:
  14972. description: 方向 - 0:买 1:卖
  14973. type: integer
  14974. deliveryamount:
  14975. description: 货款金额(X总货款+P总货款)
  14976. type: number
  14977. deliveryid:
  14978. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14979. type: string
  14980. deliveryorderid:
  14981. description: 申报单号
  14982. type: string
  14983. deliverypricemove:
  14984. description: 升贴水(升贴水总额)
  14985. type: number
  14986. deliveryqty:
  14987. description: 交收数量(点选数量)
  14988. type: number
  14989. deliverystatus:
  14990. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14991. type: integer
  14992. deliverytime:
  14993. description: 交割时间
  14994. type: string
  14995. deliverytotalamount:
  14996. description: 交收金额
  14997. type: number
  14998. enddate:
  14999. description: 结束交易日(yyyymmdd)
  15000. type: string
  15001. enumdicname:
  15002. description: 单位名称
  15003. type: string
  15004. matchaccountid:
  15005. description: 对手账号ID
  15006. type: integer
  15007. matchusername:
  15008. description: 对手方名称(仓单持有人)
  15009. type: string
  15010. p1goodsremainamount:
  15011. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15012. type: number
  15013. pdeliverycloseqty:
  15014. description: p合约平仓数量
  15015. type: number
  15016. pdeliveryprice:
  15017. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15018. type: number
  15019. pgoodscode:
  15020. description: 商品代码
  15021. type: string
  15022. pgoodsid:
  15023. description: p点选合约id
  15024. type: integer
  15025. pgoodsname:
  15026. description: 商品名称
  15027. type: string
  15028. ppricemode:
  15029. description: 点价价格方式 - 1:商品价 2:固定值
  15030. type: integer
  15031. tradedate:
  15032. description: 交易日(yyyymmdd)
  15033. type: string
  15034. userid:
  15035. description: 用户id
  15036. type: integer
  15037. username:
  15038. description: 用户名称
  15039. type: string
  15040. warehousename:
  15041. description: 仓库名称
  15042. type: string
  15043. wrfactortypeid:
  15044. description: 仓单要素类型ID
  15045. type: string
  15046. wrtypename:
  15047. description: 商品
  15048. type: string
  15049. xdeliverycloseqty:
  15050. description: 合约数量
  15051. type: number
  15052. xgoodsamount:
  15053. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15054. type: number
  15055. xgoodscode:
  15056. description: 商品代码
  15057. type: string
  15058. xgoodsid:
  15059. description: x交易合约ID
  15060. type: integer
  15061. xgoodsname:
  15062. description: 商品名称
  15063. type: string
  15064. type: object
  15065. models.WrDeliveryGoodsSection:
  15066. properties:
  15067. dglst:
  15068. description: 板块商品列表
  15069. items:
  15070. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15071. type: array
  15072. imagepath:
  15073. description: 图片地址
  15074. type: string
  15075. orderindex:
  15076. description: 排序
  15077. type: integer
  15078. sectionid:
  15079. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15080. = 1的版块1 - 云融指数
  15081. type: integer
  15082. sectionname:
  15083. description: 版块名称
  15084. type: string
  15085. sectiontype:
  15086. description: 版块类型 - 1:指数版块 2:普通版块
  15087. type: integer
  15088. type: object
  15089. models.WrDeliveryGoodsSectionConfig:
  15090. properties:
  15091. deliverygoodscode:
  15092. description: 现货商品代码
  15093. type: string
  15094. deliverygoodsid:
  15095. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15096. type: integer
  15097. deliverygoodsname:
  15098. description: 现货商品名称
  15099. type: string
  15100. orderindex:
  15101. description: 排序
  15102. type: integer
  15103. type: object
  15104. models.WrFAProductDetail:
  15105. properties:
  15106. accountid:
  15107. description: 资金账号
  15108. type: integer
  15109. areauserid:
  15110. description: 金融机构ID
  15111. type: integer
  15112. financingdays:
  15113. description: 天数(天)
  15114. type: integer
  15115. interestminlen:
  15116. description: 最小起息天数
  15117. type: integer
  15118. interestrate:
  15119. description: 利率
  15120. type: number
  15121. interestratemode:
  15122. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15123. type: integer
  15124. interestsettlemode:
  15125. description: 结息方式 - 1:按日结息 3:按月结息
  15126. type: integer
  15127. interestsettlevalue:
  15128. description: 结息方式值
  15129. type: integer
  15130. isautoloan:
  15131. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15132. type: integer
  15133. loantag:
  15134. description: '放款标识: "放款快" 或者为空'
  15135. type: string
  15136. marginratio:
  15137. description: 保证金比率质押率 - [仓单质押]
  15138. type: number
  15139. productdetailid:
  15140. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15141. type: integer
  15142. productid:
  15143. description: 金融产品ID
  15144. type: integer
  15145. productname:
  15146. description: 产品名称
  15147. type: string
  15148. updatetime:
  15149. description: 更新时间
  15150. type: string
  15151. username:
  15152. description: 融出方
  15153. type: string
  15154. type: object
  15155. models.WrFactorTypeInfo:
  15156. properties:
  15157. deliverygoodscode:
  15158. description: 品种代码
  15159. type: string
  15160. deliverygoodsname:
  15161. description: 品种名称
  15162. type: string
  15163. dgfactoryitemid:
  15164. description: 选择项id
  15165. type: integer
  15166. dgfactoryitemtypeid:
  15167. description: 要素选择项ID (1-仓库 2-品牌)
  15168. type: integer
  15169. dgfactoryitemvalue:
  15170. description: 要素项值
  15171. type: string
  15172. itemtypename:
  15173. description: 要素项名称
  15174. type: string
  15175. optioncompare:
  15176. description: 选择比较串
  15177. type: string
  15178. warehouseid:
  15179. description: 仓库id
  15180. type: integer
  15181. wrfactortypeid:
  15182. description: 仓单要素ID
  15183. type: string
  15184. wrfactortypename:
  15185. description: 要素名称
  15186. type: string
  15187. wrfactortypename2:
  15188. description: 要素名称(不含仓库)
  15189. type: string
  15190. wrstandardcode:
  15191. description: 品类代码
  15192. type: string
  15193. wrstandardid:
  15194. description: 品类id
  15195. type: integer
  15196. wrstandardname:
  15197. description: 品类名称
  15198. type: string
  15199. type: object
  15200. models.WrFilterItem:
  15201. properties:
  15202. itemcode:
  15203. description: 代码
  15204. type: string
  15205. itemid:
  15206. description: 项id
  15207. type: integer
  15208. itemname:
  15209. description: 名称
  15210. type: string
  15211. itemtype:
  15212. description: 类型 1-品种 2-品类(商品) 3-仓库
  15213. type: integer
  15214. type: object
  15215. models.WrFinanceBuyApply:
  15216. properties:
  15217. applydate:
  15218. description: 申请时间
  15219. type: string
  15220. applystatus:
  15221. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15222. type: integer
  15223. applyuserid:
  15224. description: 申请人
  15225. type: integer
  15226. auditdate:
  15227. description: 审核时间
  15228. type: string
  15229. auditremark:
  15230. description: 审核备注
  15231. type: string
  15232. audituserid:
  15233. description: 审核人
  15234. type: integer
  15235. buyaccountid:
  15236. description: 买方资金账号
  15237. type: integer
  15238. buyorsell:
  15239. description: 买卖 - 0:买 1:卖
  15240. type: integer
  15241. buyuserid:
  15242. description: 买方用户ID
  15243. type: integer
  15244. buyusername:
  15245. description: 买方名称
  15246. type: string
  15247. buywrtradeorderid:
  15248. description: 融资方买委托单ID
  15249. type: string
  15250. deliverygoodscode:
  15251. description: 品种代码
  15252. type: string
  15253. deliverygoodsid:
  15254. description: 品种ID
  15255. type: integer
  15256. deliverygoodsname:
  15257. description: 品种名称
  15258. type: string
  15259. deliverymonth:
  15260. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15261. type: string
  15262. enumdicname:
  15263. description: 单位名称
  15264. type: string
  15265. financeaccountid:
  15266. description: 融资方资金帐户ID
  15267. type: integer
  15268. financeapplyid:
  15269. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15270. type: string
  15271. financeareauserid:
  15272. description: 融资方用户ID
  15273. type: string
  15274. financename:
  15275. description: 融出方名称
  15276. type: string
  15277. financetype:
  15278. description: 融资类型 1-融资回购
  15279. type: integer
  15280. financingdays:
  15281. description: 天数(天)
  15282. type: integer
  15283. freezebuymargin:
  15284. description: 冻结融资保证金(买方)
  15285. type: number
  15286. handleremark:
  15287. description: 处理备注
  15288. type: string
  15289. handlestatus:
  15290. description: 处理状态
  15291. type: integer
  15292. interestminlen:
  15293. description: 最小起息天数
  15294. type: integer
  15295. interestrate:
  15296. description: 利率
  15297. type: number
  15298. interestratemode:
  15299. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15300. type: integer
  15301. interestsettlemode:
  15302. description: 结息方式 - 1:按日结息 3:按月结息
  15303. type: integer
  15304. interestsettlevalue:
  15305. description: 结息方式值
  15306. type: integer
  15307. isautoloan:
  15308. description: 是否自动放款 - 0:手动 1:自动
  15309. type: integer
  15310. marginratio:
  15311. description: 保证金比率质押率 - [仓单质押]
  15312. type: number
  15313. marketid:
  15314. description: 市场ID
  15315. type: integer
  15316. minivalue:
  15317. description: 现货商品最小变动值
  15318. type: integer
  15319. optioncompare:
  15320. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15321. type: string
  15322. orderqty:
  15323. description: 委托数量(商品数量)
  15324. type: number
  15325. productdetailid:
  15326. description: 产品组合ID
  15327. type: integer
  15328. productid:
  15329. description: 金融产品ID
  15330. type: integer
  15331. productname:
  15332. description: 产品名称
  15333. type: string
  15334. remark:
  15335. description: 备注
  15336. type: string
  15337. scfcontractid:
  15338. description: 仓单回购合同ID
  15339. type: string
  15340. sellaccountid:
  15341. description: 卖方资金账号
  15342. type: integer
  15343. selluserid:
  15344. description: 卖方用户ID
  15345. type: integer
  15346. sellwrtradeorderid:
  15347. description: 卖方委托单ID
  15348. type: string
  15349. tradeamount:
  15350. description: 成交金额(借款金额)
  15351. type: number
  15352. tradedate:
  15353. description: 交易日(yyyyMMdd)
  15354. type: string
  15355. tradeprice:
  15356. description: 成交价格
  15357. type: number
  15358. warehouseid:
  15359. description: 仓库ID
  15360. type: integer
  15361. warehousename:
  15362. description: 仓库名称
  15363. type: string
  15364. wrfactortypeid:
  15365. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15366. type: string
  15367. wrfactortypename:
  15368. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15369. type: string
  15370. wrpricetype:
  15371. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15372. type: integer
  15373. wrstandardcode:
  15374. description: 现货商品代码
  15375. type: string
  15376. wrstandardid:
  15377. description: 现货商品ID
  15378. type: integer
  15379. wrstandardname:
  15380. description: 商品名称
  15381. type: string
  15382. wrtypename:
  15383. description: 商品
  15384. type: string
  15385. type: object
  15386. models.WrFriendApply:
  15387. properties:
  15388. applicantid:
  15389. description: 申请人
  15390. type: integer
  15391. applyname:
  15392. description: 申请人名称
  15393. type: string
  15394. applysrc:
  15395. description: 申请来源 - 1:管理端 2:终端
  15396. type: integer
  15397. applystatus:
  15398. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15399. type: integer
  15400. applytime:
  15401. description: 申请时间
  15402. type: string
  15403. auditname:
  15404. description: 审核人名称
  15405. type: string
  15406. auditorid:
  15407. description: 审核人
  15408. type: integer
  15409. auditremark:
  15410. description: 审核备注
  15411. type: string
  15412. auditsrc:
  15413. description: 审核来源 - 1:管理端 2:终端
  15414. type: integer
  15415. audittime:
  15416. description: 审核时间
  15417. type: string
  15418. friendapplyid:
  15419. description: 申请ID(SEQ_FRIENDAPPLY)
  15420. type: string
  15421. friendname:
  15422. description: 好友名字(已脱敏)
  15423. type: string
  15424. frienduserid:
  15425. description: 好友用户ID
  15426. type: string
  15427. remark:
  15428. description: 备注
  15429. type: string
  15430. userid:
  15431. description: 申请人用户ID
  15432. type: integer
  15433. type: object
  15434. models.WrFtDeliveryGoods:
  15435. properties:
  15436. deliverygoodscode:
  15437. description: 品种代码
  15438. type: string
  15439. deliverygoodsid:
  15440. description: 品种ID
  15441. type: integer
  15442. deliverygoodsname:
  15443. description: 品种名称
  15444. type: string
  15445. wdlst:
  15446. description: 商品列表
  15447. items:
  15448. $ref: '#/definitions/models.WrFtWrstandard'
  15449. type: array
  15450. type: object
  15451. models.WrFtWrstandard:
  15452. properties:
  15453. enumdicname:
  15454. description: 单位名称
  15455. type: string
  15456. minivalue:
  15457. description: 最小变动值
  15458. type: integer
  15459. wrstandardcode:
  15460. description: 现货商品代码
  15461. type: string
  15462. wrstandardid:
  15463. description: 现货商品ID
  15464. type: integer
  15465. wrstandardname:
  15466. description: 商品名称
  15467. type: string
  15468. type: object
  15469. models.WrGoodsInfo:
  15470. properties:
  15471. haswr:
  15472. description: 0:仓单预售 1:仓单贸易
  15473. type: integer
  15474. lstitem:
  15475. description: 商品信息项
  15476. items:
  15477. $ref: '#/definitions/models.WrTypeItem'
  15478. type: array
  15479. lststep:
  15480. description: 履约规则
  15481. items:
  15482. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15483. type: array
  15484. marketid:
  15485. description: 市场id
  15486. type: integer
  15487. type: object
  15488. models.WrGoodsPerformanceStep:
  15489. properties:
  15490. autoid:
  15491. description: AutoID
  15492. type: integer
  15493. isauto:
  15494. description: 是否自动 - 0:不自动 1:自动
  15495. type: integer
  15496. remark:
  15497. description: 备注
  15498. type: string
  15499. stepdate:
  15500. description: 天数信息(T+N)
  15501. type: string
  15502. stepdays:
  15503. description: 距离上一步天数
  15504. type: integer
  15505. stepindex:
  15506. description: 步骤序号
  15507. type: integer
  15508. stepinfo:
  15509. description: 步骤信息(步骤名称+步骤值)
  15510. type: string
  15511. steptypeid:
  15512. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15513. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15514. type: integer
  15515. steptypename:
  15516. description: 步骤名称
  15517. type: string
  15518. stepvalue:
  15519. description: 步骤值
  15520. type: number
  15521. templateid:
  15522. description: 履约计划模板ID
  15523. type: integer
  15524. type: object
  15525. models.WrHoldLB:
  15526. properties:
  15527. accountid:
  15528. description: 持有人帐户ID
  15529. type: integer
  15530. bannerpicurl:
  15531. description: Banner图
  15532. type: string
  15533. createtime:
  15534. description: 创建时间(过户时间)
  15535. type: string
  15536. deliverygoodscode:
  15537. description: 品种代码
  15538. type: string
  15539. deliverygoodsid:
  15540. description: 品种ID
  15541. type: integer
  15542. deliverygoodsname:
  15543. description: 品种名称
  15544. type: string
  15545. enableqty:
  15546. description: 可用数量
  15547. type: number
  15548. enumdicname:
  15549. description: 单位名称
  15550. type: string
  15551. freezerqty:
  15552. description: 冻结数量
  15553. type: number
  15554. ladingbillid:
  15555. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15556. type: string
  15557. minivalue:
  15558. description: 现货商品最小变动值
  15559. type: integer
  15560. optioncompare:
  15561. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15562. type: string
  15563. parentsubnum:
  15564. description: 拆分父子单号
  15565. type: integer
  15566. pledgeqty:
  15567. description: 质押数量
  15568. type: number
  15569. qty:
  15570. description: 数量
  15571. type: number
  15572. subnum:
  15573. description: 提单子单号
  15574. type: integer
  15575. tradedate:
  15576. description: 交易日(yyyyMMdd)
  15577. type: string
  15578. userid:
  15579. description: 持有人ID
  15580. type: integer
  15581. warehouseid:
  15582. description: 仓库ID
  15583. type: integer
  15584. warehousename:
  15585. description: 仓库名称
  15586. type: string
  15587. wrfactortypeid:
  15588. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15589. type: string
  15590. wrfactortypename:
  15591. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15592. type: string
  15593. wrholdeno:
  15594. description: 仓单编号
  15595. type: string
  15596. wrid:
  15597. description: 仓单变更ID
  15598. type: string
  15599. wrstandardcode:
  15600. description: 现货商品代码
  15601. type: string
  15602. wrstandardid:
  15603. description: 现货商品ID
  15604. type: integer
  15605. wrstandardname:
  15606. description: 商品名称
  15607. type: string
  15608. wrtypename:
  15609. description: 商品
  15610. type: string
  15611. type: object
  15612. models.WrMarketTradeConfig:
  15613. properties:
  15614. basisdownratio:
  15615. description: 浮动价基差下限比例(仓单贸易)
  15616. type: number
  15617. basisupratio:
  15618. description: 浮动价基差上限比例(仓单贸易)
  15619. type: number
  15620. buychargealgorithm:
  15621. description: 买方手续费收取方式 1:比率 2:固定
  15622. type: integer
  15623. buychargealgorithm2:
  15624. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15625. type: integer
  15626. buychargealgorithmvalue:
  15627. description: 买方手续费设置值(交易所部分)
  15628. type: number
  15629. buychargealgorithmvalue2:
  15630. description: 买方手续费设置值(会员部分)
  15631. type: number
  15632. buychargealgorithmvalue3:
  15633. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15634. type: number
  15635. buychargealgorithmvalue4:
  15636. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15637. type: number
  15638. buyfirstmarginalgorithm:
  15639. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15640. type: integer
  15641. buyfirstmarginvalue:
  15642. description: 买方出价保证金设置值 - [竞拍]
  15643. type: number
  15644. buymarginalgorithm:
  15645. description: 买方保证金方式 - 1:比率 2:固定
  15646. type: integer
  15647. buymarginvalue:
  15648. description: 买方保证金设置值
  15649. type: number
  15650. buyreleaseratio:
  15651. description: 买方释放比率[2:分步履约]
  15652. type: number
  15653. executemode:
  15654. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15655. type: integer
  15656. executeside:
  15657. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15658. type: integer
  15659. failedchargealgorithm:
  15660. description: 流拍手续费收取方式 1:比率 2:固定
  15661. type: integer
  15662. failedchargevalue:
  15663. description: 流拍手续费设置值
  15664. type: number
  15665. failedchargevalue2:
  15666. description: 流拍卖方手续费设置值
  15667. type: number
  15668. holddays:
  15669. description: 合同期限[2:分步履约]
  15670. type: integer
  15671. marketid:
  15672. description: 市场ID-仓单贸易、竞拍、预售
  15673. type: integer
  15674. minqty:
  15675. description: 最小执行量[2:分步履约]
  15676. type: number
  15677. modifierid:
  15678. description: 修改人
  15679. type: integer
  15680. performancetempid:
  15681. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15682. 立即执行(-1)
  15683. type: integer
  15684. performancetempid2:
  15685. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15686. 立即执行
  15687. type: integer
  15688. performancetempid2s:
  15689. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15690. - 履约方式: 立即执行
  15691. type: string
  15692. performancetempids:
  15693. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15694. - 履约方式: 立即执行(-1)
  15695. type: string
  15696. performanceway:
  15697. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15698. type: integer
  15699. sellchargealgorithm:
  15700. description: 卖方手续费收取方式 1:比率 2:固定
  15701. type: integer
  15702. sellchargealgorithm2:
  15703. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15704. type: integer
  15705. sellchargealgorithmvalue:
  15706. description: 卖方手续费设置值(交易所部分)
  15707. type: number
  15708. sellchargealgorithmvalue2:
  15709. description: 卖方手续费设置值(会员部分)
  15710. type: number
  15711. sellchargealgorithmvalue3:
  15712. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15713. type: number
  15714. sellchargealgorithmvalue4:
  15715. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15716. type: number
  15717. sellmarginalgorithm:
  15718. description: 卖方保证金方式 - 1:比率 2:固定
  15719. type: integer
  15720. sellmarginvalue:
  15721. description: 卖方保证金设置值
  15722. type: number
  15723. sellmarginvalue2:
  15724. description: 卖方保证金设置值(无仓单)
  15725. type: number
  15726. sellreleaseratio:
  15727. description: 卖方释放比率[2:分步履约]
  15728. type: number
  15729. updatetime:
  15730. description: 更新时间
  15731. type: string
  15732. type: object
  15733. models.WrOrderDetail:
  15734. properties:
  15735. accountid:
  15736. description: 交易账号(资金账号)
  15737. type: integer
  15738. allfriendsflag:
  15739. description: 是否全好友可见 - 0:否 1:是
  15740. type: integer
  15741. amount:
  15742. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15743. type: number
  15744. bannerpicurl:
  15745. description: Banner图
  15746. type: string
  15747. begindate:
  15748. description: 开始交易日(yyyymmdd)
  15749. type: string
  15750. buyorsell:
  15751. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15752. type: integer
  15753. canbargain:
  15754. description: 是否可议价 - 0:不可 1:可
  15755. type: integer
  15756. cancelqty:
  15757. description: 撤销数量
  15758. type: number
  15759. canpart:
  15760. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15761. type: integer
  15762. delistminqty:
  15763. description: 起摘数量
  15764. type: integer
  15765. deliverygoodscode:
  15766. description: 品种代码
  15767. type: string
  15768. deliverygoodsid:
  15769. description: 品种ID
  15770. type: integer
  15771. deliverygoodsname:
  15772. description: 品种名称
  15773. type: string
  15774. deliverymonth:
  15775. description: 交收月
  15776. type: string
  15777. enddate:
  15778. description: 结束交易日(yyyymmdd)
  15779. type: string
  15780. enumdicname:
  15781. description: 单位名称
  15782. type: string
  15783. fixedprice:
  15784. description: 固定价格 - [挂牌]
  15785. type: number
  15786. freezecharge:
  15787. description: 冻结手续费
  15788. type: number
  15789. freezemargin:
  15790. description: 冻结保证金(保证金)
  15791. type: number
  15792. futupricemove:
  15793. description: 期货升贴水
  15794. type: number
  15795. futushow:
  15796. description: 期货合约/升贴水
  15797. type: string
  15798. goodscode:
  15799. description: 期货合约
  15800. type: string
  15801. goodsid:
  15802. description: 期货商品id
  15803. type: integer
  15804. goodsname:
  15805. description: 商品名称
  15806. type: string
  15807. haswr:
  15808. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15809. type: integer
  15810. isspecified:
  15811. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15812. type: integer
  15813. ladingbillid:
  15814. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15815. type: string
  15816. marginvalue:
  15817. description: 保证金设置值(履约保证金)
  15818. type: number
  15819. marketid:
  15820. description: 市场ID
  15821. type: integer
  15822. matchusername:
  15823. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15824. type: string
  15825. minivalue:
  15826. description: 现货商品最小变动值
  15827. type: integer
  15828. optioncompare:
  15829. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15830. type: string
  15831. orderqty:
  15832. description: 委托数量
  15833. type: number
  15834. ordertime:
  15835. description: 委托时间(挂牌时间)
  15836. type: string
  15837. performancetemplateid:
  15838. description: 履约模板id
  15839. type: integer
  15840. pricemove:
  15841. description: 升贴水(浮动价时填写) - [挂牌]
  15842. type: number
  15843. taname:
  15844. description: 交易用户名称(资金账号名称)
  15845. type: string
  15846. tradedate:
  15847. description: 交易日(yyyyMMdd)
  15848. type: string
  15849. tradeprice:
  15850. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15851. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15852. type: number
  15853. tradeqty:
  15854. description: 成交数量
  15855. type: number
  15856. userid:
  15857. description: 用户ID
  15858. type: integer
  15859. validtime:
  15860. description: 挂牌有效期
  15861. type: string
  15862. validtype:
  15863. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15864. type: integer
  15865. warehouseid:
  15866. description: 仓库ID
  15867. type: integer
  15868. warehousename:
  15869. description: 仓库名称
  15870. type: string
  15871. wrfactortypeid:
  15872. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15873. type: string
  15874. wrfactortypename:
  15875. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15876. type: string
  15877. wrpricetype:
  15878. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15879. type: integer
  15880. wrstandardcode:
  15881. description: 现货商品代码
  15882. type: string
  15883. wrstandardid:
  15884. description: 现货商品ID
  15885. type: integer
  15886. wrstandardname:
  15887. description: 商品名称
  15888. type: string
  15889. wrtradeorderid:
  15890. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15891. type: string
  15892. wrtradeorderstatus:
  15893. 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:撤单解冻贷款失败
  15894. type: integer
  15895. wrtradetype:
  15896. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15897. type: integer
  15898. wrtypename:
  15899. description: 商品
  15900. type: string
  15901. type: object
  15902. models.WrOrderQuote:
  15903. properties:
  15904. bannerpicurl:
  15905. description: Banner图
  15906. type: string
  15907. buyprice:
  15908. description: 买价
  15909. type: number
  15910. buypricemove:
  15911. description: 买升贴水(基差)
  15912. type: number
  15913. buyqty:
  15914. description: 买量
  15915. type: number
  15916. deliverygoodscode:
  15917. description: 品种代码
  15918. type: string
  15919. deliverygoodsid:
  15920. description: 品种id
  15921. type: integer
  15922. deliverygoodsname:
  15923. description: 品种名称
  15924. type: string
  15925. deliverymonth:
  15926. description: 交收月
  15927. type: string
  15928. enumdicname:
  15929. description: 单位名称
  15930. type: string
  15931. goodscode:
  15932. description: 商品合约(浮动价列表才有)
  15933. type: string
  15934. goodsid:
  15935. description: 商品id(浮动价列表才有)
  15936. type: integer
  15937. minivalue:
  15938. description: 现货商品最小变动值
  15939. type: integer
  15940. pictureurls:
  15941. description: 详情图片(逗号分隔)
  15942. type: string
  15943. sellprice:
  15944. description: 卖价
  15945. type: number
  15946. sellpricemove:
  15947. description: 卖升贴水(基差)
  15948. type: number
  15949. sellqty:
  15950. description: 卖量
  15951. type: number
  15952. warehousecode:
  15953. description: 仓库代码
  15954. type: string
  15955. warehouseid:
  15956. description: 仓库id
  15957. type: integer
  15958. warehousename:
  15959. description: 仓库名称
  15960. type: string
  15961. wrfactortypeid:
  15962. description: 仓单要素id
  15963. type: string
  15964. wrfactortypename:
  15965. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15966. type: string
  15967. wrgoodsname:
  15968. description: 商品(商品名称+仓库要素名称 拼接)
  15969. type: string
  15970. wrstandardcode:
  15971. description: 商品代码
  15972. type: string
  15973. wrstandardid:
  15974. description: 商品id
  15975. type: integer
  15976. wrstandardname:
  15977. description: 商品名称
  15978. type: string
  15979. type: object
  15980. models.WrOrderQuoteDetail:
  15981. properties:
  15982. buyorsell:
  15983. description: 买卖 - 0:买 1:卖
  15984. type: integer
  15985. delistminqty:
  15986. description: 起摘数量
  15987. type: number
  15988. deliverymonth:
  15989. description: 交收月
  15990. type: string
  15991. enumdicname:
  15992. description: 单位名称
  15993. type: string
  15994. fixedprice:
  15995. description: 买(卖)价
  15996. type: number
  15997. marketid:
  15998. description: 市场id
  15999. type: integer
  16000. minivalue:
  16001. description: 现货商品最小变动值
  16002. type: integer
  16003. orderqty:
  16004. description: 买(卖)量(=委托量-成交量)
  16005. type: number
  16006. ordertime:
  16007. description: 委托时间
  16008. type: string
  16009. pricemove:
  16010. description: 买(卖)升贴水- 基差
  16011. type: number
  16012. userid:
  16013. description: 购买方(销售方)用户ID
  16014. type: integer
  16015. username:
  16016. description: 购买方(销售方)
  16017. type: string
  16018. wrtradeorderid:
  16019. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16020. type: string
  16021. type: object
  16022. models.WrOutInApply:
  16023. properties:
  16024. applyid:
  16025. description: 申请单id
  16026. type: string
  16027. applystatus:
  16028. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16029. 8:已撤销
  16030. type: integer
  16031. applytime:
  16032. description: 申请时间
  16033. type: string
  16034. applytype:
  16035. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16036. type: integer
  16037. bannerpicurl:
  16038. description: Banner图
  16039. type: string
  16040. begindate:
  16041. description: 开始交易日(yyyymmdd)
  16042. type: string
  16043. deliverygoodscode:
  16044. description: 品种代码
  16045. type: string
  16046. deliverygoodsid:
  16047. description: 品种ID
  16048. type: integer
  16049. deliverygoodsname:
  16050. description: 品种名称
  16051. type: string
  16052. enddate:
  16053. description: 结束交易日(yyyymmdd)
  16054. type: string
  16055. enumdicname:
  16056. description: 单位名称
  16057. type: string
  16058. expresscompany:
  16059. description: 物流公司
  16060. type: string
  16061. expressnum:
  16062. description: 物流单号
  16063. type: string
  16064. minivalue:
  16065. description: 现货商品最小变动值
  16066. type: integer
  16067. optioncompare:
  16068. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16069. type: string
  16070. qty:
  16071. description: 数量
  16072. type: integer
  16073. userid:
  16074. description: 用户id
  16075. type: integer
  16076. warehouseid:
  16077. description: 仓库ID
  16078. type: integer
  16079. warehousename:
  16080. description: 仓库名称
  16081. type: string
  16082. wrfactortypeid:
  16083. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16084. type: string
  16085. wrfactortypename:
  16086. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16087. type: string
  16088. wrstandardcode:
  16089. description: 现货商品代码
  16090. type: string
  16091. wrstandardid:
  16092. description: 现货商品ID
  16093. type: integer
  16094. wrstandardname:
  16095. description: 商品名称
  16096. type: string
  16097. wrtypename:
  16098. description: 商品
  16099. type: string
  16100. type: object
  16101. models.WrPerformancePlan:
  16102. properties:
  16103. activatemonth:
  16104. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16105. type: string
  16106. amount:
  16107. description: 履约金额(总金额)
  16108. type: number
  16109. begindate:
  16110. description: 开始交易日(yyyymmdd)
  16111. type: string
  16112. buyaccountid:
  16113. description: 买方账号
  16114. type: integer
  16115. buyerfreezeamount:
  16116. description: 履约冻结(买履约)
  16117. type: number
  16118. buyerfreezeamountremain:
  16119. description: 履约冻结剩余(买履约)
  16120. type: number
  16121. buyorsell:
  16122. description: 买卖方向 0-买 1-卖
  16123. type: integer
  16124. buypaidamount:
  16125. description: 买方已冻/已扣金额 (已付金额)
  16126. type: number
  16127. buyusername:
  16128. description: 买方名字
  16129. type: string
  16130. contractid:
  16131. description: 合同ID
  16132. type: integer
  16133. createtime:
  16134. description: 创建时间
  16135. type: string
  16136. creatorid:
  16137. description: 创建人
  16138. type: integer
  16139. curstepdeadline:
  16140. description: 当前步骤到期时间
  16141. type: string
  16142. curstepid:
  16143. description: 当前步骤ID
  16144. type: string
  16145. curstepname:
  16146. description: 当前步骤名称
  16147. type: string
  16148. deliverygoodscode:
  16149. description: 品种代码
  16150. type: string
  16151. deliverygoodsid:
  16152. description: 品种ID
  16153. type: integer
  16154. deliverygoodsname:
  16155. description: 品种名称
  16156. type: string
  16157. enddate:
  16158. description: 结束交易日(yyyymmdd)
  16159. type: string
  16160. enumdicname:
  16161. description: 单位名称
  16162. type: string
  16163. expressfee:
  16164. description: 运费
  16165. type: number
  16166. expressfeeconfirmed:
  16167. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16168. type: integer
  16169. hasovershort:
  16170. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16171. type: integer
  16172. haswr:
  16173. description: 类型 0-仓单预售 1-仓单贸易
  16174. type: integer
  16175. marketid:
  16176. description: 市场ID
  16177. type: integer
  16178. middleaccountid:
  16179. description: 中间商资金账号ID
  16180. type: integer
  16181. middleuserid:
  16182. description: 中间商用户ID
  16183. type: integer
  16184. minivalue:
  16185. description: 现货商品最小变动值
  16186. type: integer
  16187. optioncompare:
  16188. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16189. type: string
  16190. overshortamount:
  16191. description: 溢短金额
  16192. type: number
  16193. overshortqty:
  16194. description: 溢短数量
  16195. type: number
  16196. paymenttype:
  16197. description: 付款方式 - 1:冻结 2:扣款
  16198. type: integer
  16199. performanceplanid:
  16200. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16201. type: string
  16202. performancestatus:
  16203. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16204. 9:超时待处理 10:超时关闭
  16205. type: integer
  16206. performancetype:
  16207. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16208. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16209. type: integer
  16210. qty:
  16211. description: 履约数量
  16212. type: number
  16213. relatedorderid:
  16214. description: 关联单号(履约类型的关联单号)
  16215. type: string
  16216. remark:
  16217. description: 备注
  16218. type: string
  16219. sellaccountid:
  16220. description: 卖方账号
  16221. type: integer
  16222. sellerfreezeamount:
  16223. description: 履约冻结(卖履约)
  16224. type: number
  16225. sellerfreezeamountremain:
  16226. description: 履约冻结剩余(卖履约)
  16227. type: number
  16228. sellreceivedamount:
  16229. description: 卖方已收金额
  16230. type: number
  16231. sellusername:
  16232. description: 卖方名字
  16233. type: string
  16234. shipremark:
  16235. description: 发货备注[物流单号]
  16236. type: string
  16237. starttime:
  16238. description: 开始时间
  16239. type: string
  16240. steptypeid:
  16241. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16242. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16243. type: integer
  16244. typename:
  16245. description: 履约类型 名称
  16246. type: string
  16247. unpaidamount:
  16248. description: 剩余款(待支付金额)
  16249. type: number
  16250. userid:
  16251. description: 用户id
  16252. type: integer
  16253. warehouseid:
  16254. description: 仓库ID
  16255. type: integer
  16256. warehousename:
  16257. description: 仓库名称
  16258. type: string
  16259. wrfactortypeid:
  16260. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16261. type: string
  16262. wrfactortypename:
  16263. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16264. type: string
  16265. wrstandardcode:
  16266. description: 现货商品代码
  16267. type: string
  16268. wrstandardid:
  16269. description: 现货商品ID
  16270. type: integer
  16271. wrstandardname:
  16272. description: 商品名称
  16273. type: string
  16274. wrtransferuserid:
  16275. description: 仓单受让用户
  16276. type: integer
  16277. wrtypename:
  16278. description: 商品
  16279. type: string
  16280. required:
  16281. - userid
  16282. type: object
  16283. models.WrPerformancePlanStep:
  16284. properties:
  16285. delaydays:
  16286. description: 延期申请天数
  16287. type: integer
  16288. deliverygoodscode:
  16289. description: 品种代码
  16290. type: string
  16291. deliverygoodsid:
  16292. description: 品种ID
  16293. type: integer
  16294. deliverygoodsname:
  16295. description: 品种名称
  16296. type: string
  16297. endtime:
  16298. description: 结束日期
  16299. type: string
  16300. enumdicname:
  16301. description: 单位名称
  16302. type: string
  16303. executeside:
  16304. description: 步骤执行方 - 1:买方 2:卖方
  16305. type: integer
  16306. handlestatus:
  16307. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16308. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16309. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16310. type: integer
  16311. isauto:
  16312. description: 是否自动 - 0:不自动 1:自动
  16313. type: integer
  16314. islastreceivestep:
  16315. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16316. type: integer
  16317. minivalue:
  16318. description: 现货商品最小变动值
  16319. type: integer
  16320. optioncompare:
  16321. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16322. type: string
  16323. overdays:
  16324. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16325. type: integer
  16326. performancestepid:
  16327. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16328. type: string
  16329. planid:
  16330. description: 所属履约计划ID
  16331. type: string
  16332. realamount:
  16333. description: 实际完成金额
  16334. type: number
  16335. relatedorderid:
  16336. description: 关联单号
  16337. type: string
  16338. remaindays:
  16339. description: 剩余天数
  16340. type: integer
  16341. remark:
  16342. description: 错误备注
  16343. type: string
  16344. starttime:
  16345. description: 开始日期
  16346. type: string
  16347. stepamount:
  16348. description: 步骤金额
  16349. type: number
  16350. stepdays:
  16351. description: 距离上一步天数(分钟)
  16352. type: integer
  16353. stepindex:
  16354. description: 步骤序号
  16355. type: integer
  16356. steplanchtype:
  16357. description: 步骤启动类型 - 1:系统自动 2:手动
  16358. type: integer
  16359. stepremark:
  16360. description: 步骤备注
  16361. type: string
  16362. stepstatus:
  16363. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16364. type: integer
  16365. steptypeid:
  16366. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16367. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16368. type: integer
  16369. steptypename:
  16370. description: 步骤名称
  16371. type: string
  16372. stepvalue:
  16373. description: 步骤值
  16374. type: number
  16375. warehouseid:
  16376. description: 仓库ID
  16377. type: integer
  16378. warehousename:
  16379. description: 仓库名称
  16380. type: string
  16381. wrfactortypeid:
  16382. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16383. type: string
  16384. wrfactortypename:
  16385. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16386. type: string
  16387. wrstandardcode:
  16388. description: 现货商品代码
  16389. type: string
  16390. wrstandardid:
  16391. description: 现货商品ID
  16392. type: integer
  16393. wrstandardname:
  16394. description: 商品名称
  16395. type: string
  16396. wrtypename:
  16397. description: 商品
  16398. type: string
  16399. type: object
  16400. models.WrPerformanceStepType:
  16401. properties:
  16402. canauto:
  16403. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16404. type: integer
  16405. steptypeid:
  16406. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16407. type: integer
  16408. steptypename:
  16409. description: 步骤类型名称
  16410. type: string
  16411. type: object
  16412. models.WrPerformanceTemplateEx:
  16413. properties:
  16414. autoid:
  16415. description: AutoID 模板id
  16416. type: integer
  16417. createtime:
  16418. description: 创建时间
  16419. type: string
  16420. creatorid:
  16421. description: 创建人
  16422. type: integer
  16423. lstStep:
  16424. description: 步骤信息列表
  16425. items:
  16426. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16427. type: array
  16428. paymenttype:
  16429. description: 支付方式 - 1:冻结 2:扣款
  16430. type: integer
  16431. takemode:
  16432. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16433. type: integer
  16434. templatename:
  16435. description: 模板名称
  16436. type: string
  16437. templatetype:
  16438. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16439. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16440. type: integer
  16441. userid:
  16442. description: 所属用户
  16443. type: integer
  16444. type: object
  16445. models.WrPosition:
  16446. properties:
  16447. accountid:
  16448. description: 帐户ID
  16449. type: integer
  16450. buyexcuteqty:
  16451. description: 采购履约中数量
  16452. type: number
  16453. creditcurqty:
  16454. description: 授信当前数量(预售仓单:预售当前量)
  16455. type: number
  16456. creditenableqty:
  16457. description: '授信可用数量(预售仓单: 可用数量)'
  16458. type: number
  16459. creditfreezeqty:
  16460. description: '授信冻结数量(预售仓单: 当前数量)'
  16461. type: number
  16462. credittotalqty:
  16463. description: 授信总数量(预售仓单:预售总量)
  16464. type: number
  16465. credittradeqty:
  16466. description: 授信成交数量(预售仓单:成交总量)
  16467. type: number
  16468. deliverygoodscode:
  16469. description: 品种代码
  16470. type: string
  16471. deliverygoodsid:
  16472. description: 品种ID
  16473. type: integer
  16474. deliverygoodsname:
  16475. description: 品种名称
  16476. type: string
  16477. enalbeqty:
  16478. description: 可用数量
  16479. type: number
  16480. enumdicname:
  16481. description: 单位名称
  16482. type: string
  16483. freezeqty:
  16484. description: 总冻结数量
  16485. type: number
  16486. haswr:
  16487. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16488. type: integer
  16489. minivalue:
  16490. description: 现货商品最小变动值
  16491. type: integer
  16492. modifytime:
  16493. description: 修改时间(过户时间)
  16494. type: string
  16495. optioncompare:
  16496. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16497. type: string
  16498. pledgeqty:
  16499. description: 质押数量
  16500. type: number
  16501. querytype:
  16502. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16503. type: integer
  16504. sellexcuteqty:
  16505. description: 销售履约中数量
  16506. type: number
  16507. totalqty:
  16508. description: 总数量(库存数量)
  16509. type: number
  16510. warehouseid:
  16511. description: 仓库ID
  16512. type: integer
  16513. warehousename:
  16514. description: 仓库名称
  16515. type: string
  16516. wrfactortypeid:
  16517. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16518. type: string
  16519. wrfactortypename:
  16520. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16521. type: string
  16522. wrpositionid:
  16523. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16524. type: string
  16525. wrpositionno:
  16526. description: 仓单编号
  16527. type: string
  16528. wrstandardcode:
  16529. description: 现货商品代码
  16530. type: string
  16531. wrstandardid:
  16532. description: 现货商品ID
  16533. type: integer
  16534. wrstandardname:
  16535. description: 商品名称
  16536. type: string
  16537. wrtypename:
  16538. description: 商品
  16539. type: string
  16540. wruserid:
  16541. description: 持有人ID
  16542. type: integer
  16543. type: object
  16544. models.WrPreSaleInfo:
  16545. properties:
  16546. bannerpicurl:
  16547. description: Banner图
  16548. type: string
  16549. baseqty:
  16550. description: 中签基数
  16551. type: number
  16552. createtime:
  16553. description: 创建时间
  16554. type: string
  16555. deliverygoodsid:
  16556. description: 现货品种ID
  16557. type: integer
  16558. enddate:
  16559. description: 预售结束日期
  16560. type: string
  16561. enumdicname:
  16562. description: 单位名称
  16563. type: string
  16564. lotteryflag:
  16565. description: 摇号标识 - 0:未摇号 1:已摇号
  16566. type: integer
  16567. lotteryqty:
  16568. description: 摇号总量
  16569. type: number
  16570. luckyqty:
  16571. description: 已中签量
  16572. type: number
  16573. marketid:
  16574. description: 市场ID
  16575. type: integer
  16576. maxbuyqty:
  16577. description: 单人最大申购量
  16578. type: number
  16579. maxluckyqty:
  16580. description: 单人最大中签量
  16581. type: number
  16582. pictureurls:
  16583. description: 详情图片(逗号分隔)
  16584. type: string
  16585. placeqty:
  16586. description: 已配售量
  16587. type: number
  16588. presaleapplyid:
  16589. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16590. type: integer
  16591. presaleqty:
  16592. description: 预售总量
  16593. type: number
  16594. presalestatus:
  16595. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16596. type: integer
  16597. sellaccountid:
  16598. description: 发行方资金账户ID
  16599. type: integer
  16600. selluserid:
  16601. description: 发行方用户ID
  16602. type: integer
  16603. sellwrtradeorderid:
  16604. description: 发行方卖委托单ID
  16605. type: string
  16606. startdate:
  16607. description: 预售开始日期
  16608. type: string
  16609. takestartdate:
  16610. description: 提货开始日期
  16611. type: string
  16612. thumurls:
  16613. description: 缩略图片(1:1)(逗号分隔)
  16614. type: string
  16615. tradedate:
  16616. description: 交易日
  16617. type: string
  16618. unitid:
  16619. description: 单位ID
  16620. type: integer
  16621. unitprice:
  16622. description: 商品单价
  16623. type: number
  16624. username:
  16625. description: 发行方用户名称
  16626. type: string
  16627. warehousecode:
  16628. description: 仓库代码(仓库简称)
  16629. type: string
  16630. warehouseid:
  16631. description: 仓库ID
  16632. type: integer
  16633. warehousename:
  16634. description: 仓库名称
  16635. type: string
  16636. wrfactortypeid:
  16637. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16638. type: integer
  16639. wrstandardid:
  16640. description: 现货商品ID
  16641. type: integer
  16642. wrstandardname:
  16643. description: 现货商品名称
  16644. type: string
  16645. type: object
  16646. models.WrQuoteOrderMyq:
  16647. properties:
  16648. buyorsell:
  16649. description: 买卖 - 0:买 1:卖
  16650. type: integer
  16651. canbargain:
  16652. description: 是否可议价 - 0:不可 1:可
  16653. type: integer
  16654. canpart:
  16655. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16656. type: integer
  16657. delistminqty:
  16658. description: 起摘数量
  16659. type: number
  16660. deliverygoodscode:
  16661. description: 品种代码
  16662. type: string
  16663. deliverygoodsid:
  16664. description: 品种ID
  16665. type: integer
  16666. deliverygoodsname:
  16667. description: 品种名称
  16668. type: string
  16669. deliverymonth:
  16670. description: 交收月
  16671. type: string
  16672. enumdicname:
  16673. description: 单位名称
  16674. type: string
  16675. fixedprice:
  16676. description: 买(卖)价
  16677. type: number
  16678. goodscode:
  16679. description: 商品合约代码
  16680. type: string
  16681. marginflag:
  16682. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16683. type: integer
  16684. marginvalue:
  16685. description: 保证金设置值
  16686. type: number
  16687. minivalue:
  16688. description: 现货商品最小变动值
  16689. type: integer
  16690. orderqty:
  16691. description: 买(卖)量(=委托量-成交量)
  16692. type: number
  16693. ordertime:
  16694. description: 委托时间
  16695. type: string
  16696. performancetemplateid:
  16697. description: 履约模板id
  16698. type: integer
  16699. pricemove:
  16700. description: 买(卖)升贴水- 基差
  16701. type: number
  16702. templatename:
  16703. description: 履约模板名称
  16704. type: string
  16705. userid:
  16706. description: 购买方(销售方)用户ID
  16707. type: integer
  16708. username:
  16709. description: 购买方(销售方)
  16710. type: string
  16711. validtime:
  16712. description: 有效期限
  16713. type: string
  16714. validtype:
  16715. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16716. type: integer
  16717. warehousename:
  16718. description: 仓库名称
  16719. type: string
  16720. wrfactortypeid:
  16721. description: 仓单要素id
  16722. type: string
  16723. wrstandardcode:
  16724. description: 现货商品代码
  16725. type: string
  16726. wrstandardid:
  16727. description: 现货商品ID
  16728. type: integer
  16729. wrstandardname:
  16730. description: 商品名称
  16731. type: string
  16732. wrtradeorderid:
  16733. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16734. type: string
  16735. wrtypename:
  16736. description: 商品
  16737. type: string
  16738. type: object
  16739. models.WrReckonSpotGoodsTradeSum:
  16740. properties:
  16741. begindate:
  16742. description: 开始日期(结果含开始日期) yyyymmdd
  16743. type: string
  16744. enddate:
  16745. description: 结束日期(结果含结束日期) yyyymmdd
  16746. type: string
  16747. marketid:
  16748. description: 市场ID
  16749. type: integer
  16750. price:
  16751. description: 价格 = 日成交金额 / 日成交数量
  16752. type: string
  16753. reckondate:
  16754. description: 日期 格式 yyyymmdd
  16755. type: string
  16756. tradeamount:
  16757. description: 日成交金额(当日单方向成交金额)
  16758. type: number
  16759. tradeqty:
  16760. description: 日成交数量(当日单方向成交数量)
  16761. type: number
  16762. wrstandardid:
  16763. description: 现货商品ID
  16764. type: integer
  16765. type: object
  16766. models.WrScfContract:
  16767. properties:
  16768. borroweruserid:
  16769. description: 借款用户ID
  16770. type: integer
  16771. buybackwrpositionqty:
  16772. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16773. type: number
  16774. closeinterest:
  16775. description: 已结利息 -> 已结费用
  16776. type: number
  16777. currisklevel:
  16778. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16779. type: integer
  16780. deadline:
  16781. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16782. type: string
  16783. deliverygoodscode:
  16784. description: 品种代码
  16785. type: string
  16786. deliverygoodsid:
  16787. description: 品种ID
  16788. type: integer
  16789. deliverygoodsname:
  16790. description: 品种名称
  16791. type: string
  16792. enumdicname:
  16793. description: 单位名称
  16794. type: string
  16795. financingdays:
  16796. description: 天数(天)
  16797. type: integer
  16798. initmargin:
  16799. description: 保证金 - [仓单回购]
  16800. type: number
  16801. interestamount:
  16802. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16803. type: number
  16804. interestdebt:
  16805. description: 利息欠款(记录负数) -> 费用欠款
  16806. type: number
  16807. interestminlen:
  16808. description: 最小起息天数
  16809. type: integer
  16810. interestrate:
  16811. description: 利率
  16812. type: number
  16813. interestratemode:
  16814. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16815. type: integer
  16816. interestsettlemode:
  16817. description: 结息方式 - 1:按日结息 3:按月结息
  16818. type: integer
  16819. interestsettlevalue:
  16820. description: 结息方式值
  16821. type: integer
  16822. isautoloan:
  16823. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16824. type: integer
  16825. lastcloseinterestday:
  16826. description: 最近结息日(yyyyMMdd)
  16827. type: string
  16828. lenderamount:
  16829. description: 贷款金额 -> 借款金额
  16830. type: number
  16831. lenderuserid:
  16832. description: 贷款方用户ID -> 融出方用户ID
  16833. type: integer
  16834. lenderusername:
  16835. description: 融出方
  16836. type: string
  16837. marginratio:
  16838. description: 保证金比率质押率 - [仓单质押]
  16839. type: number
  16840. marketid:
  16841. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16842. type: integer
  16843. minivalue:
  16844. description: 现货商品最小变动值
  16845. type: integer
  16846. optioncompare:
  16847. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16848. type: string
  16849. pricemove:
  16850. description: 估值升贴水值
  16851. type: number
  16852. productdetailid:
  16853. description: 产品组合ID
  16854. type: integer
  16855. productid:
  16856. description: 金融产品ID
  16857. type: integer
  16858. productname:
  16859. description: 产品名称
  16860. type: string
  16861. remainamount:
  16862. description: 合同剩余金额 -> 剩余金额
  16863. type: number
  16864. remainwrpositionqty:
  16865. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16866. type: number
  16867. remark:
  16868. description: 备注
  16869. type: string
  16870. scfcontractid:
  16871. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16872. type: string
  16873. scfcontractstatus:
  16874. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16875. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16876. type: integer
  16877. scfcontracttype:
  16878. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16879. type: integer
  16880. startinterestday:
  16881. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16882. type: string
  16883. totalinterest:
  16884. description: 已计利息 -> 已计费用
  16885. type: number
  16886. unpaidinterest:
  16887. description: 未结费用
  16888. type: number
  16889. updatetime:
  16890. description: 更新时间
  16891. type: string
  16892. warehouseid:
  16893. description: 仓库ID
  16894. type: integer
  16895. warehousename:
  16896. description: 仓库名称
  16897. type: string
  16898. wrfactortypeid:
  16899. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16900. type: string
  16901. wrfactortypename:
  16902. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16903. type: string
  16904. wrqty:
  16905. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16906. type: number
  16907. wrstandardcode:
  16908. description: 现货商品代码
  16909. type: string
  16910. wrstandardid:
  16911. description: 现货商品ID
  16912. type: integer
  16913. wrstandardname:
  16914. description: 商品名称
  16915. type: string
  16916. wrtypename:
  16917. description: 商品
  16918. type: string
  16919. type: object
  16920. models.WrScfContractInterest:
  16921. properties:
  16922. closeinterest:
  16923. description: 已结利息
  16924. type: number
  16925. closeintereststatus:
  16926. description: 结息状态 - 1:未结 2:已结
  16927. type: integer
  16928. closetime:
  16929. description: 结息时间
  16930. type: string
  16931. closetradedate:
  16932. description: 结息交易日
  16933. type: string
  16934. creatorid:
  16935. description: 操作人ID
  16936. type: integer
  16937. dayrate:
  16938. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16939. type: number
  16940. interest:
  16941. description: 利息
  16942. type: number
  16943. interestamount:
  16944. description: 计息金额
  16945. type: number
  16946. interestday:
  16947. description: 计息日(yyyyMMdd)
  16948. type: string
  16949. scfcontractid:
  16950. description: SCF合同ID
  16951. type: string
  16952. scfcontractinterestid:
  16953. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16954. type: integer
  16955. updatetime:
  16956. description: 更新时间
  16957. type: string
  16958. type: object
  16959. models.WrSiteColumnDetail:
  16960. properties:
  16961. brief:
  16962. description: 简介
  16963. type: string
  16964. context:
  16965. description: 内容
  16966. type: string
  16967. coverimage:
  16968. description: 封面图片
  16969. type: string
  16970. creaedate:
  16971. description: 创建时间
  16972. type: string
  16973. id:
  16974. description: ID(SEQ_SITE_COLUMNDETAIL)
  16975. type: integer
  16976. istop:
  16977. description: 是否置顶 - 0:不置 1:置顶
  16978. type: integer
  16979. publishdate:
  16980. description: 发布日期
  16981. type: string
  16982. title:
  16983. description: 标题
  16984. type: string
  16985. updatedate:
  16986. description: 修改时间
  16987. type: string
  16988. type: object
  16989. models.WrSpecialMatchOrder:
  16990. properties:
  16991. amount:
  16992. description: 金额 = 数量 * 价格
  16993. type: number
  16994. buyorsell:
  16995. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16996. type: integer
  16997. cancelqty:
  16998. description: 撤销数量
  16999. type: number
  17000. deliverygoodscode:
  17001. description: 品种代码
  17002. type: string
  17003. deliverygoodsid:
  17004. description: 品种ID
  17005. type: integer
  17006. deliverygoodsname:
  17007. description: 品种名称
  17008. type: string
  17009. enumdicname:
  17010. description: 单位名称
  17011. type: string
  17012. fixedprice:
  17013. description: 固定价格(价格)
  17014. type: number
  17015. haswr:
  17016. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17017. type: integer
  17018. isspecified:
  17019. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17020. type: integer
  17021. marketid:
  17022. description: 市场ID
  17023. type: integer
  17024. matchuserid:
  17025. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17026. type: integer
  17027. matchusername:
  17028. description: 指定方
  17029. type: string
  17030. minivalue:
  17031. description: 现货商品最小变动值
  17032. type: integer
  17033. optioncompare:
  17034. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17035. type: string
  17036. orderqty:
  17037. description: 委托数量
  17038. type: number
  17039. ordertime:
  17040. description: 委托时间
  17041. type: string
  17042. pricemove:
  17043. description: 升贴水(浮动价时填写) - [挂牌]
  17044. type: number
  17045. tradedate:
  17046. description: 交易日(yyyyMMdd)
  17047. type: string
  17048. tradeprice:
  17049. description: 成交价格
  17050. type: number
  17051. tradeqty:
  17052. description: 成交数量
  17053. type: number
  17054. userid:
  17055. description: 用户ID
  17056. type: integer
  17057. username:
  17058. description: 发起方
  17059. type: string
  17060. warehouseid:
  17061. description: 仓库ID
  17062. type: integer
  17063. warehousename:
  17064. description: 仓库名称
  17065. type: string
  17066. wrfactortypeid:
  17067. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17068. type: string
  17069. wrfactortypename:
  17070. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17071. type: string
  17072. wrpricetype:
  17073. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17074. type: integer
  17075. wrstandardcode:
  17076. description: 现货商品代码
  17077. type: string
  17078. wrstandardid:
  17079. description: 现货商品ID
  17080. type: integer
  17081. wrstandardname:
  17082. description: 商品名称
  17083. type: string
  17084. wrtradeorderid:
  17085. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17086. type: string
  17087. wrtradeorderstatus:
  17088. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17089. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17090. type: integer
  17091. wrtradetype:
  17092. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17093. type: integer
  17094. wrtypename:
  17095. description: 商品
  17096. type: string
  17097. type: object
  17098. models.WrSpotGroupTradeSum:
  17099. properties:
  17100. deliverygoodscode:
  17101. description: 现货品种代码
  17102. type: string
  17103. deliverygoodsid:
  17104. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17105. type: integer
  17106. deliverygoodsname:
  17107. description: 现货品种名称
  17108. type: string
  17109. lastavgprice:
  17110. description: 上上个交易日价格(前2天价格)
  17111. type: string
  17112. lastreckondate:
  17113. description: 上上个交易日(前2天交易日)
  17114. type: string
  17115. reckondate:
  17116. description: 上个交易日(前1天交易日)
  17117. type: string
  17118. todayavgprice:
  17119. description: 上个交易日价格(前1天价格)
  17120. type: string
  17121. updown:
  17122. description: 涨跌
  17123. type: string
  17124. updownratio:
  17125. description: 涨幅(已格式化, 直接显示即可)
  17126. type: string
  17127. type: object
  17128. models.WrSpotGroupTradeSumDetail:
  17129. properties:
  17130. deliverygoodsid:
  17131. description: 现货商品id
  17132. type: integer
  17133. price:
  17134. description: 价格
  17135. type: number
  17136. reckondate:
  17137. description: 日期(yyymmdd, 如:20211031)
  17138. type: string
  17139. type: object
  17140. models.WrSpotGroupTradeSumEx:
  17141. properties:
  17142. lst:
  17143. description: 指数列表
  17144. items:
  17145. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17146. type: array
  17147. prereckondate:
  17148. description: 上上个交易日(yyymmdd)
  17149. type: string
  17150. reckondate:
  17151. description: 上个交易日(yyyymmdd)
  17152. type: string
  17153. type: object
  17154. models.WrStandardFactoryItem:
  17155. properties:
  17156. dgfactoryitemid:
  17157. description: 选择项id
  17158. type: integer
  17159. dgfactoryitemvalue:
  17160. description: 要素项值
  17161. type: string
  17162. warehouseid:
  17163. description: 仓库id
  17164. type: integer
  17165. type: object
  17166. models.WrStandardFactoryItemEx:
  17167. properties:
  17168. dgfactoryitemtypeid:
  17169. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17170. type: integer
  17171. itemlst:
  17172. description: 要素项列表
  17173. items:
  17174. $ref: '#/definitions/models.WrStandardFactoryItem'
  17175. type: array
  17176. itemtypename:
  17177. description: 要素项类型名称
  17178. type: string
  17179. wrstandardid:
  17180. description: 品类
  17181. type: integer
  17182. type: object
  17183. models.WrTradeDetail:
  17184. properties:
  17185. accountid:
  17186. description: 资金账号
  17187. type: integer
  17188. bannerpicurl:
  17189. description: Banner图
  17190. type: string
  17191. begindate:
  17192. description: 开始交易日(yyyymmdd)
  17193. type: string
  17194. buyorsell:
  17195. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17196. type: integer
  17197. chargevalue:
  17198. description: 手续费
  17199. type: number
  17200. deliverygoodscode:
  17201. description: 品种代码
  17202. type: string
  17203. deliverygoodsid:
  17204. description: 品种ID
  17205. type: integer
  17206. deliverygoodsname:
  17207. description: 品种名称
  17208. type: string
  17209. deliverymonth:
  17210. description: 交收月
  17211. type: string
  17212. enddate:
  17213. description: 结束交易日(yyyymmdd)
  17214. type: string
  17215. enumdicname:
  17216. description: 单位名称
  17217. type: string
  17218. haswr:
  17219. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17220. type: integer
  17221. marketid:
  17222. description: 市场ID
  17223. type: integer
  17224. matchaccountid:
  17225. description: 对手账号
  17226. type: integer
  17227. matchusername:
  17228. description: 对手方
  17229. type: string
  17230. minivalue:
  17231. description: 现货商品最小变动值
  17232. type: integer
  17233. optioncompare:
  17234. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17235. type: string
  17236. tradedate:
  17237. description: 交易日(yyyyMMdd)
  17238. type: string
  17239. tradeprice:
  17240. description: 成交价格
  17241. type: number
  17242. tradeqty:
  17243. description: 成交数量
  17244. type: number
  17245. tradetime:
  17246. description: 成交时间
  17247. type: string
  17248. userid:
  17249. description: 用户ID
  17250. type: integer
  17251. warehouseid:
  17252. description: 仓库ID
  17253. type: integer
  17254. warehousename:
  17255. description: 仓库名称
  17256. type: string
  17257. wrfactortypeid:
  17258. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17259. type: string
  17260. wrfactortypename:
  17261. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17262. type: string
  17263. wrstandardcode:
  17264. description: 现货商品代码
  17265. type: string
  17266. wrstandardid:
  17267. description: 现货商品ID
  17268. type: integer
  17269. wrstandardname:
  17270. description: 商品名称
  17271. type: string
  17272. wrtradedetailid:
  17273. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17274. type: string
  17275. wrtradetype:
  17276. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17277. type: integer
  17278. wrtypename:
  17279. description: 商品
  17280. type: string
  17281. type: object
  17282. models.WrTradeOrderDetail:
  17283. properties:
  17284. buyorsell:
  17285. description: 买卖方向 0-买 1-卖
  17286. type: integer
  17287. goodsid:
  17288. description: 商品id
  17289. type: integer
  17290. orderid:
  17291. description: 委托单号
  17292. type: string
  17293. orderprice:
  17294. description: 委托价格
  17295. type: number
  17296. orderqty:
  17297. description: 委托数量
  17298. type: integer
  17299. userid:
  17300. description: 用户id
  17301. type: integer
  17302. username:
  17303. description: 用户名称(已脱敏)
  17304. type: string
  17305. type: object
  17306. models.WrTypeItem:
  17307. properties:
  17308. name:
  17309. description: 名称
  17310. type: string
  17311. value:
  17312. description: 值
  17313. type: string
  17314. type: object
  17315. models.WrUserFriend:
  17316. properties:
  17317. friendname:
  17318. description: 朋友名称(已脱敏)
  17319. type: string
  17320. frienduserid:
  17321. description: 朋友id
  17322. type: integer
  17323. isfriend:
  17324. description: 是否好友 0-不是 1-是
  17325. type: integer
  17326. userid:
  17327. description: 用户id
  17328. type: integer
  17329. type: object
  17330. models.WrUserReceiptInfo:
  17331. properties:
  17332. address:
  17333. description: 地址[发票类型:企业]
  17334. type: string
  17335. autoid:
  17336. description: AutoID
  17337. type: integer
  17338. contactinfo:
  17339. description: 联系方式
  17340. type: string
  17341. idnum:
  17342. description: 身份证号码[发票类型:个人]
  17343. type: string
  17344. isdefault:
  17345. description: 是否默认地址 - 0:否 1:是
  17346. type: integer
  17347. receiptaccount:
  17348. description: 发票帐号[发票类型:企业]
  17349. type: string
  17350. receiptbank:
  17351. description: 发票开户行[发票类型:企业]
  17352. type: string
  17353. receipttype:
  17354. description: 发票类型 - 1:个人 2:企业
  17355. type: integer
  17356. taxpayerid:
  17357. description: 纳税人识别号
  17358. type: string
  17359. userid:
  17360. description: 用户ID
  17361. type: integer
  17362. username:
  17363. description: 户名(个人姓名或企业名称)
  17364. type: string
  17365. type: object
  17366. models.XHBRAND:
  17367. properties:
  17368. brandid:
  17369. description: 品牌id
  17370. type: integer
  17371. brandname:
  17372. description: 品牌名称
  17373. type: string
  17374. isvalid:
  17375. description: 是否有效 0-无效 1-有效
  17376. type: integer
  17377. type: object
  17378. models.XHDeliveryGoods:
  17379. properties:
  17380. areauserid:
  17381. description: 所属机构
  17382. type: integer
  17383. bdlst:
  17384. description: 品牌列表
  17385. items:
  17386. $ref: '#/definitions/models.XHBRAND'
  17387. type: array
  17388. deliverygoodscode:
  17389. description: 现货品种代码
  17390. type: string
  17391. deliverygoodsid:
  17392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17393. type: integer
  17394. deliverygoodsname:
  17395. description: 现货品种名称
  17396. type: string
  17397. dgstatus:
  17398. description: 品种状态 - 作废 - 0:未激活 1:正常
  17399. type: integer
  17400. filterSubEmpty:
  17401. description: 过滤下级为空的
  17402. type: integer
  17403. isvalid:
  17404. description: 是否有效 - 0:无效 1:有效
  17405. type: integer
  17406. remark:
  17407. description: 备注
  17408. type: string
  17409. unitid:
  17410. description: 单位id(目前看,数据库中是空值)
  17411. type: integer
  17412. wdlst:
  17413. description: 品类(现货商品)列表
  17414. items:
  17415. $ref: '#/definitions/models.XHWrstandard'
  17416. type: array
  17417. type: object
  17418. models.XHMiddleGoods:
  17419. properties:
  17420. GPLST:
  17421. description: 期货品种列表
  17422. items:
  17423. $ref: '#/definitions/models.TBGoodsGroup'
  17424. type: array
  17425. convertratio:
  17426. description: 拆算系数
  17427. type: number
  17428. costratio:
  17429. description: 成本权重
  17430. type: number
  17431. deliverygoodsid:
  17432. description: 现货商品id
  17433. type: integer
  17434. enumdicname:
  17435. description: 单位名称
  17436. type: string
  17437. middlegoodscode:
  17438. description: 套保品种代码
  17439. type: string
  17440. middlegoodsid:
  17441. description: 套保品种id
  17442. type: integer
  17443. middlegoodsname:
  17444. description: 套保品种名称
  17445. type: string
  17446. unitid:
  17447. description: 单位id
  17448. type: integer
  17449. type: object
  17450. models.XHWrstandard:
  17451. properties:
  17452. bannerpicurl:
  17453. description: banner图
  17454. type: string
  17455. deliverygoodsid:
  17456. description: 品种ID
  17457. type: integer
  17458. enumdicname:
  17459. description: 单位名称
  17460. type: string
  17461. mglst:
  17462. description: 套保品列表
  17463. items:
  17464. $ref: '#/definitions/models.XHMiddleGoods'
  17465. type: array
  17466. pictureurls:
  17467. description: 详情图片(逗号分隔)
  17468. type: string
  17469. thumurls:
  17470. description: 缩略图片(1:1)(逗号分隔)
  17471. type: string
  17472. unitid:
  17473. description: 单位id
  17474. type: integer
  17475. vatrate:
  17476. description: 增值税率
  17477. type: number
  17478. wrstandardcode:
  17479. description: 现货商品代码
  17480. type: string
  17481. wrstandardid:
  17482. description: 现货商品ID(SEQ_WRSTANDARD)
  17483. type: integer
  17484. wrstandardname:
  17485. description: 现货商品名称
  17486. type: string
  17487. type: object
  17488. order.QueryHisTradeDetailRsp:
  17489. properties:
  17490. accountid:
  17491. description: 账户ID[报价币种]
  17492. type: integer
  17493. advanceratio:
  17494. description: 首付比率
  17495. type: number
  17496. buildtype:
  17497. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17498. type: integer
  17499. buyorsell:
  17500. description: 方向 - 0:买 1:卖
  17501. type: integer
  17502. charge:
  17503. description: 手续费
  17504. type: number
  17505. closecharge:
  17506. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17507. type: number
  17508. closeexchagechargevalue:
  17509. description: 平仓交易所手续费设置值
  17510. type: number
  17511. closefeealgorithm:
  17512. description: 平仓手续费收取方式 1:比率 2:固定
  17513. type: integer
  17514. closememberchargevalue:
  17515. description: 平仓会员手续费设置值
  17516. type: number
  17517. closepl:
  17518. description: 平仓盈亏
  17519. type: number
  17520. closepl2:
  17521. description: 平仓盈亏[逐笔]
  17522. type: number
  17523. closeqty:
  17524. description: 平仓数量(先建后平操作 需要记录)
  17525. type: number
  17526. creditamount:
  17527. description: 授信金额
  17528. type: number
  17529. decimalplace:
  17530. description: 商品报价小数位
  17531. type: integer
  17532. enumdicname:
  17533. description: 单位名称
  17534. type: string
  17535. gcaccountid:
  17536. description: 账户ID[合约币种]
  17537. type: integer
  17538. goodscode:
  17539. description: 商品代码
  17540. type: string
  17541. goodsid:
  17542. description: 商品ID
  17543. type: integer
  17544. goodsname:
  17545. description: 商品名称
  17546. type: string
  17547. goodunitid:
  17548. description: 商品单位id
  17549. type: integer
  17550. histradedate:
  17551. description: 历史交易日
  17552. type: string
  17553. intclosepl:
  17554. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17555. type: integer
  17556. isconfirmexercise:
  17557. description: 是否确认行权- 0:否 1:是
  17558. type: integer
  17559. ismain:
  17560. description: 是否主单 - 0:不是 1:是
  17561. type: integer
  17562. ispreexercise:
  17563. description: 是否预申报- 0:否 1:是
  17564. type: integer
  17565. isreckoned:
  17566. description: 是否结算 - 0:未结算 1:已结算
  17567. type: integer
  17568. isvaliddata:
  17569. description: 是否有效 - 0:无效 1:有效
  17570. type: integer
  17571. listingselecttype:
  17572. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17573. type: integer
  17574. marketid:
  17575. description: 市场ID
  17576. type: integer
  17577. marketname:
  17578. description: 市场名称
  17579. type: string
  17580. matchaccountid:
  17581. description: 对手账号id
  17582. type: integer
  17583. memberuserid:
  17584. description: 会员id 个人投资者 需要填写
  17585. type: integer
  17586. opencharge:
  17587. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17588. type: number
  17589. openexchagechargevalue:
  17590. description: 建仓交易所手续费设置值
  17591. type: number
  17592. openfeealgorithm:
  17593. description: 建仓手续费收取方式 1:比率 2:固定
  17594. type: integer
  17595. openmemberchargevalue:
  17596. description: 建仓会员手续费设置值
  17597. type: number
  17598. openqty:
  17599. description: 开仓数量(先建后平操作 需要记录)
  17600. type: number
  17601. optiontype:
  17602. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17603. type: integer
  17604. orderid:
  17605. description: 委托单号
  17606. type: string
  17607. payamount:
  17608. description: 支付金额(付款金额)
  17609. type: number
  17610. performanceplanid:
  17611. description: 履约计划ID[期权]
  17612. type: integer
  17613. performancestatus:
  17614. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17615. type: integer
  17616. preexerciseprice:
  17617. description: 预申报价格
  17618. type: number
  17619. premium:
  17620. description: 权利金 - [持仓单的权利金]
  17621. type: number
  17622. qtydecimalplace:
  17623. description: 商品报价小数位
  17624. type: integer
  17625. recvamount:
  17626. description: 到账金额 = 成交金额 - 手续费
  17627. type: number
  17628. relatedouttradeid:
  17629. description: 关联外部成交单ID
  17630. type: integer
  17631. status:
  17632. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17633. type: integer
  17634. totalamount:
  17635. description: 订单总额 = 成交金额 + 手续费
  17636. type: number
  17637. tradeamount:
  17638. description: 成交金额[账户币种,用于所有权]
  17639. type: number
  17640. tradedate:
  17641. description: 交易日(yyyyMMdd)
  17642. type: string
  17643. tradeid:
  17644. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17645. type: string
  17646. trademode:
  17647. description: 交易模式
  17648. type: integer
  17649. tradeprice:
  17650. description: 成交价格
  17651. type: number
  17652. tradeproperty:
  17653. description: 交易属性
  17654. type: integer
  17655. tradeqty:
  17656. description: 成交数量
  17657. type: number
  17658. tradetime:
  17659. description: 成交时间
  17660. type: string
  17661. tradetype:
  17662. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17663. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17664. type: integer
  17665. required:
  17666. - accountid
  17667. - buyorsell
  17668. - goodsid
  17669. - histradedate
  17670. - marketid
  17671. - memberuserid
  17672. - orderid
  17673. - tradeamount
  17674. - tradedate
  17675. - tradeid
  17676. - tradeprice
  17677. - tradeqty
  17678. - tradetime
  17679. type: object
  17680. order.QueryHisTradeOrderDetailRsp:
  17681. properties:
  17682. accountid:
  17683. description: 账户ID[报价币种]
  17684. type: integer
  17685. buildtype:
  17686. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17687. type: integer
  17688. buyorsell:
  17689. description: 买卖 - 0:买 1:卖
  17690. type: integer
  17691. cancelorderid:
  17692. description: 撤单单号(撤单时填写)
  17693. type: string
  17694. cancelqty:
  17695. description: 撤单数量
  17696. type: number
  17697. clientordertime:
  17698. description: 客户端委托时间
  17699. type: string
  17700. clientticket:
  17701. description: 客户端流水号
  17702. type: string
  17703. clienttype:
  17704. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17705. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17706. type: integer
  17707. closeexchagechargevalue:
  17708. description: 平仓交易所手续费设置值
  17709. type: number
  17710. closefeealgorithm:
  17711. description: 平仓手续费收取方式 1:比率 2:固定
  17712. type: integer
  17713. closefreezecharge:
  17714. description: 平仓冻结手续费(先建后平操作,需要记录)
  17715. type: number
  17716. closememberchargevalue:
  17717. description: 平仓会员手续费设置值
  17718. type: number
  17719. closeqty:
  17720. description: 平仓数量(先建后平操作 需要记录)
  17721. type: number
  17722. closetradeqty:
  17723. description: 平仓成交数量(先建后平操作,需要记录)
  17724. type: number
  17725. closeunfreezecharge:
  17726. description: 平仓解冻手续费(先建后平操作,需要记录)
  17727. type: number
  17728. decimalplace:
  17729. description: 商品报价小数位
  17730. type: integer
  17731. delistingtype:
  17732. description: 摘牌类型 - 1:价格最优 2:点选成交
  17733. type: integer
  17734. enumdicname:
  17735. description: 单位名称
  17736. type: string
  17737. freezecharge:
  17738. description: 冻结手续费
  17739. type: number
  17740. freezemargin:
  17741. description: 冻结保证金(冻结交易金额)
  17742. type: number
  17743. gcaccountid:
  17744. description: 账户ID[合约币种]
  17745. type: integer
  17746. goodscode:
  17747. description: 商品代码
  17748. type: string
  17749. goodsid:
  17750. description: 商品ID
  17751. type: integer
  17752. goodsname:
  17753. description: 商品名称
  17754. type: string
  17755. goodunitid:
  17756. description: 商品单位id
  17757. type: integer
  17758. histradedate:
  17759. description: 历史交易日
  17760. type: string
  17761. isconfirmexercise:
  17762. description: 是否确认行权- 0:否 1:是
  17763. type: integer
  17764. ispreexercise:
  17765. description: 是否预申报- 0:否 1:是
  17766. type: integer
  17767. isvaliddata:
  17768. description: 是否有效 - 0:无效 1:有效
  17769. type: integer
  17770. listingselecttype:
  17771. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17772. type: integer
  17773. marginalgorithm:
  17774. description: 保证金收取方式 1:比率 2:固定
  17775. type: integer
  17776. marginvalue:
  17777. description: 即市保证金设置值
  17778. type: number
  17779. marketid:
  17780. description: 市场ID
  17781. type: integer
  17782. marketmaxsub:
  17783. description: 市价最大偏移范围
  17784. type: number
  17785. marketname:
  17786. description: 市场名称
  17787. type: string
  17788. memberuserid:
  17789. description: 所属会员UserID
  17790. type: integer
  17791. openexchagechargevalue:
  17792. description: 建仓交易所手续费设置值
  17793. type: number
  17794. openfeealgorithm:
  17795. description: 建仓手续费收取方式 1:比率 2:固定
  17796. type: integer
  17797. openfreezecharge:
  17798. description: 开仓冻结手续费(先建后平操作,需要记录)
  17799. type: number
  17800. openmemberchargevalue:
  17801. description: 建仓会员手续费设置值
  17802. type: number
  17803. openqty:
  17804. description: 开仓数量(先建后平操作,需要记录)
  17805. type: number
  17806. opentradeqty:
  17807. description: 开仓成交数量(先建后平操作,需要记录)
  17808. type: number
  17809. openunfreezecharge:
  17810. description: 开仓解冻手续费(先建后平操作,需要记录)
  17811. type: number
  17812. operatetype:
  17813. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17814. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17815. 15:管理端协议转让
  17816. type: integer
  17817. operatorid:
  17818. description: 登录账号(LoginID)
  17819. type: integer
  17820. optiontype:
  17821. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17822. type: integer
  17823. orderid:
  17824. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17825. type: string
  17826. orderprice:
  17827. description: 委托价格
  17828. type: number
  17829. orderqty:
  17830. description: 委托数量
  17831. type: number
  17832. ordersrc:
  17833. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17834. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17835. type: integer
  17836. orderstatus:
  17837. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17838. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17839. 16:成交失败违约(荷兰式竞拍专用)
  17840. type: integer
  17841. ordertime:
  17842. description: 委托时间
  17843. type: string
  17844. preexerciseprice:
  17845. description: 预申报价格
  17846. type: number
  17847. premium:
  17848. description: 权利金
  17849. type: number
  17850. preorderid:
  17851. description: 关联预埋单号(止盈止损单时填写)
  17852. type: string
  17853. pricemode:
  17854. description: '取价方式 - 1:市价 2: 限价'
  17855. type: integer
  17856. qtydecimalplace:
  17857. description: 成交量小数位
  17858. type: integer
  17859. quoteid:
  17860. description: 报价单ID
  17861. type: integer
  17862. relatedid:
  17863. description: 关联单号(交割单)
  17864. type: string
  17865. retcode:
  17866. description: 错误代码
  17867. type: integer
  17868. sessionid:
  17869. description: 会话ID
  17870. type: integer
  17871. tradedate:
  17872. description: 交易日(yyyyMMdd)
  17873. type: string
  17874. trademode:
  17875. description: 交易模式
  17876. type: integer
  17877. tradeproperty:
  17878. description: 交易属性
  17879. type: integer
  17880. tradeqty:
  17881. description: 成交数量
  17882. type: number
  17883. unfreezecharge:
  17884. description: 解冻手续费
  17885. type: number
  17886. unfreezemargin:
  17887. description: 解冻保证金
  17888. type: number
  17889. updatetime:
  17890. description: 更新时间
  17891. type: string
  17892. uuid:
  17893. description: 发起端唯一id
  17894. type: string
  17895. validtime:
  17896. description: 有效期限
  17897. type: string
  17898. validtype:
  17899. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17900. type: integer
  17901. volumetype:
  17902. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17903. type: integer
  17904. required:
  17905. - accountid
  17906. - buildtype
  17907. - buyorsell
  17908. - goodsid
  17909. - histradedate
  17910. - marketid
  17911. - memberuserid
  17912. - operatetype
  17913. - orderid
  17914. - orderqty
  17915. - ordertime
  17916. - pricemode
  17917. - tradedate
  17918. - validtype
  17919. type: object
  17920. order.QueryTradeDetailRsp:
  17921. properties:
  17922. accountid:
  17923. description: 账户ID[报价币种]
  17924. type: integer
  17925. advanceratio:
  17926. description: 首付比率
  17927. type: number
  17928. buildtype:
  17929. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17930. type: integer
  17931. buyorsell:
  17932. description: 方向 - 0:买 1:卖
  17933. type: integer
  17934. charge:
  17935. description: 手续费
  17936. type: number
  17937. closecharge:
  17938. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17939. type: number
  17940. closeexchagechargevalue:
  17941. description: 平仓交易所手续费设置值
  17942. type: number
  17943. closefeealgorithm:
  17944. description: 平仓手续费收取方式 1:比率 2:固定
  17945. type: integer
  17946. closememberchargevalue:
  17947. description: 平仓会员手续费设置值
  17948. type: number
  17949. closepl:
  17950. description: 平仓盈亏
  17951. type: number
  17952. closepl2:
  17953. description: 平仓盈亏[逐笔]
  17954. type: number
  17955. closeqty:
  17956. description: 平仓数量(先建后平操作 需要记录)
  17957. type: number
  17958. creditamount:
  17959. description: 授信金额
  17960. type: number
  17961. decimalplace:
  17962. description: 商品报价小数位
  17963. type: integer
  17964. enumdicname:
  17965. description: 单位名称
  17966. type: string
  17967. gcaccountid:
  17968. description: 账户ID[合约币种]
  17969. type: integer
  17970. goodscode:
  17971. description: 商品代码
  17972. type: string
  17973. goodsid:
  17974. description: 商品ID
  17975. type: integer
  17976. goodsname:
  17977. description: 商品名称
  17978. type: string
  17979. goodunitid:
  17980. description: 商品单位id
  17981. type: integer
  17982. intclosepl:
  17983. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17984. type: integer
  17985. isconfirmexercise:
  17986. description: 是否确认行权- 0:否 1:是
  17987. type: integer
  17988. ismain:
  17989. description: 是否主单 - 0:不是 1:是
  17990. type: integer
  17991. ispreexercise:
  17992. description: 是否预申报- 0:否 1:是
  17993. type: integer
  17994. isreckoned:
  17995. description: 是否结算 - 0:未结算 1:已结算
  17996. type: integer
  17997. listingselecttype:
  17998. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17999. type: integer
  18000. marketid:
  18001. description: 市场ID
  18002. type: integer
  18003. marketname:
  18004. description: 市场名称
  18005. type: string
  18006. matchaccountid:
  18007. description: 对手账号id
  18008. type: integer
  18009. memberuserid:
  18010. description: 会员id 个人投资者 需要填写
  18011. type: integer
  18012. opencharge:
  18013. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18014. type: number
  18015. openexchagechargevalue:
  18016. description: 建仓交易所手续费设置值
  18017. type: number
  18018. openfeealgorithm:
  18019. description: 建仓手续费收取方式 1:比率 2:固定
  18020. type: integer
  18021. openmemberchargevalue:
  18022. description: 建仓会员手续费设置值
  18023. type: number
  18024. openqty:
  18025. description: 开仓数量(先建后平操作 需要记录)
  18026. type: number
  18027. optiontype:
  18028. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18029. type: integer
  18030. orderid:
  18031. description: 委托单号
  18032. type: string
  18033. payamount:
  18034. description: 支付金额(付款金额)
  18035. type: number
  18036. performanceplanid:
  18037. description: 履约计划ID[期权]
  18038. type: integer
  18039. performancestatus:
  18040. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18041. type: integer
  18042. preexerciseprice:
  18043. description: 预申报价格
  18044. type: number
  18045. premium:
  18046. description: 权利金 - [持仓单的权利金]
  18047. type: number
  18048. qtydecimalplace:
  18049. description: 商品报价小数位
  18050. type: integer
  18051. recvamount:
  18052. description: 到账金额 = 成交金额 - 手续费
  18053. type: number
  18054. relatedouttradeid:
  18055. description: 关联外部成交单ID
  18056. type: integer
  18057. status:
  18058. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18059. type: integer
  18060. totalamount:
  18061. description: 订单总额 = 成交金额 + 手续费
  18062. type: number
  18063. tradeamount:
  18064. description: 成交金额[账户币种,用于所有权]
  18065. type: number
  18066. tradedate:
  18067. description: 交易日(yyyyMMdd)
  18068. type: string
  18069. tradeid:
  18070. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18071. type: string
  18072. trademode:
  18073. description: 交易模式
  18074. type: integer
  18075. tradeprice:
  18076. description: 成交价格
  18077. type: number
  18078. tradeproperty:
  18079. description: 交易属性
  18080. type: integer
  18081. tradeqty:
  18082. description: 成交数量
  18083. type: number
  18084. tradetime:
  18085. description: 成交时间
  18086. type: string
  18087. tradetype:
  18088. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18089. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18090. type: integer
  18091. required:
  18092. - accountid
  18093. - buyorsell
  18094. - goodsid
  18095. - marketid
  18096. - memberuserid
  18097. - orderid
  18098. - tradeamount
  18099. - tradedate
  18100. - tradeid
  18101. - tradeprice
  18102. - tradeqty
  18103. - tradetime
  18104. type: object
  18105. order.QueryTradeOrderDetailRsp:
  18106. properties:
  18107. accountid:
  18108. description: 账户ID[报价币种]
  18109. type: integer
  18110. buildtype:
  18111. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18112. type: integer
  18113. buyorsell:
  18114. description: 买卖 - 0:买 1:卖
  18115. type: integer
  18116. cancelorderid:
  18117. description: 撤单单号(撤单时填写)
  18118. type: string
  18119. cancelqty:
  18120. description: 撤单数量
  18121. type: number
  18122. clienttype:
  18123. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18124. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18125. type: integer
  18126. closefreezecharge:
  18127. description: 平仓冻结手续费(先建后平操作,需要记录)
  18128. type: number
  18129. closeqty:
  18130. description: 平仓数量(先建后平操作 需要记录)
  18131. type: number
  18132. closetradeqty:
  18133. description: 平仓成交数量(先建后平操作,需要记录)
  18134. type: number
  18135. closeunfreezecharge:
  18136. description: 平仓解冻手续费(先建后平操作,需要记录)
  18137. type: number
  18138. decimalplace:
  18139. description: 商品报价小数位
  18140. type: integer
  18141. delistingtype:
  18142. description: 摘牌类型 - 1:价格最优 2:点选成交
  18143. type: integer
  18144. enableqty:
  18145. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18146. type: number
  18147. enumdicname:
  18148. description: 单位名称
  18149. type: string
  18150. freezecharge:
  18151. description: 冻结手续费
  18152. type: number
  18153. freezemargin:
  18154. description: 冻结保证金(冻结交易金额)
  18155. type: number
  18156. goodscode:
  18157. description: 商品代码
  18158. type: string
  18159. goodsid:
  18160. description: 商品ID
  18161. type: integer
  18162. goodsname:
  18163. description: 商品名称
  18164. type: string
  18165. goodunitid:
  18166. description: 商品单位id
  18167. type: integer
  18168. listingselecttype:
  18169. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18170. type: integer
  18171. marketid:
  18172. description: 市场ID
  18173. type: integer
  18174. marketname:
  18175. description: 市场名称
  18176. type: string
  18177. openfreezecharge:
  18178. description: 开仓冻结手续费(先建后平操作,需要记录)
  18179. type: number
  18180. openqty:
  18181. description: 开仓数量(先建后平操作,需要记录)
  18182. type: number
  18183. opentradeqty:
  18184. description: 开仓成交数量(先建后平操作,需要记录)
  18185. type: number
  18186. openunfreezecharge:
  18187. description: 开仓解冻手续费(先建后平操作,需要记录)
  18188. type: number
  18189. operatetype:
  18190. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18191. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18192. 15:管理端协议转让
  18193. type: integer
  18194. operatorid:
  18195. description: 登录账号(LoginID)
  18196. type: integer
  18197. orderid:
  18198. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18199. type: string
  18200. orderprice:
  18201. description: 委托价格
  18202. type: number
  18203. orderqty:
  18204. description: 委托数量
  18205. type: number
  18206. ordersrc:
  18207. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18208. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18209. type: integer
  18210. orderstatus:
  18211. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18212. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18213. 16:成交失败违约(荷兰式竞拍专用)
  18214. type: integer
  18215. ordertime:
  18216. description: 委托时间
  18217. type: string
  18218. preorderid:
  18219. description: 关联预埋单号(止盈止损单时填写)
  18220. type: string
  18221. pricemode:
  18222. description: '取价方式 - 1:市价 2: 限价'
  18223. type: integer
  18224. qtydecimalplace:
  18225. description: 商品报价小数位
  18226. type: integer
  18227. relatedid:
  18228. description: 关联单号(交割单)
  18229. type: string
  18230. tradedate:
  18231. description: 交易日(yyyyMMdd)
  18232. type: string
  18233. trademode:
  18234. description: 交易模式
  18235. type: integer
  18236. tradeqty:
  18237. description: 成交数量
  18238. type: number
  18239. unfreezecharge:
  18240. description: 解冻手续费
  18241. type: number
  18242. unfreezemargin:
  18243. description: 解冻保证金
  18244. type: number
  18245. validtime:
  18246. description: 有效期限
  18247. type: string
  18248. validtype:
  18249. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18250. type: integer
  18251. volumetype:
  18252. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18253. type: integer
  18254. required:
  18255. - accountid
  18256. - buildtype
  18257. - buyorsell
  18258. - goodsid
  18259. - marketid
  18260. - operatetype
  18261. - orderqty
  18262. - ordertime
  18263. - pricemode
  18264. - tradedate
  18265. - validtype
  18266. type: object
  18267. order.QueryTradePositionRsp:
  18268. properties:
  18269. accountid:
  18270. description: 资金账户
  18271. type: integer
  18272. agreeunit:
  18273. description: 合约单位
  18274. type: number
  18275. averageprice:
  18276. description: 持仓均价
  18277. type: number
  18278. buyorsell:
  18279. description: 方向 - 0:买 1:卖
  18280. type: integer
  18281. closetotalqty:
  18282. description: 平仓总数量
  18283. type: number
  18284. curholderamount:
  18285. description: 当前持仓总金额[商品币种]
  18286. type: number
  18287. curpositionqty:
  18288. description: 当前持仓总数量
  18289. type: number
  18290. currencyid:
  18291. description: 报价货币ID
  18292. type: integer
  18293. curtdposition:
  18294. description: 期末今日头寸
  18295. type: number
  18296. decimalplace:
  18297. description: 报价小数位
  18298. type: integer
  18299. enableqty:
  18300. description: 可用量
  18301. type: number
  18302. fretdposition:
  18303. description: 冻结今日头寸
  18304. type: number
  18305. frozenqty:
  18306. description: 持仓冻结数量
  18307. type: number
  18308. goodscode:
  18309. description: 商品代码
  18310. type: string
  18311. goodsid:
  18312. description: 商品Id
  18313. type: integer
  18314. goodsname:
  18315. description: 商品名称
  18316. type: string
  18317. goodunit:
  18318. description: 报价单位
  18319. type: string
  18320. goodunitid:
  18321. description: 报价单位ID
  18322. type: integer
  18323. holderamount:
  18324. description: 期初持仓总金额[商品币种]
  18325. type: number
  18326. lastprice:
  18327. description: 最新价
  18328. type: number
  18329. marketamount:
  18330. description: 市值
  18331. type: number
  18332. marketid:
  18333. description: 所属市场ID
  18334. type: integer
  18335. openreqqty:
  18336. description: 开仓申请数量(用于比较最大持仓数量)
  18337. type: number
  18338. opentotalqty:
  18339. description: 开仓总数量
  18340. type: number
  18341. otherfrozenqty:
  18342. description: 持仓其他冻结数量(交割冻结)
  18343. type: number
  18344. positionpl:
  18345. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18346. * 合约单位
  18347. type: number
  18348. positionplrate:
  18349. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18350. type: number
  18351. positionqty:
  18352. description: 期初持仓数量
  18353. type: number
  18354. qtydecimalplace:
  18355. description: 成交量小数位
  18356. type: integer
  18357. refgoodscode:
  18358. description: 参考商品代码
  18359. type: string
  18360. refgoodsid:
  18361. description: 参考商品ID
  18362. type: integer
  18363. tnqty:
  18364. description: T+N冻结总量
  18365. type: number
  18366. tnusedqty:
  18367. description: T+N使用量(可以使用T+N的冻结数量)
  18368. type: number
  18369. trademode:
  18370. description: 交易模式
  18371. type: integer
  18372. tradeproperty:
  18373. description: 交易属性
  18374. type: integer
  18375. usedmargin:
  18376. description: 占用保证金[商品币种]
  18377. type: number
  18378. required:
  18379. - goodsid
  18380. type: object
  18381. pb.GoodsMarginCfgStruct:
  18382. properties:
  18383. CustomerTypeID:
  18384. description: 投资者客户类型
  18385. type: integer
  18386. GoodsID:
  18387. description: 商品ID
  18388. type: integer
  18389. IsDefault:
  18390. description: 是否默认标志位
  18391. type: integer
  18392. LockMarginValue:
  18393. description: 锁仓保证金
  18394. type: number
  18395. MarginAlgorithm:
  18396. description: 保证金计算方式
  18397. type: integer
  18398. MarketMarginValue:
  18399. description: 即市保证金值
  18400. type: number
  18401. RealMarginAlgorithm:
  18402. description: 实付保证金计算方式
  18403. type: integer
  18404. RealMarginValue:
  18405. description: 实付比例
  18406. type: number
  18407. ReckonMarginValue:
  18408. description: 结算保证金值
  18409. type: number
  18410. type: object
  18411. quote.HistoryData:
  18412. properties:
  18413. c:
  18414. description: 收盘价
  18415. type: number
  18416. f:
  18417. description: 是否补充数据
  18418. type: boolean
  18419. h:
  18420. description: 最高价
  18421. type: number
  18422. hv:
  18423. description: 持仓量
  18424. type: integer
  18425. l:
  18426. description: 最低价
  18427. type: number
  18428. o:
  18429. description: 开盘价
  18430. type: number
  18431. s:
  18432. description: 结算价,日线周期(包括)以上才有
  18433. type: number
  18434. ts:
  18435. description: 时间
  18436. type: string
  18437. tt:
  18438. description: 总金额
  18439. type: number
  18440. tv:
  18441. description: 总量(成交量)
  18442. type: integer
  18443. type: object
  18444. quote.HistoryTikData:
  18445. properties:
  18446. AV:
  18447. description: 卖量
  18448. type: integer
  18449. Ask:
  18450. description: 卖价
  18451. type: number
  18452. BV:
  18453. description: 买量
  18454. type: integer
  18455. Bid:
  18456. description: 买价
  18457. type: number
  18458. HI:
  18459. description: 单笔持仓
  18460. type: integer
  18461. HV:
  18462. description: 持仓量
  18463. type: integer
  18464. PE:
  18465. description: 现价
  18466. type: number
  18467. TDR:
  18468. description: 交易方向,0:买 1:卖
  18469. type: integer
  18470. TK:
  18471. description: 交易类型
  18472. type: integer
  18473. TS:
  18474. description: 行情时间文本
  18475. type: string
  18476. TT:
  18477. description: 现金额
  18478. type: number
  18479. Vol:
  18480. description: 现量
  18481. type: integer
  18482. type: object
  18483. quote.QueryQuoteDayRsp:
  18484. properties:
  18485. ask:
  18486. description: 卖1
  18487. type: number
  18488. ask2:
  18489. description: 卖2
  18490. type: number
  18491. ask3:
  18492. description: 卖3
  18493. type: number
  18494. ask4:
  18495. description: 卖4
  18496. type: number
  18497. ask5:
  18498. description: 卖5
  18499. type: number
  18500. ask6:
  18501. description: 卖6
  18502. type: number
  18503. ask7:
  18504. description: 卖7
  18505. type: number
  18506. ask8:
  18507. description: 卖8
  18508. type: number
  18509. ask9:
  18510. description: 卖9
  18511. type: number
  18512. ask10:
  18513. description: 卖10
  18514. type: number
  18515. askorderid:
  18516. description: 卖单号1
  18517. type: integer
  18518. askorderid2:
  18519. description: 卖单号2
  18520. type: integer
  18521. askorderid3:
  18522. description: 卖单号3
  18523. type: integer
  18524. askorderid4:
  18525. description: 卖单号4
  18526. type: integer
  18527. askorderid5:
  18528. description: 卖单号5
  18529. type: integer
  18530. askordervolume:
  18531. description: 卖单量1
  18532. type: integer
  18533. askordervolume2:
  18534. description: 卖单量2
  18535. type: integer
  18536. askordervolume3:
  18537. description: 卖单量3
  18538. type: integer
  18539. askordervolume4:
  18540. description: 卖单量4
  18541. type: integer
  18542. askordervolume5:
  18543. description: 卖单量5
  18544. type: integer
  18545. askordervolume6:
  18546. description: 卖单量6
  18547. type: integer
  18548. askordervolume7:
  18549. description: 卖单量7
  18550. type: integer
  18551. askordervolume8:
  18552. description: 卖单量8
  18553. type: integer
  18554. askordervolume9:
  18555. description: 卖单量9
  18556. type: integer
  18557. askordervolume10:
  18558. description: 卖单量10
  18559. type: integer
  18560. askqueueinfo:
  18561. description: 大利市卖港股用
  18562. type: string
  18563. askvolume:
  18564. description: 卖量1
  18565. type: integer
  18566. askvolume2:
  18567. description: 卖量2
  18568. type: integer
  18569. askvolume3:
  18570. description: 卖量3
  18571. type: integer
  18572. askvolume4:
  18573. description: 卖量4
  18574. type: integer
  18575. askvolume5:
  18576. description: 卖量5
  18577. type: integer
  18578. askvolume6:
  18579. description: 卖量6
  18580. type: integer
  18581. askvolume7:
  18582. description: 卖量7
  18583. type: integer
  18584. askvolume8:
  18585. description: 卖量8
  18586. type: integer
  18587. askvolume9:
  18588. description: 卖量9
  18589. type: integer
  18590. askvolume10:
  18591. description: 卖量10
  18592. type: integer
  18593. averageprice:
  18594. description: 均价
  18595. type: number
  18596. bid:
  18597. description: 买1
  18598. type: number
  18599. bid2:
  18600. description: 买2
  18601. type: number
  18602. bid3:
  18603. description: 买3
  18604. type: number
  18605. bid4:
  18606. description: 买4
  18607. type: number
  18608. bid5:
  18609. description: 买5
  18610. type: number
  18611. bid6:
  18612. description: 买6
  18613. type: number
  18614. bid7:
  18615. description: 买7
  18616. type: number
  18617. bid8:
  18618. description: 买8
  18619. type: number
  18620. bid9:
  18621. description: 买9
  18622. type: number
  18623. bid10:
  18624. description: 买10
  18625. type: number
  18626. bidorderid:
  18627. description: 买单号1
  18628. type: integer
  18629. bidorderid2:
  18630. description: 买单号2
  18631. type: integer
  18632. bidorderid3:
  18633. description: 买单号3
  18634. type: integer
  18635. bidorderid4:
  18636. description: 买单号4
  18637. type: integer
  18638. bidorderid5:
  18639. description: 买单号5
  18640. type: integer
  18641. bidordervolume:
  18642. description: 买单量1
  18643. type: integer
  18644. bidordervolume2:
  18645. description: 买单量2
  18646. type: integer
  18647. bidordervolume3:
  18648. description: 买单量3
  18649. type: integer
  18650. bidordervolume4:
  18651. description: 买单量4
  18652. type: integer
  18653. bidordervolume5:
  18654. description: 买单量5
  18655. type: integer
  18656. bidordervolume6:
  18657. description: 买单量6
  18658. type: integer
  18659. bidordervolume7:
  18660. description: 买单量7
  18661. type: integer
  18662. bidordervolume8:
  18663. description: 买单量8
  18664. type: integer
  18665. bidordervolume9:
  18666. description: 买单量9
  18667. type: integer
  18668. bidordervolume10:
  18669. description: 买单量10
  18670. type: integer
  18671. bidqueueinfo:
  18672. description: 大利市买港股用
  18673. type: string
  18674. bidvolume:
  18675. description: 买量1
  18676. type: integer
  18677. bidvolume2:
  18678. description: 买量2
  18679. type: integer
  18680. bidvolume3:
  18681. description: 买量3
  18682. type: integer
  18683. bidvolume4:
  18684. description: 买量4
  18685. type: integer
  18686. bidvolume5:
  18687. description: 买量5
  18688. type: integer
  18689. bidvolume6:
  18690. description: 买量6
  18691. type: integer
  18692. bidvolume7:
  18693. description: 买量7
  18694. type: integer
  18695. bidvolume8:
  18696. description: 买量8
  18697. type: integer
  18698. bidvolume9:
  18699. description: 买量9
  18700. type: integer
  18701. bidvolume10:
  18702. description: 买量10
  18703. type: integer
  18704. calloptionpremiums:
  18705. description: 认购期权1
  18706. type: integer
  18707. calloptionpremiums2:
  18708. description: 认购期权2
  18709. type: integer
  18710. calloptionpremiums3:
  18711. description: 认购期权3
  18712. type: integer
  18713. calloptionpremiums4:
  18714. description: 认购期权4
  18715. type: integer
  18716. calloptionpremiums5:
  18717. description: 认购期权5
  18718. type: integer
  18719. cleartime:
  18720. description: 清盘时间
  18721. type: integer
  18722. exchangecode:
  18723. description: 交易所代码
  18724. type: integer
  18725. exchangedate:
  18726. description: 交易日
  18727. type: integer
  18728. goodscode:
  18729. description: 商品代码
  18730. type: string
  18731. grepmarketprice:
  18732. description: 暗盘价 港股专用
  18733. type: number
  18734. highest:
  18735. description: 最高价
  18736. type: number
  18737. holdincrement:
  18738. description: 单笔持仓
  18739. type: integer
  18740. holdvolume:
  18741. description: 持仓
  18742. type: integer
  18743. iep:
  18744. description: 平衡价 港股专用
  18745. type: number
  18746. iev:
  18747. description: 平衡量 港股专用
  18748. type: number
  18749. inventory:
  18750. description: 库存
  18751. type: integer
  18752. iscleared:
  18753. description: 是否清盘标志
  18754. type: integer
  18755. issettled:
  18756. description: 是否结算标志
  18757. type: integer
  18758. last:
  18759. description: 最新价
  18760. type: number
  18761. lastlot:
  18762. description: 最新成交手数
  18763. type: integer
  18764. lasttime:
  18765. description: 行情时间(只有现价变化行情时间才变化)
  18766. type: string
  18767. lastturnover:
  18768. description: 最新成交金额
  18769. type: number
  18770. lastvolume:
  18771. description: 最新成交量
  18772. type: integer
  18773. limitdown:
  18774. description: 跌停价
  18775. type: number
  18776. limitup:
  18777. description: 涨停价
  18778. type: number
  18779. lowest:
  18780. description: 最低价
  18781. type: number
  18782. nontotalholdervolume:
  18783. description: 非交易持仓量
  18784. type: integer
  18785. nontotallot:
  18786. description: 非交易总手数
  18787. type: integer
  18788. nontotalturnover:
  18789. description: 非交易总金额
  18790. type: integer
  18791. nontotalvolume:
  18792. description: 非交易总量
  18793. type: integer
  18794. opened:
  18795. description: 开盘价
  18796. type: number
  18797. opentime:
  18798. description: 开盘时间
  18799. type: string
  18800. orderid:
  18801. description: 序号
  18802. type: integer
  18803. preclose:
  18804. description: 昨收
  18805. type: number
  18806. preholdvolume:
  18807. description: 昨持仓
  18808. type: integer
  18809. presettle:
  18810. description: 昨结价
  18811. type: number
  18812. publictradetype:
  18813. description: 公共交易标志类型 港股专用
  18814. type: string
  18815. putoptionpremiums:
  18816. description: 认沽期权1
  18817. type: integer
  18818. putoptionpremiums2:
  18819. description: 认沽期权2
  18820. type: integer
  18821. putoptionpremiums3:
  18822. description: 认沽期权3
  18823. type: integer
  18824. putoptionpremiums4:
  18825. description: 认沽期权4
  18826. type: integer
  18827. putoptionpremiums5:
  18828. description: 认沽期权5
  18829. type: integer
  18830. settle:
  18831. description: 结算价
  18832. type: number
  18833. strikeprice:
  18834. description: 发行价
  18835. type: number
  18836. totalaskvolume:
  18837. description: 内盘
  18838. type: integer
  18839. totalbidvolume:
  18840. description: 外盘
  18841. type: integer
  18842. totallot:
  18843. description: 总手数
  18844. type: integer
  18845. totalturnover:
  18846. description: 总金额
  18847. type: number
  18848. totalvolume:
  18849. description: 总量
  18850. type: integer
  18851. utclasttime:
  18852. description: utc的行情时间
  18853. type: string
  18854. type: object
  18855. quote.QueryTSDataRsp:
  18856. properties:
  18857. Count:
  18858. description: 交易日应有数据个数
  18859. type: integer
  18860. decimalPlace:
  18861. description: 小数位
  18862. type: integer
  18863. endTime:
  18864. description: 结束时间
  18865. type: string
  18866. goodsCode:
  18867. description: 商品代码
  18868. type: string
  18869. historyDatas:
  18870. description: 历史数据
  18871. items:
  18872. $ref: '#/definitions/quote.HistoryData'
  18873. type: array
  18874. outGoodsCode:
  18875. description: 外部商品代码
  18876. type: string
  18877. preSettle:
  18878. description: 昨结价
  18879. type: number
  18880. runSteps:
  18881. description: 交易日开休市计划
  18882. items:
  18883. $ref: '#/definitions/quote.TSDataRunStep'
  18884. type: array
  18885. startTime:
  18886. description: 开始时间
  18887. type: string
  18888. tradeDate:
  18889. description: 交易日
  18890. type: string
  18891. type: object
  18892. quote.TSDataRunStep:
  18893. properties:
  18894. end:
  18895. description: 真实结束时间
  18896. type: string
  18897. endflag:
  18898. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18899. type: integer
  18900. endtime:
  18901. description: 结束时间(HH:mm)
  18902. type: string
  18903. endweekday:
  18904. description: 结束周几
  18905. type: integer
  18906. groupid:
  18907. description: 分组ID
  18908. type: integer
  18909. runstep:
  18910. description: 运行阶段 - 2:连续交易
  18911. type: integer
  18912. sectionid:
  18913. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18914. 结束时间=结算时间 结束周几=结算周几
  18915. type: integer
  18916. start:
  18917. description: 真实开始时间
  18918. type: string
  18919. startflag:
  18920. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18921. type: integer
  18922. starttime:
  18923. description: 起始时间(HH:mm)
  18924. type: string
  18925. startweekday:
  18926. description: 起始周几
  18927. type: integer
  18928. tradeweekday:
  18929. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18930. type: integer
  18931. type: object
  18932. szdz.QueryConvertLogRsp:
  18933. properties:
  18934. accountid:
  18935. description: 资金账户ID
  18936. type: integer
  18937. clientticket:
  18938. description: 客户端流水号
  18939. type: string
  18940. converttype:
  18941. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18942. type: integer
  18943. createtime:
  18944. description: 记账时间
  18945. type: string
  18946. daymaxvalue:
  18947. description: 配置当日最大转入限制
  18948. type: number
  18949. daymaxvalue2:
  18950. description: 配置当日最大转入限制(转入)
  18951. type: number
  18952. goodscode:
  18953. description: 商品代码
  18954. type: string
  18955. goodsname:
  18956. description: 商品名称
  18957. type: string
  18958. handlestatus:
  18959. description: 处理状态
  18960. type: integer
  18961. innergoodsid:
  18962. description: 内部商品ID
  18963. type: integer
  18964. inratio:
  18965. description: 配置转入比值
  18966. type: integer
  18967. invalue:
  18968. description: 目标值
  18969. type: number
  18970. logid:
  18971. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18972. type: integer
  18973. mobile:
  18974. description: 手机号码(加密存储)
  18975. type: string
  18976. outergoodscode:
  18977. description: 外部商品代码[JD\PD]
  18978. type: string
  18979. outratio:
  18980. description: 配置转出比值
  18981. type: integer
  18982. outvalue:
  18983. description: 源值
  18984. type: number
  18985. pddecimalplace:
  18986. description: PD小数位
  18987. type: integer
  18988. qty:
  18989. description: 数量
  18990. type: string
  18991. remark:
  18992. description: 备注
  18993. type: string
  18994. sessionid:
  18995. description: 会话ID
  18996. type: integer
  18997. timemaxvalue:
  18998. description: 配置单次最大转入限制
  18999. type: number
  19000. timemaxvalue2:
  19001. description: 配置单次最大转入限制(转入)
  19002. type: number
  19003. timeminvalue:
  19004. description: 配置单次最小数量限制
  19005. type: number
  19006. timeminvalue2:
  19007. description: 配置单次最小数量限制(转入)
  19008. type: number
  19009. tradedate:
  19010. description: 交易日(yyyyMMdd)
  19011. type: string
  19012. userid:
  19013. description: 用户ID
  19014. type: integer
  19015. required:
  19016. - logid
  19017. type: object
  19018. szdz.QueryGoodsPickupRsp:
  19019. properties:
  19020. accountid:
  19021. description: 账户ID
  19022. type: integer
  19023. address:
  19024. description: 提货人详细地址
  19025. type: string
  19026. auditer:
  19027. description: 审核人
  19028. type: integer
  19029. audittime:
  19030. description: 审核时间
  19031. type: string
  19032. cardnum:
  19033. description: 提货人证件号码
  19034. type: string
  19035. cardtypeid:
  19036. description: 提货人证件类型
  19037. type: integer
  19038. checkremark:
  19039. description: 审核备注
  19040. type: string
  19041. goodscode:
  19042. description: 商品代码
  19043. type: string
  19044. goodsid:
  19045. description: 商品ID
  19046. type: integer
  19047. goodsname:
  19048. description: 商品名称
  19049. type: string
  19050. handlestatus:
  19051. description: 处理状态
  19052. type: integer
  19053. marketid:
  19054. description: 市场ID
  19055. type: integer
  19056. phonenum:
  19057. description: 提货人联系方式
  19058. type: string
  19059. qty:
  19060. description: 提货数量
  19061. type: number
  19062. recivername:
  19063. description: 提货人姓名
  19064. type: string
  19065. reqtime:
  19066. description: 更新时间
  19067. type: string
  19068. takemode:
  19069. description: 提货方式 - 2:自提 3:配送
  19070. type: integer
  19071. takeorderid:
  19072. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19073. type: string
  19074. takeorderstatus:
  19075. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19076. type: integer
  19077. takeremark:
  19078. description: 提货备注
  19079. type: string
  19080. tradedate:
  19081. description: 交易日(yyyyMMdd)
  19082. type: string
  19083. userid:
  19084. description: 用户ID
  19085. type: integer
  19086. required:
  19087. - takeorderid
  19088. type: object
  19089. szdz.QueryRecieptOrderRsp:
  19090. properties:
  19091. accountName:
  19092. description: 所属账号名称(已脱敏)
  19093. type: string
  19094. accountid:
  19095. description: 资金账号
  19096. type: integer
  19097. buyorsell:
  19098. description: 方向 - 0:买 1:卖
  19099. type: integer
  19100. enableqty:
  19101. description: 可摘数量
  19102. type: integer
  19103. goodscode:
  19104. description: 商品代码
  19105. type: string
  19106. goodsid:
  19107. description: 商品ID
  19108. type: integer
  19109. goodsname:
  19110. description: 商品名称
  19111. type: string
  19112. orderid:
  19113. description: 委托单号
  19114. type: string
  19115. orderprice:
  19116. description: 委托价格
  19117. type: number
  19118. ordertime:
  19119. description: 委托时间
  19120. type: string
  19121. tradedate:
  19122. description: 交易日(yyyyMMdd)
  19123. type: string
  19124. required:
  19125. - ordertime
  19126. type: object
  19127. szdz.QuerySZDZTradePositionRsp:
  19128. properties:
  19129. accountid:
  19130. description: 账号Id
  19131. type: integer
  19132. agreeunit:
  19133. description: 合约单位
  19134. type: number
  19135. averageprice:
  19136. description: 持仓均价
  19137. type: number
  19138. buyorsell:
  19139. description: 方向 - 0:买 1:卖
  19140. type: integer
  19141. closetotalqty:
  19142. description: 平仓总数量
  19143. type: integer
  19144. curholderamount:
  19145. description: 当前持仓总金额
  19146. type: number
  19147. curpositionqty:
  19148. description: 当前持仓总数量
  19149. type: integer
  19150. currencyid:
  19151. description: 报价货币ID
  19152. type: integer
  19153. curtdposition:
  19154. description: 期末今日头寸
  19155. type: integer
  19156. decimalplace:
  19157. description: 报价小数位
  19158. type: integer
  19159. enableqty:
  19160. description: 可用量
  19161. type: integer
  19162. fretdposition:
  19163. description: 冻结今日头寸
  19164. type: integer
  19165. frozenqty:
  19166. description: 持仓冻结数量
  19167. type: integer
  19168. goodscode:
  19169. description: 商品代码(内部)
  19170. type: string
  19171. goodsid:
  19172. description: 商品Id
  19173. type: integer
  19174. goodsname:
  19175. description: 商品名称
  19176. type: string
  19177. goodunit:
  19178. description: 报价单位
  19179. type: string
  19180. goodunitid:
  19181. description: 报价单位ID
  19182. type: integer
  19183. holderamount:
  19184. description: 期初持仓总金额
  19185. type: number
  19186. marketid:
  19187. description: 市场ID
  19188. type: integer
  19189. openreqqty:
  19190. description: 开仓申请数量
  19191. type: integer
  19192. opentotalqty:
  19193. description: 开仓总数量
  19194. type: integer
  19195. otherfrozenqty:
  19196. description: 持仓其他冻结数量(交割冻结)
  19197. type: integer
  19198. positionqty:
  19199. description: 期初持仓数量
  19200. type: integer
  19201. szdz3freezqty:
  19202. description: 尚志大宗转换冻结总数量
  19203. type: integer
  19204. tnqty:
  19205. description: T+N冻结总量
  19206. type: integer
  19207. tnusedqty:
  19208. description: T+N使用量
  19209. type: integer
  19210. trademode:
  19211. description: 交易模式
  19212. type: integer
  19213. usedmargin:
  19214. description: 占用保证金
  19215. type: number
  19216. type: object
  19217. taaccount.QueryAmountLogRsp:
  19218. properties:
  19219. OPERATETYPENAME:
  19220. description: 资金操作类型名称
  19221. type: string
  19222. accountid:
  19223. description: 资金账户ID
  19224. type: integer
  19225. agoodscode:
  19226. description: 竞拍商品代码
  19227. type: string
  19228. agoodsname:
  19229. description: 竞拍商品名称
  19230. type: string
  19231. amount:
  19232. description: 资金金额
  19233. type: number
  19234. amountadjusttype:
  19235. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19236. type: integer
  19237. autoid:
  19238. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19239. type: integer
  19240. balance:
  19241. description: 期初余额
  19242. type: number
  19243. businesscode:
  19244. description: 业务编号
  19245. type: integer
  19246. createtime:
  19247. description: 发生时间
  19248. type: string
  19249. currencyid:
  19250. description: 币种ID
  19251. type: integer
  19252. currentbalance:
  19253. description: 期末余额(变动后金额)
  19254. type: number
  19255. dgoodscode:
  19256. description: 交割商品代码
  19257. type: string
  19258. dgoodsname:
  19259. description: 交割商品名称
  19260. type: string
  19261. goodscode:
  19262. description: 商品代码
  19263. type: string
  19264. goodsid:
  19265. description: 商品ID
  19266. type: integer
  19267. goodsname:
  19268. description: 商品名称
  19269. type: string
  19270. marketid:
  19271. description: 市场ID
  19272. type: integer
  19273. marketname:
  19274. description: 市场名称
  19275. type: string
  19276. moneyticket:
  19277. description: 资金流水号:银行端流水号
  19278. type: integer
  19279. operatetype:
  19280. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19281. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19282. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19283. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19284. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19285. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19286. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19287. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19288. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19289. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19290. type: integer
  19291. relationorderid:
  19292. description: 关联单号
  19293. type: string
  19294. remark:
  19295. description: 备注
  19296. type: string
  19297. trademode:
  19298. description: 交易模式
  19299. type: integer
  19300. required:
  19301. - accountid
  19302. - amount
  19303. - amountadjusttype
  19304. - autoid
  19305. - balance
  19306. - createtime
  19307. - currentbalance
  19308. - operatetype
  19309. type: object
  19310. taaccount.QueryHisAmountLogRsp:
  19311. properties:
  19312. OPERATETYPENAME:
  19313. description: 资金操作类型名称
  19314. type: string
  19315. accountid:
  19316. description: 资金账户ID
  19317. type: integer
  19318. agoodscode:
  19319. description: 竞拍商品代码
  19320. type: string
  19321. agoodsname:
  19322. description: 竞拍商品名称
  19323. type: string
  19324. amount:
  19325. description: 资金金额
  19326. type: number
  19327. amountadjusttype:
  19328. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19329. type: integer
  19330. autoid:
  19331. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19332. type: integer
  19333. balance:
  19334. description: 期初余额
  19335. type: number
  19336. businesscode:
  19337. description: 业务编号
  19338. type: integer
  19339. createtime:
  19340. description: 发生时间
  19341. type: string
  19342. currencyid:
  19343. description: 币种ID
  19344. type: integer
  19345. currentbalance:
  19346. description: 期末余额(变动后金额)
  19347. type: number
  19348. dgoodscode:
  19349. description: 交割商品代码
  19350. type: string
  19351. dgoodsname:
  19352. description: 交割商品名称
  19353. type: string
  19354. goodscode:
  19355. description: 商品代码
  19356. type: string
  19357. goodsid:
  19358. description: 商品ID
  19359. type: integer
  19360. goodsname:
  19361. description: 商品名称
  19362. type: string
  19363. histradedate:
  19364. description: 历史交易日
  19365. type: string
  19366. isvaliddata:
  19367. description: 是否有效 - 0:无效 1:有效
  19368. type: integer
  19369. marketid:
  19370. description: 市场ID
  19371. type: integer
  19372. marketname:
  19373. description: 市场名称
  19374. type: string
  19375. moneyticket:
  19376. description: 资金流水号:银行端流水号
  19377. type: integer
  19378. operatetype:
  19379. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19380. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19381. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19382. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19383. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19384. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19385. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19386. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19387. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19388. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19389. type: integer
  19390. relationorderid:
  19391. description: 关联单号
  19392. type: string
  19393. remark:
  19394. description: 备注
  19395. type: string
  19396. trademode:
  19397. description: 交易模式
  19398. type: integer
  19399. required:
  19400. - accountid
  19401. - amount
  19402. - amountadjusttype
  19403. - autoid
  19404. - balance
  19405. - createtime
  19406. - currentbalance
  19407. - histradedate
  19408. - operatetype
  19409. type: object
  19410. trade.QueryRecieptOrderRsp:
  19411. properties:
  19412. accountName:
  19413. description: 所属账号名称(已脱敏)
  19414. type: string
  19415. accountid:
  19416. description: 资金账号
  19417. type: integer
  19418. buyorsell:
  19419. description: 方向 - 0:买 1:卖
  19420. type: integer
  19421. enableqty:
  19422. description: 可摘数量
  19423. type: integer
  19424. goodscode:
  19425. description: 商品代码
  19426. type: string
  19427. goodsid:
  19428. description: 商品ID
  19429. type: integer
  19430. goodsname:
  19431. description: 商品名称
  19432. type: string
  19433. orderid:
  19434. description: 委托单号
  19435. type: string
  19436. orderprice:
  19437. description: 委托价格
  19438. type: number
  19439. ordertime:
  19440. description: 委托时间
  19441. type: string
  19442. tradedate:
  19443. description: 交易日(yyyyMMdd)
  19444. type: string
  19445. required:
  19446. - ordertime
  19447. type: object
  19448. user.LoginQueryRsp:
  19449. properties:
  19450. areaRoles:
  19451. description: 所属角色信息
  19452. items:
  19453. $ref: '#/definitions/models.Arearole'
  19454. type: array
  19455. externalExchanges:
  19456. description: 外部交易所
  19457. items:
  19458. $ref: '#/definitions/models.Externalexchange'
  19459. type: array
  19460. goodsgroups:
  19461. description: 商品组
  19462. items:
  19463. $ref: '#/definitions/models.Goodsgroup'
  19464. type: array
  19465. loginAccount:
  19466. $ref: '#/definitions/models.Loginaccount'
  19467. description: 登录账号
  19468. markets:
  19469. description: 市场
  19470. items:
  19471. $ref: '#/definitions/models.Market'
  19472. type: array
  19473. systemParams:
  19474. description: 系统参数
  19475. items:
  19476. $ref: '#/definitions/models.Systemparam'
  19477. type: array
  19478. userAccount:
  19479. $ref: '#/definitions/models.Useraccount'
  19480. description: 用户账号
  19481. userInfo:
  19482. $ref: '#/definitions/models.Userinfo'
  19483. description: 用户信息
  19484. username:
  19485. description: 用户姓名
  19486. type: string
  19487. type: object
  19488. info:
  19489. contact: {}
  19490. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19491. termsOfService: http://www.muchinfo.cn
  19492. title: MTP2.0 查询服务 API
  19493. version: "1.0"
  19494. paths:
  19495. /CPTrade/QueryCPTradeMyBidInfos:
  19496. get:
  19497. parameters:
  19498. - description: 资金账户
  19499. in: query
  19500. name: accountid
  19501. required: true
  19502. type: integer
  19503. - description: 预售市场ID
  19504. in: query
  19505. name: marketid
  19506. type: integer
  19507. - description: 预售商品ID
  19508. in: query
  19509. name: goodsid
  19510. type: integer
  19511. produces:
  19512. - application/json
  19513. responses:
  19514. "200":
  19515. description: OK
  19516. schema:
  19517. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19518. "500":
  19519. description: Internal Server Error
  19520. schema:
  19521. $ref: '#/definitions/app.Response'
  19522. security:
  19523. - ApiKeyAuth: []
  19524. summary: 查询产能预售我的出价信息
  19525. tags:
  19526. - 产能预售
  19527. /CPTrade/QueryCPTradeOrderDetail:
  19528. get:
  19529. parameters:
  19530. - description: 预售商品ID
  19531. in: query
  19532. name: goodsid
  19533. type: integer
  19534. - description: 预售市场ID
  19535. in: query
  19536. name: marketid
  19537. type: integer
  19538. - description: 预售商品ID列表 - 格式:1,2,3
  19539. in: query
  19540. name: goodsids
  19541. type: string
  19542. produces:
  19543. - application/json
  19544. responses:
  19545. "200":
  19546. description: OK
  19547. schema:
  19548. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19549. "500":
  19550. description: Internal Server Error
  19551. schema:
  19552. $ref: '#/definitions/app.Response'
  19553. security:
  19554. - ApiKeyAuth: []
  19555. summary: 查询产能预售委托单信息
  19556. tags:
  19557. - 产能预售
  19558. /CPTrade/QueryMyCPTradeGoods:
  19559. get:
  19560. parameters:
  19561. - description: 资金账户
  19562. in: query
  19563. name: accountid
  19564. required: true
  19565. type: integer
  19566. produces:
  19567. - application/json
  19568. responses:
  19569. "200":
  19570. description: OK
  19571. schema:
  19572. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19573. "500":
  19574. description: Internal Server Error
  19575. schema:
  19576. $ref: '#/definitions/app.Response'
  19577. security:
  19578. - ApiKeyAuth: []
  19579. summary: 查询我的预售信息
  19580. tags:
  19581. - 产能预售
  19582. /CPTrade/QueryPositionCancel:
  19583. get:
  19584. parameters:
  19585. - description: 账户ID
  19586. in: query
  19587. name: userid
  19588. required: true
  19589. type: integer
  19590. - description: 注销ID
  19591. in: query
  19592. name: cancelid
  19593. type: integer
  19594. - description: 资金账户ID
  19595. in: query
  19596. name: accountid
  19597. type: integer
  19598. produces:
  19599. - application/json
  19600. responses:
  19601. "200":
  19602. description: OK
  19603. schema:
  19604. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19605. "500":
  19606. description: Internal Server Error
  19607. schema:
  19608. $ref: '#/definitions/app.Response'
  19609. security:
  19610. - ApiKeyAuth: []
  19611. summary: 查询远期订单注销申请信息
  19612. tags:
  19613. - 产能预售
  19614. /CPTrade/QueryPreasleApply:
  19615. get:
  19616. parameters:
  19617. - description: 账户ID
  19618. in: query
  19619. name: userid
  19620. required: true
  19621. type: integer
  19622. - description: 申请ID
  19623. in: query
  19624. name: applyid
  19625. type: integer
  19626. - description: 资金账户ID
  19627. in: query
  19628. name: accountid
  19629. type: integer
  19630. produces:
  19631. - application/json
  19632. responses:
  19633. "200":
  19634. description: OK
  19635. schema:
  19636. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19637. "500":
  19638. description: Internal Server Error
  19639. schema:
  19640. $ref: '#/definitions/app.Response'
  19641. security:
  19642. - ApiKeyAuth: []
  19643. summary: 查询产能预售申请信息
  19644. tags:
  19645. - 产能预售
  19646. /CPTrade/QueryPresaleGoodsEx:
  19647. get:
  19648. parameters:
  19649. - description: 预售商品ID
  19650. in: query
  19651. name: goodsid
  19652. type: integer
  19653. - description: 预售市场ID
  19654. in: query
  19655. name: marketid
  19656. type: integer
  19657. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19658. in: query
  19659. name: presalemode
  19660. type: integer
  19661. - description: 预售商品ID列表 - 格式:1,2,3
  19662. in: query
  19663. name: goodsids
  19664. type: string
  19665. - description: 预售商品代码
  19666. in: query
  19667. name: goodscode
  19668. type: string
  19669. produces:
  19670. - application/json
  19671. responses:
  19672. "200":
  19673. description: OK
  19674. schema:
  19675. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19676. "500":
  19677. description: Internal Server Error
  19678. schema:
  19679. $ref: '#/definitions/app.Response'
  19680. security:
  19681. - ApiKeyAuth: []
  19682. summary: 查询产能预售商品扩展信息
  19683. tags:
  19684. - 产能预售
  19685. /CPTrade/QueryUserGoodsData:
  19686. get:
  19687. parameters:
  19688. - description: 资金账户ID
  19689. in: query
  19690. name: accountid
  19691. required: true
  19692. type: integer
  19693. produces:
  19694. - application/json
  19695. responses:
  19696. "200":
  19697. description: OK
  19698. schema:
  19699. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19700. "500":
  19701. description: Internal Server Error
  19702. schema:
  19703. $ref: '#/definitions/app.Response'
  19704. security:
  19705. - ApiKeyAuth: []
  19706. summary: 查询远期订单信息
  19707. tags:
  19708. - 产能预售
  19709. /Common/GetAllEnums:
  19710. get:
  19711. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19712. parameters:
  19713. - description: 起始自增ID
  19714. in: query
  19715. name: autoid
  19716. type: integer
  19717. produces:
  19718. - application/json
  19719. responses:
  19720. "200":
  19721. description: OK
  19722. schema:
  19723. $ref: '#/definitions/models.Enumdicitem'
  19724. "500":
  19725. description: Internal Server Error
  19726. schema:
  19727. $ref: '#/definitions/app.Response'
  19728. summary: 获取所有枚举信息
  19729. tags:
  19730. - 通用服务
  19731. /Common/GetClientMenus:
  19732. get:
  19733. parameters:
  19734. - description: 登录账号
  19735. in: query
  19736. name: loginID
  19737. required: true
  19738. type: integer
  19739. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19740. in: query
  19741. name: clientType
  19742. type: integer
  19743. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19744. in: query
  19745. name: name
  19746. type: string
  19747. produces:
  19748. - application/json
  19749. responses:
  19750. "200":
  19751. description: OK
  19752. schema:
  19753. items:
  19754. $ref: '#/definitions/common.ClientMenu'
  19755. type: array
  19756. "500":
  19757. description: Internal Server Error
  19758. schema:
  19759. $ref: '#/definitions/app.Response'
  19760. security:
  19761. - ApiKeyAuth: []
  19762. summary: 获取交易端菜单
  19763. tags:
  19764. - 通用服务
  19765. /Common/GetDivisions:
  19766. get:
  19767. produces:
  19768. - application/json
  19769. responses:
  19770. "200":
  19771. description: OK
  19772. schema:
  19773. $ref: '#/definitions/models.Division'
  19774. "500":
  19775. description: Internal Server Error
  19776. schema:
  19777. $ref: '#/definitions/app.Response'
  19778. summary: 查询区域信息
  19779. tags:
  19780. - 通用服务
  19781. /Common/GetPCWebMenus:
  19782. get:
  19783. parameters:
  19784. - description: 登录账号
  19785. in: query
  19786. name: loginID
  19787. required: true
  19788. type: integer
  19789. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19790. in: query
  19791. name: name
  19792. type: string
  19793. produces:
  19794. - application/json
  19795. responses:
  19796. "200":
  19797. description: OK
  19798. schema:
  19799. items:
  19800. $ref: '#/definitions/common.PCWebMenu'
  19801. type: array
  19802. "500":
  19803. description: Internal Server Error
  19804. schema:
  19805. $ref: '#/definitions/app.Response'
  19806. security:
  19807. - ApiKeyAuth: []
  19808. summary: 获取PCWeb交易端菜单
  19809. tags:
  19810. - 通用服务
  19811. /Common/GetServerTime:
  19812. get:
  19813. produces:
  19814. - application/json
  19815. responses:
  19816. "200":
  19817. description: OK
  19818. schema:
  19819. $ref: '#/definitions/app.Response'
  19820. "500":
  19821. description: Internal Server Error
  19822. schema:
  19823. $ref: '#/definitions/app.Response'
  19824. summary: 获取服务器时间
  19825. tags:
  19826. - 通用服务
  19827. /Common/NoticeReaded:
  19828. post:
  19829. parameters:
  19830. - description: 登录账号
  19831. in: query
  19832. name: loginID
  19833. required: true
  19834. type: integer
  19835. - description: 通知公告ID
  19836. in: query
  19837. name: noticeID
  19838. required: true
  19839. type: integer
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. $ref: '#/definitions/app.Response'
  19847. "500":
  19848. description: Internal Server Error
  19849. schema:
  19850. $ref: '#/definitions/app.Response'
  19851. security:
  19852. - ApiKeyAuth: []
  19853. summary: 通知公告设置已读请求
  19854. tags:
  19855. - 通用服务
  19856. /Common/QueryErrorInfos:
  19857. get:
  19858. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19859. parameters:
  19860. - description: 起始行号前索引
  19861. in: query
  19862. name: rowNumber
  19863. type: string
  19864. produces:
  19865. - application/json
  19866. responses:
  19867. "200":
  19868. description: OK
  19869. schema:
  19870. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19871. "500":
  19872. description: Internal Server Error
  19873. schema:
  19874. $ref: '#/definitions/app.Response'
  19875. summary: 获取数据库错误信息
  19876. tags:
  19877. - 通用服务
  19878. /Common/QueryImageConfigs:
  19879. get:
  19880. parameters:
  19881. - description: 用户id
  19882. in: query
  19883. name: userId
  19884. type: integer
  19885. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19886. in: query
  19887. name: imageType
  19888. type: integer
  19889. produces:
  19890. - application/json
  19891. responses:
  19892. "200":
  19893. description: OK
  19894. schema:
  19895. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19896. "500":
  19897. description: Internal Server Error
  19898. schema:
  19899. $ref: '#/definitions/app.Response'
  19900. summary: 查询轮播图配置信息
  19901. tags:
  19902. - 通用服务
  19903. /Common/QueryNotice:
  19904. get:
  19905. parameters:
  19906. - description: 页码
  19907. in: query
  19908. name: page
  19909. type: integer
  19910. - description: 每页条数
  19911. in: query
  19912. name: pagesize
  19913. type: integer
  19914. - description: 登录账号
  19915. in: query
  19916. name: loginID
  19917. required: true
  19918. type: integer
  19919. - description: 消息类型 - 1:公告通知 2:系统消息
  19920. in: query
  19921. name: msgType
  19922. type: integer
  19923. - description: 是否只获取未读信息
  19924. in: query
  19925. name: onlyUnRead
  19926. type: boolean
  19927. - description: 自增ID,传入后会返回这个ID后面的记录
  19928. in: query
  19929. name: lastID
  19930. type: integer
  19931. produces:
  19932. - application/json
  19933. responses:
  19934. "200":
  19935. description: OK
  19936. schema:
  19937. $ref: '#/definitions/common.QueryNoticeRsp'
  19938. "500":
  19939. description: Internal Server Error
  19940. schema:
  19941. $ref: '#/definitions/app.Response'
  19942. security:
  19943. - ApiKeyAuth: []
  19944. summary: 通知公告系统消息查询
  19945. tags:
  19946. - 通用服务
  19947. /Common/QueryProvincesAndCities:
  19948. get:
  19949. parameters:
  19950. - description: 省ID
  19951. in: query
  19952. name: provinceID
  19953. type: integer
  19954. produces:
  19955. - application/json
  19956. responses:
  19957. "200":
  19958. description: OK
  19959. schema:
  19960. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19961. "500":
  19962. description: Internal Server Error
  19963. schema:
  19964. $ref: '#/definitions/app.Response'
  19965. summary: 查询省市信息(不包括区)
  19966. tags:
  19967. - 通用服务
  19968. /Common/QueryTableDefine:
  19969. get:
  19970. parameters:
  19971. - description: 表key
  19972. in: query
  19973. name: tableKey
  19974. type: string
  19975. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19976. in: query
  19977. name: tableType
  19978. type: integer
  19979. produces:
  19980. - application/json
  19981. responses:
  19982. "200":
  19983. description: OK
  19984. schema:
  19985. $ref: '#/definitions/common.QueryTableDefineRsp'
  19986. "500":
  19987. description: Internal Server Error
  19988. schema:
  19989. $ref: '#/definitions/app.Response'
  19990. summary: 查询交易端列表头信息
  19991. tags:
  19992. - 通用服务
  19993. /Common/QueryTraderMenu:
  19994. get:
  19995. parameters:
  19996. - description: 登录账号
  19997. in: query
  19998. name: loginid
  19999. required: true
  20000. type: integer
  20001. produces:
  20002. - application/json
  20003. responses:
  20004. "200":
  20005. description: OK
  20006. schema:
  20007. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20008. "500":
  20009. description: Internal Server Error
  20010. schema:
  20011. $ref: '#/definitions/app.Response'
  20012. summary: 查询交易端菜单
  20013. tags:
  20014. - 通用服务
  20015. /Delivery/QueryDeliveryRelation:
  20016. get:
  20017. parameters:
  20018. - description: 商品ID
  20019. in: query
  20020. name: goodsid
  20021. type: integer
  20022. - description: 品种ID
  20023. in: query
  20024. name: deliverygoodsid
  20025. type: integer
  20026. - description: 市场ID
  20027. in: query
  20028. name: marketid
  20029. type: integer
  20030. produces:
  20031. - application/json
  20032. responses:
  20033. "200":
  20034. description: OK
  20035. schema:
  20036. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20037. "500":
  20038. description: Internal Server Error
  20039. schema:
  20040. $ref: '#/definitions/app.Response'
  20041. security:
  20042. - ApiKeyAuth: []
  20043. summary: 查询商品交割关系表
  20044. tags:
  20045. - 交割服务
  20046. /Ermcp/GetErmcpGoods:
  20047. get:
  20048. parameters:
  20049. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20050. in: query
  20051. name: userid
  20052. type: integer
  20053. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20054. in: query
  20055. name: lastUpdateTime
  20056. type: string
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. $ref: '#/definitions/models.ErmcpGoods'
  20064. "500":
  20065. description: Internal Server Error
  20066. schema:
  20067. $ref: '#/definitions/app.Response'
  20068. security:
  20069. - ApiKeyAuth: []
  20070. summary: 查询企业风管期货商品信息
  20071. tags:
  20072. - 企业风险管理(app)
  20073. /Ermcp/GetErmcpGoodsSortByPosition:
  20074. get:
  20075. parameters:
  20076. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20077. in: query
  20078. name: sortIndex
  20079. type: string
  20080. produces:
  20081. - application/json
  20082. responses:
  20083. "200":
  20084. description: OK
  20085. schema:
  20086. $ref: '#/definitions/models.Goodssortbypreposition'
  20087. "500":
  20088. description: Internal Server Error
  20089. schema:
  20090. $ref: '#/definitions/app.Response'
  20091. security:
  20092. - ApiKeyAuth: []
  20093. summary: 查询企业风管期货主力、次主力商品信息
  20094. tags:
  20095. - 企业风险管理(app)
  20096. /Ermcp/GetErmcpOutAccountStatus:
  20097. get:
  20098. parameters:
  20099. - description: 登录账号
  20100. in: query
  20101. name: loginID
  20102. required: true
  20103. type: integer
  20104. produces:
  20105. - application/json
  20106. responses:
  20107. "200":
  20108. description: OK
  20109. schema:
  20110. $ref: '#/definitions/models.Hedgemarketopenlog'
  20111. "500":
  20112. description: Internal Server Error
  20113. schema:
  20114. $ref: '#/definitions/app.Response'
  20115. security:
  20116. - ApiKeyAuth: []
  20117. summary: 获取目标登录账号当前对冲账号在线状态
  20118. tags:
  20119. - 企业风险管理(app)
  20120. /Ermcp/GetErmcpRoleFuncMenuLists:
  20121. get:
  20122. parameters:
  20123. - description: 登录账号
  20124. in: query
  20125. name: loginID
  20126. required: true
  20127. type: integer
  20128. produces:
  20129. - application/json
  20130. responses:
  20131. "200":
  20132. description: OK
  20133. schema:
  20134. $ref: '#/definitions/models.Funcmenulist'
  20135. "500":
  20136. description: Internal Server Error
  20137. schema:
  20138. $ref: '#/definitions/app.Response'
  20139. security:
  20140. - ApiKeyAuth: []
  20141. summary: 获取企业风管终端权限
  20142. tags:
  20143. - 企业风险管理(app)
  20144. /Ermcp/QueryAccMgrBizGroupSet:
  20145. get:
  20146. parameters:
  20147. - description: 用户ID
  20148. in: query
  20149. name: userid
  20150. required: true
  20151. type: integer
  20152. - description: 现货商品id
  20153. in: query
  20154. name: deliverygoodsid
  20155. type: integer
  20156. produces:
  20157. - application/json
  20158. responses:
  20159. "200":
  20160. description: OK
  20161. schema:
  20162. items:
  20163. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20164. type: array
  20165. "500":
  20166. description: Internal Server Error
  20167. schema:
  20168. $ref: '#/definitions/app.Response'
  20169. security:
  20170. - ApiKeyAuth: []
  20171. summary: 查询业务类型分组(账户管理/账户设置)
  20172. tags:
  20173. - 企业风险管理(app)
  20174. /Ermcp/QueryAccMgrLoginUser:
  20175. get:
  20176. parameters:
  20177. - description: 用户ID
  20178. in: query
  20179. name: userid
  20180. required: true
  20181. type: integer
  20182. - description: 用户类型 2-机构 7-企业成员
  20183. in: query
  20184. name: usertype
  20185. type: integer
  20186. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20187. in: query
  20188. name: querytype
  20189. required: true
  20190. type: integer
  20191. produces:
  20192. - application/json
  20193. responses:
  20194. "200":
  20195. description: OK
  20196. schema:
  20197. items:
  20198. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20199. type: array
  20200. "500":
  20201. description: Internal Server Error
  20202. schema:
  20203. $ref: '#/definitions/app.Response'
  20204. security:
  20205. - ApiKeyAuth: []
  20206. summary: 查询账户管理登录账号(账户管理/登录账号)
  20207. tags:
  20208. - 企业风险管理(app)
  20209. /Ermcp/QueryAccMgrMainAccountInfo:
  20210. get:
  20211. parameters:
  20212. - description: 用户ID
  20213. in: query
  20214. name: userid
  20215. type: integer
  20216. - description: 主账号id
  20217. in: query
  20218. name: accountid
  20219. type: integer
  20220. produces:
  20221. - application/json
  20222. responses:
  20223. "200":
  20224. description: OK
  20225. schema:
  20226. items:
  20227. $ref: '#/definitions/models.MainAccountInfo'
  20228. type: array
  20229. "500":
  20230. description: Internal Server Error
  20231. schema:
  20232. $ref: '#/definitions/app.Response'
  20233. security:
  20234. - ApiKeyAuth: []
  20235. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20236. tags:
  20237. - 企业风险管理(app)
  20238. /Ermcp/QueryAccMgrRole:
  20239. get:
  20240. parameters:
  20241. - description: 用户ID
  20242. in: query
  20243. name: userid
  20244. required: true
  20245. type: integer
  20246. produces:
  20247. - application/json
  20248. responses:
  20249. "200":
  20250. description: OK
  20251. schema:
  20252. items:
  20253. $ref: '#/definitions/models.ErmcpRole'
  20254. type: array
  20255. "500":
  20256. description: Internal Server Error
  20257. schema:
  20258. $ref: '#/definitions/app.Response'
  20259. security:
  20260. - ApiKeyAuth: []
  20261. summary: 查询账户管理角色设置(账户管理/角色设置)
  20262. tags:
  20263. - 企业风险管理(app)
  20264. /Ermcp/QueryAccMgrRoleMenu:
  20265. get:
  20266. parameters:
  20267. - description: 用户ID
  20268. in: query
  20269. name: userid
  20270. required: true
  20271. type: integer
  20272. - description: 角色id(可多个,逗号隔开)
  20273. in: query
  20274. name: roleid
  20275. type: string
  20276. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20277. in: query
  20278. name: menutype
  20279. type: integer
  20280. produces:
  20281. - application/json
  20282. responses:
  20283. "200":
  20284. description: OK
  20285. schema:
  20286. items:
  20287. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20288. type: array
  20289. "500":
  20290. description: Internal Server Error
  20291. schema:
  20292. $ref: '#/definitions/app.Response'
  20293. security:
  20294. - ApiKeyAuth: []
  20295. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20296. tags:
  20297. - 企业风险管理(app)
  20298. /Ermcp/QueryAccMgrTaAccountInfo:
  20299. get:
  20300. parameters:
  20301. - description: 用户ID
  20302. in: query
  20303. name: userid
  20304. required: true
  20305. type: integer
  20306. - description: 账号id
  20307. in: query
  20308. name: accountid
  20309. type: integer
  20310. produces:
  20311. - application/json
  20312. responses:
  20313. "200":
  20314. description: OK
  20315. schema:
  20316. items:
  20317. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20318. type: array
  20319. "500":
  20320. description: Internal Server Error
  20321. schema:
  20322. $ref: '#/definitions/app.Response'
  20323. security:
  20324. - ApiKeyAuth: []
  20325. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20326. tags:
  20327. - 企业风险管理(app)
  20328. /Ermcp/QueryAccMgrTaaccount:
  20329. get:
  20330. parameters:
  20331. - description: 用户ID
  20332. in: query
  20333. name: userid
  20334. required: true
  20335. type: integer
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. items:
  20343. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20344. type: array
  20345. "500":
  20346. description: Internal Server Error
  20347. schema:
  20348. $ref: '#/definitions/app.Response'
  20349. security:
  20350. - ApiKeyAuth: []
  20351. summary: 查询账户管理期货账号(账户管理/期货账号)
  20352. tags:
  20353. - 企业风险管理(app)
  20354. /Ermcp/QueryAvaildGoodsGroup:
  20355. get:
  20356. parameters:
  20357. - description: 所属机构ID
  20358. in: query
  20359. name: userid
  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.QryAvalidGPRsp'
  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/QueryBusinessDj:
  20381. get:
  20382. parameters:
  20383. - description: 用户ID
  20384. in: query
  20385. name: UserId
  20386. required: true
  20387. type: integer
  20388. - description: 用户类型 2-机构 7-企业成员
  20389. in: query
  20390. name: usertype
  20391. type: integer
  20392. - description: 现货合同ID, 不填则查所有
  20393. in: query
  20394. name: relatedid
  20395. type: string
  20396. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20397. in: query
  20398. name: applystatus
  20399. type: string
  20400. produces:
  20401. - application/json
  20402. responses:
  20403. "200":
  20404. description: OK
  20405. schema:
  20406. items:
  20407. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20408. type: array
  20409. "500":
  20410. description: Internal Server Error
  20411. schema:
  20412. $ref: '#/definitions/app.Response'
  20413. security:
  20414. - ApiKeyAuth: []
  20415. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20416. tags:
  20417. - 企业风险管理(app)
  20418. /Ermcp/QueryBusinessFp:
  20419. get:
  20420. parameters:
  20421. - description: 用户ID
  20422. in: query
  20423. name: UserId
  20424. required: true
  20425. type: integer
  20426. - description: 用户类型 2-机构 7-企业成员
  20427. in: query
  20428. name: usertype
  20429. type: integer
  20430. - description: 现货合同ID, 不填则查所有
  20431. in: query
  20432. name: relatedid
  20433. type: string
  20434. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20435. in: query
  20436. name: applystatus
  20437. type: string
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. items:
  20445. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20446. type: array
  20447. "500":
  20448. description: Internal Server Error
  20449. schema:
  20450. $ref: '#/definitions/app.Response'
  20451. security:
  20452. - ApiKeyAuth: []
  20453. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20454. tags:
  20455. - 企业风险管理(app)
  20456. /Ermcp/QueryBusinessJs:
  20457. get:
  20458. parameters:
  20459. - description: 用户ID
  20460. in: query
  20461. name: UserId
  20462. required: true
  20463. type: integer
  20464. - description: 用户类型 2-机构 7-企业成员
  20465. in: query
  20466. name: usertype
  20467. type: integer
  20468. - description: 现货合同ID, 不填则查所有
  20469. in: query
  20470. name: relatedid
  20471. type: string
  20472. - description: 操作申请id
  20473. in: query
  20474. name: operateapplyid
  20475. type: string
  20476. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20477. in: query
  20478. name: applystatus
  20479. type: string
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. items:
  20487. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20488. type: array
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20496. tags:
  20497. - 企业风险管理(app)
  20498. /Ermcp/QueryBusinessJsEx:
  20499. get:
  20500. parameters:
  20501. - description: 用户ID
  20502. in: query
  20503. name: UserId
  20504. required: true
  20505. type: integer
  20506. - description: 用户类型 2-机构 7-企业成员
  20507. in: query
  20508. name: usertype
  20509. type: integer
  20510. - description: 现货合同ID, 不填则查所有
  20511. in: query
  20512. name: relatedid
  20513. type: string
  20514. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20515. in: query
  20516. name: applystatus
  20517. type: string
  20518. produces:
  20519. - application/json
  20520. responses:
  20521. "200":
  20522. description: OK
  20523. schema:
  20524. items:
  20525. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20526. type: array
  20527. "500":
  20528. description: Internal Server Error
  20529. schema:
  20530. $ref: '#/definitions/app.Response'
  20531. security:
  20532. - ApiKeyAuth: []
  20533. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20534. tags:
  20535. - 企业风险管理(app)
  20536. /Ermcp/QueryBusinessKx:
  20537. get:
  20538. parameters:
  20539. - description: 用户ID
  20540. in: query
  20541. name: UserId
  20542. required: true
  20543. type: integer
  20544. - description: 用户类型 2-机构 7-企业成员
  20545. in: query
  20546. name: usertype
  20547. type: integer
  20548. - description: 现货合同ID, 不填则查所有
  20549. in: query
  20550. name: relatedid
  20551. type: string
  20552. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20553. in: query
  20554. name: applystatus
  20555. type: string
  20556. produces:
  20557. - application/json
  20558. responses:
  20559. "200":
  20560. description: OK
  20561. schema:
  20562. items:
  20563. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  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. - 企业风险管理(app)
  20574. /Ermcp/QueryChangeLog:
  20575. get:
  20576. parameters:
  20577. - description: 合同ID
  20578. in: query
  20579. name: RelatedId
  20580. required: true
  20581. type: string
  20582. produces:
  20583. - application/json
  20584. responses:
  20585. "200":
  20586. description: OK
  20587. schema:
  20588. items:
  20589. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20590. type: array
  20591. "500":
  20592. description: Internal Server Error
  20593. schema:
  20594. $ref: '#/definitions/app.Response'
  20595. security:
  20596. - ApiKeyAuth: []
  20597. summary: 查询变更记录
  20598. tags:
  20599. - 企业风险管理(app)
  20600. /Ermcp/QueryErmcpHisOrderDetails:
  20601. get:
  20602. parameters:
  20603. - description: 资金账户ID
  20604. in: query
  20605. name: accountID
  20606. required: true
  20607. type: integer
  20608. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20609. in: query
  20610. name: startDate
  20611. type: string
  20612. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20613. in: query
  20614. name: endDate
  20615. type: string
  20616. produces:
  20617. - application/json
  20618. responses:
  20619. "200":
  20620. description: OK
  20621. schema:
  20622. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20623. "500":
  20624. description: Internal Server Error
  20625. schema:
  20626. $ref: '#/definitions/app.Response'
  20627. security:
  20628. - ApiKeyAuth: []
  20629. summary: 获取企业风管期货历史委托单信息
  20630. tags:
  20631. - 企业风险管理(app)
  20632. /Ermcp/QueryErmcpHisTradeDetails:
  20633. get:
  20634. parameters:
  20635. - description: 资金账户ID
  20636. in: query
  20637. name: accountID
  20638. required: true
  20639. type: integer
  20640. - description: 商品ID
  20641. in: query
  20642. name: goodsID
  20643. type: integer
  20644. - description: 买卖方向,0:买 1:卖
  20645. in: query
  20646. name: buyOrSell
  20647. type: integer
  20648. - description: 关联委托单号
  20649. in: query
  20650. name: orderID
  20651. type: integer
  20652. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20653. in: query
  20654. name: startDate
  20655. type: string
  20656. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20657. in: query
  20658. name: endDate
  20659. type: string
  20660. produces:
  20661. - application/json
  20662. responses:
  20663. "200":
  20664. description: OK
  20665. schema:
  20666. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20667. "500":
  20668. description: Internal Server Error
  20669. schema:
  20670. $ref: '#/definitions/app.Response'
  20671. security:
  20672. - ApiKeyAuth: []
  20673. summary: 获取企业风管期货历史成交单信息
  20674. tags:
  20675. - 企业风险管理(app)
  20676. /Ermcp/QueryErmcpInnerHolderDetails:
  20677. get:
  20678. parameters:
  20679. - description: 资金账户ID
  20680. in: query
  20681. name: accountID
  20682. required: true
  20683. type: integer
  20684. - description: 商品ID
  20685. in: query
  20686. name: goodsID
  20687. type: integer
  20688. - description: 买卖方向,0:买 1:卖
  20689. in: query
  20690. name: buyOrSell
  20691. type: integer
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20699. "500":
  20700. description: Internal Server Error
  20701. schema:
  20702. $ref: '#/definitions/app.Response'
  20703. security:
  20704. - ApiKeyAuth: []
  20705. summary: 获取企业风管期货内部持仓单信息
  20706. tags:
  20707. - 企业风险管理(app)
  20708. /Ermcp/QueryErmcpOrderDetails:
  20709. get:
  20710. parameters:
  20711. - description: 资金账户ID
  20712. in: query
  20713. name: accountID
  20714. required: true
  20715. type: integer
  20716. produces:
  20717. - application/json
  20718. responses:
  20719. "200":
  20720. description: OK
  20721. schema:
  20722. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20723. "500":
  20724. description: Internal Server Error
  20725. schema:
  20726. $ref: '#/definitions/app.Response'
  20727. security:
  20728. - ApiKeyAuth: []
  20729. summary: 获取企业风管期货委托单信息
  20730. tags:
  20731. - 企业风险管理(app)
  20732. /Ermcp/QueryErmcpTradeDetails:
  20733. get:
  20734. parameters:
  20735. - description: 资金账户ID
  20736. in: query
  20737. name: accountID
  20738. required: true
  20739. type: integer
  20740. - description: 商品ID
  20741. in: query
  20742. name: goodsID
  20743. type: integer
  20744. - description: 买卖方向,0:买 1:卖
  20745. in: query
  20746. name: buyOrSell
  20747. type: integer
  20748. - description: 关联委托单号
  20749. in: query
  20750. name: orderID
  20751. type: integer
  20752. produces:
  20753. - application/json
  20754. responses:
  20755. "200":
  20756. description: OK
  20757. schema:
  20758. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20759. "500":
  20760. description: Internal Server Error
  20761. schema:
  20762. $ref: '#/definitions/app.Response'
  20763. security:
  20764. - ApiKeyAuth: []
  20765. summary: 获取企业风管期货成交单信息
  20766. tags:
  20767. - 企业风险管理(app)
  20768. /Ermcp/QueryErmcpTradePosition:
  20769. get:
  20770. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20771. parameters:
  20772. - description: 资金账户ID
  20773. in: query
  20774. name: accountID
  20775. required: true
  20776. type: integer
  20777. - description: 所属市场ID
  20778. in: query
  20779. name: marketID
  20780. type: integer
  20781. produces:
  20782. - application/json
  20783. responses:
  20784. "200":
  20785. description: OK
  20786. schema:
  20787. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20788. "500":
  20789. description: Internal Server Error
  20790. schema:
  20791. $ref: '#/definitions/app.Response'
  20792. security:
  20793. - ApiKeyAuth: []
  20794. summary: 获取企业风管期货持仓头寸信息
  20795. tags:
  20796. - 企业风险管理(app)
  20797. /Ermcp/QueryExposureDetail:
  20798. get:
  20799. parameters:
  20800. - description: 所属机构ID
  20801. in: query
  20802. name: areaUserId
  20803. required: true
  20804. type: integer
  20805. - description: 套保商品
  20806. in: query
  20807. name: middleGoodsId
  20808. required: true
  20809. type: integer
  20810. produces:
  20811. - application/json
  20812. responses:
  20813. "200":
  20814. description: OK
  20815. schema:
  20816. items:
  20817. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20818. type: array
  20819. "500":
  20820. description: Internal Server Error
  20821. schema:
  20822. $ref: '#/definitions/app.Response'
  20823. security:
  20824. - ApiKeyAuth: []
  20825. summary: 查询敞口现货明细
  20826. tags:
  20827. - 企业风险管理(app)
  20828. /Ermcp/QueryExposureGoods:
  20829. get:
  20830. parameters:
  20831. - description: 套保商品id
  20832. in: query
  20833. name: middlegoodsid
  20834. required: true
  20835. type: integer
  20836. produces:
  20837. - application/json
  20838. responses:
  20839. "200":
  20840. description: OK
  20841. schema:
  20842. items:
  20843. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20844. type: array
  20845. "500":
  20846. description: Internal Server Error
  20847. schema:
  20848. $ref: '#/definitions/app.Response'
  20849. security:
  20850. - ApiKeyAuth: []
  20851. summary: 查询敞口主力合约
  20852. tags:
  20853. - 企业风险管理(app)
  20854. /Ermcp/QueryExposureHedgePosition:
  20855. get:
  20856. parameters:
  20857. - description: 用户id
  20858. in: query
  20859. name: userid
  20860. required: true
  20861. type: integer
  20862. produces:
  20863. - application/json
  20864. responses:
  20865. "200":
  20866. description: OK
  20867. schema:
  20868. items:
  20869. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20870. type: array
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20878. tags:
  20879. - 企业风险管理(app)
  20880. /Ermcp/QueryExposureHedgePositionDetail:
  20881. get:
  20882. parameters:
  20883. - description: 所属机构ID
  20884. in: query
  20885. name: userid
  20886. required: true
  20887. type: integer
  20888. - description: 商品id
  20889. in: query
  20890. name: goodsId
  20891. required: true
  20892. type: integer
  20893. produces:
  20894. - application/json
  20895. responses:
  20896. "200":
  20897. description: OK
  20898. schema:
  20899. items:
  20900. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20901. type: array
  20902. "500":
  20903. description: Internal Server Error
  20904. schema:
  20905. $ref: '#/definitions/app.Response'
  20906. security:
  20907. - ApiKeyAuth: []
  20908. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20909. tags:
  20910. - 企业风险管理(app)
  20911. /Ermcp/QueryExposureSpot:
  20912. get:
  20913. parameters:
  20914. - description: 所属机构ID
  20915. in: query
  20916. name: areaUserId
  20917. required: true
  20918. type: integer
  20919. produces:
  20920. - application/json
  20921. responses:
  20922. "200":
  20923. description: OK
  20924. schema:
  20925. items:
  20926. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20927. type: array
  20928. "500":
  20929. description: Internal Server Error
  20930. schema:
  20931. $ref: '#/definitions/app.Response'
  20932. security:
  20933. - ApiKeyAuth: []
  20934. summary: 查询敞口现货头寸(敞口/现货头寸)
  20935. tags:
  20936. - 企业风险管理(app)
  20937. /Ermcp/QueryExposureSpotDetail:
  20938. get:
  20939. parameters:
  20940. - description: 所属机构ID
  20941. in: query
  20942. name: areaUserId
  20943. required: true
  20944. type: integer
  20945. - description: 现货品种ID
  20946. in: query
  20947. name: wrstandardId
  20948. required: true
  20949. type: integer
  20950. produces:
  20951. - application/json
  20952. responses:
  20953. "200":
  20954. description: OK
  20955. schema:
  20956. items:
  20957. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20958. type: array
  20959. "500":
  20960. description: Internal Server Error
  20961. schema:
  20962. $ref: '#/definitions/app.Response'
  20963. security:
  20964. - ApiKeyAuth: []
  20965. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20966. tags:
  20967. - 企业风险管理(app)
  20968. /Ermcp/QueryFuturesCompany:
  20969. get:
  20970. produces:
  20971. - application/json
  20972. responses:
  20973. "200":
  20974. description: OK
  20975. schema:
  20976. items:
  20977. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20978. type: array
  20979. "500":
  20980. description: Internal Server Error
  20981. schema:
  20982. $ref: '#/definitions/app.Response'
  20983. security:
  20984. - ApiKeyAuth: []
  20985. summary: 查询期货公司
  20986. tags:
  20987. - 企业风险管理(app)
  20988. /Ermcp/QueryGGConvertConfig:
  20989. get:
  20990. parameters:
  20991. - description: 品种id(不填则查所有)
  20992. in: query
  20993. name: goodsgroupid
  20994. type: integer
  20995. produces:
  20996. - application/json
  20997. responses:
  20998. "200":
  20999. description: OK
  21000. schema:
  21001. items:
  21002. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21003. type: array
  21004. "500":
  21005. description: Internal Server Error
  21006. schema:
  21007. $ref: '#/definitions/app.Response'
  21008. security:
  21009. - ApiKeyAuth: []
  21010. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21011. tags:
  21012. - 企业风险管理(app)
  21013. /Ermcp/QueryGoodsBrand:
  21014. get:
  21015. parameters:
  21016. - description: 用户ID
  21017. in: query
  21018. name: userid
  21019. required: true
  21020. type: integer
  21021. - description: 现货商品ID
  21022. in: query
  21023. name: wrstandardid
  21024. type: integer
  21025. produces:
  21026. - application/json
  21027. responses:
  21028. "200":
  21029. description: OK
  21030. schema:
  21031. items:
  21032. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21033. type: array
  21034. "500":
  21035. description: Internal Server Error
  21036. schema:
  21037. $ref: '#/definitions/app.Response'
  21038. security:
  21039. - ApiKeyAuth: []
  21040. summary: 查询商品品牌
  21041. tags:
  21042. - 企业风险管理(app)
  21043. /Ermcp/QueryGoodsModel:
  21044. get:
  21045. parameters:
  21046. - description: 用户ID
  21047. in: query
  21048. name: userid
  21049. required: true
  21050. type: integer
  21051. produces:
  21052. - application/json
  21053. responses:
  21054. "200":
  21055. description: OK
  21056. schema:
  21057. items:
  21058. $ref: '#/definitions/models.ErmcpGoodsModel'
  21059. type: array
  21060. "500":
  21061. description: Internal Server Error
  21062. schema:
  21063. $ref: '#/definitions/app.Response'
  21064. security:
  21065. - ApiKeyAuth: []
  21066. summary: 查询商品型号
  21067. tags:
  21068. - 企业风险管理(app)
  21069. /Ermcp/QueryHisExposure:
  21070. get:
  21071. parameters:
  21072. - description: 用户id
  21073. in: query
  21074. name: userid
  21075. required: true
  21076. type: integer
  21077. - description: 每个品种记录数
  21078. in: query
  21079. name: lastNum
  21080. required: true
  21081. type: integer
  21082. produces:
  21083. - application/json
  21084. responses:
  21085. "200":
  21086. description: OK
  21087. schema:
  21088. items:
  21089. $ref: '#/definitions/ermcp.HisExposureRsp'
  21090. type: array
  21091. "500":
  21092. description: Internal Server Error
  21093. schema:
  21094. $ref: '#/definitions/app.Response'
  21095. security:
  21096. - ApiKeyAuth: []
  21097. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21098. tags:
  21099. - 企业风险管理(app)
  21100. /Ermcp/QueryMiddleGoods:
  21101. get:
  21102. parameters:
  21103. - description: 所属机构ID
  21104. in: query
  21105. name: userid
  21106. required: true
  21107. type: integer
  21108. - description: 状态 0-停用 1-正常
  21109. in: query
  21110. name: status
  21111. required: true
  21112. type: integer
  21113. produces:
  21114. - application/json
  21115. responses:
  21116. "200":
  21117. description: OK
  21118. schema:
  21119. items:
  21120. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21121. type: array
  21122. "500":
  21123. description: Internal Server Error
  21124. schema:
  21125. $ref: '#/definitions/app.Response'
  21126. security:
  21127. - ApiKeyAuth: []
  21128. summary: 查询套保品种(菜单:套保品种)
  21129. tags:
  21130. - 企业风险管理(app)
  21131. /Ermcp/QueryMiddleGoodsChangeLog:
  21132. get:
  21133. parameters:
  21134. - description: 所属机构ID
  21135. in: query
  21136. name: userid
  21137. required: true
  21138. type: integer
  21139. - description: 套保品种id
  21140. in: query
  21141. name: middlegoodsid
  21142. required: true
  21143. type: integer
  21144. produces:
  21145. - application/json
  21146. responses:
  21147. "200":
  21148. description: OK
  21149. schema:
  21150. items:
  21151. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21152. type: array
  21153. "500":
  21154. description: Internal Server Error
  21155. schema:
  21156. $ref: '#/definitions/app.Response'
  21157. security:
  21158. - ApiKeyAuth: []
  21159. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21160. tags:
  21161. - 企业风险管理(app)
  21162. /Ermcp/QueryMiddleGoodsDetail:
  21163. get:
  21164. parameters:
  21165. - description: 所属机构ID
  21166. in: query
  21167. name: userid
  21168. required: true
  21169. type: integer
  21170. - description: 套保品种id
  21171. in: query
  21172. name: middlegoodsid
  21173. type: integer
  21174. produces:
  21175. - application/json
  21176. responses:
  21177. "200":
  21178. description: OK
  21179. schema:
  21180. items:
  21181. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21182. type: array
  21183. "500":
  21184. description: Internal Server Error
  21185. schema:
  21186. $ref: '#/definitions/app.Response'
  21187. security:
  21188. - ApiKeyAuth: []
  21189. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21190. tags:
  21191. - 企业风险管理(app)
  21192. /Ermcp/QueryPendingAuditInfo:
  21193. get:
  21194. parameters:
  21195. - description: 用户ID
  21196. in: query
  21197. name: UserId
  21198. required: true
  21199. type: integer
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. items:
  21207. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21208. type: array
  21209. "500":
  21210. description: Internal Server Error
  21211. schema:
  21212. $ref: '#/definitions/app.Response'
  21213. security:
  21214. - ApiKeyAuth: []
  21215. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21216. tags:
  21217. - 企业风险管理(app)
  21218. /Ermcp/QueryRealtimeExposure:
  21219. get:
  21220. parameters:
  21221. - description: 所属机构ID
  21222. in: query
  21223. name: userid
  21224. required: true
  21225. type: integer
  21226. produces:
  21227. - application/json
  21228. responses:
  21229. "200":
  21230. description: OK
  21231. schema:
  21232. items:
  21233. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21234. type: array
  21235. "500":
  21236. description: Internal Server Error
  21237. schema:
  21238. $ref: '#/definitions/app.Response'
  21239. security:
  21240. - ApiKeyAuth: []
  21241. summary: 查询实时敞口
  21242. tags:
  21243. - 企业风险管理(app)
  21244. /Ermcp/QueryRealtimeExposurePosition:
  21245. get:
  21246. parameters:
  21247. - description: 用户id
  21248. in: query
  21249. name: userid
  21250. required: true
  21251. type: integer
  21252. - description: 套保商品ID
  21253. in: query
  21254. name: middleGoodsId
  21255. required: true
  21256. type: integer
  21257. produces:
  21258. - application/json
  21259. responses:
  21260. "200":
  21261. description: OK
  21262. schema:
  21263. items:
  21264. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21265. type: array
  21266. "500":
  21267. description: Internal Server Error
  21268. schema:
  21269. $ref: '#/definitions/app.Response'
  21270. security:
  21271. - ApiKeyAuth: []
  21272. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21273. tags:
  21274. - 企业风险管理(app)
  21275. /Ermcp/QueryRoleMenu:
  21276. get:
  21277. parameters:
  21278. - description: 登录ID
  21279. in: query
  21280. name: loginid
  21281. required: true
  21282. type: integer
  21283. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21284. in: query
  21285. name: menutype
  21286. type: integer
  21287. produces:
  21288. - application/json
  21289. responses:
  21290. "200":
  21291. description: OK
  21292. schema:
  21293. items:
  21294. $ref: '#/definitions/models.RoleMenu'
  21295. type: array
  21296. "500":
  21297. description: Internal Server Error
  21298. schema:
  21299. $ref: '#/definitions/app.Response'
  21300. security:
  21301. - ApiKeyAuth: []
  21302. summary: 查询角色菜单和权限
  21303. tags:
  21304. - 企业风险管理(app)
  21305. /Ermcp/QueryTradeConfigTMP:
  21306. get:
  21307. parameters:
  21308. - description: 所属机构id
  21309. in: query
  21310. name: areauserid
  21311. type: integer
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. items:
  21319. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21320. type: array
  21321. "500":
  21322. description: Internal Server Error
  21323. schema:
  21324. $ref: '#/definitions/app.Response'
  21325. security:
  21326. - ApiKeyAuth: []
  21327. summary: 查询交易模板配置
  21328. tags:
  21329. - 企业风险管理(app)
  21330. /Ermcp/QueryUserInfo:
  21331. get:
  21332. parameters:
  21333. - description: 所属机构用户ID
  21334. in: query
  21335. name: MemberUserID
  21336. required: true
  21337. type: integer
  21338. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21339. in: query
  21340. name: queryType
  21341. required: true
  21342. type: integer
  21343. produces:
  21344. - application/json
  21345. responses:
  21346. "200":
  21347. description: OK
  21348. schema:
  21349. items:
  21350. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21351. type: array
  21352. "500":
  21353. description: Internal Server Error
  21354. schema:
  21355. $ref: '#/definitions/app.Response'
  21356. security:
  21357. - ApiKeyAuth: []
  21358. summary: 查询客户资料
  21359. tags:
  21360. - 企业风险管理(app)
  21361. /Ermcp/QueryWarehouseInfo:
  21362. get:
  21363. parameters:
  21364. - description: 用户ID
  21365. in: query
  21366. name: userid
  21367. required: true
  21368. type: integer
  21369. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21370. in: query
  21371. name: status
  21372. type: string
  21373. produces:
  21374. - application/json
  21375. responses:
  21376. "200":
  21377. description: OK
  21378. schema:
  21379. items:
  21380. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21381. type: array
  21382. "500":
  21383. description: Internal Server Error
  21384. schema:
  21385. $ref: '#/definitions/app.Response'
  21386. security:
  21387. - ApiKeyAuth: []
  21388. summary: 查询仓库信息
  21389. tags:
  21390. - 企业风险管理(app)
  21391. /Ermcp3/QryAreaExpourseContractDetail:
  21392. get:
  21393. parameters:
  21394. - description: 用户ID
  21395. in: query
  21396. name: userid
  21397. required: true
  21398. type: integer
  21399. - description: 套保商品id
  21400. in: query
  21401. name: middlegoodsid
  21402. required: true
  21403. type: integer
  21404. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21405. in: query
  21406. name: cycletype
  21407. required: true
  21408. type: integer
  21409. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21410. 全(0)【原值】
  21411. in: query
  21412. name: cycletime
  21413. required: true
  21414. type: string
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. items:
  21422. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21423. type: array
  21424. "500":
  21425. description: Internal Server Error
  21426. schema:
  21427. $ref: '#/definitions/app.Response'
  21428. security:
  21429. - ApiKeyAuth: []
  21430. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21431. tags:
  21432. - 企业风险管理v3(app)
  21433. /Ermcp3/QryAreaExpourseFutuDetail:
  21434. get:
  21435. parameters:
  21436. - description: 用户ID
  21437. in: query
  21438. name: userid
  21439. required: true
  21440. type: integer
  21441. - description: 套保商品id
  21442. in: query
  21443. name: middlegoodsid
  21444. required: true
  21445. type: integer
  21446. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21447. in: query
  21448. name: cycletype
  21449. required: true
  21450. type: integer
  21451. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21452. 全(0)【原值】
  21453. in: query
  21454. name: cycletime
  21455. required: true
  21456. type: string
  21457. produces:
  21458. - application/json
  21459. responses:
  21460. "200":
  21461. description: OK
  21462. schema:
  21463. items:
  21464. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21465. type: array
  21466. "500":
  21467. description: Internal Server Error
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. security:
  21471. - ApiKeyAuth: []
  21472. summary: 查询敞口期货明细(敞口报表/期货明细)
  21473. tags:
  21474. - 企业风险管理v3(app)
  21475. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21476. get:
  21477. parameters:
  21478. - description: 用户ID
  21479. in: query
  21480. name: userid
  21481. required: true
  21482. type: integer
  21483. - description: 套保商品id
  21484. in: query
  21485. name: middlegoodsid
  21486. required: true
  21487. type: integer
  21488. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21489. in: query
  21490. name: cycletype
  21491. required: true
  21492. type: integer
  21493. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21494. 全(0)【原值】
  21495. in: query
  21496. name: cycletime
  21497. required: true
  21498. type: string
  21499. produces:
  21500. - application/json
  21501. responses:
  21502. "200":
  21503. description: OK
  21504. schema:
  21505. items:
  21506. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21507. type: array
  21508. "500":
  21509. description: Internal Server Error
  21510. schema:
  21511. $ref: '#/definitions/app.Response'
  21512. security:
  21513. - ApiKeyAuth: []
  21514. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21515. tags:
  21516. - 企业风险管理v3(app)
  21517. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21518. get:
  21519. parameters:
  21520. - description: 用户ID
  21521. in: query
  21522. name: userid
  21523. required: true
  21524. type: integer
  21525. - description: 套保商品id
  21526. in: query
  21527. name: middlegoodsid
  21528. required: true
  21529. type: integer
  21530. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21531. in: query
  21532. name: cycletype
  21533. required: true
  21534. type: integer
  21535. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21536. 全(0)【原值】
  21537. in: query
  21538. name: cycletime
  21539. required: true
  21540. type: string
  21541. produces:
  21542. - application/json
  21543. responses:
  21544. "200":
  21545. description: OK
  21546. schema:
  21547. items:
  21548. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21549. type: array
  21550. "500":
  21551. description: Internal Server Error
  21552. schema:
  21553. $ref: '#/definitions/app.Response'
  21554. security:
  21555. - ApiKeyAuth: []
  21556. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21557. tags:
  21558. - 企业风险管理v3(app)
  21559. /Ermcp3/QryAreaExpourseReport:
  21560. get:
  21561. parameters:
  21562. - description: 用户ID
  21563. in: query
  21564. name: userid
  21565. required: true
  21566. type: integer
  21567. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21568. in: query
  21569. name: querytype
  21570. required: true
  21571. type: integer
  21572. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21573. in: query
  21574. name: cycletype
  21575. required: true
  21576. type: integer
  21577. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21578. 全(0)【原值】
  21579. in: query
  21580. name: cycletime
  21581. required: true
  21582. type: string
  21583. produces:
  21584. - application/json
  21585. responses:
  21586. "200":
  21587. description: OK
  21588. schema:
  21589. items:
  21590. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21591. type: array
  21592. "500":
  21593. description: Internal Server Error
  21594. schema:
  21595. $ref: '#/definitions/app.Response'
  21596. security:
  21597. - ApiKeyAuth: []
  21598. summary: 查询敞口报表
  21599. tags:
  21600. - 企业风险管理v3(app)
  21601. /Ermcp3/QryAreaSpotplReport:
  21602. get:
  21603. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21604. parameters:
  21605. - description: 用户ID
  21606. in: query
  21607. name: userid
  21608. required: true
  21609. type: integer
  21610. - description: 查询类型 1-报表 2-报表明细
  21611. in: query
  21612. name: querytype
  21613. required: true
  21614. type: integer
  21615. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21616. in: query
  21617. name: cycletype
  21618. required: true
  21619. type: integer
  21620. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21621. 全(0)【原值】
  21622. in: query
  21623. name: cycletime
  21624. required: true
  21625. type: string
  21626. - description: 现货品种id(明细必填)
  21627. in: query
  21628. name: deliverygoodsid
  21629. type: integer
  21630. - description: 币种id(明细必填)
  21631. in: query
  21632. name: currencyid
  21633. type: integer
  21634. - description: 日/周/月报表汇总维度 1:品种+品类
  21635. in: query
  21636. name: sumflag
  21637. type: integer
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. items:
  21645. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21646. type: array
  21647. "500":
  21648. description: Internal Server Error
  21649. schema:
  21650. $ref: '#/definitions/app.Response'
  21651. security:
  21652. - ApiKeyAuth: []
  21653. summary: 查询现货报表
  21654. tags:
  21655. - 企业风险管理v3(app)
  21656. /Ermcp3/QryAreaStockReport:
  21657. get:
  21658. parameters:
  21659. - description: 用户ID
  21660. in: query
  21661. name: userid
  21662. required: true
  21663. type: integer
  21664. - description: 查询类型 1-报表 2-报表明细
  21665. in: query
  21666. name: querytype
  21667. required: true
  21668. type: integer
  21669. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21670. in: query
  21671. name: cycletype
  21672. required: true
  21673. type: integer
  21674. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21675. 全(0)【原值】
  21676. in: query
  21677. name: cycletime
  21678. required: true
  21679. type: string
  21680. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21681. in: query
  21682. name: sumfields
  21683. type: string
  21684. - description: 品种ID
  21685. in: query
  21686. name: deliverygoodsid
  21687. type: integer
  21688. - description: 品类ID
  21689. in: query
  21690. name: wrstandardid
  21691. type: integer
  21692. - description: 品牌ID
  21693. in: query
  21694. name: spotgoodsbrandid
  21695. type: integer
  21696. - description: 仓库ID
  21697. in: query
  21698. name: warehouseinfoid
  21699. type: integer
  21700. produces:
  21701. - application/json
  21702. responses:
  21703. "200":
  21704. description: OK
  21705. schema:
  21706. items:
  21707. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21708. type: array
  21709. "500":
  21710. description: Internal Server Error
  21711. schema:
  21712. $ref: '#/definitions/app.Response'
  21713. security:
  21714. - ApiKeyAuth: []
  21715. summary: 查询库存报表
  21716. tags:
  21717. - 企业风险管理v3(app)
  21718. /Ermcp3/QryAreaSumPL:
  21719. get:
  21720. parameters:
  21721. - description: 用户ID
  21722. in: query
  21723. name: userid
  21724. required: true
  21725. type: integer
  21726. - description: 查询类型 1-报表 2-报表明细
  21727. in: query
  21728. name: querytype
  21729. required: true
  21730. type: integer
  21731. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21732. in: query
  21733. name: cycletype
  21734. required: true
  21735. type: integer
  21736. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21737. 全(0)【原值】
  21738. in: query
  21739. name: cycletime
  21740. required: true
  21741. type: string
  21742. - description: 币种id(明细必填)
  21743. in: query
  21744. name: currencyid
  21745. type: integer
  21746. produces:
  21747. - application/json
  21748. responses:
  21749. "200":
  21750. description: OK
  21751. schema:
  21752. items:
  21753. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21754. type: array
  21755. "500":
  21756. description: Internal Server Error
  21757. schema:
  21758. $ref: '#/definitions/app.Response'
  21759. security:
  21760. - ApiKeyAuth: []
  21761. summary: 查询汇总损益表
  21762. tags:
  21763. - 企业风险管理v3(app)
  21764. /Ermcp3/QryFinanceReport:
  21765. get:
  21766. parameters:
  21767. - description: 用户ID
  21768. in: query
  21769. name: userid
  21770. required: true
  21771. type: integer
  21772. - description: 查询类型 1-报表 2-报表明细
  21773. in: query
  21774. name: querytype
  21775. required: true
  21776. type: integer
  21777. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21778. in: query
  21779. name: cycletype
  21780. required: true
  21781. type: integer
  21782. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21783. 全(0)【原值】
  21784. in: query
  21785. name: cycletime
  21786. required: true
  21787. type: string
  21788. - description: 币种id(报表明细必填)
  21789. in: query
  21790. name: currencyid
  21791. type: integer
  21792. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21793. in: query
  21794. name: sumfields
  21795. type: string
  21796. produces:
  21797. - application/json
  21798. responses:
  21799. "200":
  21800. description: OK
  21801. schema:
  21802. items:
  21803. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21804. type: array
  21805. "500":
  21806. description: Internal Server Error
  21807. schema:
  21808. $ref: '#/definitions/app.Response'
  21809. security:
  21810. - ApiKeyAuth: []
  21811. summary: 查询财务报表
  21812. tags:
  21813. - 企业风险管理v3(app)
  21814. /Ermcp3/QrySCMiddleGoodsReport:
  21815. get:
  21816. parameters:
  21817. - description: 用户ID
  21818. in: query
  21819. name: userid
  21820. required: true
  21821. type: integer
  21822. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21823. in: query
  21824. name: cycletype
  21825. required: true
  21826. type: integer
  21827. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21828. 全(0)【原值】
  21829. in: query
  21830. name: cycletime
  21831. required: true
  21832. type: string
  21833. - description: 合同id
  21834. in: query
  21835. name: spotcontractid
  21836. type: integer
  21837. - description: 套保品种id
  21838. in: query
  21839. name: middlegoodsid
  21840. type: integer
  21841. - description: 现货品种id
  21842. in: query
  21843. name: deliverygoodsid
  21844. type: integer
  21845. - description: 现货商品id
  21846. in: query
  21847. name: wrstandardid
  21848. type: integer
  21849. - description: 合同编号(模糊匹配)
  21850. in: query
  21851. name: contractno
  21852. type: string
  21853. produces:
  21854. - application/json
  21855. responses:
  21856. "200":
  21857. description: OK
  21858. schema:
  21859. items:
  21860. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21861. type: array
  21862. "500":
  21863. description: Internal Server Error
  21864. schema:
  21865. $ref: '#/definitions/app.Response'
  21866. security:
  21867. - ApiKeyAuth: []
  21868. summary: 查询定价报表
  21869. tags:
  21870. - 企业风险管理v3(app)
  21871. /Ermcp3/QryTaFutureDataReport:
  21872. get:
  21873. parameters:
  21874. - description: 用户ID
  21875. in: query
  21876. name: userid
  21877. required: true
  21878. type: integer
  21879. - description: 查询类型 1-报表 2-报表明细
  21880. in: query
  21881. name: querytype
  21882. required: true
  21883. type: integer
  21884. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21885. in: query
  21886. name: cycletype
  21887. required: true
  21888. type: integer
  21889. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21890. 全(0)【原值】
  21891. in: query
  21892. name: cycletime
  21893. required: true
  21894. type: string
  21895. - description: 币种id(查明细必填)
  21896. in: query
  21897. name: currencyid
  21898. type: integer
  21899. - description: 品种id(查明细必填)
  21900. in: query
  21901. name: goodsgroupid
  21902. type: integer
  21903. - description: 商品id(查明细必填)
  21904. in: query
  21905. name: goodsid
  21906. type: integer
  21907. - description: 买卖方向(查明细必填)
  21908. in: query
  21909. name: buyorsell
  21910. type: integer
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询期货报表
  21927. tags:
  21928. - 企业风险管理v3(app)
  21929. /Ermcp3/QueryAreaStock:
  21930. get:
  21931. parameters:
  21932. - description: 用户ID
  21933. in: query
  21934. name: userid
  21935. required: true
  21936. type: integer
  21937. produces:
  21938. - application/json
  21939. responses:
  21940. "200":
  21941. description: OK
  21942. schema:
  21943. items:
  21944. $ref: '#/definitions/models.Ermcp3AreaStock'
  21945. type: array
  21946. "500":
  21947. description: Internal Server Error
  21948. schema:
  21949. $ref: '#/definitions/app.Response'
  21950. security:
  21951. - ApiKeyAuth: []
  21952. summary: 查询机构库存(库存管理/当前库存)
  21953. tags:
  21954. - 企业风险管理v3(app)
  21955. /Ermcp3/QueryAreaStockApply:
  21956. get:
  21957. parameters:
  21958. - description: 用户ID
  21959. in: query
  21960. name: userid
  21961. required: true
  21962. type: integer
  21963. - description: 用户类型 2-机构 7-企业成员
  21964. in: query
  21965. name: usertype
  21966. type: integer
  21967. - description: 现货商品ID
  21968. in: query
  21969. name: deliverygoodsid
  21970. type: integer
  21971. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21972. in: query
  21973. name: inouttype
  21974. type: string
  21975. - description: 合同ID
  21976. in: query
  21977. name: spotcontractid
  21978. type: integer
  21979. - description: 品类ID
  21980. in: query
  21981. name: wrstandardid
  21982. type: integer
  21983. - description: 品牌ID
  21984. in: query
  21985. name: spotgoodsbrandid
  21986. type: integer
  21987. - description: 仓库ID
  21988. in: query
  21989. name: warehouseinfoid
  21990. type: integer
  21991. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21992. in: query
  21993. name: applystatus
  21994. type: string
  21995. produces:
  21996. - application/json
  21997. responses:
  21998. "200":
  21999. description: OK
  22000. schema:
  22001. items:
  22002. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22003. type: array
  22004. "500":
  22005. description: Internal Server Error
  22006. schema:
  22007. $ref: '#/definitions/app.Response'
  22008. security:
  22009. - ApiKeyAuth: []
  22010. summary: 查询库存申请(出入库记录|库存审核)
  22011. tags:
  22012. - 企业风险管理v3(app)
  22013. /Ermcp3/QueryAreaStockApplySum:
  22014. get:
  22015. parameters:
  22016. - description: 合同ID
  22017. in: query
  22018. name: spotcontractid
  22019. required: true
  22020. type: integer
  22021. produces:
  22022. - application/json
  22023. responses:
  22024. "200":
  22025. description: OK
  22026. schema:
  22027. items:
  22028. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22029. type: array
  22030. "500":
  22031. description: Internal Server Error
  22032. schema:
  22033. $ref: '#/definitions/app.Response'
  22034. security:
  22035. - ApiKeyAuth: []
  22036. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22037. tags:
  22038. - 企业风险管理v3(app)
  22039. /Ermcp3/QueryDGFactoryItem:
  22040. get:
  22041. parameters:
  22042. - description: 用户id
  22043. in: query
  22044. name: userid
  22045. type: integer
  22046. - description: 用户类型 2-机构 7-企业成员
  22047. in: query
  22048. name: usertype
  22049. type: integer
  22050. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22051. in: query
  22052. name: dgfactoryitemid
  22053. type: integer
  22054. - description: 现货品种ID
  22055. in: query
  22056. name: deliverygoodsid
  22057. type: integer
  22058. - description: 要素项类型
  22059. in: query
  22060. name: dgfactoryitemtypeid
  22061. type: integer
  22062. - description: 顺序
  22063. in: query
  22064. name: orderindex
  22065. type: integer
  22066. produces:
  22067. - application/json
  22068. responses:
  22069. "200":
  22070. description: OK
  22071. schema:
  22072. items:
  22073. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22074. type: array
  22075. "500":
  22076. description: Internal Server Error
  22077. schema:
  22078. $ref: '#/definitions/app.Response'
  22079. security:
  22080. - ApiKeyAuth: []
  22081. summary: 查询品种要素定义项
  22082. tags:
  22083. - 企业风险管理v3(app)
  22084. /Ermcp3/QueryDeliveryGoods:
  22085. get:
  22086. parameters:
  22087. - description: 用户id
  22088. in: query
  22089. name: userid
  22090. required: true
  22091. type: integer
  22092. - description: 用户类型 2-机构 7-企业成员
  22093. in: query
  22094. name: usertype
  22095. type: integer
  22096. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22097. in: query
  22098. name: excludecfg
  22099. type: integer
  22100. produces:
  22101. - application/json
  22102. responses:
  22103. "200":
  22104. description: OK
  22105. schema:
  22106. items:
  22107. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22108. type: array
  22109. "500":
  22110. description: Internal Server Error
  22111. schema:
  22112. $ref: '#/definitions/app.Response'
  22113. security:
  22114. - ApiKeyAuth: []
  22115. summary: 查询现货商品
  22116. tags:
  22117. - 企业风险管理v3(app)
  22118. /Ermcp3/QueryDeliveryGoodsDetail:
  22119. get:
  22120. parameters:
  22121. - description: 用户id
  22122. in: query
  22123. name: userid
  22124. required: true
  22125. type: integer
  22126. - description: 用户类型 2-机构 7-企业成员
  22127. in: query
  22128. name: usertype
  22129. type: integer
  22130. - description: 现货商品id
  22131. in: query
  22132. name: deliverygoodsid
  22133. type: integer
  22134. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22135. in: query
  22136. name: filtersubempty
  22137. type: integer
  22138. produces:
  22139. - application/json
  22140. responses:
  22141. "200":
  22142. description: OK
  22143. schema:
  22144. items:
  22145. $ref: '#/definitions/models.XHDeliveryGoods'
  22146. type: array
  22147. "500":
  22148. description: Internal Server Error
  22149. schema:
  22150. $ref: '#/definitions/app.Response'
  22151. security:
  22152. - ApiKeyAuth: []
  22153. summary: 查询现货商品详情
  22154. tags:
  22155. - 企业风险管理v3(app)
  22156. /Ermcp3/QueryExposureDetail:
  22157. get:
  22158. parameters:
  22159. - description: 用户id
  22160. in: query
  22161. name: userid
  22162. required: true
  22163. type: integer
  22164. - description: 用户类型 2-机构 7-企业成员
  22165. in: query
  22166. name: usertype
  22167. type: integer
  22168. - description: 套保商品
  22169. in: query
  22170. name: middlegoodsid
  22171. required: true
  22172. type: integer
  22173. produces:
  22174. - application/json
  22175. responses:
  22176. "200":
  22177. description: OK
  22178. schema:
  22179. items:
  22180. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22181. type: array
  22182. "500":
  22183. description: Internal Server Error
  22184. schema:
  22185. $ref: '#/definitions/app.Response'
  22186. security:
  22187. - ApiKeyAuth: []
  22188. summary: 查询敞口现货明细
  22189. tags:
  22190. - 企业风险管理v3(app)
  22191. /Ermcp3/QueryExposureSpot:
  22192. get:
  22193. parameters:
  22194. - description: 用户id
  22195. in: query
  22196. name: userid
  22197. required: true
  22198. type: integer
  22199. - description: 用户类型 2-机构 7-企业成员
  22200. in: query
  22201. name: usertype
  22202. type: integer
  22203. produces:
  22204. - application/json
  22205. responses:
  22206. "200":
  22207. description: OK
  22208. schema:
  22209. items:
  22210. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22211. type: array
  22212. "500":
  22213. description: Internal Server Error
  22214. schema:
  22215. $ref: '#/definitions/app.Response'
  22216. security:
  22217. - ApiKeyAuth: []
  22218. summary: 查询敞口现货头寸(敞口/现货头寸)
  22219. tags:
  22220. - 企业风险管理v3(app)
  22221. /Ermcp3/QueryExposureSpotDetail:
  22222. get:
  22223. parameters:
  22224. - description: 用户id
  22225. in: query
  22226. name: userid
  22227. required: true
  22228. type: integer
  22229. - description: 用户类型 2-机构 7-企业成员
  22230. in: query
  22231. name: usertype
  22232. type: integer
  22233. - description: 现货商品ID
  22234. in: query
  22235. name: wrstandardid
  22236. required: true
  22237. type: integer
  22238. produces:
  22239. - application/json
  22240. responses:
  22241. "200":
  22242. description: OK
  22243. schema:
  22244. items:
  22245. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22246. type: array
  22247. "500":
  22248. description: Internal Server Error
  22249. schema:
  22250. $ref: '#/definitions/app.Response'
  22251. security:
  22252. - ApiKeyAuth: []
  22253. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22254. tags:
  22255. - 企业风险管理v3(app)
  22256. /Ermcp3/QueryGoodsGroup:
  22257. get:
  22258. parameters:
  22259. - description: 用户id
  22260. in: query
  22261. name: userid
  22262. required: true
  22263. type: integer
  22264. - description: 用户类型 2-机构 7-企业成员
  22265. in: query
  22266. name: usertype
  22267. type: integer
  22268. - description: 排除套保品中已关联的商品组 1-排除
  22269. in: query
  22270. name: excludecfg
  22271. type: integer
  22272. produces:
  22273. - application/json
  22274. responses:
  22275. "200":
  22276. description: OK
  22277. schema:
  22278. items:
  22279. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22280. type: array
  22281. "500":
  22282. description: Internal Server Error
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. security:
  22286. - ApiKeyAuth: []
  22287. summary: 查询期货商品组
  22288. tags:
  22289. - 企业风险管理v3(app)
  22290. /Ermcp3/QueryGoodsWrstandard:
  22291. get:
  22292. parameters:
  22293. - description: 用户id
  22294. in: query
  22295. name: userid
  22296. required: true
  22297. type: integer
  22298. - description: 用户类型 2-机构 7-企业成员
  22299. in: query
  22300. name: usertype
  22301. type: integer
  22302. - description: 现货商品id
  22303. in: query
  22304. name: deliverygoodsid
  22305. type: integer
  22306. produces:
  22307. - application/json
  22308. responses:
  22309. "200":
  22310. description: OK
  22311. schema:
  22312. items:
  22313. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22314. type: array
  22315. "500":
  22316. description: Internal Server Error
  22317. schema:
  22318. $ref: '#/definitions/app.Response'
  22319. security:
  22320. - ApiKeyAuth: []
  22321. summary: 查询商品品类
  22322. tags:
  22323. - 企业风险管理v3(app)
  22324. /Ermcp3/QueryGoodsbrand:
  22325. get:
  22326. parameters:
  22327. - description: 用户id
  22328. in: query
  22329. name: userid
  22330. required: true
  22331. type: integer
  22332. - description: 用户类型 2-机构 7-企业成员
  22333. in: query
  22334. name: usertype
  22335. type: integer
  22336. produces:
  22337. - application/json
  22338. responses:
  22339. "200":
  22340. description: OK
  22341. schema:
  22342. items:
  22343. $ref: '#/definitions/models.Ermcp3Brand'
  22344. type: array
  22345. "500":
  22346. description: Internal Server Error
  22347. schema:
  22348. $ref: '#/definitions/app.Response'
  22349. security:
  22350. - ApiKeyAuth: []
  22351. summary: 查询商品品牌
  22352. tags:
  22353. - 企业风险管理v3(app)
  22354. /Ermcp3/QueryHedgePlan:
  22355. get:
  22356. parameters:
  22357. - description: 用户ID
  22358. in: query
  22359. name: userid
  22360. required: true
  22361. type: integer
  22362. - description: 用户类型 2-机构 7-企业成员
  22363. in: query
  22364. name: usertype
  22365. type: integer
  22366. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22367. in: query
  22368. name: hedgeplanstatus
  22369. required: true
  22370. type: string
  22371. produces:
  22372. - application/json
  22373. responses:
  22374. "200":
  22375. description: OK
  22376. schema:
  22377. items:
  22378. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22379. type: array
  22380. "500":
  22381. description: Internal Server Error
  22382. schema:
  22383. $ref: '#/definitions/app.Response'
  22384. security:
  22385. - ApiKeyAuth: []
  22386. summary: 查询套保计划
  22387. tags:
  22388. - 企业风险管理v3(app)
  22389. /Ermcp3/QueryInnerTradeLink:
  22390. get:
  22391. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22392. parameters:
  22393. - description: 外部成交单号
  22394. in: query
  22395. name: outtradeid
  22396. required: true
  22397. type: integer
  22398. produces:
  22399. - application/json
  22400. responses:
  22401. "200":
  22402. description: OK
  22403. schema:
  22404. items:
  22405. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22406. type: array
  22407. "500":
  22408. description: Internal Server Error
  22409. schema:
  22410. $ref: '#/definitions/app.Response'
  22411. security:
  22412. - ApiKeyAuth: []
  22413. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22414. tags:
  22415. - 企业风险管理v3(app)
  22416. /Ermcp3/QueryMiddleGoodsDetail:
  22417. get:
  22418. parameters:
  22419. - description: 用户id
  22420. in: query
  22421. name: userid
  22422. required: true
  22423. type: integer
  22424. - description: 用户类型 2-机构 7-企业成员
  22425. in: query
  22426. name: usertype
  22427. type: integer
  22428. - description: 套保品种id
  22429. in: query
  22430. name: middlegoodsid
  22431. type: integer
  22432. produces:
  22433. - application/json
  22434. responses:
  22435. "200":
  22436. description: OK
  22437. schema:
  22438. items:
  22439. $ref: '#/definitions/models.TBMiddleGoods'
  22440. type: array
  22441. "500":
  22442. description: Internal Server Error
  22443. schema:
  22444. $ref: '#/definitions/app.Response'
  22445. security:
  22446. - ApiKeyAuth: []
  22447. summary: 查询套保品种详情(套保品种/商品详情)
  22448. tags:
  22449. - 企业风险管理v3(app)
  22450. /Ermcp3/QueryOutTradeLink:
  22451. get:
  22452. description: 页面 app 现货->期现关联->外部成交单关联
  22453. parameters:
  22454. - description: 用户ID(填登录用户的userid)
  22455. in: query
  22456. name: userid
  22457. required: true
  22458. type: integer
  22459. - description: 外部订单号(模糊匹配)
  22460. in: query
  22461. name: outtradeid
  22462. type: string
  22463. - description: 合约名称/代码(模糊匹配)
  22464. in: query
  22465. name: goodsname
  22466. type: string
  22467. - description: 关联状态 0-未关联 1-已关联
  22468. in: query
  22469. name: hasinnerorder
  22470. type: integer
  22471. produces:
  22472. - application/json
  22473. responses:
  22474. "200":
  22475. description: OK
  22476. schema:
  22477. items:
  22478. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22479. type: array
  22480. "500":
  22481. description: Internal Server Error
  22482. schema:
  22483. $ref: '#/definitions/app.Response'
  22484. security:
  22485. - ApiKeyAuth: []
  22486. summary: 查询外部成交单关联
  22487. tags:
  22488. - 企业风险管理v3(app)
  22489. /Ermcp3/QueryPaAreaAuditCfg:
  22490. get:
  22491. parameters:
  22492. - description: 用户id
  22493. in: query
  22494. name: userid
  22495. required: true
  22496. type: integer
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. items:
  22504. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22505. type: array
  22506. "500":
  22507. description: Internal Server Error
  22508. schema:
  22509. $ref: '#/definitions/app.Response'
  22510. security:
  22511. - ApiKeyAuth: []
  22512. summary: 查询审核设置
  22513. tags:
  22514. - 企业风险管理v3(app)
  22515. /Ermcp3/QueryPaAreaSubject:
  22516. get:
  22517. parameters:
  22518. - description: 用户id
  22519. in: query
  22520. name: userid
  22521. required: true
  22522. type: integer
  22523. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22524. in: query
  22525. name: subjectid
  22526. type: integer
  22527. - description: 主体类型 - 1:交易主体 2:业务部门
  22528. in: query
  22529. name: subjecttype
  22530. type: integer
  22531. - description: '主体状态 - 1:正常 2: 停用'
  22532. in: query
  22533. name: subjectstatus
  22534. type: integer
  22535. produces:
  22536. - application/json
  22537. responses:
  22538. "200":
  22539. description: OK
  22540. schema:
  22541. items:
  22542. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22543. type: array
  22544. "500":
  22545. description: Internal Server Error
  22546. schema:
  22547. $ref: '#/definitions/app.Response'
  22548. security:
  22549. - ApiKeyAuth: []
  22550. summary: 查询交易主体
  22551. tags:
  22552. - 企业风险管理v3(app)
  22553. /Ermcp3/QueryPaTradeLink:
  22554. get:
  22555. description: 页面 app 现货->期现关联->期现单据关联
  22556. parameters:
  22557. - description: 用户ID
  22558. in: query
  22559. name: userid
  22560. required: true
  22561. type: integer
  22562. produces:
  22563. - application/json
  22564. responses:
  22565. "200":
  22566. description: OK
  22567. schema:
  22568. items:
  22569. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22570. type: array
  22571. "500":
  22572. description: Internal Server Error
  22573. schema:
  22574. $ref: '#/definitions/app.Response'
  22575. security:
  22576. - ApiKeyAuth: []
  22577. summary: 查询期现单据关联
  22578. tags:
  22579. - 企业风险管理v3(app)
  22580. /Ermcp3/QueryPaTradeLinkDetail:
  22581. get:
  22582. description: 页面 app 现货->期现关联->关联记录
  22583. parameters:
  22584. - description: 用户ID(填登录用户的userid)
  22585. in: query
  22586. name: userid
  22587. required: true
  22588. type: integer
  22589. - description: 关联状态 1:成功 2:失败 3:解绑
  22590. in: query
  22591. name: linkstatus
  22592. type: integer
  22593. - description: 期货订单号(模糊匹配)
  22594. in: query
  22595. name: tradeid
  22596. type: string
  22597. - description: 现货编号(模糊匹配)
  22598. in: query
  22599. name: contractno
  22600. type: string
  22601. - description: 期货账户(模糊匹配)
  22602. in: query
  22603. name: taname
  22604. type: string
  22605. produces:
  22606. - application/json
  22607. responses:
  22608. "200":
  22609. description: OK
  22610. schema:
  22611. items:
  22612. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22613. type: array
  22614. "500":
  22615. description: Internal Server Error
  22616. schema:
  22617. $ref: '#/definitions/app.Response'
  22618. security:
  22619. - ApiKeyAuth: []
  22620. summary: 查询期现关联记录
  22621. tags:
  22622. - 企业风险管理v3(app)
  22623. /Ermcp3/QueryParamChangeApp:
  22624. get:
  22625. description: |-
  22626. 原型页面:
  22627. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22628. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22629. parameters:
  22630. - description: 用户ID
  22631. in: query
  22632. name: userid
  22633. required: true
  22634. type: integer
  22635. - description: 现货品种id
  22636. in: query
  22637. name: deliverygoodsid
  22638. type: integer
  22639. - description: 现货商品id
  22640. in: query
  22641. name: wrstandardid
  22642. type: integer
  22643. - description: 套保商品id
  22644. in: query
  22645. name: middlegoodsid
  22646. type: integer
  22647. - description: 操作类型 1:新增 2:修改
  22648. in: query
  22649. name: operatetype
  22650. type: integer
  22651. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22652. in: query
  22653. name: paramchangetype
  22654. type: integer
  22655. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22656. in: query
  22657. name: ftstatus
  22658. type: string
  22659. produces:
  22660. - application/json
  22661. responses:
  22662. "200":
  22663. description: OK
  22664. schema:
  22665. items:
  22666. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22667. type: array
  22668. "500":
  22669. description: Internal Server Error
  22670. schema:
  22671. $ref: '#/definitions/app.Response'
  22672. security:
  22673. - ApiKeyAuth: []
  22674. summary: 查询现货商品参数变更申请(流水)
  22675. tags:
  22676. - 企业风险管理v3(app)
  22677. /Ermcp3/QueryRootUserAccount:
  22678. get:
  22679. parameters:
  22680. - description: 用户ID
  22681. in: query
  22682. name: userid
  22683. required: true
  22684. type: integer
  22685. produces:
  22686. - application/json
  22687. responses:
  22688. "200":
  22689. description: OK
  22690. schema:
  22691. items:
  22692. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22693. type: array
  22694. "500":
  22695. description: Internal Server Error
  22696. schema:
  22697. $ref: '#/definitions/app.Response'
  22698. security:
  22699. - ApiKeyAuth: []
  22700. summary: 查询顶级用户信息
  22701. tags:
  22702. - 企业风险管理v3(app)
  22703. /Ermcp3/QuerySCMiddleGoods:
  22704. get:
  22705. description: |-
  22706. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22707. 现货编号 即 合同编号
  22708. parameters:
  22709. - description: 用户ID(填登录用户的userid)
  22710. in: query
  22711. name: userid
  22712. required: true
  22713. type: integer
  22714. - description: 买卖方向 0-买 1-卖
  22715. in: query
  22716. name: buyorsell
  22717. required: true
  22718. type: integer
  22719. - description: 商品组id
  22720. in: query
  22721. name: goodsgroupid
  22722. required: true
  22723. type: integer
  22724. - description: 业务类型 1:套保 2:套利
  22725. in: query
  22726. name: biztype
  22727. type: integer
  22728. - description: 现货编号(模糊匹配)
  22729. in: query
  22730. name: contractno
  22731. type: string
  22732. - description: 对手方(模糊匹配)
  22733. in: query
  22734. name: customername
  22735. type: string
  22736. - description: 现货商品名称(模糊匹配)
  22737. in: query
  22738. name: wrstandardname
  22739. type: string
  22740. produces:
  22741. - application/json
  22742. responses:
  22743. "200":
  22744. description: OK
  22745. schema:
  22746. items:
  22747. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22748. type: array
  22749. "500":
  22750. description: Internal Server Error
  22751. schema:
  22752. $ref: '#/definitions/app.Response'
  22753. security:
  22754. - ApiKeyAuth: []
  22755. summary: 查询现货订单
  22756. tags:
  22757. - 企业风险管理v3(app)
  22758. /Ermcp3/QuerySpotContract:
  22759. get:
  22760. parameters:
  22761. - description: 用户id(当指定contractid, userid可不填)
  22762. in: query
  22763. name: userid
  22764. required: true
  22765. type: integer
  22766. - description: 用户类型 2-机构 7-企业成员
  22767. in: query
  22768. name: usertype
  22769. type: integer
  22770. - description: 合同类型 1-采购, -1-销售
  22771. in: query
  22772. name: contracttype
  22773. type: integer
  22774. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22775. in: query
  22776. name: querytype
  22777. type: string
  22778. - description: 合同ID(SpotContractId)
  22779. in: query
  22780. name: contractid
  22781. type: string
  22782. - description: 合同编号(模糊匹配)
  22783. in: query
  22784. name: contractno
  22785. type: string
  22786. - description: 商品名称(模糊匹配)
  22787. in: query
  22788. name: wrstandardname
  22789. type: string
  22790. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22791. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22792. in: query
  22793. name: status
  22794. type: string
  22795. - description: 是否只查今日的合同 1-查今日合同
  22796. in: query
  22797. name: istoday
  22798. type: integer
  22799. produces:
  22800. - application/json
  22801. responses:
  22802. "200":
  22803. description: OK
  22804. schema:
  22805. items:
  22806. $ref: '#/definitions/models.Ermcp3Contract'
  22807. type: array
  22808. "500":
  22809. description: Internal Server Error
  22810. schema:
  22811. $ref: '#/definitions/app.Response'
  22812. security:
  22813. - ApiKeyAuth: []
  22814. summary: 查询现货合同
  22815. tags:
  22816. - 企业风险管理v3(app)
  22817. /Ermcp3/QuerySpotContractBS:
  22818. get:
  22819. parameters:
  22820. - description: 用户id
  22821. in: query
  22822. name: userid
  22823. required: true
  22824. type: integer
  22825. - description: 用户类型 2-机构 7-企业成员
  22826. in: query
  22827. name: usertype
  22828. type: integer
  22829. - description: 合同类型 1-采购, -1-销售
  22830. in: query
  22831. name: contracttype
  22832. required: true
  22833. type: integer
  22834. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22835. in: query
  22836. name: querytype
  22837. type: integer
  22838. - description: 合同ID(SpotContractId)
  22839. in: query
  22840. name: contractid
  22841. type: string
  22842. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22843. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22844. in: query
  22845. name: status
  22846. type: string
  22847. - description: 是否只查今日的合同 1-查今日合同
  22848. in: query
  22849. name: istoday
  22850. type: integer
  22851. produces:
  22852. - application/json
  22853. responses:
  22854. "200":
  22855. description: OK
  22856. schema:
  22857. items:
  22858. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22859. type: array
  22860. "500":
  22861. description: Internal Server Error
  22862. schema:
  22863. $ref: '#/definitions/app.Response'
  22864. security:
  22865. - ApiKeyAuth: []
  22866. summary: 查询合同(采购/销售)
  22867. tags:
  22868. - 企业风险管理v3(app)
  22869. /Ermcp3/QuerySpotGoodsPrice:
  22870. get:
  22871. parameters:
  22872. - description: 用户ID
  22873. in: query
  22874. name: userid
  22875. required: true
  22876. type: integer
  22877. produces:
  22878. - application/json
  22879. responses:
  22880. "200":
  22881. description: OK
  22882. schema:
  22883. items:
  22884. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22885. type: array
  22886. "500":
  22887. description: Internal Server Error
  22888. schema:
  22889. $ref: '#/definitions/app.Response'
  22890. security:
  22891. - ApiKeyAuth: []
  22892. summary: 查询现货市价(现货市价)
  22893. tags:
  22894. - 企业风险管理v3(app)
  22895. /Ermcp3/QuerySpotGoodsPriceLog:
  22896. get:
  22897. parameters:
  22898. - description: 用户ID
  22899. in: query
  22900. name: userid
  22901. required: true
  22902. type: integer
  22903. - description: 现货商品ID
  22904. in: query
  22905. name: deliverygoodsid
  22906. required: true
  22907. type: integer
  22908. - description: 品牌ID
  22909. in: query
  22910. name: brandid
  22911. type: integer
  22912. - description: 品类ID
  22913. in: query
  22914. name: wrstandardid
  22915. type: integer
  22916. produces:
  22917. - application/json
  22918. responses:
  22919. "200":
  22920. description: OK
  22921. schema:
  22922. items:
  22923. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22924. type: array
  22925. "500":
  22926. description: Internal Server Error
  22927. schema:
  22928. $ref: '#/definitions/app.Response'
  22929. security:
  22930. - ApiKeyAuth: []
  22931. summary: 查询现货市价详情(现货市价/详情)
  22932. tags:
  22933. - 企业风险管理v3(app)
  22934. /Ermcp3/QuerySubTaaccount:
  22935. get:
  22936. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22937. parameters:
  22938. - description: 母账号id
  22939. in: query
  22940. name: parentaccountid
  22941. type: integer
  22942. - description: 母账号代码
  22943. in: query
  22944. name: parentaccountcode
  22945. type: string
  22946. produces:
  22947. - application/json
  22948. responses:
  22949. "200":
  22950. description: OK
  22951. schema:
  22952. items:
  22953. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22954. type: array
  22955. "500":
  22956. description: Internal Server Error
  22957. schema:
  22958. $ref: '#/definitions/app.Response'
  22959. security:
  22960. - ApiKeyAuth: []
  22961. summary: 查询期货子账户
  22962. tags:
  22963. - 企业风险管理v3(app)
  22964. /Erms2/QueryArbitrageStrategy:
  22965. get:
  22966. parameters:
  22967. - description: 账户ID
  22968. in: query
  22969. name: userid
  22970. required: true
  22971. type: integer
  22972. - description: 商品组ID(品种ID)
  22973. in: query
  22974. name: goodsgroupid
  22975. type: string
  22976. produces:
  22977. - application/json
  22978. responses:
  22979. "200":
  22980. description: OK
  22981. schema:
  22982. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22990. tags:
  22991. - 风险管理
  22992. /Erms2/QueryInnerTradeDetail:
  22993. get:
  22994. parameters:
  22995. - description: 资金账户
  22996. in: query
  22997. name: accountid
  22998. required: true
  22999. type: integer
  23000. produces:
  23001. - application/json
  23002. responses:
  23003. "200":
  23004. description: OK
  23005. schema:
  23006. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23007. "500":
  23008. description: Internal Server Error
  23009. schema:
  23010. $ref: '#/definitions/app.Response'
  23011. security:
  23012. - ApiKeyAuth: []
  23013. summary: 查询内部成交单信息
  23014. tags:
  23015. - 风险管理
  23016. /Erms2/QuerySpotContract:
  23017. get:
  23018. parameters:
  23019. - description: 策略申请ID
  23020. in: query
  23021. name: asapplyid
  23022. required: true
  23023. type: integer
  23024. - description: 现货合同ID
  23025. in: query
  23026. name: spotcontractid
  23027. type: integer
  23028. produces:
  23029. - application/json
  23030. responses:
  23031. "200":
  23032. description: OK
  23033. schema:
  23034. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23035. "500":
  23036. description: Internal Server Error
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. security:
  23040. - ApiKeyAuth: []
  23041. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23042. tags:
  23043. - 风险管理
  23044. /Erms3/AddErms2ASApply:
  23045. post:
  23046. parameters:
  23047. - description: 申请参数
  23048. in: body
  23049. name: jsonBody
  23050. required: true
  23051. schema:
  23052. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23053. produces:
  23054. - application/json
  23055. responses:
  23056. "200":
  23057. description: OK
  23058. schema:
  23059. $ref: '#/definitions/app.Response'
  23060. "500":
  23061. description: Internal Server Error
  23062. schema:
  23063. $ref: '#/definitions/app.Response'
  23064. security:
  23065. - ApiKeyAuth: []
  23066. summary: 新增期现套利业务申请
  23067. tags:
  23068. - 风险管理v3
  23069. /Erms3/AddErms2SpotTradeApply:
  23070. post:
  23071. parameters:
  23072. - description: 申请参数
  23073. in: body
  23074. name: jsonBody
  23075. required: true
  23076. schema:
  23077. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23078. produces:
  23079. - application/json
  23080. responses:
  23081. "200":
  23082. description: OK
  23083. schema:
  23084. $ref: '#/definitions/app.Response'
  23085. "500":
  23086. description: Internal Server Error
  23087. schema:
  23088. $ref: '#/definitions/app.Response'
  23089. security:
  23090. - ApiKeyAuth: []
  23091. summary: 新增现货贸易业务申请
  23092. tags:
  23093. - 风险管理v3
  23094. /Erms3/AddSpotContractApply:
  23095. post:
  23096. parameters:
  23097. - description: 申请参数
  23098. in: body
  23099. name: jsonBody
  23100. required: true
  23101. schema:
  23102. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23103. produces:
  23104. - application/json
  23105. responses:
  23106. "200":
  23107. description: OK
  23108. schema:
  23109. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 新增现货合同申请
  23117. tags:
  23118. - 风险管理v3
  23119. /Erms3/AddUserInfoApply:
  23120. post:
  23121. parameters:
  23122. - description: 用户信息
  23123. in: body
  23124. name: jsonBody
  23125. required: true
  23126. schema:
  23127. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23128. produces:
  23129. - application/json
  23130. responses:
  23131. "200":
  23132. description: OK
  23133. schema:
  23134. $ref: '#/definitions/app.Response'
  23135. "500":
  23136. description: Internal Server Error
  23137. schema:
  23138. $ref: '#/definitions/app.Response'
  23139. security:
  23140. - ApiKeyAuth: []
  23141. summary: 新增客户申请
  23142. tags:
  23143. - 风险管理v3
  23144. /Erms3/DeleteUserInfoApply:
  23145. get:
  23146. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23147. parameters:
  23148. - description: 用户ID
  23149. in: query
  23150. name: userID
  23151. required: true
  23152. type: integer
  23153. produces:
  23154. - application/json
  23155. responses:
  23156. "200":
  23157. description: OK
  23158. schema:
  23159. $ref: '#/definitions/app.Response'
  23160. "500":
  23161. description: Internal Server Error
  23162. schema:
  23163. $ref: '#/definitions/app.Response'
  23164. security:
  23165. - ApiKeyAuth: []
  23166. summary: 删除客户申请
  23167. tags:
  23168. - 风险管理v3
  23169. /Erms3/ModifyUserInfoApply:
  23170. post:
  23171. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23172. int, "userstate": 2 }'
  23173. parameters:
  23174. - description: 用户信息
  23175. in: body
  23176. name: jsonBody
  23177. required: true
  23178. schema:
  23179. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23180. produces:
  23181. - application/json
  23182. responses:
  23183. "200":
  23184. description: OK
  23185. schema:
  23186. $ref: '#/definitions/app.Response'
  23187. "500":
  23188. description: Internal Server Error
  23189. schema:
  23190. $ref: '#/definitions/app.Response'
  23191. security:
  23192. - ApiKeyAuth: []
  23193. summary: 修改客户申请
  23194. tags:
  23195. - 风险管理v3
  23196. /Erms3/QueryBusinessInfo:
  23197. get:
  23198. parameters:
  23199. - description: 资金账号ID列表,用逗号分隔
  23200. in: query
  23201. name: accountids
  23202. required: true
  23203. type: string
  23204. - description: 状态,0为未结束 1为已结束
  23205. in: query
  23206. name: status
  23207. required: true
  23208. type: integer
  23209. produces:
  23210. - application/json
  23211. responses:
  23212. "200":
  23213. description: OK
  23214. schema:
  23215. items:
  23216. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23217. type: array
  23218. "500":
  23219. description: Internal Server Error
  23220. schema:
  23221. $ref: '#/definitions/app.Response'
  23222. security:
  23223. - ApiKeyAuth: []
  23224. summary: 查询业务表单数据
  23225. tags:
  23226. - 风险管理v3
  23227. /Erms3/QueryPendingAuditContract:
  23228. get:
  23229. parameters:
  23230. - description: 资金账号ID列表,逗号隔开
  23231. in: query
  23232. name: accountids
  23233. required: true
  23234. type: string
  23235. - description: 合同类型 1-采购 -1-销售
  23236. in: query
  23237. name: contracttype
  23238. required: true
  23239. type: integer
  23240. - description: 合同模式 1-普通 2-回购
  23241. in: query
  23242. name: contractmode
  23243. required: true
  23244. type: integer
  23245. produces:
  23246. - application/json
  23247. responses:
  23248. "200":
  23249. description: OK
  23250. schema:
  23251. items:
  23252. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23253. type: array
  23254. "500":
  23255. description: Internal Server Error
  23256. schema:
  23257. $ref: '#/definitions/app.Response'
  23258. security:
  23259. - ApiKeyAuth: []
  23260. summary: 查询待审核合同
  23261. tags:
  23262. - 风险管理v3
  23263. /Erms3/QueryPendingBusiness:
  23264. get:
  23265. parameters:
  23266. - description: 资金账号ID列表,逗号隔开
  23267. in: query
  23268. name: accountids
  23269. required: true
  23270. type: string
  23271. produces:
  23272. - application/json
  23273. responses:
  23274. "200":
  23275. description: OK
  23276. schema:
  23277. items:
  23278. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23279. type: array
  23280. "500":
  23281. description: Internal Server Error
  23282. schema:
  23283. $ref: '#/definitions/app.Response'
  23284. security:
  23285. - ApiKeyAuth: []
  23286. summary: 查询待审核基差贸易业务
  23287. tags:
  23288. - 风险管理v3
  23289. /Erms3/QuerySpotContractAppleForm:
  23290. get:
  23291. parameters:
  23292. - description: 登录账号
  23293. in: query
  23294. name: loginID
  23295. required: true
  23296. type: integer
  23297. produces:
  23298. - application/json
  23299. responses:
  23300. "200":
  23301. description: OK
  23302. schema:
  23303. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23304. "500":
  23305. description: Internal Server Error
  23306. schema:
  23307. $ref: '#/definitions/app.Response'
  23308. security:
  23309. - ApiKeyAuth: []
  23310. summary: 查询合同申请表单数据
  23311. tags:
  23312. - 风险管理v3
  23313. /Erms3/QuerySpotContractDetail:
  23314. get:
  23315. parameters:
  23316. - description: 资金账号ID列表,用逗号分隔
  23317. in: query
  23318. name: accountids
  23319. required: true
  23320. type: string
  23321. - description: 合同类型,1为采购合同 -1为销售合同
  23322. in: query
  23323. name: contracttype
  23324. required: true
  23325. type: integer
  23326. - description: 合同模式,1为普通合同 2为回购销售合同
  23327. in: query
  23328. name: contractmode
  23329. required: true
  23330. type: integer
  23331. - description: 状态,0为履约中 1为已完成
  23332. in: query
  23333. name: status
  23334. required: true
  23335. type: integer
  23336. produces:
  23337. - application/json
  23338. responses:
  23339. "200":
  23340. description: OK
  23341. schema:
  23342. items:
  23343. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23344. type: array
  23345. "500":
  23346. description: Internal Server Error
  23347. schema:
  23348. $ref: '#/definitions/app.Response'
  23349. security:
  23350. - ApiKeyAuth: []
  23351. summary: 查询合同详细信息
  23352. tags:
  23353. - 风险管理v3
  23354. /Erms3/QueryUserInfoApplies:
  23355. get:
  23356. parameters:
  23357. - description: 页码
  23358. in: query
  23359. name: page
  23360. type: integer
  23361. - description: 每页条数
  23362. in: query
  23363. name: pagesize
  23364. type: integer
  23365. - description: 客户名称,支持模糊查询
  23366. in: query
  23367. name: userName
  23368. type: string
  23369. produces:
  23370. - application/json
  23371. responses:
  23372. "200":
  23373. description: OK
  23374. schema:
  23375. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23376. "500":
  23377. description: Internal Server Error
  23378. schema:
  23379. $ref: '#/definitions/app.Response'
  23380. security:
  23381. - ApiKeyAuth: []
  23382. summary: 客户申请信息查询
  23383. tags:
  23384. - 风险管理v3
  23385. /Erms3/QueryUserInfos:
  23386. get:
  23387. parameters:
  23388. - description: 页码
  23389. in: query
  23390. name: page
  23391. type: integer
  23392. - description: 每页条数
  23393. in: query
  23394. name: pagesize
  23395. type: integer
  23396. - description: 客户名称,支持模糊查询
  23397. in: query
  23398. name: userName
  23399. type: string
  23400. produces:
  23401. - application/json
  23402. responses:
  23403. "200":
  23404. description: OK
  23405. schema:
  23406. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23407. "500":
  23408. description: Internal Server Error
  23409. schema:
  23410. $ref: '#/definitions/app.Response'
  23411. security:
  23412. - ApiKeyAuth: []
  23413. summary: 客户信息查询
  23414. tags:
  23415. - 风险管理v3
  23416. /HSBY/GetHsbyMyCount:
  23417. get:
  23418. description: 说明: 不包括已完成的数量。
  23419. parameters:
  23420. - description: 资金账户列表,格式:1,2,3
  23421. in: query
  23422. name: accountIDs
  23423. required: true
  23424. type: string
  23425. produces:
  23426. - application/json
  23427. responses:
  23428. "200":
  23429. description: OK
  23430. schema:
  23431. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23432. "500":
  23433. description: Internal Server Error
  23434. schema:
  23435. $ref: '#/definitions/app.Response'
  23436. security:
  23437. - ApiKeyAuth: []
  23438. summary: 获取我的订单与包裹数量
  23439. tags:
  23440. - 定制【海商报业】
  23441. /HSBY/QueryClientFixedADConfigs:
  23442. get:
  23443. produces:
  23444. - application/json
  23445. responses:
  23446. "200":
  23447. description: OK
  23448. schema:
  23449. $ref: '#/definitions/models.Clientfixedadconfig'
  23450. "500":
  23451. description: Internal Server Error
  23452. schema:
  23453. $ref: '#/definitions/app.Response'
  23454. security:
  23455. - ApiKeyAuth: []
  23456. summary: 获取终端固定广告配置
  23457. tags:
  23458. - 定制【海商报业】
  23459. /HSBY/QueryHsbyBuyMyTradeDetail:
  23460. get:
  23461. parameters:
  23462. - description: 页码
  23463. in: query
  23464. name: page
  23465. type: integer
  23466. - description: 每页条数
  23467. in: query
  23468. name: pagesize
  23469. type: integer
  23470. - description: 资金账户列表,格式:1,2,3
  23471. in: query
  23472. name: accountIDs
  23473. required: true
  23474. type: string
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23482. "500":
  23483. description: Internal Server Error
  23484. schema:
  23485. $ref: '#/definitions/app.Response'
  23486. security:
  23487. - ApiKeyAuth: []
  23488. summary: 查询"我的订单 - 已完成"单据信息
  23489. tags:
  23490. - 定制【海商报业】
  23491. /HSBY/QueryHsbyGoodsOrderDetails:
  23492. get:
  23493. description: 说明:查询结果已按委托价格和委托时间排序
  23494. parameters:
  23495. - description: 商品ID
  23496. in: query
  23497. name: goodsID
  23498. required: true
  23499. type: integer
  23500. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23501. in: query
  23502. name: accountIDs
  23503. type: string
  23504. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23505. in: query
  23506. name: buyOrSell
  23507. type: integer
  23508. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23509. in: query
  23510. name: price
  23511. type: number
  23512. - description: 档位,不传则默认为3档
  23513. in: query
  23514. name: speed
  23515. type: integer
  23516. produces:
  23517. - application/json
  23518. responses:
  23519. "200":
  23520. description: OK
  23521. schema:
  23522. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23523. "500":
  23524. description: Internal Server Error
  23525. schema:
  23526. $ref: '#/definitions/app.Response'
  23527. security:
  23528. - ApiKeyAuth: []
  23529. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23530. tags:
  23531. - 定制【海商报业】
  23532. /HSBY/QueryHsbyListingGoodsDetail:
  23533. get:
  23534. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23535. parameters:
  23536. - description: 商品ID
  23537. in: query
  23538. name: goodsID
  23539. required: true
  23540. type: integer
  23541. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23542. in: query
  23543. name: accountID
  23544. type: integer
  23545. produces:
  23546. - application/json
  23547. responses:
  23548. "200":
  23549. description: OK
  23550. schema:
  23551. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23552. "500":
  23553. description: Internal Server Error
  23554. schema:
  23555. $ref: '#/definitions/app.Response'
  23556. security:
  23557. - ApiKeyAuth: []
  23558. summary: 查询二级市场(挂牌点选)商品信息详情
  23559. tags:
  23560. - 定制【海商报业】
  23561. /HSBY/QueryHsbyMarketGoodsDetail:
  23562. get:
  23563. parameters:
  23564. - description: 委托单号
  23565. in: query
  23566. name: orderID
  23567. required: true
  23568. type: integer
  23569. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23570. in: query
  23571. name: accountID
  23572. type: integer
  23573. produces:
  23574. - application/json
  23575. responses:
  23576. "200":
  23577. description: OK
  23578. schema:
  23579. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23580. "500":
  23581. description: Internal Server Error
  23582. schema:
  23583. $ref: '#/definitions/app.Response'
  23584. security:
  23585. - ApiKeyAuth: []
  23586. summary: 查询三级市场(商城)商品信息详情
  23587. tags:
  23588. - 定制【海商报业】
  23589. /HSBY/QueryHsbyMarketGoodses:
  23590. get:
  23591. parameters:
  23592. - description: 页码
  23593. in: query
  23594. name: page
  23595. type: integer
  23596. - description: 每页条数
  23597. in: query
  23598. name: pagesize
  23599. type: integer
  23600. - description: 市场ID列表,格式:1,2,3
  23601. in: query
  23602. name: marketIDs
  23603. required: true
  23604. type: string
  23605. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23606. in: query
  23607. name: accountID
  23608. required: true
  23609. type: integer
  23610. - description: 类别ID
  23611. in: query
  23612. name: categoryID
  23613. type: integer
  23614. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23615. in: query
  23616. name: goodsIDs
  23617. type: string
  23618. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23619. in: query
  23620. name: couponTypeID
  23621. type: integer
  23622. produces:
  23623. - application/json
  23624. responses:
  23625. "200":
  23626. description: OK
  23627. schema:
  23628. $ref: '#/definitions/models.HsbyMarketGoods'
  23629. "500":
  23630. description: Internal Server Error
  23631. schema:
  23632. $ref: '#/definitions/app.Response'
  23633. security:
  23634. - ApiKeyAuth: []
  23635. summary: 查询特卖商品列表(三级商城)
  23636. tags:
  23637. - 定制【海商报业】
  23638. /HSBY/QueryHsbyMarkets:
  23639. get:
  23640. produces:
  23641. - application/json
  23642. responses:
  23643. "200":
  23644. description: OK
  23645. schema:
  23646. $ref: '#/definitions/models.HsbyMarketInfo'
  23647. "500":
  23648. description: Internal Server Error
  23649. schema:
  23650. $ref: '#/definitions/app.Response'
  23651. security:
  23652. - ApiKeyAuth: []
  23653. summary: 查询海商报业相关市场信息
  23654. tags:
  23655. - 定制【海商报业】
  23656. /HSBY/QueryHsbyMyBuyOrderDetails:
  23657. get:
  23658. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23659. parameters:
  23660. - description: 资金账户列表,格式:1,2,3
  23661. in: query
  23662. name: accountIDs
  23663. required: true
  23664. type: string
  23665. produces:
  23666. - application/json
  23667. responses:
  23668. "200":
  23669. description: OK
  23670. schema:
  23671. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 查询“我的订单”信息
  23679. tags:
  23680. - 定制【海商报业】
  23681. /HSBY/QueryHsbyMyGoods:
  23682. get:
  23683. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23684. parameters:
  23685. - description: 资金账户列表,格式:1,2,3
  23686. in: query
  23687. name: accountIDs
  23688. required: true
  23689. type: string
  23690. produces:
  23691. - application/json
  23692. responses:
  23693. "200":
  23694. description: OK
  23695. schema:
  23696. $ref: '#/definitions/models.HsbyMyGoods'
  23697. "500":
  23698. description: Internal Server Error
  23699. schema:
  23700. $ref: '#/definitions/app.Response'
  23701. security:
  23702. - ApiKeyAuth: []
  23703. summary: 查询“我的商品”信息
  23704. tags:
  23705. - 定制【海商报业】
  23706. /HSBY/QueryHsbyMyPackages:
  23707. get:
  23708. parameters:
  23709. - description: 资金账户列表,格式:1,2,3
  23710. in: query
  23711. name: accountIDs
  23712. required: true
  23713. type: string
  23714. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23715. in: query
  23716. name: takeOrderStatus
  23717. type: integer
  23718. produces:
  23719. - application/json
  23720. responses:
  23721. "200":
  23722. description: OK
  23723. schema:
  23724. $ref: '#/definitions/models.HsbyMyPackage'
  23725. "500":
  23726. description: Internal Server Error
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. security:
  23730. - ApiKeyAuth: []
  23731. summary: 查询我的包裹信息
  23732. tags:
  23733. - 定制【海商报业】
  23734. /HSBY/QueryHsbyPreGoodsDetail:
  23735. get:
  23736. parameters:
  23737. - description: 商品ID
  23738. in: query
  23739. name: goodsID
  23740. required: true
  23741. type: integer
  23742. - description: 资金账户,主要用于获取预售商品购买上限
  23743. in: query
  23744. name: accountID
  23745. type: integer
  23746. produces:
  23747. - application/json
  23748. responses:
  23749. "200":
  23750. description: OK
  23751. schema:
  23752. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23753. "500":
  23754. description: Internal Server Error
  23755. schema:
  23756. $ref: '#/definitions/app.Response'
  23757. security:
  23758. - ApiKeyAuth: []
  23759. summary: 查询一级市场(预售)商品信息详情
  23760. tags:
  23761. - 定制【海商报业】
  23762. /HSBY/QueryHsbyPreGoodses:
  23763. get:
  23764. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23765. parameters:
  23766. - description: 页码
  23767. in: query
  23768. name: page
  23769. type: integer
  23770. - description: 每页条数
  23771. in: query
  23772. name: pagesize
  23773. type: integer
  23774. - description: 市场ID列表,格式:1,2,3
  23775. in: query
  23776. name: marketIDs
  23777. required: true
  23778. type: string
  23779. - description: 目的地(省)ID
  23780. in: query
  23781. name: descProvinceID
  23782. type: integer
  23783. - description: 目的地(市)ID
  23784. in: query
  23785. name: descCityID
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. $ref: '#/definitions/models.HsbyPreGoods'
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 查询新品上市商品列表(一级市场预售)
  23801. tags:
  23802. - 定制【海商报业】
  23803. /HSBY/QueryHsbySellMyDetails:
  23804. get:
  23805. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23806. parameters:
  23807. - description: 页码
  23808. in: query
  23809. name: page
  23810. type: integer
  23811. - description: 每页条数
  23812. in: query
  23813. name: pagesize
  23814. type: integer
  23815. - description: 资金账户列表,格式:1,2,3
  23816. in: query
  23817. name: accountIDs
  23818. required: true
  23819. type: string
  23820. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23821. in: query
  23822. name: orderType
  23823. type: integer
  23824. produces:
  23825. - application/json
  23826. responses:
  23827. "200":
  23828. description: OK
  23829. schema:
  23830. $ref: '#/definitions/models.HsbySellMyDetail'
  23831. "500":
  23832. description: Internal Server Error
  23833. schema:
  23834. $ref: '#/definitions/app.Response'
  23835. security:
  23836. - ApiKeyAuth: []
  23837. summary: 查询"我的闲置"单据信息
  23838. tags:
  23839. - 定制【海商报业】
  23840. /HSBY/QueryHsbyTopGoodses:
  23841. get:
  23842. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23843. parameters:
  23844. - description: 页码
  23845. in: query
  23846. name: page
  23847. type: integer
  23848. - description: 每页条数
  23849. in: query
  23850. name: pagesize
  23851. type: integer
  23852. - description: 市场ID列表,格式:1,2,3
  23853. in: query
  23854. name: marketIDs
  23855. required: true
  23856. type: string
  23857. - description: 目的地(省)ID
  23858. in: query
  23859. name: descProvinceID
  23860. type: integer
  23861. - description: 目的地(市)ID
  23862. in: query
  23863. name: descCityID
  23864. type: integer
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. $ref: '#/definitions/models.HsbyTopGoods'
  23872. "500":
  23873. description: Internal Server Error
  23874. schema:
  23875. $ref: '#/definitions/app.Response'
  23876. security:
  23877. - ApiKeyAuth: []
  23878. summary: 查询热卖商品列表(二级市场挂牌点选)
  23879. tags:
  23880. - 定制【海商报业】
  23881. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23882. get:
  23883. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23884. parameters:
  23885. - description: 商品ID
  23886. in: query
  23887. name: goodsID
  23888. required: true
  23889. type: integer
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23897. "500":
  23898. description: Internal Server Error
  23899. schema:
  23900. $ref: '#/definitions/app.Response'
  23901. security:
  23902. - ApiKeyAuth: []
  23903. summary: 查询游客三级市场(商城)商品信息详情
  23904. tags:
  23905. - 定制【海商报业】
  23906. /HSBY/QueryHsbyVisitorMarketGoodses:
  23907. get:
  23908. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23909. parameters:
  23910. - description: 页码
  23911. in: query
  23912. name: page
  23913. type: integer
  23914. - description: 每页条数
  23915. in: query
  23916. name: pagesize
  23917. type: integer
  23918. - description: 市场ID列表,格式:1,2,3
  23919. in: query
  23920. name: marketIDs
  23921. required: true
  23922. type: string
  23923. - description: 类别ID
  23924. in: query
  23925. name: categoryID
  23926. type: integer
  23927. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23928. in: query
  23929. name: goodsIDs
  23930. type: string
  23931. produces:
  23932. - application/json
  23933. responses:
  23934. "200":
  23935. description: OK
  23936. schema:
  23937. $ref: '#/definitions/models.HsbyMarketGoods'
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. summary: 查询游客特卖商品列表(三级商城)
  23945. tags:
  23946. - 定制【海商报业】
  23947. /HSBY/QueryMyCollectionOrders:
  23948. get:
  23949. parameters:
  23950. - description: 页码
  23951. in: query
  23952. name: page
  23953. type: integer
  23954. - description: 每页条数
  23955. in: query
  23956. name: pagesize
  23957. type: integer
  23958. - description: 资金账户,格式:1,2,3
  23959. in: query
  23960. name: accountIDs
  23961. required: true
  23962. type: string
  23963. produces:
  23964. - application/json
  23965. responses:
  23966. "200":
  23967. description: OK
  23968. schema:
  23969. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23970. "500":
  23971. description: Internal Server Error
  23972. schema:
  23973. $ref: '#/definitions/app.Response'
  23974. security:
  23975. - ApiKeyAuth: []
  23976. summary: 我的闲置中收款信息查询
  23977. tags:
  23978. - 定制【海商报业】
  23979. /HSBY/QueryMyCouponHolds:
  23980. get:
  23981. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23982. parameters:
  23983. - description: 资金账户列表,格式:1,2,3
  23984. in: query
  23985. name: accountIDs
  23986. required: true
  23987. type: string
  23988. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23989. in: query
  23990. name: holdStatus
  23991. type: string
  23992. produces:
  23993. - application/json
  23994. responses:
  23995. "200":
  23996. description: OK
  23997. schema:
  23998. $ref: '#/definitions/models.MyCouponHold'
  23999. "500":
  24000. description: Internal Server Error
  24001. schema:
  24002. $ref: '#/definitions/app.Response'
  24003. security:
  24004. - ApiKeyAuth: []
  24005. summary: 我的优惠卷持仓查询
  24006. tags:
  24007. - 定制【海商报业】
  24008. /HSBY/QueryMyCoupons:
  24009. get:
  24010. parameters:
  24011. - description: 资金账户列表,格式:1,2,3
  24012. in: query
  24013. name: accountIDs
  24014. required: true
  24015. type: string
  24016. - description: 商品ID, 一般与sellUserID配套传入
  24017. in: query
  24018. name: goodsID
  24019. type: integer
  24020. - description: 卖方UserID
  24021. in: query
  24022. name: sellUserID
  24023. type: integer
  24024. produces:
  24025. - application/json
  24026. responses:
  24027. "200":
  24028. description: OK
  24029. schema:
  24030. $ref: '#/definitions/models.MyCoupon'
  24031. "500":
  24032. description: Internal Server Error
  24033. schema:
  24034. $ref: '#/definitions/app.Response'
  24035. security:
  24036. - ApiKeyAuth: []
  24037. summary: 我的优惠卷查询
  24038. tags:
  24039. - 定制【海商报业】
  24040. /HSBY/QueryMyPayOrders:
  24041. get:
  24042. parameters:
  24043. - description: 页码
  24044. in: query
  24045. name: page
  24046. type: integer
  24047. - description: 每页条数
  24048. in: query
  24049. name: pagesize
  24050. type: integer
  24051. - description: 资金账户列表,格式:1,2,3
  24052. in: query
  24053. name: accountIDs
  24054. required: true
  24055. type: string
  24056. - description: 买方委托单号
  24057. in: query
  24058. name: buyOrderID
  24059. type: integer
  24060. - description: 卖方委托单号
  24061. in: query
  24062. name: sellOrderID
  24063. type: integer
  24064. produces:
  24065. - application/json
  24066. responses:
  24067. "200":
  24068. description: OK
  24069. schema:
  24070. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24071. "500":
  24072. description: Internal Server Error
  24073. schema:
  24074. $ref: '#/definitions/app.Response'
  24075. security:
  24076. - ApiKeyAuth: []
  24077. summary: 获取我的订单中待付款信息
  24078. tags:
  24079. - 定制【海商报业】
  24080. /HSBY/QueryMyUsedCoupon:
  24081. get:
  24082. parameters:
  24083. - description: 资金账户列表,格式:1,2,3
  24084. in: query
  24085. name: accountIDs
  24086. required: true
  24087. type: string
  24088. produces:
  24089. - application/json
  24090. responses:
  24091. "200":
  24092. description: OK
  24093. schema:
  24094. $ref: '#/definitions/models.MyUsedCoupon'
  24095. "500":
  24096. description: Internal Server Error
  24097. schema:
  24098. $ref: '#/definitions/app.Response'
  24099. security:
  24100. - ApiKeyAuth: []
  24101. summary: 已使用优惠卷查询
  24102. tags:
  24103. - 定制【海商报业】
  24104. /HSBY/QueryProvincesAndCities:
  24105. get:
  24106. description: 查询结果只包括二级市场商品已关连的省市信息。
  24107. parameters:
  24108. - description: 省ID
  24109. in: query
  24110. name: provinceID
  24111. type: integer
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24119. "500":
  24120. description: Internal Server Error
  24121. schema:
  24122. $ref: '#/definitions/app.Response'
  24123. security:
  24124. - ApiKeyAuth: []
  24125. summary: 查询省市信息(不包括区)
  24126. tags:
  24127. - 定制【海商报业】
  24128. /HSBY/SetHsbyMyPackagesStatus:
  24129. post:
  24130. parameters:
  24131. - description: 提货单号
  24132. in: query
  24133. name: takeOrderID
  24134. required: true
  24135. type: string
  24136. - description: 资金账号
  24137. in: query
  24138. name: accountID
  24139. required: true
  24140. type: integer
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. $ref: '#/definitions/app.Response'
  24148. "500":
  24149. description: Internal Server Error
  24150. schema:
  24151. $ref: '#/definitions/app.Response'
  24152. security:
  24153. - ApiKeyAuth: []
  24154. summary: 设置我的包裹已收货状态
  24155. tags:
  24156. - 定制【海商报业】
  24157. /Market/GetAllExExchanges:
  24158. get:
  24159. produces:
  24160. - application/json
  24161. responses:
  24162. "200":
  24163. description: OK
  24164. schema:
  24165. $ref: '#/definitions/models.Goods'
  24166. "500":
  24167. description: Internal Server Error
  24168. schema:
  24169. $ref: '#/definitions/app.Response'
  24170. security:
  24171. - ApiKeyAuth: []
  24172. summary: 获取所有外部交易所信息
  24173. tags:
  24174. - 通用市场
  24175. /Market/QueryGoodsesByLoginID:
  24176. get:
  24177. parameters:
  24178. - description: 登录账号
  24179. in: query
  24180. name: loginID
  24181. required: true
  24182. type: integer
  24183. - description: 市场ID列表,格式:1,2,3
  24184. in: query
  24185. name: marketIDs
  24186. type: string
  24187. produces:
  24188. - application/json
  24189. responses:
  24190. "200":
  24191. description: OK
  24192. schema:
  24193. $ref: '#/definitions/models.Goods'
  24194. "500":
  24195. description: Internal Server Error
  24196. schema:
  24197. $ref: '#/definitions/app.Response'
  24198. security:
  24199. - ApiKeyAuth: []
  24200. summary: 获取登录账号有权限的商品信息
  24201. tags:
  24202. - 通用市场
  24203. /Market/QueryMarketRun:
  24204. get:
  24205. parameters:
  24206. - description: 市场ID,不传返回所有
  24207. in: query
  24208. name: marketID
  24209. type: integer
  24210. produces:
  24211. - application/json
  24212. responses:
  24213. "200":
  24214. description: OK
  24215. schema:
  24216. $ref: '#/definitions/models.Marketrun'
  24217. "500":
  24218. description: Internal Server Error
  24219. schema:
  24220. $ref: '#/definitions/app.Response'
  24221. security:
  24222. - ApiKeyAuth: []
  24223. summary: 查询市场运行信息
  24224. tags:
  24225. - 通用市场
  24226. /Market/QueryMarketsByLoginID:
  24227. get:
  24228. parameters:
  24229. - description: 登录账号
  24230. in: query
  24231. name: loginID
  24232. required: true
  24233. type: integer
  24234. produces:
  24235. - application/json
  24236. responses:
  24237. "200":
  24238. description: OK
  24239. schema:
  24240. $ref: '#/definitions/models.Market'
  24241. "500":
  24242. description: Internal Server Error
  24243. schema:
  24244. $ref: '#/definitions/app.Response'
  24245. security:
  24246. - ApiKeyAuth: []
  24247. summary: 获取登录账号有权限的市场信息
  24248. tags:
  24249. - 通用市场
  24250. /Order/QueryHisTradeDetail:
  24251. get:
  24252. parameters:
  24253. - description: 资金账户 - 格式:1,2,3
  24254. in: query
  24255. name: accountID
  24256. required: true
  24257. type: string
  24258. - description: 成交单号
  24259. in: query
  24260. name: tradeID
  24261. type: integer
  24262. - description: 委托单号
  24263. in: query
  24264. name: orderID
  24265. type: integer
  24266. - description: 商品ID
  24267. in: query
  24268. name: goodsID
  24269. type: integer
  24270. - description: 交易模式 - 格式:1,2,3
  24271. in: query
  24272. name: tradeMode
  24273. type: string
  24274. - description: 委托单据类型
  24275. in: query
  24276. name: buildType
  24277. type: integer
  24278. - description: 成交类别 - 格式:1,2,3
  24279. in: query
  24280. name: tradeType
  24281. type: string
  24282. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24283. in: query
  24284. name: startDate
  24285. type: string
  24286. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24287. in: query
  24288. name: endDate
  24289. type: string
  24290. produces:
  24291. - application/json
  24292. responses:
  24293. "200":
  24294. description: OK
  24295. schema:
  24296. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24297. "500":
  24298. description: Internal Server Error
  24299. schema:
  24300. $ref: '#/definitions/app.Response'
  24301. security:
  24302. - ApiKeyAuth: []
  24303. summary: 历史成交单查询(合约市场)
  24304. tags:
  24305. - 通用单据
  24306. /Order/QueryHisTradeOrderDetail:
  24307. get:
  24308. parameters:
  24309. - description: 资金账户 - 格式:1,2,3
  24310. in: query
  24311. name: accountID
  24312. required: true
  24313. type: string
  24314. - description: 交易模式 - 格式:1,2,3
  24315. in: query
  24316. name: tradeMode
  24317. type: string
  24318. - description: 委托状态 - 格式:1,2,3
  24319. in: query
  24320. name: orderStatus
  24321. type: string
  24322. - description: 委托单号
  24323. in: query
  24324. name: orderID
  24325. type: integer
  24326. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24327. in: query
  24328. name: startDate
  24329. type: string
  24330. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24331. in: query
  24332. name: endDate
  24333. type: string
  24334. produces:
  24335. - application/json
  24336. responses:
  24337. "200":
  24338. description: OK
  24339. schema:
  24340. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24341. "500":
  24342. description: Internal Server Error
  24343. schema:
  24344. $ref: '#/definitions/app.Response'
  24345. security:
  24346. - ApiKeyAuth: []
  24347. summary: 历史委托单查询请求(合约市场)
  24348. tags:
  24349. - 通用单据
  24350. /Order/QueryTradeDetail:
  24351. get:
  24352. parameters:
  24353. - description: 资金账户 - 格式:1,2,3
  24354. in: query
  24355. name: accountID
  24356. required: true
  24357. type: string
  24358. - description: 成交单号
  24359. in: query
  24360. name: tradeID
  24361. type: integer
  24362. - description: 委托单号
  24363. in: query
  24364. name: orderID
  24365. type: integer
  24366. - description: 交易模式 - 格式:1,2,3
  24367. in: query
  24368. name: tradeMode
  24369. type: string
  24370. - description: 委托单据类型
  24371. in: query
  24372. name: buildType
  24373. type: integer
  24374. - description: 成交类别 - 格式:1,2,3
  24375. in: query
  24376. name: tradeType
  24377. type: string
  24378. - description: 商品ID
  24379. in: query
  24380. name: goodsID
  24381. type: integer
  24382. produces:
  24383. - application/json
  24384. responses:
  24385. "200":
  24386. description: OK
  24387. schema:
  24388. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24389. "500":
  24390. description: Internal Server Error
  24391. schema:
  24392. $ref: '#/definitions/app.Response'
  24393. security:
  24394. - ApiKeyAuth: []
  24395. summary: 成交单查询(合约市场)
  24396. tags:
  24397. - 通用单据
  24398. /Order/QueryTradeHolderDetail:
  24399. get:
  24400. parameters:
  24401. - description: 用户id
  24402. in: query
  24403. name: userid
  24404. type: integer
  24405. - description: 资金账号, 格式 1,2,3
  24406. in: query
  24407. name: accids
  24408. type: string
  24409. - description: 交易模式, 格式 1,2,3
  24410. in: query
  24411. name: trademodes
  24412. type: string
  24413. - description: 市场id, 格式 1,2,3
  24414. in: query
  24415. name: marketids
  24416. type: string
  24417. - description: 商品id
  24418. in: query
  24419. name: goodsid
  24420. type: integer
  24421. - description: 买卖方向 0-买 1-卖
  24422. in: query
  24423. name: buyorsell
  24424. type: integer
  24425. produces:
  24426. - application/json
  24427. responses:
  24428. "200":
  24429. description: OK
  24430. schema:
  24431. items:
  24432. $ref: '#/definitions/models.TradeHolderDetail'
  24433. type: array
  24434. "500":
  24435. description: Internal Server Error
  24436. schema:
  24437. $ref: '#/definitions/app.Response'
  24438. security:
  24439. - ApiKeyAuth: []
  24440. summary: 查询持仓明细
  24441. tags:
  24442. - 通用单据
  24443. /Order/QueryTradeOrderDetail:
  24444. get:
  24445. parameters:
  24446. - description: 资金账户 - 格式:1,2,3
  24447. in: query
  24448. name: accountID
  24449. required: true
  24450. type: string
  24451. - description: 交易模式 - 格式:1,2,3
  24452. in: query
  24453. name: tradeMode
  24454. type: string
  24455. - description: 委托状态 - 格式:1,2,3
  24456. in: query
  24457. name: orderStatus
  24458. type: string
  24459. - description: 委托单号
  24460. in: query
  24461. name: orderID
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 委托单查询请求(合约市场)
  24477. tags:
  24478. - 通用单据
  24479. /Order/QueryTradePosition:
  24480. get:
  24481. parameters:
  24482. - description: 资金账户 - 格式:1,2,3
  24483. in: query
  24484. name: accountID
  24485. required: true
  24486. type: string
  24487. - description: 交易模式 - 格式:1,2,3
  24488. in: query
  24489. name: tradeMode
  24490. type: string
  24491. produces:
  24492. - application/json
  24493. responses:
  24494. "200":
  24495. description: OK
  24496. schema:
  24497. $ref: '#/definitions/order.QueryTradePositionRsp'
  24498. "500":
  24499. description: Internal Server Error
  24500. schema:
  24501. $ref: '#/definitions/app.Response'
  24502. security:
  24503. - ApiKeyAuth: []
  24504. summary: 持仓汇总查询(合约市场)
  24505. tags:
  24506. - 通用单据
  24507. /Qhj/QueryAccountInOutApply:
  24508. get:
  24509. parameters:
  24510. - description: 用户ID
  24511. in: query
  24512. name: userid
  24513. required: true
  24514. type: integer
  24515. - description: 申请起始日期(格式yyyymmdd)
  24516. in: query
  24517. name: begindate
  24518. type: string
  24519. - description: 申请截止日期(格式yyyymmdd)
  24520. in: query
  24521. name: enddate
  24522. type: string
  24523. - description: 模糊搜索名称
  24524. in: query
  24525. name: likename
  24526. type: string
  24527. produces:
  24528. - application/json
  24529. responses:
  24530. "200":
  24531. description: OK
  24532. schema:
  24533. items:
  24534. $ref: '#/definitions/models.QhjAccountOutInApply'
  24535. type: array
  24536. "500":
  24537. description: Internal Server Error
  24538. schema:
  24539. $ref: '#/definitions/app.Response'
  24540. security:
  24541. - ApiKeyAuth: []
  24542. summary: 查询充值提现
  24543. tags:
  24544. - 大连千海金
  24545. /Qhj/QueryAreaFinanceConfig:
  24546. get:
  24547. parameters:
  24548. - description: 机构用户ID 其他做市关系,都设置为 1
  24549. in: query
  24550. name: userid
  24551. type: integer
  24552. produces:
  24553. - application/json
  24554. responses:
  24555. "200":
  24556. description: OK
  24557. schema:
  24558. items:
  24559. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24560. type: array
  24561. "500":
  24562. description: Internal Server Error
  24563. schema:
  24564. $ref: '#/definitions/app.Response'
  24565. security:
  24566. - ApiKeyAuth: []
  24567. summary: 查询企业配置表
  24568. tags:
  24569. - 大连千海金
  24570. /Qhj/QueryBankAccountSign:
  24571. get:
  24572. parameters:
  24573. - description: 用户ID
  24574. in: query
  24575. name: userid
  24576. required: true
  24577. type: integer
  24578. produces:
  24579. - application/json
  24580. responses:
  24581. "200":
  24582. description: OK
  24583. schema:
  24584. items:
  24585. $ref: '#/definitions/models.QhjBankAccountSign'
  24586. type: array
  24587. "500":
  24588. description: Internal Server Error
  24589. schema:
  24590. $ref: '#/definitions/app.Response'
  24591. security:
  24592. - ApiKeyAuth: []
  24593. summary: 查询签约银行信息(提现账户管理)
  24594. tags:
  24595. - 大连千海金
  24596. /Qhj/QueryBankInfo:
  24597. get:
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/models.QhjBankInfo'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询开户行
  24614. tags:
  24615. - 大连千海金
  24616. /Qhj/QueryBrokerApply:
  24617. get:
  24618. parameters:
  24619. - description: 所属机构ID
  24620. in: query
  24621. name: userid
  24622. type: integer
  24623. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24624. in: query
  24625. name: filterstatus
  24626. type: string
  24627. produces:
  24628. - application/json
  24629. responses:
  24630. "200":
  24631. description: OK
  24632. schema:
  24633. items:
  24634. $ref: '#/definitions/models.QhjBrokerApply'
  24635. type: array
  24636. "500":
  24637. description: Internal Server Error
  24638. schema:
  24639. $ref: '#/definitions/app.Response'
  24640. security:
  24641. - ApiKeyAuth: []
  24642. summary: 查询经纪人申请
  24643. tags:
  24644. - 大连千海金
  24645. /Qhj/QueryBrokerApplyEx:
  24646. get:
  24647. parameters:
  24648. - description: 所属机构ID
  24649. in: query
  24650. name: userid
  24651. type: integer
  24652. produces:
  24653. - application/json
  24654. responses:
  24655. "200":
  24656. description: OK
  24657. schema:
  24658. items:
  24659. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24660. type: array
  24661. "500":
  24662. description: Internal Server Error
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. security:
  24666. - ApiKeyAuth: []
  24667. summary: 查询经纪人信息和申请记录
  24668. tags:
  24669. - 大连千海金
  24670. /Qhj/QueryBrokerRewardLog:
  24671. get:
  24672. parameters:
  24673. - description: 用户ID
  24674. in: query
  24675. name: userid
  24676. required: true
  24677. type: integer
  24678. - description: 开始交易日(yyyymmdd)
  24679. in: query
  24680. name: begindate
  24681. type: string
  24682. - description: 结束交易日(yyyymmdd)
  24683. in: query
  24684. name: enddate
  24685. type: string
  24686. produces:
  24687. - application/json
  24688. responses:
  24689. "200":
  24690. description: OK
  24691. schema:
  24692. items:
  24693. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24694. type: array
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. security:
  24700. - ApiKeyAuth: []
  24701. summary: 查询奖励流水(我的奖励)
  24702. tags:
  24703. - 大连千海金
  24704. /Qhj/QueryContract:
  24705. get:
  24706. parameters:
  24707. - description: 用户ID
  24708. in: query
  24709. name: userid
  24710. type: integer
  24711. - description: scf合同id
  24712. in: query
  24713. name: scfcontractid
  24714. type: integer
  24715. produces:
  24716. - application/json
  24717. responses:
  24718. "200":
  24719. description: OK
  24720. schema:
  24721. items:
  24722. $ref: '#/definitions/models.QhjContract'
  24723. type: array
  24724. "500":
  24725. description: Internal Server Error
  24726. schema:
  24727. $ref: '#/definitions/app.Response'
  24728. security:
  24729. - ApiKeyAuth: []
  24730. summary: 查询融资明细(合同)
  24731. tags:
  24732. - 大连千海金
  24733. /Qhj/QueryContractLog:
  24734. get:
  24735. parameters:
  24736. - description: scf合同id
  24737. in: query
  24738. name: scfcontractid
  24739. required: true
  24740. type: integer
  24741. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24742. in: query
  24743. name: amounttype
  24744. type: string
  24745. produces:
  24746. - application/json
  24747. responses:
  24748. "200":
  24749. description: OK
  24750. schema:
  24751. items:
  24752. $ref: '#/definitions/models.QhjContractLog'
  24753. type: array
  24754. "500":
  24755. description: Internal Server Error
  24756. schema:
  24757. $ref: '#/definitions/app.Response'
  24758. security:
  24759. - ApiKeyAuth: []
  24760. summary: 查询融资明细流水(融资明细详情页中的流水)
  24761. tags:
  24762. - 大连千海金
  24763. /Qhj/QueryCusBankSignBank:
  24764. get:
  24765. produces:
  24766. - application/json
  24767. responses:
  24768. "200":
  24769. description: OK
  24770. schema:
  24771. items:
  24772. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24773. type: array
  24774. "500":
  24775. description: Internal Server Error
  24776. schema:
  24777. $ref: '#/definitions/app.Response'
  24778. security:
  24779. - ApiKeyAuth: []
  24780. summary: 查询托管银行
  24781. tags:
  24782. - 大连千海金
  24783. /Qhj/QueryCustomerInfo:
  24784. get:
  24785. parameters:
  24786. - description: 用户ID
  24787. in: query
  24788. name: userid
  24789. required: true
  24790. type: integer
  24791. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24792. in: query
  24793. name: querytype
  24794. required: true
  24795. type: integer
  24796. - description: 客户类型 1-个人 2-企业
  24797. in: query
  24798. name: userinfotype
  24799. type: integer
  24800. - description: 客户名称(模糊匹配)
  24801. in: query
  24802. name: customername
  24803. type: string
  24804. - description: 昵称(模糊匹配)
  24805. in: query
  24806. name: nickname
  24807. type: string
  24808. - description: 是否包含子级 1-包含
  24809. in: query
  24810. name: includesub
  24811. type: integer
  24812. produces:
  24813. - application/json
  24814. responses:
  24815. "200":
  24816. description: OK
  24817. schema:
  24818. items:
  24819. $ref: '#/definitions/models.QhjCustomer'
  24820. type: array
  24821. "500":
  24822. description: Internal Server Error
  24823. schema:
  24824. $ref: '#/definitions/app.Response'
  24825. security:
  24826. - ApiKeyAuth: []
  24827. summary: 查询客户资料
  24828. tags:
  24829. - 大连千海金
  24830. /Qhj/QueryGoodsEx:
  24831. get:
  24832. parameters:
  24833. - description: 商品id
  24834. in: query
  24835. name: goodsid
  24836. type: integer
  24837. produces:
  24838. - application/json
  24839. responses:
  24840. "200":
  24841. description: OK
  24842. schema:
  24843. items:
  24844. $ref: '#/definitions/models.Qhjgoodsex'
  24845. type: array
  24846. "500":
  24847. description: Internal Server Error
  24848. schema:
  24849. $ref: '#/definitions/app.Response'
  24850. security:
  24851. - ApiKeyAuth: []
  24852. summary: 交易商品扩展表
  24853. tags:
  24854. - 大连千海金
  24855. /Qhj/QueryMyTeam:
  24856. get:
  24857. parameters:
  24858. - description: 用户ID
  24859. in: query
  24860. name: userid
  24861. required: true
  24862. type: integer
  24863. produces:
  24864. - application/json
  24865. responses:
  24866. "200":
  24867. description: OK
  24868. schema:
  24869. items:
  24870. $ref: '#/definitions/models.QhjMyTeamEx'
  24871. type: array
  24872. "500":
  24873. description: Internal Server Error
  24874. schema:
  24875. $ref: '#/definitions/app.Response'
  24876. security:
  24877. - ApiKeyAuth: []
  24878. summary: 查询我的团队
  24879. tags:
  24880. - 大连千海金
  24881. /Qhj/QueryMyTeamOrder:
  24882. get:
  24883. parameters:
  24884. - description: 页码
  24885. in: query
  24886. name: page
  24887. type: integer
  24888. - description: 每页条数
  24889. in: query
  24890. name: pagesize
  24891. type: integer
  24892. - description: 用户ID
  24893. in: query
  24894. name: userid
  24895. required: true
  24896. type: integer
  24897. - description: 交易模式
  24898. in: query
  24899. name: trademode
  24900. type: integer
  24901. - description: 名称(模糊搜索账户)
  24902. in: query
  24903. name: filtername
  24904. type: string
  24905. produces:
  24906. - application/json
  24907. responses:
  24908. "200":
  24909. description: OK
  24910. schema:
  24911. items:
  24912. $ref: '#/definitions/models.QhjTeamOrder'
  24913. type: array
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 查询团队订单(我的团队/团队订单)
  24921. tags:
  24922. - 大连千海金
  24923. /Qhj/QueryParentAreaList:
  24924. get:
  24925. parameters:
  24926. - description: 用户ID
  24927. in: query
  24928. name: userid
  24929. required: true
  24930. type: integer
  24931. produces:
  24932. - application/json
  24933. responses:
  24934. "200":
  24935. description: OK
  24936. schema:
  24937. items:
  24938. $ref: '#/definitions/models.QhjParentAreaList'
  24939. type: array
  24940. "500":
  24941. description: Internal Server Error
  24942. schema:
  24943. $ref: '#/definitions/app.Response'
  24944. security:
  24945. - ApiKeyAuth: []
  24946. summary: 查询所属机构列表
  24947. tags:
  24948. - 大连千海金
  24949. /Qhj/QueryPayOrder:
  24950. get:
  24951. parameters:
  24952. - description: 资金账号id
  24953. in: query
  24954. name: accountid
  24955. required: true
  24956. type: integer
  24957. - description: 成交单号
  24958. in: query
  24959. name: tradeid
  24960. type: integer
  24961. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24962. in: query
  24963. name: payflag
  24964. type: string
  24965. produces:
  24966. - application/json
  24967. responses:
  24968. "200":
  24969. description: OK
  24970. schema:
  24971. items:
  24972. $ref: '#/definitions/models.QhjPayOrder'
  24973. type: array
  24974. "500":
  24975. description: Internal Server Error
  24976. schema:
  24977. $ref: '#/definitions/app.Response'
  24978. security:
  24979. - ApiKeyAuth: []
  24980. summary: 查询待付款单据
  24981. tags:
  24982. - 大连千海金
  24983. /Qhj/QueryPickArea:
  24984. get:
  24985. parameters:
  24986. - description: 用户ID
  24987. in: query
  24988. name: userid
  24989. type: integer
  24990. produces:
  24991. - application/json
  24992. responses:
  24993. "200":
  24994. description: OK
  24995. schema:
  24996. items:
  24997. $ref: '#/definitions/models.QhjPickArea'
  24998. type: array
  24999. "500":
  25000. description: Internal Server Error
  25001. schema:
  25002. $ref: '#/definitions/app.Response'
  25003. security:
  25004. - ApiKeyAuth: []
  25005. summary: 查询提货门店
  25006. tags:
  25007. - 大连千海金
  25008. /Qhj/QueryPickGoods:
  25009. get:
  25010. parameters:
  25011. - description: 交易商品id
  25012. in: query
  25013. name: goodsid
  25014. required: true
  25015. type: integer
  25016. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25017. in: query
  25018. name: status
  25019. type: string
  25020. produces:
  25021. - application/json
  25022. responses:
  25023. "200":
  25024. description: OK
  25025. schema:
  25026. items:
  25027. $ref: '#/definitions/models.QhjPickGoods'
  25028. type: array
  25029. "500":
  25030. description: Internal Server Error
  25031. schema:
  25032. $ref: '#/definitions/app.Response'
  25033. security:
  25034. - ApiKeyAuth: []
  25035. summary: 查询提货商品
  25036. tags:
  25037. - 大连千海金
  25038. /Qhj/QueryRSTriggerLog:
  25039. get:
  25040. parameters:
  25041. - description: 用户ID
  25042. in: query
  25043. name: userid
  25044. type: integer
  25045. - description: 定投策略id
  25046. in: query
  25047. name: regularlystrategyid
  25048. type: integer
  25049. - description: 商品id
  25050. in: query
  25051. name: goodsid
  25052. type: integer
  25053. - description: 开始交易日(yyyymmdd)
  25054. in: query
  25055. name: begindate
  25056. type: string
  25057. - description: 结束交易日(yyyymmdd)
  25058. in: query
  25059. name: enddate
  25060. type: string
  25061. - description: 名称(模糊搜索账户)
  25062. in: query
  25063. name: filtername
  25064. type: string
  25065. produces:
  25066. - application/json
  25067. responses:
  25068. "200":
  25069. description: OK
  25070. schema:
  25071. items:
  25072. $ref: '#/definitions/models.QhjRSTriggerLog'
  25073. type: array
  25074. "500":
  25075. description: Internal Server Error
  25076. schema:
  25077. $ref: '#/definitions/app.Response'
  25078. security:
  25079. - ApiKeyAuth: []
  25080. summary: 查询定投记录(定投管理/详情/定投记录)
  25081. tags:
  25082. - 大连千海金
  25083. /Qhj/QueryRStrategy:
  25084. get:
  25085. parameters:
  25086. - description: 用户ID
  25087. in: query
  25088. name: userid
  25089. type: integer
  25090. - description: 商品id
  25091. in: query
  25092. name: goodsid
  25093. type: integer
  25094. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25095. in: query
  25096. name: status
  25097. type: string
  25098. - description: 名称(模糊搜索账户)
  25099. in: query
  25100. name: filtername
  25101. type: string
  25102. produces:
  25103. - application/json
  25104. responses:
  25105. "200":
  25106. description: OK
  25107. schema:
  25108. items:
  25109. $ref: '#/definitions/models.QhjRStrategy'
  25110. type: array
  25111. "500":
  25112. description: Internal Server Error
  25113. schema:
  25114. $ref: '#/definitions/app.Response'
  25115. security:
  25116. - ApiKeyAuth: []
  25117. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25118. tags:
  25119. - 大连千海金
  25120. /Qhj/QueryReckonPriceLog:
  25121. get:
  25122. parameters:
  25123. - description: 商品ID
  25124. in: query
  25125. name: goodsid
  25126. type: integer
  25127. - description: 交易日 格式(yyyymmdd)
  25128. in: query
  25129. name: tradedate
  25130. type: string
  25131. produces:
  25132. - application/json
  25133. responses:
  25134. "200":
  25135. description: OK
  25136. schema:
  25137. items:
  25138. $ref: '#/definitions/models.QhjReckonPriceLog'
  25139. type: array
  25140. "500":
  25141. description: Internal Server Error
  25142. schema:
  25143. $ref: '#/definitions/app.Response'
  25144. security:
  25145. - ApiKeyAuth: []
  25146. summary: 查询定投价(结算价)
  25147. tags:
  25148. - 大连千海金
  25149. /Qhj/QueryScoreLog:
  25150. get:
  25151. parameters:
  25152. - description: 用户ID
  25153. in: query
  25154. name: userid
  25155. required: true
  25156. type: integer
  25157. - description: 开始交易日(yyyymmdd)
  25158. in: query
  25159. name: begindate
  25160. type: string
  25161. - description: 结束交易日(yyyymmdd)
  25162. in: query
  25163. name: enddate
  25164. type: string
  25165. - description: 最近多少条
  25166. in: query
  25167. name: lastnum
  25168. type: integer
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjScoreLog'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询积分流水(我的积分)
  25185. tags:
  25186. - 大连千海金
  25187. /Qhj/QuerySiteColumnDetail:
  25188. get:
  25189. parameters:
  25190. - description: 用户ID
  25191. in: query
  25192. name: userid
  25193. required: true
  25194. type: integer
  25195. produces:
  25196. - application/json
  25197. responses:
  25198. "200":
  25199. description: OK
  25200. schema:
  25201. items:
  25202. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25203. type: array
  25204. "500":
  25205. description: Internal Server Error
  25206. schema:
  25207. $ref: '#/definitions/app.Response'
  25208. security:
  25209. - ApiKeyAuth: []
  25210. summary: 查询资讯
  25211. tags:
  25212. - 大连千海金
  25213. /Qhj/QueryTradeGoodsPickup:
  25214. get:
  25215. parameters:
  25216. - description: 用户ID
  25217. in: query
  25218. name: userid
  25219. required: true
  25220. type: integer
  25221. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25222. 7:已拒绝 8:已撤销
  25223. in: query
  25224. name: takeorderstatus
  25225. type: integer
  25226. produces:
  25227. - application/json
  25228. responses:
  25229. "200":
  25230. description: OK
  25231. schema:
  25232. items:
  25233. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25234. type: array
  25235. "500":
  25236. description: Internal Server Error
  25237. schema:
  25238. $ref: '#/definitions/app.Response'
  25239. security:
  25240. - ApiKeyAuth: []
  25241. summary: 查询提货
  25242. tags:
  25243. - 大连千海金
  25244. /Qhj/QueryUserCollectConfig:
  25245. get:
  25246. parameters:
  25247. - description: 用户ID
  25248. in: query
  25249. name: userid
  25250. required: true
  25251. type: integer
  25252. produces:
  25253. - application/json
  25254. responses:
  25255. "200":
  25256. description: OK
  25257. schema:
  25258. items:
  25259. $ref: '#/definitions/models.UserCollectConfig'
  25260. type: array
  25261. "500":
  25262. description: Internal Server Error
  25263. schema:
  25264. $ref: '#/definitions/app.Response'
  25265. security:
  25266. - ApiKeyAuth: []
  25267. summary: 查询提现账户设置
  25268. tags:
  25269. - 大连千海金
  25270. /Qhj/QueryUserReceiveInfo:
  25271. get:
  25272. parameters:
  25273. - description: 用户ID
  25274. in: query
  25275. name: userid
  25276. required: true
  25277. type: integer
  25278. produces:
  25279. - application/json
  25280. responses:
  25281. "200":
  25282. description: OK
  25283. schema:
  25284. items:
  25285. $ref: '#/definitions/models.UserReceiveInfo'
  25286. type: array
  25287. "500":
  25288. description: Internal Server Error
  25289. schema:
  25290. $ref: '#/definitions/app.Response'
  25291. security:
  25292. - ApiKeyAuth: []
  25293. summary: 查询收货地址信息
  25294. tags:
  25295. - 大连千海金
  25296. /QhjMgr/QueryAccountInOutApply:
  25297. get:
  25298. parameters:
  25299. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25300. in: query
  25301. name: querytype
  25302. required: true
  25303. type: integer
  25304. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25305. in: query
  25306. name: applystatus
  25307. type: integer
  25308. - description: 申请起始日期(格式yyyymmdd)
  25309. in: query
  25310. name: begindate
  25311. type: string
  25312. - description: 申请截止日期(格式yyyymmdd)
  25313. in: query
  25314. name: enddate
  25315. type: string
  25316. - description: 模糊搜索名称
  25317. in: query
  25318. name: likename
  25319. type: string
  25320. produces:
  25321. - application/json
  25322. responses:
  25323. "200":
  25324. description: OK
  25325. schema:
  25326. items:
  25327. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25328. type: array
  25329. "500":
  25330. description: Internal Server Error
  25331. schema:
  25332. $ref: '#/definitions/app.Response'
  25333. security:
  25334. - ApiKeyAuth: []
  25335. summary: 查询充值提现
  25336. tags:
  25337. - 大连千海金(PCWeb)
  25338. /QhjMgr/QueryBrokerApply:
  25339. get:
  25340. parameters:
  25341. - description: 所属机构ID
  25342. in: query
  25343. name: userid
  25344. type: integer
  25345. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25346. in: query
  25347. name: filterstatus
  25348. type: string
  25349. - description: 名称(模糊匹配)
  25350. in: query
  25351. name: filtername
  25352. type: string
  25353. - description: 是否包含子级 1-包含
  25354. in: query
  25355. name: includesub
  25356. type: integer
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询经纪人申请
  25373. tags:
  25374. - 大连千海金(PCWeb)
  25375. /QhjMgr/QueryBrokerRewardReport:
  25376. get:
  25377. parameters:
  25378. - description: 所属机构ID
  25379. in: query
  25380. name: userid
  25381. required: true
  25382. type: integer
  25383. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25384. in: query
  25385. name: cycletype
  25386. required: true
  25387. type: integer
  25388. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25389. in: query
  25390. name: cycletime
  25391. required: true
  25392. type: string
  25393. - description: 名称(模糊匹配)
  25394. in: query
  25395. name: filtername
  25396. type: string
  25397. - description: 是否包含子级 1-包含
  25398. in: query
  25399. name: includesub
  25400. type: integer
  25401. produces:
  25402. - application/json
  25403. responses:
  25404. "200":
  25405. description: OK
  25406. schema:
  25407. items:
  25408. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25409. type: array
  25410. "500":
  25411. description: Internal Server Error
  25412. schema:
  25413. $ref: '#/definitions/app.Response'
  25414. security:
  25415. - ApiKeyAuth: []
  25416. summary: 查询经纪人奖励报表(废弃)
  25417. tags:
  25418. - 大连千海金(PCWeb)
  25419. /QhjMgr/QueryContract:
  25420. get:
  25421. parameters:
  25422. - description: 用户ID
  25423. in: query
  25424. name: userid
  25425. type: integer
  25426. - description: 商品id
  25427. in: query
  25428. name: goodsid
  25429. type: integer
  25430. - description: 名称(模糊搜索账户)
  25431. in: query
  25432. name: filtername
  25433. type: string
  25434. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25435. in: query
  25436. name: risklevel
  25437. type: string
  25438. - description: 开始交易日(yyyymmdd)
  25439. in: query
  25440. name: begindate
  25441. type: string
  25442. - description: 结束交易日(yyyymmdd)
  25443. in: query
  25444. name: enddate
  25445. type: string
  25446. produces:
  25447. - application/json
  25448. responses:
  25449. "200":
  25450. description: OK
  25451. schema:
  25452. items:
  25453. $ref: '#/definitions/models.QhjMgrContract'
  25454. type: array
  25455. "500":
  25456. description: Internal Server Error
  25457. schema:
  25458. $ref: '#/definitions/app.Response'
  25459. security:
  25460. - ApiKeyAuth: []
  25461. summary: 查询融资信息(合同)
  25462. tags:
  25463. - 大连千海金(PCWeb)
  25464. /QhjMgr/QueryCustomerInfo:
  25465. get:
  25466. parameters:
  25467. - description: 用户ID
  25468. in: query
  25469. name: userid
  25470. required: true
  25471. type: integer
  25472. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25473. in: query
  25474. name: querytype
  25475. required: true
  25476. type: integer
  25477. - description: 客户类型 1-个人 2-企业
  25478. in: query
  25479. name: userinfotype
  25480. type: integer
  25481. - description: 客户名称(模糊匹配)
  25482. in: query
  25483. name: customername
  25484. type: string
  25485. - description: 昵称(模糊匹配)
  25486. in: query
  25487. name: nickname
  25488. type: string
  25489. - description: 所属客户经理(模糊匹配)
  25490. in: query
  25491. name: brokername
  25492. type: string
  25493. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25494. 如0503 -5月3日)
  25495. in: query
  25496. name: birthday
  25497. type: string
  25498. - description: 是否包含子级 1-包含
  25499. in: query
  25500. name: includesub
  25501. type: integer
  25502. produces:
  25503. - application/json
  25504. responses:
  25505. "200":
  25506. description: OK
  25507. schema:
  25508. items:
  25509. $ref: '#/definitions/models.QhjMgrCustomer'
  25510. type: array
  25511. "500":
  25512. description: Internal Server Error
  25513. schema:
  25514. $ref: '#/definitions/app.Response'
  25515. security:
  25516. - ApiKeyAuth: []
  25517. summary: 查询客户资料
  25518. tags:
  25519. - 大连千海金(PCWeb)
  25520. /QhjMgr/QueryPickGoods:
  25521. get:
  25522. parameters:
  25523. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25524. in: query
  25525. name: status
  25526. type: string
  25527. produces:
  25528. - application/json
  25529. responses:
  25530. "200":
  25531. description: OK
  25532. schema:
  25533. items:
  25534. $ref: '#/definitions/models.QhjMgrPickGoods'
  25535. type: array
  25536. "500":
  25537. description: Internal Server Error
  25538. schema:
  25539. $ref: '#/definitions/app.Response'
  25540. security:
  25541. - ApiKeyAuth: []
  25542. summary: 查询提货商品
  25543. tags:
  25544. - 大连千海金(PCWeb)
  25545. /QhjMgr/QuerySubArea:
  25546. get:
  25547. parameters:
  25548. - description: 用户ID
  25549. in: query
  25550. name: userid
  25551. required: true
  25552. type: integer
  25553. produces:
  25554. - application/json
  25555. responses:
  25556. "200":
  25557. description: OK
  25558. schema:
  25559. items:
  25560. $ref: '#/definitions/models.QhjMgrSubArea'
  25561. type: array
  25562. "500":
  25563. description: Internal Server Error
  25564. schema:
  25565. $ref: '#/definitions/app.Response'
  25566. security:
  25567. - ApiKeyAuth: []
  25568. summary: 查询子机构列表
  25569. tags:
  25570. - 大连千海金(PCWeb)
  25571. /QhjMgr/QueryTradeDetail:
  25572. get:
  25573. parameters:
  25574. - description: 用户ID
  25575. in: query
  25576. name: userid
  25577. required: true
  25578. type: integer
  25579. - description: 用户类型 1-个人 2-企业
  25580. in: query
  25581. name: userinfotype
  25582. type: integer
  25583. - description: 交易模式
  25584. in: query
  25585. name: trademode
  25586. type: integer
  25587. - description: 商品id
  25588. in: query
  25589. name: goodsid
  25590. type: integer
  25591. - description: 名称(模糊搜索账户)
  25592. in: query
  25593. name: filtername
  25594. type: string
  25595. - description: 开始交易日(yyyymmdd)
  25596. in: query
  25597. name: begindate
  25598. type: string
  25599. - description: 结束交易日(yyyymmdd)
  25600. in: query
  25601. name: enddate
  25602. type: string
  25603. - description: 是否包含子级 1-包含
  25604. in: query
  25605. name: includesub
  25606. type: integer
  25607. produces:
  25608. - application/json
  25609. responses:
  25610. "200":
  25611. description: OK
  25612. schema:
  25613. items:
  25614. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25615. type: array
  25616. "500":
  25617. description: Internal Server Error
  25618. schema:
  25619. $ref: '#/definitions/app.Response'
  25620. security:
  25621. - ApiKeyAuth: []
  25622. summary: 查询成交明细
  25623. tags:
  25624. - 大连千海金(PCWeb)
  25625. /QhjMgr/QueryTradeOrderDetail:
  25626. get:
  25627. parameters:
  25628. - description: 用户ID
  25629. in: query
  25630. name: userid
  25631. required: true
  25632. type: integer
  25633. - description: 用户类型 1-个人 2-企业
  25634. in: query
  25635. name: userinfotype
  25636. type: integer
  25637. - description: 交易模式
  25638. in: query
  25639. name: trademode
  25640. type: integer
  25641. - description: 商品id
  25642. in: query
  25643. name: goodsid
  25644. type: integer
  25645. - description: 名称(模糊搜索账户)
  25646. in: query
  25647. name: filtername
  25648. type: string
  25649. - description: 开始交易日(yyyymmdd)
  25650. in: query
  25651. name: begindate
  25652. type: string
  25653. - description: 结束交易日(yyyymmdd)
  25654. in: query
  25655. name: enddate
  25656. type: string
  25657. - description: 是否包含子级 1-包含
  25658. in: query
  25659. name: includesub
  25660. type: integer
  25661. produces:
  25662. - application/json
  25663. responses:
  25664. "200":
  25665. description: OK
  25666. schema:
  25667. items:
  25668. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25669. type: array
  25670. "500":
  25671. description: Internal Server Error
  25672. schema:
  25673. $ref: '#/definitions/app.Response'
  25674. security:
  25675. - ApiKeyAuth: []
  25676. summary: 查询委托明细
  25677. tags:
  25678. - 大连千海金(PCWeb)
  25679. /QhjMgr/QueryTradePayOrder:
  25680. get:
  25681. parameters:
  25682. - description: 用户ID
  25683. in: query
  25684. name: userid
  25685. required: true
  25686. type: integer
  25687. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25688. in: query
  25689. name: payflag
  25690. type: string
  25691. - description: 用户类型 1-个人 2-企业
  25692. in: query
  25693. name: userinfotype
  25694. type: integer
  25695. - description: 交易模式
  25696. in: query
  25697. name: trademode
  25698. type: integer
  25699. - description: 商品id
  25700. in: query
  25701. name: goodsid
  25702. type: integer
  25703. - description: 名称(模糊搜索账户)
  25704. in: query
  25705. name: filtername
  25706. type: string
  25707. - description: 开始交易日(yyyymmdd)
  25708. in: query
  25709. name: begindate
  25710. type: string
  25711. - description: 结束交易日(yyyymmdd)
  25712. in: query
  25713. name: enddate
  25714. type: string
  25715. - description: 是否包含子级 1-包含
  25716. in: query
  25717. name: includesub
  25718. type: integer
  25719. produces:
  25720. - application/json
  25721. responses:
  25722. "200":
  25723. description: OK
  25724. schema:
  25725. items:
  25726. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25727. type: array
  25728. "500":
  25729. description: Internal Server Error
  25730. schema:
  25731. $ref: '#/definitions/app.Response'
  25732. security:
  25733. - ApiKeyAuth: []
  25734. summary: 查询待付款单
  25735. tags:
  25736. - 大连千海金(PCWeb)
  25737. /QhjMgr/QueryTradePosition:
  25738. get:
  25739. parameters:
  25740. - description: 用户ID
  25741. in: query
  25742. name: userid
  25743. required: true
  25744. type: integer
  25745. - description: 用户类型 1-个人 2-企业
  25746. in: query
  25747. name: userinfotype
  25748. type: integer
  25749. - description: 交易模式
  25750. in: query
  25751. name: trademode
  25752. type: integer
  25753. - description: 商品id
  25754. in: query
  25755. name: goodsid
  25756. type: integer
  25757. - description: 名称(模糊搜索账户)
  25758. in: query
  25759. name: filtername
  25760. type: string
  25761. - description: 是否包含子级 1-包含
  25762. in: query
  25763. name: includesub
  25764. type: integer
  25765. produces:
  25766. - application/json
  25767. responses:
  25768. "200":
  25769. description: OK
  25770. schema:
  25771. items:
  25772. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25773. type: array
  25774. "500":
  25775. description: Internal Server Error
  25776. schema:
  25777. $ref: '#/definitions/app.Response'
  25778. security:
  25779. - ApiKeyAuth: []
  25780. summary: 查询持仓汇总
  25781. tags:
  25782. - 大连千海金(PCWeb)
  25783. /QhjSys/QueryAgreementChangeLog:
  25784. get:
  25785. parameters:
  25786. - description: 协议ID
  25787. in: query
  25788. name: agreementid
  25789. type: integer
  25790. - description: 协议版本号
  25791. in: query
  25792. name: agreementversion
  25793. type: integer
  25794. - description: 协议类型 - 1:注册 2:登录 3:交易
  25795. in: query
  25796. name: agreementtype
  25797. type: integer
  25798. - description: 协议编号(模糊匹配)
  25799. in: query
  25800. name: agreementno
  25801. type: string
  25802. - description: 协议名称(模糊匹配)
  25803. in: query
  25804. name: agreementname
  25805. type: string
  25806. produces:
  25807. - application/json
  25808. responses:
  25809. "200":
  25810. description: OK
  25811. schema:
  25812. items:
  25813. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25814. type: array
  25815. "500":
  25816. description: Internal Server Error
  25817. schema:
  25818. $ref: '#/definitions/app.Response'
  25819. security:
  25820. - ApiKeyAuth: []
  25821. summary: 查询协议配置变更流水
  25822. tags:
  25823. - 大连千海金(协议和签约信息)
  25824. /QhjSys/QueryAgreementConfig:
  25825. get:
  25826. parameters:
  25827. - description: 协议ID
  25828. in: query
  25829. name: agreementid
  25830. type: integer
  25831. - description: 协议版本号
  25832. in: query
  25833. name: agreementversion
  25834. type: integer
  25835. - description: 协议类型 - 1:注册 2:登录 3:交易
  25836. in: query
  25837. name: agreementtype
  25838. type: integer
  25839. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25840. in: query
  25841. name: isvalid
  25842. type: integer
  25843. - description: 协议编号(模糊匹配)
  25844. in: query
  25845. name: agreementno
  25846. type: string
  25847. - description: 协议名称(模糊匹配)
  25848. in: query
  25849. name: agreementname
  25850. type: string
  25851. produces:
  25852. - application/json
  25853. responses:
  25854. "200":
  25855. description: OK
  25856. schema:
  25857. items:
  25858. $ref: '#/definitions/models.QhjAgreementConfig'
  25859. type: array
  25860. "500":
  25861. description: Internal Server Error
  25862. schema:
  25863. $ref: '#/definitions/app.Response'
  25864. security:
  25865. - ApiKeyAuth: []
  25866. summary: 查询协议配置
  25867. tags:
  25868. - 大连千海金(协议和签约信息)
  25869. /QhjSys/QueryCustomerSignStatus:
  25870. get:
  25871. parameters:
  25872. - description: 客户ID
  25873. in: query
  25874. name: userid
  25875. type: integer
  25876. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25877. in: query
  25878. name: nodetype
  25879. type: integer
  25880. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25881. in: query
  25882. name: goodsid
  25883. type: integer
  25884. - description: 创建交易日(yyyyMMdd)
  25885. in: query
  25886. name: tradedate
  25887. type: string
  25888. - description: 用户名称(模糊匹配)
  25889. in: query
  25890. name: username
  25891. type: string
  25892. produces:
  25893. - application/json
  25894. responses:
  25895. "200":
  25896. description: OK
  25897. schema:
  25898. items:
  25899. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25900. type: array
  25901. "500":
  25902. description: Internal Server Error
  25903. schema:
  25904. $ref: '#/definitions/app.Response'
  25905. security:
  25906. - ApiKeyAuth: []
  25907. summary: 查询客户协议签约状态
  25908. tags:
  25909. - 大连千海金(协议和签约信息)
  25910. /QhjSys/QueryNodeAgreementConfig:
  25911. get:
  25912. parameters:
  25913. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25914. in: query
  25915. name: configid
  25916. type: integer
  25917. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25918. in: query
  25919. name: nodetype
  25920. type: integer
  25921. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25922. in: query
  25923. name: goodsid
  25924. type: integer
  25925. - description: 协议ID
  25926. in: query
  25927. name: agreementid
  25928. type: integer
  25929. - description: 协议类型 - 1:注册 2:登录 3:交易
  25930. in: query
  25931. name: agreementtype
  25932. type: integer
  25933. - description: 协议版本号
  25934. in: query
  25935. name: agreementversion
  25936. type: integer
  25937. - description: 协议编号(模糊匹配)
  25938. in: query
  25939. name: agreementno
  25940. type: string
  25941. - description: 协议名称(模糊匹配)
  25942. in: query
  25943. name: agreementname
  25944. type: string
  25945. produces:
  25946. - application/json
  25947. responses:
  25948. "200":
  25949. description: OK
  25950. schema:
  25951. items:
  25952. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25953. type: array
  25954. "500":
  25955. description: Internal Server Error
  25956. schema:
  25957. $ref: '#/definitions/app.Response'
  25958. security:
  25959. - ApiKeyAuth: []
  25960. summary: 查询协议节点配置
  25961. tags:
  25962. - 大连千海金(协议和签约信息)
  25963. /QhjSys/QueryQhjCustomerSignLog:
  25964. get:
  25965. parameters:
  25966. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25967. in: query
  25968. name: logid
  25969. type: integer
  25970. - description: 客户ID
  25971. in: query
  25972. name: userid
  25973. type: integer
  25974. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25975. in: query
  25976. name: nodetype
  25977. type: integer
  25978. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25979. in: query
  25980. name: goodsid
  25981. type: integer
  25982. - description: 协议ID
  25983. in: query
  25984. name: agreementid
  25985. type: integer
  25986. - description: 用户名称(模糊匹配)
  25987. in: query
  25988. name: username
  25989. type: string
  25990. - description: 协议编号(模糊匹配)
  25991. in: query
  25992. name: agreementno
  25993. type: string
  25994. - description: 协议名称(模糊匹配)
  25995. in: query
  25996. name: agreementname
  25997. type: string
  25998. produces:
  25999. - application/json
  26000. responses:
  26001. "200":
  26002. description: OK
  26003. schema:
  26004. items:
  26005. $ref: '#/definitions/models.QhjCustomerSignLog'
  26006. type: array
  26007. "500":
  26008. description: Internal Server Error
  26009. schema:
  26010. $ref: '#/definitions/app.Response'
  26011. security:
  26012. - ApiKeyAuth: []
  26013. summary: 查询客户协议签约流水
  26014. tags:
  26015. - 大连千海金(协议和签约信息)
  26016. /QhjSys/QueryUserNodeCfgAndStatus:
  26017. get:
  26018. parameters:
  26019. - description: 客户ID
  26020. in: query
  26021. name: userid
  26022. type: integer
  26023. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26024. in: query
  26025. name: configid
  26026. type: integer
  26027. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26028. in: query
  26029. name: nodetype
  26030. type: string
  26031. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26032. in: query
  26033. name: goodsid
  26034. type: integer
  26035. - description: 协议ID
  26036. in: query
  26037. name: agreementid
  26038. type: integer
  26039. - description: 协议类型 - 1:注册 2:登录 3:交易
  26040. in: query
  26041. name: agreementtype
  26042. type: integer
  26043. - description: 协议版本号
  26044. in: query
  26045. name: agreementversion
  26046. type: integer
  26047. - description: 协议编号(模糊匹配)
  26048. in: query
  26049. name: agreementno
  26050. type: string
  26051. - description: 协议名称(模糊匹配)
  26052. in: query
  26053. name: agreementname
  26054. type: string
  26055. produces:
  26056. - application/json
  26057. responses:
  26058. "200":
  26059. description: OK
  26060. schema:
  26061. items:
  26062. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26063. type: array
  26064. "500":
  26065. description: Internal Server Error
  26066. schema:
  26067. $ref: '#/definitions/app.Response'
  26068. security:
  26069. - ApiKeyAuth: []
  26070. summary: 查询用户协议节点配置和状态
  26071. tags:
  26072. - 大连千海金(协议和签约信息)
  26073. /Quote/QueryHistoryDatas:
  26074. get:
  26075. parameters:
  26076. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26077. 日线'
  26078. in: query
  26079. name: cycleType
  26080. required: true
  26081. type: integer
  26082. - description: 商品代码
  26083. in: query
  26084. name: goodsCode
  26085. required: true
  26086. type: string
  26087. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26088. in: query
  26089. name: startTime
  26090. type: string
  26091. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26092. in: query
  26093. name: endTime
  26094. type: string
  26095. - description: 条数
  26096. in: query
  26097. name: count
  26098. type: integer
  26099. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26100. in: query
  26101. name: isAsc
  26102. type: boolean
  26103. produces:
  26104. - application/json
  26105. responses:
  26106. "200":
  26107. description: OK
  26108. schema:
  26109. $ref: '#/definitions/quote.HistoryData'
  26110. "500":
  26111. description: Internal Server Error
  26112. schema:
  26113. $ref: '#/definitions/app.Response'
  26114. security:
  26115. - ApiKeyAuth: []
  26116. summary: 查询行情历史数据
  26117. tags:
  26118. - 行情服务
  26119. /Quote/QueryHistoryTikDatas:
  26120. get:
  26121. parameters:
  26122. - description: 商品代码
  26123. in: query
  26124. name: goodsCode
  26125. required: true
  26126. type: string
  26127. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26128. in: query
  26129. name: startTime
  26130. type: string
  26131. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26132. in: query
  26133. name: endTime
  26134. type: string
  26135. - description: 条数
  26136. in: query
  26137. name: count
  26138. type: integer
  26139. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26140. in: query
  26141. name: isAsc
  26142. type: boolean
  26143. produces:
  26144. - application/json
  26145. responses:
  26146. "200":
  26147. description: OK
  26148. schema:
  26149. $ref: '#/definitions/quote.HistoryTikData'
  26150. "500":
  26151. description: Internal Server Error
  26152. schema:
  26153. $ref: '#/definitions/app.Response'
  26154. security:
  26155. - ApiKeyAuth: []
  26156. summary: 查询行情Tik数据
  26157. tags:
  26158. - 行情服务
  26159. /Quote/QueryQuoteDay:
  26160. get:
  26161. parameters:
  26162. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26163. in: query
  26164. name: goodsCodes
  26165. type: string
  26166. produces:
  26167. - application/json
  26168. responses:
  26169. "200":
  26170. description: OK
  26171. schema:
  26172. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26173. "500":
  26174. description: Internal Server Error
  26175. schema:
  26176. $ref: '#/definitions/app.Response'
  26177. security:
  26178. - ApiKeyAuth: []
  26179. summary: 获取商品盘面信息
  26180. tags:
  26181. - 行情服务
  26182. /Quote/QueryTSData:
  26183. get:
  26184. parameters:
  26185. - description: 商品代码
  26186. in: query
  26187. name: goodsCode
  26188. required: true
  26189. type: string
  26190. produces:
  26191. - application/json
  26192. responses:
  26193. "200":
  26194. description: OK
  26195. schema:
  26196. $ref: '#/definitions/quote.QueryTSDataRsp'
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 分时图数据查询
  26204. tags:
  26205. - 行情服务
  26206. /SZDZ/QueryConvertConfig:
  26207. get:
  26208. parameters:
  26209. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26210. 6:交易转花生米(不设置)
  26211. in: query
  26212. name: convertType
  26213. type: integer
  26214. - description: 外部商品代码[JD\PD]
  26215. in: query
  26216. name: outerGoodsCode
  26217. type: string
  26218. - description: 内部商品ID列表[交易],格式:1,2,3
  26219. in: query
  26220. name: innerGoodsIDs
  26221. type: string
  26222. produces:
  26223. - application/json
  26224. responses:
  26225. "200":
  26226. description: OK
  26227. schema:
  26228. $ref: '#/definitions/models.Szdz3convertconfig'
  26229. "500":
  26230. description: Internal Server Error
  26231. schema:
  26232. $ref: '#/definitions/app.Response'
  26233. security:
  26234. - ApiKeyAuth: []
  26235. summary: 查询交易系统转换设置
  26236. tags:
  26237. - 定制【尚志大宗】
  26238. /SZDZ/QueryConvertLog:
  26239. get:
  26240. parameters:
  26241. - description: 资金账户 - 格式:1,2,3
  26242. in: query
  26243. name: accountID
  26244. required: true
  26245. type: string
  26246. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26247. in: query
  26248. name: startDate
  26249. type: string
  26250. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26251. in: query
  26252. name: endDate
  26253. type: string
  26254. produces:
  26255. - application/json
  26256. responses:
  26257. "200":
  26258. description: OK
  26259. schema:
  26260. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 交易系统转换流水查询
  26268. tags:
  26269. - 定制【尚志大宗】
  26270. /SZDZ/QueryGoodsPickup:
  26271. get:
  26272. parameters:
  26273. - description: 资金账户 - 格式:1,2,3
  26274. in: query
  26275. name: accountID
  26276. required: true
  26277. type: string
  26278. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26279. in: query
  26280. name: takeOrderStatus
  26281. type: integer
  26282. produces:
  26283. - application/json
  26284. responses:
  26285. "200":
  26286. description: OK
  26287. schema:
  26288. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26289. "500":
  26290. description: Internal Server Error
  26291. schema:
  26292. $ref: '#/definitions/app.Response'
  26293. security:
  26294. - ApiKeyAuth: []
  26295. summary: 商品提货单查询
  26296. tags:
  26297. - 定制【尚志大宗】
  26298. /SZDZ/QueryRecieptOrder:
  26299. get:
  26300. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26301. parameters:
  26302. - description: 页码
  26303. in: query
  26304. name: page
  26305. type: integer
  26306. - description: 每页条数
  26307. in: query
  26308. name: pagesize
  26309. type: integer
  26310. - description: 商品ID
  26311. in: query
  26312. name: goodsID
  26313. required: true
  26314. type: integer
  26315. - description: 所属账户名称
  26316. in: query
  26317. name: accountName
  26318. type: string
  26319. - description: 市场ID
  26320. in: query
  26321. name: marketID
  26322. type: integer
  26323. - description: 方向 - 0:买 1:卖
  26324. in: query
  26325. name: buyorsell
  26326. required: true
  26327. type: integer
  26328. produces:
  26329. - application/json
  26330. responses:
  26331. "200":
  26332. description: OK
  26333. schema:
  26334. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. security:
  26340. - ApiKeyAuth: []
  26341. summary: 点选挂牌委托单据查询(摘牌大厅)
  26342. tags:
  26343. - 定制【尚志大宗】
  26344. /SZDZ/QuerySZDZTradePosition:
  26345. get:
  26346. parameters:
  26347. - description: 资金账户
  26348. in: query
  26349. name: accountID
  26350. required: true
  26351. type: integer
  26352. produces:
  26353. - application/json
  26354. responses:
  26355. "200":
  26356. description: OK
  26357. schema:
  26358. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26359. "500":
  26360. description: Internal Server Error
  26361. schema:
  26362. $ref: '#/definitions/app.Response'
  26363. security:
  26364. - ApiKeyAuth: []
  26365. summary: 持仓汇总查询(尚志大宗)
  26366. tags:
  26367. - 定制【尚志大宗】
  26368. /SZDZ/SearchWhite:
  26369. get:
  26370. parameters:
  26371. - description: 用户ID
  26372. in: query
  26373. name: userID
  26374. required: true
  26375. type: integer
  26376. produces:
  26377. - application/json
  26378. responses:
  26379. "200":
  26380. description: OK
  26381. schema:
  26382. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26383. "500":
  26384. description: Internal Server Error
  26385. schema:
  26386. $ref: '#/definitions/app.Response'
  26387. security:
  26388. - ApiKeyAuth: []
  26389. summary: 搜索白名单
  26390. tags:
  26391. - 定制【尚志大宗】
  26392. /Search/SearchGoodses:
  26393. get:
  26394. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26395. parameters:
  26396. - description: 检索内容
  26397. in: query
  26398. name: content
  26399. required: true
  26400. type: string
  26401. - description: 交易模式,格式:1,2,3
  26402. in: query
  26403. name: tradeModes
  26404. type: string
  26405. produces:
  26406. - application/json
  26407. responses:
  26408. "200":
  26409. description: OK
  26410. schema:
  26411. $ref: '#/definitions/models.SearchGoods'
  26412. "500":
  26413. description: Internal Server Error
  26414. schema:
  26415. $ref: '#/definitions/app.Response'
  26416. summary: 检索商品信息
  26417. tags:
  26418. - 检索服务
  26419. /TaAccount/GetTaAccounts:
  26420. get:
  26421. parameters:
  26422. - description: 登录账户
  26423. in: query
  26424. name: loginID
  26425. required: true
  26426. type: integer
  26427. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26428. in: query
  26429. name: taAccountType
  26430. type: integer
  26431. produces:
  26432. - application/json
  26433. responses:
  26434. "200":
  26435. description: OK
  26436. schema:
  26437. $ref: '#/definitions/models.Taaccount'
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 获取资金账户信息
  26445. tags:
  26446. - 资金账户
  26447. /TaAccount/QueryAmountLog:
  26448. get:
  26449. parameters:
  26450. - description: 页码
  26451. in: query
  26452. name: page
  26453. type: integer
  26454. - description: 每页条数
  26455. in: query
  26456. name: pagesize
  26457. type: integer
  26458. - description: 资金账户 - 格式:1,2,3
  26459. in: query
  26460. name: accountID
  26461. required: true
  26462. type: string
  26463. - description: 资金操作类型 - 格式:1,2,3
  26464. in: query
  26465. name: OperateType
  26466. type: string
  26467. produces:
  26468. - application/json
  26469. responses:
  26470. "200":
  26471. description: OK
  26472. schema:
  26473. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26474. "500":
  26475. description: Internal Server Error
  26476. schema:
  26477. $ref: '#/definitions/app.Response'
  26478. security:
  26479. - ApiKeyAuth: []
  26480. summary: 资金流水查询(当前)
  26481. tags:
  26482. - 资金账户
  26483. /TaAccount/QueryHisAmountLog:
  26484. get:
  26485. parameters:
  26486. - description: 页码
  26487. in: query
  26488. name: page
  26489. type: integer
  26490. - description: 每页条数
  26491. in: query
  26492. name: pagesize
  26493. type: integer
  26494. - description: 资金账户 - 格式:1,2,3
  26495. in: query
  26496. name: accountID
  26497. required: true
  26498. type: string
  26499. - description: 资金操作类型 - 格式:1,2,3
  26500. in: query
  26501. name: OperateType
  26502. type: string
  26503. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26504. in: query
  26505. name: startDate
  26506. type: string
  26507. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26508. in: query
  26509. name: endDate
  26510. type: string
  26511. produces:
  26512. - application/json
  26513. responses:
  26514. "200":
  26515. description: OK
  26516. schema:
  26517. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26518. "500":
  26519. description: Internal Server Error
  26520. schema:
  26521. $ref: '#/definitions/app.Response'
  26522. security:
  26523. - ApiKeyAuth: []
  26524. summary: 资金流水查询(历史)
  26525. tags:
  26526. - 资金账户
  26527. /Tjmd/QueryQuoteGoodsList:
  26528. get:
  26529. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26530. parameters:
  26531. - description: 用户类型
  26532. in: query
  26533. name: usertype
  26534. required: true
  26535. type: integer
  26536. - description: 市场id, 格式 1,2,3
  26537. in: query
  26538. name: marketids
  26539. type: string
  26540. - description: 商品组id
  26541. in: query
  26542. name: goodsgroupid
  26543. type: integer
  26544. - description: 商品id
  26545. in: query
  26546. name: goodsid
  26547. type: integer
  26548. produces:
  26549. - application/json
  26550. responses:
  26551. "200":
  26552. description: OK
  26553. schema:
  26554. items:
  26555. $ref: '#/definitions/models.TjmdQuoteGoods'
  26556. type: array
  26557. "500":
  26558. description: Internal Server Error
  26559. schema:
  26560. $ref: '#/definitions/app.Response'
  26561. security:
  26562. - ApiKeyAuth: []
  26563. summary: 查询掉期报价列表
  26564. tags:
  26565. - 天津麦顿
  26566. /Tjmd/QueryTjmdMarketSection:
  26567. get:
  26568. produces:
  26569. - application/json
  26570. responses:
  26571. "200":
  26572. description: OK
  26573. schema:
  26574. items:
  26575. $ref: '#/definitions/models.TjmdMarketSection'
  26576. type: array
  26577. "500":
  26578. description: Internal Server Error
  26579. schema:
  26580. $ref: '#/definitions/app.Response'
  26581. security:
  26582. - ApiKeyAuth: []
  26583. summary: 查询市场板块
  26584. tags:
  26585. - 天津麦顿
  26586. /Tjmd/QueryTjmdTodayAccountMargin:
  26587. get:
  26588. parameters:
  26589. - description: 市场id
  26590. in: query
  26591. name: marketid
  26592. type: string
  26593. - description: 商品id
  26594. in: query
  26595. name: goodsid
  26596. type: string
  26597. - description: 资金账号
  26598. in: query
  26599. name: accountid
  26600. type: string
  26601. produces:
  26602. - application/json
  26603. responses:
  26604. "200":
  26605. description: OK
  26606. schema:
  26607. items:
  26608. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26609. type: array
  26610. "500":
  26611. description: Internal Server Error
  26612. schema:
  26613. $ref: '#/definitions/app.Response'
  26614. security:
  26615. - ApiKeyAuth: []
  26616. summary: 查询今日账户保证金配置
  26617. tags:
  26618. - 天津麦顿
  26619. /Tjmd/QueryTjmdTradeOrderDetail:
  26620. get:
  26621. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26622. parameters:
  26623. - description: 页码
  26624. in: query
  26625. name: page
  26626. type: integer
  26627. - description: 每页条数
  26628. in: query
  26629. name: pagesize
  26630. type: integer
  26631. - description: 用户id
  26632. in: query
  26633. name: userid
  26634. required: true
  26635. type: integer
  26636. - description: 用户类型
  26637. in: query
  26638. name: usertype
  26639. required: true
  26640. type: integer
  26641. - description: 市场id, 格式 1,2,3
  26642. in: query
  26643. name: marketids
  26644. type: string
  26645. - description: 商品id
  26646. in: query
  26647. name: goodsid
  26648. required: true
  26649. type: integer
  26650. - description: 买卖方向 0-买 1-卖
  26651. in: query
  26652. name: buyorsell
  26653. required: true
  26654. type: integer
  26655. produces:
  26656. - application/json
  26657. responses:
  26658. "200":
  26659. description: OK
  26660. schema:
  26661. items:
  26662. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26663. type: array
  26664. "500":
  26665. description: Internal Server Error
  26666. schema:
  26667. $ref: '#/definitions/app.Response'
  26668. security:
  26669. - ApiKeyAuth: []
  26670. summary: 查询掉期买卖大厅
  26671. tags:
  26672. - 天津麦顿
  26673. /Tjmd/QueryTjmdTransferApply:
  26674. get:
  26675. parameters:
  26676. - description: 类型 1-我的申请 2-对方申请
  26677. in: query
  26678. name: applytype
  26679. required: true
  26680. type: integer
  26681. - description: 市场id, 格式 1,2,3
  26682. in: query
  26683. name: marketids
  26684. type: string
  26685. - description: 资金账号, 格式 25000000001,25000000003
  26686. in: query
  26687. name: accountids
  26688. type: string
  26689. - description: 开始交易日(yyyymmdd)
  26690. in: query
  26691. name: begindate
  26692. type: string
  26693. - description: 结束交易日(yyyymmdd)
  26694. in: query
  26695. name: enddate
  26696. type: string
  26697. produces:
  26698. - application/json
  26699. responses:
  26700. "200":
  26701. description: OK
  26702. schema:
  26703. items:
  26704. $ref: '#/definitions/models.TjmdTransferApply'
  26705. type: array
  26706. "500":
  26707. description: Internal Server Error
  26708. schema:
  26709. $ref: '#/definitions/app.Response'
  26710. security:
  26711. - ApiKeyAuth: []
  26712. summary: 查询掉期协议单
  26713. tags:
  26714. - 天津麦顿
  26715. /Trade/QueryRecieptOrder:
  26716. get:
  26717. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26718. parameters:
  26719. - description: 页码
  26720. in: query
  26721. name: page
  26722. type: integer
  26723. - description: 每页条数
  26724. in: query
  26725. name: pagesize
  26726. type: integer
  26727. - description: 商品ID
  26728. in: query
  26729. name: goodsID
  26730. required: true
  26731. type: integer
  26732. - description: 所属账户名称
  26733. in: query
  26734. name: accountName
  26735. type: string
  26736. - description: 市场ID
  26737. in: query
  26738. name: marketID
  26739. type: integer
  26740. - description: 方向 - 0:买 1:卖
  26741. in: query
  26742. name: buyorsell
  26743. required: true
  26744. type: integer
  26745. produces:
  26746. - application/json
  26747. responses:
  26748. "200":
  26749. description: OK
  26750. schema:
  26751. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26752. "500":
  26753. description: Internal Server Error
  26754. schema:
  26755. $ref: '#/definitions/app.Response'
  26756. security:
  26757. - ApiKeyAuth: []
  26758. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26759. tags:
  26760. - 通用交易
  26761. /User/AddMessageBoard:
  26762. post:
  26763. parameters:
  26764. - description: 用户ID
  26765. in: query
  26766. name: userID
  26767. required: true
  26768. type: integer
  26769. - description: 留言信息
  26770. in: query
  26771. name: message
  26772. required: true
  26773. type: string
  26774. - description: 联系电话
  26775. in: query
  26776. name: contactNum
  26777. required: true
  26778. type: string
  26779. produces:
  26780. - application/json
  26781. responses:
  26782. "200":
  26783. description: OK
  26784. schema:
  26785. $ref: '#/definitions/app.Response'
  26786. "500":
  26787. description: Internal Server Error
  26788. schema:
  26789. $ref: '#/definitions/app.Response'
  26790. security:
  26791. - ApiKeyAuth: []
  26792. summary: 添加用户留言板信息
  26793. tags:
  26794. - 用户信息
  26795. /User/AddUserFavoriteGoods:
  26796. post:
  26797. parameters:
  26798. - description: 用户ID
  26799. in: query
  26800. name: userID
  26801. required: true
  26802. type: integer
  26803. - description: 商品ID
  26804. in: query
  26805. name: goodsID
  26806. required: true
  26807. type: integer
  26808. produces:
  26809. - application/json
  26810. responses:
  26811. "200":
  26812. description: OK
  26813. schema:
  26814. $ref: '#/definitions/app.Response'
  26815. "500":
  26816. description: Internal Server Error
  26817. schema:
  26818. $ref: '#/definitions/app.Response'
  26819. security:
  26820. - ApiKeyAuth: []
  26821. summary: 添加用户商品收藏信息
  26822. tags:
  26823. - 用户信息
  26824. /User/GetLoginID:
  26825. get:
  26826. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26827. parameters:
  26828. - description: 登录代码
  26829. in: query
  26830. name: username
  26831. required: true
  26832. type: string
  26833. produces:
  26834. - application/json
  26835. responses:
  26836. "200":
  26837. description: OK
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. "500":
  26841. description: Internal Server Error
  26842. schema:
  26843. $ref: '#/definitions/app.Response'
  26844. summary: 获取登录ID
  26845. tags:
  26846. - 用户信息
  26847. /User/GetUserAccount:
  26848. get:
  26849. parameters:
  26850. - description: 用户ID
  26851. in: query
  26852. name: userID
  26853. required: true
  26854. type: integer
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. $ref: '#/definitions/models.Useraccount'
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. security:
  26867. - ApiKeyAuth: []
  26868. summary: 获取用户账号信息
  26869. tags:
  26870. - 用户信息
  26871. /User/GetUserAuthStatus:
  26872. get:
  26873. parameters:
  26874. - description: 用户ID
  26875. in: query
  26876. name: userID
  26877. required: true
  26878. type: integer
  26879. produces:
  26880. - application/json
  26881. responses:
  26882. "200":
  26883. description: OK
  26884. schema:
  26885. $ref: '#/definitions/app.Response'
  26886. "500":
  26887. description: Internal Server Error
  26888. schema:
  26889. $ref: '#/definitions/app.Response'
  26890. security:
  26891. - ApiKeyAuth: []
  26892. summary: 获取用户实名认证状态
  26893. tags:
  26894. - 用户信息
  26895. /User/LoginQuery:
  26896. get:
  26897. parameters:
  26898. - description: 登录账号
  26899. in: query
  26900. name: loginID
  26901. required: true
  26902. type: integer
  26903. produces:
  26904. - application/json
  26905. responses:
  26906. "200":
  26907. description: OK
  26908. schema:
  26909. $ref: '#/definitions/user.LoginQueryRsp'
  26910. "500":
  26911. description: Internal Server Error
  26912. schema:
  26913. $ref: '#/definitions/app.Response'
  26914. security:
  26915. - ApiKeyAuth: []
  26916. summary: 账户登录后信息查询
  26917. tags:
  26918. - 用户信息
  26919. /User/QueryMessageBoard:
  26920. get:
  26921. parameters:
  26922. - description: 用户ID
  26923. in: query
  26924. name: userID
  26925. required: true
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. $ref: '#/definitions/models.Messageboard'
  26934. "500":
  26935. description: Internal Server Error
  26936. schema:
  26937. $ref: '#/definitions/app.Response'
  26938. security:
  26939. - ApiKeyAuth: []
  26940. summary: 获取用户留言板信息
  26941. tags:
  26942. - 用户信息
  26943. /User/QueryUserFavoriteGoodses:
  26944. get:
  26945. parameters:
  26946. - description: 用户ID
  26947. in: query
  26948. name: userID
  26949. required: true
  26950. type: integer
  26951. produces:
  26952. - application/json
  26953. responses:
  26954. "200":
  26955. description: OK
  26956. schema:
  26957. $ref: '#/definitions/models.Userfavoritegoods'
  26958. "500":
  26959. description: Internal Server Error
  26960. schema:
  26961. $ref: '#/definitions/app.Response'
  26962. security:
  26963. - ApiKeyAuth: []
  26964. summary: 获取用户商品收藏信息
  26965. tags:
  26966. - 用户信息
  26967. /User/QueryUserInfo:
  26968. get:
  26969. parameters:
  26970. - description: 用户ID
  26971. in: query
  26972. name: userID
  26973. required: true
  26974. type: integer
  26975. - description: 是否解密
  26976. in: query
  26977. name: isDecrypt
  26978. type: boolean
  26979. produces:
  26980. - application/json
  26981. responses:
  26982. "200":
  26983. description: OK
  26984. schema:
  26985. $ref: '#/definitions/models.Userinfo'
  26986. "500":
  26987. description: Internal Server Error
  26988. schema:
  26989. $ref: '#/definitions/app.Response'
  26990. security:
  26991. - ApiKeyAuth: []
  26992. summary: 获取用户信息
  26993. tags:
  26994. - 用户信息
  26995. /User/QueryUserReferNum:
  26996. get:
  26997. parameters:
  26998. - description: 用户ID
  26999. in: query
  27000. name: userID
  27001. required: true
  27002. type: integer
  27003. produces:
  27004. - application/json
  27005. responses:
  27006. "200":
  27007. description: OK
  27008. schema:
  27009. $ref: '#/definitions/app.Response'
  27010. "500":
  27011. description: Internal Server Error
  27012. schema:
  27013. $ref: '#/definitions/app.Response'
  27014. summary: 获取用户邀请码
  27015. tags:
  27016. - 用户信息
  27017. /User/RemoveUserFavoriteGoods:
  27018. post:
  27019. parameters:
  27020. - description: 用户ID
  27021. in: query
  27022. name: userID
  27023. required: true
  27024. type: integer
  27025. - description: 商品ID
  27026. in: query
  27027. name: goodsID
  27028. required: true
  27029. type: integer
  27030. produces:
  27031. - application/json
  27032. responses:
  27033. "200":
  27034. description: OK
  27035. schema:
  27036. $ref: '#/definitions/app.Response'
  27037. "500":
  27038. description: Internal Server Error
  27039. schema:
  27040. $ref: '#/definitions/app.Response'
  27041. security:
  27042. - ApiKeyAuth: []
  27043. summary: 移除用户商品收藏信息
  27044. tags:
  27045. - 用户信息
  27046. /User/UpdateUserAccountStatus:
  27047. post:
  27048. parameters:
  27049. - description: 用户ID
  27050. in: query
  27051. name: userID
  27052. required: true
  27053. type: integer
  27054. - description: 账户状态 - 4:正常 6:注销(停用)
  27055. in: query
  27056. name: accountStatus
  27057. required: true
  27058. type: integer
  27059. produces:
  27060. - application/json
  27061. responses:
  27062. "200":
  27063. description: OK
  27064. schema:
  27065. $ref: '#/definitions/app.Response'
  27066. "500":
  27067. description: Internal Server Error
  27068. schema:
  27069. $ref: '#/definitions/app.Response'
  27070. security:
  27071. - ApiKeyAuth: []
  27072. summary: 更新用户状态
  27073. tags:
  27074. - 用户信息
  27075. /WRTrade/GetAllDeliveryGoods:
  27076. get:
  27077. produces:
  27078. - application/json
  27079. responses:
  27080. "200":
  27081. description: OK
  27082. schema:
  27083. $ref: '#/definitions/app.Response'
  27084. "500":
  27085. description: Internal Server Error
  27086. schema:
  27087. $ref: '#/definitions/app.Response'
  27088. security:
  27089. - ApiKeyAuth: []
  27090. summary: 获取带仓单分类的种类信息
  27091. tags:
  27092. - 仓单贸易
  27093. - 仓单贸易
  27094. /WrTrade2/QueryDeliveryGoodsSection:
  27095. get:
  27096. produces:
  27097. - application/json
  27098. responses:
  27099. "200":
  27100. description: OK
  27101. schema:
  27102. items:
  27103. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27104. type: array
  27105. "500":
  27106. description: Internal Server Error
  27107. schema:
  27108. $ref: '#/definitions/app.Response'
  27109. security:
  27110. - ApiKeyAuth: []
  27111. summary: 查询板块(分类)
  27112. tags:
  27113. - 仓单贸易v2
  27114. /WrTrade2/QueryFaProductDetail:
  27115. get:
  27116. description: 页面 买卖大厅 -> 选择融资方案
  27117. parameters:
  27118. - description: 仓单要素id
  27119. in: query
  27120. name: wrfactortypeid
  27121. required: true
  27122. type: integer
  27123. produces:
  27124. - application/json
  27125. responses:
  27126. "200":
  27127. description: OK
  27128. schema:
  27129. items:
  27130. $ref: '#/definitions/models.WrFAProductDetail'
  27131. type: array
  27132. "500":
  27133. description: Internal Server Error
  27134. schema:
  27135. $ref: '#/definitions/app.Response'
  27136. security:
  27137. - ApiKeyAuth: []
  27138. summary: 查询融资产品列表
  27139. tags:
  27140. - 仓单贸易v2
  27141. /WrTrade2/QueryFilterItem:
  27142. get:
  27143. parameters:
  27144. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27145. in: query
  27146. name: itype
  27147. required: true
  27148. type: string
  27149. produces:
  27150. - application/json
  27151. responses:
  27152. "200":
  27153. description: OK
  27154. schema:
  27155. items:
  27156. $ref: '#/definitions/models.WrFilterItem'
  27157. type: array
  27158. "500":
  27159. description: Internal Server Error
  27160. schema:
  27161. $ref: '#/definitions/app.Response'
  27162. security:
  27163. - ApiKeyAuth: []
  27164. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27165. tags:
  27166. - 仓单贸易v2
  27167. /WrTrade2/QueryFtDeliveryGoods:
  27168. get:
  27169. produces:
  27170. - application/json
  27171. responses:
  27172. "200":
  27173. description: OK
  27174. schema:
  27175. items:
  27176. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27177. type: array
  27178. "500":
  27179. description: Internal Server Error
  27180. schema:
  27181. $ref: '#/definitions/app.Response'
  27182. security:
  27183. - ApiKeyAuth: []
  27184. summary: 查询品种品类筛选框列表
  27185. tags:
  27186. - 仓单贸易v2
  27187. /WrTrade2/QueryHoldLB:
  27188. get:
  27189. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27190. parameters:
  27191. - description: 资金账号
  27192. in: query
  27193. name: accountid
  27194. required: true
  27195. type: integer
  27196. - description: 仓库id
  27197. in: query
  27198. name: warehouseid
  27199. type: integer
  27200. - description: 品种id
  27201. in: query
  27202. name: deliverygoodsid
  27203. type: integer
  27204. - description: 品类id
  27205. in: query
  27206. name: wrstandardid
  27207. type: integer
  27208. - description: 仓单要素id
  27209. in: query
  27210. name: wrfactortypeid
  27211. type: integer
  27212. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27213. in: query
  27214. name: dgitemname
  27215. type: string
  27216. produces:
  27217. - application/json
  27218. responses:
  27219. "200":
  27220. description: OK
  27221. schema:
  27222. items:
  27223. $ref: '#/definitions/models.WrHoldLB'
  27224. type: array
  27225. "500":
  27226. description: Internal Server Error
  27227. schema:
  27228. $ref: '#/definitions/app.Response'
  27229. security:
  27230. - ApiKeyAuth: []
  27231. summary: 查询仓单持有记录
  27232. tags:
  27233. - 仓单贸易v2
  27234. /WrTrade2/QueryOrderQuote:
  27235. get:
  27236. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27237. 唯一确定1条记录
  27238. parameters:
  27239. - description: 页码
  27240. in: query
  27241. name: page
  27242. type: integer
  27243. - description: 每页条数
  27244. in: query
  27245. name: pagesize
  27246. type: integer
  27247. - description: 仓单贸易市场id
  27248. in: query
  27249. name: marketid
  27250. type: integer
  27251. - description: 价格方式 - 1:固定价 2-浮动价
  27252. in: query
  27253. name: wrpricetype
  27254. required: true
  27255. type: integer
  27256. - description: 0:仓单预售 1:仓单贸易
  27257. in: query
  27258. name: haswr
  27259. type: integer
  27260. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27261. in: query
  27262. name: dgitemname
  27263. type: string
  27264. - description: 仓库id(筛选条件)
  27265. in: query
  27266. name: warehouseid
  27267. type: integer
  27268. - description: 品种id
  27269. in: query
  27270. name: deliverygoodsid
  27271. type: integer
  27272. - description: 品类id
  27273. in: query
  27274. name: wrstandardid
  27275. type: integer
  27276. - description: 仓单要素id
  27277. in: query
  27278. name: wrfactortypeid
  27279. type: integer
  27280. - description: 交收月(yyyy-mm) 仓单预售填写
  27281. in: query
  27282. name: deliverymonth
  27283. type: string
  27284. produces:
  27285. - application/json
  27286. responses:
  27287. "200":
  27288. description: OK
  27289. schema:
  27290. items:
  27291. $ref: '#/definitions/models.WrOrderQuote'
  27292. type: array
  27293. "500":
  27294. description: Internal Server Error
  27295. schema:
  27296. $ref: '#/definitions/app.Response'
  27297. security:
  27298. - ApiKeyAuth: []
  27299. summary: 查询大厅行情列表
  27300. tags:
  27301. - 仓单贸易v2
  27302. /WrTrade2/QueryOrderQuoteDetail:
  27303. get:
  27304. parameters:
  27305. - description: 页码
  27306. in: query
  27307. name: page
  27308. type: integer
  27309. - description: 每页条数
  27310. in: query
  27311. name: pagesize
  27312. type: integer
  27313. - description: 仓单贸易市场id
  27314. in: query
  27315. name: marketid
  27316. type: integer
  27317. - description: 价格方式 - 1:固定价 2-浮动价
  27318. in: query
  27319. name: wrpricetype
  27320. required: true
  27321. type: integer
  27322. - description: 0:仓单预售 1:仓单贸易
  27323. in: query
  27324. name: haswr
  27325. type: integer
  27326. - description: 仓单要素id
  27327. in: query
  27328. name: wrfactortypeid
  27329. required: true
  27330. type: integer
  27331. - description: 期货商品id(浮动价方式时填)
  27332. in: query
  27333. name: goodsid
  27334. type: integer
  27335. - description: 买卖方向 0-买 1-卖
  27336. in: query
  27337. name: buyorsell
  27338. required: true
  27339. type: integer
  27340. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27341. in: query
  27342. name: deliverymonth
  27343. type: string
  27344. produces:
  27345. - application/json
  27346. responses:
  27347. "200":
  27348. description: OK
  27349. schema:
  27350. items:
  27351. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27352. type: array
  27353. "500":
  27354. description: Internal Server Error
  27355. schema:
  27356. $ref: '#/definitions/app.Response'
  27357. security:
  27358. - ApiKeyAuth: []
  27359. summary: 查询买卖大厅
  27360. tags:
  27361. - 仓单贸易v2
  27362. /WrTrade2/QueryOrderQuoteMyq:
  27363. get:
  27364. parameters:
  27365. - description: 页码
  27366. in: query
  27367. name: page
  27368. type: integer
  27369. - description: 每页条数
  27370. in: query
  27371. name: pagesize
  27372. type: integer
  27373. - description: 用户id
  27374. in: query
  27375. name: userid
  27376. required: true
  27377. type: integer
  27378. - description: 仓单贸易市场id
  27379. in: query
  27380. name: marketid
  27381. type: integer
  27382. - description: 0:仓单预售 1:仓单贸易
  27383. in: query
  27384. name: haswr
  27385. type: integer
  27386. - description: 买卖方向 0-买 1-卖
  27387. in: query
  27388. name: buyorsell
  27389. required: true
  27390. type: integer
  27391. - description: 品种id
  27392. in: query
  27393. name: deliverygoodsid
  27394. type: integer
  27395. - description: 品类id
  27396. in: query
  27397. name: wrstandardid
  27398. type: integer
  27399. - description: 交收月(yyyy-mm) 仓单预售填写
  27400. in: query
  27401. name: deliverymonth
  27402. type: string
  27403. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27404. in: query
  27405. name: dgitemname
  27406. type: string
  27407. produces:
  27408. - application/json
  27409. responses:
  27410. "200":
  27411. description: OK
  27412. schema:
  27413. items:
  27414. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27415. type: array
  27416. "500":
  27417. description: Internal Server Error
  27418. schema:
  27419. $ref: '#/definitions/app.Response'
  27420. security:
  27421. - ApiKeyAuth: []
  27422. summary: 查询贸易圈挂牌大厅
  27423. tags:
  27424. - 仓单贸易v2
  27425. /WrTrade2/QueryPerformancePlan:
  27426. get:
  27427. parameters:
  27428. - description: 用户id
  27429. in: query
  27430. name: userid
  27431. required: true
  27432. type: integer
  27433. - description: 买卖方向 0-买 1-卖
  27434. in: query
  27435. name: buyorsell
  27436. required: true
  27437. type: integer
  27438. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27439. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27440. in: query
  27441. name: status
  27442. type: string
  27443. - description: 开始交易日(yyyymmdd)
  27444. in: query
  27445. name: begindate
  27446. type: string
  27447. - description: 结束交易日(yyyymmdd)
  27448. in: query
  27449. name: enddate
  27450. type: string
  27451. produces:
  27452. - application/json
  27453. responses:
  27454. "200":
  27455. description: OK
  27456. schema:
  27457. items:
  27458. $ref: '#/definitions/models.WrPerformancePlan'
  27459. type: array
  27460. "500":
  27461. description: Internal Server Error
  27462. schema:
  27463. $ref: '#/definitions/app.Response'
  27464. security:
  27465. - ApiKeyAuth: []
  27466. summary: 查询履约信息
  27467. tags:
  27468. - 仓单贸易v2
  27469. /WrTrade2/QueryPermancePlanTmp:
  27470. get:
  27471. description: |-
  27472. 返回指定用户的模板和公共模板(用户id为空)
  27473. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27474. parameters:
  27475. - description: 用户id
  27476. in: query
  27477. name: userid
  27478. type: integer
  27479. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27480. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27481. in: query
  27482. name: tmptype
  27483. type: string
  27484. - description: 是否包含公共模板(用户id为空的) 1-包含
  27485. in: query
  27486. name: includepub
  27487. type: integer
  27488. - description: 市场id(天津麦顿指定此参数,其它不用)
  27489. in: query
  27490. name: marketid
  27491. type: integer
  27492. produces:
  27493. - application/json
  27494. responses:
  27495. "200":
  27496. description: OK
  27497. schema:
  27498. items:
  27499. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27500. type: array
  27501. "500":
  27502. description: Internal Server Error
  27503. schema:
  27504. $ref: '#/definitions/app.Response'
  27505. security:
  27506. - ApiKeyAuth: []
  27507. summary: 查询履约模板
  27508. tags:
  27509. - 仓单贸易v2
  27510. /WrTrade2/QuerySiteColumnDetail:
  27511. get:
  27512. parameters:
  27513. - description: 页码
  27514. in: query
  27515. name: page
  27516. type: integer
  27517. - description: 每页条数
  27518. in: query
  27519. name: pagesize
  27520. type: integer
  27521. - description: 所属栏目id
  27522. in: query
  27523. name: columnid
  27524. type: integer
  27525. produces:
  27526. - application/json
  27527. responses:
  27528. "200":
  27529. description: OK
  27530. schema:
  27531. items:
  27532. $ref: '#/definitions/models.WrSiteColumnDetail'
  27533. type: array
  27534. "500":
  27535. description: Internal Server Error
  27536. schema:
  27537. $ref: '#/definitions/app.Response'
  27538. security:
  27539. - ApiKeyAuth: []
  27540. summary: 查询资讯
  27541. tags:
  27542. - 仓单贸易v2
  27543. /WrTrade2/QuerySpotGroupTradeSum:
  27544. get:
  27545. produces:
  27546. - application/json
  27547. responses:
  27548. "200":
  27549. description: OK
  27550. schema:
  27551. items:
  27552. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27553. type: array
  27554. "500":
  27555. description: Internal Server Error
  27556. schema:
  27557. $ref: '#/definitions/app.Response'
  27558. security:
  27559. - ApiKeyAuth: []
  27560. summary: 查询指数
  27561. tags:
  27562. - 仓单贸易v2
  27563. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27564. get:
  27565. description: 查询的结果将会按日期 从小到大 排序
  27566. parameters:
  27567. - description: 现货商品id
  27568. in: query
  27569. name: deliverygoodsid
  27570. required: true
  27571. type: integer
  27572. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27573. in: query
  27574. name: lastnum
  27575. type: integer
  27576. produces:
  27577. - application/json
  27578. responses:
  27579. "200":
  27580. description: OK
  27581. schema:
  27582. items:
  27583. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27584. type: array
  27585. "500":
  27586. description: Internal Server Error
  27587. schema:
  27588. $ref: '#/definitions/app.Response'
  27589. security:
  27590. - ApiKeyAuth: []
  27591. summary: 查询指数详细(价格走势图)
  27592. tags:
  27593. - 仓单贸易v2
  27594. /WrTrade2/QueryWrAverageTradePrice:
  27595. get:
  27596. parameters:
  27597. - description: 页码
  27598. in: query
  27599. name: page
  27600. type: integer
  27601. - description: 每页条数
  27602. in: query
  27603. name: pagesize
  27604. type: integer
  27605. - description: 0:仓单预售 1:仓单贸易
  27606. in: query
  27607. name: haswr
  27608. required: true
  27609. type: integer
  27610. - description: 仓单要素id
  27611. in: query
  27612. name: wrfactortypeid
  27613. required: true
  27614. type: integer
  27615. produces:
  27616. - application/json
  27617. responses:
  27618. "200":
  27619. description: OK
  27620. schema:
  27621. items:
  27622. $ref: '#/definitions/models.WrAverageTradePrice'
  27623. type: array
  27624. "500":
  27625. description: Internal Server Error
  27626. schema:
  27627. $ref: '#/definitions/app.Response'
  27628. security:
  27629. - ApiKeyAuth: []
  27630. summary: 查询成交价(历史走势)
  27631. tags:
  27632. - 仓单贸易v2
  27633. /WrTrade2/QueryWrBsGoodsInfo:
  27634. get:
  27635. description: 合约交易/买卖大厅/详情
  27636. parameters:
  27637. - description: 商品id
  27638. in: query
  27639. name: goodsid
  27640. required: true
  27641. type: integer
  27642. produces:
  27643. - application/json
  27644. responses:
  27645. "200":
  27646. description: OK
  27647. schema:
  27648. items:
  27649. $ref: '#/definitions/models.WrBsGoodsInfo'
  27650. type: array
  27651. "500":
  27652. description: Internal Server Error
  27653. schema:
  27654. $ref: '#/definitions/app.Response'
  27655. security:
  27656. - ApiKeyAuth: []
  27657. summary: 查询合约交易买卖大厅详情
  27658. tags:
  27659. - 仓单贸易v2
  27660. /WrTrade2/QueryWrBuybackDetail:
  27661. get:
  27662. parameters:
  27663. - description: 融资合同id
  27664. in: query
  27665. name: scfcontractid
  27666. type: integer
  27667. produces:
  27668. - application/json
  27669. responses:
  27670. "200":
  27671. description: OK
  27672. schema:
  27673. items:
  27674. $ref: '#/definitions/models.WrBuybackDetail'
  27675. type: array
  27676. "500":
  27677. description: Internal Server Error
  27678. schema:
  27679. $ref: '#/definitions/app.Response'
  27680. security:
  27681. - ApiKeyAuth: []
  27682. summary: 查询仓单回购明细
  27683. tags:
  27684. - 仓单贸易v2
  27685. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27686. get:
  27687. parameters:
  27688. - description: 资金账号
  27689. in: query
  27690. name: accountid
  27691. required: true
  27692. type: integer
  27693. - description: 商品id
  27694. in: query
  27695. name: goodsid
  27696. required: true
  27697. type: integer
  27698. produces:
  27699. - application/json
  27700. responses:
  27701. "200":
  27702. description: OK
  27703. schema:
  27704. items:
  27705. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27706. type: array
  27707. "500":
  27708. description: Internal Server Error
  27709. schema:
  27710. $ref: '#/definitions/app.Response'
  27711. security:
  27712. - ApiKeyAuth: []
  27713. summary: 查询合约交收可点选仓单
  27714. tags:
  27715. - 仓单贸易v2
  27716. /WrTrade2/QueryWrDeliveryDetail:
  27717. get:
  27718. parameters:
  27719. - description: 用户id
  27720. in: query
  27721. name: userid
  27722. required: true
  27723. type: integer
  27724. - description: 资金账号id
  27725. in: query
  27726. name: accountid
  27727. type: integer
  27728. - description: 开始交易日(yyyymmdd)
  27729. in: query
  27730. name: begindate
  27731. type: string
  27732. - description: 结束交易日(yyyymmdd)
  27733. in: query
  27734. name: enddate
  27735. type: string
  27736. produces:
  27737. - application/json
  27738. responses:
  27739. "200":
  27740. description: OK
  27741. schema:
  27742. items:
  27743. $ref: '#/definitions/models.WrDeliveryDetail'
  27744. type: array
  27745. "500":
  27746. description: Internal Server Error
  27747. schema:
  27748. $ref: '#/definitions/app.Response'
  27749. security:
  27750. - ApiKeyAuth: []
  27751. summary: 查询交收
  27752. tags:
  27753. - 仓单贸易v2
  27754. /WrTrade2/QueryWrFactorTypeInfo:
  27755. get:
  27756. parameters:
  27757. - description: 仓单要素id
  27758. in: query
  27759. name: wrfactortypeid
  27760. required: true
  27761. type: integer
  27762. produces:
  27763. - application/json
  27764. responses:
  27765. "200":
  27766. description: OK
  27767. schema:
  27768. items:
  27769. $ref: '#/definitions/models.WrFactorTypeInfo'
  27770. type: array
  27771. "500":
  27772. description: Internal Server Error
  27773. schema:
  27774. $ref: '#/definitions/app.Response'
  27775. security:
  27776. - ApiKeyAuth: []
  27777. summary: 查询仓单要素详细信息
  27778. tags:
  27779. - 仓单贸易v2
  27780. /WrTrade2/QueryWrFactorTypeInfoEx:
  27781. get:
  27782. parameters:
  27783. - description: 仓单要素id
  27784. in: query
  27785. name: wrfactortypeid
  27786. required: true
  27787. type: integer
  27788. produces:
  27789. - application/json
  27790. responses:
  27791. "200":
  27792. description: OK
  27793. schema:
  27794. items:
  27795. $ref: '#/definitions/models.WrTypeItem'
  27796. type: array
  27797. "500":
  27798. description: Internal Server Error
  27799. schema:
  27800. $ref: '#/definitions/app.Response'
  27801. security:
  27802. - ApiKeyAuth: []
  27803. summary: 查询仓单要素详细信息列表项
  27804. tags:
  27805. - 仓单贸易v2
  27806. /WrTrade2/QueryWrFinanceBuyApply:
  27807. get:
  27808. description: 页面 融资信息+ / 申请单
  27809. parameters:
  27810. - description: 用户id
  27811. in: query
  27812. name: userid
  27813. required: true
  27814. type: integer
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. items:
  27822. $ref: '#/definitions/models.WrFinanceBuyApply'
  27823. type: array
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 查询融资购买申请
  27831. tags:
  27832. - 仓单贸易v2
  27833. /WrTrade2/QueryWrFriendApply:
  27834. get:
  27835. parameters:
  27836. - description: 用户id
  27837. in: query
  27838. name: userid
  27839. required: true
  27840. type: integer
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/models.WrFriendApply'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 查询好友申请记录
  27857. tags:
  27858. - 仓单贸易v2
  27859. /WrTrade2/QueryWrGoodsInfo:
  27860. get:
  27861. parameters:
  27862. - description: 仓单贸易市场id
  27863. in: query
  27864. name: marketid
  27865. type: integer
  27866. - description: 0:仓单预售 1:仓单贸易
  27867. in: query
  27868. name: haswr
  27869. required: true
  27870. type: integer
  27871. - description: 仓单要素id
  27872. in: query
  27873. name: wrfactortypeid
  27874. required: true
  27875. type: integer
  27876. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27877. in: query
  27878. name: tmplateid
  27879. type: integer
  27880. produces:
  27881. - application/json
  27882. responses:
  27883. "200":
  27884. description: OK
  27885. schema:
  27886. items:
  27887. $ref: '#/definitions/models.WrGoodsInfo'
  27888. type: array
  27889. "500":
  27890. description: Internal Server Error
  27891. schema:
  27892. $ref: '#/definitions/app.Response'
  27893. security:
  27894. - ApiKeyAuth: []
  27895. summary: 查询仓单商品信息
  27896. tags:
  27897. - 仓单贸易v2
  27898. /WrTrade2/QueryWrMarketTradeConfig:
  27899. get:
  27900. parameters:
  27901. - description: 市场id
  27902. in: query
  27903. name: marketid
  27904. type: integer
  27905. produces:
  27906. - application/json
  27907. responses:
  27908. "200":
  27909. description: OK
  27910. schema:
  27911. items:
  27912. $ref: '#/definitions/models.WrMarketTradeConfig'
  27913. type: array
  27914. "500":
  27915. description: Internal Server Error
  27916. schema:
  27917. $ref: '#/definitions/app.Response'
  27918. security:
  27919. - ApiKeyAuth: []
  27920. summary: 查询市场交易参数配置
  27921. tags:
  27922. - 仓单贸易v2
  27923. /WrTrade2/QueryWrOrderDetail:
  27924. get:
  27925. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27926. parameters:
  27927. - description: 页码
  27928. in: query
  27929. name: page
  27930. type: integer
  27931. - description: 每页条数
  27932. in: query
  27933. name: pagesize
  27934. type: integer
  27935. - description: 用户id
  27936. in: query
  27937. name: userid
  27938. required: true
  27939. type: integer
  27940. - description: 仓单贸易市场id
  27941. in: query
  27942. name: marketid
  27943. type: integer
  27944. - description: 0:仓单预售 1:仓单贸易
  27945. in: query
  27946. name: haswr
  27947. required: true
  27948. type: integer
  27949. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27950. in: query
  27951. name: bcancel
  27952. type: integer
  27953. - description: 开始交易日(yyyymmdd)
  27954. in: query
  27955. name: begindate
  27956. type: string
  27957. - description: 结束交易日(yyyymmdd)
  27958. in: query
  27959. name: enddate
  27960. type: string
  27961. produces:
  27962. - application/json
  27963. responses:
  27964. "200":
  27965. description: OK
  27966. schema:
  27967. items:
  27968. $ref: '#/definitions/models.WrOrderDetail'
  27969. type: array
  27970. "500":
  27971. description: Internal Server Error
  27972. schema:
  27973. $ref: '#/definitions/app.Response'
  27974. security:
  27975. - ApiKeyAuth: []
  27976. summary: 查询仓单委托单(挂单)
  27977. tags:
  27978. - 仓单贸易v2
  27979. /WrTrade2/QueryWrOutInApply:
  27980. get:
  27981. parameters:
  27982. - description: 用户id
  27983. in: query
  27984. name: userid
  27985. required: true
  27986. type: integer
  27987. - description: 开始交易日(yyyymmdd)
  27988. in: query
  27989. name: begindate
  27990. type: string
  27991. - description: 结束交易日(yyyymmdd)
  27992. in: query
  27993. name: enddate
  27994. type: string
  27995. produces:
  27996. - application/json
  27997. responses:
  27998. "200":
  27999. description: OK
  28000. schema:
  28001. items:
  28002. $ref: '#/definitions/models.WrOutInApply'
  28003. type: array
  28004. "500":
  28005. description: Internal Server Error
  28006. schema:
  28007. $ref: '#/definitions/app.Response'
  28008. security:
  28009. - ApiKeyAuth: []
  28010. summary: 查询提货申请
  28011. tags:
  28012. - 仓单贸易v2
  28013. /WrTrade2/QueryWrPerformancePlanStep:
  28014. get:
  28015. parameters:
  28016. - description: 履约计划id(performanceplanid)
  28017. in: query
  28018. name: planid
  28019. required: true
  28020. type: integer
  28021. - description: 当前步骤id
  28022. in: query
  28023. name: curstepid
  28024. type: integer
  28025. produces:
  28026. - application/json
  28027. responses:
  28028. "200":
  28029. description: OK
  28030. schema:
  28031. items:
  28032. $ref: '#/definitions/models.WrPerformancePlanStep'
  28033. type: array
  28034. "500":
  28035. description: Internal Server Error
  28036. schema:
  28037. $ref: '#/definitions/app.Response'
  28038. security:
  28039. - ApiKeyAuth: []
  28040. summary: 查询履约信息详情
  28041. tags:
  28042. - 仓单贸易v2
  28043. /WrTrade2/QueryWrPerformanceStepType:
  28044. get:
  28045. produces:
  28046. - application/json
  28047. responses:
  28048. "200":
  28049. description: OK
  28050. schema:
  28051. items:
  28052. $ref: '#/definitions/models.WrPerformanceStepType'
  28053. type: array
  28054. "500":
  28055. description: Internal Server Error
  28056. schema:
  28057. $ref: '#/definitions/app.Response'
  28058. security:
  28059. - ApiKeyAuth: []
  28060. summary: 查询履约步骤枚举
  28061. tags:
  28062. - 仓单贸易v2
  28063. /WrTrade2/QueryWrPosition:
  28064. get:
  28065. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28066. parameters:
  28067. - description: 用户id
  28068. in: query
  28069. name: userid
  28070. required: true
  28071. type: integer
  28072. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28073. in: query
  28074. name: querytype
  28075. required: true
  28076. type: integer
  28077. - description: 0:仓单预售 1:仓单贸易
  28078. in: query
  28079. name: haswr
  28080. required: true
  28081. type: integer
  28082. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28083. in: query
  28084. name: dgitemname
  28085. type: string
  28086. - description: 仓库id(筛选条件)
  28087. in: query
  28088. name: warehouseid
  28089. type: integer
  28090. - description: 品种id
  28091. in: query
  28092. name: deliverygoodsid
  28093. type: integer
  28094. - description: 品类id
  28095. in: query
  28096. name: wrstandardid
  28097. type: integer
  28098. produces:
  28099. - application/json
  28100. responses:
  28101. "200":
  28102. description: OK
  28103. schema:
  28104. items:
  28105. $ref: '#/definitions/models.WrPosition'
  28106. type: array
  28107. "500":
  28108. description: Internal Server Error
  28109. schema:
  28110. $ref: '#/definitions/app.Response'
  28111. security:
  28112. - ApiKeyAuth: []
  28113. summary: 查询现货(预售)仓单持仓
  28114. tags:
  28115. - 仓单贸易v2
  28116. /WrTrade2/QueryWrPreSaleInfo:
  28117. get:
  28118. parameters:
  28119. - description: 市场id
  28120. in: query
  28121. name: marketid
  28122. type: integer
  28123. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28124. in: query
  28125. name: presalestatus
  28126. type: string
  28127. - description: 摇号标识 - 0:未摇号 1:已摇号
  28128. in: query
  28129. name: lotteryflag
  28130. type: integer
  28131. - description: 最近多少条记录(按创建时间倒序)
  28132. in: query
  28133. name: lastnum
  28134. type: integer
  28135. produces:
  28136. - application/json
  28137. responses:
  28138. "200":
  28139. description: OK
  28140. schema:
  28141. items:
  28142. $ref: '#/definitions/models.WrPreSaleInfo'
  28143. type: array
  28144. "500":
  28145. description: Internal Server Error
  28146. schema:
  28147. $ref: '#/definitions/app.Response'
  28148. security:
  28149. - ApiKeyAuth: []
  28150. summary: 查询新品发布
  28151. tags:
  28152. - 仓单贸易v2
  28153. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28154. get:
  28155. parameters:
  28156. - description: 市场id
  28157. in: query
  28158. name: marketid
  28159. required: true
  28160. type: integer
  28161. - description: 现货商品id
  28162. in: query
  28163. name: wrstandardid
  28164. required: true
  28165. type: integer
  28166. - description: 开始交易日(yyyymmdd)
  28167. in: query
  28168. name: begindate
  28169. type: string
  28170. - description: 结束交易日(yyyymmdd)
  28171. in: query
  28172. name: enddate
  28173. type: string
  28174. - description: 最近多少条记录(按交易日倒序)
  28175. in: query
  28176. name: lastnum
  28177. type: integer
  28178. produces:
  28179. - application/json
  28180. responses:
  28181. "200":
  28182. description: OK
  28183. schema:
  28184. items:
  28185. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28186. type: array
  28187. "500":
  28188. description: Internal Server Error
  28189. schema:
  28190. $ref: '#/definitions/app.Response'
  28191. security:
  28192. - ApiKeyAuth: []
  28193. summary: 查询价格走势
  28194. tags:
  28195. - 仓单贸易v2
  28196. /WrTrade2/QueryWrScfContract:
  28197. get:
  28198. parameters:
  28199. - description: 用户id
  28200. in: query
  28201. name: userid
  28202. required: true
  28203. type: integer
  28204. - description: 融资合同id
  28205. in: query
  28206. name: scfcontractid
  28207. type: integer
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. items:
  28215. $ref: '#/definitions/models.WrScfContract'
  28216. type: array
  28217. "500":
  28218. description: Internal Server Error
  28219. schema:
  28220. $ref: '#/definitions/app.Response'
  28221. security:
  28222. - ApiKeyAuth: []
  28223. summary: 查询仓单贸易融资合同
  28224. tags:
  28225. - 仓单贸易v2
  28226. /WrTrade2/QueryWrScfContractInterest:
  28227. get:
  28228. parameters:
  28229. - description: 融资合同id
  28230. in: query
  28231. name: scfcontractid
  28232. type: integer
  28233. produces:
  28234. - application/json
  28235. responses:
  28236. "200":
  28237. description: OK
  28238. schema:
  28239. items:
  28240. $ref: '#/definitions/models.WrScfContractInterest'
  28241. type: array
  28242. "500":
  28243. description: Internal Server Error
  28244. schema:
  28245. $ref: '#/definitions/app.Response'
  28246. security:
  28247. - ApiKeyAuth: []
  28248. summary: 查询融资合同费用明细
  28249. tags:
  28250. - 仓单贸易v2
  28251. /WrTrade2/QueryWrSpecialMatchOrder:
  28252. get:
  28253. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28254. parameters:
  28255. - description: 页码
  28256. in: query
  28257. name: page
  28258. type: integer
  28259. - description: 每页条数
  28260. in: query
  28261. name: pagesize
  28262. type: integer
  28263. - description: 用户id
  28264. in: query
  28265. name: userid
  28266. required: true
  28267. type: integer
  28268. - description: 仓单贸易市场id
  28269. in: query
  28270. name: marketid
  28271. type: integer
  28272. - description: 0:仓单预售 1:仓单贸易
  28273. in: query
  28274. name: haswr
  28275. required: true
  28276. type: integer
  28277. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28278. in: query
  28279. name: isspecified
  28280. type: integer
  28281. produces:
  28282. - application/json
  28283. responses:
  28284. "200":
  28285. description: OK
  28286. schema:
  28287. items:
  28288. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28289. type: array
  28290. "500":
  28291. description: Internal Server Error
  28292. schema:
  28293. $ref: '#/definitions/app.Response'
  28294. security:
  28295. - ApiKeyAuth: []
  28296. summary: 查询指定成交
  28297. tags:
  28298. - 仓单贸易v2
  28299. /WrTrade2/QueryWrStandardFactoryItem:
  28300. get:
  28301. parameters:
  28302. - description: 品类id
  28303. in: query
  28304. name: wrstandardid
  28305. required: true
  28306. type: integer
  28307. produces:
  28308. - application/json
  28309. responses:
  28310. "200":
  28311. description: OK
  28312. schema:
  28313. items:
  28314. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28315. type: array
  28316. "500":
  28317. description: Internal Server Error
  28318. schema:
  28319. $ref: '#/definitions/app.Response'
  28320. security:
  28321. - ApiKeyAuth: []
  28322. summary: 查询品类要素定义项
  28323. tags:
  28324. - 仓单贸易v2
  28325. /WrTrade2/QueryWrTradeBargainApply:
  28326. get:
  28327. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28328. 议价->对方议价 填写matchuserid=登录用户id
  28329. parameters:
  28330. - description: 议价人id(摘牌方)
  28331. in: query
  28332. name: userid
  28333. type: integer
  28334. - description: 挂牌方id(查对方议价时,填写此项)
  28335. in: query
  28336. name: matchuserid
  28337. type: integer
  28338. - description: 关联委托单id
  28339. in: query
  28340. name: wrtradeorderid
  28341. type: integer
  28342. - description: 0:仓单预售 1:仓单贸易
  28343. in: query
  28344. name: haswr
  28345. required: true
  28346. type: integer
  28347. - description: 开始交易日(yyyymmdd)
  28348. in: query
  28349. name: begindate
  28350. type: string
  28351. - description: 结束交易日(yyyymmdd)
  28352. in: query
  28353. name: enddate
  28354. type: string
  28355. produces:
  28356. - application/json
  28357. responses:
  28358. "200":
  28359. description: OK
  28360. schema:
  28361. items:
  28362. $ref: '#/definitions/models.WRTradeBargainApply'
  28363. type: array
  28364. "500":
  28365. description: Internal Server Error
  28366. schema:
  28367. $ref: '#/definitions/app.Response'
  28368. security:
  28369. - ApiKeyAuth: []
  28370. summary: 查询议价单
  28371. tags:
  28372. - 仓单贸易v2
  28373. /WrTrade2/QueryWrTradeDetail:
  28374. get:
  28375. parameters:
  28376. - description: 页码
  28377. in: query
  28378. name: page
  28379. type: integer
  28380. - description: 每页条数
  28381. in: query
  28382. name: pagesize
  28383. type: integer
  28384. - description: 用户id
  28385. in: query
  28386. name: userid
  28387. required: true
  28388. type: integer
  28389. - description: 仓单贸易市场id
  28390. in: query
  28391. name: marketid
  28392. type: integer
  28393. - description: 0:仓单预售 1:仓单贸易
  28394. in: query
  28395. name: haswr
  28396. required: true
  28397. type: integer
  28398. - description: 开始交易日(yyyymmdd)
  28399. in: query
  28400. name: begindate
  28401. type: string
  28402. - description: 结束交易日(yyyymmdd)
  28403. in: query
  28404. name: enddate
  28405. type: string
  28406. produces:
  28407. - application/json
  28408. responses:
  28409. "200":
  28410. description: OK
  28411. schema:
  28412. items:
  28413. $ref: '#/definitions/models.WrTradeDetail'
  28414. type: array
  28415. "500":
  28416. description: Internal Server Error
  28417. schema:
  28418. $ref: '#/definitions/app.Response'
  28419. security:
  28420. - ApiKeyAuth: []
  28421. summary: 查询仓单成交明细
  28422. tags:
  28423. - 仓单贸易v2
  28424. /WrTrade2/QueryWrTradeOrderDetail:
  28425. get:
  28426. parameters:
  28427. - description: 页码
  28428. in: query
  28429. name: page
  28430. type: integer
  28431. - description: 每页条数
  28432. in: query
  28433. name: pagesize
  28434. type: integer
  28435. - description: 商品id
  28436. in: query
  28437. name: goodsid
  28438. required: true
  28439. type: integer
  28440. - description: 买卖方向 0-买 1-卖
  28441. in: query
  28442. name: buyorsell
  28443. required: true
  28444. type: integer
  28445. produces:
  28446. - application/json
  28447. responses:
  28448. "200":
  28449. description: OK
  28450. schema:
  28451. items:
  28452. $ref: '#/definitions/models.WrTradeOrderDetail'
  28453. type: array
  28454. "500":
  28455. description: Internal Server Error
  28456. schema:
  28457. $ref: '#/definitions/app.Response'
  28458. security:
  28459. - ApiKeyAuth: []
  28460. summary: 查询合约交易买卖大厅
  28461. tags:
  28462. - 仓单贸易v2
  28463. /WrTrade2/QueryWrUserFriend:
  28464. get:
  28465. parameters:
  28466. - description: 用户id
  28467. in: query
  28468. name: userid
  28469. required: true
  28470. type: integer
  28471. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28472. in: query
  28473. name: newuserid
  28474. type: integer
  28475. produces:
  28476. - application/json
  28477. responses:
  28478. "200":
  28479. description: OK
  28480. schema:
  28481. items:
  28482. $ref: '#/definitions/models.WrUserFriend'
  28483. type: array
  28484. "500":
  28485. description: Internal Server Error
  28486. schema:
  28487. $ref: '#/definitions/app.Response'
  28488. security:
  28489. - ApiKeyAuth: []
  28490. summary: 查询我的朋友
  28491. tags:
  28492. - 仓单贸易v2
  28493. /WrTrade2/QueryWrUserReceiptInfo:
  28494. get:
  28495. parameters:
  28496. - description: 用户id
  28497. in: query
  28498. name: userid
  28499. type: integer
  28500. - description: 发票类型 - 1:个人 2:企业
  28501. in: query
  28502. name: receipttype
  28503. type: integer
  28504. produces:
  28505. - application/json
  28506. responses:
  28507. "200":
  28508. description: OK
  28509. schema:
  28510. items:
  28511. $ref: '#/definitions/models.WrUserReceiptInfo'
  28512. type: array
  28513. "500":
  28514. description: Internal Server Error
  28515. schema:
  28516. $ref: '#/definitions/app.Response'
  28517. security:
  28518. - ApiKeyAuth: []
  28519. summary: 查询发票信息
  28520. tags:
  28521. - 仓单贸易v2
  28522. /ZJ/GetBankTip:
  28523. get:
  28524. produces:
  28525. - application/json
  28526. responses:
  28527. "200":
  28528. description: OK
  28529. schema:
  28530. type: string
  28531. "500":
  28532. description: Internal Server Error
  28533. schema:
  28534. $ref: '#/definitions/app.Response'
  28535. summary: 获取中江网银端出入金提示信息
  28536. tags:
  28537. - 中江
  28538. /ZJ/GetCusBankChannels:
  28539. get:
  28540. produces:
  28541. - application/json
  28542. responses:
  28543. "200":
  28544. description: OK
  28545. schema:
  28546. items:
  28547. type: string
  28548. type: array
  28549. "500":
  28550. description: Internal Server Error
  28551. schema:
  28552. $ref: '#/definitions/app.Response'
  28553. summary: 获取中江出入金渠道显示列表
  28554. tags:
  28555. - 中江
  28556. securityDefinitions:
  28557. ApiKeyAuth:
  28558. in: header
  28559. name: Authorization
  28560. type: apiKey
  28561. swagger: "2.0"