swagger.yaml 794 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613
  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. thumurls:
  15953. description: 缩略图片(1:1)(逗号分隔)
  15954. type: string
  15955. warehousecode:
  15956. description: 仓库代码
  15957. type: string
  15958. warehouseid:
  15959. description: 仓库id
  15960. type: integer
  15961. warehousename:
  15962. description: 仓库名称
  15963. type: string
  15964. wrfactortypeid:
  15965. description: 仓单要素id
  15966. type: string
  15967. wrfactortypename:
  15968. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15969. type: string
  15970. wrgoodsname:
  15971. description: 商品(商品名称+仓库要素名称 拼接)
  15972. type: string
  15973. wrstandardcode:
  15974. description: 商品代码
  15975. type: string
  15976. wrstandardid:
  15977. description: 商品id
  15978. type: integer
  15979. wrstandardname:
  15980. description: 商品名称
  15981. type: string
  15982. type: object
  15983. models.WrOrderQuoteDetail:
  15984. properties:
  15985. buyorsell:
  15986. description: 买卖 - 0:买 1:卖
  15987. type: integer
  15988. delistminqty:
  15989. description: 起摘数量
  15990. type: number
  15991. deliverymonth:
  15992. description: 交收月
  15993. type: string
  15994. enumdicname:
  15995. description: 单位名称
  15996. type: string
  15997. fixedprice:
  15998. description: 买(卖)价
  15999. type: number
  16000. marketid:
  16001. description: 市场id
  16002. type: integer
  16003. minivalue:
  16004. description: 现货商品最小变动值
  16005. type: integer
  16006. orderqty:
  16007. description: 买(卖)量(=委托量-成交量)
  16008. type: number
  16009. ordertime:
  16010. description: 委托时间
  16011. type: string
  16012. pricemove:
  16013. description: 买(卖)升贴水- 基差
  16014. type: number
  16015. userid:
  16016. description: 购买方(销售方)用户ID
  16017. type: integer
  16018. username:
  16019. description: 购买方(销售方)
  16020. type: string
  16021. wrtradeorderid:
  16022. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16023. type: string
  16024. type: object
  16025. models.WrOutInApply:
  16026. properties:
  16027. applyid:
  16028. description: 申请单id
  16029. type: string
  16030. applystatus:
  16031. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16032. 8:已撤销
  16033. type: integer
  16034. applytime:
  16035. description: 申请时间
  16036. type: string
  16037. applytype:
  16038. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16039. type: integer
  16040. bannerpicurl:
  16041. description: Banner图
  16042. type: string
  16043. begindate:
  16044. description: 开始交易日(yyyymmdd)
  16045. type: string
  16046. deliverygoodscode:
  16047. description: 品种代码
  16048. type: string
  16049. deliverygoodsid:
  16050. description: 品种ID
  16051. type: integer
  16052. deliverygoodsname:
  16053. description: 品种名称
  16054. type: string
  16055. enddate:
  16056. description: 结束交易日(yyyymmdd)
  16057. type: string
  16058. enumdicname:
  16059. description: 单位名称
  16060. type: string
  16061. expresscompany:
  16062. description: 物流公司
  16063. type: string
  16064. expressnum:
  16065. description: 物流单号
  16066. type: string
  16067. minivalue:
  16068. description: 现货商品最小变动值
  16069. type: integer
  16070. optioncompare:
  16071. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16072. type: string
  16073. qty:
  16074. description: 数量
  16075. type: integer
  16076. userid:
  16077. description: 用户id
  16078. type: integer
  16079. warehouseid:
  16080. description: 仓库ID
  16081. type: integer
  16082. warehousename:
  16083. description: 仓库名称
  16084. type: string
  16085. wrfactortypeid:
  16086. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16087. type: string
  16088. wrfactortypename:
  16089. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16090. type: string
  16091. wrstandardcode:
  16092. description: 现货商品代码
  16093. type: string
  16094. wrstandardid:
  16095. description: 现货商品ID
  16096. type: integer
  16097. wrstandardname:
  16098. description: 商品名称
  16099. type: string
  16100. wrtypename:
  16101. description: 商品
  16102. type: string
  16103. type: object
  16104. models.WrPerformancePlan:
  16105. properties:
  16106. activatemonth:
  16107. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16108. type: string
  16109. amount:
  16110. description: 履约金额(总金额)
  16111. type: number
  16112. begindate:
  16113. description: 开始交易日(yyyymmdd)
  16114. type: string
  16115. buyaccountid:
  16116. description: 买方账号
  16117. type: integer
  16118. buyerfreezeamount:
  16119. description: 履约冻结(买履约)
  16120. type: number
  16121. buyerfreezeamountremain:
  16122. description: 履约冻结剩余(买履约)
  16123. type: number
  16124. buyorsell:
  16125. description: 买卖方向 0-买 1-卖
  16126. type: integer
  16127. buypaidamount:
  16128. description: 买方已冻/已扣金额 (已付金额)
  16129. type: number
  16130. buyusername:
  16131. description: 买方名字
  16132. type: string
  16133. contractid:
  16134. description: 合同ID
  16135. type: integer
  16136. createtime:
  16137. description: 创建时间
  16138. type: string
  16139. creatorid:
  16140. description: 创建人
  16141. type: integer
  16142. curstepdeadline:
  16143. description: 当前步骤到期时间
  16144. type: string
  16145. curstepid:
  16146. description: 当前步骤ID
  16147. type: string
  16148. curstepname:
  16149. description: 当前步骤名称
  16150. type: string
  16151. deliverygoodscode:
  16152. description: 品种代码
  16153. type: string
  16154. deliverygoodsid:
  16155. description: 品种ID
  16156. type: integer
  16157. deliverygoodsname:
  16158. description: 品种名称
  16159. type: string
  16160. enddate:
  16161. description: 结束交易日(yyyymmdd)
  16162. type: string
  16163. enumdicname:
  16164. description: 单位名称
  16165. type: string
  16166. expressfee:
  16167. description: 运费
  16168. type: number
  16169. expressfeeconfirmed:
  16170. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16171. type: integer
  16172. hasovershort:
  16173. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16174. type: integer
  16175. haswr:
  16176. description: 类型 0-仓单预售 1-仓单贸易
  16177. type: integer
  16178. marketid:
  16179. description: 市场ID
  16180. type: integer
  16181. middleaccountid:
  16182. description: 中间商资金账号ID
  16183. type: integer
  16184. middleuserid:
  16185. description: 中间商用户ID
  16186. type: integer
  16187. minivalue:
  16188. description: 现货商品最小变动值
  16189. type: integer
  16190. optioncompare:
  16191. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16192. type: string
  16193. overshortamount:
  16194. description: 溢短金额
  16195. type: number
  16196. overshortqty:
  16197. description: 溢短数量
  16198. type: number
  16199. paymenttype:
  16200. description: 付款方式 - 1:冻结 2:扣款
  16201. type: integer
  16202. performanceplanid:
  16203. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16204. type: string
  16205. performancestatus:
  16206. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16207. 9:超时待处理 10:超时关闭
  16208. type: integer
  16209. performancetype:
  16210. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16211. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16212. type: integer
  16213. qty:
  16214. description: 履约数量
  16215. type: number
  16216. relatedorderid:
  16217. description: 关联单号(履约类型的关联单号)
  16218. type: string
  16219. remark:
  16220. description: 备注
  16221. type: string
  16222. sellaccountid:
  16223. description: 卖方账号
  16224. type: integer
  16225. sellerfreezeamount:
  16226. description: 履约冻结(卖履约)
  16227. type: number
  16228. sellerfreezeamountremain:
  16229. description: 履约冻结剩余(卖履约)
  16230. type: number
  16231. sellreceivedamount:
  16232. description: 卖方已收金额
  16233. type: number
  16234. sellusername:
  16235. description: 卖方名字
  16236. type: string
  16237. shipremark:
  16238. description: 发货备注[物流单号]
  16239. type: string
  16240. starttime:
  16241. description: 开始时间
  16242. type: string
  16243. steptypeid:
  16244. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16245. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16246. type: integer
  16247. typename:
  16248. description: 履约类型 名称
  16249. type: string
  16250. unpaidamount:
  16251. description: 剩余款(待支付金额)
  16252. type: number
  16253. userid:
  16254. description: 用户id
  16255. type: integer
  16256. warehouseid:
  16257. description: 仓库ID
  16258. type: integer
  16259. warehousename:
  16260. description: 仓库名称
  16261. type: string
  16262. wrfactortypeid:
  16263. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16264. type: string
  16265. wrfactortypename:
  16266. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16267. type: string
  16268. wrstandardcode:
  16269. description: 现货商品代码
  16270. type: string
  16271. wrstandardid:
  16272. description: 现货商品ID
  16273. type: integer
  16274. wrstandardname:
  16275. description: 商品名称
  16276. type: string
  16277. wrtransferuserid:
  16278. description: 仓单受让用户
  16279. type: integer
  16280. wrtypename:
  16281. description: 商品
  16282. type: string
  16283. required:
  16284. - userid
  16285. type: object
  16286. models.WrPerformancePlanStep:
  16287. properties:
  16288. delaydays:
  16289. description: 延期申请天数
  16290. type: integer
  16291. deliverygoodscode:
  16292. description: 品种代码
  16293. type: string
  16294. deliverygoodsid:
  16295. description: 品种ID
  16296. type: integer
  16297. deliverygoodsname:
  16298. description: 品种名称
  16299. type: string
  16300. endtime:
  16301. description: 结束日期
  16302. type: string
  16303. enumdicname:
  16304. description: 单位名称
  16305. type: string
  16306. executeside:
  16307. description: 步骤执行方 - 1:买方 2:卖方
  16308. type: integer
  16309. handlestatus:
  16310. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16311. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16312. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16313. type: integer
  16314. isauto:
  16315. description: 是否自动 - 0:不自动 1:自动
  16316. type: integer
  16317. islastreceivestep:
  16318. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16319. type: integer
  16320. minivalue:
  16321. description: 现货商品最小变动值
  16322. type: integer
  16323. optioncompare:
  16324. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16325. type: string
  16326. overdays:
  16327. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16328. type: integer
  16329. performancestepid:
  16330. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16331. type: string
  16332. planid:
  16333. description: 所属履约计划ID
  16334. type: string
  16335. realamount:
  16336. description: 实际完成金额
  16337. type: number
  16338. relatedorderid:
  16339. description: 关联单号
  16340. type: string
  16341. remaindays:
  16342. description: 剩余天数
  16343. type: integer
  16344. remark:
  16345. description: 错误备注
  16346. type: string
  16347. starttime:
  16348. description: 开始日期
  16349. type: string
  16350. stepamount:
  16351. description: 步骤金额
  16352. type: number
  16353. stepdays:
  16354. description: 距离上一步天数(分钟)
  16355. type: integer
  16356. stepindex:
  16357. description: 步骤序号
  16358. type: integer
  16359. steplanchtype:
  16360. description: 步骤启动类型 - 1:系统自动 2:手动
  16361. type: integer
  16362. stepremark:
  16363. description: 步骤备注
  16364. type: string
  16365. stepstatus:
  16366. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16367. type: integer
  16368. steptypeid:
  16369. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16370. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16371. type: integer
  16372. steptypename:
  16373. description: 步骤名称
  16374. type: string
  16375. stepvalue:
  16376. description: 步骤值
  16377. type: number
  16378. warehouseid:
  16379. description: 仓库ID
  16380. type: integer
  16381. warehousename:
  16382. description: 仓库名称
  16383. type: string
  16384. wrfactortypeid:
  16385. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16386. type: string
  16387. wrfactortypename:
  16388. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16389. type: string
  16390. wrstandardcode:
  16391. description: 现货商品代码
  16392. type: string
  16393. wrstandardid:
  16394. description: 现货商品ID
  16395. type: integer
  16396. wrstandardname:
  16397. description: 商品名称
  16398. type: string
  16399. wrtypename:
  16400. description: 商品
  16401. type: string
  16402. type: object
  16403. models.WrPerformanceStepType:
  16404. properties:
  16405. canauto:
  16406. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16407. type: integer
  16408. steptypeid:
  16409. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16410. type: integer
  16411. steptypename:
  16412. description: 步骤类型名称
  16413. type: string
  16414. type: object
  16415. models.WrPerformanceTemplateEx:
  16416. properties:
  16417. autoid:
  16418. description: AutoID 模板id
  16419. type: integer
  16420. createtime:
  16421. description: 创建时间
  16422. type: string
  16423. creatorid:
  16424. description: 创建人
  16425. type: integer
  16426. lstStep:
  16427. description: 步骤信息列表
  16428. items:
  16429. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16430. type: array
  16431. paymenttype:
  16432. description: 支付方式 - 1:冻结 2:扣款
  16433. type: integer
  16434. takemode:
  16435. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16436. type: integer
  16437. templatename:
  16438. description: 模板名称
  16439. type: string
  16440. templatetype:
  16441. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16442. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16443. type: integer
  16444. userid:
  16445. description: 所属用户
  16446. type: integer
  16447. type: object
  16448. models.WrPosition:
  16449. properties:
  16450. accountid:
  16451. description: 帐户ID
  16452. type: integer
  16453. buyexcuteqty:
  16454. description: 采购履约中数量
  16455. type: number
  16456. creditcurqty:
  16457. description: 授信当前数量(预售仓单:预售当前量)
  16458. type: number
  16459. creditenableqty:
  16460. description: '授信可用数量(预售仓单: 可用数量)'
  16461. type: number
  16462. creditfreezeqty:
  16463. description: '授信冻结数量(预售仓单: 当前数量)'
  16464. type: number
  16465. credittotalqty:
  16466. description: 授信总数量(预售仓单:预售总量)
  16467. type: number
  16468. credittradeqty:
  16469. description: 授信成交数量(预售仓单:成交总量)
  16470. type: number
  16471. deliverygoodscode:
  16472. description: 品种代码
  16473. type: string
  16474. deliverygoodsid:
  16475. description: 品种ID
  16476. type: integer
  16477. deliverygoodsname:
  16478. description: 品种名称
  16479. type: string
  16480. enalbeqty:
  16481. description: 可用数量
  16482. type: number
  16483. enumdicname:
  16484. description: 单位名称
  16485. type: string
  16486. freezeqty:
  16487. description: 总冻结数量
  16488. type: number
  16489. haswr:
  16490. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16491. type: integer
  16492. minivalue:
  16493. description: 现货商品最小变动值
  16494. type: integer
  16495. modifytime:
  16496. description: 修改时间(过户时间)
  16497. type: string
  16498. optioncompare:
  16499. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16500. type: string
  16501. pledgeqty:
  16502. description: 质押数量
  16503. type: number
  16504. querytype:
  16505. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16506. type: integer
  16507. sellexcuteqty:
  16508. description: 销售履约中数量
  16509. type: number
  16510. totalqty:
  16511. description: 总数量(库存数量)
  16512. type: number
  16513. warehouseid:
  16514. description: 仓库ID
  16515. type: integer
  16516. warehousename:
  16517. description: 仓库名称
  16518. type: string
  16519. wrfactortypeid:
  16520. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16521. type: string
  16522. wrfactortypename:
  16523. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16524. type: string
  16525. wrpositionid:
  16526. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16527. type: string
  16528. wrpositionno:
  16529. description: 仓单编号
  16530. type: string
  16531. wrstandardcode:
  16532. description: 现货商品代码
  16533. type: string
  16534. wrstandardid:
  16535. description: 现货商品ID
  16536. type: integer
  16537. wrstandardname:
  16538. description: 商品名称
  16539. type: string
  16540. wrtypename:
  16541. description: 商品
  16542. type: string
  16543. wruserid:
  16544. description: 持有人ID
  16545. type: integer
  16546. type: object
  16547. models.WrPreSaleInfo:
  16548. properties:
  16549. bannerpicurl:
  16550. description: Banner图
  16551. type: string
  16552. baseqty:
  16553. description: 中签基数
  16554. type: number
  16555. createtime:
  16556. description: 创建时间
  16557. type: string
  16558. deliverygoodsid:
  16559. description: 现货品种ID
  16560. type: integer
  16561. enddate:
  16562. description: 预售结束日期
  16563. type: string
  16564. enumdicname:
  16565. description: 单位名称
  16566. type: string
  16567. lotteryflag:
  16568. description: 摇号标识 - 0:未摇号 1:已摇号
  16569. type: integer
  16570. lotteryqty:
  16571. description: 摇号总量
  16572. type: number
  16573. luckyqty:
  16574. description: 已中签量
  16575. type: number
  16576. marketid:
  16577. description: 市场ID
  16578. type: integer
  16579. maxbuyqty:
  16580. description: 单人最大申购量
  16581. type: number
  16582. maxluckyqty:
  16583. description: 单人最大中签量
  16584. type: number
  16585. pictureurls:
  16586. description: 详情图片(逗号分隔)
  16587. type: string
  16588. placeqty:
  16589. description: 已配售量
  16590. type: number
  16591. presaleapplyid:
  16592. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16593. example: "0"
  16594. type: string
  16595. presaleqty:
  16596. description: 预售总量
  16597. type: number
  16598. presalestatus:
  16599. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16600. type: integer
  16601. sellaccountid:
  16602. description: 发行方资金账户ID
  16603. type: integer
  16604. selluserid:
  16605. description: 发行方用户ID
  16606. type: integer
  16607. sellwrtradeorderid:
  16608. description: 发行方卖委托单ID
  16609. type: string
  16610. startdate:
  16611. description: 预售开始日期
  16612. type: string
  16613. takestartdate:
  16614. description: 提货开始日期
  16615. type: string
  16616. thumurls:
  16617. description: 缩略图片(1:1)(逗号分隔)
  16618. type: string
  16619. tradedate:
  16620. description: 交易日
  16621. type: string
  16622. unitid:
  16623. description: 单位ID
  16624. type: integer
  16625. unitprice:
  16626. description: 商品单价
  16627. type: number
  16628. username:
  16629. description: 发行方用户名称
  16630. type: string
  16631. warehousecode:
  16632. description: 仓库代码(仓库简称)
  16633. type: string
  16634. warehouseid:
  16635. description: 仓库ID
  16636. type: integer
  16637. warehousename:
  16638. description: 仓库名称
  16639. type: string
  16640. wrfactortypeid:
  16641. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16642. example: "0"
  16643. type: string
  16644. wrstandardid:
  16645. description: 现货商品ID
  16646. type: integer
  16647. wrstandardname:
  16648. description: 现货商品名称
  16649. type: string
  16650. type: object
  16651. models.WrQuoteOrderMyq:
  16652. properties:
  16653. buyorsell:
  16654. description: 买卖 - 0:买 1:卖
  16655. type: integer
  16656. canbargain:
  16657. description: 是否可议价 - 0:不可 1:可
  16658. type: integer
  16659. canpart:
  16660. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16661. type: integer
  16662. delistminqty:
  16663. description: 起摘数量
  16664. type: number
  16665. deliverygoodscode:
  16666. description: 品种代码
  16667. type: string
  16668. deliverygoodsid:
  16669. description: 品种ID
  16670. type: integer
  16671. deliverygoodsname:
  16672. description: 品种名称
  16673. type: string
  16674. deliverymonth:
  16675. description: 交收月
  16676. type: string
  16677. enumdicname:
  16678. description: 单位名称
  16679. type: string
  16680. fixedprice:
  16681. description: 买(卖)价
  16682. type: number
  16683. goodscode:
  16684. description: 商品合约代码
  16685. type: string
  16686. marginflag:
  16687. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16688. type: integer
  16689. marginvalue:
  16690. description: 保证金设置值
  16691. type: number
  16692. minivalue:
  16693. description: 现货商品最小变动值
  16694. type: integer
  16695. orderqty:
  16696. description: 买(卖)量(=委托量-成交量)
  16697. type: number
  16698. ordertime:
  16699. description: 委托时间
  16700. type: string
  16701. performancetemplateid:
  16702. description: 履约模板id
  16703. type: integer
  16704. pricemove:
  16705. description: 买(卖)升贴水- 基差
  16706. type: number
  16707. templatename:
  16708. description: 履约模板名称
  16709. type: string
  16710. userid:
  16711. description: 购买方(销售方)用户ID
  16712. type: integer
  16713. username:
  16714. description: 购买方(销售方)
  16715. type: string
  16716. validtime:
  16717. description: 有效期限
  16718. type: string
  16719. validtype:
  16720. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16721. type: integer
  16722. warehousename:
  16723. description: 仓库名称
  16724. type: string
  16725. wrfactortypeid:
  16726. description: 仓单要素id
  16727. type: string
  16728. wrstandardcode:
  16729. description: 现货商品代码
  16730. type: string
  16731. wrstandardid:
  16732. description: 现货商品ID
  16733. type: integer
  16734. wrstandardname:
  16735. description: 商品名称
  16736. type: string
  16737. wrtradeorderid:
  16738. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16739. type: string
  16740. wrtypename:
  16741. description: 商品
  16742. type: string
  16743. type: object
  16744. models.WrReckonSpotGoodsTradeSum:
  16745. properties:
  16746. begindate:
  16747. description: 开始日期(结果含开始日期) yyyymmdd
  16748. type: string
  16749. enddate:
  16750. description: 结束日期(结果含结束日期) yyyymmdd
  16751. type: string
  16752. marketid:
  16753. description: 市场ID
  16754. type: integer
  16755. price:
  16756. description: 价格 = 日成交金额 / 日成交数量
  16757. type: string
  16758. reckondate:
  16759. description: 日期 格式 yyyymmdd
  16760. type: string
  16761. tradeamount:
  16762. description: 日成交金额(当日单方向成交金额)
  16763. type: number
  16764. tradeqty:
  16765. description: 日成交数量(当日单方向成交数量)
  16766. type: number
  16767. wrstandardid:
  16768. description: 现货商品ID
  16769. type: integer
  16770. type: object
  16771. models.WrScfContract:
  16772. properties:
  16773. borroweruserid:
  16774. description: 借款用户ID
  16775. type: integer
  16776. buybackwrpositionqty:
  16777. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16778. type: number
  16779. closeinterest:
  16780. description: 已结利息 -> 已结费用
  16781. type: number
  16782. currisklevel:
  16783. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16784. type: integer
  16785. deadline:
  16786. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16787. type: string
  16788. deliverygoodscode:
  16789. description: 品种代码
  16790. type: string
  16791. deliverygoodsid:
  16792. description: 品种ID
  16793. type: integer
  16794. deliverygoodsname:
  16795. description: 品种名称
  16796. type: string
  16797. enumdicname:
  16798. description: 单位名称
  16799. type: string
  16800. financingdays:
  16801. description: 天数(天)
  16802. type: integer
  16803. initmargin:
  16804. description: 保证金 - [仓单回购]
  16805. type: number
  16806. interestamount:
  16807. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16808. type: number
  16809. interestdebt:
  16810. description: 利息欠款(记录负数) -> 费用欠款
  16811. type: number
  16812. interestminlen:
  16813. description: 最小起息天数
  16814. type: integer
  16815. interestrate:
  16816. description: 利率
  16817. type: number
  16818. interestratemode:
  16819. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16820. type: integer
  16821. interestsettlemode:
  16822. description: 结息方式 - 1:按日结息 3:按月结息
  16823. type: integer
  16824. interestsettlevalue:
  16825. description: 结息方式值
  16826. type: integer
  16827. isautoloan:
  16828. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16829. type: integer
  16830. lastcloseinterestday:
  16831. description: 最近结息日(yyyyMMdd)
  16832. type: string
  16833. lenderamount:
  16834. description: 贷款金额 -> 借款金额
  16835. type: number
  16836. lenderuserid:
  16837. description: 贷款方用户ID -> 融出方用户ID
  16838. type: integer
  16839. lenderusername:
  16840. description: 融出方
  16841. type: string
  16842. marginratio:
  16843. description: 保证金比率质押率 - [仓单质押]
  16844. type: number
  16845. marketid:
  16846. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16847. type: integer
  16848. minivalue:
  16849. description: 现货商品最小变动值
  16850. type: integer
  16851. optioncompare:
  16852. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16853. type: string
  16854. pricemove:
  16855. description: 估值升贴水值
  16856. type: number
  16857. productdetailid:
  16858. description: 产品组合ID
  16859. type: integer
  16860. productid:
  16861. description: 金融产品ID
  16862. type: integer
  16863. productname:
  16864. description: 产品名称
  16865. type: string
  16866. remainamount:
  16867. description: 合同剩余金额 -> 剩余金额
  16868. type: number
  16869. remainwrpositionqty:
  16870. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16871. type: number
  16872. remark:
  16873. description: 备注
  16874. type: string
  16875. scfcontractid:
  16876. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16877. type: string
  16878. scfcontractstatus:
  16879. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16880. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16881. type: integer
  16882. scfcontracttype:
  16883. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16884. type: integer
  16885. startinterestday:
  16886. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16887. type: string
  16888. totalinterest:
  16889. description: 已计利息 -> 已计费用
  16890. type: number
  16891. unpaidinterest:
  16892. description: 未结费用
  16893. type: number
  16894. updatetime:
  16895. description: 更新时间
  16896. type: string
  16897. warehouseid:
  16898. description: 仓库ID
  16899. type: integer
  16900. warehousename:
  16901. description: 仓库名称
  16902. type: string
  16903. wrfactortypeid:
  16904. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16905. type: string
  16906. wrfactortypename:
  16907. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16908. type: string
  16909. wrqty:
  16910. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16911. type: number
  16912. wrstandardcode:
  16913. description: 现货商品代码
  16914. type: string
  16915. wrstandardid:
  16916. description: 现货商品ID
  16917. type: integer
  16918. wrstandardname:
  16919. description: 商品名称
  16920. type: string
  16921. wrtypename:
  16922. description: 商品
  16923. type: string
  16924. type: object
  16925. models.WrScfContractInterest:
  16926. properties:
  16927. closeinterest:
  16928. description: 已结利息
  16929. type: number
  16930. closeintereststatus:
  16931. description: 结息状态 - 1:未结 2:已结
  16932. type: integer
  16933. closetime:
  16934. description: 结息时间
  16935. type: string
  16936. closetradedate:
  16937. description: 结息交易日
  16938. type: string
  16939. creatorid:
  16940. description: 操作人ID
  16941. type: integer
  16942. dayrate:
  16943. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16944. type: number
  16945. interest:
  16946. description: 利息
  16947. type: number
  16948. interestamount:
  16949. description: 计息金额
  16950. type: number
  16951. interestday:
  16952. description: 计息日(yyyyMMdd)
  16953. type: string
  16954. scfcontractid:
  16955. description: SCF合同ID
  16956. type: string
  16957. scfcontractinterestid:
  16958. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16959. type: integer
  16960. updatetime:
  16961. description: 更新时间
  16962. type: string
  16963. type: object
  16964. models.WrSearchUser:
  16965. properties:
  16966. userid:
  16967. description: 用户ID
  16968. type: integer
  16969. username:
  16970. description: 用户名称(已脱敏)
  16971. type: string
  16972. username2:
  16973. description: 用户名称(未脱敏)
  16974. type: string
  16975. usertype:
  16976. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16977. type: integer
  16978. required:
  16979. - username
  16980. type: object
  16981. models.WrSiteColumnDetail:
  16982. properties:
  16983. brief:
  16984. description: 简介
  16985. type: string
  16986. context:
  16987. description: 内容
  16988. type: string
  16989. coverimage:
  16990. description: 封面图片
  16991. type: string
  16992. creaedate:
  16993. description: 创建时间
  16994. type: string
  16995. id:
  16996. description: ID(SEQ_SITE_COLUMNDETAIL)
  16997. type: integer
  16998. istop:
  16999. description: 是否置顶 - 0:不置 1:置顶
  17000. type: integer
  17001. publishdate:
  17002. description: 发布日期
  17003. type: string
  17004. title:
  17005. description: 标题
  17006. type: string
  17007. updatedate:
  17008. description: 修改时间
  17009. type: string
  17010. type: object
  17011. models.WrSpecialMatchOrder:
  17012. properties:
  17013. amount:
  17014. description: 金额 = 数量 * 价格
  17015. type: number
  17016. buyorsell:
  17017. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17018. type: integer
  17019. cancelqty:
  17020. description: 撤销数量
  17021. type: number
  17022. deliverygoodscode:
  17023. description: 品种代码
  17024. type: string
  17025. deliverygoodsid:
  17026. description: 品种ID
  17027. type: integer
  17028. deliverygoodsname:
  17029. description: 品种名称
  17030. type: string
  17031. enumdicname:
  17032. description: 单位名称
  17033. type: string
  17034. fixedprice:
  17035. description: 固定价格(价格)
  17036. type: number
  17037. haswr:
  17038. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17039. type: integer
  17040. isspecified:
  17041. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17042. type: integer
  17043. marketid:
  17044. description: 市场ID
  17045. type: integer
  17046. matchuserid:
  17047. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17048. type: integer
  17049. matchusername:
  17050. description: 指定方
  17051. type: string
  17052. minivalue:
  17053. description: 现货商品最小变动值
  17054. type: integer
  17055. optioncompare:
  17056. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17057. type: string
  17058. orderqty:
  17059. description: 委托数量
  17060. type: number
  17061. ordertime:
  17062. description: 委托时间
  17063. type: string
  17064. pricemove:
  17065. description: 升贴水(浮动价时填写) - [挂牌]
  17066. type: number
  17067. tradedate:
  17068. description: 交易日(yyyyMMdd)
  17069. type: string
  17070. tradeprice:
  17071. description: 成交价格
  17072. type: number
  17073. tradeqty:
  17074. description: 成交数量
  17075. type: number
  17076. userid:
  17077. description: 用户ID
  17078. type: integer
  17079. username:
  17080. description: 发起方
  17081. type: string
  17082. warehouseid:
  17083. description: 仓库ID
  17084. type: integer
  17085. warehousename:
  17086. description: 仓库名称
  17087. type: string
  17088. wrfactortypeid:
  17089. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17090. type: string
  17091. wrfactortypename:
  17092. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17093. type: string
  17094. wrpricetype:
  17095. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17096. type: integer
  17097. wrstandardcode:
  17098. description: 现货商品代码
  17099. type: string
  17100. wrstandardid:
  17101. description: 现货商品ID
  17102. type: integer
  17103. wrstandardname:
  17104. description: 商品名称
  17105. type: string
  17106. wrtradeorderid:
  17107. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17108. type: string
  17109. wrtradeorderstatus:
  17110. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17111. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17112. type: integer
  17113. wrtradetype:
  17114. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17115. type: integer
  17116. wrtypename:
  17117. description: 商品
  17118. type: string
  17119. type: object
  17120. models.WrSpotGroupTradeSum:
  17121. properties:
  17122. deliverygoodscode:
  17123. description: 现货品种代码
  17124. type: string
  17125. deliverygoodsid:
  17126. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17127. type: integer
  17128. deliverygoodsname:
  17129. description: 现货品种名称
  17130. type: string
  17131. lastavgprice:
  17132. description: 上上个交易日价格(前2天价格)
  17133. type: string
  17134. lastreckondate:
  17135. description: 上上个交易日(前2天交易日)
  17136. type: string
  17137. reckondate:
  17138. description: 上个交易日(前1天交易日)
  17139. type: string
  17140. todayavgprice:
  17141. description: 上个交易日价格(前1天价格)
  17142. type: string
  17143. updown:
  17144. description: 涨跌
  17145. type: string
  17146. updownratio:
  17147. description: 涨幅(已格式化, 直接显示即可)
  17148. type: string
  17149. type: object
  17150. models.WrSpotGroupTradeSumDetail:
  17151. properties:
  17152. deliverygoodsid:
  17153. description: 现货商品id
  17154. type: integer
  17155. price:
  17156. description: 价格
  17157. type: number
  17158. reckondate:
  17159. description: 日期(yyymmdd, 如:20211031)
  17160. type: string
  17161. type: object
  17162. models.WrSpotGroupTradeSumEx:
  17163. properties:
  17164. lst:
  17165. description: 指数列表
  17166. items:
  17167. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17168. type: array
  17169. prereckondate:
  17170. description: 上上个交易日(yyymmdd)
  17171. type: string
  17172. reckondate:
  17173. description: 上个交易日(yyyymmdd)
  17174. type: string
  17175. type: object
  17176. models.WrStandardFactoryItem:
  17177. properties:
  17178. dgfactoryitemid:
  17179. description: 选择项id
  17180. type: integer
  17181. dgfactoryitemvalue:
  17182. description: 要素项值
  17183. type: string
  17184. warehouseid:
  17185. description: 仓库id
  17186. type: integer
  17187. type: object
  17188. models.WrStandardFactoryItemEx:
  17189. properties:
  17190. dgfactoryitemtypeid:
  17191. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17192. type: integer
  17193. itemlst:
  17194. description: 要素项列表
  17195. items:
  17196. $ref: '#/definitions/models.WrStandardFactoryItem'
  17197. type: array
  17198. itemtypename:
  17199. description: 要素项类型名称
  17200. type: string
  17201. wrstandardid:
  17202. description: 品类
  17203. type: integer
  17204. type: object
  17205. models.WrTradeDetail:
  17206. properties:
  17207. accountid:
  17208. description: 资金账号
  17209. type: integer
  17210. bannerpicurl:
  17211. description: Banner图
  17212. type: string
  17213. begindate:
  17214. description: 开始交易日(yyyymmdd)
  17215. type: string
  17216. buyorsell:
  17217. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17218. type: integer
  17219. chargevalue:
  17220. description: 手续费
  17221. type: number
  17222. deliverygoodscode:
  17223. description: 品种代码
  17224. type: string
  17225. deliverygoodsid:
  17226. description: 品种ID
  17227. type: integer
  17228. deliverygoodsname:
  17229. description: 品种名称
  17230. type: string
  17231. deliverymonth:
  17232. description: 交收月
  17233. type: string
  17234. enddate:
  17235. description: 结束交易日(yyyymmdd)
  17236. type: string
  17237. enumdicname:
  17238. description: 单位名称
  17239. type: string
  17240. haswr:
  17241. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17242. type: integer
  17243. marketid:
  17244. description: 市场ID
  17245. type: integer
  17246. matchaccountid:
  17247. description: 对手账号
  17248. type: integer
  17249. matchusername:
  17250. description: 对手方
  17251. type: string
  17252. minivalue:
  17253. description: 现货商品最小变动值
  17254. type: integer
  17255. optioncompare:
  17256. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17257. type: string
  17258. tradedate:
  17259. description: 交易日(yyyyMMdd)
  17260. type: string
  17261. tradeprice:
  17262. description: 成交价格
  17263. type: number
  17264. tradeqty:
  17265. description: 成交数量
  17266. type: number
  17267. tradetime:
  17268. description: 成交时间
  17269. type: string
  17270. userid:
  17271. description: 用户ID
  17272. type: integer
  17273. warehouseid:
  17274. description: 仓库ID
  17275. type: integer
  17276. warehousename:
  17277. description: 仓库名称
  17278. type: string
  17279. wrfactortypeid:
  17280. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17281. type: string
  17282. wrfactortypename:
  17283. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17284. type: string
  17285. wrstandardcode:
  17286. description: 现货商品代码
  17287. type: string
  17288. wrstandardid:
  17289. description: 现货商品ID
  17290. type: integer
  17291. wrstandardname:
  17292. description: 商品名称
  17293. type: string
  17294. wrtradedetailid:
  17295. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17296. type: string
  17297. wrtradetype:
  17298. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17299. type: integer
  17300. wrtypename:
  17301. description: 商品
  17302. type: string
  17303. type: object
  17304. models.WrTradeOrderDetail:
  17305. properties:
  17306. buyorsell:
  17307. description: 买卖方向 0-买 1-卖
  17308. type: integer
  17309. goodsid:
  17310. description: 商品id
  17311. type: integer
  17312. orderid:
  17313. description: 委托单号
  17314. type: string
  17315. orderprice:
  17316. description: 委托价格
  17317. type: number
  17318. orderqty:
  17319. description: 委托数量
  17320. type: integer
  17321. userid:
  17322. description: 用户id
  17323. type: integer
  17324. username:
  17325. description: 用户名称(已脱敏)
  17326. type: string
  17327. type: object
  17328. models.WrTypeItem:
  17329. properties:
  17330. name:
  17331. description: 名称
  17332. type: string
  17333. value:
  17334. description: 值
  17335. type: string
  17336. type: object
  17337. models.WrUserFriend:
  17338. properties:
  17339. friendname:
  17340. description: 朋友名称(已脱敏)
  17341. type: string
  17342. frienduserid:
  17343. description: 朋友id
  17344. type: integer
  17345. isfriend:
  17346. description: 是否好友 0-不是 1-是
  17347. type: integer
  17348. userid:
  17349. description: 用户id
  17350. type: integer
  17351. type: object
  17352. models.WrUserReceiptInfo:
  17353. properties:
  17354. address:
  17355. description: 地址[发票类型:企业]
  17356. type: string
  17357. autoid:
  17358. description: AutoID
  17359. type: integer
  17360. contactinfo:
  17361. description: 联系方式
  17362. type: string
  17363. idnum:
  17364. description: 身份证号码[发票类型:个人]
  17365. type: string
  17366. isdefault:
  17367. description: 是否默认地址 - 0:否 1:是
  17368. type: integer
  17369. receiptaccount:
  17370. description: 发票帐号[发票类型:企业]
  17371. type: string
  17372. receiptbank:
  17373. description: 发票开户行[发票类型:企业]
  17374. type: string
  17375. receipttype:
  17376. description: 发票类型 - 1:个人 2:企业
  17377. type: integer
  17378. taxpayerid:
  17379. description: 纳税人识别号
  17380. type: string
  17381. userid:
  17382. description: 用户ID
  17383. type: integer
  17384. username:
  17385. description: 户名(个人姓名或企业名称)
  17386. type: string
  17387. type: object
  17388. models.XHBRAND:
  17389. properties:
  17390. brandid:
  17391. description: 品牌id
  17392. type: integer
  17393. brandname:
  17394. description: 品牌名称
  17395. type: string
  17396. isvalid:
  17397. description: 是否有效 0-无效 1-有效
  17398. type: integer
  17399. type: object
  17400. models.XHDeliveryGoods:
  17401. properties:
  17402. areauserid:
  17403. description: 所属机构
  17404. type: integer
  17405. bdlst:
  17406. description: 品牌列表
  17407. items:
  17408. $ref: '#/definitions/models.XHBRAND'
  17409. type: array
  17410. deliverygoodscode:
  17411. description: 现货品种代码
  17412. type: string
  17413. deliverygoodsid:
  17414. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17415. type: integer
  17416. deliverygoodsname:
  17417. description: 现货品种名称
  17418. type: string
  17419. dgstatus:
  17420. description: 品种状态 - 作废 - 0:未激活 1:正常
  17421. type: integer
  17422. filterSubEmpty:
  17423. description: 过滤下级为空的
  17424. type: integer
  17425. isvalid:
  17426. description: 是否有效 - 0:无效 1:有效
  17427. type: integer
  17428. remark:
  17429. description: 备注
  17430. type: string
  17431. unitid:
  17432. description: 单位id(目前看,数据库中是空值)
  17433. type: integer
  17434. wdlst:
  17435. description: 品类(现货商品)列表
  17436. items:
  17437. $ref: '#/definitions/models.XHWrstandard'
  17438. type: array
  17439. type: object
  17440. models.XHMiddleGoods:
  17441. properties:
  17442. GPLST:
  17443. description: 期货品种列表
  17444. items:
  17445. $ref: '#/definitions/models.TBGoodsGroup'
  17446. type: array
  17447. convertratio:
  17448. description: 拆算系数
  17449. type: number
  17450. costratio:
  17451. description: 成本权重
  17452. type: number
  17453. deliverygoodsid:
  17454. description: 现货商品id
  17455. type: integer
  17456. enumdicname:
  17457. description: 单位名称
  17458. type: string
  17459. middlegoodscode:
  17460. description: 套保品种代码
  17461. type: string
  17462. middlegoodsid:
  17463. description: 套保品种id
  17464. type: integer
  17465. middlegoodsname:
  17466. description: 套保品种名称
  17467. type: string
  17468. unitid:
  17469. description: 单位id
  17470. type: integer
  17471. type: object
  17472. models.XHWrstandard:
  17473. properties:
  17474. bannerpicurl:
  17475. description: banner图
  17476. type: string
  17477. deliverygoodsid:
  17478. description: 品种ID
  17479. type: integer
  17480. enumdicname:
  17481. description: 单位名称
  17482. type: string
  17483. mglst:
  17484. description: 套保品列表
  17485. items:
  17486. $ref: '#/definitions/models.XHMiddleGoods'
  17487. type: array
  17488. pictureurls:
  17489. description: 详情图片(逗号分隔)
  17490. type: string
  17491. thumurls:
  17492. description: 缩略图片(1:1)(逗号分隔)
  17493. type: string
  17494. unitid:
  17495. description: 单位id
  17496. type: integer
  17497. vatrate:
  17498. description: 增值税率
  17499. type: number
  17500. wrstandardcode:
  17501. description: 现货商品代码
  17502. type: string
  17503. wrstandardid:
  17504. description: 现货商品ID(SEQ_WRSTANDARD)
  17505. type: integer
  17506. wrstandardname:
  17507. description: 现货商品名称
  17508. type: string
  17509. type: object
  17510. order.QueryHisTradeDetailRsp:
  17511. properties:
  17512. accountid:
  17513. description: 账户ID[报价币种]
  17514. type: integer
  17515. advanceratio:
  17516. description: 首付比率
  17517. type: number
  17518. buildtype:
  17519. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17520. type: integer
  17521. buyorsell:
  17522. description: 方向 - 0:买 1:卖
  17523. type: integer
  17524. charge:
  17525. description: 手续费
  17526. type: number
  17527. closecharge:
  17528. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17529. type: number
  17530. closeexchagechargevalue:
  17531. description: 平仓交易所手续费设置值
  17532. type: number
  17533. closefeealgorithm:
  17534. description: 平仓手续费收取方式 1:比率 2:固定
  17535. type: integer
  17536. closememberchargevalue:
  17537. description: 平仓会员手续费设置值
  17538. type: number
  17539. closepl:
  17540. description: 平仓盈亏
  17541. type: number
  17542. closepl2:
  17543. description: 平仓盈亏[逐笔]
  17544. type: number
  17545. closeqty:
  17546. description: 平仓数量(先建后平操作 需要记录)
  17547. type: number
  17548. creditamount:
  17549. description: 授信金额
  17550. type: number
  17551. decimalplace:
  17552. description: 商品报价小数位
  17553. type: integer
  17554. enumdicname:
  17555. description: 单位名称
  17556. type: string
  17557. gcaccountid:
  17558. description: 账户ID[合约币种]
  17559. type: integer
  17560. goodscode:
  17561. description: 商品代码
  17562. type: string
  17563. goodsid:
  17564. description: 商品ID
  17565. type: integer
  17566. goodsname:
  17567. description: 商品名称
  17568. type: string
  17569. goodunitid:
  17570. description: 商品单位id
  17571. type: integer
  17572. histradedate:
  17573. description: 历史交易日
  17574. type: string
  17575. intclosepl:
  17576. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17577. type: integer
  17578. isconfirmexercise:
  17579. description: 是否确认行权- 0:否 1:是
  17580. type: integer
  17581. ismain:
  17582. description: 是否主单 - 0:不是 1:是
  17583. type: integer
  17584. ispreexercise:
  17585. description: 是否预申报- 0:否 1:是
  17586. type: integer
  17587. isreckoned:
  17588. description: 是否结算 - 0:未结算 1:已结算
  17589. type: integer
  17590. isvaliddata:
  17591. description: 是否有效 - 0:无效 1:有效
  17592. type: integer
  17593. listingselecttype:
  17594. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17595. type: integer
  17596. marketid:
  17597. description: 市场ID
  17598. type: integer
  17599. marketname:
  17600. description: 市场名称
  17601. type: string
  17602. matchaccountid:
  17603. description: 对手账号id
  17604. type: integer
  17605. memberuserid:
  17606. description: 会员id 个人投资者 需要填写
  17607. type: integer
  17608. opencharge:
  17609. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17610. type: number
  17611. openexchagechargevalue:
  17612. description: 建仓交易所手续费设置值
  17613. type: number
  17614. openfeealgorithm:
  17615. description: 建仓手续费收取方式 1:比率 2:固定
  17616. type: integer
  17617. openmemberchargevalue:
  17618. description: 建仓会员手续费设置值
  17619. type: number
  17620. openqty:
  17621. description: 开仓数量(先建后平操作 需要记录)
  17622. type: number
  17623. optiontype:
  17624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17625. type: integer
  17626. orderid:
  17627. description: 委托单号
  17628. type: string
  17629. payamount:
  17630. description: 支付金额(付款金额)
  17631. type: number
  17632. performanceplanid:
  17633. description: 履约计划ID[期权]
  17634. type: integer
  17635. performancestatus:
  17636. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17637. type: integer
  17638. preexerciseprice:
  17639. description: 预申报价格
  17640. type: number
  17641. premium:
  17642. description: 权利金 - [持仓单的权利金]
  17643. type: number
  17644. qtydecimalplace:
  17645. description: 商品报价小数位
  17646. type: integer
  17647. recvamount:
  17648. description: 到账金额 = 成交金额 - 手续费
  17649. type: number
  17650. relatedouttradeid:
  17651. description: 关联外部成交单ID
  17652. type: integer
  17653. status:
  17654. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17655. type: integer
  17656. totalamount:
  17657. description: 订单总额 = 成交金额 + 手续费
  17658. type: number
  17659. tradeamount:
  17660. description: 成交金额[账户币种,用于所有权]
  17661. type: number
  17662. tradedate:
  17663. description: 交易日(yyyyMMdd)
  17664. type: string
  17665. tradeid:
  17666. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17667. type: string
  17668. trademode:
  17669. description: 交易模式
  17670. type: integer
  17671. tradeprice:
  17672. description: 成交价格
  17673. type: number
  17674. tradeproperty:
  17675. description: 交易属性
  17676. type: integer
  17677. tradeqty:
  17678. description: 成交数量
  17679. type: number
  17680. tradetime:
  17681. description: 成交时间
  17682. type: string
  17683. tradetype:
  17684. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17685. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17686. type: integer
  17687. required:
  17688. - accountid
  17689. - buyorsell
  17690. - goodsid
  17691. - histradedate
  17692. - marketid
  17693. - memberuserid
  17694. - orderid
  17695. - tradeamount
  17696. - tradedate
  17697. - tradeid
  17698. - tradeprice
  17699. - tradeqty
  17700. - tradetime
  17701. type: object
  17702. order.QueryHisTradeOrderDetailRsp:
  17703. properties:
  17704. accountid:
  17705. description: 账户ID[报价币种]
  17706. type: integer
  17707. buildtype:
  17708. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17709. type: integer
  17710. buyorsell:
  17711. description: 买卖 - 0:买 1:卖
  17712. type: integer
  17713. cancelorderid:
  17714. description: 撤单单号(撤单时填写)
  17715. type: string
  17716. cancelqty:
  17717. description: 撤单数量
  17718. type: number
  17719. clientordertime:
  17720. description: 客户端委托时间
  17721. type: string
  17722. clientticket:
  17723. description: 客户端流水号
  17724. type: string
  17725. clienttype:
  17726. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17727. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17728. type: integer
  17729. closeexchagechargevalue:
  17730. description: 平仓交易所手续费设置值
  17731. type: number
  17732. closefeealgorithm:
  17733. description: 平仓手续费收取方式 1:比率 2:固定
  17734. type: integer
  17735. closefreezecharge:
  17736. description: 平仓冻结手续费(先建后平操作,需要记录)
  17737. type: number
  17738. closememberchargevalue:
  17739. description: 平仓会员手续费设置值
  17740. type: number
  17741. closeqty:
  17742. description: 平仓数量(先建后平操作 需要记录)
  17743. type: number
  17744. closetradeqty:
  17745. description: 平仓成交数量(先建后平操作,需要记录)
  17746. type: number
  17747. closeunfreezecharge:
  17748. description: 平仓解冻手续费(先建后平操作,需要记录)
  17749. type: number
  17750. decimalplace:
  17751. description: 商品报价小数位
  17752. type: integer
  17753. delistingtype:
  17754. description: 摘牌类型 - 1:价格最优 2:点选成交
  17755. type: integer
  17756. enumdicname:
  17757. description: 单位名称
  17758. type: string
  17759. freezecharge:
  17760. description: 冻结手续费
  17761. type: number
  17762. freezemargin:
  17763. description: 冻结保证金(冻结交易金额)
  17764. type: number
  17765. gcaccountid:
  17766. description: 账户ID[合约币种]
  17767. type: integer
  17768. goodscode:
  17769. description: 商品代码
  17770. type: string
  17771. goodsid:
  17772. description: 商品ID
  17773. type: integer
  17774. goodsname:
  17775. description: 商品名称
  17776. type: string
  17777. goodunitid:
  17778. description: 商品单位id
  17779. type: integer
  17780. histradedate:
  17781. description: 历史交易日
  17782. type: string
  17783. isconfirmexercise:
  17784. description: 是否确认行权- 0:否 1:是
  17785. type: integer
  17786. ispreexercise:
  17787. description: 是否预申报- 0:否 1:是
  17788. type: integer
  17789. isvaliddata:
  17790. description: 是否有效 - 0:无效 1:有效
  17791. type: integer
  17792. listingselecttype:
  17793. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17794. type: integer
  17795. marginalgorithm:
  17796. description: 保证金收取方式 1:比率 2:固定
  17797. type: integer
  17798. marginvalue:
  17799. description: 即市保证金设置值
  17800. type: number
  17801. marketid:
  17802. description: 市场ID
  17803. type: integer
  17804. marketmaxsub:
  17805. description: 市价最大偏移范围
  17806. type: number
  17807. marketname:
  17808. description: 市场名称
  17809. type: string
  17810. memberuserid:
  17811. description: 所属会员UserID
  17812. type: integer
  17813. openexchagechargevalue:
  17814. description: 建仓交易所手续费设置值
  17815. type: number
  17816. openfeealgorithm:
  17817. description: 建仓手续费收取方式 1:比率 2:固定
  17818. type: integer
  17819. openfreezecharge:
  17820. description: 开仓冻结手续费(先建后平操作,需要记录)
  17821. type: number
  17822. openmemberchargevalue:
  17823. description: 建仓会员手续费设置值
  17824. type: number
  17825. openqty:
  17826. description: 开仓数量(先建后平操作,需要记录)
  17827. type: number
  17828. opentradeqty:
  17829. description: 开仓成交数量(先建后平操作,需要记录)
  17830. type: number
  17831. openunfreezecharge:
  17832. description: 开仓解冻手续费(先建后平操作,需要记录)
  17833. type: number
  17834. operatetype:
  17835. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17836. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17837. 15:管理端协议转让
  17838. type: integer
  17839. operatorid:
  17840. description: 登录账号(LoginID)
  17841. type: integer
  17842. optiontype:
  17843. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17844. type: integer
  17845. orderid:
  17846. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17847. type: string
  17848. orderprice:
  17849. description: 委托价格
  17850. type: number
  17851. orderqty:
  17852. description: 委托数量
  17853. type: number
  17854. ordersrc:
  17855. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17856. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17857. type: integer
  17858. orderstatus:
  17859. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17860. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17861. 16:成交失败违约(荷兰式竞拍专用)
  17862. type: integer
  17863. ordertime:
  17864. description: 委托时间
  17865. type: string
  17866. preexerciseprice:
  17867. description: 预申报价格
  17868. type: number
  17869. premium:
  17870. description: 权利金
  17871. type: number
  17872. preorderid:
  17873. description: 关联预埋单号(止盈止损单时填写)
  17874. type: string
  17875. pricemode:
  17876. description: '取价方式 - 1:市价 2: 限价'
  17877. type: integer
  17878. qtydecimalplace:
  17879. description: 成交量小数位
  17880. type: integer
  17881. quoteid:
  17882. description: 报价单ID
  17883. type: integer
  17884. relatedid:
  17885. description: 关联单号(交割单)
  17886. type: string
  17887. retcode:
  17888. description: 错误代码
  17889. type: integer
  17890. sessionid:
  17891. description: 会话ID
  17892. type: integer
  17893. tradedate:
  17894. description: 交易日(yyyyMMdd)
  17895. type: string
  17896. trademode:
  17897. description: 交易模式
  17898. type: integer
  17899. tradeproperty:
  17900. description: 交易属性
  17901. type: integer
  17902. tradeqty:
  17903. description: 成交数量
  17904. type: number
  17905. unfreezecharge:
  17906. description: 解冻手续费
  17907. type: number
  17908. unfreezemargin:
  17909. description: 解冻保证金
  17910. type: number
  17911. updatetime:
  17912. description: 更新时间
  17913. type: string
  17914. uuid:
  17915. description: 发起端唯一id
  17916. type: string
  17917. validtime:
  17918. description: 有效期限
  17919. type: string
  17920. validtype:
  17921. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17922. type: integer
  17923. volumetype:
  17924. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17925. type: integer
  17926. required:
  17927. - accountid
  17928. - buildtype
  17929. - buyorsell
  17930. - goodsid
  17931. - histradedate
  17932. - marketid
  17933. - memberuserid
  17934. - operatetype
  17935. - orderid
  17936. - orderqty
  17937. - ordertime
  17938. - pricemode
  17939. - tradedate
  17940. - validtype
  17941. type: object
  17942. order.QueryTradeDetailRsp:
  17943. properties:
  17944. accountid:
  17945. description: 账户ID[报价币种]
  17946. type: integer
  17947. advanceratio:
  17948. description: 首付比率
  17949. type: number
  17950. buildtype:
  17951. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17952. type: integer
  17953. buyorsell:
  17954. description: 方向 - 0:买 1:卖
  17955. type: integer
  17956. charge:
  17957. description: 手续费
  17958. type: number
  17959. closecharge:
  17960. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17961. type: number
  17962. closeexchagechargevalue:
  17963. description: 平仓交易所手续费设置值
  17964. type: number
  17965. closefeealgorithm:
  17966. description: 平仓手续费收取方式 1:比率 2:固定
  17967. type: integer
  17968. closememberchargevalue:
  17969. description: 平仓会员手续费设置值
  17970. type: number
  17971. closepl:
  17972. description: 平仓盈亏
  17973. type: number
  17974. closepl2:
  17975. description: 平仓盈亏[逐笔]
  17976. type: number
  17977. closeqty:
  17978. description: 平仓数量(先建后平操作 需要记录)
  17979. type: number
  17980. creditamount:
  17981. description: 授信金额
  17982. type: number
  17983. decimalplace:
  17984. description: 商品报价小数位
  17985. type: integer
  17986. enumdicname:
  17987. description: 单位名称
  17988. type: string
  17989. gcaccountid:
  17990. description: 账户ID[合约币种]
  17991. type: integer
  17992. goodscode:
  17993. description: 商品代码
  17994. type: string
  17995. goodsid:
  17996. description: 商品ID
  17997. type: integer
  17998. goodsname:
  17999. description: 商品名称
  18000. type: string
  18001. goodunitid:
  18002. description: 商品单位id
  18003. type: integer
  18004. intclosepl:
  18005. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18006. type: integer
  18007. isconfirmexercise:
  18008. description: 是否确认行权- 0:否 1:是
  18009. type: integer
  18010. ismain:
  18011. description: 是否主单 - 0:不是 1:是
  18012. type: integer
  18013. ispreexercise:
  18014. description: 是否预申报- 0:否 1:是
  18015. type: integer
  18016. isreckoned:
  18017. description: 是否结算 - 0:未结算 1:已结算
  18018. type: integer
  18019. listingselecttype:
  18020. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18021. type: integer
  18022. marketid:
  18023. description: 市场ID
  18024. type: integer
  18025. marketname:
  18026. description: 市场名称
  18027. type: string
  18028. matchaccountid:
  18029. description: 对手账号id
  18030. type: integer
  18031. memberuserid:
  18032. description: 会员id 个人投资者 需要填写
  18033. type: integer
  18034. opencharge:
  18035. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18036. type: number
  18037. openexchagechargevalue:
  18038. description: 建仓交易所手续费设置值
  18039. type: number
  18040. openfeealgorithm:
  18041. description: 建仓手续费收取方式 1:比率 2:固定
  18042. type: integer
  18043. openmemberchargevalue:
  18044. description: 建仓会员手续费设置值
  18045. type: number
  18046. openqty:
  18047. description: 开仓数量(先建后平操作 需要记录)
  18048. type: number
  18049. optiontype:
  18050. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18051. type: integer
  18052. orderid:
  18053. description: 委托单号
  18054. type: string
  18055. payamount:
  18056. description: 支付金额(付款金额)
  18057. type: number
  18058. performanceplanid:
  18059. description: 履约计划ID[期权]
  18060. type: integer
  18061. performancestatus:
  18062. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18063. type: integer
  18064. preexerciseprice:
  18065. description: 预申报价格
  18066. type: number
  18067. premium:
  18068. description: 权利金 - [持仓单的权利金]
  18069. type: number
  18070. qtydecimalplace:
  18071. description: 商品报价小数位
  18072. type: integer
  18073. recvamount:
  18074. description: 到账金额 = 成交金额 - 手续费
  18075. type: number
  18076. relatedouttradeid:
  18077. description: 关联外部成交单ID
  18078. type: integer
  18079. status:
  18080. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18081. type: integer
  18082. totalamount:
  18083. description: 订单总额 = 成交金额 + 手续费
  18084. type: number
  18085. tradeamount:
  18086. description: 成交金额[账户币种,用于所有权]
  18087. type: number
  18088. tradedate:
  18089. description: 交易日(yyyyMMdd)
  18090. type: string
  18091. tradeid:
  18092. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18093. type: string
  18094. trademode:
  18095. description: 交易模式
  18096. type: integer
  18097. tradeprice:
  18098. description: 成交价格
  18099. type: number
  18100. tradeproperty:
  18101. description: 交易属性
  18102. type: integer
  18103. tradeqty:
  18104. description: 成交数量
  18105. type: number
  18106. tradetime:
  18107. description: 成交时间
  18108. type: string
  18109. tradetype:
  18110. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18111. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18112. type: integer
  18113. required:
  18114. - accountid
  18115. - buyorsell
  18116. - goodsid
  18117. - marketid
  18118. - memberuserid
  18119. - orderid
  18120. - tradeamount
  18121. - tradedate
  18122. - tradeid
  18123. - tradeprice
  18124. - tradeqty
  18125. - tradetime
  18126. type: object
  18127. order.QueryTradeOrderDetailRsp:
  18128. properties:
  18129. accountid:
  18130. description: 账户ID[报价币种]
  18131. type: integer
  18132. buildtype:
  18133. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18134. type: integer
  18135. buyorsell:
  18136. description: 买卖 - 0:买 1:卖
  18137. type: integer
  18138. cancelorderid:
  18139. description: 撤单单号(撤单时填写)
  18140. type: string
  18141. cancelqty:
  18142. description: 撤单数量
  18143. type: number
  18144. clienttype:
  18145. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18146. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18147. type: integer
  18148. closefreezecharge:
  18149. description: 平仓冻结手续费(先建后平操作,需要记录)
  18150. type: number
  18151. closeqty:
  18152. description: 平仓数量(先建后平操作 需要记录)
  18153. type: number
  18154. closetradeqty:
  18155. description: 平仓成交数量(先建后平操作,需要记录)
  18156. type: number
  18157. closeunfreezecharge:
  18158. description: 平仓解冻手续费(先建后平操作,需要记录)
  18159. type: number
  18160. decimalplace:
  18161. description: 商品报价小数位
  18162. type: integer
  18163. delistingtype:
  18164. description: 摘牌类型 - 1:价格最优 2:点选成交
  18165. type: integer
  18166. enableqty:
  18167. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18168. type: number
  18169. enumdicname:
  18170. description: 单位名称
  18171. type: string
  18172. freezecharge:
  18173. description: 冻结手续费
  18174. type: number
  18175. freezemargin:
  18176. description: 冻结保证金(冻结交易金额)
  18177. type: number
  18178. goodscode:
  18179. description: 商品代码
  18180. type: string
  18181. goodsid:
  18182. description: 商品ID
  18183. type: integer
  18184. goodsname:
  18185. description: 商品名称
  18186. type: string
  18187. goodunitid:
  18188. description: 商品单位id
  18189. type: integer
  18190. listingselecttype:
  18191. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18192. type: integer
  18193. marketid:
  18194. description: 市场ID
  18195. type: integer
  18196. marketname:
  18197. description: 市场名称
  18198. type: string
  18199. openfreezecharge:
  18200. description: 开仓冻结手续费(先建后平操作,需要记录)
  18201. type: number
  18202. openqty:
  18203. description: 开仓数量(先建后平操作,需要记录)
  18204. type: number
  18205. opentradeqty:
  18206. description: 开仓成交数量(先建后平操作,需要记录)
  18207. type: number
  18208. openunfreezecharge:
  18209. description: 开仓解冻手续费(先建后平操作,需要记录)
  18210. type: number
  18211. operatetype:
  18212. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18213. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18214. 15:管理端协议转让
  18215. type: integer
  18216. operatorid:
  18217. description: 登录账号(LoginID)
  18218. type: integer
  18219. orderid:
  18220. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18221. type: string
  18222. orderprice:
  18223. description: 委托价格
  18224. type: number
  18225. orderqty:
  18226. description: 委托数量
  18227. type: number
  18228. ordersrc:
  18229. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18230. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18231. type: integer
  18232. orderstatus:
  18233. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18234. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18235. 16:成交失败违约(荷兰式竞拍专用)
  18236. type: integer
  18237. ordertime:
  18238. description: 委托时间
  18239. type: string
  18240. preorderid:
  18241. description: 关联预埋单号(止盈止损单时填写)
  18242. type: string
  18243. pricemode:
  18244. description: '取价方式 - 1:市价 2: 限价'
  18245. type: integer
  18246. qtydecimalplace:
  18247. description: 商品报价小数位
  18248. type: integer
  18249. relatedid:
  18250. description: 关联单号(交割单)
  18251. type: string
  18252. tradedate:
  18253. description: 交易日(yyyyMMdd)
  18254. type: string
  18255. trademode:
  18256. description: 交易模式
  18257. type: integer
  18258. tradeqty:
  18259. description: 成交数量
  18260. type: number
  18261. unfreezecharge:
  18262. description: 解冻手续费
  18263. type: number
  18264. unfreezemargin:
  18265. description: 解冻保证金
  18266. type: number
  18267. validtime:
  18268. description: 有效期限
  18269. type: string
  18270. validtype:
  18271. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18272. type: integer
  18273. volumetype:
  18274. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18275. type: integer
  18276. required:
  18277. - accountid
  18278. - buildtype
  18279. - buyorsell
  18280. - goodsid
  18281. - marketid
  18282. - operatetype
  18283. - orderqty
  18284. - ordertime
  18285. - pricemode
  18286. - tradedate
  18287. - validtype
  18288. type: object
  18289. order.QueryTradePositionRsp:
  18290. properties:
  18291. accountid:
  18292. description: 资金账户
  18293. type: integer
  18294. agreeunit:
  18295. description: 合约单位
  18296. type: number
  18297. averageprice:
  18298. description: 持仓均价
  18299. type: number
  18300. buyorsell:
  18301. description: 方向 - 0:买 1:卖
  18302. type: integer
  18303. closetotalqty:
  18304. description: 平仓总数量
  18305. type: number
  18306. curholderamount:
  18307. description: 当前持仓总金额[商品币种]
  18308. type: number
  18309. curpositionqty:
  18310. description: 当前持仓总数量
  18311. type: number
  18312. currencyid:
  18313. description: 报价货币ID
  18314. type: integer
  18315. curtdposition:
  18316. description: 期末今日头寸
  18317. type: number
  18318. decimalplace:
  18319. description: 报价小数位
  18320. type: integer
  18321. enableqty:
  18322. description: 可用量
  18323. type: number
  18324. fretdposition:
  18325. description: 冻结今日头寸
  18326. type: number
  18327. frozenqty:
  18328. description: 持仓冻结数量
  18329. type: number
  18330. goodscode:
  18331. description: 商品代码
  18332. type: string
  18333. goodsid:
  18334. description: 商品Id
  18335. type: integer
  18336. goodsname:
  18337. description: 商品名称
  18338. type: string
  18339. goodunit:
  18340. description: 报价单位
  18341. type: string
  18342. goodunitid:
  18343. description: 报价单位ID
  18344. type: integer
  18345. holderamount:
  18346. description: 期初持仓总金额[商品币种]
  18347. type: number
  18348. lastprice:
  18349. description: 最新价
  18350. type: number
  18351. marketamount:
  18352. description: 市值
  18353. type: number
  18354. marketid:
  18355. description: 所属市场ID
  18356. type: integer
  18357. openreqqty:
  18358. description: 开仓申请数量(用于比较最大持仓数量)
  18359. type: number
  18360. opentotalqty:
  18361. description: 开仓总数量
  18362. type: number
  18363. otherfrozenqty:
  18364. description: 持仓其他冻结数量(交割冻结)
  18365. type: number
  18366. positionpl:
  18367. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18368. * 合约单位
  18369. type: number
  18370. positionplrate:
  18371. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18372. type: number
  18373. positionqty:
  18374. description: 期初持仓数量
  18375. type: number
  18376. qtydecimalplace:
  18377. description: 成交量小数位
  18378. type: integer
  18379. refgoodscode:
  18380. description: 参考商品代码
  18381. type: string
  18382. refgoodsid:
  18383. description: 参考商品ID
  18384. type: integer
  18385. tnqty:
  18386. description: T+N冻结总量
  18387. type: number
  18388. tnusedqty:
  18389. description: T+N使用量(可以使用T+N的冻结数量)
  18390. type: number
  18391. trademode:
  18392. description: 交易模式
  18393. type: integer
  18394. tradeproperty:
  18395. description: 交易属性
  18396. type: integer
  18397. usedmargin:
  18398. description: 占用保证金[商品币种]
  18399. type: number
  18400. required:
  18401. - goodsid
  18402. type: object
  18403. pb.GoodsMarginCfgStruct:
  18404. properties:
  18405. CustomerTypeID:
  18406. description: 投资者客户类型
  18407. type: integer
  18408. GoodsID:
  18409. description: 商品ID
  18410. type: integer
  18411. IsDefault:
  18412. description: 是否默认标志位
  18413. type: integer
  18414. LockMarginValue:
  18415. description: 锁仓保证金
  18416. type: number
  18417. MarginAlgorithm:
  18418. description: 保证金计算方式
  18419. type: integer
  18420. MarketMarginValue:
  18421. description: 即市保证金值
  18422. type: number
  18423. RealMarginAlgorithm:
  18424. description: 实付保证金计算方式
  18425. type: integer
  18426. RealMarginValue:
  18427. description: 实付比例
  18428. type: number
  18429. ReckonMarginValue:
  18430. description: 结算保证金值
  18431. type: number
  18432. type: object
  18433. quote.HistoryData:
  18434. properties:
  18435. c:
  18436. description: 收盘价
  18437. type: number
  18438. f:
  18439. description: 是否补充数据
  18440. type: boolean
  18441. h:
  18442. description: 最高价
  18443. type: number
  18444. hv:
  18445. description: 持仓量
  18446. type: integer
  18447. l:
  18448. description: 最低价
  18449. type: number
  18450. o:
  18451. description: 开盘价
  18452. type: number
  18453. s:
  18454. description: 结算价,日线周期(包括)以上才有
  18455. type: number
  18456. ts:
  18457. description: 时间
  18458. type: string
  18459. tt:
  18460. description: 总金额
  18461. type: number
  18462. tv:
  18463. description: 总量(成交量)
  18464. type: integer
  18465. type: object
  18466. quote.HistoryTikData:
  18467. properties:
  18468. AV:
  18469. description: 卖量
  18470. type: integer
  18471. Ask:
  18472. description: 卖价
  18473. type: number
  18474. BV:
  18475. description: 买量
  18476. type: integer
  18477. Bid:
  18478. description: 买价
  18479. type: number
  18480. HI:
  18481. description: 单笔持仓
  18482. type: integer
  18483. HV:
  18484. description: 持仓量
  18485. type: integer
  18486. PE:
  18487. description: 现价
  18488. type: number
  18489. TDR:
  18490. description: 交易方向,0:买 1:卖
  18491. type: integer
  18492. TK:
  18493. description: 交易类型
  18494. type: integer
  18495. TS:
  18496. description: 行情时间文本
  18497. type: string
  18498. TT:
  18499. description: 现金额
  18500. type: number
  18501. Vol:
  18502. description: 现量
  18503. type: integer
  18504. type: object
  18505. quote.QueryQuoteDayRsp:
  18506. properties:
  18507. ask:
  18508. description: 卖1
  18509. type: number
  18510. ask2:
  18511. description: 卖2
  18512. type: number
  18513. ask3:
  18514. description: 卖3
  18515. type: number
  18516. ask4:
  18517. description: 卖4
  18518. type: number
  18519. ask5:
  18520. description: 卖5
  18521. type: number
  18522. ask6:
  18523. description: 卖6
  18524. type: number
  18525. ask7:
  18526. description: 卖7
  18527. type: number
  18528. ask8:
  18529. description: 卖8
  18530. type: number
  18531. ask9:
  18532. description: 卖9
  18533. type: number
  18534. ask10:
  18535. description: 卖10
  18536. type: number
  18537. askorderid:
  18538. description: 卖单号1
  18539. type: integer
  18540. askorderid2:
  18541. description: 卖单号2
  18542. type: integer
  18543. askorderid3:
  18544. description: 卖单号3
  18545. type: integer
  18546. askorderid4:
  18547. description: 卖单号4
  18548. type: integer
  18549. askorderid5:
  18550. description: 卖单号5
  18551. type: integer
  18552. askordervolume:
  18553. description: 卖单量1
  18554. type: integer
  18555. askordervolume2:
  18556. description: 卖单量2
  18557. type: integer
  18558. askordervolume3:
  18559. description: 卖单量3
  18560. type: integer
  18561. askordervolume4:
  18562. description: 卖单量4
  18563. type: integer
  18564. askordervolume5:
  18565. description: 卖单量5
  18566. type: integer
  18567. askordervolume6:
  18568. description: 卖单量6
  18569. type: integer
  18570. askordervolume7:
  18571. description: 卖单量7
  18572. type: integer
  18573. askordervolume8:
  18574. description: 卖单量8
  18575. type: integer
  18576. askordervolume9:
  18577. description: 卖单量9
  18578. type: integer
  18579. askordervolume10:
  18580. description: 卖单量10
  18581. type: integer
  18582. askqueueinfo:
  18583. description: 大利市卖港股用
  18584. type: string
  18585. askvolume:
  18586. description: 卖量1
  18587. type: integer
  18588. askvolume2:
  18589. description: 卖量2
  18590. type: integer
  18591. askvolume3:
  18592. description: 卖量3
  18593. type: integer
  18594. askvolume4:
  18595. description: 卖量4
  18596. type: integer
  18597. askvolume5:
  18598. description: 卖量5
  18599. type: integer
  18600. askvolume6:
  18601. description: 卖量6
  18602. type: integer
  18603. askvolume7:
  18604. description: 卖量7
  18605. type: integer
  18606. askvolume8:
  18607. description: 卖量8
  18608. type: integer
  18609. askvolume9:
  18610. description: 卖量9
  18611. type: integer
  18612. askvolume10:
  18613. description: 卖量10
  18614. type: integer
  18615. averageprice:
  18616. description: 均价
  18617. type: number
  18618. bid:
  18619. description: 买1
  18620. type: number
  18621. bid2:
  18622. description: 买2
  18623. type: number
  18624. bid3:
  18625. description: 买3
  18626. type: number
  18627. bid4:
  18628. description: 买4
  18629. type: number
  18630. bid5:
  18631. description: 买5
  18632. type: number
  18633. bid6:
  18634. description: 买6
  18635. type: number
  18636. bid7:
  18637. description: 买7
  18638. type: number
  18639. bid8:
  18640. description: 买8
  18641. type: number
  18642. bid9:
  18643. description: 买9
  18644. type: number
  18645. bid10:
  18646. description: 买10
  18647. type: number
  18648. bidorderid:
  18649. description: 买单号1
  18650. type: integer
  18651. bidorderid2:
  18652. description: 买单号2
  18653. type: integer
  18654. bidorderid3:
  18655. description: 买单号3
  18656. type: integer
  18657. bidorderid4:
  18658. description: 买单号4
  18659. type: integer
  18660. bidorderid5:
  18661. description: 买单号5
  18662. type: integer
  18663. bidordervolume:
  18664. description: 买单量1
  18665. type: integer
  18666. bidordervolume2:
  18667. description: 买单量2
  18668. type: integer
  18669. bidordervolume3:
  18670. description: 买单量3
  18671. type: integer
  18672. bidordervolume4:
  18673. description: 买单量4
  18674. type: integer
  18675. bidordervolume5:
  18676. description: 买单量5
  18677. type: integer
  18678. bidordervolume6:
  18679. description: 买单量6
  18680. type: integer
  18681. bidordervolume7:
  18682. description: 买单量7
  18683. type: integer
  18684. bidordervolume8:
  18685. description: 买单量8
  18686. type: integer
  18687. bidordervolume9:
  18688. description: 买单量9
  18689. type: integer
  18690. bidordervolume10:
  18691. description: 买单量10
  18692. type: integer
  18693. bidqueueinfo:
  18694. description: 大利市买港股用
  18695. type: string
  18696. bidvolume:
  18697. description: 买量1
  18698. type: integer
  18699. bidvolume2:
  18700. description: 买量2
  18701. type: integer
  18702. bidvolume3:
  18703. description: 买量3
  18704. type: integer
  18705. bidvolume4:
  18706. description: 买量4
  18707. type: integer
  18708. bidvolume5:
  18709. description: 买量5
  18710. type: integer
  18711. bidvolume6:
  18712. description: 买量6
  18713. type: integer
  18714. bidvolume7:
  18715. description: 买量7
  18716. type: integer
  18717. bidvolume8:
  18718. description: 买量8
  18719. type: integer
  18720. bidvolume9:
  18721. description: 买量9
  18722. type: integer
  18723. bidvolume10:
  18724. description: 买量10
  18725. type: integer
  18726. calloptionpremiums:
  18727. description: 认购期权1
  18728. type: integer
  18729. calloptionpremiums2:
  18730. description: 认购期权2
  18731. type: integer
  18732. calloptionpremiums3:
  18733. description: 认购期权3
  18734. type: integer
  18735. calloptionpremiums4:
  18736. description: 认购期权4
  18737. type: integer
  18738. calloptionpremiums5:
  18739. description: 认购期权5
  18740. type: integer
  18741. cleartime:
  18742. description: 清盘时间
  18743. type: integer
  18744. exchangecode:
  18745. description: 交易所代码
  18746. type: integer
  18747. exchangedate:
  18748. description: 交易日
  18749. type: integer
  18750. goodscode:
  18751. description: 商品代码
  18752. type: string
  18753. grepmarketprice:
  18754. description: 暗盘价 港股专用
  18755. type: number
  18756. highest:
  18757. description: 最高价
  18758. type: number
  18759. holdincrement:
  18760. description: 单笔持仓
  18761. type: integer
  18762. holdvolume:
  18763. description: 持仓
  18764. type: integer
  18765. iep:
  18766. description: 平衡价 港股专用
  18767. type: number
  18768. iev:
  18769. description: 平衡量 港股专用
  18770. type: number
  18771. inventory:
  18772. description: 库存
  18773. type: integer
  18774. iscleared:
  18775. description: 是否清盘标志
  18776. type: integer
  18777. issettled:
  18778. description: 是否结算标志
  18779. type: integer
  18780. last:
  18781. description: 最新价
  18782. type: number
  18783. lastlot:
  18784. description: 最新成交手数
  18785. type: integer
  18786. lasttime:
  18787. description: 行情时间(只有现价变化行情时间才变化)
  18788. type: string
  18789. lastturnover:
  18790. description: 最新成交金额
  18791. type: number
  18792. lastvolume:
  18793. description: 最新成交量
  18794. type: integer
  18795. limitdown:
  18796. description: 跌停价
  18797. type: number
  18798. limitup:
  18799. description: 涨停价
  18800. type: number
  18801. lowest:
  18802. description: 最低价
  18803. type: number
  18804. nontotalholdervolume:
  18805. description: 非交易持仓量
  18806. type: integer
  18807. nontotallot:
  18808. description: 非交易总手数
  18809. type: integer
  18810. nontotalturnover:
  18811. description: 非交易总金额
  18812. type: integer
  18813. nontotalvolume:
  18814. description: 非交易总量
  18815. type: integer
  18816. opened:
  18817. description: 开盘价
  18818. type: number
  18819. opentime:
  18820. description: 开盘时间
  18821. type: string
  18822. orderid:
  18823. description: 序号
  18824. type: integer
  18825. preclose:
  18826. description: 昨收
  18827. type: number
  18828. preholdvolume:
  18829. description: 昨持仓
  18830. type: integer
  18831. presettle:
  18832. description: 昨结价
  18833. type: number
  18834. publictradetype:
  18835. description: 公共交易标志类型 港股专用
  18836. type: string
  18837. putoptionpremiums:
  18838. description: 认沽期权1
  18839. type: integer
  18840. putoptionpremiums2:
  18841. description: 认沽期权2
  18842. type: integer
  18843. putoptionpremiums3:
  18844. description: 认沽期权3
  18845. type: integer
  18846. putoptionpremiums4:
  18847. description: 认沽期权4
  18848. type: integer
  18849. putoptionpremiums5:
  18850. description: 认沽期权5
  18851. type: integer
  18852. settle:
  18853. description: 结算价
  18854. type: number
  18855. strikeprice:
  18856. description: 发行价
  18857. type: number
  18858. totalaskvolume:
  18859. description: 内盘
  18860. type: integer
  18861. totalbidvolume:
  18862. description: 外盘
  18863. type: integer
  18864. totallot:
  18865. description: 总手数
  18866. type: integer
  18867. totalturnover:
  18868. description: 总金额
  18869. type: number
  18870. totalvolume:
  18871. description: 总量
  18872. type: integer
  18873. utclasttime:
  18874. description: utc的行情时间
  18875. type: string
  18876. type: object
  18877. quote.QueryTSDataRsp:
  18878. properties:
  18879. Count:
  18880. description: 交易日应有数据个数
  18881. type: integer
  18882. decimalPlace:
  18883. description: 小数位
  18884. type: integer
  18885. endTime:
  18886. description: 结束时间
  18887. type: string
  18888. goodsCode:
  18889. description: 商品代码
  18890. type: string
  18891. historyDatas:
  18892. description: 历史数据
  18893. items:
  18894. $ref: '#/definitions/quote.HistoryData'
  18895. type: array
  18896. outGoodsCode:
  18897. description: 外部商品代码
  18898. type: string
  18899. preSettle:
  18900. description: 昨结价
  18901. type: number
  18902. runSteps:
  18903. description: 交易日开休市计划
  18904. items:
  18905. $ref: '#/definitions/quote.TSDataRunStep'
  18906. type: array
  18907. startTime:
  18908. description: 开始时间
  18909. type: string
  18910. tradeDate:
  18911. description: 交易日
  18912. type: string
  18913. type: object
  18914. quote.TSDataRunStep:
  18915. properties:
  18916. end:
  18917. description: 真实结束时间
  18918. type: string
  18919. endflag:
  18920. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18921. type: integer
  18922. endtime:
  18923. description: 结束时间(HH:mm)
  18924. type: string
  18925. endweekday:
  18926. description: 结束周几
  18927. type: integer
  18928. groupid:
  18929. description: 分组ID
  18930. type: integer
  18931. runstep:
  18932. description: 运行阶段 - 2:连续交易
  18933. type: integer
  18934. sectionid:
  18935. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18936. 结束时间=结算时间 结束周几=结算周几
  18937. type: integer
  18938. start:
  18939. description: 真实开始时间
  18940. type: string
  18941. startflag:
  18942. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18943. type: integer
  18944. starttime:
  18945. description: 起始时间(HH:mm)
  18946. type: string
  18947. startweekday:
  18948. description: 起始周几
  18949. type: integer
  18950. tradeweekday:
  18951. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18952. type: integer
  18953. type: object
  18954. szdz.QueryConvertLogRsp:
  18955. properties:
  18956. accountid:
  18957. description: 资金账户ID
  18958. type: integer
  18959. clientticket:
  18960. description: 客户端流水号
  18961. type: string
  18962. converttype:
  18963. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18964. type: integer
  18965. createtime:
  18966. description: 记账时间
  18967. type: string
  18968. daymaxvalue:
  18969. description: 配置当日最大转入限制
  18970. type: number
  18971. daymaxvalue2:
  18972. description: 配置当日最大转入限制(转入)
  18973. type: number
  18974. goodscode:
  18975. description: 商品代码
  18976. type: string
  18977. goodsname:
  18978. description: 商品名称
  18979. type: string
  18980. handlestatus:
  18981. description: 处理状态
  18982. type: integer
  18983. innergoodsid:
  18984. description: 内部商品ID
  18985. type: integer
  18986. inratio:
  18987. description: 配置转入比值
  18988. type: integer
  18989. invalue:
  18990. description: 目标值
  18991. type: number
  18992. logid:
  18993. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18994. type: integer
  18995. mobile:
  18996. description: 手机号码(加密存储)
  18997. type: string
  18998. outergoodscode:
  18999. description: 外部商品代码[JD\PD]
  19000. type: string
  19001. outratio:
  19002. description: 配置转出比值
  19003. type: integer
  19004. outvalue:
  19005. description: 源值
  19006. type: number
  19007. pddecimalplace:
  19008. description: PD小数位
  19009. type: integer
  19010. qty:
  19011. description: 数量
  19012. type: string
  19013. remark:
  19014. description: 备注
  19015. type: string
  19016. sessionid:
  19017. description: 会话ID
  19018. type: integer
  19019. timemaxvalue:
  19020. description: 配置单次最大转入限制
  19021. type: number
  19022. timemaxvalue2:
  19023. description: 配置单次最大转入限制(转入)
  19024. type: number
  19025. timeminvalue:
  19026. description: 配置单次最小数量限制
  19027. type: number
  19028. timeminvalue2:
  19029. description: 配置单次最小数量限制(转入)
  19030. type: number
  19031. tradedate:
  19032. description: 交易日(yyyyMMdd)
  19033. type: string
  19034. userid:
  19035. description: 用户ID
  19036. type: integer
  19037. required:
  19038. - logid
  19039. type: object
  19040. szdz.QueryGoodsPickupRsp:
  19041. properties:
  19042. accountid:
  19043. description: 账户ID
  19044. type: integer
  19045. address:
  19046. description: 提货人详细地址
  19047. type: string
  19048. auditer:
  19049. description: 审核人
  19050. type: integer
  19051. audittime:
  19052. description: 审核时间
  19053. type: string
  19054. cardnum:
  19055. description: 提货人证件号码
  19056. type: string
  19057. cardtypeid:
  19058. description: 提货人证件类型
  19059. type: integer
  19060. checkremark:
  19061. description: 审核备注
  19062. type: string
  19063. goodscode:
  19064. description: 商品代码
  19065. type: string
  19066. goodsid:
  19067. description: 商品ID
  19068. type: integer
  19069. goodsname:
  19070. description: 商品名称
  19071. type: string
  19072. handlestatus:
  19073. description: 处理状态
  19074. type: integer
  19075. marketid:
  19076. description: 市场ID
  19077. type: integer
  19078. phonenum:
  19079. description: 提货人联系方式
  19080. type: string
  19081. qty:
  19082. description: 提货数量
  19083. type: number
  19084. recivername:
  19085. description: 提货人姓名
  19086. type: string
  19087. reqtime:
  19088. description: 更新时间
  19089. type: string
  19090. takemode:
  19091. description: 提货方式 - 2:自提 3:配送
  19092. type: integer
  19093. takeorderid:
  19094. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19095. type: string
  19096. takeorderstatus:
  19097. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19098. type: integer
  19099. takeremark:
  19100. description: 提货备注
  19101. type: string
  19102. tradedate:
  19103. description: 交易日(yyyyMMdd)
  19104. type: string
  19105. userid:
  19106. description: 用户ID
  19107. type: integer
  19108. required:
  19109. - takeorderid
  19110. type: object
  19111. szdz.QueryRecieptOrderRsp:
  19112. properties:
  19113. accountName:
  19114. description: 所属账号名称(已脱敏)
  19115. type: string
  19116. accountid:
  19117. description: 资金账号
  19118. type: integer
  19119. buyorsell:
  19120. description: 方向 - 0:买 1:卖
  19121. type: integer
  19122. enableqty:
  19123. description: 可摘数量
  19124. type: integer
  19125. goodscode:
  19126. description: 商品代码
  19127. type: string
  19128. goodsid:
  19129. description: 商品ID
  19130. type: integer
  19131. goodsname:
  19132. description: 商品名称
  19133. type: string
  19134. orderid:
  19135. description: 委托单号
  19136. type: string
  19137. orderprice:
  19138. description: 委托价格
  19139. type: number
  19140. ordertime:
  19141. description: 委托时间
  19142. type: string
  19143. tradedate:
  19144. description: 交易日(yyyyMMdd)
  19145. type: string
  19146. required:
  19147. - ordertime
  19148. type: object
  19149. szdz.QuerySZDZTradePositionRsp:
  19150. properties:
  19151. accountid:
  19152. description: 账号Id
  19153. type: integer
  19154. agreeunit:
  19155. description: 合约单位
  19156. type: number
  19157. averageprice:
  19158. description: 持仓均价
  19159. type: number
  19160. buyorsell:
  19161. description: 方向 - 0:买 1:卖
  19162. type: integer
  19163. closetotalqty:
  19164. description: 平仓总数量
  19165. type: integer
  19166. curholderamount:
  19167. description: 当前持仓总金额
  19168. type: number
  19169. curpositionqty:
  19170. description: 当前持仓总数量
  19171. type: integer
  19172. currencyid:
  19173. description: 报价货币ID
  19174. type: integer
  19175. curtdposition:
  19176. description: 期末今日头寸
  19177. type: integer
  19178. decimalplace:
  19179. description: 报价小数位
  19180. type: integer
  19181. enableqty:
  19182. description: 可用量
  19183. type: integer
  19184. fretdposition:
  19185. description: 冻结今日头寸
  19186. type: integer
  19187. frozenqty:
  19188. description: 持仓冻结数量
  19189. type: integer
  19190. goodscode:
  19191. description: 商品代码(内部)
  19192. type: string
  19193. goodsid:
  19194. description: 商品Id
  19195. type: integer
  19196. goodsname:
  19197. description: 商品名称
  19198. type: string
  19199. goodunit:
  19200. description: 报价单位
  19201. type: string
  19202. goodunitid:
  19203. description: 报价单位ID
  19204. type: integer
  19205. holderamount:
  19206. description: 期初持仓总金额
  19207. type: number
  19208. marketid:
  19209. description: 市场ID
  19210. type: integer
  19211. openreqqty:
  19212. description: 开仓申请数量
  19213. type: integer
  19214. opentotalqty:
  19215. description: 开仓总数量
  19216. type: integer
  19217. otherfrozenqty:
  19218. description: 持仓其他冻结数量(交割冻结)
  19219. type: integer
  19220. positionqty:
  19221. description: 期初持仓数量
  19222. type: integer
  19223. szdz3freezqty:
  19224. description: 尚志大宗转换冻结总数量
  19225. type: integer
  19226. tnqty:
  19227. description: T+N冻结总量
  19228. type: integer
  19229. tnusedqty:
  19230. description: T+N使用量
  19231. type: integer
  19232. trademode:
  19233. description: 交易模式
  19234. type: integer
  19235. usedmargin:
  19236. description: 占用保证金
  19237. type: number
  19238. type: object
  19239. taaccount.QueryAmountLogRsp:
  19240. properties:
  19241. OPERATETYPENAME:
  19242. description: 资金操作类型名称
  19243. type: string
  19244. accountid:
  19245. description: 资金账户ID
  19246. type: integer
  19247. agoodscode:
  19248. description: 竞拍商品代码
  19249. type: string
  19250. agoodsname:
  19251. description: 竞拍商品名称
  19252. type: string
  19253. amount:
  19254. description: 资金金额
  19255. type: number
  19256. amountadjusttype:
  19257. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19258. type: integer
  19259. autoid:
  19260. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19261. type: integer
  19262. balance:
  19263. description: 期初余额
  19264. type: number
  19265. businesscode:
  19266. description: 业务编号
  19267. type: integer
  19268. createtime:
  19269. description: 发生时间
  19270. type: string
  19271. currencyid:
  19272. description: 币种ID
  19273. type: integer
  19274. currentbalance:
  19275. description: 期末余额(变动后金额)
  19276. type: number
  19277. dgoodscode:
  19278. description: 交割商品代码
  19279. type: string
  19280. dgoodsname:
  19281. description: 交割商品名称
  19282. type: string
  19283. goodscode:
  19284. description: 商品代码
  19285. type: string
  19286. goodsid:
  19287. description: 商品ID
  19288. type: integer
  19289. goodsname:
  19290. description: 商品名称
  19291. type: string
  19292. marketid:
  19293. description: 市场ID
  19294. type: integer
  19295. marketname:
  19296. description: 市场名称
  19297. type: string
  19298. moneyticket:
  19299. description: 资金流水号:银行端流水号
  19300. type: integer
  19301. operatetype:
  19302. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19303. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19304. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19305. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19306. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19307. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19308. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19309. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19310. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19311. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19312. type: integer
  19313. relationorderid:
  19314. description: 关联单号
  19315. type: string
  19316. remark:
  19317. description: 备注
  19318. type: string
  19319. trademode:
  19320. description: 交易模式
  19321. type: integer
  19322. required:
  19323. - accountid
  19324. - amount
  19325. - amountadjusttype
  19326. - autoid
  19327. - balance
  19328. - createtime
  19329. - currentbalance
  19330. - operatetype
  19331. type: object
  19332. taaccount.QueryHisAmountLogRsp:
  19333. properties:
  19334. OPERATETYPENAME:
  19335. description: 资金操作类型名称
  19336. type: string
  19337. accountid:
  19338. description: 资金账户ID
  19339. type: integer
  19340. agoodscode:
  19341. description: 竞拍商品代码
  19342. type: string
  19343. agoodsname:
  19344. description: 竞拍商品名称
  19345. type: string
  19346. amount:
  19347. description: 资金金额
  19348. type: number
  19349. amountadjusttype:
  19350. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19351. type: integer
  19352. autoid:
  19353. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19354. type: integer
  19355. balance:
  19356. description: 期初余额
  19357. type: number
  19358. businesscode:
  19359. description: 业务编号
  19360. type: integer
  19361. createtime:
  19362. description: 发生时间
  19363. type: string
  19364. currencyid:
  19365. description: 币种ID
  19366. type: integer
  19367. currentbalance:
  19368. description: 期末余额(变动后金额)
  19369. type: number
  19370. dgoodscode:
  19371. description: 交割商品代码
  19372. type: string
  19373. dgoodsname:
  19374. description: 交割商品名称
  19375. type: string
  19376. goodscode:
  19377. description: 商品代码
  19378. type: string
  19379. goodsid:
  19380. description: 商品ID
  19381. type: integer
  19382. goodsname:
  19383. description: 商品名称
  19384. type: string
  19385. histradedate:
  19386. description: 历史交易日
  19387. type: string
  19388. isvaliddata:
  19389. description: 是否有效 - 0:无效 1:有效
  19390. type: integer
  19391. marketid:
  19392. description: 市场ID
  19393. type: integer
  19394. marketname:
  19395. description: 市场名称
  19396. type: string
  19397. moneyticket:
  19398. description: 资金流水号:银行端流水号
  19399. type: integer
  19400. operatetype:
  19401. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19402. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19403. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19404. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19405. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19406. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19407. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19408. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19409. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19410. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19411. type: integer
  19412. relationorderid:
  19413. description: 关联单号
  19414. type: string
  19415. remark:
  19416. description: 备注
  19417. type: string
  19418. trademode:
  19419. description: 交易模式
  19420. type: integer
  19421. required:
  19422. - accountid
  19423. - amount
  19424. - amountadjusttype
  19425. - autoid
  19426. - balance
  19427. - createtime
  19428. - currentbalance
  19429. - histradedate
  19430. - operatetype
  19431. type: object
  19432. trade.QueryRecieptOrderRsp:
  19433. properties:
  19434. accountName:
  19435. description: 所属账号名称(已脱敏)
  19436. type: string
  19437. accountid:
  19438. description: 资金账号
  19439. type: integer
  19440. buyorsell:
  19441. description: 方向 - 0:买 1:卖
  19442. type: integer
  19443. enableqty:
  19444. description: 可摘数量
  19445. type: integer
  19446. goodscode:
  19447. description: 商品代码
  19448. type: string
  19449. goodsid:
  19450. description: 商品ID
  19451. type: integer
  19452. goodsname:
  19453. description: 商品名称
  19454. type: string
  19455. orderid:
  19456. description: 委托单号
  19457. type: string
  19458. orderprice:
  19459. description: 委托价格
  19460. type: number
  19461. ordertime:
  19462. description: 委托时间
  19463. type: string
  19464. tradedate:
  19465. description: 交易日(yyyyMMdd)
  19466. type: string
  19467. required:
  19468. - ordertime
  19469. type: object
  19470. user.LoginQueryRsp:
  19471. properties:
  19472. areaRoles:
  19473. description: 所属角色信息
  19474. items:
  19475. $ref: '#/definitions/models.Arearole'
  19476. type: array
  19477. externalExchanges:
  19478. description: 外部交易所
  19479. items:
  19480. $ref: '#/definitions/models.Externalexchange'
  19481. type: array
  19482. goodsgroups:
  19483. description: 商品组
  19484. items:
  19485. $ref: '#/definitions/models.Goodsgroup'
  19486. type: array
  19487. loginAccount:
  19488. $ref: '#/definitions/models.Loginaccount'
  19489. description: 登录账号
  19490. markets:
  19491. description: 市场
  19492. items:
  19493. $ref: '#/definitions/models.Market'
  19494. type: array
  19495. systemParams:
  19496. description: 系统参数
  19497. items:
  19498. $ref: '#/definitions/models.Systemparam'
  19499. type: array
  19500. userAccount:
  19501. $ref: '#/definitions/models.Useraccount'
  19502. description: 用户账号
  19503. userInfo:
  19504. $ref: '#/definitions/models.Userinfo'
  19505. description: 用户信息
  19506. username:
  19507. description: 用户姓名
  19508. type: string
  19509. type: object
  19510. info:
  19511. contact: {}
  19512. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19513. termsOfService: http://www.muchinfo.cn
  19514. title: MTP2.0 查询服务 API
  19515. version: "1.0"
  19516. paths:
  19517. /CPTrade/QueryCPTradeMyBidInfos:
  19518. get:
  19519. parameters:
  19520. - description: 资金账户
  19521. in: query
  19522. name: accountid
  19523. required: true
  19524. type: integer
  19525. - description: 预售市场ID
  19526. in: query
  19527. name: marketid
  19528. type: integer
  19529. - description: 预售商品ID
  19530. in: query
  19531. name: goodsid
  19532. type: integer
  19533. produces:
  19534. - application/json
  19535. responses:
  19536. "200":
  19537. description: OK
  19538. schema:
  19539. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19540. "500":
  19541. description: Internal Server Error
  19542. schema:
  19543. $ref: '#/definitions/app.Response'
  19544. security:
  19545. - ApiKeyAuth: []
  19546. summary: 查询产能预售我的出价信息
  19547. tags:
  19548. - 产能预售
  19549. /CPTrade/QueryCPTradeOrderDetail:
  19550. get:
  19551. parameters:
  19552. - description: 预售商品ID
  19553. in: query
  19554. name: goodsid
  19555. type: integer
  19556. - description: 预售市场ID
  19557. in: query
  19558. name: marketid
  19559. type: integer
  19560. - description: 预售商品ID列表 - 格式:1,2,3
  19561. in: query
  19562. name: goodsids
  19563. type: string
  19564. produces:
  19565. - application/json
  19566. responses:
  19567. "200":
  19568. description: OK
  19569. schema:
  19570. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19571. "500":
  19572. description: Internal Server Error
  19573. schema:
  19574. $ref: '#/definitions/app.Response'
  19575. security:
  19576. - ApiKeyAuth: []
  19577. summary: 查询产能预售委托单信息
  19578. tags:
  19579. - 产能预售
  19580. /CPTrade/QueryMyCPTradeGoods:
  19581. get:
  19582. parameters:
  19583. - description: 资金账户
  19584. in: query
  19585. name: accountid
  19586. required: true
  19587. type: integer
  19588. produces:
  19589. - application/json
  19590. responses:
  19591. "200":
  19592. description: OK
  19593. schema:
  19594. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19595. "500":
  19596. description: Internal Server Error
  19597. schema:
  19598. $ref: '#/definitions/app.Response'
  19599. security:
  19600. - ApiKeyAuth: []
  19601. summary: 查询我的预售信息
  19602. tags:
  19603. - 产能预售
  19604. /CPTrade/QueryPositionCancel:
  19605. get:
  19606. parameters:
  19607. - description: 账户ID
  19608. in: query
  19609. name: userid
  19610. required: true
  19611. type: integer
  19612. - description: 注销ID
  19613. in: query
  19614. name: cancelid
  19615. type: integer
  19616. - description: 资金账户ID
  19617. in: query
  19618. name: accountid
  19619. type: integer
  19620. produces:
  19621. - application/json
  19622. responses:
  19623. "200":
  19624. description: OK
  19625. schema:
  19626. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19627. "500":
  19628. description: Internal Server Error
  19629. schema:
  19630. $ref: '#/definitions/app.Response'
  19631. security:
  19632. - ApiKeyAuth: []
  19633. summary: 查询远期订单注销申请信息
  19634. tags:
  19635. - 产能预售
  19636. /CPTrade/QueryPreasleApply:
  19637. get:
  19638. parameters:
  19639. - description: 账户ID
  19640. in: query
  19641. name: userid
  19642. required: true
  19643. type: integer
  19644. - description: 申请ID
  19645. in: query
  19646. name: applyid
  19647. type: integer
  19648. - description: 资金账户ID
  19649. in: query
  19650. name: accountid
  19651. type: integer
  19652. produces:
  19653. - application/json
  19654. responses:
  19655. "200":
  19656. description: OK
  19657. schema:
  19658. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19659. "500":
  19660. description: Internal Server Error
  19661. schema:
  19662. $ref: '#/definitions/app.Response'
  19663. security:
  19664. - ApiKeyAuth: []
  19665. summary: 查询产能预售申请信息
  19666. tags:
  19667. - 产能预售
  19668. /CPTrade/QueryPresaleGoodsEx:
  19669. get:
  19670. parameters:
  19671. - description: 预售商品ID
  19672. in: query
  19673. name: goodsid
  19674. type: integer
  19675. - description: 预售市场ID
  19676. in: query
  19677. name: marketid
  19678. type: integer
  19679. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19680. in: query
  19681. name: presalemode
  19682. type: integer
  19683. - description: 预售商品ID列表 - 格式:1,2,3
  19684. in: query
  19685. name: goodsids
  19686. type: string
  19687. - description: 预售商品代码
  19688. in: query
  19689. name: goodscode
  19690. type: string
  19691. produces:
  19692. - application/json
  19693. responses:
  19694. "200":
  19695. description: OK
  19696. schema:
  19697. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19698. "500":
  19699. description: Internal Server Error
  19700. schema:
  19701. $ref: '#/definitions/app.Response'
  19702. security:
  19703. - ApiKeyAuth: []
  19704. summary: 查询产能预售商品扩展信息
  19705. tags:
  19706. - 产能预售
  19707. /CPTrade/QueryUserGoodsData:
  19708. get:
  19709. parameters:
  19710. - description: 资金账户ID
  19711. in: query
  19712. name: accountid
  19713. required: true
  19714. type: integer
  19715. produces:
  19716. - application/json
  19717. responses:
  19718. "200":
  19719. description: OK
  19720. schema:
  19721. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19722. "500":
  19723. description: Internal Server Error
  19724. schema:
  19725. $ref: '#/definitions/app.Response'
  19726. security:
  19727. - ApiKeyAuth: []
  19728. summary: 查询远期订单信息
  19729. tags:
  19730. - 产能预售
  19731. /Common/GetAllEnums:
  19732. get:
  19733. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19734. parameters:
  19735. - description: 起始自增ID
  19736. in: query
  19737. name: autoid
  19738. type: integer
  19739. produces:
  19740. - application/json
  19741. responses:
  19742. "200":
  19743. description: OK
  19744. schema:
  19745. $ref: '#/definitions/models.Enumdicitem'
  19746. "500":
  19747. description: Internal Server Error
  19748. schema:
  19749. $ref: '#/definitions/app.Response'
  19750. summary: 获取所有枚举信息
  19751. tags:
  19752. - 通用服务
  19753. /Common/GetClientMenus:
  19754. get:
  19755. parameters:
  19756. - description: 登录账号
  19757. in: query
  19758. name: loginID
  19759. required: true
  19760. type: integer
  19761. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19762. in: query
  19763. name: clientType
  19764. type: integer
  19765. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19766. in: query
  19767. name: name
  19768. type: string
  19769. produces:
  19770. - application/json
  19771. responses:
  19772. "200":
  19773. description: OK
  19774. schema:
  19775. items:
  19776. $ref: '#/definitions/common.ClientMenu'
  19777. type: array
  19778. "500":
  19779. description: Internal Server Error
  19780. schema:
  19781. $ref: '#/definitions/app.Response'
  19782. security:
  19783. - ApiKeyAuth: []
  19784. summary: 获取交易端菜单
  19785. tags:
  19786. - 通用服务
  19787. /Common/GetDivisions:
  19788. get:
  19789. produces:
  19790. - application/json
  19791. responses:
  19792. "200":
  19793. description: OK
  19794. schema:
  19795. $ref: '#/definitions/models.Division'
  19796. "500":
  19797. description: Internal Server Error
  19798. schema:
  19799. $ref: '#/definitions/app.Response'
  19800. summary: 查询区域信息
  19801. tags:
  19802. - 通用服务
  19803. /Common/GetPCWebMenus:
  19804. get:
  19805. parameters:
  19806. - description: 登录账号
  19807. in: query
  19808. name: loginID
  19809. required: true
  19810. type: integer
  19811. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19812. in: query
  19813. name: name
  19814. type: string
  19815. produces:
  19816. - application/json
  19817. responses:
  19818. "200":
  19819. description: OK
  19820. schema:
  19821. items:
  19822. $ref: '#/definitions/common.PCWebMenu'
  19823. type: array
  19824. "500":
  19825. description: Internal Server Error
  19826. schema:
  19827. $ref: '#/definitions/app.Response'
  19828. security:
  19829. - ApiKeyAuth: []
  19830. summary: 获取PCWeb交易端菜单
  19831. tags:
  19832. - 通用服务
  19833. /Common/GetServerTime:
  19834. get:
  19835. produces:
  19836. - application/json
  19837. responses:
  19838. "200":
  19839. description: OK
  19840. schema:
  19841. $ref: '#/definitions/app.Response'
  19842. "500":
  19843. description: Internal Server Error
  19844. schema:
  19845. $ref: '#/definitions/app.Response'
  19846. summary: 获取服务器时间
  19847. tags:
  19848. - 通用服务
  19849. /Common/NoticeReaded:
  19850. post:
  19851. parameters:
  19852. - description: 登录账号
  19853. in: query
  19854. name: loginID
  19855. required: true
  19856. type: integer
  19857. - description: 通知公告ID
  19858. in: query
  19859. name: noticeID
  19860. required: true
  19861. type: integer
  19862. produces:
  19863. - application/json
  19864. responses:
  19865. "200":
  19866. description: OK
  19867. schema:
  19868. $ref: '#/definitions/app.Response'
  19869. "500":
  19870. description: Internal Server Error
  19871. schema:
  19872. $ref: '#/definitions/app.Response'
  19873. security:
  19874. - ApiKeyAuth: []
  19875. summary: 通知公告设置已读请求
  19876. tags:
  19877. - 通用服务
  19878. /Common/QueryErrorInfos:
  19879. get:
  19880. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19881. parameters:
  19882. - description: 起始行号前索引
  19883. in: query
  19884. name: rowNumber
  19885. type: string
  19886. produces:
  19887. - application/json
  19888. responses:
  19889. "200":
  19890. description: OK
  19891. schema:
  19892. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19893. "500":
  19894. description: Internal Server Error
  19895. schema:
  19896. $ref: '#/definitions/app.Response'
  19897. summary: 获取数据库错误信息
  19898. tags:
  19899. - 通用服务
  19900. /Common/QueryImageConfigs:
  19901. get:
  19902. parameters:
  19903. - description: 用户id
  19904. in: query
  19905. name: userId
  19906. type: integer
  19907. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19908. in: query
  19909. name: imageType
  19910. type: integer
  19911. produces:
  19912. - application/json
  19913. responses:
  19914. "200":
  19915. description: OK
  19916. schema:
  19917. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19918. "500":
  19919. description: Internal Server Error
  19920. schema:
  19921. $ref: '#/definitions/app.Response'
  19922. summary: 查询轮播图配置信息
  19923. tags:
  19924. - 通用服务
  19925. /Common/QueryNotice:
  19926. get:
  19927. parameters:
  19928. - description: 页码
  19929. in: query
  19930. name: page
  19931. type: integer
  19932. - description: 每页条数
  19933. in: query
  19934. name: pagesize
  19935. type: integer
  19936. - description: 登录账号
  19937. in: query
  19938. name: loginID
  19939. required: true
  19940. type: integer
  19941. - description: 消息类型 - 1:公告通知 2:系统消息
  19942. in: query
  19943. name: msgType
  19944. type: integer
  19945. - description: 是否只获取未读信息
  19946. in: query
  19947. name: onlyUnRead
  19948. type: boolean
  19949. - description: 自增ID,传入后会返回这个ID后面的记录
  19950. in: query
  19951. name: lastID
  19952. type: integer
  19953. produces:
  19954. - application/json
  19955. responses:
  19956. "200":
  19957. description: OK
  19958. schema:
  19959. $ref: '#/definitions/common.QueryNoticeRsp'
  19960. "500":
  19961. description: Internal Server Error
  19962. schema:
  19963. $ref: '#/definitions/app.Response'
  19964. security:
  19965. - ApiKeyAuth: []
  19966. summary: 通知公告系统消息查询
  19967. tags:
  19968. - 通用服务
  19969. /Common/QueryProvincesAndCities:
  19970. get:
  19971. parameters:
  19972. - description: 省ID
  19973. in: query
  19974. name: provinceID
  19975. type: integer
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. summary: 查询省市信息(不包括区)
  19988. tags:
  19989. - 通用服务
  19990. /Common/QueryTableDefine:
  19991. get:
  19992. parameters:
  19993. - description: 表key
  19994. in: query
  19995. name: tableKey
  19996. type: string
  19997. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19998. in: query
  19999. name: tableType
  20000. type: integer
  20001. produces:
  20002. - application/json
  20003. responses:
  20004. "200":
  20005. description: OK
  20006. schema:
  20007. $ref: '#/definitions/common.QueryTableDefineRsp'
  20008. "500":
  20009. description: Internal Server Error
  20010. schema:
  20011. $ref: '#/definitions/app.Response'
  20012. summary: 查询交易端列表头信息
  20013. tags:
  20014. - 通用服务
  20015. /Common/QueryTraderMenu:
  20016. get:
  20017. parameters:
  20018. - description: 登录账号
  20019. in: query
  20020. name: loginid
  20021. required: true
  20022. type: integer
  20023. produces:
  20024. - application/json
  20025. responses:
  20026. "200":
  20027. description: OK
  20028. schema:
  20029. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20030. "500":
  20031. description: Internal Server Error
  20032. schema:
  20033. $ref: '#/definitions/app.Response'
  20034. summary: 查询交易端菜单
  20035. tags:
  20036. - 通用服务
  20037. /Delivery/QueryDeliveryRelation:
  20038. get:
  20039. parameters:
  20040. - description: 商品ID
  20041. in: query
  20042. name: goodsid
  20043. type: integer
  20044. - description: 品种ID
  20045. in: query
  20046. name: deliverygoodsid
  20047. type: integer
  20048. - description: 市场ID
  20049. in: query
  20050. name: marketid
  20051. type: integer
  20052. produces:
  20053. - application/json
  20054. responses:
  20055. "200":
  20056. description: OK
  20057. schema:
  20058. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20059. "500":
  20060. description: Internal Server Error
  20061. schema:
  20062. $ref: '#/definitions/app.Response'
  20063. security:
  20064. - ApiKeyAuth: []
  20065. summary: 查询商品交割关系表
  20066. tags:
  20067. - 交割服务
  20068. /Ermcp/GetErmcpGoods:
  20069. get:
  20070. parameters:
  20071. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20072. in: query
  20073. name: userid
  20074. type: integer
  20075. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20076. in: query
  20077. name: lastUpdateTime
  20078. type: string
  20079. produces:
  20080. - application/json
  20081. responses:
  20082. "200":
  20083. description: OK
  20084. schema:
  20085. $ref: '#/definitions/models.ErmcpGoods'
  20086. "500":
  20087. description: Internal Server Error
  20088. schema:
  20089. $ref: '#/definitions/app.Response'
  20090. security:
  20091. - ApiKeyAuth: []
  20092. summary: 查询企业风管期货商品信息
  20093. tags:
  20094. - 企业风险管理(app)
  20095. /Ermcp/GetErmcpGoodsSortByPosition:
  20096. get:
  20097. parameters:
  20098. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20099. in: query
  20100. name: sortIndex
  20101. type: string
  20102. produces:
  20103. - application/json
  20104. responses:
  20105. "200":
  20106. description: OK
  20107. schema:
  20108. $ref: '#/definitions/models.Goodssortbypreposition'
  20109. "500":
  20110. description: Internal Server Error
  20111. schema:
  20112. $ref: '#/definitions/app.Response'
  20113. security:
  20114. - ApiKeyAuth: []
  20115. summary: 查询企业风管期货主力、次主力商品信息
  20116. tags:
  20117. - 企业风险管理(app)
  20118. /Ermcp/GetErmcpOutAccountStatus:
  20119. get:
  20120. parameters:
  20121. - description: 登录账号
  20122. in: query
  20123. name: loginID
  20124. required: true
  20125. type: integer
  20126. produces:
  20127. - application/json
  20128. responses:
  20129. "200":
  20130. description: OK
  20131. schema:
  20132. $ref: '#/definitions/models.Hedgemarketopenlog'
  20133. "500":
  20134. description: Internal Server Error
  20135. schema:
  20136. $ref: '#/definitions/app.Response'
  20137. security:
  20138. - ApiKeyAuth: []
  20139. summary: 获取目标登录账号当前对冲账号在线状态
  20140. tags:
  20141. - 企业风险管理(app)
  20142. /Ermcp/GetErmcpRoleFuncMenuLists:
  20143. get:
  20144. parameters:
  20145. - description: 登录账号
  20146. in: query
  20147. name: loginID
  20148. required: true
  20149. type: integer
  20150. produces:
  20151. - application/json
  20152. responses:
  20153. "200":
  20154. description: OK
  20155. schema:
  20156. $ref: '#/definitions/models.Funcmenulist'
  20157. "500":
  20158. description: Internal Server Error
  20159. schema:
  20160. $ref: '#/definitions/app.Response'
  20161. security:
  20162. - ApiKeyAuth: []
  20163. summary: 获取企业风管终端权限
  20164. tags:
  20165. - 企业风险管理(app)
  20166. /Ermcp/QueryAccMgrBizGroupSet:
  20167. get:
  20168. parameters:
  20169. - description: 用户ID
  20170. in: query
  20171. name: userid
  20172. required: true
  20173. type: integer
  20174. - description: 现货商品id
  20175. in: query
  20176. name: deliverygoodsid
  20177. type: integer
  20178. produces:
  20179. - application/json
  20180. responses:
  20181. "200":
  20182. description: OK
  20183. schema:
  20184. items:
  20185. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20186. type: array
  20187. "500":
  20188. description: Internal Server Error
  20189. schema:
  20190. $ref: '#/definitions/app.Response'
  20191. security:
  20192. - ApiKeyAuth: []
  20193. summary: 查询业务类型分组(账户管理/账户设置)
  20194. tags:
  20195. - 企业风险管理(app)
  20196. /Ermcp/QueryAccMgrLoginUser:
  20197. get:
  20198. parameters:
  20199. - description: 用户ID
  20200. in: query
  20201. name: userid
  20202. required: true
  20203. type: integer
  20204. - description: 用户类型 2-机构 7-企业成员
  20205. in: query
  20206. name: usertype
  20207. type: integer
  20208. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20209. in: query
  20210. name: querytype
  20211. required: true
  20212. type: integer
  20213. produces:
  20214. - application/json
  20215. responses:
  20216. "200":
  20217. description: OK
  20218. schema:
  20219. items:
  20220. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20221. type: array
  20222. "500":
  20223. description: Internal Server Error
  20224. schema:
  20225. $ref: '#/definitions/app.Response'
  20226. security:
  20227. - ApiKeyAuth: []
  20228. summary: 查询账户管理登录账号(账户管理/登录账号)
  20229. tags:
  20230. - 企业风险管理(app)
  20231. /Ermcp/QueryAccMgrMainAccountInfo:
  20232. get:
  20233. parameters:
  20234. - description: 用户ID
  20235. in: query
  20236. name: userid
  20237. type: integer
  20238. - description: 主账号id
  20239. in: query
  20240. name: accountid
  20241. type: integer
  20242. produces:
  20243. - application/json
  20244. responses:
  20245. "200":
  20246. description: OK
  20247. schema:
  20248. items:
  20249. $ref: '#/definitions/models.MainAccountInfo'
  20250. type: array
  20251. "500":
  20252. description: Internal Server Error
  20253. schema:
  20254. $ref: '#/definitions/app.Response'
  20255. security:
  20256. - ApiKeyAuth: []
  20257. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20258. tags:
  20259. - 企业风险管理(app)
  20260. /Ermcp/QueryAccMgrRole:
  20261. get:
  20262. parameters:
  20263. - description: 用户ID
  20264. in: query
  20265. name: userid
  20266. required: true
  20267. type: integer
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. items:
  20275. $ref: '#/definitions/models.ErmcpRole'
  20276. type: array
  20277. "500":
  20278. description: Internal Server Error
  20279. schema:
  20280. $ref: '#/definitions/app.Response'
  20281. security:
  20282. - ApiKeyAuth: []
  20283. summary: 查询账户管理角色设置(账户管理/角色设置)
  20284. tags:
  20285. - 企业风险管理(app)
  20286. /Ermcp/QueryAccMgrRoleMenu:
  20287. get:
  20288. parameters:
  20289. - description: 用户ID
  20290. in: query
  20291. name: userid
  20292. required: true
  20293. type: integer
  20294. - description: 角色id(可多个,逗号隔开)
  20295. in: query
  20296. name: roleid
  20297. type: string
  20298. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20299. in: query
  20300. name: menutype
  20301. type: integer
  20302. produces:
  20303. - application/json
  20304. responses:
  20305. "200":
  20306. description: OK
  20307. schema:
  20308. items:
  20309. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20310. type: array
  20311. "500":
  20312. description: Internal Server Error
  20313. schema:
  20314. $ref: '#/definitions/app.Response'
  20315. security:
  20316. - ApiKeyAuth: []
  20317. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20318. tags:
  20319. - 企业风险管理(app)
  20320. /Ermcp/QueryAccMgrTaAccountInfo:
  20321. get:
  20322. parameters:
  20323. - description: 用户ID
  20324. in: query
  20325. name: userid
  20326. required: true
  20327. type: integer
  20328. - description: 账号id
  20329. in: query
  20330. name: accountid
  20331. type: integer
  20332. produces:
  20333. - application/json
  20334. responses:
  20335. "200":
  20336. description: OK
  20337. schema:
  20338. items:
  20339. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20340. type: array
  20341. "500":
  20342. description: Internal Server Error
  20343. schema:
  20344. $ref: '#/definitions/app.Response'
  20345. security:
  20346. - ApiKeyAuth: []
  20347. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20348. tags:
  20349. - 企业风险管理(app)
  20350. /Ermcp/QueryAccMgrTaaccount:
  20351. get:
  20352. parameters:
  20353. - description: 用户ID
  20354. in: query
  20355. name: userid
  20356. required: true
  20357. type: integer
  20358. produces:
  20359. - application/json
  20360. responses:
  20361. "200":
  20362. description: OK
  20363. schema:
  20364. items:
  20365. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20366. type: array
  20367. "500":
  20368. description: Internal Server Error
  20369. schema:
  20370. $ref: '#/definitions/app.Response'
  20371. security:
  20372. - ApiKeyAuth: []
  20373. summary: 查询账户管理期货账号(账户管理/期货账号)
  20374. tags:
  20375. - 企业风险管理(app)
  20376. /Ermcp/QueryAvaildGoodsGroup:
  20377. get:
  20378. parameters:
  20379. - description: 所属机构ID
  20380. in: query
  20381. name: userid
  20382. required: true
  20383. type: integer
  20384. produces:
  20385. - application/json
  20386. responses:
  20387. "200":
  20388. description: OK
  20389. schema:
  20390. items:
  20391. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20392. type: array
  20393. "500":
  20394. description: Internal Server Error
  20395. schema:
  20396. $ref: '#/definitions/app.Response'
  20397. security:
  20398. - ApiKeyAuth: []
  20399. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20400. tags:
  20401. - 企业风险管理(app)
  20402. /Ermcp/QueryBusinessDj:
  20403. get:
  20404. parameters:
  20405. - description: 用户ID
  20406. in: query
  20407. name: UserId
  20408. required: true
  20409. type: integer
  20410. - description: 用户类型 2-机构 7-企业成员
  20411. in: query
  20412. name: usertype
  20413. type: integer
  20414. - description: 现货合同ID, 不填则查所有
  20415. in: query
  20416. name: relatedid
  20417. type: string
  20418. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20419. in: query
  20420. name: applystatus
  20421. type: string
  20422. produces:
  20423. - application/json
  20424. responses:
  20425. "200":
  20426. description: OK
  20427. schema:
  20428. items:
  20429. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20430. type: array
  20431. "500":
  20432. description: Internal Server Error
  20433. schema:
  20434. $ref: '#/definitions/app.Response'
  20435. security:
  20436. - ApiKeyAuth: []
  20437. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20438. tags:
  20439. - 企业风险管理(app)
  20440. /Ermcp/QueryBusinessFp:
  20441. get:
  20442. parameters:
  20443. - description: 用户ID
  20444. in: query
  20445. name: UserId
  20446. required: true
  20447. type: integer
  20448. - description: 用户类型 2-机构 7-企业成员
  20449. in: query
  20450. name: usertype
  20451. type: integer
  20452. - description: 现货合同ID, 不填则查所有
  20453. in: query
  20454. name: relatedid
  20455. type: string
  20456. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20457. in: query
  20458. name: applystatus
  20459. type: string
  20460. produces:
  20461. - application/json
  20462. responses:
  20463. "200":
  20464. description: OK
  20465. schema:
  20466. items:
  20467. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20468. type: array
  20469. "500":
  20470. description: Internal Server Error
  20471. schema:
  20472. $ref: '#/definitions/app.Response'
  20473. security:
  20474. - ApiKeyAuth: []
  20475. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20476. tags:
  20477. - 企业风险管理(app)
  20478. /Ermcp/QueryBusinessJs:
  20479. get:
  20480. parameters:
  20481. - description: 用户ID
  20482. in: query
  20483. name: UserId
  20484. required: true
  20485. type: integer
  20486. - description: 用户类型 2-机构 7-企业成员
  20487. in: query
  20488. name: usertype
  20489. type: integer
  20490. - description: 现货合同ID, 不填则查所有
  20491. in: query
  20492. name: relatedid
  20493. type: string
  20494. - description: 操作申请id
  20495. in: query
  20496. name: operateapplyid
  20497. type: string
  20498. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20499. in: query
  20500. name: applystatus
  20501. type: string
  20502. produces:
  20503. - application/json
  20504. responses:
  20505. "200":
  20506. description: OK
  20507. schema:
  20508. items:
  20509. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20510. type: array
  20511. "500":
  20512. description: Internal Server Error
  20513. schema:
  20514. $ref: '#/definitions/app.Response'
  20515. security:
  20516. - ApiKeyAuth: []
  20517. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20518. tags:
  20519. - 企业风险管理(app)
  20520. /Ermcp/QueryBusinessJsEx:
  20521. get:
  20522. parameters:
  20523. - description: 用户ID
  20524. in: query
  20525. name: UserId
  20526. required: true
  20527. type: integer
  20528. - description: 用户类型 2-机构 7-企业成员
  20529. in: query
  20530. name: usertype
  20531. type: integer
  20532. - description: 现货合同ID, 不填则查所有
  20533. in: query
  20534. name: relatedid
  20535. type: string
  20536. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20537. in: query
  20538. name: applystatus
  20539. type: string
  20540. produces:
  20541. - application/json
  20542. responses:
  20543. "200":
  20544. description: OK
  20545. schema:
  20546. items:
  20547. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20548. type: array
  20549. "500":
  20550. description: Internal Server Error
  20551. schema:
  20552. $ref: '#/definitions/app.Response'
  20553. security:
  20554. - ApiKeyAuth: []
  20555. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20556. tags:
  20557. - 企业风险管理(app)
  20558. /Ermcp/QueryBusinessKx:
  20559. get:
  20560. parameters:
  20561. - description: 用户ID
  20562. in: query
  20563. name: UserId
  20564. required: true
  20565. type: integer
  20566. - description: 用户类型 2-机构 7-企业成员
  20567. in: query
  20568. name: usertype
  20569. type: integer
  20570. - description: 现货合同ID, 不填则查所有
  20571. in: query
  20572. name: relatedid
  20573. type: string
  20574. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20575. in: query
  20576. name: applystatus
  20577. type: string
  20578. produces:
  20579. - application/json
  20580. responses:
  20581. "200":
  20582. description: OK
  20583. schema:
  20584. items:
  20585. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20586. type: array
  20587. "500":
  20588. description: Internal Server Error
  20589. schema:
  20590. $ref: '#/definitions/app.Response'
  20591. security:
  20592. - ApiKeyAuth: []
  20593. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20594. tags:
  20595. - 企业风险管理(app)
  20596. /Ermcp/QueryChangeLog:
  20597. get:
  20598. parameters:
  20599. - description: 合同ID
  20600. in: query
  20601. name: RelatedId
  20602. required: true
  20603. type: string
  20604. produces:
  20605. - application/json
  20606. responses:
  20607. "200":
  20608. description: OK
  20609. schema:
  20610. items:
  20611. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20612. type: array
  20613. "500":
  20614. description: Internal Server Error
  20615. schema:
  20616. $ref: '#/definitions/app.Response'
  20617. security:
  20618. - ApiKeyAuth: []
  20619. summary: 查询变更记录
  20620. tags:
  20621. - 企业风险管理(app)
  20622. /Ermcp/QueryErmcpHisOrderDetails:
  20623. get:
  20624. parameters:
  20625. - description: 资金账户ID
  20626. in: query
  20627. name: accountID
  20628. required: true
  20629. type: integer
  20630. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20631. in: query
  20632. name: startDate
  20633. type: string
  20634. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20635. in: query
  20636. name: endDate
  20637. type: string
  20638. produces:
  20639. - application/json
  20640. responses:
  20641. "200":
  20642. description: OK
  20643. schema:
  20644. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20645. "500":
  20646. description: Internal Server Error
  20647. schema:
  20648. $ref: '#/definitions/app.Response'
  20649. security:
  20650. - ApiKeyAuth: []
  20651. summary: 获取企业风管期货历史委托单信息
  20652. tags:
  20653. - 企业风险管理(app)
  20654. /Ermcp/QueryErmcpHisTradeDetails:
  20655. get:
  20656. parameters:
  20657. - description: 资金账户ID
  20658. in: query
  20659. name: accountID
  20660. required: true
  20661. type: integer
  20662. - description: 商品ID
  20663. in: query
  20664. name: goodsID
  20665. type: integer
  20666. - description: 买卖方向,0:买 1:卖
  20667. in: query
  20668. name: buyOrSell
  20669. type: integer
  20670. - description: 关联委托单号
  20671. in: query
  20672. name: orderID
  20673. type: integer
  20674. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20675. in: query
  20676. name: startDate
  20677. type: string
  20678. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20679. in: query
  20680. name: endDate
  20681. type: string
  20682. produces:
  20683. - application/json
  20684. responses:
  20685. "200":
  20686. description: OK
  20687. schema:
  20688. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20689. "500":
  20690. description: Internal Server Error
  20691. schema:
  20692. $ref: '#/definitions/app.Response'
  20693. security:
  20694. - ApiKeyAuth: []
  20695. summary: 获取企业风管期货历史成交单信息
  20696. tags:
  20697. - 企业风险管理(app)
  20698. /Ermcp/QueryErmcpInnerHolderDetails:
  20699. get:
  20700. parameters:
  20701. - description: 资金账户ID
  20702. in: query
  20703. name: accountID
  20704. required: true
  20705. type: integer
  20706. - description: 商品ID
  20707. in: query
  20708. name: goodsID
  20709. type: integer
  20710. - description: 买卖方向,0:买 1:卖
  20711. in: query
  20712. name: buyOrSell
  20713. type: integer
  20714. produces:
  20715. - application/json
  20716. responses:
  20717. "200":
  20718. description: OK
  20719. schema:
  20720. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20721. "500":
  20722. description: Internal Server Error
  20723. schema:
  20724. $ref: '#/definitions/app.Response'
  20725. security:
  20726. - ApiKeyAuth: []
  20727. summary: 获取企业风管期货内部持仓单信息
  20728. tags:
  20729. - 企业风险管理(app)
  20730. /Ermcp/QueryErmcpOrderDetails:
  20731. get:
  20732. parameters:
  20733. - description: 资金账户ID
  20734. in: query
  20735. name: accountID
  20736. required: true
  20737. type: integer
  20738. produces:
  20739. - application/json
  20740. responses:
  20741. "200":
  20742. description: OK
  20743. schema:
  20744. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20745. "500":
  20746. description: Internal Server Error
  20747. schema:
  20748. $ref: '#/definitions/app.Response'
  20749. security:
  20750. - ApiKeyAuth: []
  20751. summary: 获取企业风管期货委托单信息
  20752. tags:
  20753. - 企业风险管理(app)
  20754. /Ermcp/QueryErmcpTradeDetails:
  20755. get:
  20756. parameters:
  20757. - description: 资金账户ID
  20758. in: query
  20759. name: accountID
  20760. required: true
  20761. type: integer
  20762. - description: 商品ID
  20763. in: query
  20764. name: goodsID
  20765. type: integer
  20766. - description: 买卖方向,0:买 1:卖
  20767. in: query
  20768. name: buyOrSell
  20769. type: integer
  20770. - description: 关联委托单号
  20771. in: query
  20772. name: orderID
  20773. type: integer
  20774. produces:
  20775. - application/json
  20776. responses:
  20777. "200":
  20778. description: OK
  20779. schema:
  20780. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20781. "500":
  20782. description: Internal Server Error
  20783. schema:
  20784. $ref: '#/definitions/app.Response'
  20785. security:
  20786. - ApiKeyAuth: []
  20787. summary: 获取企业风管期货成交单信息
  20788. tags:
  20789. - 企业风险管理(app)
  20790. /Ermcp/QueryErmcpTradePosition:
  20791. get:
  20792. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20793. parameters:
  20794. - description: 资金账户ID
  20795. in: query
  20796. name: accountID
  20797. required: true
  20798. type: integer
  20799. - description: 所属市场ID
  20800. in: query
  20801. name: marketID
  20802. type: integer
  20803. produces:
  20804. - application/json
  20805. responses:
  20806. "200":
  20807. description: OK
  20808. schema:
  20809. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 获取企业风管期货持仓头寸信息
  20817. tags:
  20818. - 企业风险管理(app)
  20819. /Ermcp/QueryExposureDetail:
  20820. get:
  20821. parameters:
  20822. - description: 所属机构ID
  20823. in: query
  20824. name: areaUserId
  20825. required: true
  20826. type: integer
  20827. - description: 套保商品
  20828. in: query
  20829. name: middleGoodsId
  20830. required: true
  20831. type: integer
  20832. produces:
  20833. - application/json
  20834. responses:
  20835. "200":
  20836. description: OK
  20837. schema:
  20838. items:
  20839. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20840. type: array
  20841. "500":
  20842. description: Internal Server Error
  20843. schema:
  20844. $ref: '#/definitions/app.Response'
  20845. security:
  20846. - ApiKeyAuth: []
  20847. summary: 查询敞口现货明细
  20848. tags:
  20849. - 企业风险管理(app)
  20850. /Ermcp/QueryExposureGoods:
  20851. get:
  20852. parameters:
  20853. - description: 套保商品id
  20854. in: query
  20855. name: middlegoodsid
  20856. required: true
  20857. type: integer
  20858. produces:
  20859. - application/json
  20860. responses:
  20861. "200":
  20862. description: OK
  20863. schema:
  20864. items:
  20865. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20866. type: array
  20867. "500":
  20868. description: Internal Server Error
  20869. schema:
  20870. $ref: '#/definitions/app.Response'
  20871. security:
  20872. - ApiKeyAuth: []
  20873. summary: 查询敞口主力合约
  20874. tags:
  20875. - 企业风险管理(app)
  20876. /Ermcp/QueryExposureHedgePosition:
  20877. get:
  20878. parameters:
  20879. - description: 用户id
  20880. in: query
  20881. name: userid
  20882. required: true
  20883. type: integer
  20884. produces:
  20885. - application/json
  20886. responses:
  20887. "200":
  20888. description: OK
  20889. schema:
  20890. items:
  20891. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20892. type: array
  20893. "500":
  20894. description: Internal Server Error
  20895. schema:
  20896. $ref: '#/definitions/app.Response'
  20897. security:
  20898. - ApiKeyAuth: []
  20899. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20900. tags:
  20901. - 企业风险管理(app)
  20902. /Ermcp/QueryExposureHedgePositionDetail:
  20903. get:
  20904. parameters:
  20905. - description: 所属机构ID
  20906. in: query
  20907. name: userid
  20908. required: true
  20909. type: integer
  20910. - description: 商品id
  20911. in: query
  20912. name: goodsId
  20913. required: true
  20914. type: integer
  20915. produces:
  20916. - application/json
  20917. responses:
  20918. "200":
  20919. description: OK
  20920. schema:
  20921. items:
  20922. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20923. type: array
  20924. "500":
  20925. description: Internal Server Error
  20926. schema:
  20927. $ref: '#/definitions/app.Response'
  20928. security:
  20929. - ApiKeyAuth: []
  20930. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20931. tags:
  20932. - 企业风险管理(app)
  20933. /Ermcp/QueryExposureSpot:
  20934. get:
  20935. parameters:
  20936. - description: 所属机构ID
  20937. in: query
  20938. name: areaUserId
  20939. required: true
  20940. type: integer
  20941. produces:
  20942. - application/json
  20943. responses:
  20944. "200":
  20945. description: OK
  20946. schema:
  20947. items:
  20948. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20949. type: array
  20950. "500":
  20951. description: Internal Server Error
  20952. schema:
  20953. $ref: '#/definitions/app.Response'
  20954. security:
  20955. - ApiKeyAuth: []
  20956. summary: 查询敞口现货头寸(敞口/现货头寸)
  20957. tags:
  20958. - 企业风险管理(app)
  20959. /Ermcp/QueryExposureSpotDetail:
  20960. get:
  20961. parameters:
  20962. - description: 所属机构ID
  20963. in: query
  20964. name: areaUserId
  20965. required: true
  20966. type: integer
  20967. - description: 现货品种ID
  20968. in: query
  20969. name: wrstandardId
  20970. required: true
  20971. type: integer
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20988. tags:
  20989. - 企业风险管理(app)
  20990. /Ermcp/QueryFuturesCompany:
  20991. get:
  20992. produces:
  20993. - application/json
  20994. responses:
  20995. "200":
  20996. description: OK
  20997. schema:
  20998. items:
  20999. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21000. type: array
  21001. "500":
  21002. description: Internal Server Error
  21003. schema:
  21004. $ref: '#/definitions/app.Response'
  21005. security:
  21006. - ApiKeyAuth: []
  21007. summary: 查询期货公司
  21008. tags:
  21009. - 企业风险管理(app)
  21010. /Ermcp/QueryGGConvertConfig:
  21011. get:
  21012. parameters:
  21013. - description: 品种id(不填则查所有)
  21014. in: query
  21015. name: goodsgroupid
  21016. type: integer
  21017. produces:
  21018. - application/json
  21019. responses:
  21020. "200":
  21021. description: OK
  21022. schema:
  21023. items:
  21024. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21025. type: array
  21026. "500":
  21027. description: Internal Server Error
  21028. schema:
  21029. $ref: '#/definitions/app.Response'
  21030. security:
  21031. - ApiKeyAuth: []
  21032. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21033. tags:
  21034. - 企业风险管理(app)
  21035. /Ermcp/QueryGoodsBrand:
  21036. get:
  21037. parameters:
  21038. - description: 用户ID
  21039. in: query
  21040. name: userid
  21041. required: true
  21042. type: integer
  21043. - description: 现货商品ID
  21044. in: query
  21045. name: wrstandardid
  21046. type: integer
  21047. produces:
  21048. - application/json
  21049. responses:
  21050. "200":
  21051. description: OK
  21052. schema:
  21053. items:
  21054. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21055. type: array
  21056. "500":
  21057. description: Internal Server Error
  21058. schema:
  21059. $ref: '#/definitions/app.Response'
  21060. security:
  21061. - ApiKeyAuth: []
  21062. summary: 查询商品品牌
  21063. tags:
  21064. - 企业风险管理(app)
  21065. /Ermcp/QueryGoodsModel:
  21066. get:
  21067. parameters:
  21068. - description: 用户ID
  21069. in: query
  21070. name: userid
  21071. required: true
  21072. type: integer
  21073. produces:
  21074. - application/json
  21075. responses:
  21076. "200":
  21077. description: OK
  21078. schema:
  21079. items:
  21080. $ref: '#/definitions/models.ErmcpGoodsModel'
  21081. type: array
  21082. "500":
  21083. description: Internal Server Error
  21084. schema:
  21085. $ref: '#/definitions/app.Response'
  21086. security:
  21087. - ApiKeyAuth: []
  21088. summary: 查询商品型号
  21089. tags:
  21090. - 企业风险管理(app)
  21091. /Ermcp/QueryHisExposure:
  21092. get:
  21093. parameters:
  21094. - description: 用户id
  21095. in: query
  21096. name: userid
  21097. required: true
  21098. type: integer
  21099. - description: 每个品种记录数
  21100. in: query
  21101. name: lastNum
  21102. required: true
  21103. type: integer
  21104. produces:
  21105. - application/json
  21106. responses:
  21107. "200":
  21108. description: OK
  21109. schema:
  21110. items:
  21111. $ref: '#/definitions/ermcp.HisExposureRsp'
  21112. type: array
  21113. "500":
  21114. description: Internal Server Error
  21115. schema:
  21116. $ref: '#/definitions/app.Response'
  21117. security:
  21118. - ApiKeyAuth: []
  21119. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21120. tags:
  21121. - 企业风险管理(app)
  21122. /Ermcp/QueryMiddleGoods:
  21123. get:
  21124. parameters:
  21125. - description: 所属机构ID
  21126. in: query
  21127. name: userid
  21128. required: true
  21129. type: integer
  21130. - description: 状态 0-停用 1-正常
  21131. in: query
  21132. name: status
  21133. required: true
  21134. type: integer
  21135. produces:
  21136. - application/json
  21137. responses:
  21138. "200":
  21139. description: OK
  21140. schema:
  21141. items:
  21142. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21143. type: array
  21144. "500":
  21145. description: Internal Server Error
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. security:
  21149. - ApiKeyAuth: []
  21150. summary: 查询套保品种(菜单:套保品种)
  21151. tags:
  21152. - 企业风险管理(app)
  21153. /Ermcp/QueryMiddleGoodsChangeLog:
  21154. get:
  21155. parameters:
  21156. - description: 所属机构ID
  21157. in: query
  21158. name: userid
  21159. required: true
  21160. type: integer
  21161. - description: 套保品种id
  21162. in: query
  21163. name: middlegoodsid
  21164. required: true
  21165. type: integer
  21166. produces:
  21167. - application/json
  21168. responses:
  21169. "200":
  21170. description: OK
  21171. schema:
  21172. items:
  21173. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21174. type: array
  21175. "500":
  21176. description: Internal Server Error
  21177. schema:
  21178. $ref: '#/definitions/app.Response'
  21179. security:
  21180. - ApiKeyAuth: []
  21181. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21182. tags:
  21183. - 企业风险管理(app)
  21184. /Ermcp/QueryMiddleGoodsDetail:
  21185. get:
  21186. parameters:
  21187. - description: 所属机构ID
  21188. in: query
  21189. name: userid
  21190. required: true
  21191. type: integer
  21192. - description: 套保品种id
  21193. in: query
  21194. name: middlegoodsid
  21195. type: integer
  21196. produces:
  21197. - application/json
  21198. responses:
  21199. "200":
  21200. description: OK
  21201. schema:
  21202. items:
  21203. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21204. type: array
  21205. "500":
  21206. description: Internal Server Error
  21207. schema:
  21208. $ref: '#/definitions/app.Response'
  21209. security:
  21210. - ApiKeyAuth: []
  21211. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21212. tags:
  21213. - 企业风险管理(app)
  21214. /Ermcp/QueryPendingAuditInfo:
  21215. get:
  21216. parameters:
  21217. - description: 用户ID
  21218. in: query
  21219. name: UserId
  21220. required: true
  21221. type: integer
  21222. produces:
  21223. - application/json
  21224. responses:
  21225. "200":
  21226. description: OK
  21227. schema:
  21228. items:
  21229. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21230. type: array
  21231. "500":
  21232. description: Internal Server Error
  21233. schema:
  21234. $ref: '#/definitions/app.Response'
  21235. security:
  21236. - ApiKeyAuth: []
  21237. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21238. tags:
  21239. - 企业风险管理(app)
  21240. /Ermcp/QueryRealtimeExposure:
  21241. get:
  21242. parameters:
  21243. - description: 所属机构ID
  21244. in: query
  21245. name: userid
  21246. required: true
  21247. type: integer
  21248. produces:
  21249. - application/json
  21250. responses:
  21251. "200":
  21252. description: OK
  21253. schema:
  21254. items:
  21255. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21256. type: array
  21257. "500":
  21258. description: Internal Server Error
  21259. schema:
  21260. $ref: '#/definitions/app.Response'
  21261. security:
  21262. - ApiKeyAuth: []
  21263. summary: 查询实时敞口
  21264. tags:
  21265. - 企业风险管理(app)
  21266. /Ermcp/QueryRealtimeExposurePosition:
  21267. get:
  21268. parameters:
  21269. - description: 用户id
  21270. in: query
  21271. name: userid
  21272. required: true
  21273. type: integer
  21274. - description: 套保商品ID
  21275. in: query
  21276. name: middleGoodsId
  21277. required: true
  21278. type: integer
  21279. produces:
  21280. - application/json
  21281. responses:
  21282. "200":
  21283. description: OK
  21284. schema:
  21285. items:
  21286. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21287. type: array
  21288. "500":
  21289. description: Internal Server Error
  21290. schema:
  21291. $ref: '#/definitions/app.Response'
  21292. security:
  21293. - ApiKeyAuth: []
  21294. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21295. tags:
  21296. - 企业风险管理(app)
  21297. /Ermcp/QueryRoleMenu:
  21298. get:
  21299. parameters:
  21300. - description: 登录ID
  21301. in: query
  21302. name: loginid
  21303. required: true
  21304. type: integer
  21305. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21306. in: query
  21307. name: menutype
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. items:
  21316. $ref: '#/definitions/models.RoleMenu'
  21317. type: array
  21318. "500":
  21319. description: Internal Server Error
  21320. schema:
  21321. $ref: '#/definitions/app.Response'
  21322. security:
  21323. - ApiKeyAuth: []
  21324. summary: 查询角色菜单和权限
  21325. tags:
  21326. - 企业风险管理(app)
  21327. /Ermcp/QueryTradeConfigTMP:
  21328. get:
  21329. parameters:
  21330. - description: 所属机构id
  21331. in: query
  21332. name: areauserid
  21333. type: integer
  21334. produces:
  21335. - application/json
  21336. responses:
  21337. "200":
  21338. description: OK
  21339. schema:
  21340. items:
  21341. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21342. type: array
  21343. "500":
  21344. description: Internal Server Error
  21345. schema:
  21346. $ref: '#/definitions/app.Response'
  21347. security:
  21348. - ApiKeyAuth: []
  21349. summary: 查询交易模板配置
  21350. tags:
  21351. - 企业风险管理(app)
  21352. /Ermcp/QueryUserInfo:
  21353. get:
  21354. parameters:
  21355. - description: 所属机构用户ID
  21356. in: query
  21357. name: MemberUserID
  21358. required: true
  21359. type: integer
  21360. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21361. in: query
  21362. name: queryType
  21363. required: true
  21364. type: integer
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. items:
  21372. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21373. type: array
  21374. "500":
  21375. description: Internal Server Error
  21376. schema:
  21377. $ref: '#/definitions/app.Response'
  21378. security:
  21379. - ApiKeyAuth: []
  21380. summary: 查询客户资料
  21381. tags:
  21382. - 企业风险管理(app)
  21383. /Ermcp/QueryWarehouseInfo:
  21384. get:
  21385. parameters:
  21386. - description: 用户ID
  21387. in: query
  21388. name: userid
  21389. required: true
  21390. type: integer
  21391. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21392. in: query
  21393. name: status
  21394. type: string
  21395. produces:
  21396. - application/json
  21397. responses:
  21398. "200":
  21399. description: OK
  21400. schema:
  21401. items:
  21402. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21403. type: array
  21404. "500":
  21405. description: Internal Server Error
  21406. schema:
  21407. $ref: '#/definitions/app.Response'
  21408. security:
  21409. - ApiKeyAuth: []
  21410. summary: 查询仓库信息
  21411. tags:
  21412. - 企业风险管理(app)
  21413. /Ermcp3/QryAreaExpourseContractDetail:
  21414. get:
  21415. parameters:
  21416. - description: 用户ID
  21417. in: query
  21418. name: userid
  21419. required: true
  21420. type: integer
  21421. - description: 套保商品id
  21422. in: query
  21423. name: middlegoodsid
  21424. required: true
  21425. type: integer
  21426. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21427. in: query
  21428. name: cycletype
  21429. required: true
  21430. type: integer
  21431. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21432. 全(0)【原值】
  21433. in: query
  21434. name: cycletime
  21435. required: true
  21436. type: string
  21437. produces:
  21438. - application/json
  21439. responses:
  21440. "200":
  21441. description: OK
  21442. schema:
  21443. items:
  21444. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21445. type: array
  21446. "500":
  21447. description: Internal Server Error
  21448. schema:
  21449. $ref: '#/definitions/app.Response'
  21450. security:
  21451. - ApiKeyAuth: []
  21452. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21453. tags:
  21454. - 企业风险管理v3(app)
  21455. /Ermcp3/QryAreaExpourseFutuDetail:
  21456. get:
  21457. parameters:
  21458. - description: 用户ID
  21459. in: query
  21460. name: userid
  21461. required: true
  21462. type: integer
  21463. - description: 套保商品id
  21464. in: query
  21465. name: middlegoodsid
  21466. required: true
  21467. type: integer
  21468. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21469. in: query
  21470. name: cycletype
  21471. required: true
  21472. type: integer
  21473. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21474. 全(0)【原值】
  21475. in: query
  21476. name: cycletime
  21477. required: true
  21478. type: string
  21479. produces:
  21480. - application/json
  21481. responses:
  21482. "200":
  21483. description: OK
  21484. schema:
  21485. items:
  21486. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21487. type: array
  21488. "500":
  21489. description: Internal Server Error
  21490. schema:
  21491. $ref: '#/definitions/app.Response'
  21492. security:
  21493. - ApiKeyAuth: []
  21494. summary: 查询敞口期货明细(敞口报表/期货明细)
  21495. tags:
  21496. - 企业风险管理v3(app)
  21497. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21498. get:
  21499. parameters:
  21500. - description: 用户ID
  21501. in: query
  21502. name: userid
  21503. required: true
  21504. type: integer
  21505. - description: 套保商品id
  21506. in: query
  21507. name: middlegoodsid
  21508. required: true
  21509. type: integer
  21510. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21511. in: query
  21512. name: cycletype
  21513. required: true
  21514. type: integer
  21515. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21516. 全(0)【原值】
  21517. in: query
  21518. name: cycletime
  21519. required: true
  21520. type: string
  21521. produces:
  21522. - application/json
  21523. responses:
  21524. "200":
  21525. description: OK
  21526. schema:
  21527. items:
  21528. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21529. type: array
  21530. "500":
  21531. description: Internal Server Error
  21532. schema:
  21533. $ref: '#/definitions/app.Response'
  21534. security:
  21535. - ApiKeyAuth: []
  21536. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21537. tags:
  21538. - 企业风险管理v3(app)
  21539. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21540. get:
  21541. parameters:
  21542. - description: 用户ID
  21543. in: query
  21544. name: userid
  21545. required: true
  21546. type: integer
  21547. - description: 套保商品id
  21548. in: query
  21549. name: middlegoodsid
  21550. required: true
  21551. type: integer
  21552. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21553. in: query
  21554. name: cycletype
  21555. required: true
  21556. type: integer
  21557. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21558. 全(0)【原值】
  21559. in: query
  21560. name: cycletime
  21561. required: true
  21562. type: string
  21563. produces:
  21564. - application/json
  21565. responses:
  21566. "200":
  21567. description: OK
  21568. schema:
  21569. items:
  21570. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21571. type: array
  21572. "500":
  21573. description: Internal Server Error
  21574. schema:
  21575. $ref: '#/definitions/app.Response'
  21576. security:
  21577. - ApiKeyAuth: []
  21578. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21579. tags:
  21580. - 企业风险管理v3(app)
  21581. /Ermcp3/QryAreaExpourseReport:
  21582. get:
  21583. parameters:
  21584. - description: 用户ID
  21585. in: query
  21586. name: userid
  21587. required: true
  21588. type: integer
  21589. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21590. in: query
  21591. name: querytype
  21592. required: true
  21593. type: integer
  21594. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21595. in: query
  21596. name: cycletype
  21597. required: true
  21598. type: integer
  21599. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21600. 全(0)【原值】
  21601. in: query
  21602. name: cycletime
  21603. required: true
  21604. type: string
  21605. produces:
  21606. - application/json
  21607. responses:
  21608. "200":
  21609. description: OK
  21610. schema:
  21611. items:
  21612. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21613. type: array
  21614. "500":
  21615. description: Internal Server Error
  21616. schema:
  21617. $ref: '#/definitions/app.Response'
  21618. security:
  21619. - ApiKeyAuth: []
  21620. summary: 查询敞口报表
  21621. tags:
  21622. - 企业风险管理v3(app)
  21623. /Ermcp3/QryAreaSpotplReport:
  21624. get:
  21625. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21626. parameters:
  21627. - description: 用户ID
  21628. in: query
  21629. name: userid
  21630. required: true
  21631. type: integer
  21632. - description: 查询类型 1-报表 2-报表明细
  21633. in: query
  21634. name: querytype
  21635. required: true
  21636. type: integer
  21637. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21638. in: query
  21639. name: cycletype
  21640. required: true
  21641. type: integer
  21642. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21643. 全(0)【原值】
  21644. in: query
  21645. name: cycletime
  21646. required: true
  21647. type: string
  21648. - description: 现货品种id(明细必填)
  21649. in: query
  21650. name: deliverygoodsid
  21651. type: integer
  21652. - description: 币种id(明细必填)
  21653. in: query
  21654. name: currencyid
  21655. type: integer
  21656. - description: 日/周/月报表汇总维度 1:品种+品类
  21657. in: query
  21658. name: sumflag
  21659. type: integer
  21660. produces:
  21661. - application/json
  21662. responses:
  21663. "200":
  21664. description: OK
  21665. schema:
  21666. items:
  21667. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21668. type: array
  21669. "500":
  21670. description: Internal Server Error
  21671. schema:
  21672. $ref: '#/definitions/app.Response'
  21673. security:
  21674. - ApiKeyAuth: []
  21675. summary: 查询现货报表
  21676. tags:
  21677. - 企业风险管理v3(app)
  21678. /Ermcp3/QryAreaStockReport:
  21679. get:
  21680. parameters:
  21681. - description: 用户ID
  21682. in: query
  21683. name: userid
  21684. required: true
  21685. type: integer
  21686. - description: 查询类型 1-报表 2-报表明细
  21687. in: query
  21688. name: querytype
  21689. required: true
  21690. type: integer
  21691. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21692. in: query
  21693. name: cycletype
  21694. required: true
  21695. type: integer
  21696. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21697. 全(0)【原值】
  21698. in: query
  21699. name: cycletime
  21700. required: true
  21701. type: string
  21702. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21703. in: query
  21704. name: sumfields
  21705. type: string
  21706. - description: 品种ID
  21707. in: query
  21708. name: deliverygoodsid
  21709. type: integer
  21710. - description: 品类ID
  21711. in: query
  21712. name: wrstandardid
  21713. type: integer
  21714. - description: 品牌ID
  21715. in: query
  21716. name: spotgoodsbrandid
  21717. type: integer
  21718. - description: 仓库ID
  21719. in: query
  21720. name: warehouseinfoid
  21721. type: integer
  21722. produces:
  21723. - application/json
  21724. responses:
  21725. "200":
  21726. description: OK
  21727. schema:
  21728. items:
  21729. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21730. type: array
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询库存报表
  21738. tags:
  21739. - 企业风险管理v3(app)
  21740. /Ermcp3/QryAreaSumPL:
  21741. get:
  21742. parameters:
  21743. - description: 用户ID
  21744. in: query
  21745. name: userid
  21746. required: true
  21747. type: integer
  21748. - description: 查询类型 1-报表 2-报表明细
  21749. in: query
  21750. name: querytype
  21751. required: true
  21752. type: integer
  21753. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21754. in: query
  21755. name: cycletype
  21756. required: true
  21757. type: integer
  21758. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21759. 全(0)【原值】
  21760. in: query
  21761. name: cycletime
  21762. required: true
  21763. type: string
  21764. - description: 币种id(明细必填)
  21765. in: query
  21766. name: currencyid
  21767. type: integer
  21768. produces:
  21769. - application/json
  21770. responses:
  21771. "200":
  21772. description: OK
  21773. schema:
  21774. items:
  21775. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21776. type: array
  21777. "500":
  21778. description: Internal Server Error
  21779. schema:
  21780. $ref: '#/definitions/app.Response'
  21781. security:
  21782. - ApiKeyAuth: []
  21783. summary: 查询汇总损益表
  21784. tags:
  21785. - 企业风险管理v3(app)
  21786. /Ermcp3/QryFinanceReport:
  21787. get:
  21788. parameters:
  21789. - description: 用户ID
  21790. in: query
  21791. name: userid
  21792. required: true
  21793. type: integer
  21794. - description: 查询类型 1-报表 2-报表明细
  21795. in: query
  21796. name: querytype
  21797. required: true
  21798. type: integer
  21799. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21800. in: query
  21801. name: cycletype
  21802. required: true
  21803. type: integer
  21804. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21805. 全(0)【原值】
  21806. in: query
  21807. name: cycletime
  21808. required: true
  21809. type: string
  21810. - description: 币种id(报表明细必填)
  21811. in: query
  21812. name: currencyid
  21813. type: integer
  21814. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21815. in: query
  21816. name: sumfields
  21817. type: string
  21818. produces:
  21819. - application/json
  21820. responses:
  21821. "200":
  21822. description: OK
  21823. schema:
  21824. items:
  21825. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21826. type: array
  21827. "500":
  21828. description: Internal Server Error
  21829. schema:
  21830. $ref: '#/definitions/app.Response'
  21831. security:
  21832. - ApiKeyAuth: []
  21833. summary: 查询财务报表
  21834. tags:
  21835. - 企业风险管理v3(app)
  21836. /Ermcp3/QrySCMiddleGoodsReport:
  21837. get:
  21838. parameters:
  21839. - description: 用户ID
  21840. in: query
  21841. name: userid
  21842. required: true
  21843. type: integer
  21844. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21845. in: query
  21846. name: cycletype
  21847. required: true
  21848. type: integer
  21849. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21850. 全(0)【原值】
  21851. in: query
  21852. name: cycletime
  21853. required: true
  21854. type: string
  21855. - description: 合同id
  21856. in: query
  21857. name: spotcontractid
  21858. type: integer
  21859. - description: 套保品种id
  21860. in: query
  21861. name: middlegoodsid
  21862. type: integer
  21863. - description: 现货品种id
  21864. in: query
  21865. name: deliverygoodsid
  21866. type: integer
  21867. - description: 现货商品id
  21868. in: query
  21869. name: wrstandardid
  21870. type: integer
  21871. - description: 合同编号(模糊匹配)
  21872. in: query
  21873. name: contractno
  21874. type: string
  21875. produces:
  21876. - application/json
  21877. responses:
  21878. "200":
  21879. description: OK
  21880. schema:
  21881. items:
  21882. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21883. type: array
  21884. "500":
  21885. description: Internal Server Error
  21886. schema:
  21887. $ref: '#/definitions/app.Response'
  21888. security:
  21889. - ApiKeyAuth: []
  21890. summary: 查询定价报表
  21891. tags:
  21892. - 企业风险管理v3(app)
  21893. /Ermcp3/QryTaFutureDataReport:
  21894. get:
  21895. parameters:
  21896. - description: 用户ID
  21897. in: query
  21898. name: userid
  21899. required: true
  21900. type: integer
  21901. - description: 查询类型 1-报表 2-报表明细
  21902. in: query
  21903. name: querytype
  21904. required: true
  21905. type: integer
  21906. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21907. in: query
  21908. name: cycletype
  21909. required: true
  21910. type: integer
  21911. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21912. 全(0)【原值】
  21913. in: query
  21914. name: cycletime
  21915. required: true
  21916. type: string
  21917. - description: 币种id(查明细必填)
  21918. in: query
  21919. name: currencyid
  21920. type: integer
  21921. - description: 品种id(查明细必填)
  21922. in: query
  21923. name: goodsgroupid
  21924. type: integer
  21925. - description: 商品id(查明细必填)
  21926. in: query
  21927. name: goodsid
  21928. type: integer
  21929. - description: 买卖方向(查明细必填)
  21930. in: query
  21931. name: buyorsell
  21932. type: integer
  21933. produces:
  21934. - application/json
  21935. responses:
  21936. "200":
  21937. description: OK
  21938. schema:
  21939. items:
  21940. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21941. type: array
  21942. "500":
  21943. description: Internal Server Error
  21944. schema:
  21945. $ref: '#/definitions/app.Response'
  21946. security:
  21947. - ApiKeyAuth: []
  21948. summary: 查询期货报表
  21949. tags:
  21950. - 企业风险管理v3(app)
  21951. /Ermcp3/QueryAreaStock:
  21952. get:
  21953. parameters:
  21954. - description: 用户ID
  21955. in: query
  21956. name: userid
  21957. required: true
  21958. type: integer
  21959. produces:
  21960. - application/json
  21961. responses:
  21962. "200":
  21963. description: OK
  21964. schema:
  21965. items:
  21966. $ref: '#/definitions/models.Ermcp3AreaStock'
  21967. type: array
  21968. "500":
  21969. description: Internal Server Error
  21970. schema:
  21971. $ref: '#/definitions/app.Response'
  21972. security:
  21973. - ApiKeyAuth: []
  21974. summary: 查询机构库存(库存管理/当前库存)
  21975. tags:
  21976. - 企业风险管理v3(app)
  21977. /Ermcp3/QueryAreaStockApply:
  21978. get:
  21979. parameters:
  21980. - description: 用户ID
  21981. in: query
  21982. name: userid
  21983. required: true
  21984. type: integer
  21985. - description: 用户类型 2-机构 7-企业成员
  21986. in: query
  21987. name: usertype
  21988. type: integer
  21989. - description: 现货商品ID
  21990. in: query
  21991. name: deliverygoodsid
  21992. type: integer
  21993. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21994. in: query
  21995. name: inouttype
  21996. type: string
  21997. - description: 合同ID
  21998. in: query
  21999. name: spotcontractid
  22000. type: integer
  22001. - description: 品类ID
  22002. in: query
  22003. name: wrstandardid
  22004. type: integer
  22005. - description: 品牌ID
  22006. in: query
  22007. name: spotgoodsbrandid
  22008. type: integer
  22009. - description: 仓库ID
  22010. in: query
  22011. name: warehouseinfoid
  22012. type: integer
  22013. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22014. in: query
  22015. name: applystatus
  22016. type: string
  22017. produces:
  22018. - application/json
  22019. responses:
  22020. "200":
  22021. description: OK
  22022. schema:
  22023. items:
  22024. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22025. type: array
  22026. "500":
  22027. description: Internal Server Error
  22028. schema:
  22029. $ref: '#/definitions/app.Response'
  22030. security:
  22031. - ApiKeyAuth: []
  22032. summary: 查询库存申请(出入库记录|库存审核)
  22033. tags:
  22034. - 企业风险管理v3(app)
  22035. /Ermcp3/QueryAreaStockApplySum:
  22036. get:
  22037. parameters:
  22038. - description: 合同ID
  22039. in: query
  22040. name: spotcontractid
  22041. required: true
  22042. type: integer
  22043. produces:
  22044. - application/json
  22045. responses:
  22046. "200":
  22047. description: OK
  22048. schema:
  22049. items:
  22050. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22051. type: array
  22052. "500":
  22053. description: Internal Server Error
  22054. schema:
  22055. $ref: '#/definitions/app.Response'
  22056. security:
  22057. - ApiKeyAuth: []
  22058. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22059. tags:
  22060. - 企业风险管理v3(app)
  22061. /Ermcp3/QueryDGFactoryItem:
  22062. get:
  22063. parameters:
  22064. - description: 用户id
  22065. in: query
  22066. name: userid
  22067. type: integer
  22068. - description: 用户类型 2-机构 7-企业成员
  22069. in: query
  22070. name: usertype
  22071. type: integer
  22072. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22073. in: query
  22074. name: dgfactoryitemid
  22075. type: integer
  22076. - description: 现货品种ID
  22077. in: query
  22078. name: deliverygoodsid
  22079. type: integer
  22080. - description: 要素项类型
  22081. in: query
  22082. name: dgfactoryitemtypeid
  22083. type: integer
  22084. - description: 顺序
  22085. in: query
  22086. name: orderindex
  22087. type: integer
  22088. produces:
  22089. - application/json
  22090. responses:
  22091. "200":
  22092. description: OK
  22093. schema:
  22094. items:
  22095. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22096. type: array
  22097. "500":
  22098. description: Internal Server Error
  22099. schema:
  22100. $ref: '#/definitions/app.Response'
  22101. security:
  22102. - ApiKeyAuth: []
  22103. summary: 查询品种要素定义项
  22104. tags:
  22105. - 企业风险管理v3(app)
  22106. /Ermcp3/QueryDeliveryGoods:
  22107. get:
  22108. parameters:
  22109. - description: 用户id
  22110. in: query
  22111. name: userid
  22112. required: true
  22113. type: integer
  22114. - description: 用户类型 2-机构 7-企业成员
  22115. in: query
  22116. name: usertype
  22117. type: integer
  22118. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22119. in: query
  22120. name: excludecfg
  22121. type: integer
  22122. produces:
  22123. - application/json
  22124. responses:
  22125. "200":
  22126. description: OK
  22127. schema:
  22128. items:
  22129. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22130. type: array
  22131. "500":
  22132. description: Internal Server Error
  22133. schema:
  22134. $ref: '#/definitions/app.Response'
  22135. security:
  22136. - ApiKeyAuth: []
  22137. summary: 查询现货商品
  22138. tags:
  22139. - 企业风险管理v3(app)
  22140. /Ermcp3/QueryDeliveryGoodsDetail:
  22141. get:
  22142. parameters:
  22143. - description: 用户id
  22144. in: query
  22145. name: userid
  22146. required: true
  22147. type: integer
  22148. - description: 用户类型 2-机构 7-企业成员
  22149. in: query
  22150. name: usertype
  22151. type: integer
  22152. - description: 现货商品id
  22153. in: query
  22154. name: deliverygoodsid
  22155. type: integer
  22156. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22157. in: query
  22158. name: filtersubempty
  22159. type: integer
  22160. produces:
  22161. - application/json
  22162. responses:
  22163. "200":
  22164. description: OK
  22165. schema:
  22166. items:
  22167. $ref: '#/definitions/models.XHDeliveryGoods'
  22168. type: array
  22169. "500":
  22170. description: Internal Server Error
  22171. schema:
  22172. $ref: '#/definitions/app.Response'
  22173. security:
  22174. - ApiKeyAuth: []
  22175. summary: 查询现货商品详情
  22176. tags:
  22177. - 企业风险管理v3(app)
  22178. /Ermcp3/QueryExposureDetail:
  22179. get:
  22180. parameters:
  22181. - description: 用户id
  22182. in: query
  22183. name: userid
  22184. required: true
  22185. type: integer
  22186. - description: 用户类型 2-机构 7-企业成员
  22187. in: query
  22188. name: usertype
  22189. type: integer
  22190. - description: 套保商品
  22191. in: query
  22192. name: middlegoodsid
  22193. required: true
  22194. type: integer
  22195. produces:
  22196. - application/json
  22197. responses:
  22198. "200":
  22199. description: OK
  22200. schema:
  22201. items:
  22202. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22203. type: array
  22204. "500":
  22205. description: Internal Server Error
  22206. schema:
  22207. $ref: '#/definitions/app.Response'
  22208. security:
  22209. - ApiKeyAuth: []
  22210. summary: 查询敞口现货明细
  22211. tags:
  22212. - 企业风险管理v3(app)
  22213. /Ermcp3/QueryExposureSpot:
  22214. get:
  22215. parameters:
  22216. - description: 用户id
  22217. in: query
  22218. name: userid
  22219. required: true
  22220. type: integer
  22221. - description: 用户类型 2-机构 7-企业成员
  22222. in: query
  22223. name: usertype
  22224. type: integer
  22225. produces:
  22226. - application/json
  22227. responses:
  22228. "200":
  22229. description: OK
  22230. schema:
  22231. items:
  22232. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22233. type: array
  22234. "500":
  22235. description: Internal Server Error
  22236. schema:
  22237. $ref: '#/definitions/app.Response'
  22238. security:
  22239. - ApiKeyAuth: []
  22240. summary: 查询敞口现货头寸(敞口/现货头寸)
  22241. tags:
  22242. - 企业风险管理v3(app)
  22243. /Ermcp3/QueryExposureSpotDetail:
  22244. get:
  22245. parameters:
  22246. - description: 用户id
  22247. in: query
  22248. name: userid
  22249. required: true
  22250. type: integer
  22251. - description: 用户类型 2-机构 7-企业成员
  22252. in: query
  22253. name: usertype
  22254. type: integer
  22255. - description: 现货商品ID
  22256. in: query
  22257. name: wrstandardid
  22258. required: true
  22259. type: integer
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. items:
  22267. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22268. type: array
  22269. "500":
  22270. description: Internal Server Error
  22271. schema:
  22272. $ref: '#/definitions/app.Response'
  22273. security:
  22274. - ApiKeyAuth: []
  22275. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22276. tags:
  22277. - 企业风险管理v3(app)
  22278. /Ermcp3/QueryGoodsGroup:
  22279. get:
  22280. parameters:
  22281. - description: 用户id
  22282. in: query
  22283. name: userid
  22284. required: true
  22285. type: integer
  22286. - description: 用户类型 2-机构 7-企业成员
  22287. in: query
  22288. name: usertype
  22289. type: integer
  22290. - description: 排除套保品中已关联的商品组 1-排除
  22291. in: query
  22292. name: excludecfg
  22293. type: integer
  22294. produces:
  22295. - application/json
  22296. responses:
  22297. "200":
  22298. description: OK
  22299. schema:
  22300. items:
  22301. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22302. type: array
  22303. "500":
  22304. description: Internal Server Error
  22305. schema:
  22306. $ref: '#/definitions/app.Response'
  22307. security:
  22308. - ApiKeyAuth: []
  22309. summary: 查询期货商品组
  22310. tags:
  22311. - 企业风险管理v3(app)
  22312. /Ermcp3/QueryGoodsWrstandard:
  22313. get:
  22314. parameters:
  22315. - description: 用户id
  22316. in: query
  22317. name: userid
  22318. required: true
  22319. type: integer
  22320. - description: 用户类型 2-机构 7-企业成员
  22321. in: query
  22322. name: usertype
  22323. type: integer
  22324. - description: 现货商品id
  22325. in: query
  22326. name: deliverygoodsid
  22327. type: integer
  22328. produces:
  22329. - application/json
  22330. responses:
  22331. "200":
  22332. description: OK
  22333. schema:
  22334. items:
  22335. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22336. type: array
  22337. "500":
  22338. description: Internal Server Error
  22339. schema:
  22340. $ref: '#/definitions/app.Response'
  22341. security:
  22342. - ApiKeyAuth: []
  22343. summary: 查询商品品类
  22344. tags:
  22345. - 企业风险管理v3(app)
  22346. /Ermcp3/QueryGoodsbrand:
  22347. get:
  22348. parameters:
  22349. - description: 用户id
  22350. in: query
  22351. name: userid
  22352. required: true
  22353. type: integer
  22354. - description: 用户类型 2-机构 7-企业成员
  22355. in: query
  22356. name: usertype
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. items:
  22365. $ref: '#/definitions/models.Ermcp3Brand'
  22366. type: array
  22367. "500":
  22368. description: Internal Server Error
  22369. schema:
  22370. $ref: '#/definitions/app.Response'
  22371. security:
  22372. - ApiKeyAuth: []
  22373. summary: 查询商品品牌
  22374. tags:
  22375. - 企业风险管理v3(app)
  22376. /Ermcp3/QueryHedgePlan:
  22377. get:
  22378. parameters:
  22379. - description: 用户ID
  22380. in: query
  22381. name: userid
  22382. required: true
  22383. type: integer
  22384. - description: 用户类型 2-机构 7-企业成员
  22385. in: query
  22386. name: usertype
  22387. type: integer
  22388. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22389. in: query
  22390. name: hedgeplanstatus
  22391. required: true
  22392. type: string
  22393. produces:
  22394. - application/json
  22395. responses:
  22396. "200":
  22397. description: OK
  22398. schema:
  22399. items:
  22400. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22401. type: array
  22402. "500":
  22403. description: Internal Server Error
  22404. schema:
  22405. $ref: '#/definitions/app.Response'
  22406. security:
  22407. - ApiKeyAuth: []
  22408. summary: 查询套保计划
  22409. tags:
  22410. - 企业风险管理v3(app)
  22411. /Ermcp3/QueryInnerTradeLink:
  22412. get:
  22413. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22414. parameters:
  22415. - description: 外部成交单号
  22416. in: query
  22417. name: outtradeid
  22418. required: true
  22419. type: integer
  22420. produces:
  22421. - application/json
  22422. responses:
  22423. "200":
  22424. description: OK
  22425. schema:
  22426. items:
  22427. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22428. type: array
  22429. "500":
  22430. description: Internal Server Error
  22431. schema:
  22432. $ref: '#/definitions/app.Response'
  22433. security:
  22434. - ApiKeyAuth: []
  22435. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22436. tags:
  22437. - 企业风险管理v3(app)
  22438. /Ermcp3/QueryMiddleGoodsDetail:
  22439. get:
  22440. parameters:
  22441. - description: 用户id
  22442. in: query
  22443. name: userid
  22444. required: true
  22445. type: integer
  22446. - description: 用户类型 2-机构 7-企业成员
  22447. in: query
  22448. name: usertype
  22449. type: integer
  22450. - description: 套保品种id
  22451. in: query
  22452. name: middlegoodsid
  22453. type: integer
  22454. produces:
  22455. - application/json
  22456. responses:
  22457. "200":
  22458. description: OK
  22459. schema:
  22460. items:
  22461. $ref: '#/definitions/models.TBMiddleGoods'
  22462. type: array
  22463. "500":
  22464. description: Internal Server Error
  22465. schema:
  22466. $ref: '#/definitions/app.Response'
  22467. security:
  22468. - ApiKeyAuth: []
  22469. summary: 查询套保品种详情(套保品种/商品详情)
  22470. tags:
  22471. - 企业风险管理v3(app)
  22472. /Ermcp3/QueryOutTradeLink:
  22473. get:
  22474. description: 页面 app 现货->期现关联->外部成交单关联
  22475. parameters:
  22476. - description: 用户ID(填登录用户的userid)
  22477. in: query
  22478. name: userid
  22479. required: true
  22480. type: integer
  22481. - description: 外部订单号(模糊匹配)
  22482. in: query
  22483. name: outtradeid
  22484. type: string
  22485. - description: 合约名称/代码(模糊匹配)
  22486. in: query
  22487. name: goodsname
  22488. type: string
  22489. - description: 关联状态 0-未关联 1-已关联
  22490. in: query
  22491. name: hasinnerorder
  22492. type: integer
  22493. produces:
  22494. - application/json
  22495. responses:
  22496. "200":
  22497. description: OK
  22498. schema:
  22499. items:
  22500. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22501. type: array
  22502. "500":
  22503. description: Internal Server Error
  22504. schema:
  22505. $ref: '#/definitions/app.Response'
  22506. security:
  22507. - ApiKeyAuth: []
  22508. summary: 查询外部成交单关联
  22509. tags:
  22510. - 企业风险管理v3(app)
  22511. /Ermcp3/QueryPaAreaAuditCfg:
  22512. get:
  22513. parameters:
  22514. - description: 用户id
  22515. in: query
  22516. name: userid
  22517. required: true
  22518. type: integer
  22519. produces:
  22520. - application/json
  22521. responses:
  22522. "200":
  22523. description: OK
  22524. schema:
  22525. items:
  22526. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22527. type: array
  22528. "500":
  22529. description: Internal Server Error
  22530. schema:
  22531. $ref: '#/definitions/app.Response'
  22532. security:
  22533. - ApiKeyAuth: []
  22534. summary: 查询审核设置
  22535. tags:
  22536. - 企业风险管理v3(app)
  22537. /Ermcp3/QueryPaAreaSubject:
  22538. get:
  22539. parameters:
  22540. - description: 用户id
  22541. in: query
  22542. name: userid
  22543. required: true
  22544. type: integer
  22545. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22546. in: query
  22547. name: subjectid
  22548. type: integer
  22549. - description: 主体类型 - 1:交易主体 2:业务部门
  22550. in: query
  22551. name: subjecttype
  22552. type: integer
  22553. - description: '主体状态 - 1:正常 2: 停用'
  22554. in: query
  22555. name: subjectstatus
  22556. type: integer
  22557. produces:
  22558. - application/json
  22559. responses:
  22560. "200":
  22561. description: OK
  22562. schema:
  22563. items:
  22564. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22565. type: array
  22566. "500":
  22567. description: Internal Server Error
  22568. schema:
  22569. $ref: '#/definitions/app.Response'
  22570. security:
  22571. - ApiKeyAuth: []
  22572. summary: 查询交易主体
  22573. tags:
  22574. - 企业风险管理v3(app)
  22575. /Ermcp3/QueryPaTradeLink:
  22576. get:
  22577. description: 页面 app 现货->期现关联->期现单据关联
  22578. parameters:
  22579. - description: 用户ID
  22580. in: query
  22581. name: userid
  22582. required: true
  22583. type: integer
  22584. produces:
  22585. - application/json
  22586. responses:
  22587. "200":
  22588. description: OK
  22589. schema:
  22590. items:
  22591. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22592. type: array
  22593. "500":
  22594. description: Internal Server Error
  22595. schema:
  22596. $ref: '#/definitions/app.Response'
  22597. security:
  22598. - ApiKeyAuth: []
  22599. summary: 查询期现单据关联
  22600. tags:
  22601. - 企业风险管理v3(app)
  22602. /Ermcp3/QueryPaTradeLinkDetail:
  22603. get:
  22604. description: 页面 app 现货->期现关联->关联记录
  22605. parameters:
  22606. - description: 用户ID(填登录用户的userid)
  22607. in: query
  22608. name: userid
  22609. required: true
  22610. type: integer
  22611. - description: 关联状态 1:成功 2:失败 3:解绑
  22612. in: query
  22613. name: linkstatus
  22614. type: integer
  22615. - description: 期货订单号(模糊匹配)
  22616. in: query
  22617. name: tradeid
  22618. type: string
  22619. - description: 现货编号(模糊匹配)
  22620. in: query
  22621. name: contractno
  22622. type: string
  22623. - description: 期货账户(模糊匹配)
  22624. in: query
  22625. name: taname
  22626. type: string
  22627. produces:
  22628. - application/json
  22629. responses:
  22630. "200":
  22631. description: OK
  22632. schema:
  22633. items:
  22634. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22635. type: array
  22636. "500":
  22637. description: Internal Server Error
  22638. schema:
  22639. $ref: '#/definitions/app.Response'
  22640. security:
  22641. - ApiKeyAuth: []
  22642. summary: 查询期现关联记录
  22643. tags:
  22644. - 企业风险管理v3(app)
  22645. /Ermcp3/QueryParamChangeApp:
  22646. get:
  22647. description: |-
  22648. 原型页面:
  22649. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22650. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22651. parameters:
  22652. - description: 用户ID
  22653. in: query
  22654. name: userid
  22655. required: true
  22656. type: integer
  22657. - description: 现货品种id
  22658. in: query
  22659. name: deliverygoodsid
  22660. type: integer
  22661. - description: 现货商品id
  22662. in: query
  22663. name: wrstandardid
  22664. type: integer
  22665. - description: 套保商品id
  22666. in: query
  22667. name: middlegoodsid
  22668. type: integer
  22669. - description: 操作类型 1:新增 2:修改
  22670. in: query
  22671. name: operatetype
  22672. type: integer
  22673. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22674. in: query
  22675. name: paramchangetype
  22676. type: integer
  22677. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22678. in: query
  22679. name: ftstatus
  22680. type: string
  22681. produces:
  22682. - application/json
  22683. responses:
  22684. "200":
  22685. description: OK
  22686. schema:
  22687. items:
  22688. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22689. type: array
  22690. "500":
  22691. description: Internal Server Error
  22692. schema:
  22693. $ref: '#/definitions/app.Response'
  22694. security:
  22695. - ApiKeyAuth: []
  22696. summary: 查询现货商品参数变更申请(流水)
  22697. tags:
  22698. - 企业风险管理v3(app)
  22699. /Ermcp3/QueryRootUserAccount:
  22700. get:
  22701. parameters:
  22702. - description: 用户ID
  22703. in: query
  22704. name: userid
  22705. required: true
  22706. type: integer
  22707. produces:
  22708. - application/json
  22709. responses:
  22710. "200":
  22711. description: OK
  22712. schema:
  22713. items:
  22714. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22715. type: array
  22716. "500":
  22717. description: Internal Server Error
  22718. schema:
  22719. $ref: '#/definitions/app.Response'
  22720. security:
  22721. - ApiKeyAuth: []
  22722. summary: 查询顶级用户信息
  22723. tags:
  22724. - 企业风险管理v3(app)
  22725. /Ermcp3/QuerySCMiddleGoods:
  22726. get:
  22727. description: |-
  22728. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22729. 现货编号 即 合同编号
  22730. parameters:
  22731. - description: 用户ID(填登录用户的userid)
  22732. in: query
  22733. name: userid
  22734. required: true
  22735. type: integer
  22736. - description: 买卖方向 0-买 1-卖
  22737. in: query
  22738. name: buyorsell
  22739. required: true
  22740. type: integer
  22741. - description: 商品组id
  22742. in: query
  22743. name: goodsgroupid
  22744. required: true
  22745. type: integer
  22746. - description: 业务类型 1:套保 2:套利
  22747. in: query
  22748. name: biztype
  22749. type: integer
  22750. - description: 现货编号(模糊匹配)
  22751. in: query
  22752. name: contractno
  22753. type: string
  22754. - description: 对手方(模糊匹配)
  22755. in: query
  22756. name: customername
  22757. type: string
  22758. - description: 现货商品名称(模糊匹配)
  22759. in: query
  22760. name: wrstandardname
  22761. type: string
  22762. produces:
  22763. - application/json
  22764. responses:
  22765. "200":
  22766. description: OK
  22767. schema:
  22768. items:
  22769. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22770. type: array
  22771. "500":
  22772. description: Internal Server Error
  22773. schema:
  22774. $ref: '#/definitions/app.Response'
  22775. security:
  22776. - ApiKeyAuth: []
  22777. summary: 查询现货订单
  22778. tags:
  22779. - 企业风险管理v3(app)
  22780. /Ermcp3/QuerySpotContract:
  22781. get:
  22782. parameters:
  22783. - description: 用户id(当指定contractid, userid可不填)
  22784. in: query
  22785. name: userid
  22786. required: true
  22787. type: integer
  22788. - description: 用户类型 2-机构 7-企业成员
  22789. in: query
  22790. name: usertype
  22791. type: integer
  22792. - description: 合同类型 1-采购, -1-销售
  22793. in: query
  22794. name: contracttype
  22795. type: integer
  22796. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22797. in: query
  22798. name: querytype
  22799. type: string
  22800. - description: 合同ID(SpotContractId)
  22801. in: query
  22802. name: contractid
  22803. type: string
  22804. - description: 合同编号(模糊匹配)
  22805. in: query
  22806. name: contractno
  22807. type: string
  22808. - description: 商品名称(模糊匹配)
  22809. in: query
  22810. name: wrstandardname
  22811. type: string
  22812. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22813. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22814. in: query
  22815. name: status
  22816. type: string
  22817. - description: 是否只查今日的合同 1-查今日合同
  22818. in: query
  22819. name: istoday
  22820. type: integer
  22821. produces:
  22822. - application/json
  22823. responses:
  22824. "200":
  22825. description: OK
  22826. schema:
  22827. items:
  22828. $ref: '#/definitions/models.Ermcp3Contract'
  22829. type: array
  22830. "500":
  22831. description: Internal Server Error
  22832. schema:
  22833. $ref: '#/definitions/app.Response'
  22834. security:
  22835. - ApiKeyAuth: []
  22836. summary: 查询现货合同
  22837. tags:
  22838. - 企业风险管理v3(app)
  22839. /Ermcp3/QuerySpotContractBS:
  22840. get:
  22841. parameters:
  22842. - description: 用户id
  22843. in: query
  22844. name: userid
  22845. required: true
  22846. type: integer
  22847. - description: 用户类型 2-机构 7-企业成员
  22848. in: query
  22849. name: usertype
  22850. type: integer
  22851. - description: 合同类型 1-采购, -1-销售
  22852. in: query
  22853. name: contracttype
  22854. required: true
  22855. type: integer
  22856. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22857. in: query
  22858. name: querytype
  22859. type: integer
  22860. - description: 合同ID(SpotContractId)
  22861. in: query
  22862. name: contractid
  22863. type: string
  22864. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22865. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22866. in: query
  22867. name: status
  22868. type: string
  22869. - description: 是否只查今日的合同 1-查今日合同
  22870. in: query
  22871. name: istoday
  22872. type: integer
  22873. produces:
  22874. - application/json
  22875. responses:
  22876. "200":
  22877. description: OK
  22878. schema:
  22879. items:
  22880. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22881. type: array
  22882. "500":
  22883. description: Internal Server Error
  22884. schema:
  22885. $ref: '#/definitions/app.Response'
  22886. security:
  22887. - ApiKeyAuth: []
  22888. summary: 查询合同(采购/销售)
  22889. tags:
  22890. - 企业风险管理v3(app)
  22891. /Ermcp3/QuerySpotGoodsPrice:
  22892. get:
  22893. parameters:
  22894. - description: 用户ID
  22895. in: query
  22896. name: userid
  22897. required: true
  22898. type: integer
  22899. produces:
  22900. - application/json
  22901. responses:
  22902. "200":
  22903. description: OK
  22904. schema:
  22905. items:
  22906. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22907. type: array
  22908. "500":
  22909. description: Internal Server Error
  22910. schema:
  22911. $ref: '#/definitions/app.Response'
  22912. security:
  22913. - ApiKeyAuth: []
  22914. summary: 查询现货市价(现货市价)
  22915. tags:
  22916. - 企业风险管理v3(app)
  22917. /Ermcp3/QuerySpotGoodsPriceLog:
  22918. get:
  22919. parameters:
  22920. - description: 用户ID
  22921. in: query
  22922. name: userid
  22923. required: true
  22924. type: integer
  22925. - description: 现货商品ID
  22926. in: query
  22927. name: deliverygoodsid
  22928. required: true
  22929. type: integer
  22930. - description: 品牌ID
  22931. in: query
  22932. name: brandid
  22933. type: integer
  22934. - description: 品类ID
  22935. in: query
  22936. name: wrstandardid
  22937. type: integer
  22938. produces:
  22939. - application/json
  22940. responses:
  22941. "200":
  22942. description: OK
  22943. schema:
  22944. items:
  22945. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22946. type: array
  22947. "500":
  22948. description: Internal Server Error
  22949. schema:
  22950. $ref: '#/definitions/app.Response'
  22951. security:
  22952. - ApiKeyAuth: []
  22953. summary: 查询现货市价详情(现货市价/详情)
  22954. tags:
  22955. - 企业风险管理v3(app)
  22956. /Ermcp3/QuerySubTaaccount:
  22957. get:
  22958. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22959. parameters:
  22960. - description: 母账号id
  22961. in: query
  22962. name: parentaccountid
  22963. type: integer
  22964. - description: 母账号代码
  22965. in: query
  22966. name: parentaccountcode
  22967. type: string
  22968. produces:
  22969. - application/json
  22970. responses:
  22971. "200":
  22972. description: OK
  22973. schema:
  22974. items:
  22975. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22976. type: array
  22977. "500":
  22978. description: Internal Server Error
  22979. schema:
  22980. $ref: '#/definitions/app.Response'
  22981. security:
  22982. - ApiKeyAuth: []
  22983. summary: 查询期货子账户
  22984. tags:
  22985. - 企业风险管理v3(app)
  22986. /Erms2/QueryArbitrageStrategy:
  22987. get:
  22988. parameters:
  22989. - description: 账户ID
  22990. in: query
  22991. name: userid
  22992. required: true
  22993. type: integer
  22994. - description: 商品组ID(品种ID)
  22995. in: query
  22996. name: goodsgroupid
  22997. type: string
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23012. tags:
  23013. - 风险管理
  23014. /Erms2/QueryInnerTradeDetail:
  23015. get:
  23016. parameters:
  23017. - description: 资金账户
  23018. in: query
  23019. name: accountid
  23020. required: true
  23021. type: integer
  23022. produces:
  23023. - application/json
  23024. responses:
  23025. "200":
  23026. description: OK
  23027. schema:
  23028. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23029. "500":
  23030. description: Internal Server Error
  23031. schema:
  23032. $ref: '#/definitions/app.Response'
  23033. security:
  23034. - ApiKeyAuth: []
  23035. summary: 查询内部成交单信息
  23036. tags:
  23037. - 风险管理
  23038. /Erms2/QuerySpotContract:
  23039. get:
  23040. parameters:
  23041. - description: 策略申请ID
  23042. in: query
  23043. name: asapplyid
  23044. required: true
  23045. type: integer
  23046. - description: 现货合同ID
  23047. in: query
  23048. name: spotcontractid
  23049. type: integer
  23050. produces:
  23051. - application/json
  23052. responses:
  23053. "200":
  23054. description: OK
  23055. schema:
  23056. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23057. "500":
  23058. description: Internal Server Error
  23059. schema:
  23060. $ref: '#/definitions/app.Response'
  23061. security:
  23062. - ApiKeyAuth: []
  23063. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23064. tags:
  23065. - 风险管理
  23066. /Erms3/AddErms2ASApply:
  23067. post:
  23068. parameters:
  23069. - description: 申请参数
  23070. in: body
  23071. name: jsonBody
  23072. required: true
  23073. schema:
  23074. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23075. produces:
  23076. - application/json
  23077. responses:
  23078. "200":
  23079. description: OK
  23080. schema:
  23081. $ref: '#/definitions/app.Response'
  23082. "500":
  23083. description: Internal Server Error
  23084. schema:
  23085. $ref: '#/definitions/app.Response'
  23086. security:
  23087. - ApiKeyAuth: []
  23088. summary: 新增期现套利业务申请
  23089. tags:
  23090. - 风险管理v3
  23091. /Erms3/AddErms2SpotTradeApply:
  23092. post:
  23093. parameters:
  23094. - description: 申请参数
  23095. in: body
  23096. name: jsonBody
  23097. required: true
  23098. schema:
  23099. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23100. produces:
  23101. - application/json
  23102. responses:
  23103. "200":
  23104. description: OK
  23105. schema:
  23106. $ref: '#/definitions/app.Response'
  23107. "500":
  23108. description: Internal Server Error
  23109. schema:
  23110. $ref: '#/definitions/app.Response'
  23111. security:
  23112. - ApiKeyAuth: []
  23113. summary: 新增现货贸易业务申请
  23114. tags:
  23115. - 风险管理v3
  23116. /Erms3/AddSpotContractApply:
  23117. post:
  23118. parameters:
  23119. - description: 申请参数
  23120. in: body
  23121. name: jsonBody
  23122. required: true
  23123. schema:
  23124. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23125. produces:
  23126. - application/json
  23127. responses:
  23128. "200":
  23129. description: OK
  23130. schema:
  23131. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23132. "500":
  23133. description: Internal Server Error
  23134. schema:
  23135. $ref: '#/definitions/app.Response'
  23136. security:
  23137. - ApiKeyAuth: []
  23138. summary: 新增现货合同申请
  23139. tags:
  23140. - 风险管理v3
  23141. /Erms3/AddUserInfoApply:
  23142. post:
  23143. parameters:
  23144. - description: 用户信息
  23145. in: body
  23146. name: jsonBody
  23147. required: true
  23148. schema:
  23149. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23150. produces:
  23151. - application/json
  23152. responses:
  23153. "200":
  23154. description: OK
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. "500":
  23158. description: Internal Server Error
  23159. schema:
  23160. $ref: '#/definitions/app.Response'
  23161. security:
  23162. - ApiKeyAuth: []
  23163. summary: 新增客户申请
  23164. tags:
  23165. - 风险管理v3
  23166. /Erms3/DeleteUserInfoApply:
  23167. get:
  23168. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23169. parameters:
  23170. - description: 用户ID
  23171. in: query
  23172. name: userID
  23173. required: true
  23174. type: integer
  23175. produces:
  23176. - application/json
  23177. responses:
  23178. "200":
  23179. description: OK
  23180. schema:
  23181. $ref: '#/definitions/app.Response'
  23182. "500":
  23183. description: Internal Server Error
  23184. schema:
  23185. $ref: '#/definitions/app.Response'
  23186. security:
  23187. - ApiKeyAuth: []
  23188. summary: 删除客户申请
  23189. tags:
  23190. - 风险管理v3
  23191. /Erms3/ModifyUserInfoApply:
  23192. post:
  23193. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23194. int, "userstate": 2 }'
  23195. parameters:
  23196. - description: 用户信息
  23197. in: body
  23198. name: jsonBody
  23199. required: true
  23200. schema:
  23201. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23202. produces:
  23203. - application/json
  23204. responses:
  23205. "200":
  23206. description: OK
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. "500":
  23210. description: Internal Server Error
  23211. schema:
  23212. $ref: '#/definitions/app.Response'
  23213. security:
  23214. - ApiKeyAuth: []
  23215. summary: 修改客户申请
  23216. tags:
  23217. - 风险管理v3
  23218. /Erms3/QueryBusinessInfo:
  23219. get:
  23220. parameters:
  23221. - description: 资金账号ID列表,用逗号分隔
  23222. in: query
  23223. name: accountids
  23224. required: true
  23225. type: string
  23226. - description: 状态,0为未结束 1为已结束
  23227. in: query
  23228. name: status
  23229. required: true
  23230. type: integer
  23231. produces:
  23232. - application/json
  23233. responses:
  23234. "200":
  23235. description: OK
  23236. schema:
  23237. items:
  23238. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23239. type: array
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 查询业务表单数据
  23247. tags:
  23248. - 风险管理v3
  23249. /Erms3/QueryPendingAuditContract:
  23250. get:
  23251. parameters:
  23252. - description: 资金账号ID列表,逗号隔开
  23253. in: query
  23254. name: accountids
  23255. required: true
  23256. type: string
  23257. - description: 合同类型 1-采购 -1-销售
  23258. in: query
  23259. name: contracttype
  23260. required: true
  23261. type: integer
  23262. - description: 合同模式 1-普通 2-回购
  23263. in: query
  23264. name: contractmode
  23265. required: true
  23266. type: integer
  23267. produces:
  23268. - application/json
  23269. responses:
  23270. "200":
  23271. description: OK
  23272. schema:
  23273. items:
  23274. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23275. type: array
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 查询待审核合同
  23283. tags:
  23284. - 风险管理v3
  23285. /Erms3/QueryPendingBusiness:
  23286. get:
  23287. parameters:
  23288. - description: 资金账号ID列表,逗号隔开
  23289. in: query
  23290. name: accountids
  23291. required: true
  23292. type: string
  23293. produces:
  23294. - application/json
  23295. responses:
  23296. "200":
  23297. description: OK
  23298. schema:
  23299. items:
  23300. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23301. type: array
  23302. "500":
  23303. description: Internal Server Error
  23304. schema:
  23305. $ref: '#/definitions/app.Response'
  23306. security:
  23307. - ApiKeyAuth: []
  23308. summary: 查询待审核基差贸易业务
  23309. tags:
  23310. - 风险管理v3
  23311. /Erms3/QuerySpotContractAppleForm:
  23312. get:
  23313. parameters:
  23314. - description: 登录账号
  23315. in: query
  23316. name: loginID
  23317. required: true
  23318. type: integer
  23319. produces:
  23320. - application/json
  23321. responses:
  23322. "200":
  23323. description: OK
  23324. schema:
  23325. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23326. "500":
  23327. description: Internal Server Error
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. security:
  23331. - ApiKeyAuth: []
  23332. summary: 查询合同申请表单数据
  23333. tags:
  23334. - 风险管理v3
  23335. /Erms3/QuerySpotContractDetail:
  23336. get:
  23337. parameters:
  23338. - description: 资金账号ID列表,用逗号分隔
  23339. in: query
  23340. name: accountids
  23341. required: true
  23342. type: string
  23343. - description: 合同类型,1为采购合同 -1为销售合同
  23344. in: query
  23345. name: contracttype
  23346. required: true
  23347. type: integer
  23348. - description: 合同模式,1为普通合同 2为回购销售合同
  23349. in: query
  23350. name: contractmode
  23351. required: true
  23352. type: integer
  23353. - description: 状态,0为履约中 1为已完成
  23354. in: query
  23355. name: status
  23356. required: true
  23357. type: integer
  23358. produces:
  23359. - application/json
  23360. responses:
  23361. "200":
  23362. description: OK
  23363. schema:
  23364. items:
  23365. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23366. type: array
  23367. "500":
  23368. description: Internal Server Error
  23369. schema:
  23370. $ref: '#/definitions/app.Response'
  23371. security:
  23372. - ApiKeyAuth: []
  23373. summary: 查询合同详细信息
  23374. tags:
  23375. - 风险管理v3
  23376. /Erms3/QueryUserInfoApplies:
  23377. get:
  23378. parameters:
  23379. - description: 页码
  23380. in: query
  23381. name: page
  23382. type: integer
  23383. - description: 每页条数
  23384. in: query
  23385. name: pagesize
  23386. type: integer
  23387. - description: 客户名称,支持模糊查询
  23388. in: query
  23389. name: userName
  23390. type: string
  23391. produces:
  23392. - application/json
  23393. responses:
  23394. "200":
  23395. description: OK
  23396. schema:
  23397. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23398. "500":
  23399. description: Internal Server Error
  23400. schema:
  23401. $ref: '#/definitions/app.Response'
  23402. security:
  23403. - ApiKeyAuth: []
  23404. summary: 客户申请信息查询
  23405. tags:
  23406. - 风险管理v3
  23407. /Erms3/QueryUserInfos:
  23408. get:
  23409. parameters:
  23410. - description: 页码
  23411. in: query
  23412. name: page
  23413. type: integer
  23414. - description: 每页条数
  23415. in: query
  23416. name: pagesize
  23417. type: integer
  23418. - description: 客户名称,支持模糊查询
  23419. in: query
  23420. name: userName
  23421. type: string
  23422. produces:
  23423. - application/json
  23424. responses:
  23425. "200":
  23426. description: OK
  23427. schema:
  23428. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23429. "500":
  23430. description: Internal Server Error
  23431. schema:
  23432. $ref: '#/definitions/app.Response'
  23433. security:
  23434. - ApiKeyAuth: []
  23435. summary: 客户信息查询
  23436. tags:
  23437. - 风险管理v3
  23438. /HSBY/GetHsbyMyCount:
  23439. get:
  23440. description: 说明: 不包括已完成的数量。
  23441. parameters:
  23442. - description: 资金账户列表,格式:1,2,3
  23443. in: query
  23444. name: accountIDs
  23445. required: true
  23446. type: string
  23447. produces:
  23448. - application/json
  23449. responses:
  23450. "200":
  23451. description: OK
  23452. schema:
  23453. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 获取我的订单与包裹数量
  23461. tags:
  23462. - 定制【海商报业】
  23463. /HSBY/QueryClientFixedADConfigs:
  23464. get:
  23465. produces:
  23466. - application/json
  23467. responses:
  23468. "200":
  23469. description: OK
  23470. schema:
  23471. $ref: '#/definitions/models.Clientfixedadconfig'
  23472. "500":
  23473. description: Internal Server Error
  23474. schema:
  23475. $ref: '#/definitions/app.Response'
  23476. security:
  23477. - ApiKeyAuth: []
  23478. summary: 获取终端固定广告配置
  23479. tags:
  23480. - 定制【海商报业】
  23481. /HSBY/QueryHsbyBuyMyTradeDetail:
  23482. get:
  23483. parameters:
  23484. - description: 页码
  23485. in: query
  23486. name: page
  23487. type: integer
  23488. - description: 每页条数
  23489. in: query
  23490. name: pagesize
  23491. type: integer
  23492. - description: 资金账户列表,格式:1,2,3
  23493. in: query
  23494. name: accountIDs
  23495. required: true
  23496. type: string
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23504. "500":
  23505. description: Internal Server Error
  23506. schema:
  23507. $ref: '#/definitions/app.Response'
  23508. security:
  23509. - ApiKeyAuth: []
  23510. summary: 查询"我的订单 - 已完成"单据信息
  23511. tags:
  23512. - 定制【海商报业】
  23513. /HSBY/QueryHsbyGoodsOrderDetails:
  23514. get:
  23515. description: 说明:查询结果已按委托价格和委托时间排序
  23516. parameters:
  23517. - description: 商品ID
  23518. in: query
  23519. name: goodsID
  23520. required: true
  23521. type: integer
  23522. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23523. in: query
  23524. name: accountIDs
  23525. type: string
  23526. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23527. in: query
  23528. name: buyOrSell
  23529. type: integer
  23530. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23531. in: query
  23532. name: price
  23533. type: number
  23534. - description: 档位,不传则默认为3档
  23535. in: query
  23536. name: speed
  23537. type: integer
  23538. produces:
  23539. - application/json
  23540. responses:
  23541. "200":
  23542. description: OK
  23543. schema:
  23544. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23545. "500":
  23546. description: Internal Server Error
  23547. schema:
  23548. $ref: '#/definitions/app.Response'
  23549. security:
  23550. - ApiKeyAuth: []
  23551. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23552. tags:
  23553. - 定制【海商报业】
  23554. /HSBY/QueryHsbyListingGoodsDetail:
  23555. get:
  23556. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23557. parameters:
  23558. - description: 商品ID
  23559. in: query
  23560. name: goodsID
  23561. required: true
  23562. type: integer
  23563. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23564. in: query
  23565. name: accountID
  23566. type: integer
  23567. produces:
  23568. - application/json
  23569. responses:
  23570. "200":
  23571. description: OK
  23572. schema:
  23573. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23574. "500":
  23575. description: Internal Server Error
  23576. schema:
  23577. $ref: '#/definitions/app.Response'
  23578. security:
  23579. - ApiKeyAuth: []
  23580. summary: 查询二级市场(挂牌点选)商品信息详情
  23581. tags:
  23582. - 定制【海商报业】
  23583. /HSBY/QueryHsbyMarketGoodsDetail:
  23584. get:
  23585. parameters:
  23586. - description: 委托单号
  23587. in: query
  23588. name: orderID
  23589. required: true
  23590. type: integer
  23591. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23592. in: query
  23593. name: accountID
  23594. type: integer
  23595. produces:
  23596. - application/json
  23597. responses:
  23598. "200":
  23599. description: OK
  23600. schema:
  23601. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23602. "500":
  23603. description: Internal Server Error
  23604. schema:
  23605. $ref: '#/definitions/app.Response'
  23606. security:
  23607. - ApiKeyAuth: []
  23608. summary: 查询三级市场(商城)商品信息详情
  23609. tags:
  23610. - 定制【海商报业】
  23611. /HSBY/QueryHsbyMarketGoodses:
  23612. get:
  23613. parameters:
  23614. - description: 页码
  23615. in: query
  23616. name: page
  23617. type: integer
  23618. - description: 每页条数
  23619. in: query
  23620. name: pagesize
  23621. type: integer
  23622. - description: 市场ID列表,格式:1,2,3
  23623. in: query
  23624. name: marketIDs
  23625. required: true
  23626. type: string
  23627. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23628. in: query
  23629. name: accountID
  23630. required: true
  23631. type: integer
  23632. - description: 类别ID
  23633. in: query
  23634. name: categoryID
  23635. type: integer
  23636. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23637. in: query
  23638. name: goodsIDs
  23639. type: string
  23640. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23641. in: query
  23642. name: couponTypeID
  23643. type: integer
  23644. produces:
  23645. - application/json
  23646. responses:
  23647. "200":
  23648. description: OK
  23649. schema:
  23650. $ref: '#/definitions/models.HsbyMarketGoods'
  23651. "500":
  23652. description: Internal Server Error
  23653. schema:
  23654. $ref: '#/definitions/app.Response'
  23655. security:
  23656. - ApiKeyAuth: []
  23657. summary: 查询特卖商品列表(三级商城)
  23658. tags:
  23659. - 定制【海商报业】
  23660. /HSBY/QueryHsbyMarkets:
  23661. get:
  23662. produces:
  23663. - application/json
  23664. responses:
  23665. "200":
  23666. description: OK
  23667. schema:
  23668. $ref: '#/definitions/models.HsbyMarketInfo'
  23669. "500":
  23670. description: Internal Server Error
  23671. schema:
  23672. $ref: '#/definitions/app.Response'
  23673. security:
  23674. - ApiKeyAuth: []
  23675. summary: 查询海商报业相关市场信息
  23676. tags:
  23677. - 定制【海商报业】
  23678. /HSBY/QueryHsbyMyBuyOrderDetails:
  23679. get:
  23680. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23681. parameters:
  23682. - description: 资金账户列表,格式:1,2,3
  23683. in: query
  23684. name: accountIDs
  23685. required: true
  23686. type: string
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 查询“我的订单”信息
  23701. tags:
  23702. - 定制【海商报业】
  23703. /HSBY/QueryHsbyMyGoods:
  23704. get:
  23705. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23706. parameters:
  23707. - description: 资金账户列表,格式:1,2,3
  23708. in: query
  23709. name: accountIDs
  23710. required: true
  23711. type: string
  23712. produces:
  23713. - application/json
  23714. responses:
  23715. "200":
  23716. description: OK
  23717. schema:
  23718. $ref: '#/definitions/models.HsbyMyGoods'
  23719. "500":
  23720. description: Internal Server Error
  23721. schema:
  23722. $ref: '#/definitions/app.Response'
  23723. security:
  23724. - ApiKeyAuth: []
  23725. summary: 查询“我的商品”信息
  23726. tags:
  23727. - 定制【海商报业】
  23728. /HSBY/QueryHsbyMyPackages:
  23729. get:
  23730. parameters:
  23731. - description: 资金账户列表,格式:1,2,3
  23732. in: query
  23733. name: accountIDs
  23734. required: true
  23735. type: string
  23736. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23737. in: query
  23738. name: takeOrderStatus
  23739. type: integer
  23740. produces:
  23741. - application/json
  23742. responses:
  23743. "200":
  23744. description: OK
  23745. schema:
  23746. $ref: '#/definitions/models.HsbyMyPackage'
  23747. "500":
  23748. description: Internal Server Error
  23749. schema:
  23750. $ref: '#/definitions/app.Response'
  23751. security:
  23752. - ApiKeyAuth: []
  23753. summary: 查询我的包裹信息
  23754. tags:
  23755. - 定制【海商报业】
  23756. /HSBY/QueryHsbyPreGoodsDetail:
  23757. get:
  23758. parameters:
  23759. - description: 商品ID
  23760. in: query
  23761. name: goodsID
  23762. required: true
  23763. type: integer
  23764. - description: 资金账户,主要用于获取预售商品购买上限
  23765. in: query
  23766. name: accountID
  23767. type: integer
  23768. produces:
  23769. - application/json
  23770. responses:
  23771. "200":
  23772. description: OK
  23773. schema:
  23774. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23775. "500":
  23776. description: Internal Server Error
  23777. schema:
  23778. $ref: '#/definitions/app.Response'
  23779. security:
  23780. - ApiKeyAuth: []
  23781. summary: 查询一级市场(预售)商品信息详情
  23782. tags:
  23783. - 定制【海商报业】
  23784. /HSBY/QueryHsbyPreGoodses:
  23785. get:
  23786. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23787. parameters:
  23788. - description: 页码
  23789. in: query
  23790. name: page
  23791. type: integer
  23792. - description: 每页条数
  23793. in: query
  23794. name: pagesize
  23795. type: integer
  23796. - description: 市场ID列表,格式:1,2,3
  23797. in: query
  23798. name: marketIDs
  23799. required: true
  23800. type: string
  23801. - description: 目的地(省)ID
  23802. in: query
  23803. name: descProvinceID
  23804. type: integer
  23805. - description: 目的地(市)ID
  23806. in: query
  23807. name: descCityID
  23808. type: integer
  23809. produces:
  23810. - application/json
  23811. responses:
  23812. "200":
  23813. description: OK
  23814. schema:
  23815. $ref: '#/definitions/models.HsbyPreGoods'
  23816. "500":
  23817. description: Internal Server Error
  23818. schema:
  23819. $ref: '#/definitions/app.Response'
  23820. security:
  23821. - ApiKeyAuth: []
  23822. summary: 查询新品上市商品列表(一级市场预售)
  23823. tags:
  23824. - 定制【海商报业】
  23825. /HSBY/QueryHsbySellMyDetails:
  23826. get:
  23827. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23828. parameters:
  23829. - description: 页码
  23830. in: query
  23831. name: page
  23832. type: integer
  23833. - description: 每页条数
  23834. in: query
  23835. name: pagesize
  23836. type: integer
  23837. - description: 资金账户列表,格式:1,2,3
  23838. in: query
  23839. name: accountIDs
  23840. required: true
  23841. type: string
  23842. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23843. in: query
  23844. name: orderType
  23845. type: integer
  23846. produces:
  23847. - application/json
  23848. responses:
  23849. "200":
  23850. description: OK
  23851. schema:
  23852. $ref: '#/definitions/models.HsbySellMyDetail'
  23853. "500":
  23854. description: Internal Server Error
  23855. schema:
  23856. $ref: '#/definitions/app.Response'
  23857. security:
  23858. - ApiKeyAuth: []
  23859. summary: 查询"我的闲置"单据信息
  23860. tags:
  23861. - 定制【海商报业】
  23862. /HSBY/QueryHsbyTopGoodses:
  23863. get:
  23864. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23865. parameters:
  23866. - description: 页码
  23867. in: query
  23868. name: page
  23869. type: integer
  23870. - description: 每页条数
  23871. in: query
  23872. name: pagesize
  23873. type: integer
  23874. - description: 市场ID列表,格式:1,2,3
  23875. in: query
  23876. name: marketIDs
  23877. required: true
  23878. type: string
  23879. - description: 目的地(省)ID
  23880. in: query
  23881. name: descProvinceID
  23882. type: integer
  23883. - description: 目的地(市)ID
  23884. in: query
  23885. name: descCityID
  23886. type: integer
  23887. produces:
  23888. - application/json
  23889. responses:
  23890. "200":
  23891. description: OK
  23892. schema:
  23893. $ref: '#/definitions/models.HsbyTopGoods'
  23894. "500":
  23895. description: Internal Server Error
  23896. schema:
  23897. $ref: '#/definitions/app.Response'
  23898. security:
  23899. - ApiKeyAuth: []
  23900. summary: 查询热卖商品列表(二级市场挂牌点选)
  23901. tags:
  23902. - 定制【海商报业】
  23903. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23904. get:
  23905. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23906. parameters:
  23907. - description: 商品ID
  23908. in: query
  23909. name: goodsID
  23910. required: true
  23911. type: integer
  23912. produces:
  23913. - application/json
  23914. responses:
  23915. "200":
  23916. description: OK
  23917. schema:
  23918. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23919. "500":
  23920. description: Internal Server Error
  23921. schema:
  23922. $ref: '#/definitions/app.Response'
  23923. security:
  23924. - ApiKeyAuth: []
  23925. summary: 查询游客三级市场(商城)商品信息详情
  23926. tags:
  23927. - 定制【海商报业】
  23928. /HSBY/QueryHsbyVisitorMarketGoodses:
  23929. get:
  23930. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23931. parameters:
  23932. - description: 页码
  23933. in: query
  23934. name: page
  23935. type: integer
  23936. - description: 每页条数
  23937. in: query
  23938. name: pagesize
  23939. type: integer
  23940. - description: 市场ID列表,格式:1,2,3
  23941. in: query
  23942. name: marketIDs
  23943. required: true
  23944. type: string
  23945. - description: 类别ID
  23946. in: query
  23947. name: categoryID
  23948. type: integer
  23949. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23950. in: query
  23951. name: goodsIDs
  23952. type: string
  23953. produces:
  23954. - application/json
  23955. responses:
  23956. "200":
  23957. description: OK
  23958. schema:
  23959. $ref: '#/definitions/models.HsbyMarketGoods'
  23960. "500":
  23961. description: Internal Server Error
  23962. schema:
  23963. $ref: '#/definitions/app.Response'
  23964. security:
  23965. - ApiKeyAuth: []
  23966. summary: 查询游客特卖商品列表(三级商城)
  23967. tags:
  23968. - 定制【海商报业】
  23969. /HSBY/QueryMyCollectionOrders:
  23970. get:
  23971. parameters:
  23972. - description: 页码
  23973. in: query
  23974. name: page
  23975. type: integer
  23976. - description: 每页条数
  23977. in: query
  23978. name: pagesize
  23979. type: integer
  23980. - description: 资金账户,格式:1,2,3
  23981. in: query
  23982. name: accountIDs
  23983. required: true
  23984. type: string
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23992. "500":
  23993. description: Internal Server Error
  23994. schema:
  23995. $ref: '#/definitions/app.Response'
  23996. security:
  23997. - ApiKeyAuth: []
  23998. summary: 我的闲置中收款信息查询
  23999. tags:
  24000. - 定制【海商报业】
  24001. /HSBY/QueryMyCouponHolds:
  24002. get:
  24003. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24004. parameters:
  24005. - description: 资金账户列表,格式:1,2,3
  24006. in: query
  24007. name: accountIDs
  24008. required: true
  24009. type: string
  24010. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24011. in: query
  24012. name: holdStatus
  24013. type: string
  24014. produces:
  24015. - application/json
  24016. responses:
  24017. "200":
  24018. description: OK
  24019. schema:
  24020. $ref: '#/definitions/models.MyCouponHold'
  24021. "500":
  24022. description: Internal Server Error
  24023. schema:
  24024. $ref: '#/definitions/app.Response'
  24025. security:
  24026. - ApiKeyAuth: []
  24027. summary: 我的优惠卷持仓查询
  24028. tags:
  24029. - 定制【海商报业】
  24030. /HSBY/QueryMyCoupons:
  24031. get:
  24032. parameters:
  24033. - description: 资金账户列表,格式:1,2,3
  24034. in: query
  24035. name: accountIDs
  24036. required: true
  24037. type: string
  24038. - description: 商品ID, 一般与sellUserID配套传入
  24039. in: query
  24040. name: goodsID
  24041. type: integer
  24042. - description: 卖方UserID
  24043. in: query
  24044. name: sellUserID
  24045. type: integer
  24046. produces:
  24047. - application/json
  24048. responses:
  24049. "200":
  24050. description: OK
  24051. schema:
  24052. $ref: '#/definitions/models.MyCoupon'
  24053. "500":
  24054. description: Internal Server Error
  24055. schema:
  24056. $ref: '#/definitions/app.Response'
  24057. security:
  24058. - ApiKeyAuth: []
  24059. summary: 我的优惠卷查询
  24060. tags:
  24061. - 定制【海商报业】
  24062. /HSBY/QueryMyPayOrders:
  24063. get:
  24064. parameters:
  24065. - description: 页码
  24066. in: query
  24067. name: page
  24068. type: integer
  24069. - description: 每页条数
  24070. in: query
  24071. name: pagesize
  24072. type: integer
  24073. - description: 资金账户列表,格式:1,2,3
  24074. in: query
  24075. name: accountIDs
  24076. required: true
  24077. type: string
  24078. - description: 买方委托单号
  24079. in: query
  24080. name: buyOrderID
  24081. type: integer
  24082. - description: 卖方委托单号
  24083. in: query
  24084. name: sellOrderID
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 获取我的订单中待付款信息
  24100. tags:
  24101. - 定制【海商报业】
  24102. /HSBY/QueryMyUsedCoupon:
  24103. get:
  24104. parameters:
  24105. - description: 资金账户列表,格式:1,2,3
  24106. in: query
  24107. name: accountIDs
  24108. required: true
  24109. type: string
  24110. produces:
  24111. - application/json
  24112. responses:
  24113. "200":
  24114. description: OK
  24115. schema:
  24116. $ref: '#/definitions/models.MyUsedCoupon'
  24117. "500":
  24118. description: Internal Server Error
  24119. schema:
  24120. $ref: '#/definitions/app.Response'
  24121. security:
  24122. - ApiKeyAuth: []
  24123. summary: 已使用优惠卷查询
  24124. tags:
  24125. - 定制【海商报业】
  24126. /HSBY/QueryProvincesAndCities:
  24127. get:
  24128. description: 查询结果只包括二级市场商品已关连的省市信息。
  24129. parameters:
  24130. - description: 省ID
  24131. in: query
  24132. name: provinceID
  24133. type: integer
  24134. produces:
  24135. - application/json
  24136. responses:
  24137. "200":
  24138. description: OK
  24139. schema:
  24140. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24141. "500":
  24142. description: Internal Server Error
  24143. schema:
  24144. $ref: '#/definitions/app.Response'
  24145. security:
  24146. - ApiKeyAuth: []
  24147. summary: 查询省市信息(不包括区)
  24148. tags:
  24149. - 定制【海商报业】
  24150. /HSBY/SetHsbyMyPackagesStatus:
  24151. post:
  24152. parameters:
  24153. - description: 提货单号
  24154. in: query
  24155. name: takeOrderID
  24156. required: true
  24157. type: string
  24158. - description: 资金账号
  24159. in: query
  24160. name: accountID
  24161. required: true
  24162. type: integer
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. $ref: '#/definitions/app.Response'
  24170. "500":
  24171. description: Internal Server Error
  24172. schema:
  24173. $ref: '#/definitions/app.Response'
  24174. security:
  24175. - ApiKeyAuth: []
  24176. summary: 设置我的包裹已收货状态
  24177. tags:
  24178. - 定制【海商报业】
  24179. /Market/GetAllExExchanges:
  24180. get:
  24181. produces:
  24182. - application/json
  24183. responses:
  24184. "200":
  24185. description: OK
  24186. schema:
  24187. $ref: '#/definitions/models.Goods'
  24188. "500":
  24189. description: Internal Server Error
  24190. schema:
  24191. $ref: '#/definitions/app.Response'
  24192. security:
  24193. - ApiKeyAuth: []
  24194. summary: 获取所有外部交易所信息
  24195. tags:
  24196. - 通用市场
  24197. /Market/QueryGoodsesByLoginID:
  24198. get:
  24199. parameters:
  24200. - description: 登录账号
  24201. in: query
  24202. name: loginID
  24203. required: true
  24204. type: integer
  24205. - description: 市场ID列表,格式:1,2,3
  24206. in: query
  24207. name: marketIDs
  24208. type: string
  24209. produces:
  24210. - application/json
  24211. responses:
  24212. "200":
  24213. description: OK
  24214. schema:
  24215. $ref: '#/definitions/models.Goods'
  24216. "500":
  24217. description: Internal Server Error
  24218. schema:
  24219. $ref: '#/definitions/app.Response'
  24220. security:
  24221. - ApiKeyAuth: []
  24222. summary: 获取登录账号有权限的商品信息
  24223. tags:
  24224. - 通用市场
  24225. /Market/QueryMarketRun:
  24226. get:
  24227. parameters:
  24228. - description: 市场ID,不传返回所有
  24229. in: query
  24230. name: marketID
  24231. type: integer
  24232. produces:
  24233. - application/json
  24234. responses:
  24235. "200":
  24236. description: OK
  24237. schema:
  24238. $ref: '#/definitions/models.Marketrun'
  24239. "500":
  24240. description: Internal Server Error
  24241. schema:
  24242. $ref: '#/definitions/app.Response'
  24243. security:
  24244. - ApiKeyAuth: []
  24245. summary: 查询市场运行信息
  24246. tags:
  24247. - 通用市场
  24248. /Market/QueryMarketsByLoginID:
  24249. get:
  24250. parameters:
  24251. - description: 登录账号
  24252. in: query
  24253. name: loginID
  24254. required: true
  24255. type: integer
  24256. produces:
  24257. - application/json
  24258. responses:
  24259. "200":
  24260. description: OK
  24261. schema:
  24262. $ref: '#/definitions/models.Market'
  24263. "500":
  24264. description: Internal Server Error
  24265. schema:
  24266. $ref: '#/definitions/app.Response'
  24267. security:
  24268. - ApiKeyAuth: []
  24269. summary: 获取登录账号有权限的市场信息
  24270. tags:
  24271. - 通用市场
  24272. /Order/QueryHisTradeDetail:
  24273. get:
  24274. parameters:
  24275. - description: 资金账户 - 格式:1,2,3
  24276. in: query
  24277. name: accountID
  24278. required: true
  24279. type: string
  24280. - description: 成交单号
  24281. in: query
  24282. name: tradeID
  24283. type: integer
  24284. - description: 委托单号
  24285. in: query
  24286. name: orderID
  24287. type: integer
  24288. - description: 商品ID
  24289. in: query
  24290. name: goodsID
  24291. type: integer
  24292. - description: 交易模式 - 格式:1,2,3
  24293. in: query
  24294. name: tradeMode
  24295. type: string
  24296. - description: 委托单据类型
  24297. in: query
  24298. name: buildType
  24299. type: integer
  24300. - description: 成交类别 - 格式:1,2,3
  24301. in: query
  24302. name: tradeType
  24303. type: string
  24304. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24305. in: query
  24306. name: startDate
  24307. type: string
  24308. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24309. in: query
  24310. name: endDate
  24311. type: string
  24312. produces:
  24313. - application/json
  24314. responses:
  24315. "200":
  24316. description: OK
  24317. schema:
  24318. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24319. "500":
  24320. description: Internal Server Error
  24321. schema:
  24322. $ref: '#/definitions/app.Response'
  24323. security:
  24324. - ApiKeyAuth: []
  24325. summary: 历史成交单查询(合约市场)
  24326. tags:
  24327. - 通用单据
  24328. /Order/QueryHisTradeOrderDetail:
  24329. get:
  24330. parameters:
  24331. - description: 资金账户 - 格式:1,2,3
  24332. in: query
  24333. name: accountID
  24334. required: true
  24335. type: string
  24336. - description: 交易模式 - 格式:1,2,3
  24337. in: query
  24338. name: tradeMode
  24339. type: string
  24340. - description: 委托状态 - 格式:1,2,3
  24341. in: query
  24342. name: orderStatus
  24343. type: string
  24344. - description: 委托单号
  24345. in: query
  24346. name: orderID
  24347. type: integer
  24348. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24349. in: query
  24350. name: startDate
  24351. type: string
  24352. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24353. in: query
  24354. name: endDate
  24355. type: string
  24356. produces:
  24357. - application/json
  24358. responses:
  24359. "200":
  24360. description: OK
  24361. schema:
  24362. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24363. "500":
  24364. description: Internal Server Error
  24365. schema:
  24366. $ref: '#/definitions/app.Response'
  24367. security:
  24368. - ApiKeyAuth: []
  24369. summary: 历史委托单查询请求(合约市场)
  24370. tags:
  24371. - 通用单据
  24372. /Order/QueryTradeDetail:
  24373. get:
  24374. parameters:
  24375. - description: 资金账户 - 格式:1,2,3
  24376. in: query
  24377. name: accountID
  24378. required: true
  24379. type: string
  24380. - description: 成交单号
  24381. in: query
  24382. name: tradeID
  24383. type: integer
  24384. - description: 委托单号
  24385. in: query
  24386. name: orderID
  24387. type: integer
  24388. - description: 交易模式 - 格式:1,2,3
  24389. in: query
  24390. name: tradeMode
  24391. type: string
  24392. - description: 委托单据类型
  24393. in: query
  24394. name: buildType
  24395. type: integer
  24396. - description: 成交类别 - 格式:1,2,3
  24397. in: query
  24398. name: tradeType
  24399. type: string
  24400. - description: 商品ID
  24401. in: query
  24402. name: goodsID
  24403. type: integer
  24404. produces:
  24405. - application/json
  24406. responses:
  24407. "200":
  24408. description: OK
  24409. schema:
  24410. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24411. "500":
  24412. description: Internal Server Error
  24413. schema:
  24414. $ref: '#/definitions/app.Response'
  24415. security:
  24416. - ApiKeyAuth: []
  24417. summary: 成交单查询(合约市场)
  24418. tags:
  24419. - 通用单据
  24420. /Order/QueryTradeHolderDetail:
  24421. get:
  24422. parameters:
  24423. - description: 用户id
  24424. in: query
  24425. name: userid
  24426. type: integer
  24427. - description: 资金账号, 格式 1,2,3
  24428. in: query
  24429. name: accids
  24430. type: string
  24431. - description: 交易模式, 格式 1,2,3
  24432. in: query
  24433. name: trademodes
  24434. type: string
  24435. - description: 市场id, 格式 1,2,3
  24436. in: query
  24437. name: marketids
  24438. type: string
  24439. - description: 商品id
  24440. in: query
  24441. name: goodsid
  24442. type: integer
  24443. - description: 买卖方向 0-买 1-卖
  24444. in: query
  24445. name: buyorsell
  24446. type: integer
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. items:
  24454. $ref: '#/definitions/models.TradeHolderDetail'
  24455. type: array
  24456. "500":
  24457. description: Internal Server Error
  24458. schema:
  24459. $ref: '#/definitions/app.Response'
  24460. security:
  24461. - ApiKeyAuth: []
  24462. summary: 查询持仓明细
  24463. tags:
  24464. - 通用单据
  24465. /Order/QueryTradeOrderDetail:
  24466. get:
  24467. parameters:
  24468. - description: 资金账户 - 格式:1,2,3
  24469. in: query
  24470. name: accountID
  24471. required: true
  24472. type: string
  24473. - description: 交易模式 - 格式:1,2,3
  24474. in: query
  24475. name: tradeMode
  24476. type: string
  24477. - description: 委托状态 - 格式:1,2,3
  24478. in: query
  24479. name: orderStatus
  24480. type: string
  24481. - description: 委托单号
  24482. in: query
  24483. name: orderID
  24484. type: integer
  24485. produces:
  24486. - application/json
  24487. responses:
  24488. "200":
  24489. description: OK
  24490. schema:
  24491. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24492. "500":
  24493. description: Internal Server Error
  24494. schema:
  24495. $ref: '#/definitions/app.Response'
  24496. security:
  24497. - ApiKeyAuth: []
  24498. summary: 委托单查询请求(合约市场)
  24499. tags:
  24500. - 通用单据
  24501. /Order/QueryTradePosition:
  24502. get:
  24503. parameters:
  24504. - description: 资金账户 - 格式:1,2,3
  24505. in: query
  24506. name: accountID
  24507. required: true
  24508. type: string
  24509. - description: 交易模式 - 格式:1,2,3
  24510. in: query
  24511. name: tradeMode
  24512. type: string
  24513. produces:
  24514. - application/json
  24515. responses:
  24516. "200":
  24517. description: OK
  24518. schema:
  24519. $ref: '#/definitions/order.QueryTradePositionRsp'
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 持仓汇总查询(合约市场)
  24527. tags:
  24528. - 通用单据
  24529. /Qhj/QueryAccountInOutApply:
  24530. get:
  24531. parameters:
  24532. - description: 用户ID
  24533. in: query
  24534. name: userid
  24535. required: true
  24536. type: integer
  24537. - description: 申请起始日期(格式yyyymmdd)
  24538. in: query
  24539. name: begindate
  24540. type: string
  24541. - description: 申请截止日期(格式yyyymmdd)
  24542. in: query
  24543. name: enddate
  24544. type: string
  24545. - description: 模糊搜索名称
  24546. in: query
  24547. name: likename
  24548. type: string
  24549. produces:
  24550. - application/json
  24551. responses:
  24552. "200":
  24553. description: OK
  24554. schema:
  24555. items:
  24556. $ref: '#/definitions/models.QhjAccountOutInApply'
  24557. type: array
  24558. "500":
  24559. description: Internal Server Error
  24560. schema:
  24561. $ref: '#/definitions/app.Response'
  24562. security:
  24563. - ApiKeyAuth: []
  24564. summary: 查询充值提现
  24565. tags:
  24566. - 大连千海金
  24567. /Qhj/QueryAreaFinanceConfig:
  24568. get:
  24569. parameters:
  24570. - description: 机构用户ID 其他做市关系,都设置为 1
  24571. in: query
  24572. name: userid
  24573. type: integer
  24574. produces:
  24575. - application/json
  24576. responses:
  24577. "200":
  24578. description: OK
  24579. schema:
  24580. items:
  24581. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24582. type: array
  24583. "500":
  24584. description: Internal Server Error
  24585. schema:
  24586. $ref: '#/definitions/app.Response'
  24587. security:
  24588. - ApiKeyAuth: []
  24589. summary: 查询企业配置表
  24590. tags:
  24591. - 大连千海金
  24592. /Qhj/QueryBankAccountSign:
  24593. get:
  24594. parameters:
  24595. - description: 用户ID
  24596. in: query
  24597. name: userid
  24598. required: true
  24599. type: integer
  24600. produces:
  24601. - application/json
  24602. responses:
  24603. "200":
  24604. description: OK
  24605. schema:
  24606. items:
  24607. $ref: '#/definitions/models.QhjBankAccountSign'
  24608. type: array
  24609. "500":
  24610. description: Internal Server Error
  24611. schema:
  24612. $ref: '#/definitions/app.Response'
  24613. security:
  24614. - ApiKeyAuth: []
  24615. summary: 查询签约银行信息(提现账户管理)
  24616. tags:
  24617. - 大连千海金
  24618. /Qhj/QueryBankInfo:
  24619. get:
  24620. produces:
  24621. - application/json
  24622. responses:
  24623. "200":
  24624. description: OK
  24625. schema:
  24626. items:
  24627. $ref: '#/definitions/models.QhjBankInfo'
  24628. type: array
  24629. "500":
  24630. description: Internal Server Error
  24631. schema:
  24632. $ref: '#/definitions/app.Response'
  24633. security:
  24634. - ApiKeyAuth: []
  24635. summary: 查询开户行
  24636. tags:
  24637. - 大连千海金
  24638. /Qhj/QueryBrokerApply:
  24639. get:
  24640. parameters:
  24641. - description: 所属机构ID
  24642. in: query
  24643. name: userid
  24644. type: integer
  24645. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24646. in: query
  24647. name: filterstatus
  24648. type: string
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/models.QhjBrokerApply'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询经纪人申请
  24665. tags:
  24666. - 大连千海金
  24667. /Qhj/QueryBrokerApplyEx:
  24668. get:
  24669. parameters:
  24670. - description: 所属机构ID
  24671. in: query
  24672. name: userid
  24673. type: integer
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. items:
  24681. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24682. type: array
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询经纪人信息和申请记录
  24690. tags:
  24691. - 大连千海金
  24692. /Qhj/QueryBrokerRewardLog:
  24693. get:
  24694. parameters:
  24695. - description: 用户ID
  24696. in: query
  24697. name: userid
  24698. required: true
  24699. type: integer
  24700. - description: 开始交易日(yyyymmdd)
  24701. in: query
  24702. name: begindate
  24703. type: string
  24704. - description: 结束交易日(yyyymmdd)
  24705. in: query
  24706. name: enddate
  24707. type: string
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询奖励流水(我的奖励)
  24724. tags:
  24725. - 大连千海金
  24726. /Qhj/QueryContract:
  24727. get:
  24728. parameters:
  24729. - description: 用户ID
  24730. in: query
  24731. name: userid
  24732. type: integer
  24733. - description: scf合同id
  24734. in: query
  24735. name: scfcontractid
  24736. type: integer
  24737. produces:
  24738. - application/json
  24739. responses:
  24740. "200":
  24741. description: OK
  24742. schema:
  24743. items:
  24744. $ref: '#/definitions/models.QhjContract'
  24745. type: array
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询融资明细(合同)
  24753. tags:
  24754. - 大连千海金
  24755. /Qhj/QueryContractLog:
  24756. get:
  24757. parameters:
  24758. - description: scf合同id
  24759. in: query
  24760. name: scfcontractid
  24761. required: true
  24762. type: integer
  24763. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24764. in: query
  24765. name: amounttype
  24766. type: string
  24767. produces:
  24768. - application/json
  24769. responses:
  24770. "200":
  24771. description: OK
  24772. schema:
  24773. items:
  24774. $ref: '#/definitions/models.QhjContractLog'
  24775. type: array
  24776. "500":
  24777. description: Internal Server Error
  24778. schema:
  24779. $ref: '#/definitions/app.Response'
  24780. security:
  24781. - ApiKeyAuth: []
  24782. summary: 查询融资明细流水(融资明细详情页中的流水)
  24783. tags:
  24784. - 大连千海金
  24785. /Qhj/QueryCusBankSignBank:
  24786. get:
  24787. produces:
  24788. - application/json
  24789. responses:
  24790. "200":
  24791. description: OK
  24792. schema:
  24793. items:
  24794. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24795. type: array
  24796. "500":
  24797. description: Internal Server Error
  24798. schema:
  24799. $ref: '#/definitions/app.Response'
  24800. security:
  24801. - ApiKeyAuth: []
  24802. summary: 查询托管银行
  24803. tags:
  24804. - 大连千海金
  24805. /Qhj/QueryCustomerInfo:
  24806. get:
  24807. parameters:
  24808. - description: 用户ID
  24809. in: query
  24810. name: userid
  24811. required: true
  24812. type: integer
  24813. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24814. in: query
  24815. name: querytype
  24816. required: true
  24817. type: integer
  24818. - description: 客户类型 1-个人 2-企业
  24819. in: query
  24820. name: userinfotype
  24821. type: integer
  24822. - description: 客户名称(模糊匹配)
  24823. in: query
  24824. name: customername
  24825. type: string
  24826. - description: 昵称(模糊匹配)
  24827. in: query
  24828. name: nickname
  24829. type: string
  24830. - description: 是否包含子级 1-包含
  24831. in: query
  24832. name: includesub
  24833. type: integer
  24834. produces:
  24835. - application/json
  24836. responses:
  24837. "200":
  24838. description: OK
  24839. schema:
  24840. items:
  24841. $ref: '#/definitions/models.QhjCustomer'
  24842. type: array
  24843. "500":
  24844. description: Internal Server Error
  24845. schema:
  24846. $ref: '#/definitions/app.Response'
  24847. security:
  24848. - ApiKeyAuth: []
  24849. summary: 查询客户资料
  24850. tags:
  24851. - 大连千海金
  24852. /Qhj/QueryGoodsEx:
  24853. get:
  24854. parameters:
  24855. - description: 商品id
  24856. in: query
  24857. name: goodsid
  24858. type: integer
  24859. produces:
  24860. - application/json
  24861. responses:
  24862. "200":
  24863. description: OK
  24864. schema:
  24865. items:
  24866. $ref: '#/definitions/models.Qhjgoodsex'
  24867. type: array
  24868. "500":
  24869. description: Internal Server Error
  24870. schema:
  24871. $ref: '#/definitions/app.Response'
  24872. security:
  24873. - ApiKeyAuth: []
  24874. summary: 交易商品扩展表
  24875. tags:
  24876. - 大连千海金
  24877. /Qhj/QueryMyTeam:
  24878. get:
  24879. parameters:
  24880. - description: 用户ID
  24881. in: query
  24882. name: userid
  24883. required: true
  24884. type: integer
  24885. produces:
  24886. - application/json
  24887. responses:
  24888. "200":
  24889. description: OK
  24890. schema:
  24891. items:
  24892. $ref: '#/definitions/models.QhjMyTeamEx'
  24893. type: array
  24894. "500":
  24895. description: Internal Server Error
  24896. schema:
  24897. $ref: '#/definitions/app.Response'
  24898. security:
  24899. - ApiKeyAuth: []
  24900. summary: 查询我的团队
  24901. tags:
  24902. - 大连千海金
  24903. /Qhj/QueryMyTeamOrder:
  24904. get:
  24905. parameters:
  24906. - description: 页码
  24907. in: query
  24908. name: page
  24909. type: integer
  24910. - description: 每页条数
  24911. in: query
  24912. name: pagesize
  24913. type: integer
  24914. - description: 用户ID
  24915. in: query
  24916. name: userid
  24917. required: true
  24918. type: integer
  24919. - description: 交易模式
  24920. in: query
  24921. name: trademode
  24922. type: integer
  24923. - description: 名称(模糊搜索账户)
  24924. in: query
  24925. name: filtername
  24926. type: string
  24927. produces:
  24928. - application/json
  24929. responses:
  24930. "200":
  24931. description: OK
  24932. schema:
  24933. items:
  24934. $ref: '#/definitions/models.QhjTeamOrder'
  24935. type: array
  24936. "500":
  24937. description: Internal Server Error
  24938. schema:
  24939. $ref: '#/definitions/app.Response'
  24940. security:
  24941. - ApiKeyAuth: []
  24942. summary: 查询团队订单(我的团队/团队订单)
  24943. tags:
  24944. - 大连千海金
  24945. /Qhj/QueryParentAreaList:
  24946. get:
  24947. parameters:
  24948. - description: 用户ID
  24949. in: query
  24950. name: userid
  24951. required: true
  24952. type: integer
  24953. produces:
  24954. - application/json
  24955. responses:
  24956. "200":
  24957. description: OK
  24958. schema:
  24959. items:
  24960. $ref: '#/definitions/models.QhjParentAreaList'
  24961. type: array
  24962. "500":
  24963. description: Internal Server Error
  24964. schema:
  24965. $ref: '#/definitions/app.Response'
  24966. security:
  24967. - ApiKeyAuth: []
  24968. summary: 查询所属机构列表
  24969. tags:
  24970. - 大连千海金
  24971. /Qhj/QueryPayOrder:
  24972. get:
  24973. parameters:
  24974. - description: 资金账号id
  24975. in: query
  24976. name: accountid
  24977. required: true
  24978. type: integer
  24979. - description: 成交单号
  24980. in: query
  24981. name: tradeid
  24982. type: integer
  24983. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24984. in: query
  24985. name: payflag
  24986. type: string
  24987. produces:
  24988. - application/json
  24989. responses:
  24990. "200":
  24991. description: OK
  24992. schema:
  24993. items:
  24994. $ref: '#/definitions/models.QhjPayOrder'
  24995. type: array
  24996. "500":
  24997. description: Internal Server Error
  24998. schema:
  24999. $ref: '#/definitions/app.Response'
  25000. security:
  25001. - ApiKeyAuth: []
  25002. summary: 查询待付款单据
  25003. tags:
  25004. - 大连千海金
  25005. /Qhj/QueryPickArea:
  25006. get:
  25007. parameters:
  25008. - description: 用户ID
  25009. in: query
  25010. name: userid
  25011. type: integer
  25012. produces:
  25013. - application/json
  25014. responses:
  25015. "200":
  25016. description: OK
  25017. schema:
  25018. items:
  25019. $ref: '#/definitions/models.QhjPickArea'
  25020. type: array
  25021. "500":
  25022. description: Internal Server Error
  25023. schema:
  25024. $ref: '#/definitions/app.Response'
  25025. security:
  25026. - ApiKeyAuth: []
  25027. summary: 查询提货门店
  25028. tags:
  25029. - 大连千海金
  25030. /Qhj/QueryPickGoods:
  25031. get:
  25032. parameters:
  25033. - description: 交易商品id
  25034. in: query
  25035. name: goodsid
  25036. required: true
  25037. type: integer
  25038. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25039. in: query
  25040. name: status
  25041. type: string
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. items:
  25049. $ref: '#/definitions/models.QhjPickGoods'
  25050. type: array
  25051. "500":
  25052. description: Internal Server Error
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. security:
  25056. - ApiKeyAuth: []
  25057. summary: 查询提货商品
  25058. tags:
  25059. - 大连千海金
  25060. /Qhj/QueryRSTriggerLog:
  25061. get:
  25062. parameters:
  25063. - description: 用户ID
  25064. in: query
  25065. name: userid
  25066. type: integer
  25067. - description: 定投策略id
  25068. in: query
  25069. name: regularlystrategyid
  25070. type: integer
  25071. - description: 商品id
  25072. in: query
  25073. name: goodsid
  25074. type: integer
  25075. - description: 开始交易日(yyyymmdd)
  25076. in: query
  25077. name: begindate
  25078. type: string
  25079. - description: 结束交易日(yyyymmdd)
  25080. in: query
  25081. name: enddate
  25082. type: string
  25083. - description: 名称(模糊搜索账户)
  25084. in: query
  25085. name: filtername
  25086. type: string
  25087. produces:
  25088. - application/json
  25089. responses:
  25090. "200":
  25091. description: OK
  25092. schema:
  25093. items:
  25094. $ref: '#/definitions/models.QhjRSTriggerLog'
  25095. type: array
  25096. "500":
  25097. description: Internal Server Error
  25098. schema:
  25099. $ref: '#/definitions/app.Response'
  25100. security:
  25101. - ApiKeyAuth: []
  25102. summary: 查询定投记录(定投管理/详情/定投记录)
  25103. tags:
  25104. - 大连千海金
  25105. /Qhj/QueryRStrategy:
  25106. get:
  25107. parameters:
  25108. - description: 用户ID
  25109. in: query
  25110. name: userid
  25111. type: integer
  25112. - description: 商品id
  25113. in: query
  25114. name: goodsid
  25115. type: integer
  25116. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25117. in: query
  25118. name: status
  25119. type: string
  25120. - description: 名称(模糊搜索账户)
  25121. in: query
  25122. name: filtername
  25123. type: string
  25124. produces:
  25125. - application/json
  25126. responses:
  25127. "200":
  25128. description: OK
  25129. schema:
  25130. items:
  25131. $ref: '#/definitions/models.QhjRStrategy'
  25132. type: array
  25133. "500":
  25134. description: Internal Server Error
  25135. schema:
  25136. $ref: '#/definitions/app.Response'
  25137. security:
  25138. - ApiKeyAuth: []
  25139. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25140. tags:
  25141. - 大连千海金
  25142. /Qhj/QueryReckonPriceLog:
  25143. get:
  25144. parameters:
  25145. - description: 商品ID
  25146. in: query
  25147. name: goodsid
  25148. type: integer
  25149. - description: 交易日 格式(yyyymmdd)
  25150. in: query
  25151. name: tradedate
  25152. type: string
  25153. produces:
  25154. - application/json
  25155. responses:
  25156. "200":
  25157. description: OK
  25158. schema:
  25159. items:
  25160. $ref: '#/definitions/models.QhjReckonPriceLog'
  25161. type: array
  25162. "500":
  25163. description: Internal Server Error
  25164. schema:
  25165. $ref: '#/definitions/app.Response'
  25166. security:
  25167. - ApiKeyAuth: []
  25168. summary: 查询定投价(结算价)
  25169. tags:
  25170. - 大连千海金
  25171. /Qhj/QueryScoreLog:
  25172. get:
  25173. parameters:
  25174. - description: 用户ID
  25175. in: query
  25176. name: userid
  25177. required: true
  25178. type: integer
  25179. - description: 开始交易日(yyyymmdd)
  25180. in: query
  25181. name: begindate
  25182. type: string
  25183. - description: 结束交易日(yyyymmdd)
  25184. in: query
  25185. name: enddate
  25186. type: string
  25187. - description: 最近多少条
  25188. in: query
  25189. name: lastnum
  25190. type: integer
  25191. produces:
  25192. - application/json
  25193. responses:
  25194. "200":
  25195. description: OK
  25196. schema:
  25197. items:
  25198. $ref: '#/definitions/models.QhjScoreLog'
  25199. type: array
  25200. "500":
  25201. description: Internal Server Error
  25202. schema:
  25203. $ref: '#/definitions/app.Response'
  25204. security:
  25205. - ApiKeyAuth: []
  25206. summary: 查询积分流水(我的积分)
  25207. tags:
  25208. - 大连千海金
  25209. /Qhj/QuerySiteColumnDetail:
  25210. get:
  25211. parameters:
  25212. - description: 用户ID
  25213. in: query
  25214. name: userid
  25215. required: true
  25216. type: integer
  25217. produces:
  25218. - application/json
  25219. responses:
  25220. "200":
  25221. description: OK
  25222. schema:
  25223. items:
  25224. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25225. type: array
  25226. "500":
  25227. description: Internal Server Error
  25228. schema:
  25229. $ref: '#/definitions/app.Response'
  25230. security:
  25231. - ApiKeyAuth: []
  25232. summary: 查询资讯
  25233. tags:
  25234. - 大连千海金
  25235. /Qhj/QueryTradeGoodsPickup:
  25236. get:
  25237. parameters:
  25238. - description: 用户ID
  25239. in: query
  25240. name: userid
  25241. required: true
  25242. type: integer
  25243. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25244. 7:已拒绝 8:已撤销
  25245. in: query
  25246. name: takeorderstatus
  25247. type: integer
  25248. produces:
  25249. - application/json
  25250. responses:
  25251. "200":
  25252. description: OK
  25253. schema:
  25254. items:
  25255. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25256. type: array
  25257. "500":
  25258. description: Internal Server Error
  25259. schema:
  25260. $ref: '#/definitions/app.Response'
  25261. security:
  25262. - ApiKeyAuth: []
  25263. summary: 查询提货
  25264. tags:
  25265. - 大连千海金
  25266. /Qhj/QueryUserCollectConfig:
  25267. get:
  25268. parameters:
  25269. - description: 用户ID
  25270. in: query
  25271. name: userid
  25272. required: true
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.UserCollectConfig'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询提现账户设置
  25290. tags:
  25291. - 大连千海金
  25292. /Qhj/QueryUserReceiveInfo:
  25293. get:
  25294. parameters:
  25295. - description: 用户ID
  25296. in: query
  25297. name: userid
  25298. required: true
  25299. type: integer
  25300. produces:
  25301. - application/json
  25302. responses:
  25303. "200":
  25304. description: OK
  25305. schema:
  25306. items:
  25307. $ref: '#/definitions/models.UserReceiveInfo'
  25308. type: array
  25309. "500":
  25310. description: Internal Server Error
  25311. schema:
  25312. $ref: '#/definitions/app.Response'
  25313. security:
  25314. - ApiKeyAuth: []
  25315. summary: 查询收货地址信息
  25316. tags:
  25317. - 大连千海金
  25318. /QhjMgr/QueryAccountInOutApply:
  25319. get:
  25320. parameters:
  25321. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25322. in: query
  25323. name: querytype
  25324. required: true
  25325. type: integer
  25326. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25327. in: query
  25328. name: applystatus
  25329. type: integer
  25330. - description: 申请起始日期(格式yyyymmdd)
  25331. in: query
  25332. name: begindate
  25333. type: string
  25334. - description: 申请截止日期(格式yyyymmdd)
  25335. in: query
  25336. name: enddate
  25337. type: string
  25338. - description: 模糊搜索名称
  25339. in: query
  25340. name: likename
  25341. type: string
  25342. produces:
  25343. - application/json
  25344. responses:
  25345. "200":
  25346. description: OK
  25347. schema:
  25348. items:
  25349. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25350. type: array
  25351. "500":
  25352. description: Internal Server Error
  25353. schema:
  25354. $ref: '#/definitions/app.Response'
  25355. security:
  25356. - ApiKeyAuth: []
  25357. summary: 查询充值提现
  25358. tags:
  25359. - 大连千海金(PCWeb)
  25360. /QhjMgr/QueryBrokerApply:
  25361. get:
  25362. parameters:
  25363. - description: 所属机构ID
  25364. in: query
  25365. name: userid
  25366. type: integer
  25367. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25368. in: query
  25369. name: filterstatus
  25370. type: string
  25371. - description: 名称(模糊匹配)
  25372. in: query
  25373. name: filtername
  25374. type: string
  25375. - description: 是否包含子级 1-包含
  25376. in: query
  25377. name: includesub
  25378. type: integer
  25379. produces:
  25380. - application/json
  25381. responses:
  25382. "200":
  25383. description: OK
  25384. schema:
  25385. items:
  25386. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25387. type: array
  25388. "500":
  25389. description: Internal Server Error
  25390. schema:
  25391. $ref: '#/definitions/app.Response'
  25392. security:
  25393. - ApiKeyAuth: []
  25394. summary: 查询经纪人申请
  25395. tags:
  25396. - 大连千海金(PCWeb)
  25397. /QhjMgr/QueryBrokerRewardReport:
  25398. get:
  25399. parameters:
  25400. - description: 所属机构ID
  25401. in: query
  25402. name: userid
  25403. required: true
  25404. type: integer
  25405. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25406. in: query
  25407. name: cycletype
  25408. required: true
  25409. type: integer
  25410. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25411. in: query
  25412. name: cycletime
  25413. required: true
  25414. type: string
  25415. - description: 名称(模糊匹配)
  25416. in: query
  25417. name: filtername
  25418. type: string
  25419. - description: 是否包含子级 1-包含
  25420. in: query
  25421. name: includesub
  25422. type: integer
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25431. type: array
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 查询经纪人奖励报表(废弃)
  25439. tags:
  25440. - 大连千海金(PCWeb)
  25441. /QhjMgr/QueryContract:
  25442. get:
  25443. parameters:
  25444. - description: 用户ID
  25445. in: query
  25446. name: userid
  25447. type: integer
  25448. - description: 商品id
  25449. in: query
  25450. name: goodsid
  25451. type: integer
  25452. - description: 名称(模糊搜索账户)
  25453. in: query
  25454. name: filtername
  25455. type: string
  25456. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25457. in: query
  25458. name: risklevel
  25459. type: string
  25460. - description: 开始交易日(yyyymmdd)
  25461. in: query
  25462. name: begindate
  25463. type: string
  25464. - description: 结束交易日(yyyymmdd)
  25465. in: query
  25466. name: enddate
  25467. type: string
  25468. produces:
  25469. - application/json
  25470. responses:
  25471. "200":
  25472. description: OK
  25473. schema:
  25474. items:
  25475. $ref: '#/definitions/models.QhjMgrContract'
  25476. type: array
  25477. "500":
  25478. description: Internal Server Error
  25479. schema:
  25480. $ref: '#/definitions/app.Response'
  25481. security:
  25482. - ApiKeyAuth: []
  25483. summary: 查询融资信息(合同)
  25484. tags:
  25485. - 大连千海金(PCWeb)
  25486. /QhjMgr/QueryCustomerInfo:
  25487. get:
  25488. parameters:
  25489. - description: 用户ID
  25490. in: query
  25491. name: userid
  25492. required: true
  25493. type: integer
  25494. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25495. in: query
  25496. name: querytype
  25497. required: true
  25498. type: integer
  25499. - description: 客户类型 1-个人 2-企业
  25500. in: query
  25501. name: userinfotype
  25502. type: integer
  25503. - description: 客户名称(模糊匹配)
  25504. in: query
  25505. name: customername
  25506. type: string
  25507. - description: 昵称(模糊匹配)
  25508. in: query
  25509. name: nickname
  25510. type: string
  25511. - description: 所属客户经理(模糊匹配)
  25512. in: query
  25513. name: brokername
  25514. type: string
  25515. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25516. 如0503 -5月3日)
  25517. in: query
  25518. name: birthday
  25519. type: string
  25520. - description: 是否包含子级 1-包含
  25521. in: query
  25522. name: includesub
  25523. type: integer
  25524. produces:
  25525. - application/json
  25526. responses:
  25527. "200":
  25528. description: OK
  25529. schema:
  25530. items:
  25531. $ref: '#/definitions/models.QhjMgrCustomer'
  25532. type: array
  25533. "500":
  25534. description: Internal Server Error
  25535. schema:
  25536. $ref: '#/definitions/app.Response'
  25537. security:
  25538. - ApiKeyAuth: []
  25539. summary: 查询客户资料
  25540. tags:
  25541. - 大连千海金(PCWeb)
  25542. /QhjMgr/QueryPickGoods:
  25543. get:
  25544. parameters:
  25545. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25546. in: query
  25547. name: status
  25548. type: string
  25549. produces:
  25550. - application/json
  25551. responses:
  25552. "200":
  25553. description: OK
  25554. schema:
  25555. items:
  25556. $ref: '#/definitions/models.QhjMgrPickGoods'
  25557. type: array
  25558. "500":
  25559. description: Internal Server Error
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. security:
  25563. - ApiKeyAuth: []
  25564. summary: 查询提货商品
  25565. tags:
  25566. - 大连千海金(PCWeb)
  25567. /QhjMgr/QuerySubArea:
  25568. get:
  25569. parameters:
  25570. - description: 用户ID
  25571. in: query
  25572. name: userid
  25573. required: true
  25574. type: integer
  25575. produces:
  25576. - application/json
  25577. responses:
  25578. "200":
  25579. description: OK
  25580. schema:
  25581. items:
  25582. $ref: '#/definitions/models.QhjMgrSubArea'
  25583. type: array
  25584. "500":
  25585. description: Internal Server Error
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. security:
  25589. - ApiKeyAuth: []
  25590. summary: 查询子机构列表
  25591. tags:
  25592. - 大连千海金(PCWeb)
  25593. /QhjMgr/QueryTradeDetail:
  25594. get:
  25595. parameters:
  25596. - description: 用户ID
  25597. in: query
  25598. name: userid
  25599. required: true
  25600. type: integer
  25601. - description: 用户类型 1-个人 2-企业
  25602. in: query
  25603. name: userinfotype
  25604. type: integer
  25605. - description: 交易模式
  25606. in: query
  25607. name: trademode
  25608. type: integer
  25609. - description: 商品id
  25610. in: query
  25611. name: goodsid
  25612. type: integer
  25613. - description: 名称(模糊搜索账户)
  25614. in: query
  25615. name: filtername
  25616. type: string
  25617. - description: 开始交易日(yyyymmdd)
  25618. in: query
  25619. name: begindate
  25620. type: string
  25621. - description: 结束交易日(yyyymmdd)
  25622. in: query
  25623. name: enddate
  25624. type: string
  25625. - description: 是否包含子级 1-包含
  25626. in: query
  25627. name: includesub
  25628. type: integer
  25629. produces:
  25630. - application/json
  25631. responses:
  25632. "200":
  25633. description: OK
  25634. schema:
  25635. items:
  25636. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25637. type: array
  25638. "500":
  25639. description: Internal Server Error
  25640. schema:
  25641. $ref: '#/definitions/app.Response'
  25642. security:
  25643. - ApiKeyAuth: []
  25644. summary: 查询成交明细
  25645. tags:
  25646. - 大连千海金(PCWeb)
  25647. /QhjMgr/QueryTradeOrderDetail:
  25648. get:
  25649. parameters:
  25650. - description: 用户ID
  25651. in: query
  25652. name: userid
  25653. required: true
  25654. type: integer
  25655. - description: 用户类型 1-个人 2-企业
  25656. in: query
  25657. name: userinfotype
  25658. type: integer
  25659. - description: 交易模式
  25660. in: query
  25661. name: trademode
  25662. type: integer
  25663. - description: 商品id
  25664. in: query
  25665. name: goodsid
  25666. type: integer
  25667. - description: 名称(模糊搜索账户)
  25668. in: query
  25669. name: filtername
  25670. type: string
  25671. - description: 开始交易日(yyyymmdd)
  25672. in: query
  25673. name: begindate
  25674. type: string
  25675. - description: 结束交易日(yyyymmdd)
  25676. in: query
  25677. name: enddate
  25678. type: string
  25679. - description: 是否包含子级 1-包含
  25680. in: query
  25681. name: includesub
  25682. type: integer
  25683. produces:
  25684. - application/json
  25685. responses:
  25686. "200":
  25687. description: OK
  25688. schema:
  25689. items:
  25690. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25691. type: array
  25692. "500":
  25693. description: Internal Server Error
  25694. schema:
  25695. $ref: '#/definitions/app.Response'
  25696. security:
  25697. - ApiKeyAuth: []
  25698. summary: 查询委托明细
  25699. tags:
  25700. - 大连千海金(PCWeb)
  25701. /QhjMgr/QueryTradePayOrder:
  25702. get:
  25703. parameters:
  25704. - description: 用户ID
  25705. in: query
  25706. name: userid
  25707. required: true
  25708. type: integer
  25709. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25710. in: query
  25711. name: payflag
  25712. type: string
  25713. - description: 用户类型 1-个人 2-企业
  25714. in: query
  25715. name: userinfotype
  25716. type: integer
  25717. - description: 交易模式
  25718. in: query
  25719. name: trademode
  25720. type: integer
  25721. - description: 商品id
  25722. in: query
  25723. name: goodsid
  25724. type: integer
  25725. - description: 名称(模糊搜索账户)
  25726. in: query
  25727. name: filtername
  25728. type: string
  25729. - description: 开始交易日(yyyymmdd)
  25730. in: query
  25731. name: begindate
  25732. type: string
  25733. - description: 结束交易日(yyyymmdd)
  25734. in: query
  25735. name: enddate
  25736. type: string
  25737. - description: 是否包含子级 1-包含
  25738. in: query
  25739. name: includesub
  25740. type: integer
  25741. produces:
  25742. - application/json
  25743. responses:
  25744. "200":
  25745. description: OK
  25746. schema:
  25747. items:
  25748. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25749. type: array
  25750. "500":
  25751. description: Internal Server Error
  25752. schema:
  25753. $ref: '#/definitions/app.Response'
  25754. security:
  25755. - ApiKeyAuth: []
  25756. summary: 查询待付款单
  25757. tags:
  25758. - 大连千海金(PCWeb)
  25759. /QhjMgr/QueryTradePosition:
  25760. get:
  25761. parameters:
  25762. - description: 用户ID
  25763. in: query
  25764. name: userid
  25765. required: true
  25766. type: integer
  25767. - description: 用户类型 1-个人 2-企业
  25768. in: query
  25769. name: userinfotype
  25770. type: integer
  25771. - description: 交易模式
  25772. in: query
  25773. name: trademode
  25774. type: integer
  25775. - description: 商品id
  25776. in: query
  25777. name: goodsid
  25778. type: integer
  25779. - description: 名称(模糊搜索账户)
  25780. in: query
  25781. name: filtername
  25782. type: string
  25783. - description: 是否包含子级 1-包含
  25784. in: query
  25785. name: includesub
  25786. type: integer
  25787. produces:
  25788. - application/json
  25789. responses:
  25790. "200":
  25791. description: OK
  25792. schema:
  25793. items:
  25794. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25795. type: array
  25796. "500":
  25797. description: Internal Server Error
  25798. schema:
  25799. $ref: '#/definitions/app.Response'
  25800. security:
  25801. - ApiKeyAuth: []
  25802. summary: 查询持仓汇总
  25803. tags:
  25804. - 大连千海金(PCWeb)
  25805. /QhjSys/QueryAgreementChangeLog:
  25806. get:
  25807. parameters:
  25808. - description: 协议ID
  25809. in: query
  25810. name: agreementid
  25811. type: integer
  25812. - description: 协议版本号
  25813. in: query
  25814. name: agreementversion
  25815. type: integer
  25816. - description: 协议类型 - 1:注册 2:登录 3:交易
  25817. in: query
  25818. name: agreementtype
  25819. type: integer
  25820. - description: 协议编号(模糊匹配)
  25821. in: query
  25822. name: agreementno
  25823. type: string
  25824. - description: 协议名称(模糊匹配)
  25825. in: query
  25826. name: agreementname
  25827. type: string
  25828. produces:
  25829. - application/json
  25830. responses:
  25831. "200":
  25832. description: OK
  25833. schema:
  25834. items:
  25835. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25836. type: array
  25837. "500":
  25838. description: Internal Server Error
  25839. schema:
  25840. $ref: '#/definitions/app.Response'
  25841. security:
  25842. - ApiKeyAuth: []
  25843. summary: 查询协议配置变更流水
  25844. tags:
  25845. - 大连千海金(协议和签约信息)
  25846. /QhjSys/QueryAgreementConfig:
  25847. get:
  25848. parameters:
  25849. - description: 协议ID
  25850. in: query
  25851. name: agreementid
  25852. type: integer
  25853. - description: 协议版本号
  25854. in: query
  25855. name: agreementversion
  25856. type: integer
  25857. - description: 协议类型 - 1:注册 2:登录 3:交易
  25858. in: query
  25859. name: agreementtype
  25860. type: integer
  25861. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25862. in: query
  25863. name: isvalid
  25864. type: integer
  25865. - description: 协议编号(模糊匹配)
  25866. in: query
  25867. name: agreementno
  25868. type: string
  25869. - description: 协议名称(模糊匹配)
  25870. in: query
  25871. name: agreementname
  25872. type: string
  25873. produces:
  25874. - application/json
  25875. responses:
  25876. "200":
  25877. description: OK
  25878. schema:
  25879. items:
  25880. $ref: '#/definitions/models.QhjAgreementConfig'
  25881. type: array
  25882. "500":
  25883. description: Internal Server Error
  25884. schema:
  25885. $ref: '#/definitions/app.Response'
  25886. security:
  25887. - ApiKeyAuth: []
  25888. summary: 查询协议配置
  25889. tags:
  25890. - 大连千海金(协议和签约信息)
  25891. /QhjSys/QueryCustomerSignStatus:
  25892. get:
  25893. parameters:
  25894. - description: 客户ID
  25895. in: query
  25896. name: userid
  25897. type: integer
  25898. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25899. in: query
  25900. name: nodetype
  25901. type: integer
  25902. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25903. in: query
  25904. name: goodsid
  25905. type: integer
  25906. - description: 创建交易日(yyyyMMdd)
  25907. in: query
  25908. name: tradedate
  25909. type: string
  25910. - description: 用户名称(模糊匹配)
  25911. in: query
  25912. name: username
  25913. type: string
  25914. produces:
  25915. - application/json
  25916. responses:
  25917. "200":
  25918. description: OK
  25919. schema:
  25920. items:
  25921. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25922. type: array
  25923. "500":
  25924. description: Internal Server Error
  25925. schema:
  25926. $ref: '#/definitions/app.Response'
  25927. security:
  25928. - ApiKeyAuth: []
  25929. summary: 查询客户协议签约状态
  25930. tags:
  25931. - 大连千海金(协议和签约信息)
  25932. /QhjSys/QueryNodeAgreementConfig:
  25933. get:
  25934. parameters:
  25935. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25936. in: query
  25937. name: configid
  25938. type: integer
  25939. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25940. in: query
  25941. name: nodetype
  25942. type: integer
  25943. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25944. in: query
  25945. name: goodsid
  25946. type: integer
  25947. - description: 协议ID
  25948. in: query
  25949. name: agreementid
  25950. type: integer
  25951. - description: 协议类型 - 1:注册 2:登录 3:交易
  25952. in: query
  25953. name: agreementtype
  25954. type: integer
  25955. - description: 协议版本号
  25956. in: query
  25957. name: agreementversion
  25958. type: integer
  25959. - description: 协议编号(模糊匹配)
  25960. in: query
  25961. name: agreementno
  25962. type: string
  25963. - description: 协议名称(模糊匹配)
  25964. in: query
  25965. name: agreementname
  25966. type: string
  25967. produces:
  25968. - application/json
  25969. responses:
  25970. "200":
  25971. description: OK
  25972. schema:
  25973. items:
  25974. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25975. type: array
  25976. "500":
  25977. description: Internal Server Error
  25978. schema:
  25979. $ref: '#/definitions/app.Response'
  25980. security:
  25981. - ApiKeyAuth: []
  25982. summary: 查询协议节点配置
  25983. tags:
  25984. - 大连千海金(协议和签约信息)
  25985. /QhjSys/QueryQhjCustomerSignLog:
  25986. get:
  25987. parameters:
  25988. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25989. in: query
  25990. name: logid
  25991. type: integer
  25992. - description: 客户ID
  25993. in: query
  25994. name: userid
  25995. type: integer
  25996. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25997. in: query
  25998. name: nodetype
  25999. type: integer
  26000. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26001. in: query
  26002. name: goodsid
  26003. type: integer
  26004. - description: 协议ID
  26005. in: query
  26006. name: agreementid
  26007. type: integer
  26008. - description: 用户名称(模糊匹配)
  26009. in: query
  26010. name: username
  26011. type: string
  26012. - description: 协议编号(模糊匹配)
  26013. in: query
  26014. name: agreementno
  26015. type: string
  26016. - description: 协议名称(模糊匹配)
  26017. in: query
  26018. name: agreementname
  26019. type: string
  26020. produces:
  26021. - application/json
  26022. responses:
  26023. "200":
  26024. description: OK
  26025. schema:
  26026. items:
  26027. $ref: '#/definitions/models.QhjCustomerSignLog'
  26028. type: array
  26029. "500":
  26030. description: Internal Server Error
  26031. schema:
  26032. $ref: '#/definitions/app.Response'
  26033. security:
  26034. - ApiKeyAuth: []
  26035. summary: 查询客户协议签约流水
  26036. tags:
  26037. - 大连千海金(协议和签约信息)
  26038. /QhjSys/QueryUserNodeCfgAndStatus:
  26039. get:
  26040. parameters:
  26041. - description: 客户ID
  26042. in: query
  26043. name: userid
  26044. type: integer
  26045. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26046. in: query
  26047. name: configid
  26048. type: integer
  26049. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26050. in: query
  26051. name: nodetype
  26052. type: string
  26053. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26054. in: query
  26055. name: goodsid
  26056. type: integer
  26057. - description: 协议ID
  26058. in: query
  26059. name: agreementid
  26060. type: integer
  26061. - description: 协议类型 - 1:注册 2:登录 3:交易
  26062. in: query
  26063. name: agreementtype
  26064. type: integer
  26065. - description: 协议版本号
  26066. in: query
  26067. name: agreementversion
  26068. type: integer
  26069. - description: 协议编号(模糊匹配)
  26070. in: query
  26071. name: agreementno
  26072. type: string
  26073. - description: 协议名称(模糊匹配)
  26074. in: query
  26075. name: agreementname
  26076. type: string
  26077. produces:
  26078. - application/json
  26079. responses:
  26080. "200":
  26081. description: OK
  26082. schema:
  26083. items:
  26084. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26085. type: array
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. security:
  26091. - ApiKeyAuth: []
  26092. summary: 查询用户协议节点配置和状态
  26093. tags:
  26094. - 大连千海金(协议和签约信息)
  26095. /Quote/QueryHistoryDatas:
  26096. get:
  26097. parameters:
  26098. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26099. 日线 12:周线 13:月线 14:年线'
  26100. in: query
  26101. name: cycleType
  26102. required: true
  26103. type: integer
  26104. - description: 商品代码
  26105. in: query
  26106. name: goodsCode
  26107. required: true
  26108. type: string
  26109. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26110. in: query
  26111. name: startTime
  26112. type: string
  26113. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26114. in: query
  26115. name: endTime
  26116. type: string
  26117. - description: 条数
  26118. in: query
  26119. name: count
  26120. type: integer
  26121. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26122. in: query
  26123. name: isAsc
  26124. type: boolean
  26125. produces:
  26126. - application/json
  26127. responses:
  26128. "200":
  26129. description: OK
  26130. schema:
  26131. $ref: '#/definitions/quote.HistoryData'
  26132. "500":
  26133. description: Internal Server Error
  26134. schema:
  26135. $ref: '#/definitions/app.Response'
  26136. security:
  26137. - ApiKeyAuth: []
  26138. summary: 查询行情历史数据
  26139. tags:
  26140. - 行情服务
  26141. /Quote/QueryHistoryTikDatas:
  26142. get:
  26143. parameters:
  26144. - description: 商品代码
  26145. in: query
  26146. name: goodsCode
  26147. required: true
  26148. type: string
  26149. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26150. in: query
  26151. name: startTime
  26152. type: string
  26153. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26154. in: query
  26155. name: endTime
  26156. type: string
  26157. - description: 条数
  26158. in: query
  26159. name: count
  26160. type: integer
  26161. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26162. in: query
  26163. name: isAsc
  26164. type: boolean
  26165. produces:
  26166. - application/json
  26167. responses:
  26168. "200":
  26169. description: OK
  26170. schema:
  26171. $ref: '#/definitions/quote.HistoryTikData'
  26172. "500":
  26173. description: Internal Server Error
  26174. schema:
  26175. $ref: '#/definitions/app.Response'
  26176. security:
  26177. - ApiKeyAuth: []
  26178. summary: 查询行情Tik数据
  26179. tags:
  26180. - 行情服务
  26181. /Quote/QueryQuoteDay:
  26182. get:
  26183. parameters:
  26184. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26185. in: query
  26186. name: goodsCodes
  26187. type: string
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26195. "500":
  26196. description: Internal Server Error
  26197. schema:
  26198. $ref: '#/definitions/app.Response'
  26199. security:
  26200. - ApiKeyAuth: []
  26201. summary: 获取商品盘面信息
  26202. tags:
  26203. - 行情服务
  26204. /Quote/QueryTSData:
  26205. get:
  26206. parameters:
  26207. - description: 商品代码
  26208. in: query
  26209. name: goodsCode
  26210. required: true
  26211. type: string
  26212. produces:
  26213. - application/json
  26214. responses:
  26215. "200":
  26216. description: OK
  26217. schema:
  26218. $ref: '#/definitions/quote.QueryTSDataRsp'
  26219. "500":
  26220. description: Internal Server Error
  26221. schema:
  26222. $ref: '#/definitions/app.Response'
  26223. security:
  26224. - ApiKeyAuth: []
  26225. summary: 分时图数据查询
  26226. tags:
  26227. - 行情服务
  26228. /SZDZ/QueryConvertConfig:
  26229. get:
  26230. parameters:
  26231. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26232. 6:交易转花生米(不设置)
  26233. in: query
  26234. name: convertType
  26235. type: integer
  26236. - description: 外部商品代码[JD\PD]
  26237. in: query
  26238. name: outerGoodsCode
  26239. type: string
  26240. - description: 内部商品ID列表[交易],格式:1,2,3
  26241. in: query
  26242. name: innerGoodsIDs
  26243. type: string
  26244. produces:
  26245. - application/json
  26246. responses:
  26247. "200":
  26248. description: OK
  26249. schema:
  26250. $ref: '#/definitions/models.Szdz3convertconfig'
  26251. "500":
  26252. description: Internal Server Error
  26253. schema:
  26254. $ref: '#/definitions/app.Response'
  26255. security:
  26256. - ApiKeyAuth: []
  26257. summary: 查询交易系统转换设置
  26258. tags:
  26259. - 定制【尚志大宗】
  26260. /SZDZ/QueryConvertLog:
  26261. get:
  26262. parameters:
  26263. - description: 资金账户 - 格式:1,2,3
  26264. in: query
  26265. name: accountID
  26266. required: true
  26267. type: string
  26268. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26269. in: query
  26270. name: startDate
  26271. type: string
  26272. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26273. in: query
  26274. name: endDate
  26275. type: string
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26283. "500":
  26284. description: Internal Server Error
  26285. schema:
  26286. $ref: '#/definitions/app.Response'
  26287. security:
  26288. - ApiKeyAuth: []
  26289. summary: 交易系统转换流水查询
  26290. tags:
  26291. - 定制【尚志大宗】
  26292. /SZDZ/QueryGoodsPickup:
  26293. get:
  26294. parameters:
  26295. - description: 资金账户 - 格式:1,2,3
  26296. in: query
  26297. name: accountID
  26298. required: true
  26299. type: string
  26300. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26301. in: query
  26302. name: takeOrderStatus
  26303. type: integer
  26304. produces:
  26305. - application/json
  26306. responses:
  26307. "200":
  26308. description: OK
  26309. schema:
  26310. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26311. "500":
  26312. description: Internal Server Error
  26313. schema:
  26314. $ref: '#/definitions/app.Response'
  26315. security:
  26316. - ApiKeyAuth: []
  26317. summary: 商品提货单查询
  26318. tags:
  26319. - 定制【尚志大宗】
  26320. /SZDZ/QueryRecieptOrder:
  26321. get:
  26322. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26323. parameters:
  26324. - description: 页码
  26325. in: query
  26326. name: page
  26327. type: integer
  26328. - description: 每页条数
  26329. in: query
  26330. name: pagesize
  26331. type: integer
  26332. - description: 商品ID
  26333. in: query
  26334. name: goodsID
  26335. required: true
  26336. type: integer
  26337. - description: 所属账户名称
  26338. in: query
  26339. name: accountName
  26340. type: string
  26341. - description: 市场ID
  26342. in: query
  26343. name: marketID
  26344. type: integer
  26345. - description: 方向 - 0:买 1:卖
  26346. in: query
  26347. name: buyorsell
  26348. required: true
  26349. type: integer
  26350. produces:
  26351. - application/json
  26352. responses:
  26353. "200":
  26354. description: OK
  26355. schema:
  26356. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 点选挂牌委托单据查询(摘牌大厅)
  26364. tags:
  26365. - 定制【尚志大宗】
  26366. /SZDZ/QuerySZDZTradePosition:
  26367. get:
  26368. parameters:
  26369. - description: 资金账户
  26370. in: query
  26371. name: accountID
  26372. required: true
  26373. type: integer
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26381. "500":
  26382. description: Internal Server Error
  26383. schema:
  26384. $ref: '#/definitions/app.Response'
  26385. security:
  26386. - ApiKeyAuth: []
  26387. summary: 持仓汇总查询(尚志大宗)
  26388. tags:
  26389. - 定制【尚志大宗】
  26390. /SZDZ/SearchWhite:
  26391. get:
  26392. parameters:
  26393. - description: 用户ID
  26394. in: query
  26395. name: userID
  26396. required: true
  26397. type: integer
  26398. produces:
  26399. - application/json
  26400. responses:
  26401. "200":
  26402. description: OK
  26403. schema:
  26404. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 搜索白名单
  26412. tags:
  26413. - 定制【尚志大宗】
  26414. /Search/SearchGoodses:
  26415. get:
  26416. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26417. parameters:
  26418. - description: 检索内容
  26419. in: query
  26420. name: content
  26421. required: true
  26422. type: string
  26423. - description: 交易模式,格式:1,2,3
  26424. in: query
  26425. name: tradeModes
  26426. type: string
  26427. produces:
  26428. - application/json
  26429. responses:
  26430. "200":
  26431. description: OK
  26432. schema:
  26433. $ref: '#/definitions/models.SearchGoods'
  26434. "500":
  26435. description: Internal Server Error
  26436. schema:
  26437. $ref: '#/definitions/app.Response'
  26438. summary: 检索商品信息
  26439. tags:
  26440. - 检索服务
  26441. /TaAccount/GetTaAccounts:
  26442. get:
  26443. parameters:
  26444. - description: 登录账户
  26445. in: query
  26446. name: loginID
  26447. required: true
  26448. type: integer
  26449. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26450. in: query
  26451. name: taAccountType
  26452. type: integer
  26453. produces:
  26454. - application/json
  26455. responses:
  26456. "200":
  26457. description: OK
  26458. schema:
  26459. $ref: '#/definitions/models.Taaccount'
  26460. "500":
  26461. description: Internal Server Error
  26462. schema:
  26463. $ref: '#/definitions/app.Response'
  26464. security:
  26465. - ApiKeyAuth: []
  26466. summary: 获取资金账户信息
  26467. tags:
  26468. - 资金账户
  26469. /TaAccount/QueryAmountLog:
  26470. get:
  26471. parameters:
  26472. - description: 页码
  26473. in: query
  26474. name: page
  26475. type: integer
  26476. - description: 每页条数
  26477. in: query
  26478. name: pagesize
  26479. type: integer
  26480. - description: 资金账户 - 格式:1,2,3
  26481. in: query
  26482. name: accountID
  26483. required: true
  26484. type: string
  26485. - description: 资金操作类型 - 格式:1,2,3
  26486. in: query
  26487. name: OperateType
  26488. type: string
  26489. produces:
  26490. - application/json
  26491. responses:
  26492. "200":
  26493. description: OK
  26494. schema:
  26495. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26496. "500":
  26497. description: Internal Server Error
  26498. schema:
  26499. $ref: '#/definitions/app.Response'
  26500. security:
  26501. - ApiKeyAuth: []
  26502. summary: 资金流水查询(当前)
  26503. tags:
  26504. - 资金账户
  26505. /TaAccount/QueryHisAmountLog:
  26506. get:
  26507. parameters:
  26508. - description: 页码
  26509. in: query
  26510. name: page
  26511. type: integer
  26512. - description: 每页条数
  26513. in: query
  26514. name: pagesize
  26515. type: integer
  26516. - description: 资金账户 - 格式:1,2,3
  26517. in: query
  26518. name: accountID
  26519. required: true
  26520. type: string
  26521. - description: 资金操作类型 - 格式:1,2,3
  26522. in: query
  26523. name: OperateType
  26524. type: string
  26525. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26526. in: query
  26527. name: startDate
  26528. type: string
  26529. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26530. in: query
  26531. name: endDate
  26532. type: string
  26533. produces:
  26534. - application/json
  26535. responses:
  26536. "200":
  26537. description: OK
  26538. schema:
  26539. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26540. "500":
  26541. description: Internal Server Error
  26542. schema:
  26543. $ref: '#/definitions/app.Response'
  26544. security:
  26545. - ApiKeyAuth: []
  26546. summary: 资金流水查询(历史)
  26547. tags:
  26548. - 资金账户
  26549. /Tjmd/QueryQuoteGoodsList:
  26550. get:
  26551. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26552. parameters:
  26553. - description: 用户类型
  26554. in: query
  26555. name: usertype
  26556. required: true
  26557. type: integer
  26558. - description: 市场id, 格式 1,2,3
  26559. in: query
  26560. name: marketids
  26561. type: string
  26562. - description: 商品组id
  26563. in: query
  26564. name: goodsgroupid
  26565. type: integer
  26566. - description: 商品id
  26567. in: query
  26568. name: goodsid
  26569. type: integer
  26570. produces:
  26571. - application/json
  26572. responses:
  26573. "200":
  26574. description: OK
  26575. schema:
  26576. items:
  26577. $ref: '#/definitions/models.TjmdQuoteGoods'
  26578. type: array
  26579. "500":
  26580. description: Internal Server Error
  26581. schema:
  26582. $ref: '#/definitions/app.Response'
  26583. security:
  26584. - ApiKeyAuth: []
  26585. summary: 查询掉期报价列表
  26586. tags:
  26587. - 天津麦顿
  26588. /Tjmd/QueryTjmdMarketSection:
  26589. get:
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. items:
  26597. $ref: '#/definitions/models.TjmdMarketSection'
  26598. type: array
  26599. "500":
  26600. description: Internal Server Error
  26601. schema:
  26602. $ref: '#/definitions/app.Response'
  26603. security:
  26604. - ApiKeyAuth: []
  26605. summary: 查询市场板块
  26606. tags:
  26607. - 天津麦顿
  26608. /Tjmd/QueryTjmdTodayAccountMargin:
  26609. get:
  26610. parameters:
  26611. - description: 市场id
  26612. in: query
  26613. name: marketid
  26614. type: string
  26615. - description: 商品id
  26616. in: query
  26617. name: goodsid
  26618. type: string
  26619. - description: 资金账号
  26620. in: query
  26621. name: accountid
  26622. type: string
  26623. produces:
  26624. - application/json
  26625. responses:
  26626. "200":
  26627. description: OK
  26628. schema:
  26629. items:
  26630. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26631. type: array
  26632. "500":
  26633. description: Internal Server Error
  26634. schema:
  26635. $ref: '#/definitions/app.Response'
  26636. security:
  26637. - ApiKeyAuth: []
  26638. summary: 查询今日账户保证金配置
  26639. tags:
  26640. - 天津麦顿
  26641. /Tjmd/QueryTjmdTradeOrderDetail:
  26642. get:
  26643. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26644. parameters:
  26645. - description: 页码
  26646. in: query
  26647. name: page
  26648. type: integer
  26649. - description: 每页条数
  26650. in: query
  26651. name: pagesize
  26652. type: integer
  26653. - description: 用户id
  26654. in: query
  26655. name: userid
  26656. required: true
  26657. type: integer
  26658. - description: 用户类型
  26659. in: query
  26660. name: usertype
  26661. required: true
  26662. type: integer
  26663. - description: 市场id, 格式 1,2,3
  26664. in: query
  26665. name: marketids
  26666. type: string
  26667. - description: 商品id
  26668. in: query
  26669. name: goodsid
  26670. required: true
  26671. type: integer
  26672. - description: 买卖方向 0-买 1-卖
  26673. in: query
  26674. name: buyorsell
  26675. required: true
  26676. type: integer
  26677. produces:
  26678. - application/json
  26679. responses:
  26680. "200":
  26681. description: OK
  26682. schema:
  26683. items:
  26684. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26685. type: array
  26686. "500":
  26687. description: Internal Server Error
  26688. schema:
  26689. $ref: '#/definitions/app.Response'
  26690. security:
  26691. - ApiKeyAuth: []
  26692. summary: 查询掉期买卖大厅
  26693. tags:
  26694. - 天津麦顿
  26695. /Tjmd/QueryTjmdTransferApply:
  26696. get:
  26697. parameters:
  26698. - description: 类型 1-我的申请 2-对方申请
  26699. in: query
  26700. name: applytype
  26701. required: true
  26702. type: integer
  26703. - description: 市场id, 格式 1,2,3
  26704. in: query
  26705. name: marketids
  26706. type: string
  26707. - description: 资金账号, 格式 25000000001,25000000003
  26708. in: query
  26709. name: accountids
  26710. type: string
  26711. - description: 开始交易日(yyyymmdd)
  26712. in: query
  26713. name: begindate
  26714. type: string
  26715. - description: 结束交易日(yyyymmdd)
  26716. in: query
  26717. name: enddate
  26718. type: string
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. items:
  26726. $ref: '#/definitions/models.TjmdTransferApply'
  26727. type: array
  26728. "500":
  26729. description: Internal Server Error
  26730. schema:
  26731. $ref: '#/definitions/app.Response'
  26732. security:
  26733. - ApiKeyAuth: []
  26734. summary: 查询掉期协议单
  26735. tags:
  26736. - 天津麦顿
  26737. /Trade/QueryRecieptOrder:
  26738. get:
  26739. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26740. parameters:
  26741. - description: 页码
  26742. in: query
  26743. name: page
  26744. type: integer
  26745. - description: 每页条数
  26746. in: query
  26747. name: pagesize
  26748. type: integer
  26749. - description: 商品ID
  26750. in: query
  26751. name: goodsID
  26752. required: true
  26753. type: integer
  26754. - description: 所属账户名称
  26755. in: query
  26756. name: accountName
  26757. type: string
  26758. - description: 市场ID
  26759. in: query
  26760. name: marketID
  26761. type: integer
  26762. - description: 方向 - 0:买 1:卖
  26763. in: query
  26764. name: buyorsell
  26765. required: true
  26766. type: integer
  26767. produces:
  26768. - application/json
  26769. responses:
  26770. "200":
  26771. description: OK
  26772. schema:
  26773. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26774. "500":
  26775. description: Internal Server Error
  26776. schema:
  26777. $ref: '#/definitions/app.Response'
  26778. security:
  26779. - ApiKeyAuth: []
  26780. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26781. tags:
  26782. - 通用交易
  26783. /User/AddMessageBoard:
  26784. post:
  26785. parameters:
  26786. - description: 用户ID
  26787. in: query
  26788. name: userID
  26789. required: true
  26790. type: integer
  26791. - description: 留言信息
  26792. in: query
  26793. name: message
  26794. required: true
  26795. type: string
  26796. - description: 联系电话
  26797. in: query
  26798. name: contactNum
  26799. required: true
  26800. type: string
  26801. produces:
  26802. - application/json
  26803. responses:
  26804. "200":
  26805. description: OK
  26806. schema:
  26807. $ref: '#/definitions/app.Response'
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 添加用户留言板信息
  26815. tags:
  26816. - 用户信息
  26817. /User/AddUserFavoriteGoods:
  26818. post:
  26819. parameters:
  26820. - description: 用户ID
  26821. in: query
  26822. name: userID
  26823. required: true
  26824. type: integer
  26825. - description: 商品ID
  26826. in: query
  26827. name: goodsID
  26828. required: true
  26829. type: integer
  26830. produces:
  26831. - application/json
  26832. responses:
  26833. "200":
  26834. description: OK
  26835. schema:
  26836. $ref: '#/definitions/app.Response'
  26837. "500":
  26838. description: Internal Server Error
  26839. schema:
  26840. $ref: '#/definitions/app.Response'
  26841. security:
  26842. - ApiKeyAuth: []
  26843. summary: 添加用户商品收藏信息
  26844. tags:
  26845. - 用户信息
  26846. /User/GetLoginID:
  26847. get:
  26848. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26849. parameters:
  26850. - description: 登录代码
  26851. in: query
  26852. name: username
  26853. required: true
  26854. type: string
  26855. produces:
  26856. - application/json
  26857. responses:
  26858. "200":
  26859. description: OK
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. "500":
  26863. description: Internal Server Error
  26864. schema:
  26865. $ref: '#/definitions/app.Response'
  26866. summary: 获取登录ID
  26867. tags:
  26868. - 用户信息
  26869. /User/GetUserAccount:
  26870. get:
  26871. parameters:
  26872. - description: 用户ID
  26873. in: query
  26874. name: userID
  26875. required: true
  26876. type: integer
  26877. produces:
  26878. - application/json
  26879. responses:
  26880. "200":
  26881. description: OK
  26882. schema:
  26883. $ref: '#/definitions/models.Useraccount'
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 获取用户账号信息
  26891. tags:
  26892. - 用户信息
  26893. /User/GetUserAuthStatus:
  26894. get:
  26895. parameters:
  26896. - description: 用户ID
  26897. in: query
  26898. name: userID
  26899. required: true
  26900. type: integer
  26901. produces:
  26902. - application/json
  26903. responses:
  26904. "200":
  26905. description: OK
  26906. schema:
  26907. $ref: '#/definitions/app.Response'
  26908. "500":
  26909. description: Internal Server Error
  26910. schema:
  26911. $ref: '#/definitions/app.Response'
  26912. security:
  26913. - ApiKeyAuth: []
  26914. summary: 获取用户实名认证状态
  26915. tags:
  26916. - 用户信息
  26917. /User/LoginQuery:
  26918. get:
  26919. parameters:
  26920. - description: 登录账号
  26921. in: query
  26922. name: loginID
  26923. required: true
  26924. type: integer
  26925. produces:
  26926. - application/json
  26927. responses:
  26928. "200":
  26929. description: OK
  26930. schema:
  26931. $ref: '#/definitions/user.LoginQueryRsp'
  26932. "500":
  26933. description: Internal Server Error
  26934. schema:
  26935. $ref: '#/definitions/app.Response'
  26936. security:
  26937. - ApiKeyAuth: []
  26938. summary: 账户登录后信息查询
  26939. tags:
  26940. - 用户信息
  26941. /User/QueryMessageBoard:
  26942. get:
  26943. parameters:
  26944. - description: 用户ID
  26945. in: query
  26946. name: userID
  26947. required: true
  26948. type: integer
  26949. produces:
  26950. - application/json
  26951. responses:
  26952. "200":
  26953. description: OK
  26954. schema:
  26955. $ref: '#/definitions/models.Messageboard'
  26956. "500":
  26957. description: Internal Server Error
  26958. schema:
  26959. $ref: '#/definitions/app.Response'
  26960. security:
  26961. - ApiKeyAuth: []
  26962. summary: 获取用户留言板信息
  26963. tags:
  26964. - 用户信息
  26965. /User/QueryUserFavoriteGoodses:
  26966. get:
  26967. parameters:
  26968. - description: 用户ID
  26969. in: query
  26970. name: userID
  26971. required: true
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/models.Userfavoritegoods'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 获取用户商品收藏信息
  26987. tags:
  26988. - 用户信息
  26989. /User/QueryUserInfo:
  26990. get:
  26991. parameters:
  26992. - description: 用户ID
  26993. in: query
  26994. name: userID
  26995. required: true
  26996. type: integer
  26997. - description: 是否解密
  26998. in: query
  26999. name: isDecrypt
  27000. type: boolean
  27001. produces:
  27002. - application/json
  27003. responses:
  27004. "200":
  27005. description: OK
  27006. schema:
  27007. $ref: '#/definitions/models.Userinfo'
  27008. "500":
  27009. description: Internal Server Error
  27010. schema:
  27011. $ref: '#/definitions/app.Response'
  27012. security:
  27013. - ApiKeyAuth: []
  27014. summary: 获取用户信息
  27015. tags:
  27016. - 用户信息
  27017. /User/QueryUserReferNum:
  27018. get:
  27019. parameters:
  27020. - description: 用户ID
  27021. in: query
  27022. name: userID
  27023. required: true
  27024. type: integer
  27025. produces:
  27026. - application/json
  27027. responses:
  27028. "200":
  27029. description: OK
  27030. schema:
  27031. $ref: '#/definitions/app.Response'
  27032. "500":
  27033. description: Internal Server Error
  27034. schema:
  27035. $ref: '#/definitions/app.Response'
  27036. summary: 获取用户邀请码
  27037. tags:
  27038. - 用户信息
  27039. /User/RemoveUserFavoriteGoods:
  27040. post:
  27041. parameters:
  27042. - description: 用户ID
  27043. in: query
  27044. name: userID
  27045. required: true
  27046. type: integer
  27047. - description: 商品ID
  27048. in: query
  27049. name: goodsID
  27050. required: true
  27051. type: integer
  27052. produces:
  27053. - application/json
  27054. responses:
  27055. "200":
  27056. description: OK
  27057. schema:
  27058. $ref: '#/definitions/app.Response'
  27059. "500":
  27060. description: Internal Server Error
  27061. schema:
  27062. $ref: '#/definitions/app.Response'
  27063. security:
  27064. - ApiKeyAuth: []
  27065. summary: 移除用户商品收藏信息
  27066. tags:
  27067. - 用户信息
  27068. /User/UpdateUserAccountStatus:
  27069. post:
  27070. parameters:
  27071. - description: 用户ID
  27072. in: query
  27073. name: userID
  27074. required: true
  27075. type: integer
  27076. - description: 账户状态 - 4:正常 6:注销(停用)
  27077. in: query
  27078. name: accountStatus
  27079. required: true
  27080. type: integer
  27081. produces:
  27082. - application/json
  27083. responses:
  27084. "200":
  27085. description: OK
  27086. schema:
  27087. $ref: '#/definitions/app.Response'
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 更新用户状态
  27095. tags:
  27096. - 用户信息
  27097. /WRTrade/GetAllDeliveryGoods:
  27098. get:
  27099. produces:
  27100. - application/json
  27101. responses:
  27102. "200":
  27103. description: OK
  27104. schema:
  27105. $ref: '#/definitions/app.Response'
  27106. "500":
  27107. description: Internal Server Error
  27108. schema:
  27109. $ref: '#/definitions/app.Response'
  27110. security:
  27111. - ApiKeyAuth: []
  27112. summary: 获取带仓单分类的种类信息
  27113. tags:
  27114. - 仓单贸易
  27115. - 仓单贸易
  27116. /WrTrade2/QueryDeliveryGoodsSection:
  27117. get:
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. items:
  27125. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27126. type: array
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 查询板块(分类)
  27134. tags:
  27135. - 仓单贸易v2
  27136. /WrTrade2/QueryFaProductDetail:
  27137. get:
  27138. description: 页面 买卖大厅 -> 选择融资方案
  27139. parameters:
  27140. - description: 仓单要素id
  27141. in: query
  27142. name: wrfactortypeid
  27143. required: true
  27144. type: integer
  27145. produces:
  27146. - application/json
  27147. responses:
  27148. "200":
  27149. description: OK
  27150. schema:
  27151. items:
  27152. $ref: '#/definitions/models.WrFAProductDetail'
  27153. type: array
  27154. "500":
  27155. description: Internal Server Error
  27156. schema:
  27157. $ref: '#/definitions/app.Response'
  27158. security:
  27159. - ApiKeyAuth: []
  27160. summary: 查询融资产品列表
  27161. tags:
  27162. - 仓单贸易v2
  27163. /WrTrade2/QueryFilterItem:
  27164. get:
  27165. parameters:
  27166. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27167. in: query
  27168. name: itype
  27169. required: true
  27170. type: string
  27171. produces:
  27172. - application/json
  27173. responses:
  27174. "200":
  27175. description: OK
  27176. schema:
  27177. items:
  27178. $ref: '#/definitions/models.WrFilterItem'
  27179. type: array
  27180. "500":
  27181. description: Internal Server Error
  27182. schema:
  27183. $ref: '#/definitions/app.Response'
  27184. security:
  27185. - ApiKeyAuth: []
  27186. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27187. tags:
  27188. - 仓单贸易v2
  27189. /WrTrade2/QueryFtDeliveryGoods:
  27190. get:
  27191. produces:
  27192. - application/json
  27193. responses:
  27194. "200":
  27195. description: OK
  27196. schema:
  27197. items:
  27198. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27199. type: array
  27200. "500":
  27201. description: Internal Server Error
  27202. schema:
  27203. $ref: '#/definitions/app.Response'
  27204. security:
  27205. - ApiKeyAuth: []
  27206. summary: 查询品种品类筛选框列表
  27207. tags:
  27208. - 仓单贸易v2
  27209. /WrTrade2/QueryHoldLB:
  27210. get:
  27211. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27212. parameters:
  27213. - description: 资金账号
  27214. in: query
  27215. name: accountid
  27216. required: true
  27217. type: integer
  27218. - description: 仓库id
  27219. in: query
  27220. name: warehouseid
  27221. type: integer
  27222. - description: 品种id
  27223. in: query
  27224. name: deliverygoodsid
  27225. type: integer
  27226. - description: 品类id
  27227. in: query
  27228. name: wrstandardid
  27229. type: integer
  27230. - description: 仓单要素id
  27231. in: query
  27232. name: wrfactortypeid
  27233. type: integer
  27234. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27235. in: query
  27236. name: dgitemname
  27237. type: string
  27238. produces:
  27239. - application/json
  27240. responses:
  27241. "200":
  27242. description: OK
  27243. schema:
  27244. items:
  27245. $ref: '#/definitions/models.WrHoldLB'
  27246. type: array
  27247. "500":
  27248. description: Internal Server Error
  27249. schema:
  27250. $ref: '#/definitions/app.Response'
  27251. security:
  27252. - ApiKeyAuth: []
  27253. summary: 查询仓单持有记录
  27254. tags:
  27255. - 仓单贸易v2
  27256. /WrTrade2/QueryOrderQuote:
  27257. get:
  27258. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27259. 唯一确定1条记录
  27260. parameters:
  27261. - description: 页码
  27262. in: query
  27263. name: page
  27264. type: integer
  27265. - description: 每页条数
  27266. in: query
  27267. name: pagesize
  27268. type: integer
  27269. - description: 仓单贸易市场id
  27270. in: query
  27271. name: marketid
  27272. type: integer
  27273. - description: 价格方式 - 1:固定价 2-浮动价
  27274. in: query
  27275. name: wrpricetype
  27276. required: true
  27277. type: integer
  27278. - description: 0:仓单预售 1:仓单贸易
  27279. in: query
  27280. name: haswr
  27281. type: integer
  27282. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27283. in: query
  27284. name: dgitemname
  27285. type: string
  27286. - description: 仓库id(筛选条件)
  27287. in: query
  27288. name: warehouseid
  27289. type: integer
  27290. - description: 品种id
  27291. in: query
  27292. name: deliverygoodsid
  27293. type: integer
  27294. - description: 品类id
  27295. in: query
  27296. name: wrstandardid
  27297. type: integer
  27298. - description: 仓单要素id
  27299. in: query
  27300. name: wrfactortypeid
  27301. type: integer
  27302. - description: 交收月(yyyy-mm) 仓单预售填写
  27303. in: query
  27304. name: deliverymonth
  27305. type: string
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. items:
  27313. $ref: '#/definitions/models.WrOrderQuote'
  27314. type: array
  27315. "500":
  27316. description: Internal Server Error
  27317. schema:
  27318. $ref: '#/definitions/app.Response'
  27319. security:
  27320. - ApiKeyAuth: []
  27321. summary: 查询大厅行情列表
  27322. tags:
  27323. - 仓单贸易v2
  27324. /WrTrade2/QueryOrderQuoteDetail:
  27325. get:
  27326. parameters:
  27327. - description: 页码
  27328. in: query
  27329. name: page
  27330. type: integer
  27331. - description: 每页条数
  27332. in: query
  27333. name: pagesize
  27334. type: integer
  27335. - description: 仓单贸易市场id
  27336. in: query
  27337. name: marketid
  27338. type: integer
  27339. - description: 价格方式 - 1:固定价 2-浮动价
  27340. in: query
  27341. name: wrpricetype
  27342. required: true
  27343. type: integer
  27344. - description: 0:仓单预售 1:仓单贸易
  27345. in: query
  27346. name: haswr
  27347. type: integer
  27348. - description: 仓单要素id
  27349. in: query
  27350. name: wrfactortypeid
  27351. required: true
  27352. type: integer
  27353. - description: 期货商品id(浮动价方式时填)
  27354. in: query
  27355. name: goodsid
  27356. type: integer
  27357. - description: 买卖方向 0-买 1-卖
  27358. in: query
  27359. name: buyorsell
  27360. required: true
  27361. type: integer
  27362. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27363. in: query
  27364. name: deliverymonth
  27365. type: string
  27366. produces:
  27367. - application/json
  27368. responses:
  27369. "200":
  27370. description: OK
  27371. schema:
  27372. items:
  27373. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27374. type: array
  27375. "500":
  27376. description: Internal Server Error
  27377. schema:
  27378. $ref: '#/definitions/app.Response'
  27379. security:
  27380. - ApiKeyAuth: []
  27381. summary: 查询买卖大厅
  27382. tags:
  27383. - 仓单贸易v2
  27384. /WrTrade2/QueryOrderQuoteMyq:
  27385. get:
  27386. parameters:
  27387. - description: 页码
  27388. in: query
  27389. name: page
  27390. type: integer
  27391. - description: 每页条数
  27392. in: query
  27393. name: pagesize
  27394. type: integer
  27395. - description: 用户id
  27396. in: query
  27397. name: userid
  27398. required: true
  27399. type: integer
  27400. - description: 仓单贸易市场id
  27401. in: query
  27402. name: marketid
  27403. type: integer
  27404. - description: 0:仓单预售 1:仓单贸易
  27405. in: query
  27406. name: haswr
  27407. type: integer
  27408. - description: 买卖方向 0-买 1-卖
  27409. in: query
  27410. name: buyorsell
  27411. required: true
  27412. type: integer
  27413. - description: 品种id
  27414. in: query
  27415. name: deliverygoodsid
  27416. type: integer
  27417. - description: 品类id
  27418. in: query
  27419. name: wrstandardid
  27420. type: integer
  27421. - description: 交收月(yyyy-mm) 仓单预售填写
  27422. in: query
  27423. name: deliverymonth
  27424. type: string
  27425. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27426. in: query
  27427. name: dgitemname
  27428. type: string
  27429. produces:
  27430. - application/json
  27431. responses:
  27432. "200":
  27433. description: OK
  27434. schema:
  27435. items:
  27436. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27437. type: array
  27438. "500":
  27439. description: Internal Server Error
  27440. schema:
  27441. $ref: '#/definitions/app.Response'
  27442. security:
  27443. - ApiKeyAuth: []
  27444. summary: 查询贸易圈挂牌大厅
  27445. tags:
  27446. - 仓单贸易v2
  27447. /WrTrade2/QueryPerformancePlan:
  27448. get:
  27449. parameters:
  27450. - description: 用户id
  27451. in: query
  27452. name: userid
  27453. required: true
  27454. type: integer
  27455. - description: 买卖方向 0-买 1-卖
  27456. in: query
  27457. name: buyorsell
  27458. required: true
  27459. type: integer
  27460. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27461. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27462. in: query
  27463. name: status
  27464. type: string
  27465. - description: 开始交易日(yyyymmdd)
  27466. in: query
  27467. name: begindate
  27468. type: string
  27469. - description: 结束交易日(yyyymmdd)
  27470. in: query
  27471. name: enddate
  27472. type: string
  27473. produces:
  27474. - application/json
  27475. responses:
  27476. "200":
  27477. description: OK
  27478. schema:
  27479. items:
  27480. $ref: '#/definitions/models.WrPerformancePlan'
  27481. type: array
  27482. "500":
  27483. description: Internal Server Error
  27484. schema:
  27485. $ref: '#/definitions/app.Response'
  27486. security:
  27487. - ApiKeyAuth: []
  27488. summary: 查询履约信息
  27489. tags:
  27490. - 仓单贸易v2
  27491. /WrTrade2/QueryPermancePlanTmp:
  27492. get:
  27493. description: |-
  27494. 返回指定用户的模板和公共模板(用户id为空)
  27495. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27496. parameters:
  27497. - description: 用户id
  27498. in: query
  27499. name: userid
  27500. type: integer
  27501. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27502. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27503. in: query
  27504. name: tmptype
  27505. type: string
  27506. - description: 是否包含公共模板(用户id为空的) 1-包含
  27507. in: query
  27508. name: includepub
  27509. type: integer
  27510. - description: 市场id(天津麦顿指定此参数,其它不用)
  27511. in: query
  27512. name: marketid
  27513. type: integer
  27514. produces:
  27515. - application/json
  27516. responses:
  27517. "200":
  27518. description: OK
  27519. schema:
  27520. items:
  27521. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27522. type: array
  27523. "500":
  27524. description: Internal Server Error
  27525. schema:
  27526. $ref: '#/definitions/app.Response'
  27527. security:
  27528. - ApiKeyAuth: []
  27529. summary: 查询履约模板
  27530. tags:
  27531. - 仓单贸易v2
  27532. /WrTrade2/QuerySiteColumnDetail:
  27533. get:
  27534. parameters:
  27535. - description: 页码
  27536. in: query
  27537. name: page
  27538. type: integer
  27539. - description: 每页条数
  27540. in: query
  27541. name: pagesize
  27542. type: integer
  27543. - description: 所属栏目id
  27544. in: query
  27545. name: columnid
  27546. type: integer
  27547. produces:
  27548. - application/json
  27549. responses:
  27550. "200":
  27551. description: OK
  27552. schema:
  27553. items:
  27554. $ref: '#/definitions/models.WrSiteColumnDetail'
  27555. type: array
  27556. "500":
  27557. description: Internal Server Error
  27558. schema:
  27559. $ref: '#/definitions/app.Response'
  27560. security:
  27561. - ApiKeyAuth: []
  27562. summary: 查询资讯
  27563. tags:
  27564. - 仓单贸易v2
  27565. /WrTrade2/QuerySpotGroupTradeSum:
  27566. get:
  27567. produces:
  27568. - application/json
  27569. responses:
  27570. "200":
  27571. description: OK
  27572. schema:
  27573. items:
  27574. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27575. type: array
  27576. "500":
  27577. description: Internal Server Error
  27578. schema:
  27579. $ref: '#/definitions/app.Response'
  27580. security:
  27581. - ApiKeyAuth: []
  27582. summary: 查询指数
  27583. tags:
  27584. - 仓单贸易v2
  27585. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27586. get:
  27587. description: 查询的结果将会按日期 从小到大 排序
  27588. parameters:
  27589. - description: 现货商品id
  27590. in: query
  27591. name: deliverygoodsid
  27592. required: true
  27593. type: integer
  27594. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27595. in: query
  27596. name: lastnum
  27597. type: integer
  27598. produces:
  27599. - application/json
  27600. responses:
  27601. "200":
  27602. description: OK
  27603. schema:
  27604. items:
  27605. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27606. type: array
  27607. "500":
  27608. description: Internal Server Error
  27609. schema:
  27610. $ref: '#/definitions/app.Response'
  27611. security:
  27612. - ApiKeyAuth: []
  27613. summary: 查询指数详细(价格走势图)
  27614. tags:
  27615. - 仓单贸易v2
  27616. /WrTrade2/QueryWrAverageTradePrice:
  27617. get:
  27618. parameters:
  27619. - description: 页码
  27620. in: query
  27621. name: page
  27622. type: integer
  27623. - description: 每页条数
  27624. in: query
  27625. name: pagesize
  27626. type: integer
  27627. - description: 0:仓单预售 1:仓单贸易
  27628. in: query
  27629. name: haswr
  27630. required: true
  27631. type: integer
  27632. - description: 仓单要素id
  27633. in: query
  27634. name: wrfactortypeid
  27635. required: true
  27636. type: integer
  27637. produces:
  27638. - application/json
  27639. responses:
  27640. "200":
  27641. description: OK
  27642. schema:
  27643. items:
  27644. $ref: '#/definitions/models.WrAverageTradePrice'
  27645. type: array
  27646. "500":
  27647. description: Internal Server Error
  27648. schema:
  27649. $ref: '#/definitions/app.Response'
  27650. security:
  27651. - ApiKeyAuth: []
  27652. summary: 查询成交价(历史走势)
  27653. tags:
  27654. - 仓单贸易v2
  27655. /WrTrade2/QueryWrBsGoodsInfo:
  27656. get:
  27657. description: 合约交易/买卖大厅/详情
  27658. parameters:
  27659. - description: 商品id
  27660. in: query
  27661. name: goodsid
  27662. required: true
  27663. type: integer
  27664. produces:
  27665. - application/json
  27666. responses:
  27667. "200":
  27668. description: OK
  27669. schema:
  27670. items:
  27671. $ref: '#/definitions/models.WrBsGoodsInfo'
  27672. type: array
  27673. "500":
  27674. description: Internal Server Error
  27675. schema:
  27676. $ref: '#/definitions/app.Response'
  27677. security:
  27678. - ApiKeyAuth: []
  27679. summary: 查询合约交易买卖大厅详情
  27680. tags:
  27681. - 仓单贸易v2
  27682. /WrTrade2/QueryWrBuybackDetail:
  27683. get:
  27684. parameters:
  27685. - description: 融资合同id
  27686. in: query
  27687. name: scfcontractid
  27688. type: integer
  27689. produces:
  27690. - application/json
  27691. responses:
  27692. "200":
  27693. description: OK
  27694. schema:
  27695. items:
  27696. $ref: '#/definitions/models.WrBuybackDetail'
  27697. type: array
  27698. "500":
  27699. description: Internal Server Error
  27700. schema:
  27701. $ref: '#/definitions/app.Response'
  27702. security:
  27703. - ApiKeyAuth: []
  27704. summary: 查询仓单回购明细
  27705. tags:
  27706. - 仓单贸易v2
  27707. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27708. get:
  27709. parameters:
  27710. - description: 资金账号
  27711. in: query
  27712. name: accountid
  27713. required: true
  27714. type: integer
  27715. - description: 商品id
  27716. in: query
  27717. name: goodsid
  27718. required: true
  27719. type: integer
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. summary: 查询合约交收可点选仓单
  27736. tags:
  27737. - 仓单贸易v2
  27738. /WrTrade2/QueryWrDeliveryDetail:
  27739. get:
  27740. parameters:
  27741. - description: 用户id
  27742. in: query
  27743. name: userid
  27744. required: true
  27745. type: integer
  27746. - description: 资金账号id
  27747. in: query
  27748. name: accountid
  27749. type: integer
  27750. - description: 开始交易日(yyyymmdd)
  27751. in: query
  27752. name: begindate
  27753. type: string
  27754. - description: 结束交易日(yyyymmdd)
  27755. in: query
  27756. name: enddate
  27757. type: string
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. items:
  27765. $ref: '#/definitions/models.WrDeliveryDetail'
  27766. type: array
  27767. "500":
  27768. description: Internal Server Error
  27769. schema:
  27770. $ref: '#/definitions/app.Response'
  27771. security:
  27772. - ApiKeyAuth: []
  27773. summary: 查询交收
  27774. tags:
  27775. - 仓单贸易v2
  27776. /WrTrade2/QueryWrFactorTypeInfo:
  27777. get:
  27778. parameters:
  27779. - description: 仓单要素id
  27780. in: query
  27781. name: wrfactortypeid
  27782. required: true
  27783. type: integer
  27784. produces:
  27785. - application/json
  27786. responses:
  27787. "200":
  27788. description: OK
  27789. schema:
  27790. items:
  27791. $ref: '#/definitions/models.WrFactorTypeInfo'
  27792. type: array
  27793. "500":
  27794. description: Internal Server Error
  27795. schema:
  27796. $ref: '#/definitions/app.Response'
  27797. security:
  27798. - ApiKeyAuth: []
  27799. summary: 查询仓单要素详细信息
  27800. tags:
  27801. - 仓单贸易v2
  27802. /WrTrade2/QueryWrFactorTypeInfoEx:
  27803. get:
  27804. parameters:
  27805. - description: 仓单要素id
  27806. in: query
  27807. name: wrfactortypeid
  27808. required: true
  27809. type: integer
  27810. produces:
  27811. - application/json
  27812. responses:
  27813. "200":
  27814. description: OK
  27815. schema:
  27816. items:
  27817. $ref: '#/definitions/models.WrTypeItem'
  27818. type: array
  27819. "500":
  27820. description: Internal Server Error
  27821. schema:
  27822. $ref: '#/definitions/app.Response'
  27823. security:
  27824. - ApiKeyAuth: []
  27825. summary: 查询仓单要素详细信息列表项
  27826. tags:
  27827. - 仓单贸易v2
  27828. /WrTrade2/QueryWrFinanceBuyApply:
  27829. get:
  27830. description: 页面 融资信息+ / 申请单
  27831. parameters:
  27832. - description: 用户id
  27833. in: query
  27834. name: userid
  27835. required: true
  27836. type: integer
  27837. produces:
  27838. - application/json
  27839. responses:
  27840. "200":
  27841. description: OK
  27842. schema:
  27843. items:
  27844. $ref: '#/definitions/models.WrFinanceBuyApply'
  27845. type: array
  27846. "500":
  27847. description: Internal Server Error
  27848. schema:
  27849. $ref: '#/definitions/app.Response'
  27850. security:
  27851. - ApiKeyAuth: []
  27852. summary: 查询融资购买申请
  27853. tags:
  27854. - 仓单贸易v2
  27855. /WrTrade2/QueryWrFriendApply:
  27856. get:
  27857. parameters:
  27858. - description: 用户id
  27859. in: query
  27860. name: userid
  27861. required: true
  27862. type: integer
  27863. produces:
  27864. - application/json
  27865. responses:
  27866. "200":
  27867. description: OK
  27868. schema:
  27869. items:
  27870. $ref: '#/definitions/models.WrFriendApply'
  27871. type: array
  27872. "500":
  27873. description: Internal Server Error
  27874. schema:
  27875. $ref: '#/definitions/app.Response'
  27876. security:
  27877. - ApiKeyAuth: []
  27878. summary: 查询好友申请记录
  27879. tags:
  27880. - 仓单贸易v2
  27881. /WrTrade2/QueryWrGoodsInfo:
  27882. get:
  27883. parameters:
  27884. - description: 仓单贸易市场id
  27885. in: query
  27886. name: marketid
  27887. type: integer
  27888. - description: 0:仓单预售 1:仓单贸易
  27889. in: query
  27890. name: haswr
  27891. required: true
  27892. type: integer
  27893. - description: 仓单要素id
  27894. in: query
  27895. name: wrfactortypeid
  27896. required: true
  27897. type: integer
  27898. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27899. in: query
  27900. name: tmplateid
  27901. type: integer
  27902. produces:
  27903. - application/json
  27904. responses:
  27905. "200":
  27906. description: OK
  27907. schema:
  27908. items:
  27909. $ref: '#/definitions/models.WrGoodsInfo'
  27910. type: array
  27911. "500":
  27912. description: Internal Server Error
  27913. schema:
  27914. $ref: '#/definitions/app.Response'
  27915. security:
  27916. - ApiKeyAuth: []
  27917. summary: 查询仓单商品信息
  27918. tags:
  27919. - 仓单贸易v2
  27920. /WrTrade2/QueryWrMarketTradeConfig:
  27921. get:
  27922. parameters:
  27923. - description: 市场id
  27924. in: query
  27925. name: marketid
  27926. type: integer
  27927. produces:
  27928. - application/json
  27929. responses:
  27930. "200":
  27931. description: OK
  27932. schema:
  27933. items:
  27934. $ref: '#/definitions/models.WrMarketTradeConfig'
  27935. type: array
  27936. "500":
  27937. description: Internal Server Error
  27938. schema:
  27939. $ref: '#/definitions/app.Response'
  27940. security:
  27941. - ApiKeyAuth: []
  27942. summary: 查询市场交易参数配置
  27943. tags:
  27944. - 仓单贸易v2
  27945. /WrTrade2/QueryWrOrderDetail:
  27946. get:
  27947. description: 页面 现货仓单 | 预售仓单 -> 委托单
  27948. parameters:
  27949. - description: 页码
  27950. in: query
  27951. name: page
  27952. type: integer
  27953. - description: 每页条数
  27954. in: query
  27955. name: pagesize
  27956. type: integer
  27957. - description: 用户id
  27958. in: query
  27959. name: userid
  27960. required: true
  27961. type: integer
  27962. - description: 仓单贸易市场id
  27963. in: query
  27964. name: marketid
  27965. type: integer
  27966. - description: 0:仓单预售 1:仓单贸易
  27967. in: query
  27968. name: haswr
  27969. required: true
  27970. type: integer
  27971. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27972. in: query
  27973. name: bcancel
  27974. type: integer
  27975. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  27976. in: query
  27977. name: wrtradetype
  27978. type: integer
  27979. - description: 开始交易日(yyyymmdd)
  27980. in: query
  27981. name: begindate
  27982. type: string
  27983. - description: 结束交易日(yyyymmdd)
  27984. in: query
  27985. name: enddate
  27986. type: string
  27987. produces:
  27988. - application/json
  27989. responses:
  27990. "200":
  27991. description: OK
  27992. schema:
  27993. items:
  27994. $ref: '#/definitions/models.WrOrderDetail'
  27995. type: array
  27996. "500":
  27997. description: Internal Server Error
  27998. schema:
  27999. $ref: '#/definitions/app.Response'
  28000. security:
  28001. - ApiKeyAuth: []
  28002. summary: 查询仓单委托单
  28003. tags:
  28004. - 仓单贸易v2
  28005. /WrTrade2/QueryWrOutInApply:
  28006. get:
  28007. parameters:
  28008. - description: 用户id
  28009. in: query
  28010. name: userid
  28011. required: true
  28012. type: integer
  28013. - description: 开始交易日(yyyymmdd)
  28014. in: query
  28015. name: begindate
  28016. type: string
  28017. - description: 结束交易日(yyyymmdd)
  28018. in: query
  28019. name: enddate
  28020. type: string
  28021. produces:
  28022. - application/json
  28023. responses:
  28024. "200":
  28025. description: OK
  28026. schema:
  28027. items:
  28028. $ref: '#/definitions/models.WrOutInApply'
  28029. type: array
  28030. "500":
  28031. description: Internal Server Error
  28032. schema:
  28033. $ref: '#/definitions/app.Response'
  28034. security:
  28035. - ApiKeyAuth: []
  28036. summary: 查询提货申请
  28037. tags:
  28038. - 仓单贸易v2
  28039. /WrTrade2/QueryWrPerformancePlanStep:
  28040. get:
  28041. parameters:
  28042. - description: 履约计划id(performanceplanid)
  28043. in: query
  28044. name: planid
  28045. required: true
  28046. type: integer
  28047. - description: 当前步骤id
  28048. in: query
  28049. name: curstepid
  28050. type: integer
  28051. produces:
  28052. - application/json
  28053. responses:
  28054. "200":
  28055. description: OK
  28056. schema:
  28057. items:
  28058. $ref: '#/definitions/models.WrPerformancePlanStep'
  28059. type: array
  28060. "500":
  28061. description: Internal Server Error
  28062. schema:
  28063. $ref: '#/definitions/app.Response'
  28064. security:
  28065. - ApiKeyAuth: []
  28066. summary: 查询履约信息详情
  28067. tags:
  28068. - 仓单贸易v2
  28069. /WrTrade2/QueryWrPerformanceStepType:
  28070. get:
  28071. produces:
  28072. - application/json
  28073. responses:
  28074. "200":
  28075. description: OK
  28076. schema:
  28077. items:
  28078. $ref: '#/definitions/models.WrPerformanceStepType'
  28079. type: array
  28080. "500":
  28081. description: Internal Server Error
  28082. schema:
  28083. $ref: '#/definitions/app.Response'
  28084. security:
  28085. - ApiKeyAuth: []
  28086. summary: 查询履约步骤枚举
  28087. tags:
  28088. - 仓单贸易v2
  28089. /WrTrade2/QueryWrPosition:
  28090. get:
  28091. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28092. parameters:
  28093. - description: 用户id
  28094. in: query
  28095. name: userid
  28096. required: true
  28097. type: integer
  28098. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28099. in: query
  28100. name: querytype
  28101. required: true
  28102. type: integer
  28103. - description: 0:仓单预售 1:仓单贸易
  28104. in: query
  28105. name: haswr
  28106. required: true
  28107. type: integer
  28108. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28109. in: query
  28110. name: dgitemname
  28111. type: string
  28112. - description: 仓库id(筛选条件)
  28113. in: query
  28114. name: warehouseid
  28115. type: integer
  28116. - description: 品种id
  28117. in: query
  28118. name: deliverygoodsid
  28119. type: integer
  28120. - description: 品类id
  28121. in: query
  28122. name: wrstandardid
  28123. type: integer
  28124. produces:
  28125. - application/json
  28126. responses:
  28127. "200":
  28128. description: OK
  28129. schema:
  28130. items:
  28131. $ref: '#/definitions/models.WrPosition'
  28132. type: array
  28133. "500":
  28134. description: Internal Server Error
  28135. schema:
  28136. $ref: '#/definitions/app.Response'
  28137. security:
  28138. - ApiKeyAuth: []
  28139. summary: 查询现货(预售)仓单持仓
  28140. tags:
  28141. - 仓单贸易v2
  28142. /WrTrade2/QueryWrPreSaleInfo:
  28143. get:
  28144. parameters:
  28145. - description: 市场id
  28146. in: query
  28147. name: marketid
  28148. type: integer
  28149. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28150. in: query
  28151. name: presalestatus
  28152. type: string
  28153. - description: 摇号标识 - 0:未摇号 1:已摇号
  28154. in: query
  28155. name: lotteryflag
  28156. type: integer
  28157. - description: 最近多少条记录(按创建时间倒序)
  28158. in: query
  28159. name: lastnum
  28160. type: integer
  28161. produces:
  28162. - application/json
  28163. responses:
  28164. "200":
  28165. description: OK
  28166. schema:
  28167. items:
  28168. $ref: '#/definitions/models.WrPreSaleInfo'
  28169. type: array
  28170. "500":
  28171. description: Internal Server Error
  28172. schema:
  28173. $ref: '#/definitions/app.Response'
  28174. security:
  28175. - ApiKeyAuth: []
  28176. summary: 查询新品发布
  28177. tags:
  28178. - 仓单贸易v2
  28179. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28180. get:
  28181. parameters:
  28182. - description: 市场id
  28183. in: query
  28184. name: marketid
  28185. required: true
  28186. type: integer
  28187. - description: 现货商品id
  28188. in: query
  28189. name: wrstandardid
  28190. required: true
  28191. type: integer
  28192. - description: 开始交易日(yyyymmdd)
  28193. in: query
  28194. name: begindate
  28195. type: string
  28196. - description: 结束交易日(yyyymmdd)
  28197. in: query
  28198. name: enddate
  28199. type: string
  28200. - description: 最近多少条记录(按交易日倒序)
  28201. in: query
  28202. name: lastnum
  28203. type: integer
  28204. produces:
  28205. - application/json
  28206. responses:
  28207. "200":
  28208. description: OK
  28209. schema:
  28210. items:
  28211. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28212. type: array
  28213. "500":
  28214. description: Internal Server Error
  28215. schema:
  28216. $ref: '#/definitions/app.Response'
  28217. security:
  28218. - ApiKeyAuth: []
  28219. summary: 查询价格走势
  28220. tags:
  28221. - 仓单贸易v2
  28222. /WrTrade2/QueryWrScfContract:
  28223. get:
  28224. parameters:
  28225. - description: 用户id
  28226. in: query
  28227. name: userid
  28228. required: true
  28229. type: integer
  28230. - description: 融资合同id
  28231. in: query
  28232. name: scfcontractid
  28233. type: integer
  28234. produces:
  28235. - application/json
  28236. responses:
  28237. "200":
  28238. description: OK
  28239. schema:
  28240. items:
  28241. $ref: '#/definitions/models.WrScfContract'
  28242. type: array
  28243. "500":
  28244. description: Internal Server Error
  28245. schema:
  28246. $ref: '#/definitions/app.Response'
  28247. security:
  28248. - ApiKeyAuth: []
  28249. summary: 查询仓单贸易融资合同
  28250. tags:
  28251. - 仓单贸易v2
  28252. /WrTrade2/QueryWrScfContractInterest:
  28253. get:
  28254. parameters:
  28255. - description: 融资合同id
  28256. in: query
  28257. name: scfcontractid
  28258. type: integer
  28259. produces:
  28260. - application/json
  28261. responses:
  28262. "200":
  28263. description: OK
  28264. schema:
  28265. items:
  28266. $ref: '#/definitions/models.WrScfContractInterest'
  28267. type: array
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. summary: 查询融资合同费用明细
  28275. tags:
  28276. - 仓单贸易v2
  28277. /WrTrade2/QueryWrSearchUser:
  28278. get:
  28279. parameters:
  28280. - description: 用户名称(模糊匹配)
  28281. in: query
  28282. name: username
  28283. required: true
  28284. type: string
  28285. produces:
  28286. - application/json
  28287. responses:
  28288. "200":
  28289. description: OK
  28290. schema:
  28291. items:
  28292. $ref: '#/definitions/models.WrSearchUser'
  28293. type: array
  28294. "500":
  28295. description: Internal Server Error
  28296. schema:
  28297. $ref: '#/definitions/app.Response'
  28298. security:
  28299. - ApiKeyAuth: []
  28300. summary: 查询用户
  28301. tags:
  28302. - 仓单贸易v2
  28303. /WrTrade2/QueryWrSpecialMatchOrder:
  28304. get:
  28305. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28306. parameters:
  28307. - description: 页码
  28308. in: query
  28309. name: page
  28310. type: integer
  28311. - description: 每页条数
  28312. in: query
  28313. name: pagesize
  28314. type: integer
  28315. - description: 用户id
  28316. in: query
  28317. name: userid
  28318. required: true
  28319. type: integer
  28320. - description: 仓单贸易市场id
  28321. in: query
  28322. name: marketid
  28323. type: integer
  28324. - description: 0:仓单预售 1:仓单贸易
  28325. in: query
  28326. name: haswr
  28327. required: true
  28328. type: integer
  28329. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28330. in: query
  28331. name: isspecified
  28332. type: integer
  28333. produces:
  28334. - application/json
  28335. responses:
  28336. "200":
  28337. description: OK
  28338. schema:
  28339. items:
  28340. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28341. type: array
  28342. "500":
  28343. description: Internal Server Error
  28344. schema:
  28345. $ref: '#/definitions/app.Response'
  28346. security:
  28347. - ApiKeyAuth: []
  28348. summary: 查询指定成交
  28349. tags:
  28350. - 仓单贸易v2
  28351. /WrTrade2/QueryWrStandardFactoryItem:
  28352. get:
  28353. parameters:
  28354. - description: 品类id
  28355. in: query
  28356. name: wrstandardid
  28357. required: true
  28358. type: integer
  28359. produces:
  28360. - application/json
  28361. responses:
  28362. "200":
  28363. description: OK
  28364. schema:
  28365. items:
  28366. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28367. type: array
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. summary: 查询品类要素定义项
  28375. tags:
  28376. - 仓单贸易v2
  28377. /WrTrade2/QueryWrTradeBargainApply:
  28378. get:
  28379. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28380. 议价->对方议价 填写matchuserid=登录用户id
  28381. parameters:
  28382. - description: 议价人id(摘牌方)
  28383. in: query
  28384. name: userid
  28385. type: integer
  28386. - description: 挂牌方id(查对方议价时,填写此项)
  28387. in: query
  28388. name: matchuserid
  28389. type: integer
  28390. - description: 关联委托单id
  28391. in: query
  28392. name: wrtradeorderid
  28393. type: integer
  28394. - description: 0:仓单预售 1:仓单贸易
  28395. in: query
  28396. name: haswr
  28397. required: true
  28398. type: integer
  28399. - description: 开始交易日(yyyymmdd)
  28400. in: query
  28401. name: begindate
  28402. type: string
  28403. - description: 结束交易日(yyyymmdd)
  28404. in: query
  28405. name: enddate
  28406. type: string
  28407. produces:
  28408. - application/json
  28409. responses:
  28410. "200":
  28411. description: OK
  28412. schema:
  28413. items:
  28414. $ref: '#/definitions/models.WRTradeBargainApply'
  28415. type: array
  28416. "500":
  28417. description: Internal Server Error
  28418. schema:
  28419. $ref: '#/definitions/app.Response'
  28420. security:
  28421. - ApiKeyAuth: []
  28422. summary: 查询议价单
  28423. tags:
  28424. - 仓单贸易v2
  28425. /WrTrade2/QueryWrTradeDetail:
  28426. get:
  28427. parameters:
  28428. - description: 页码
  28429. in: query
  28430. name: page
  28431. type: integer
  28432. - description: 每页条数
  28433. in: query
  28434. name: pagesize
  28435. type: integer
  28436. - description: 用户id
  28437. in: query
  28438. name: userid
  28439. required: true
  28440. type: integer
  28441. - description: 仓单贸易市场id
  28442. in: query
  28443. name: marketid
  28444. type: integer
  28445. - description: 0:仓单预售 1:仓单贸易
  28446. in: query
  28447. name: haswr
  28448. required: true
  28449. type: integer
  28450. - description: 开始交易日(yyyymmdd)
  28451. in: query
  28452. name: begindate
  28453. type: string
  28454. - description: 结束交易日(yyyymmdd)
  28455. in: query
  28456. name: enddate
  28457. type: string
  28458. produces:
  28459. - application/json
  28460. responses:
  28461. "200":
  28462. description: OK
  28463. schema:
  28464. items:
  28465. $ref: '#/definitions/models.WrTradeDetail'
  28466. type: array
  28467. "500":
  28468. description: Internal Server Error
  28469. schema:
  28470. $ref: '#/definitions/app.Response'
  28471. security:
  28472. - ApiKeyAuth: []
  28473. summary: 查询仓单成交明细
  28474. tags:
  28475. - 仓单贸易v2
  28476. /WrTrade2/QueryWrTradeOrderDetail:
  28477. get:
  28478. parameters:
  28479. - description: 页码
  28480. in: query
  28481. name: page
  28482. type: integer
  28483. - description: 每页条数
  28484. in: query
  28485. name: pagesize
  28486. type: integer
  28487. - description: 商品id
  28488. in: query
  28489. name: goodsid
  28490. required: true
  28491. type: integer
  28492. - description: 买卖方向 0-买 1-卖
  28493. in: query
  28494. name: buyorsell
  28495. required: true
  28496. type: integer
  28497. produces:
  28498. - application/json
  28499. responses:
  28500. "200":
  28501. description: OK
  28502. schema:
  28503. items:
  28504. $ref: '#/definitions/models.WrTradeOrderDetail'
  28505. type: array
  28506. "500":
  28507. description: Internal Server Error
  28508. schema:
  28509. $ref: '#/definitions/app.Response'
  28510. security:
  28511. - ApiKeyAuth: []
  28512. summary: 查询合约交易买卖大厅
  28513. tags:
  28514. - 仓单贸易v2
  28515. /WrTrade2/QueryWrUserFriend:
  28516. get:
  28517. parameters:
  28518. - description: 用户id
  28519. in: query
  28520. name: userid
  28521. required: true
  28522. type: integer
  28523. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28524. in: query
  28525. name: newuserid
  28526. type: integer
  28527. produces:
  28528. - application/json
  28529. responses:
  28530. "200":
  28531. description: OK
  28532. schema:
  28533. items:
  28534. $ref: '#/definitions/models.WrUserFriend'
  28535. type: array
  28536. "500":
  28537. description: Internal Server Error
  28538. schema:
  28539. $ref: '#/definitions/app.Response'
  28540. security:
  28541. - ApiKeyAuth: []
  28542. summary: 查询我的朋友
  28543. tags:
  28544. - 仓单贸易v2
  28545. /WrTrade2/QueryWrUserReceiptInfo:
  28546. get:
  28547. parameters:
  28548. - description: 用户id
  28549. in: query
  28550. name: userid
  28551. type: integer
  28552. - description: 发票类型 - 1:个人 2:企业
  28553. in: query
  28554. name: receipttype
  28555. type: integer
  28556. produces:
  28557. - application/json
  28558. responses:
  28559. "200":
  28560. description: OK
  28561. schema:
  28562. items:
  28563. $ref: '#/definitions/models.WrUserReceiptInfo'
  28564. type: array
  28565. "500":
  28566. description: Internal Server Error
  28567. schema:
  28568. $ref: '#/definitions/app.Response'
  28569. security:
  28570. - ApiKeyAuth: []
  28571. summary: 查询发票信息
  28572. tags:
  28573. - 仓单贸易v2
  28574. /ZJ/GetBankTip:
  28575. get:
  28576. produces:
  28577. - application/json
  28578. responses:
  28579. "200":
  28580. description: OK
  28581. schema:
  28582. type: string
  28583. "500":
  28584. description: Internal Server Error
  28585. schema:
  28586. $ref: '#/definitions/app.Response'
  28587. summary: 获取中江网银端出入金提示信息
  28588. tags:
  28589. - 中江
  28590. /ZJ/GetCusBankChannels:
  28591. get:
  28592. produces:
  28593. - application/json
  28594. responses:
  28595. "200":
  28596. description: OK
  28597. schema:
  28598. items:
  28599. type: string
  28600. type: array
  28601. "500":
  28602. description: Internal Server Error
  28603. schema:
  28604. $ref: '#/definitions/app.Response'
  28605. summary: 获取中江出入金渠道显示列表
  28606. tags:
  28607. - 中江
  28608. securityDefinitions:
  28609. ApiKeyAuth:
  28610. in: header
  28611. name: Authorization
  28612. type: apiKey
  28613. swagger: "2.0"