swagger.yaml 878 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp2AreaExposure:
  3973. properties:
  3974. areauserid:
  3975. description: 所属机构
  3976. type: integer
  3977. enumdicname:
  3978. description: 单位
  3979. type: string
  3980. futureqty:
  3981. description: 期货套期量
  3982. type: number
  3983. goodsunitid:
  3984. description: 单位ID
  3985. type: integer
  3986. hedgedspotexposure:
  3987. description: 被套期现货敞口量
  3988. type: number
  3989. hedgedspratio:
  3990. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  3991. type: number
  3992. hedgedtotalexposure:
  3993. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  3994. type: number
  3995. hedgeplanqty:
  3996. description: 套期计划量
  3997. type: number
  3998. hedgespotqty:
  3999. description: 被套期现货量
  4000. type: number
  4001. middlegoodsid:
  4002. description: 套保品种
  4003. type: integer
  4004. middlegoodsname:
  4005. description: 套保品种名称
  4006. type: string
  4007. orifutureqty:
  4008. description: 期初期货套期量
  4009. type: number
  4010. orihedgedspotexposure:
  4011. description: 期初被套期现货敞口量
  4012. type: number
  4013. orihedgedtotalexposure:
  4014. description: 期初套期敞口量
  4015. type: number
  4016. orihedgeplanqty:
  4017. description: 期初套期计划量
  4018. type: number
  4019. orihedgespotqty:
  4020. description: 期初被套期现货量
  4021. type: number
  4022. orispotexposure:
  4023. description: 期初现货敞口量
  4024. type: number
  4025. orispotqty:
  4026. description: 期初现货总量
  4027. type: number
  4028. oritotalexposure:
  4029. description: 期初总敞口量
  4030. type: number
  4031. spotexposure:
  4032. description: 现货敞口量
  4033. type: number
  4034. spotqty:
  4035. description: 现货总量
  4036. type: number
  4037. spratio:
  4038. description: 总期现比例 = 期货套期量/现货敞口量
  4039. type: number
  4040. totalexposure:
  4041. description: 总敞口量 = 现货敞口量 + 期货套期量
  4042. type: number
  4043. updatetime:
  4044. description: 更新时间 --DATE
  4045. type: string
  4046. type: object
  4047. models.Ermcp2hedgeditem:
  4048. properties:
  4049. accountname:
  4050. description: 套期主体
  4051. type: string
  4052. applyid:
  4053. description: 申请人
  4054. type: integer
  4055. applysrc:
  4056. description: 申请来源 - 1:管理端 2:终端
  4057. type: integer
  4058. areauserid:
  4059. description: 企业ID
  4060. type: integer
  4061. auditid:
  4062. description: 审核人
  4063. type: integer
  4064. auditremark:
  4065. description: 审核备注
  4066. type: string
  4067. auditsrc:
  4068. description: 审核来源 - 1:管理端 2:终端
  4069. type: integer
  4070. audittime:
  4071. description: 审核时间
  4072. type: string
  4073. audittradedate:
  4074. description: 审核交易日(yyyyMMdd)
  4075. type: string
  4076. createtime:
  4077. description: 申请时间
  4078. type: string
  4079. curprice:
  4080. description: 当前市场价
  4081. type: number
  4082. curstock:
  4083. description: 期末库存量 = 采购总量 - 销售总量
  4084. type: number
  4085. deliverygoodsid:
  4086. description: 现货品种ID
  4087. type: integer
  4088. enddate:
  4089. description: 完成日期
  4090. type: string
  4091. endtradedate:
  4092. description: 完成交易日
  4093. type: string
  4094. enumdicname:
  4095. description: 单位
  4096. type: string
  4097. exeamount:
  4098. description: 执行市价总额
  4099. type: number
  4100. exeavgprice:
  4101. description: 执行市场均价= 执行市价总额 / 执行现货量
  4102. type: number
  4103. execontractamount:
  4104. description: 执行定价总额
  4105. type: number
  4106. exeqty:
  4107. description: 执行现货量
  4108. type: number
  4109. exerestamount:
  4110. description: 执行剩余市价总额【现货贸易】
  4111. type: number
  4112. futurefloatpl:
  4113. description: 期货浮动损益
  4114. type: number
  4115. futurehedgepl:
  4116. description: 期货实际损益
  4117. type: number
  4118. futurehedgeplchange:
  4119. description: 期货实际损益变动
  4120. type: number
  4121. futurepl:
  4122. description: 期货套期损益
  4123. type: number
  4124. futureplchange:
  4125. description: 期货套期损益变动
  4126. type: number
  4127. hedgeamount:
  4128. description: 套期市价总额
  4129. type: number
  4130. hedgecontractamount:
  4131. description: 套期定价总额 【定价采购合同】【现货贸易】
  4132. type: number
  4133. hedgeditemid:
  4134. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4135. type: string
  4136. hedgeditemname:
  4137. description: 项目名称
  4138. type: string
  4139. hedgeditemnum:
  4140. description: 项目编号
  4141. type: string
  4142. hedgeditemstatus:
  4143. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4144. type: integer
  4145. hedgedtype:
  4146. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4147. type: integer
  4148. hedgeqty:
  4149. description: 套期现货量
  4150. type: number
  4151. hedgerate:
  4152. description: 套保比率
  4153. type: number
  4154. hedgerestamount:
  4155. description: 套期剩余市价总额【现货贸易】
  4156. type: number
  4157. hedgesumpl:
  4158. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4159. type: number
  4160. middlegoodslist:
  4161. description: 套期商品列表
  4162. items:
  4163. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4164. type: array
  4165. oriavgprice:
  4166. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4167. type: number
  4168. orifuturehedgepl:
  4169. description: 期初期货实际损益
  4170. type: number
  4171. orifuturepl:
  4172. description: 期初期货套期损益
  4173. type: number
  4174. orispothedgepl:
  4175. description: 期初现货实际损益
  4176. type: number
  4177. orispotpl:
  4178. description: 期初现货套期损益
  4179. type: number
  4180. planenddate:
  4181. description: 计划结束日期
  4182. type: string
  4183. planstartdate:
  4184. description: 计划开始日期
  4185. type: string
  4186. remark:
  4187. description: 备注
  4188. type: string
  4189. spotbookamount:
  4190. description: 现货账面总额
  4191. type: number
  4192. spotfloatpl:
  4193. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4194. type: number
  4195. spothedgepl:
  4196. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4197. type: number
  4198. spothedgeplchange:
  4199. description: 现货实际损益变动
  4200. type: number
  4201. spotpl:
  4202. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4203. type: number
  4204. spotplchange:
  4205. description: 现货套期损益变动
  4206. type: number
  4207. spottradepl:
  4208. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4209. type: number
  4210. sumobspl:
  4211. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4212. type: number
  4213. tradeuserid:
  4214. description: 交易用户ID
  4215. type: integer
  4216. unexeqty:
  4217. description: 未执行现货量 = 套期现货量 - 执行现货量
  4218. type: number
  4219. updatetime:
  4220. description: 更新时间
  4221. type: string
  4222. vatpl:
  4223. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4224. type: number
  4225. vatrate:
  4226. description: 增值税
  4227. type: number
  4228. wrstandardid:
  4229. description: 现货商品ID
  4230. type: integer
  4231. wrstandardname:
  4232. description: 商品名称
  4233. type: string
  4234. type: object
  4235. models.Ermcp2hedgeditemsDetail:
  4236. properties:
  4237. accountname:
  4238. description: 套期主体
  4239. type: string
  4240. areauserid:
  4241. description: 企业ID
  4242. type: integer
  4243. createtime:
  4244. description: 创建时间
  4245. type: string
  4246. customeruserid:
  4247. description: 对手方 【3:采购合同 4:销售合同】
  4248. type: integer
  4249. deliverygoodsid:
  4250. description: 现货品种ID
  4251. type: integer
  4252. enumdicname:
  4253. description: 单位
  4254. type: string
  4255. hedgeditemid:
  4256. description: 被套期项目ID
  4257. type: string
  4258. hedgeditemspotid:
  4259. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4260. type: string
  4261. hedgedtype:
  4262. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4263. type: integer
  4264. hedgeplanno:
  4265. description: 计划编号
  4266. type: string
  4267. oriavgprice:
  4268. description: 期初市场价[当初市场价]
  4269. type: number
  4270. relatedamount:
  4271. description: 市价总额 = 关联数量 * 期初市场价
  4272. type: number
  4273. relatedhedgeplanid:
  4274. description: 关联计划ID 【1:采购计划 2:销售计划】
  4275. type: integer
  4276. relatedqty:
  4277. description: '[期间变化量]关联数量'
  4278. type: number
  4279. relatedspotcontractid:
  4280. description: 关联合同ID 【3:采购合同 4:销售合同】
  4281. type: integer
  4282. relatedtype:
  4283. description: 关联类型 - 1:套期关联 2:执行关联
  4284. type: integer
  4285. spotgoodsbrandid:
  4286. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4287. type: integer
  4288. spotpricedamount:
  4289. description: 定价总额
  4290. type: number
  4291. spotpricedavgprice:
  4292. description: 现货均价 = 定价总额 / 关联数量
  4293. type: number
  4294. spottype:
  4295. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4296. type: integer
  4297. tradeuserid:
  4298. description: 交易用户ID
  4299. type: integer
  4300. unexeqty:
  4301. description: 未执行现货量 = 套期现货量 - 执行现货量
  4302. type: number
  4303. wrstandardid:
  4304. description: 现货商品ID
  4305. type: integer
  4306. wrstandardname:
  4307. description: 现货商品
  4308. type: string
  4309. type: object
  4310. models.Ermcp2hedgeditemspot:
  4311. properties:
  4312. areauserid:
  4313. description: 企业ID
  4314. type: integer
  4315. createtime:
  4316. description: 创建时间
  4317. type: string
  4318. customeruserid:
  4319. description: 对手方 【3:采购合同 4:销售合同】
  4320. type: integer
  4321. deliverygoodsid:
  4322. description: 现货品种ID
  4323. type: integer
  4324. enumdicname:
  4325. description: 单位
  4326. type: string
  4327. hedgeditemid:
  4328. description: 被套期项目ID
  4329. type: string
  4330. hedgeditemspotid:
  4331. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4332. type: string
  4333. hedgedtype:
  4334. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4335. type: integer
  4336. hedgeplanno:
  4337. description: 计划编号
  4338. type: string
  4339. oriavgprice:
  4340. description: 期初市场价[当初市场价]
  4341. type: number
  4342. relatedamount:
  4343. description: 市价总额 = 关联数量 * 期初市场价
  4344. type: number
  4345. relatedhedgeplanid:
  4346. description: 关联计划ID 【1:采购计划 2:销售计划】
  4347. type: integer
  4348. relatedqty:
  4349. description: 关联数量[数量]
  4350. type: number
  4351. relatedspotcontractid:
  4352. description: 关联合同ID 【3:采购合同 4:销售合同】
  4353. type: integer
  4354. relatedtype:
  4355. description: 关联类型 - 1:套期关联 2:执行关联
  4356. type: integer
  4357. spotgoodsbrandid:
  4358. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4359. type: integer
  4360. spotpricedamount:
  4361. description: 定价总额
  4362. type: number
  4363. spotpricedavgprice:
  4364. description: 现货均价 = 定价总额 / 关联数量
  4365. type: number
  4366. spottype:
  4367. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4368. type: integer
  4369. tradeuserid:
  4370. description: 交易用户ID
  4371. type: integer
  4372. wrstandardid:
  4373. description: 现货商品ID
  4374. type: integer
  4375. wrstandardname:
  4376. description: 现货商品
  4377. type: string
  4378. required:
  4379. - hedgeditemid
  4380. type: object
  4381. models.Ermcp2hedgeditemspotDetail:
  4382. properties:
  4383. accountname:
  4384. description: 对手方
  4385. type: string
  4386. areauserid:
  4387. description: 企业ID
  4388. type: integer
  4389. brandname:
  4390. description: 品牌
  4391. type: string
  4392. contractno:
  4393. description: 合同编号
  4394. type: string
  4395. createtime:
  4396. description: 创建时间
  4397. type: string
  4398. customeruserid:
  4399. description: 对手方 【3:采购合同 4:销售合同】
  4400. type: integer
  4401. deliverygoodsid:
  4402. description: 现货品种ID
  4403. type: integer
  4404. enumdicname:
  4405. description: 单位
  4406. type: string
  4407. hedgeditemid:
  4408. description: 被套期项目ID
  4409. type: string
  4410. hedgeditemspotid:
  4411. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4412. type: string
  4413. hedgedtype:
  4414. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4415. type: integer
  4416. oriavgprice:
  4417. description: 期初市场价[当初市场价]
  4418. type: number
  4419. relatedamount:
  4420. description: 市价总额 = 关联数量 * 期初市场价
  4421. type: number
  4422. relatedhedgeplanid:
  4423. description: 关联计划ID 【1:采购计划 2:销售计划】
  4424. type: integer
  4425. relatedqty:
  4426. description: 关联数量[数量]
  4427. type: number
  4428. relatedspotcontractid:
  4429. description: 关联合同ID 【3:采购合同 4:销售合同】
  4430. type: integer
  4431. relatedtype:
  4432. description: 关联类型 - 1:套期关联 2:执行关联
  4433. type: integer
  4434. spotgoodsbrandid:
  4435. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4436. type: integer
  4437. spotpricedamount:
  4438. description: 定价总额[金额]
  4439. type: number
  4440. spotpricedavgprice:
  4441. description: 现货均价 = 定价总额 / 关联数量
  4442. type: number
  4443. spottype:
  4444. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4445. type: integer
  4446. tradeuserid:
  4447. description: 交易用户ID
  4448. type: integer
  4449. wrstandardid:
  4450. description: 现货商品ID
  4451. type: integer
  4452. wrstandardname:
  4453. description: 现货商品
  4454. type: string
  4455. required:
  4456. - hedgeditemid
  4457. type: object
  4458. models.Ermcp2himiddlegoods:
  4459. properties:
  4460. futurehedgeqty:
  4461. description: 期货持仓套期量
  4462. type: number
  4463. hedgeditemid:
  4464. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4465. type: integer
  4466. hiexpsoure:
  4467. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4468. type: number
  4469. middlegoodscode:
  4470. description: 套保商品代码
  4471. type: string
  4472. middlegoodsid:
  4473. description: 套保品种ID
  4474. type: integer
  4475. middlegoodsname:
  4476. description: 套保商品名称
  4477. type: string
  4478. unexehedgeqty:
  4479. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4480. type: number
  4481. required:
  4482. - hedgeditemid
  4483. - middlegoodsid
  4484. type: object
  4485. models.Ermcp2stockspotchangelog:
  4486. properties:
  4487. accountname:
  4488. description: 套期主体
  4489. type: string
  4490. aftervalue:
  4491. description: 现货量
  4492. type: number
  4493. beforevalue:
  4494. description: 变更前现货量
  4495. type: number
  4496. contracttype:
  4497. description: 现货合同类型 - 1:采购 -1:销售
  4498. type: integer
  4499. createtime:
  4500. description: 创建时间
  4501. type: string
  4502. customerusername:
  4503. description: 对手方
  4504. type: string
  4505. deliverygoodsid:
  4506. description: 现货品种ID
  4507. type: integer
  4508. exetype:
  4509. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4510. type: integer
  4511. logid:
  4512. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4513. type: integer
  4514. logvalue:
  4515. description: 现货量变更值
  4516. type: number
  4517. middlegoodschange:
  4518. description: 套期商品变化量 = LogValue * 折算系数* (1/(1+增值税))
  4519. type: number
  4520. operatelogtype:
  4521. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4522. 27:生产出库
  4523. type: integer
  4524. relatedid:
  4525. description: 现货合同ID
  4526. type: integer
  4527. spotgoodsbrandid:
  4528. description: 现货品牌ID
  4529. type: integer
  4530. tradedate:
  4531. description: 交易日(yyyyMMdd)
  4532. type: string
  4533. userid:
  4534. description: 机构ID
  4535. type: integer
  4536. warehouseinfoid:
  4537. description: 仓库ID
  4538. type: integer
  4539. wrfactortypeid:
  4540. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4541. type: integer
  4542. wrstandardid:
  4543. description: 现货商品ID
  4544. type: integer
  4545. wrstandardname:
  4546. description: 商品名称 LogValue * 折算系数* (1/(1+增值税))
  4547. type: string
  4548. type: object
  4549. models.Ermcp3AreaSpot:
  4550. properties:
  4551. areauserid:
  4552. description: 所属机构
  4553. type: integer
  4554. convertratio:
  4555. description: 套保系数
  4556. type: number
  4557. decreaseqty:
  4558. description: 减少数量=-(销售已定价数量+采购计划数量)
  4559. type: number
  4560. enumdicname:
  4561. description: 单位名称
  4562. type: string
  4563. increaseqty:
  4564. description: 增加数量=销售计划数量+采购已定价数量
  4565. type: number
  4566. oritoalspotqty:
  4567. description: 昨日数量
  4568. type: number
  4569. totalspotqty:
  4570. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4571. type: number
  4572. unitid:
  4573. description: 现货商品单位id
  4574. type: integer
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrstandardcode:
  4579. description: 现货商品代码
  4580. type: string
  4581. wrstandardid:
  4582. description: 现货商品ID(SEQ_WRSTANDARD)
  4583. type: integer
  4584. wrstandardname:
  4585. description: 现货商品名称
  4586. type: string
  4587. type: object
  4588. models.Ermcp3AreaSpotDetail:
  4589. properties:
  4590. contracttype:
  4591. description: 合同类型 1-采购 -1-销售
  4592. type: integer
  4593. createtime:
  4594. description: 创建时间
  4595. type: string
  4596. enumdicname:
  4597. description: 现货商品单位名称
  4598. type: string
  4599. logtype:
  4600. description: 记录类型 1-套保 2-现货合同
  4601. type: integer
  4602. qty:
  4603. description: 数量
  4604. type: number
  4605. recordname:
  4606. description: 类型名称
  4607. type: string
  4608. relatedid:
  4609. description: 套保计划ID/现货合同ID
  4610. type: string
  4611. relatedno:
  4612. description: 编号
  4613. type: string
  4614. strtime:
  4615. description: 时间
  4616. type: string
  4617. wrstandardcode:
  4618. description: 现货商品代码
  4619. type: string
  4620. wrstandardid:
  4621. description: 现货商品ID(SEQ_WRSTANDARD)
  4622. type: integer
  4623. wrstandardname:
  4624. description: 现货商品名称
  4625. type: string
  4626. type: object
  4627. models.Ermcp3AreaSpotPLReport:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户ID (作废, 默认为0)
  4631. type: integer
  4632. accountname:
  4633. description: 机构名称
  4634. type: string
  4635. actualpl:
  4636. description: 现货损益
  4637. type: number
  4638. areauserid:
  4639. description: 所属机构\交易用户ID
  4640. type: integer
  4641. begindate:
  4642. description: 开始交易日
  4643. type: string
  4644. biztype:
  4645. description: 业务类型 - 1:套保 2:套利
  4646. type: integer
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. curamount:
  4651. description: 期末额
  4652. type: number
  4653. curaverageprice:
  4654. description: 期末均价
  4655. type: number
  4656. curbuyamount:
  4657. description: 期末采购总额
  4658. type: number
  4659. curbuyqty:
  4660. description: 期末采购总量
  4661. type: number
  4662. curmarketvalue:
  4663. description: 参考市值(期末市值)
  4664. type: number
  4665. curqty:
  4666. description: 期末量
  4667. type: number
  4668. currencyid:
  4669. description: 结算币种ID【原值】
  4670. type: integer
  4671. currencyname:
  4672. description: 币种名称
  4673. type: string
  4674. cursellamount:
  4675. description: 期末销售总额
  4676. type: number
  4677. cursellqty:
  4678. description: 期末销售总量
  4679. type: number
  4680. curspotprice:
  4681. description: 参考市价(最新价)
  4682. type: number
  4683. cycletime:
  4684. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4685. type: string
  4686. cycletype:
  4687. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4688. type: integer
  4689. deliverygoodscode:
  4690. description: 现货品种代码
  4691. type: string
  4692. deliverygoodsid:
  4693. description: 现货品种ID
  4694. type: integer
  4695. deliverygoodsname:
  4696. description: 现货品种名称
  4697. type: string
  4698. enddate:
  4699. description: 结束交易日
  4700. type: string
  4701. enumdicname:
  4702. description: 现货品种单位名称(作废)
  4703. type: string
  4704. floatpl:
  4705. description: 浮动损益
  4706. type: number
  4707. goodsunitid:
  4708. description: 现货品种单位id(作废)
  4709. type: integer
  4710. oriamount:
  4711. description: 期初额
  4712. type: number
  4713. oriaverageprice:
  4714. description: 期初均价
  4715. type: number
  4716. oribuyamount:
  4717. description: 期初采购总额
  4718. type: number
  4719. oribuyqty:
  4720. description: 期初采购总量
  4721. type: number
  4722. oriqty:
  4723. description: 期初量
  4724. type: number
  4725. orisellamount:
  4726. description: 期初销售总额
  4727. type: number
  4728. orisellqty:
  4729. description: 期初销售总量
  4730. type: number
  4731. reckondate:
  4732. description: 日照时期(yyyyMMdd)
  4733. type: string
  4734. spotgoodsbrandid:
  4735. description: 现货品牌ID
  4736. type: integer
  4737. todaybuyamount:
  4738. description: 今日采购额(今采购额)
  4739. type: number
  4740. todaybuyaverageprice:
  4741. description: 今日采购均价
  4742. type: number
  4743. todaybuyqty:
  4744. description: 今日采购量(今采购量)
  4745. type: number
  4746. todayinqty:
  4747. description: 今日入库量(今入库量)
  4748. type: number
  4749. todayoutqty:
  4750. description: 今日出库量(今出库量)
  4751. type: number
  4752. todaysellamount:
  4753. description: 今日销售额(今销售额)
  4754. type: number
  4755. todaysellaverageprice:
  4756. description: 今日销售均价
  4757. type: number
  4758. todaysellqty:
  4759. description: 今日销售量(今销售量)
  4760. type: number
  4761. unitid:
  4762. description: 品类单位id
  4763. type: integer
  4764. unitidname:
  4765. description: 品类单位名称
  4766. type: string
  4767. updatetime:
  4768. description: 更新时间
  4769. type: string
  4770. wrfactortypeid:
  4771. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4772. type: integer
  4773. wrstandardcode:
  4774. description: 现货商品(品类)代码
  4775. type: string
  4776. wrstandardid:
  4777. description: 现货品类ID
  4778. type: integer
  4779. wrstandardname:
  4780. description: 现货商品(品类)名称
  4781. type: string
  4782. type: object
  4783. models.Ermcp3AreaStock:
  4784. properties:
  4785. brandname:
  4786. description: 品牌名称
  4787. type: string
  4788. curstock:
  4789. description: 期末库存量(今日量)
  4790. type: number
  4791. deliverygoodscode:
  4792. description: 现货品种代码
  4793. type: string
  4794. deliverygoodsid:
  4795. description: 现货品种id
  4796. type: integer
  4797. deliverygoodsname:
  4798. description: 现货品种名称
  4799. type: string
  4800. enumdicname:
  4801. description: 单位名称
  4802. type: string
  4803. goodsunitid:
  4804. description: 现货商品单位id
  4805. type: integer
  4806. oristock:
  4807. description: 期初库存量(昨日量)
  4808. type: number
  4809. spotgoodsbrandid:
  4810. description: 现货品牌ID
  4811. type: integer
  4812. todaybuyinqty:
  4813. description: 今日采购入库量
  4814. type: number
  4815. todayproduceinqty:
  4816. description: 今日生产入库量
  4817. type: number
  4818. todayproduceoutqty:
  4819. description: 今日生产出库量
  4820. type: number
  4821. todayselloutqty:
  4822. description: 今日销售出库量
  4823. type: number
  4824. unitid:
  4825. description: 单位id
  4826. type: integer
  4827. updatetime:
  4828. description: 更新时间
  4829. type: string
  4830. userid:
  4831. description: 机构ID
  4832. type: integer
  4833. username:
  4834. description: 机构名称
  4835. type: string
  4836. warehousecode:
  4837. description: 仓库代码
  4838. type: string
  4839. warehouseinfoid:
  4840. description: 仓库ID
  4841. type: string
  4842. warehousename:
  4843. description: 仓库名称
  4844. type: string
  4845. warehousetype:
  4846. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4847. type: integer
  4848. wrstandardcode:
  4849. description: 品类代码
  4850. type: string
  4851. wrstandardid:
  4852. description: 品类ID
  4853. type: string
  4854. wrstandardname:
  4855. description: 品类名称
  4856. type: string
  4857. required:
  4858. - userid
  4859. type: object
  4860. models.Ermcp3AreaStockApply:
  4861. properties:
  4862. applyid:
  4863. description: 申请人
  4864. type: integer
  4865. applyname:
  4866. description: 申请人名称
  4867. type: string
  4868. applyremark:
  4869. description: 申请备注
  4870. type: string
  4871. applysrc:
  4872. description: 申请来源 - 1:管理端 2:终端
  4873. type: integer
  4874. applystatus:
  4875. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4876. type: integer
  4877. applytime:
  4878. description: 申请时间
  4879. type: string
  4880. auditid:
  4881. description: 审核人
  4882. type: integer
  4883. auditname:
  4884. description: 审核人名称
  4885. type: string
  4886. auditremark:
  4887. description: 审核备注
  4888. type: string
  4889. auditsrc:
  4890. description: 审核来源 - 1:管理端 2:终端
  4891. type: integer
  4892. audittime:
  4893. description: 审核时间
  4894. type: string
  4895. audittradedate:
  4896. description: 审核交易日(yyyyMMdd)
  4897. type: string
  4898. brandname:
  4899. description: 品牌名称
  4900. type: string
  4901. buynickname:
  4902. description: 采购方昵称
  4903. type: string
  4904. buyuserid:
  4905. description: 采购方userid
  4906. type: integer
  4907. buyusername:
  4908. description: 采购方名称
  4909. type: string
  4910. contractno:
  4911. description: 合同编号
  4912. type: string
  4913. contractqty:
  4914. description: 合同量
  4915. type: number
  4916. contracttype:
  4917. description: 现货合同类型 - 1:采购 -1:销售
  4918. type: integer
  4919. deliverygoodscode:
  4920. description: 现货品种代码
  4921. type: string
  4922. deliverygoodsid:
  4923. description: 现货品种id
  4924. type: integer
  4925. deliverygoodsname:
  4926. description: 现货品种名称
  4927. type: string
  4928. detailjson:
  4929. description: 明细数据
  4930. type: string
  4931. enumdicname:
  4932. description: 现货商品单位名称
  4933. type: string
  4934. inoutapplyid:
  4935. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4936. type: string
  4937. inouttype:
  4938. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4939. type: integer
  4940. pricetype:
  4941. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4942. type: integer
  4943. qty:
  4944. description: 数量
  4945. type: number
  4946. sellnickname:
  4947. description: 销售方昵称
  4948. type: string
  4949. selluserid:
  4950. description: 销售方userid
  4951. type: integer
  4952. sellusername:
  4953. description: 销售方名称
  4954. type: string
  4955. spotcontractid:
  4956. description: 关联现货合同ID
  4957. type: string
  4958. spotgoodsbrandid:
  4959. description: 现货品牌ID
  4960. type: integer
  4961. unitid:
  4962. description: 单位id
  4963. type: integer
  4964. userid:
  4965. description: 机构ID
  4966. type: integer
  4967. warehousecode:
  4968. description: 仓库代码
  4969. type: string
  4970. warehouseinfoid:
  4971. description: 现货仓库ID
  4972. type: string
  4973. warehousename:
  4974. description: 仓库名称
  4975. type: string
  4976. warehousetype:
  4977. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4978. type: integer
  4979. wrstandardcode:
  4980. description: 品类代码
  4981. type: string
  4982. wrstandardid:
  4983. description: 品类ID
  4984. type: integer
  4985. wrstandardname:
  4986. description: 品类名称
  4987. type: string
  4988. type: object
  4989. models.Ermcp3AreaStockApplySum:
  4990. properties:
  4991. brandname:
  4992. description: 品牌名称
  4993. type: string
  4994. inouttype:
  4995. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4996. type: integer
  4997. spotcontractid:
  4998. description: 关联现货合同ID
  4999. type: string
  5000. spotgoodsbrandid:
  5001. description: 品牌id
  5002. type: integer
  5003. totalqty:
  5004. description: 总数量
  5005. type: number
  5006. wrstandardid:
  5007. description: 品类id
  5008. type: integer
  5009. wrstandardname:
  5010. description: 品类名称
  5011. type: string
  5012. type: object
  5013. models.Ermcp3AreaStockReportEx:
  5014. properties:
  5015. begindate:
  5016. description: 开始交易日
  5017. type: string
  5018. brandname:
  5019. description: 品牌名称
  5020. type: string
  5021. curstock:
  5022. description: 期末库存量
  5023. type: number
  5024. cycletime:
  5025. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5026. type: string
  5027. cycletype:
  5028. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5029. type: integer
  5030. deliverygoodscode:
  5031. description: 现货品种代码
  5032. type: string
  5033. deliverygoodsid:
  5034. description: 现货品种id
  5035. type: integer
  5036. deliverygoodsname:
  5037. description: 现货品种名称
  5038. type: string
  5039. diffqty:
  5040. description: 库存变化量 = 期末 - 期初
  5041. type: number
  5042. enddate:
  5043. description: 结束交易日
  5044. type: string
  5045. enumdicname:
  5046. description: 单位名称
  5047. type: string
  5048. goodsunitid:
  5049. description: 现货单位id
  5050. type: integer
  5051. oristock:
  5052. description: 期初库存量
  5053. type: number
  5054. reckondate:
  5055. description: 日照时期(yyyyMMdd)
  5056. type: string
  5057. spotgoodsbrandid:
  5058. description: 现货品牌ID
  5059. type: integer
  5060. todaybuyinqty:
  5061. description: 今采购入库量
  5062. type: number
  5063. todayproduceinqty:
  5064. description: 今内部入库量
  5065. type: number
  5066. todayproduceoutqty:
  5067. description: 今内部出库量
  5068. type: number
  5069. todayselloutqty:
  5070. description: 今销售出库量
  5071. type: number
  5072. unbuyinqty:
  5073. description: 采购未入库量(数据库未找到相关字段?)
  5074. type: number
  5075. unitid:
  5076. description: 品类单位id
  5077. type: integer
  5078. unselloutqty:
  5079. description: 销售未出库量(数据库未找到相关字段?)
  5080. type: number
  5081. updatetime:
  5082. description: 更新时间
  5083. type: string
  5084. userid:
  5085. description: 机构ID
  5086. type: integer
  5087. username:
  5088. description: 机构名称
  5089. type: string
  5090. warehousecode:
  5091. description: 仓库代码
  5092. type: string
  5093. warehouseinfoid:
  5094. description: 仓库ID
  5095. type: string
  5096. warehousename:
  5097. description: 仓库名称
  5098. type: string
  5099. warehousetype:
  5100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5101. type: integer
  5102. wrstandardcode:
  5103. description: 品类代码
  5104. type: string
  5105. wrstandardid:
  5106. description: 品类ID
  5107. type: integer
  5108. wrstandardname:
  5109. description: 品类名称
  5110. type: string
  5111. type: object
  5112. models.Ermcp3ArealSumPL:
  5113. properties:
  5114. accountname:
  5115. description: 机构名称
  5116. type: string
  5117. areauserid:
  5118. description: 所属机构\交易用户ID
  5119. type: integer
  5120. begindate:
  5121. description: 开始交易日
  5122. type: string
  5123. currencyid:
  5124. description: 结算币种ID
  5125. type: integer
  5126. currencyname:
  5127. description: 币种名称
  5128. type: string
  5129. cycletime:
  5130. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5131. type: string
  5132. cycletype:
  5133. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5134. type: integer
  5135. enddate:
  5136. description: 结束交易日
  5137. type: string
  5138. enumdicname:
  5139. description: 单位名称(套保品种)
  5140. type: string
  5141. futureactualpl:
  5142. description: 期货损益
  5143. type: number
  5144. futurefloatpl:
  5145. description: 期货浮动损益
  5146. type: number
  5147. futurespotratio:
  5148. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5149. type: number
  5150. goodsunitid:
  5151. description: 套保品种单位id
  5152. type: integer
  5153. hedgeexposurepl:
  5154. description: 套保敞口损益
  5155. type: number
  5156. middlegoodscode:
  5157. description: 套保品种代码
  5158. type: string
  5159. middlegoodsid:
  5160. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5161. type: integer
  5162. middlegoodsname:
  5163. description: 套保品种名称
  5164. type: string
  5165. reckondate:
  5166. description: 日照时期(yyyyMMdd)
  5167. type: string
  5168. spotactualpl:
  5169. description: 现货损益
  5170. type: number
  5171. spotfloatpl:
  5172. description: 现货浮动损益
  5173. type: number
  5174. sumactualpl:
  5175. description: 实际损益 = (ActualPL + FutureActualPL)
  5176. type: number
  5177. sumpl:
  5178. description: 总敞口损益 | 汇总损益
  5179. type: number
  5180. totalfutureqty:
  5181. description: 期货头寸总量
  5182. type: number
  5183. totalneedhedgeqty:
  5184. description: 应套保总量
  5185. type: number
  5186. totalspotqty:
  5187. description: 现货头寸总量
  5188. type: number
  5189. updatetime:
  5190. description: 更新时间
  5191. type: string
  5192. type: object
  5193. models.Ermcp3Brand:
  5194. properties:
  5195. areauserid:
  5196. description: 用户id
  5197. type: integer
  5198. brandid:
  5199. description: 品牌id
  5200. type: integer
  5201. brandname:
  5202. description: 品牌名称
  5203. type: string
  5204. deliverygoodsid:
  5205. description: 品种ID
  5206. type: integer
  5207. isvalid:
  5208. description: 是否有效
  5209. type: integer
  5210. type: object
  5211. models.Ermcp3Contract:
  5212. properties:
  5213. accountid:
  5214. description: 期货账户id
  5215. type: string
  5216. amount:
  5217. description: 金额 [1:一口价、3:暂定价]
  5218. type: number
  5219. attachment:
  5220. description: 附件
  5221. type: string
  5222. auditremark:
  5223. description: 审核意见
  5224. type: string
  5225. audittime:
  5226. description: 审核时间
  5227. type: string
  5228. biztype:
  5229. description: 业务类型 1-套保 2-套利
  5230. type: integer
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. buynickname:
  5235. description: 销售方昵称
  5236. type: string
  5237. buyuserid:
  5238. description: 采购方ID
  5239. type: integer
  5240. buyusername:
  5241. description: 采购方名称
  5242. type: string
  5243. contracctstatus:
  5244. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5245. type: integer
  5246. contractmargin:
  5247. description: 合同保证金
  5248. type: number
  5249. contractno:
  5250. description: 现货合同编号
  5251. type: string
  5252. contracttype:
  5253. description: 现货合同类型 - 1:采购 -1:销售
  5254. type: integer
  5255. convertfactor:
  5256. description: 标仓系数(品类)
  5257. type: number
  5258. createtime:
  5259. description: 创建时间
  5260. type: string
  5261. currencyid:
  5262. description: 币种id
  5263. type: integer
  5264. currencyname:
  5265. description: 币种名称
  5266. type: string
  5267. deliveryenddate:
  5268. description: 交收期(结束)
  5269. type: string
  5270. deliverygoodscode:
  5271. description: 现货品种代码
  5272. type: string
  5273. deliverygoodsid:
  5274. description: 现货品种ID
  5275. type: integer
  5276. deliverygoodsname:
  5277. description: 现货品种名称
  5278. type: string
  5279. deliverystartdate:
  5280. description: 交收期(开始)
  5281. type: string
  5282. enddate:
  5283. description: 点价结束日期 [2:点价 3:暂定价]
  5284. type: string
  5285. enumdicname:
  5286. description: 单位名称
  5287. type: string
  5288. goodscode:
  5289. description: 点价合约代码
  5290. type: string
  5291. goodsid:
  5292. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5293. type: integer
  5294. goodsname:
  5295. description: 点价商品名称
  5296. type: string
  5297. margin:
  5298. description: 当前保证金
  5299. type: number
  5300. meruserid:
  5301. description: 跟单员id
  5302. type: integer
  5303. meruserlogincode:
  5304. description: 跟单员登录代码
  5305. type: string
  5306. merusername:
  5307. description: 跟单员名称
  5308. type: string
  5309. pointdesc:
  5310. description: 点价备注
  5311. type: string
  5312. price:
  5313. description: 价格\暂定价 [1:一口价、3:暂定价]
  5314. type: number
  5315. pricemove:
  5316. description: 升贴水 [2:点价 3:暂定价]
  5317. type: number
  5318. pricetype:
  5319. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5320. type: integer
  5321. producttype:
  5322. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5323. type: integer
  5324. qty:
  5325. description: 数量
  5326. type: number
  5327. remark:
  5328. description: 备注
  5329. type: string
  5330. saleuserid:
  5331. description: 业务员id
  5332. type: integer
  5333. saleuserlogincode:
  5334. description: 业务员登录代码
  5335. type: string
  5336. saleusername:
  5337. description: 业务员名称
  5338. type: string
  5339. sellnickname:
  5340. description: 采购方昵称
  5341. type: string
  5342. selluserid:
  5343. description: 销售方ID
  5344. type: integer
  5345. sellusername:
  5346. description: 销售方名称
  5347. type: string
  5348. spotcontractid:
  5349. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5350. type: string
  5351. spotgoodsbrandid:
  5352. description: 现货品牌ID(DGFactoryItem表的ID)
  5353. type: integer
  5354. spotgoodsdesc:
  5355. description: 商品型号
  5356. type: string
  5357. startdate:
  5358. description: 点价开始日期 [2:点价 3:暂定价]
  5359. type: string
  5360. subjectid:
  5361. description: 交易主体ID
  5362. type: integer
  5363. subjectname:
  5364. description: 交易主体名称
  5365. type: string
  5366. tradeuserid:
  5367. description: 交易员id
  5368. type: integer
  5369. tradeuserlogincode:
  5370. description: 交易员登录代码
  5371. type: string
  5372. tradeusername:
  5373. description: 交易员名称
  5374. type: string
  5375. unitid:
  5376. description: 单位id(取品类上的单位id)
  5377. type: integer
  5378. updatetime:
  5379. description: 更新时间
  5380. type: string
  5381. userid:
  5382. description: 所属机构ID
  5383. type: integer
  5384. vatrate:
  5385. description: 增值税率
  5386. type: number
  5387. wrstandardcode:
  5388. description: 品类代码
  5389. type: string
  5390. wrstandardid:
  5391. description: 品类ID
  5392. type: integer
  5393. wrstandardname:
  5394. description: 品类名称
  5395. type: string
  5396. type: object
  5397. models.Ermcp3ContractMiddleGoodsCfg:
  5398. properties:
  5399. agreeunit:
  5400. description: 合约乘数
  5401. type: number
  5402. convertratio:
  5403. description: 期货品种系数
  5404. type: number
  5405. covertqty:
  5406. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5407. type: integer
  5408. middlegoodsid:
  5409. description: 套保品种ID
  5410. type: integer
  5411. middlegoodspricedqty3:
  5412. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5413. example: "0"
  5414. type: string
  5415. pendingpricedqty:
  5416. description: 待点价量
  5417. example: "0"
  5418. type: string
  5419. relatedmiddlegoodsqty:
  5420. description: 已关联量(套保品种-期货)
  5421. example: "0"
  5422. type: string
  5423. spotcontractid:
  5424. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5425. type: string
  5426. type: object
  5427. models.Ermcp3ExposureContractDetail:
  5428. properties:
  5429. biztype:
  5430. description: 业务类型 1-套保 2-套利
  5431. type: integer
  5432. brandname:
  5433. description: 品牌名称
  5434. type: string
  5435. buyuserid:
  5436. description: 采购方id
  5437. type: integer
  5438. buyusername:
  5439. description: 采购方名称
  5440. type: string
  5441. contractno:
  5442. description: 合同编号
  5443. type: string
  5444. contracttype:
  5445. description: 现货合同类型 - 1:采购 -1:销售
  5446. type: integer
  5447. convertfactor:
  5448. description: 标仓系数
  5449. type: number
  5450. convertratio:
  5451. description: 折算系数(套保品种)
  5452. type: number
  5453. curqty:
  5454. description: 今定价量
  5455. type: number
  5456. deliverygoodscode:
  5457. description: 现货品种代码
  5458. type: string
  5459. deliverygoodsid:
  5460. description: 现货品种id
  5461. type: integer
  5462. deliverygoodsname:
  5463. description: 现货品种名称
  5464. type: string
  5465. diffhedgeqty:
  5466. description: 套保变动量
  5467. type: number
  5468. diffneedhedgeqty:
  5469. description: 应套保变动量
  5470. type: number
  5471. diffqty:
  5472. description: 套保品种今变动量
  5473. type: number
  5474. enumdicname:
  5475. description: 单位名称
  5476. type: string
  5477. mgunitname:
  5478. description: 套保品种单位名称
  5479. type: string
  5480. middlegoodscode:
  5481. description: 套保品种代码
  5482. type: string
  5483. middlegoodsid:
  5484. description: 套保品种id
  5485. type: integer
  5486. middlegoodsname:
  5487. description: 套保品种名称
  5488. type: string
  5489. needarbitrageratio:
  5490. description: 应套利比例
  5491. type: number
  5492. needhedgeratio:
  5493. description: 应套保比例
  5494. type: number
  5495. pricedqty:
  5496. description: 已定价量
  5497. type: number
  5498. qty:
  5499. description: 合同量
  5500. type: number
  5501. reckondate:
  5502. description: 交易日(reckondate)
  5503. type: string
  5504. selluserid:
  5505. description: 销售方id
  5506. type: integer
  5507. sellusername:
  5508. description: 销售方名称
  5509. type: string
  5510. spotcontractid:
  5511. description: 合同id
  5512. type: string
  5513. todaypricedqty:
  5514. description: 今定价量
  5515. type: number
  5516. tradedate:
  5517. description: 交易日
  5518. type: string
  5519. unitid:
  5520. description: 品类单位id
  5521. type: integer
  5522. userid:
  5523. description: 机构id
  5524. type: integer
  5525. username:
  5526. description: 交易用户
  5527. type: string
  5528. wrstandardcode:
  5529. description: 现货商品代码
  5530. type: string
  5531. wrstandardid:
  5532. description: 现货商品id
  5533. type: integer
  5534. wrstandardname:
  5535. description: 现货商品名称
  5536. type: string
  5537. type: object
  5538. models.Ermcp3ExposureDetail:
  5539. properties:
  5540. areauserid:
  5541. description: 机构ID
  5542. type: integer
  5543. changeQty:
  5544. description: 套保变动量
  5545. type: number
  5546. contracttype:
  5547. description: 现货合同类型 - 1:采购 -1:销售
  5548. type: integer
  5549. convertfactor:
  5550. description: 标仓系数
  5551. type: number
  5552. convertratio:
  5553. description: 折算系数
  5554. type: number
  5555. createtime:
  5556. description: 时间
  5557. type: string
  5558. enumdicname:
  5559. description: 现货商品单位名称
  5560. type: string
  5561. logtype:
  5562. description: 类型 - 1:套保计划 2:现货合同
  5563. type: integer
  5564. mgunitid:
  5565. description: 套保品种单位id
  5566. type: integer
  5567. mgunitidname:
  5568. description: 套保品种单位名称
  5569. type: string
  5570. middlegoodsId:
  5571. description: 套保商品id
  5572. type: integer
  5573. middlegoodscode:
  5574. description: 套保商品代码
  5575. type: string
  5576. middlegoodsname:
  5577. description: 套保商品名称
  5578. type: string
  5579. qty:
  5580. description: 数量
  5581. type: number
  5582. relateNo:
  5583. description: 现货合同/套保计划编号
  5584. type: string
  5585. unitid:
  5586. description: 现货商品单位id
  5587. type: integer
  5588. wrstandardcode:
  5589. description: 现货商品代码
  5590. type: string
  5591. wrstandardid:
  5592. description: 现货商品ID(SEQ_WRSTANDARD)
  5593. type: integer
  5594. wrstandardname:
  5595. description: 现货商品名称
  5596. type: string
  5597. type: object
  5598. models.Ermcp3ExposureFutuDetail:
  5599. properties:
  5600. accountid:
  5601. description: 交易账户id
  5602. type: integer
  5603. accountname:
  5604. description: 交易账户
  5605. type: string
  5606. begindate:
  5607. description: 开始交易日
  5608. type: string
  5609. buyorsell:
  5610. description: 方向 0-买 1-卖
  5611. type: integer
  5612. diffmgqty:
  5613. description: 套保品种今变化量
  5614. type: number
  5615. diffneedqty:
  5616. description: 应套保总量变化量
  5617. type: number
  5618. difftradeqty:
  5619. description: 交易品种今变化量
  5620. type: number
  5621. enddate:
  5622. description: 结束交易日
  5623. type: string
  5624. enumdicname:
  5625. description: 单位名称
  5626. type: string
  5627. goodscode:
  5628. description: 商品代码
  5629. type: string
  5630. goodsid:
  5631. description: 商品id
  5632. type: integer
  5633. goodsname:
  5634. description: 商品名称
  5635. type: string
  5636. holdqty:
  5637. description: 期末持仓量
  5638. type: number
  5639. middlegoodscode:
  5640. description: 套保商品代码
  5641. type: string
  5642. middlegoodsid:
  5643. description: 套保商品id
  5644. type: integer
  5645. middlegoodsname:
  5646. description: 套保商品名称
  5647. type: string
  5648. oriholdqty:
  5649. description: 期初持仓量
  5650. type: number
  5651. reckondate:
  5652. description: 交易日(RECKONDATE)
  5653. type: string
  5654. todaycloseqty:
  5655. description: 今平仓量
  5656. type: number
  5657. todayopenqty:
  5658. description: 今开仓量
  5659. type: number
  5660. tradedate:
  5661. description: 交易日(RECKONDATE)
  5662. type: string
  5663. username:
  5664. description: 用户名称(交易用户)
  5665. type: string
  5666. type: object
  5667. models.Ermcp3ExposureHedgeplanDetail:
  5668. properties:
  5669. biztype:
  5670. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5671. type: integer
  5672. changqty:
  5673. description: 应套保总量变化量
  5674. type: number
  5675. contracttype:
  5676. description: 计划类型 - 1:采购 -1:销售
  5677. type: integer
  5678. convertratio:
  5679. description: 折算系数(套保品种)
  5680. type: number
  5681. deliverygoodscode:
  5682. description: 现货商品代码
  5683. type: string
  5684. deliverygoodsid:
  5685. description: 现货商品id
  5686. type: integer
  5687. deliverygoodsname:
  5688. description: 现货商吕名称
  5689. type: string
  5690. dgunitid:
  5691. description: 现货商品单位id
  5692. type: integer
  5693. dgunitidname:
  5694. description: 单位名称(现货商品)
  5695. type: string
  5696. diffqty:
  5697. description: 套保品种今变动量
  5698. type: number
  5699. enumdicname:
  5700. description: 单位名称(品类)
  5701. type: string
  5702. hedgeplanid:
  5703. description: 套保计划id
  5704. type: string
  5705. hedgeplanno:
  5706. description: 套保计划名称
  5707. type: string
  5708. hedgeplanstatus:
  5709. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5710. type: integer
  5711. mgunitidname:
  5712. description: 单位名称(套保商品)
  5713. type: string
  5714. middlegoodscode:
  5715. description: 套保品种代码
  5716. type: string
  5717. middlegoodsid:
  5718. description: 套保品种id
  5719. type: integer
  5720. middlegoodsname:
  5721. description: 套保品种名称
  5722. type: string
  5723. needarbitrageratio:
  5724. description: 应套利比例
  5725. type: number
  5726. needhedgeratio:
  5727. description: 应套保比例
  5728. type: number
  5729. pricedqty:
  5730. description: 已定价量
  5731. type: number
  5732. qty:
  5733. description: 合同量
  5734. type: number
  5735. reckondate:
  5736. description: 交易日(reckondate)
  5737. type: string
  5738. tradedate:
  5739. description: 交易日(登记日)
  5740. type: string
  5741. unitid:
  5742. description: 品类单位id
  5743. type: integer
  5744. userid:
  5745. description: 机构id
  5746. type: integer
  5747. wrstandardcode:
  5748. description: 品类代码
  5749. type: string
  5750. wrstandardid:
  5751. description: 品类id
  5752. type: integer
  5753. wrstandardname:
  5754. description: 品类名称
  5755. type: string
  5756. type: object
  5757. models.Ermcp3ExposureParamChLog:
  5758. properties:
  5759. accountid:
  5760. description: 期货账户ID (作废, 默认为0)
  5761. type: integer
  5762. aftervalue:
  5763. description: 应套保\套利量变更后(调整后应套保总量)
  5764. type: number
  5765. areauserid:
  5766. description: 所属机构\交易用户ID
  5767. type: integer
  5768. beforevalue:
  5769. description: 应套保\套利量变更前(调整前应套保总量)
  5770. type: number
  5771. begindate:
  5772. description: 开始交易日
  5773. type: string
  5774. changelogtype:
  5775. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5776. type: integer
  5777. curvalue:
  5778. description: 当前套保\套利量(套保总量|套利总量)
  5779. type: number
  5780. diffvalue:
  5781. description: 应套保总量变化量
  5782. type: number
  5783. enddate:
  5784. description: 结束交易日
  5785. type: string
  5786. logdatetime:
  5787. description: 流水日期
  5788. type: string
  5789. logid:
  5790. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5791. type: string
  5792. middlegoodscode:
  5793. description: 套保品种代码
  5794. type: string
  5795. middlegoodsid:
  5796. description: 套保品种
  5797. type: integer
  5798. middlegoodsname:
  5799. description: 套保品种名称
  5800. type: string
  5801. paramaftervalue:
  5802. description: 参数变更后(调整后参数值)
  5803. type: number
  5804. parambeforevalue:
  5805. description: 参数变更前(调整前参数值)
  5806. type: number
  5807. reckondate:
  5808. description: 交易日(reckondate)
  5809. type: string
  5810. tradedate:
  5811. description: 交易日(yyyyMMdd)
  5812. type: string
  5813. type: object
  5814. models.Ermcp3ExpourseReport:
  5815. properties:
  5816. accountid:
  5817. description: 期货账户ID (作废, 默认为0)
  5818. type: integer
  5819. accountname:
  5820. description: 机构名称
  5821. type: string
  5822. arbitrageqty:
  5823. description: 套利量
  5824. type: number
  5825. areauserid:
  5826. description: 所属机构\交易用户ID
  5827. type: integer
  5828. begindate:
  5829. description: 开始交易日
  5830. type: string
  5831. buyfutureqty:
  5832. description: 买入期货数量
  5833. type: number
  5834. buyplanqty:
  5835. description: 采购计划数量
  5836. type: number
  5837. buypricedqty:
  5838. description: 采购合同已定价数量
  5839. type: number
  5840. cycletime:
  5841. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5842. type: string
  5843. cycletype:
  5844. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5845. type: integer
  5846. diffexposure:
  5847. description: 变动量(套保敞口)
  5848. type: number
  5849. difffutuqty:
  5850. description: 变动量(期货)
  5851. type: number
  5852. diffhedgeqty:
  5853. description: 变动量(现货应套保总量)
  5854. type: number
  5855. diffmgqtya:
  5856. description: 套保变动量
  5857. type: number
  5858. diffmgqtyb:
  5859. description: 套利变动量
  5860. type: number
  5861. diffneedqty:
  5862. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5863. type: number
  5864. diffqty:
  5865. description: 变动量(总敞口)
  5866. type: number
  5867. diffspotqty:
  5868. description: 变动量(现货) | 除税变动量
  5869. type: number
  5870. enddate:
  5871. description: 结束交易日
  5872. type: string
  5873. enumdicname:
  5874. description: 单位名称
  5875. type: string
  5876. hedgeqty:
  5877. description: 套保量
  5878. type: number
  5879. mgneedhedgeratio:
  5880. description: 套保比例(套保品的)
  5881. type: number
  5882. middlegoodsid:
  5883. description: 套保品种ID
  5884. type: integer
  5885. middlegoodsname:
  5886. description: 套保商品名称
  5887. type: string
  5888. middlgoodscode:
  5889. description: 套保商品代码
  5890. type: string
  5891. needarbitrageqty:
  5892. description: 应套利量
  5893. type: number
  5894. needarbitrageratio:
  5895. description: 套利比例(套保品的)
  5896. type: number
  5897. needhedgeexposoure:
  5898. description: 应套保敞口(套保敞口)
  5899. type: number
  5900. needhedgeqty:
  5901. description: 应套保量
  5902. type: number
  5903. needhedgeratio:
  5904. description: 应套保敞口比例
  5905. type: number
  5906. needqty:
  5907. description: 应套总量 = 应套保量 + 应套利量
  5908. type: number
  5909. oriarbitrageqty:
  5910. description: 期初套利量
  5911. type: number
  5912. oribuyfutureqty:
  5913. description: 期初买入期货数量
  5914. type: number
  5915. oribuyplanqty:
  5916. description: 期初采购计划数量
  5917. type: number
  5918. oribuypricedqty:
  5919. description: 期初采购合同已定价数量
  5920. type: number
  5921. orihedgeqty:
  5922. description: 期初套保量
  5923. type: number
  5924. orineedarbitrageqty:
  5925. description: 期初应套利量
  5926. type: number
  5927. orineedhedgeexposoure:
  5928. description: 期初应套保敞口
  5929. type: number
  5930. orineedhedgeqty:
  5931. description: 期初应套保量
  5932. type: number
  5933. orisellfutureqty:
  5934. description: 期初卖出期货数量
  5935. type: number
  5936. orisellplanqty:
  5937. description: 期初销售计划数量
  5938. type: number
  5939. orisellpricedqty:
  5940. description: 期初销售合同已定价数量
  5941. type: number
  5942. oritotalexposure:
  5943. description: 期初实时总敞口
  5944. type: number
  5945. oritotalfutureqty:
  5946. description: 期初期货头寸总量
  5947. type: number
  5948. oritotalneedhedgeqty:
  5949. description: 期初应套保总量
  5950. type: number
  5951. oritotalspotqty:
  5952. description: 期初现货头寸总量
  5953. type: number
  5954. reckondate:
  5955. description: 日照时期(yyyyMMdd)
  5956. type: string
  5957. sellfutureqty:
  5958. description: 卖出期货数量
  5959. type: number
  5960. sellplanqty:
  5961. description: 销售计划数量
  5962. type: number
  5963. sellpricedqty:
  5964. description: 销售合同已定价数量
  5965. type: number
  5966. totalexposure:
  5967. description: 实时总敞口(总敞口)
  5968. type: number
  5969. totalfutureqty:
  5970. description: 期货头寸总量(期货总量)
  5971. type: number
  5972. totalhedgeratio:
  5973. description: 敞口比例
  5974. type: number
  5975. totalneedhedgeqty:
  5976. description: 应套保总量(现货应套保总量)
  5977. type: number
  5978. totalspotqty:
  5979. description: 现货头寸总量 | 除税总量
  5980. type: number
  5981. unitid:
  5982. description: 单位id
  5983. type: integer
  5984. updatetime:
  5985. description: 更新时间
  5986. type: string
  5987. type: object
  5988. models.Ermcp3FinanceReport:
  5989. properties:
  5990. accountname:
  5991. description: 机构名称
  5992. type: string
  5993. areauserid:
  5994. description: 所属机构\交易用户ID
  5995. type: integer
  5996. begindate:
  5997. description: 开始交易日
  5998. type: string
  5999. biztype:
  6000. description: 业务类型 - 1:套保 2:套利
  6001. type: integer
  6002. brandname:
  6003. description: 品牌名称
  6004. type: string
  6005. buypreinvoicedamount:
  6006. description: 采购预收票额(预收票额)
  6007. type: number
  6008. buyprepaidamount:
  6009. description: 采购预付款额(预付货款额)
  6010. type: number
  6011. buytodayinvoiceamount:
  6012. description: 采购今收票额(今收票额)
  6013. type: number
  6014. buytodayrefundamount:
  6015. description: 采购今收退款额(今收退款额)
  6016. type: number
  6017. buytodaysettleamount:
  6018. description: 采购今付款额(今付货款额)
  6019. type: number
  6020. buyuninvoicedamount:
  6021. description: 采购应收票额(应收票额)
  6022. type: number
  6023. buyunpaidamount:
  6024. description: 采购应付款额(应付货款额)
  6025. type: number
  6026. currencyid:
  6027. description: 结算币种ID
  6028. type: integer
  6029. currencyname:
  6030. description: 币种名称
  6031. type: string
  6032. cycletime:
  6033. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6034. type: string
  6035. cycletype:
  6036. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6037. type: integer
  6038. deliverygoodscode:
  6039. description: 现货品种代码
  6040. type: string
  6041. deliverygoodsid:
  6042. description: 现货品种ID
  6043. type: integer
  6044. deliverygoodsname:
  6045. description: 现货品种名称
  6046. type: string
  6047. enddate:
  6048. description: 结束交易日
  6049. type: string
  6050. reckondate:
  6051. description: 日照时期(yyyyMMdd)
  6052. type: string
  6053. sellpreinvoicedamount:
  6054. description: 销售预开票额(预开票额)
  6055. type: number
  6056. sellprepaidamount:
  6057. description: 销售预收款额(预收货款额)
  6058. type: number
  6059. selltodayinvoiceamount:
  6060. description: 销售今开票额(今开票额)
  6061. type: number
  6062. selltodayrefundamount:
  6063. description: 销售今付退款额(今付退款额)
  6064. type: number
  6065. selltodaysettleamount:
  6066. description: 销售今收款额(今收货款额)
  6067. type: number
  6068. selluninvoicedamount:
  6069. description: 销售应开票额(应开票额)
  6070. type: number
  6071. sellunpaidamount:
  6072. description: 销售应收款额(应收货款额)
  6073. type: number
  6074. spotgoodsbrandid:
  6075. description: 现货品牌ID
  6076. type: integer
  6077. todaypaysum:
  6078. description: 今付款合计
  6079. type: number
  6080. todayreceivesum:
  6081. description: 今收款合计
  6082. type: number
  6083. updatetime:
  6084. description: 更新时间
  6085. type: string
  6086. wrfactortypeid:
  6087. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6088. type: integer
  6089. wrstandardcode:
  6090. description: 品类代码
  6091. type: string
  6092. wrstandardid:
  6093. description: 现货商品ID
  6094. type: integer
  6095. wrstandardname:
  6096. description: 品类名称
  6097. type: string
  6098. type: object
  6099. models.Ermcp3GoodsGroup:
  6100. properties:
  6101. agreeunit:
  6102. description: 合约单位
  6103. type: number
  6104. areauserid:
  6105. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6106. type: integer
  6107. canshort:
  6108. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6109. type: integer
  6110. closepricemode:
  6111. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6112. type: integer
  6113. createtime:
  6114. description: 创建时间
  6115. type: string
  6116. creatorid:
  6117. description: 创建人
  6118. type: integer
  6119. currencyid:
  6120. description: 报价货币ID
  6121. type: integer
  6122. decimalplace:
  6123. description: 报价小数位
  6124. type: integer
  6125. enumdicname:
  6126. description: 单位名称
  6127. type: string
  6128. exchangefullname:
  6129. description: 交易所全称
  6130. type: string
  6131. excludecfg:
  6132. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6133. type: integer
  6134. exexchangecode:
  6135. description: 交易所代码
  6136. type: string
  6137. exexchangeid:
  6138. description: 外部交易所ID[通道交易]
  6139. type: integer
  6140. exexchangename:
  6141. description: 交易所名称
  6142. type: string
  6143. goodsgroupid:
  6144. description: 商品组ID(自增ID)
  6145. type: integer
  6146. goodsgroupname:
  6147. description: 商品组名称
  6148. type: string
  6149. goodsgroupstatus:
  6150. description: 商品组状态 - 1:正常 2:注销
  6151. type: integer
  6152. goodunitid:
  6153. description: 报价单位ID
  6154. type: integer
  6155. groupcategroyid:
  6156. description: 品种分类ID
  6157. type: integer
  6158. innerdealmode:
  6159. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6160. type: integer
  6161. marketid:
  6162. description: 所属市场ID
  6163. type: integer
  6164. modifierid:
  6165. description: 修改人
  6166. type: integer
  6167. modifytime:
  6168. description: 修改时间
  6169. type: string
  6170. outerdealmode:
  6171. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6172. type: integer
  6173. outergroupcode:
  6174. description: 外部商品组代码[通道交易]
  6175. type: string
  6176. quoteminunit:
  6177. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6178. type: integer
  6179. quotesourcegroupid:
  6180. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6181. type: integer
  6182. syncgoodsqty:
  6183. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6184. type: integer
  6185. required:
  6186. - areauserid
  6187. type: object
  6188. models.Ermcp3HPMiddleGoods:
  6189. properties:
  6190. biztype:
  6191. description: 业务类型 1:套保 2:套利
  6192. type: integer
  6193. contracttype:
  6194. description: 合同类型 1:采购 -1:销售
  6195. type: integer
  6196. convertratio:
  6197. description: 折算系数
  6198. type: number
  6199. customername:
  6200. description: 对手手名称
  6201. type: string
  6202. customeruserid:
  6203. description: 对手id
  6204. type: integer
  6205. enumdicname:
  6206. description: 现货单位名称
  6207. type: string
  6208. hedgeplanid:
  6209. description: 计划id
  6210. type: string
  6211. hedgeplanno:
  6212. description: 计划编号
  6213. type: string
  6214. middlegoodsid:
  6215. description: 套保品种ID
  6216. type: integer
  6217. middlegoodsplanqty3:
  6218. description: 应套保计划量
  6219. type: number
  6220. needhedgeratio:
  6221. description: 套保比例
  6222. type: number
  6223. pricedqty:
  6224. description: 已定价量
  6225. type: number
  6226. relatedmiddlegoodsqty:
  6227. description: 已关联量(套保品种)(期货)
  6228. type: number
  6229. unitid:
  6230. description: 现货单位id
  6231. type: integer
  6232. userid:
  6233. description: 用户id
  6234. type: integer
  6235. vatrate:
  6236. description: 增值税率
  6237. type: number
  6238. wrstandardcode:
  6239. description: 现货商品代码
  6240. type: string
  6241. wrstandardid:
  6242. description: 现货商品id
  6243. type: integer
  6244. wrstandardname:
  6245. description: 现货商品名称
  6246. type: string
  6247. type: object
  6248. models.Ermcp3HedgePlan:
  6249. properties:
  6250. accountid:
  6251. description: 资金账号
  6252. type: integer
  6253. areauserid:
  6254. description: 用户ID
  6255. type: integer
  6256. auditid:
  6257. description: 审核id
  6258. type: integer
  6259. auditname:
  6260. description: 审核人名称
  6261. type: string
  6262. auditremark:
  6263. description: 审核备注
  6264. type: string
  6265. auditsrc:
  6266. description: 审核来源 1-管理端 2-终端
  6267. type: integer
  6268. audittime:
  6269. description: 审核时间
  6270. type: string
  6271. contracttype:
  6272. description: 计划类型 - 1:采购 -1:销售
  6273. type: integer
  6274. convertfactor:
  6275. description: 标仓系数
  6276. type: number
  6277. createtime:
  6278. description: 创建时间
  6279. type: string
  6280. currencyid:
  6281. description: 币种id
  6282. type: integer
  6283. currencyname:
  6284. description: 币种名称
  6285. type: string
  6286. deliverygoodscode:
  6287. description: 现货品种代码
  6288. type: string
  6289. deliverygoodsid:
  6290. description: 现货品种ID
  6291. type: integer
  6292. deliverygoodsname:
  6293. description: 现货品种名称
  6294. type: string
  6295. enumdicname:
  6296. description: 单位名称(现货商品)
  6297. type: string
  6298. hedgeplanid:
  6299. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6300. type: string
  6301. hedgeplanno:
  6302. description: 套保计划编号(名称)
  6303. type: string
  6304. hedgeplanstatus:
  6305. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6306. type: integer
  6307. planqty:
  6308. description: 计划数量
  6309. type: number
  6310. plantime:
  6311. description: 计划时间
  6312. type: string
  6313. producttype:
  6314. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6315. type: integer
  6316. remark:
  6317. description: 备注
  6318. type: string
  6319. spotgoodsdesc:
  6320. description: 商品型号
  6321. type: string
  6322. taaccountname:
  6323. description: 资金账号名称
  6324. type: string
  6325. tradeuserid:
  6326. description: 交易用户id
  6327. type: integer
  6328. tradeusername:
  6329. description: 交易用户名称
  6330. type: string
  6331. unitid:
  6332. description: 单位id(现货商品)
  6333. type: integer
  6334. updatetime:
  6335. description: 更新时间
  6336. type: string
  6337. vatrate:
  6338. description: 增值税率
  6339. type: number
  6340. wrstandardcode:
  6341. description: 品类代码
  6342. type: string
  6343. wrstandardid:
  6344. description: 品类id
  6345. type: integer
  6346. wrstandardname:
  6347. description: 品类名称
  6348. type: string
  6349. wrunitid:
  6350. description: 品类单位id
  6351. type: integer
  6352. wrunitidame:
  6353. description: 品类单位名称
  6354. type: string
  6355. type: object
  6356. models.Ermcp3InnerTradeLink:
  6357. properties:
  6358. accountid:
  6359. description: 期货账号代码 | 资金账号ID
  6360. type: integer
  6361. buyorsell:
  6362. description: 方向 - 0:买 1:卖
  6363. type: integer
  6364. channelbuildtype:
  6365. description: 委托单据类型 0:无 1:建仓 2:平仓
  6366. type: integer
  6367. currencyid:
  6368. description: 币种id
  6369. type: integer
  6370. currencyname:
  6371. description: 结算币种 名称
  6372. type: string
  6373. goodscode:
  6374. description: 商品代码
  6375. type: string
  6376. goodsid:
  6377. description: 商品ID
  6378. type: integer
  6379. goodsname:
  6380. description: 商品名称
  6381. type: string
  6382. outtradeid:
  6383. description: 外部成交单号
  6384. type: string
  6385. taname:
  6386. description: 期货账户名称
  6387. type: string
  6388. tradeid:
  6389. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6390. type: string
  6391. tradeprice:
  6392. description: 成交价格
  6393. type: number
  6394. tradeqty:
  6395. description: 期货成交数量
  6396. type: integer
  6397. tradetime:
  6398. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6399. type: string
  6400. username:
  6401. description: 用户名称
  6402. type: string
  6403. type: object
  6404. models.Ermcp3OutTradeLink:
  6405. properties:
  6406. buyorsell:
  6407. description: 买卖方向 - 0:买 1:卖
  6408. type: integer
  6409. channelbuildtype:
  6410. description: 开平标志- 0:无 1:建仓 2:平仓
  6411. type: integer
  6412. currencyname:
  6413. description: 币种名称
  6414. type: string
  6415. exexchangecode:
  6416. description: 交易所代码
  6417. type: string
  6418. exexchangename:
  6419. description: 交易所名称
  6420. type: string
  6421. goodscode:
  6422. description: 合约代码
  6423. type: string
  6424. goodsid:
  6425. description: 合约id
  6426. type: integer
  6427. goodsname:
  6428. description: 合约名称
  6429. type: string
  6430. hasinnerorder:
  6431. description: 是否有内部单关联 - 0:无 1:有
  6432. type: integer
  6433. hedgeaccountcode:
  6434. description: 外部账号 | 对冲账号
  6435. type: string
  6436. outtradeid:
  6437. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6438. type: string
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradeqty:
  6443. description: 成交数量
  6444. type: integer
  6445. tradetime:
  6446. description: 成交时间
  6447. type: string
  6448. type: object
  6449. models.Ermcp3PaAreaAuditCfg:
  6450. properties:
  6451. areauserid:
  6452. description: 用户ID
  6453. type: integer
  6454. buyinauditflag:
  6455. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6456. type: integer
  6457. costratioauditflag:
  6458. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6459. type: integer
  6460. customerauditflag:
  6461. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6462. type: integer
  6463. deliveryauditflag:
  6464. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6465. type: integer
  6466. invoiceauditflag:
  6467. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6468. type: integer
  6469. mgneedhedgeratioauditflag:
  6470. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6471. type: integer
  6472. moneyauditflag:
  6473. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6474. type: integer
  6475. operatorid:
  6476. description: 操作人
  6477. type: integer
  6478. operatorsrc:
  6479. description: 操作来源 - 1:管理端 2:终端
  6480. type: integer
  6481. pointpriceauditflag:
  6482. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6483. type: integer
  6484. produceinauditflag:
  6485. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6486. type: integer
  6487. produceoutauditflag:
  6488. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6489. type: integer
  6490. selloutauditflag:
  6491. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6492. type: integer
  6493. sgconvertratioauditflag:
  6494. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6495. type: integer
  6496. sgvtaratioauditflag:
  6497. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6498. type: integer
  6499. spotcontractauditflag:
  6500. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6501. type: integer
  6502. updatetime:
  6503. description: 更新时间
  6504. type: string
  6505. type: object
  6506. models.Ermcp3PaAreaSubject:
  6507. properties:
  6508. areauserid:
  6509. description: 所属机构
  6510. type: integer
  6511. canmodify:
  6512. description: 是否可修改 - 0:否 1:是
  6513. type: integer
  6514. createtime:
  6515. description: 创建时间
  6516. type: string
  6517. creatorid:
  6518. description: 创建人ID
  6519. type: string
  6520. creatorsrc:
  6521. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6522. type: integer
  6523. modifierid:
  6524. description: 修改人
  6525. type: string
  6526. modifiersrc:
  6527. description: 修改人来源 - 1:管理端 2:终端
  6528. type: integer
  6529. modifytime:
  6530. description: 修改时间
  6531. type: string
  6532. parentsubjectid:
  6533. description: 上级主体ID
  6534. type: string
  6535. remark:
  6536. description: 备注
  6537. type: string
  6538. subjectid:
  6539. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6540. type: integer
  6541. subjectname:
  6542. description: 主体名称
  6543. type: string
  6544. subjectstatus:
  6545. description: '主体状态 - 1:正常 2: 停用'
  6546. type: integer
  6547. subjecttype:
  6548. description: 主体类型 - 1:交易主体 2:业务部门
  6549. type: integer
  6550. type: object
  6551. models.Ermcp3PaTradeLink:
  6552. properties:
  6553. accountid:
  6554. description: 期货账户代码 | 账号ID
  6555. type: integer
  6556. agreeunit:
  6557. description: 合约乘数
  6558. type: number
  6559. buyorsell:
  6560. description: 方向 - 0:买 1:卖
  6561. type: integer
  6562. channelbuildtype:
  6563. description: 委托单据类型 0:无 1:建仓 2:平仓
  6564. type: integer
  6565. charge:
  6566. description: 手续费
  6567. type: number
  6568. closepl:
  6569. description: 平仓盈亏
  6570. type: number
  6571. closetype:
  6572. description: 平仓方式 - 0:无 1:平今 2:平昨
  6573. type: integer
  6574. convertratio:
  6575. description: 折算系数
  6576. type: number
  6577. enumdicname:
  6578. description: 单位名称
  6579. type: string
  6580. executeprice:
  6581. description: 执行价 [期权]
  6582. type: integer
  6583. goodscode:
  6584. description: 合约代码
  6585. type: string
  6586. goodsgroupid:
  6587. description: 对冲品种ID[期货合约商品组ID]
  6588. type: integer
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 合约名称
  6594. type: string
  6595. goodunitid:
  6596. description: 单位id
  6597. type: integer
  6598. hedgeflag:
  6599. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6600. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6601. type: integer
  6602. marketid:
  6603. description: 市场ID
  6604. type: integer
  6605. middlegoodsid:
  6606. description: 套保品种ID
  6607. type: integer
  6608. middlegoodsqty:
  6609. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6610. type: number
  6611. optioncode:
  6612. description: 期权代码 [期权]
  6613. type: string
  6614. ordertype:
  6615. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6616. type: integer
  6617. ordertypename:
  6618. description: 订单类型
  6619. type: string
  6620. parentaccountid:
  6621. description: 所属母账户
  6622. type: integer
  6623. premium:
  6624. description: 权利金 [期权]
  6625. type: number
  6626. relatedlot:
  6627. description: 已关联数量(已关联数量手) | db:关联手数
  6628. type: number
  6629. relatedouttradeid:
  6630. description: 关联外部成交单ID
  6631. type: string
  6632. relatedqty:
  6633. description: 关联数量
  6634. type: number
  6635. spotcontractid:
  6636. description: 现货合同ID [4:套期保值\10\11]
  6637. type: string
  6638. taname:
  6639. description: 期货账户名称
  6640. type: string
  6641. tradeamount:
  6642. description: 成交金额(账户)
  6643. type: number
  6644. tradedate:
  6645. description: 交易日(yyyyMMdd)
  6646. type: string
  6647. tradeid:
  6648. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6649. type: string
  6650. tradelot:
  6651. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6652. type: integer
  6653. tradeprice:
  6654. description: 成交价格
  6655. type: number
  6656. tradetime:
  6657. description: 时间 | db:成交时间
  6658. type: string
  6659. tradetype:
  6660. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6661. type: integer
  6662. userid:
  6663. description: 所属机构 - 所属母账户的UserID
  6664. type: string
  6665. username:
  6666. description: 用户名称
  6667. type: string
  6668. type: object
  6669. models.Ermcp3ParamChangeApp:
  6670. properties:
  6671. aftervalue:
  6672. description: 变更后
  6673. type: number
  6674. applicationid:
  6675. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6676. type: string
  6677. applyid:
  6678. description: 申请人
  6679. type: string
  6680. applyname:
  6681. description: 申请人名称(代码)
  6682. type: string
  6683. applyremark:
  6684. description: 申请备注
  6685. type: string
  6686. applysrc:
  6687. description: 申请来源 - 1:管理端 2:终端
  6688. type: integer
  6689. applystatus:
  6690. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6691. type: integer
  6692. applytime:
  6693. description: 申请时间
  6694. type: string
  6695. areauserid:
  6696. description: 所属机构用户ID
  6697. type: integer
  6698. auditid:
  6699. description: 审核人
  6700. type: string
  6701. auditname:
  6702. description: 审核人名称(代码)
  6703. type: string
  6704. auditremark:
  6705. description: 审核备注
  6706. type: string
  6707. auditsrc:
  6708. description: 审核来源 - 1:管理端 2:终端
  6709. type: integer
  6710. audittime:
  6711. description: 审核时间
  6712. type: string
  6713. audittradedate:
  6714. description: 审核交易日(yyyyMMdd)
  6715. type: string
  6716. beforevalue:
  6717. description: 变更前
  6718. type: number
  6719. deliverygoodscode:
  6720. description: 品种代码
  6721. type: string
  6722. deliverygoodsid:
  6723. description: 品种id
  6724. type: integer
  6725. deliverygoodsname:
  6726. description: 品种名称
  6727. type: string
  6728. middlegoodscode:
  6729. description: 套保品种代码
  6730. type: string
  6731. middlegoodsid:
  6732. description: 套保品种ID [ParamChangeType = 2,3,4]
  6733. type: integer
  6734. middlegoodsname:
  6735. description: 套保品种名称
  6736. type: string
  6737. operatetype:
  6738. description: 操作类型 - 1:新增 2:修改
  6739. type: integer
  6740. paramchangetype:
  6741. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6742. type: integer
  6743. wrstandardcode:
  6744. description: 现货商品代码
  6745. type: string
  6746. wrstandardid:
  6747. description: 现货商品ID [ParamChangeType = 1,2,3]
  6748. type: integer
  6749. wrstandardname:
  6750. description: 现货商品名称
  6751. type: string
  6752. type: object
  6753. models.Ermcp3RootUserAccount:
  6754. properties:
  6755. accountname:
  6756. description: 账户名称(机构名称)
  6757. type: string
  6758. accountstatus:
  6759. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6760. type: integer
  6761. applysrc:
  6762. description: 申请来源 - 1:管理端 2:终端
  6763. type: integer
  6764. auditremark:
  6765. description: 审核备注
  6766. type: string
  6767. auditsrc:
  6768. description: 审核来源 - 1:管理端 2:终端
  6769. type: integer
  6770. audittime:
  6771. description: 审核时间
  6772. type: string
  6773. audituserid:
  6774. description: 审核人
  6775. type: integer
  6776. broker:
  6777. description: 所属经纪人ID
  6778. type: integer
  6779. canceltime:
  6780. description: 销户时间
  6781. type: string
  6782. canceluserid:
  6783. description: 销户人
  6784. type: integer
  6785. canrecommend:
  6786. description: 是否可推荐 - 0:不可 1;可
  6787. type: integer
  6788. createtime:
  6789. description: 创建时间
  6790. type: string
  6791. creatorid:
  6792. description: 创建人
  6793. type: integer
  6794. hasauth:
  6795. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6796. type: integer
  6797. isanonymous:
  6798. description: 是否匿名下单 - 0:否 1:是
  6799. type: integer
  6800. maxinvestornum:
  6801. description: 最大用户数(经纪会员下投资者个数)
  6802. type: integer
  6803. memberuserid:
  6804. description: 所属会员ID
  6805. type: integer
  6806. modifierid:
  6807. description: 修改人
  6808. type: integer
  6809. modifyremark:
  6810. description: 变更备注
  6811. type: string
  6812. modifystatus:
  6813. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6814. type: integer
  6815. modifytime:
  6816. description: 修改时间
  6817. type: string
  6818. nickname:
  6819. description: 昵称
  6820. type: string
  6821. parenttopuser:
  6822. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6823. type: string
  6824. parentuserid:
  6825. description: 所属机构ID
  6826. type: integer
  6827. reckonaccountid:
  6828. description: 默认结算资金账号ID(机构分润使用) 作废
  6829. type: integer
  6830. refercount:
  6831. description: 推荐总人数
  6832. type: integer
  6833. refereeuserid:
  6834. description: 推荐人ID
  6835. type: integer
  6836. refernum:
  6837. description: 推荐码
  6838. type: string
  6839. rootuserid:
  6840. description: 根用户ID
  6841. type: integer
  6842. subaccountlevel:
  6843. description: 子账户层数
  6844. type: integer
  6845. subarealevelpath:
  6846. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6847. type: string
  6848. userid:
  6849. description: 用户ID
  6850. type: integer
  6851. usertype:
  6852. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6853. type: integer
  6854. type: object
  6855. models.Ermcp3SCMiddleGoods:
  6856. properties:
  6857. biztype:
  6858. description: 业务类型 1:套保 2:套利
  6859. type: integer
  6860. contractno:
  6861. description: 合同编号
  6862. type: string
  6863. contracttype:
  6864. description: 合同类型 1:采购 -1:销售
  6865. type: integer
  6866. convertratio:
  6867. description: 折算系数
  6868. type: number
  6869. customername:
  6870. description: 对手手名称
  6871. type: string
  6872. customeruserid:
  6873. description: 对手id
  6874. type: integer
  6875. deliverygoodscode:
  6876. description: 现货品种代码
  6877. type: string
  6878. deliverygoodsid:
  6879. description: 现货品种ID
  6880. type: integer
  6881. deliverygoodsname:
  6882. description: 现货品种名称
  6883. type: string
  6884. enumdicname:
  6885. description: 现货单位名称
  6886. type: string
  6887. middlegoodsid:
  6888. description: 套保品种ID
  6889. type: integer
  6890. middlegoodspricedqty3:
  6891. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6892. type: number
  6893. needhedgeratio:
  6894. description: 套保比例
  6895. type: number
  6896. pricedqty:
  6897. description: 已定价量
  6898. type: number
  6899. relatedmiddlegoodsqty:
  6900. description: 已关联量(套保品种)(期货)
  6901. type: number
  6902. spotcontractid:
  6903. description: 合同编号
  6904. type: string
  6905. unitid:
  6906. description: 现货单位id
  6907. type: integer
  6908. userid:
  6909. description: 用户id
  6910. type: integer
  6911. vatrate:
  6912. description: 增值税率
  6913. type: number
  6914. wrstandardcode:
  6915. description: 现货商品代码
  6916. type: string
  6917. wrstandardid:
  6918. description: 现货商品id
  6919. type: integer
  6920. wrstandardname:
  6921. description: 现货商品名称
  6922. type: string
  6923. type: object
  6924. models.Ermcp3SCMiddleGoodsReport:
  6925. properties:
  6926. begindate:
  6927. description: 开始交易日
  6928. type: string
  6929. contractno:
  6930. description: 合同编号
  6931. type: string
  6932. contracttype:
  6933. description: 合同类型 1:采购 -1:销售
  6934. type: integer
  6935. convertratio:
  6936. description: 折算系数
  6937. type: number
  6938. cycletime:
  6939. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6940. type: string
  6941. cycletype:
  6942. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6943. type: integer
  6944. deliverygoodscode:
  6945. description: 品种代码
  6946. type: string
  6947. deliverygoodsid:
  6948. description: 现货品种ID
  6949. type: integer
  6950. deliverygoodsname:
  6951. description: 品种名称
  6952. type: string
  6953. diffprice:
  6954. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6955. type: number
  6956. diffqty:
  6957. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6958. type: number
  6959. enddate:
  6960. description: 结束交易日
  6961. type: string
  6962. hedgeplanqty:
  6963. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6964. type: number
  6965. matchname:
  6966. description: 交易对手方(个人:用户名称 企业:简称)
  6967. type: string
  6968. matchnickname:
  6969. description: 交易对手方昵称
  6970. type: string
  6971. middlegoodscode:
  6972. description: 套保品种代码
  6973. type: string
  6974. middlegoodsid:
  6975. description: 套保品种ID
  6976. type: integer
  6977. middlegoodsname:
  6978. description: 套保品种名称
  6979. type: string
  6980. middlegoodspricedqty:
  6981. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6982. type: number
  6983. middlegoodspricedqty2:
  6984. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6985. type: number
  6986. middlegoodspricedqty3:
  6987. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6988. type: number
  6989. needhedgeratio:
  6990. description: 套保系数
  6991. type: number
  6992. pricedamount:
  6993. description: 已定价额(现货)
  6994. type: number
  6995. pricedamount2:
  6996. description: 已定价额(现货-基价额)
  6997. type: number
  6998. pricedqty:
  6999. description: 已定价量(现货)
  7000. type: number
  7001. reckondate:
  7002. description: 日照时期(yyyyMMdd)
  7003. type: string
  7004. relatedmiddlegoodsamount:
  7005. description: 已关联额(期货)
  7006. type: number
  7007. relatedmiddlegoodsqty:
  7008. description: 已关联量(套保品种)(期货)
  7009. type: number
  7010. spotcontractid:
  7011. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7012. type: string
  7013. todayavgfutuprice:
  7014. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7015. type: number
  7016. todayavgprice:
  7017. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7018. type: number
  7019. todayavgprice2:
  7020. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7021. type: number
  7022. todaypricedamount:
  7023. description: 今日定价额(现货)
  7024. type: number
  7025. todaypricedamount2:
  7026. description: 今日定价额(现货-基价额)
  7027. type: number
  7028. todaypricedqty:
  7029. description: 今日定价量(现货)
  7030. type: number
  7031. todayrelatedfutureqty:
  7032. description: 今日关联量(期货)
  7033. type: number
  7034. todayrelatedmiddlegoodsamount:
  7035. description: 今日关联额(期货)
  7036. type: number
  7037. todayrelatedmiddlegoodsqty:
  7038. description: 今日关联量(套保品-期货)
  7039. type: number
  7040. updatetime:
  7041. description: 更新时间
  7042. type: string
  7043. userid:
  7044. description: 合同所属用户id
  7045. type: integer
  7046. vatrate:
  7047. description: 增值税率
  7048. type: number
  7049. wrstandardcode:
  7050. description: 商品(品类) 代码
  7051. type: string
  7052. wrstandardid:
  7053. description: 现货商品ID
  7054. type: integer
  7055. wrstandardname:
  7056. description: 商品(品类) 名称
  7057. type: string
  7058. type: object
  7059. models.Ermcp3SellBuyContract:
  7060. properties:
  7061. accountid:
  7062. description: 期货账户id
  7063. type: string
  7064. accountname:
  7065. description: 账户名称
  7066. type: string
  7067. attachment:
  7068. description: 附件
  7069. type: string
  7070. audittime:
  7071. description: 审核时间
  7072. type: string
  7073. bizsubjectid:
  7074. description: 归属业务部门ID - SubjectID
  7075. type: integer
  7076. biztype:
  7077. description: 业务类型 1-套保 2-套利
  7078. type: integer
  7079. brandname:
  7080. description: 品牌名称
  7081. type: string
  7082. contracctstatus:
  7083. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7084. type: integer
  7085. contractmargin:
  7086. description: 合同保证金
  7087. type: number
  7088. contractno:
  7089. description: 合同编号
  7090. type: string
  7091. contracttype:
  7092. description: 合同类型 1-采购, -1-销售
  7093. type: integer
  7094. convertfactor:
  7095. description: 标仓系数(品类)
  7096. type: number
  7097. createtime:
  7098. description: 创建时间
  7099. type: string
  7100. currencyid:
  7101. description: 币种id
  7102. type: integer
  7103. currencyname:
  7104. description: 币种名称
  7105. type: string
  7106. daikaiamount:
  7107. description: 应收(开)票额 | 未收票额
  7108. type: number
  7109. deliveryenddate:
  7110. description: 交割结束日
  7111. type: string
  7112. deliverygoodscode:
  7113. description: 现货品种代码
  7114. type: string
  7115. deliverygoodsid:
  7116. description: 现货商品ID
  7117. type: integer
  7118. deliverygoodsname:
  7119. description: 现货品种名称
  7120. type: string
  7121. deliverystartdate:
  7122. description: 交割开始日
  7123. type: string
  7124. enddate:
  7125. description: 点价结束日
  7126. type: string
  7127. enumdicname:
  7128. description: 单位名称
  7129. type: string
  7130. goodscode:
  7131. description: 点价商品代码
  7132. type: string
  7133. goodsgroupid:
  7134. description: 点价商品组id
  7135. type: integer
  7136. goodsid:
  7137. description: 点价商品ID
  7138. type: integer
  7139. goodsname:
  7140. description: 点价商品名称
  7141. type: string
  7142. invoiceamount:
  7143. description: 已开票额
  7144. type: number
  7145. loanamount:
  7146. description: 贷款总额=已定价额+调整金额
  7147. type: number
  7148. margin:
  7149. description: 保证金
  7150. type: number
  7151. meruserid:
  7152. description: 跟单员id
  7153. type: integer
  7154. meruserlogincode:
  7155. description: 跟单员登录代码
  7156. type: string
  7157. merusername:
  7158. description: 跟单员名称
  7159. type: string
  7160. nickname:
  7161. description: 账户昵称
  7162. type: string
  7163. orireckonrealqty:
  7164. description: 应交收量
  7165. type: number
  7166. payamount:
  7167. description: 已收付额(收款或付款)
  7168. type: number
  7169. preinvoiceamount:
  7170. description: 预收(开)票额
  7171. type: number
  7172. prepayamount:
  7173. description: 预收付额
  7174. type: number
  7175. price:
  7176. description: 价格
  7177. type: number
  7178. pricedamount:
  7179. description: 已定价额
  7180. type: number
  7181. pricedavg:
  7182. description: 已点均价
  7183. type: number
  7184. pricedqty:
  7185. description: 已定价量
  7186. type: number
  7187. pricemove:
  7188. description: 升贴水
  7189. type: number
  7190. pricetype:
  7191. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7192. type: integer
  7193. producttype:
  7194. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7195. type: integer
  7196. qty:
  7197. description: 合同量
  7198. type: number
  7199. reckonadjustamount:
  7200. description: 调整金额
  7201. type: number
  7202. reckonedamount:
  7203. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7204. type: number
  7205. reckonotheramount:
  7206. description: 其它费用
  7207. type: number
  7208. reckonrealqty:
  7209. description: 已交收量
  7210. type: number
  7211. remark:
  7212. description: 备注
  7213. type: string
  7214. saleuserid:
  7215. description: 业务员id
  7216. type: integer
  7217. saleuserlogincode:
  7218. description: 业务员登录代码
  7219. type: string
  7220. saleusername:
  7221. description: 业务员名称
  7222. type: string
  7223. spotcontractid:
  7224. description: 合同ID
  7225. type: string
  7226. spotgoodsbrandid:
  7227. description: 现货品牌ID(DGFactoryItem表的ID)
  7228. type: integer
  7229. spotgoodsdesc:
  7230. description: 商品型号(商品规格)
  7231. type: string
  7232. startdate:
  7233. description: 点价开始日
  7234. type: string
  7235. subjectid:
  7236. description: 交易主体ID
  7237. type: integer
  7238. subjectname:
  7239. description: 交易主体名称
  7240. type: string
  7241. totalamount:
  7242. description: 合计总额
  7243. type: number
  7244. tradeuserid:
  7245. description: 交易员id
  7246. type: integer
  7247. tradeuserlogincode:
  7248. description: 交易员登录代码
  7249. type: string
  7250. tradeusername:
  7251. description: 交易员名称
  7252. type: string
  7253. unpayamount:
  7254. description: 应收付款额(应支付或应收款) | 未付款额
  7255. type: number
  7256. unpricedqty:
  7257. description: 未定价量
  7258. type: number
  7259. unsureqty:
  7260. description: 未确定量 | 未交收量
  7261. type: number
  7262. userid:
  7263. description: 机构ID
  7264. type: integer
  7265. vatrate:
  7266. description: 增值税率
  7267. type: number
  7268. wrstandardcode:
  7269. description: 品类代码
  7270. type: string
  7271. wrstandardid:
  7272. description: 品类ID
  7273. type: integer
  7274. wrstandardname:
  7275. description: 品类名称
  7276. type: string
  7277. type: object
  7278. models.Ermcp3SpotGoodsPrice:
  7279. properties:
  7280. areauserid:
  7281. description: 所属机构id
  7282. type: integer
  7283. brandname:
  7284. description: 品牌名称
  7285. type: string
  7286. currencyid:
  7287. description: 报价货币ID
  7288. type: integer
  7289. currencyname:
  7290. description: 币种名称
  7291. type: string
  7292. deliverygoodscode:
  7293. description: 现货商品代码
  7294. type: string
  7295. deliverygoodsid:
  7296. description: 现货商品id
  7297. type: integer
  7298. deliverygoodsname:
  7299. description: 现货商品名称
  7300. type: string
  7301. enumdicname:
  7302. description: 现货商品单位名称
  7303. type: string
  7304. gbenumdicname:
  7305. description: 品类单位名称
  7306. type: string
  7307. gmunitid:
  7308. description: 品类单位id
  7309. type: integer
  7310. isvalid:
  7311. description: 是否有效 - 0:无效 1:有效
  7312. type: integer
  7313. operateid:
  7314. description: 最后操作人
  7315. type: integer
  7316. operatesrc:
  7317. description: 最后操作来源 - 1:管理端 2:终端
  7318. type: integer
  7319. operatetime:
  7320. description: 最后操作时间
  7321. type: string
  7322. operatorname:
  7323. description: 操作人名称
  7324. type: string
  7325. spotgoodsbrandid:
  7326. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7327. type: integer
  7328. spotgoodsprice:
  7329. description: 现货价格
  7330. type: number
  7331. tradedate:
  7332. description: 交易日(yyyyMMdd)
  7333. type: string
  7334. unitid:
  7335. description: 现货商品单位id
  7336. type: integer
  7337. wrstandardcode:
  7338. description: 品类代码
  7339. type: string
  7340. wrstandardid:
  7341. description: 现货品类ID(通用则为0)
  7342. type: integer
  7343. wrstandardname:
  7344. description: 品类名称
  7345. type: string
  7346. type: object
  7347. models.Ermcp3SpotGoodsPriceLog:
  7348. properties:
  7349. areauserid:
  7350. description: 所属机构id
  7351. type: integer
  7352. brandname:
  7353. description: 品牌名称
  7354. type: string
  7355. currencyid:
  7356. description: 报价货币ID
  7357. type: integer
  7358. deliverygoodscode:
  7359. description: 现货商品代码
  7360. type: string
  7361. deliverygoodsid:
  7362. description: 现货商品id
  7363. type: integer
  7364. deliverygoodsname:
  7365. description: 现货商品名称
  7366. type: string
  7367. enumdicname:
  7368. description: 现货商品单位名称
  7369. type: string
  7370. gbenumdicname:
  7371. description: 品类单位名称
  7372. type: string
  7373. gmunitid:
  7374. description: 品类单位id
  7375. type: integer
  7376. logid:
  7377. description: 日志id
  7378. type: integer
  7379. operateid:
  7380. description: 最后操作人
  7381. type: integer
  7382. operatesrc:
  7383. description: 最后操作来源 - 1:管理端 2:终端
  7384. type: integer
  7385. operatetime:
  7386. description: 最后操作时间
  7387. type: string
  7388. operatorname:
  7389. description: 操作人名称
  7390. type: string
  7391. spotgoodsbrandid:
  7392. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7393. type: integer
  7394. spotgoodsprice:
  7395. description: 现货价格
  7396. type: number
  7397. tradedate:
  7398. description: 交易日(yyyyMMdd)
  7399. type: string
  7400. unitid:
  7401. description: 现货商品单位id
  7402. type: integer
  7403. wrstandardcode:
  7404. description: 品类代码
  7405. type: string
  7406. wrstandardid:
  7407. description: 现货品类ID(通用则为0)
  7408. type: integer
  7409. wrstandardname:
  7410. description: 品类名称
  7411. type: string
  7412. type: object
  7413. models.Ermcp3SubTaaccount:
  7414. properties:
  7415. accountid:
  7416. description: 资金账户ID
  7417. type: integer
  7418. parentaccountcode:
  7419. description: 所属根账号代码(母账号代码)
  7420. type: string
  7421. parentaccountid:
  7422. description: 所属根账号(母账号)
  7423. type: integer
  7424. taname:
  7425. description: 资金账号名称
  7426. type: string
  7427. tradestatus:
  7428. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7429. type: integer
  7430. username:
  7431. description: 交易用户
  7432. type: string
  7433. type: object
  7434. models.Ermcp3TaFutuReDataReport:
  7435. properties:
  7436. accountid:
  7437. description: 交易账户
  7438. type: integer
  7439. accountname:
  7440. description: 交易账号名称
  7441. type: string
  7442. agreeunit:
  7443. description: 商品合约单位
  7444. type: number
  7445. begindate:
  7446. description: 开始交易日
  7447. type: string
  7448. buyorsell:
  7449. description: 持仓方向
  7450. type: integer
  7451. charge:
  7452. description: 手续费
  7453. type: number
  7454. closeavgprice:
  7455. description: 平仓均价
  7456. type: number
  7457. closepl:
  7458. description: 平仓损益
  7459. type: number
  7460. currencyid:
  7461. description: 结算币种ID
  7462. type: integer
  7463. currencyname:
  7464. description: 币种名称
  7465. type: string
  7466. cycletime:
  7467. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7468. type: string
  7469. cycletype:
  7470. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7471. type: integer
  7472. enddate:
  7473. description: 结束交易日
  7474. type: string
  7475. enumdicname:
  7476. description: 单位名称
  7477. type: string
  7478. floatpl:
  7479. description: 浮动损益
  7480. type: number
  7481. goodscode:
  7482. description: 交易合约代码
  7483. type: string
  7484. goodsgroupid:
  7485. description: 交易品种
  7486. type: integer
  7487. goodsgroupname:
  7488. description: 交易品种名称
  7489. type: string
  7490. goodsgroupspotqty:
  7491. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7492. type: number
  7493. goodsid:
  7494. description: 交易合约
  7495. type: integer
  7496. goodsname:
  7497. description: 交易合约名称
  7498. type: string
  7499. goodunitid:
  7500. description: 交易合约单位id
  7501. type: integer
  7502. holdamount:
  7503. description: 期末持仓额
  7504. type: number
  7505. holdqty:
  7506. description: 期末持仓量
  7507. type: number
  7508. lastholdamount:
  7509. description: 当前持仓额
  7510. type: number
  7511. lastprice:
  7512. description: 最新价
  7513. type: number
  7514. middlegoodsid:
  7515. description: 套保品种id
  7516. type: integer
  7517. middlegoodsname:
  7518. description: 套保商品名称
  7519. type: string
  7520. middlegoodsqty:
  7521. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7522. type: number
  7523. middlgoodscode:
  7524. description: 套保商品代码
  7525. type: string
  7526. openamount:
  7527. description: 期末开仓额
  7528. type: number
  7529. openavgprice:
  7530. description: 开仓均价
  7531. type: number
  7532. oriholdamount:
  7533. description: 期初持仓额
  7534. type: number
  7535. oriholdqty:
  7536. description: 期初持仓量
  7537. type: number
  7538. oriopenamount:
  7539. description: 期初开仓额
  7540. type: number
  7541. outergroupcode:
  7542. description: 交易品种代码
  7543. type: string
  7544. qtydecimalplace:
  7545. description: 成交量小数位
  7546. type: integer
  7547. reckondate:
  7548. description: 日照时期(yyyyMMdd)
  7549. type: string
  7550. reckonholdamount:
  7551. description: 结算持仓额
  7552. type: number
  7553. reckonpl:
  7554. description: 结算损益
  7555. type: number
  7556. reckonpl2:
  7557. description: 结算逐笔盈亏
  7558. type: number
  7559. reckonprice:
  7560. description: 结算价
  7561. type: number
  7562. relateduserid:
  7563. description: 账户关联用户ID
  7564. type: integer
  7565. todaycloseamount:
  7566. description: 今平仓额
  7567. type: number
  7568. todaycloseqty:
  7569. description: 今平仓量
  7570. type: number
  7571. todaygoodsgroupspotqty:
  7572. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7573. type: number
  7574. todaymiddlegoodsqty:
  7575. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7576. type: number
  7577. todayopenamount:
  7578. description: 今开仓额
  7579. type: number
  7580. todayopenqty:
  7581. description: 今开仓量
  7582. type: number
  7583. userid:
  7584. description: 账户所属用户ID
  7585. type: integer
  7586. type: object
  7587. models.Ermcp3TradeLinkDetail:
  7588. properties:
  7589. accountid:
  7590. description: 资金账号
  7591. type: integer
  7592. agreeunit:
  7593. description: 合约乘数
  7594. type: number
  7595. areauserid:
  7596. description: 所属机构
  7597. type: string
  7598. bizsubjectid:
  7599. description: 归属业务部门ID - SubjectID
  7600. type: string
  7601. buyorsell:
  7602. description: 方向 - 0:买 1:卖
  7603. type: integer
  7604. channelbuildtype:
  7605. description: 委托单据类型 0:无 1:建仓 2:平仓
  7606. type: integer
  7607. contractno:
  7608. description: 现货编号 (合同编号)
  7609. type: string
  7610. convertratio:
  7611. description: 折算系数
  7612. type: number
  7613. createtime:
  7614. description: 关联时间 | 创建时间
  7615. type: string
  7616. creatorid:
  7617. description: 创建人ID
  7618. type: string
  7619. creatorsrc:
  7620. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7621. type: integer
  7622. enumdicname:
  7623. description: 单位名称
  7624. type: string
  7625. goodscode:
  7626. description: 合约代码
  7627. type: string
  7628. goodsgroupid:
  7629. description: 对冲品种ID[期货合约商品组ID]
  7630. type: integer
  7631. goodsid:
  7632. description: 商品ID
  7633. type: integer
  7634. goodsname:
  7635. description: 合约名称
  7636. type: string
  7637. hedgeflag:
  7638. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7639. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7640. type: integer
  7641. linkdetailid:
  7642. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7643. type: string
  7644. linkstatus:
  7645. description: 关联状态 - 1:成功 2:失败 3:解绑
  7646. type: integer
  7647. middlegoodscode:
  7648. description: 套保品种代码
  7649. type: string
  7650. middlegoodsid:
  7651. description: 套保品种ID
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保品种名称
  7655. type: string
  7656. relatedlot:
  7657. description: 关联手数
  7658. type: number
  7659. relatedmode:
  7660. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7661. type: integer
  7662. relatedqty:
  7663. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7664. type: number
  7665. retcode:
  7666. description: 返回码
  7667. type: integer
  7668. saleuserid:
  7669. description: 业务员ID
  7670. type: string
  7671. spotcontractid:
  7672. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7673. type: string
  7674. taname:
  7675. description: 期货账户
  7676. type: string
  7677. tradedate:
  7678. description: 关联交易日(yyyyMMdd)
  7679. type: string
  7680. tradeid:
  7681. description: 期货订单号 | 内部成交单ID
  7682. type: string
  7683. tradelot:
  7684. description: 成交数量 | 成交手数
  7685. type: integer
  7686. tradeprice:
  7687. description: 成交价格
  7688. type: number
  7689. tradetime:
  7690. description: 期货成交时间
  7691. type: string
  7692. tradetradedate:
  7693. description: 成交交易日(yyyyMMdd)
  7694. type: string
  7695. username:
  7696. description: 用户名称
  7697. type: string
  7698. type: object
  7699. models.Ermcp3Wrstandard:
  7700. properties:
  7701. areauserid:
  7702. description: 所属机构
  7703. type: integer
  7704. cantrade:
  7705. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7706. type: integer
  7707. convertfactor:
  7708. description: 标仓系数
  7709. type: number
  7710. createtime:
  7711. description: 创建时间
  7712. type: string
  7713. creatorid:
  7714. description: 创建人
  7715. type: integer
  7716. deliverygoodsid:
  7717. description: 现货品种ID
  7718. type: integer
  7719. enumdicname:
  7720. description: 品类单位名称
  7721. type: string
  7722. isvalid:
  7723. description: 是否有效 0-无效(停用) 1-有效(正常)
  7724. type: integer
  7725. minivalue:
  7726. description: 最小变动值
  7727. type: integer
  7728. minivaluedp:
  7729. description: 最小变动值小数位
  7730. type: integer
  7731. realminivalue:
  7732. description: 实际最小变动值
  7733. type: integer
  7734. realminivaluedp:
  7735. description: 实际最小变动值小数位
  7736. type: integer
  7737. remark:
  7738. description: 备注
  7739. type: string
  7740. unitid:
  7741. description: 品类单位ID
  7742. type: integer
  7743. updatetime:
  7744. description: 更新时间
  7745. type: string
  7746. wrstandardcode:
  7747. description: 品类代码
  7748. type: string
  7749. wrstandardid:
  7750. description: 品类ID(SEQ_WRSTANDARD)
  7751. type: integer
  7752. wrstandardname:
  7753. description: 品类名称
  7754. type: string
  7755. type: object
  7756. models.Ermcp8EnableHedgeditem:
  7757. properties:
  7758. accountname:
  7759. description: 套期主体
  7760. type: string
  7761. hedgeditemid:
  7762. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7763. type: integer
  7764. hedgeditemname:
  7765. description: 项目名称
  7766. type: string
  7767. hedgeditemnum:
  7768. description: 项目编号
  7769. type: string
  7770. hedgedtype:
  7771. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7772. type: integer
  7773. planenddate:
  7774. description: 计划结束日期
  7775. type: string
  7776. planstartdate:
  7777. description: 计划开始日期
  7778. type: string
  7779. type: object
  7780. models.Ermcp8HedgeditemReport:
  7781. properties:
  7782. accountname:
  7783. description: 套期主体
  7784. type: string
  7785. areauserid:
  7786. description: 企业ID
  7787. type: integer
  7788. curprice:
  7789. description: '[当日现货市场价]当前市场价'
  7790. type: number
  7791. enumdicname:
  7792. description: 单位
  7793. type: string
  7794. exeamount:
  7795. description: '[执行现货金额]执行市价总额'
  7796. type: number
  7797. exeavgprice:
  7798. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7799. type: number
  7800. exeqty:
  7801. description: '[执行数量]执行现货量'
  7802. type: number
  7803. futurehedgepl:
  7804. description: 期货实际损益
  7805. type: number
  7806. futurehedgeplchange:
  7807. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7808. type: number
  7809. futurepl:
  7810. description: 期货套期损益
  7811. type: number
  7812. futureplchange:
  7813. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7814. type: number
  7815. hedgeamount:
  7816. description: '[套期现货金额]套期市价总额'
  7817. type: number
  7818. hedgeditemnum:
  7819. description: 项目编号,模糊查询
  7820. type: string
  7821. hedgeditemstatus:
  7822. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7823. type: integer
  7824. hedgedtype:
  7825. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7826. type: integer
  7827. hedgeqty:
  7828. description: '[套期数量]套期现货量'
  7829. type: number
  7830. oriavgprice:
  7831. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7832. type: number
  7833. orifuturehedgepl:
  7834. description: 期初期货实际损益
  7835. type: number
  7836. orifuturepl:
  7837. description: 期初期货套期损益
  7838. type: number
  7839. orispothedgepl:
  7840. description: 期初现货实际损益
  7841. type: number
  7842. orispotpl:
  7843. description: 期初现货套期损益
  7844. type: number
  7845. planenddate:
  7846. description: 计划结束日期
  7847. type: string
  7848. planstartdate:
  7849. description: 计划开始日期
  7850. type: string
  7851. spothedgepl:
  7852. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7853. type: number
  7854. spothedgeplchange:
  7855. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7856. type: number
  7857. spotpl:
  7858. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7859. type: number
  7860. spotplchange:
  7861. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7862. type: number
  7863. tradeuserid:
  7864. description: 交易用户ID
  7865. type: integer
  7866. unexeqty:
  7867. description: 未执行现货量 = 套期现货量 - 执行现货量
  7868. type: number
  7869. wrstandardcode:
  7870. description: 现货品类代码
  7871. type: string
  7872. wrstandardid:
  7873. description: 现货商品ID
  7874. type: integer
  7875. wrstandardname:
  7876. description: '[现货商品]现货品类名称'
  7877. type: string
  7878. type: object
  7879. models.Ermcp8RunningHedgeditem:
  7880. properties:
  7881. accountname:
  7882. description: 套期主体
  7883. type: string
  7884. applyid:
  7885. description: 申请人
  7886. type: integer
  7887. applysrc:
  7888. description: 申请来源 - 1:管理端 2:终端
  7889. type: integer
  7890. areauserid:
  7891. description: 企业ID
  7892. type: integer
  7893. auditid:
  7894. description: 审核人
  7895. type: integer
  7896. auditremark:
  7897. description: 审核备注
  7898. type: string
  7899. auditsrc:
  7900. description: 审核来源 - 1:管理端 2:终端
  7901. type: integer
  7902. audittime:
  7903. description: 审核时间
  7904. type: string
  7905. audittradedate:
  7906. description: 审核交易日(yyyyMMdd)
  7907. type: string
  7908. createtime:
  7909. description: 申请时间
  7910. type: string
  7911. curprice:
  7912. description: 当前市场价
  7913. type: number
  7914. curstock:
  7915. description: 期末库存量 = 采购总量 - 销售总量
  7916. type: number
  7917. deliverygoodsid:
  7918. description: 现货品种ID
  7919. type: integer
  7920. enddate:
  7921. description: 完成日期
  7922. type: string
  7923. endtradedate:
  7924. description: 完成交易日
  7925. type: string
  7926. enumdicname:
  7927. description: 单位
  7928. type: string
  7929. exeamount:
  7930. description: 执行市价总额
  7931. type: number
  7932. exeavgprice:
  7933. description: 执行市场均价= 执行市价总额 / 执行现货量
  7934. type: number
  7935. execontractamount:
  7936. description: 执行定价总额
  7937. type: number
  7938. exeqty:
  7939. description: 执行现货量
  7940. type: number
  7941. exerestamount:
  7942. description: 执行剩余市价总额【现货贸易】
  7943. type: number
  7944. futurefloatpl:
  7945. description: 期货浮动损益
  7946. type: number
  7947. futurehedgepl:
  7948. description: 期货实际损益
  7949. type: number
  7950. futurehedgeplchange:
  7951. description: 期货实际损益变动
  7952. type: number
  7953. futurepl:
  7954. description: 期货套期损益
  7955. type: number
  7956. futureplchange:
  7957. description: 期货套期损益变动
  7958. type: number
  7959. hedgeamount:
  7960. description: 套期市价总额
  7961. type: number
  7962. hedgecontractamount:
  7963. description: 套期定价总额 【定价采购合同】【现货贸易】
  7964. type: number
  7965. hedgeditemid:
  7966. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7967. type: string
  7968. hedgeditemname:
  7969. description: 项目名称
  7970. type: string
  7971. hedgeditemnum:
  7972. description: 项目编号
  7973. type: string
  7974. hedgeditemstatus:
  7975. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7976. type: integer
  7977. hedgedtype:
  7978. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7979. type: integer
  7980. hedgeqty:
  7981. description: 套期现货量
  7982. type: number
  7983. hedgerate:
  7984. description: 套保比率
  7985. type: number
  7986. hedgerestamount:
  7987. description: 套期剩余市价总额【现货贸易】
  7988. type: number
  7989. hedgesumpl:
  7990. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  7991. type: number
  7992. middlegoodslist:
  7993. description: 套期商品列表
  7994. items:
  7995. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  7996. type: array
  7997. oriavgprice:
  7998. description: 期初市场均价 = 套期市价总额 / 套期现货量
  7999. type: number
  8000. orifuturehedgepl:
  8001. description: 期初期货实际损益
  8002. type: number
  8003. orifuturepl:
  8004. description: 期初期货套期损益
  8005. type: number
  8006. orispothedgepl:
  8007. description: 期初现货实际损益
  8008. type: number
  8009. orispotpl:
  8010. description: 期初现货套期损益
  8011. type: number
  8012. planenddate:
  8013. description: 计划结束日期
  8014. type: string
  8015. planstartdate:
  8016. description: 计划开始日期
  8017. type: string
  8018. remark:
  8019. description: 备注
  8020. type: string
  8021. spotbookamount:
  8022. description: 现货账面总额
  8023. type: number
  8024. spotfloatpl:
  8025. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8026. type: number
  8027. spothedgepl:
  8028. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8029. type: number
  8030. spothedgeplchange:
  8031. description: 现货实际损益变动
  8032. type: number
  8033. spotpl:
  8034. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8035. type: number
  8036. spotplchange:
  8037. description: 现货套期损益变动
  8038. type: number
  8039. spottradepl:
  8040. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8041. type: number
  8042. sumobspl:
  8043. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8044. type: number
  8045. tradeuserid:
  8046. description: 交易用户ID
  8047. type: integer
  8048. unexeqty:
  8049. description: 未执行现货量 = 套期现货量 - 执行现货量
  8050. type: number
  8051. updatetime:
  8052. description: 更新时间
  8053. type: string
  8054. vatpl:
  8055. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8056. type: number
  8057. vatrate:
  8058. description: 增值税
  8059. type: number
  8060. wrstandardid:
  8061. description: 现货商品ID
  8062. type: integer
  8063. wrstandardname:
  8064. description: 商品名称
  8065. type: string
  8066. type: object
  8067. models.ErmcpBizGroupEx:
  8068. properties:
  8069. acclist:
  8070. description: 账号列表
  8071. items:
  8072. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8073. type: array
  8074. bizgroupid:
  8075. description: 业务分组id
  8076. type: integer
  8077. biztype:
  8078. description: 业务类型 1-套保 2-套利
  8079. type: integer
  8080. wrlist:
  8081. description: 现货商品表
  8082. items:
  8083. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8084. type: array
  8085. type: object
  8086. models.ErmcpBizGroupSpotGoods:
  8087. properties:
  8088. areauserid:
  8089. description: 所属机构id
  8090. type: integer
  8091. bizgroupid:
  8092. description: 分组id
  8093. type: integer
  8094. biztype:
  8095. description: 业务类型 1-套保 2-套利
  8096. type: integer
  8097. deliverygoodscode:
  8098. description: 现货商品代码
  8099. type: string
  8100. deliverygoodsid:
  8101. description: 现货商品id
  8102. type: integer
  8103. deliverygoodsname:
  8104. description: 现货商品名称
  8105. type: string
  8106. unitid:
  8107. description: 现货商品单位id
  8108. type: integer
  8109. type: object
  8110. models.ErmcpBizGroupTaAccount:
  8111. properties:
  8112. accountid:
  8113. description: 账号id
  8114. type: integer
  8115. accountname:
  8116. description: 账号名称
  8117. type: string
  8118. areauserid:
  8119. description: 所属机构id
  8120. type: integer
  8121. bizgroupid:
  8122. description: 业务分组id
  8123. type: integer
  8124. ismain:
  8125. description: 是否主账号 1-是 0-否
  8126. type: integer
  8127. type: object
  8128. models.ErmcpDGFactoryItem:
  8129. properties:
  8130. areauserid:
  8131. description: 用户id
  8132. type: integer
  8133. deliverygoodsid:
  8134. description: 现货品种ID
  8135. type: integer
  8136. dgfactoryitemid:
  8137. description: 选择项ID(SEQ_DGFACTORYITEM)
  8138. type: integer
  8139. dgfactoryitemtypeid:
  8140. description: 要素项类型
  8141. type: integer
  8142. dgfactoryitemvalue:
  8143. description: 要素项值(类型为仓库时填写仓库名称)
  8144. type: string
  8145. isvalid:
  8146. description: 是否有效 - 0:无效 1:有效
  8147. type: integer
  8148. orderindex:
  8149. description: 顺序
  8150. type: integer
  8151. warehouseid:
  8152. description: 仓库ID(类型为仓库时填写)
  8153. type: integer
  8154. type: object
  8155. models.ErmcpDeliveryGoods:
  8156. properties:
  8157. agreeunit:
  8158. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8159. type: integer
  8160. areauserid:
  8161. description: 所属机构
  8162. type: integer
  8163. auditflag:
  8164. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8165. type: integer
  8166. categoryid:
  8167. description: 类别ID(SEQ_WRCATEGORY)
  8168. type: integer
  8169. deliverygoodscode:
  8170. description: 现货品种代码
  8171. type: string
  8172. deliverygoodsid:
  8173. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8174. type: integer
  8175. deliverygoodsname:
  8176. description: 现货品种名称
  8177. type: string
  8178. deliverygoodstype:
  8179. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8180. type: integer
  8181. dgstatus:
  8182. description: 品种状态 - 作废 - 0:未激活 1:正常
  8183. type: integer
  8184. enumdicname:
  8185. description: 现货品种单位名称
  8186. type: string
  8187. goodsunitid:
  8188. description: 现货品种单位ID
  8189. type: integer
  8190. isvalid:
  8191. description: 是否有效 - 0:无效 1:有效
  8192. type: integer
  8193. qtydecimalplace:
  8194. description: 成交量小数位
  8195. type: integer
  8196. remark:
  8197. description: 备注
  8198. type: string
  8199. standardqty:
  8200. description: 标准数量(库位数量) [标准品特有]
  8201. type: integer
  8202. standardqtyrange:
  8203. description: 标准数量偏差范围 [标准品特有]
  8204. type: integer
  8205. type: object
  8206. models.ErmcpFuturesCompany:
  8207. properties:
  8208. brokerid:
  8209. description: 经纪公司代码
  8210. type: string
  8211. channeladdress:
  8212. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8213. type: string
  8214. channelid:
  8215. description: 对冲渠道ID
  8216. type: string
  8217. createtime:
  8218. description: 创建时间
  8219. type: string
  8220. creatorid:
  8221. description: 创建人
  8222. type: string
  8223. fcid:
  8224. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8225. type: integer
  8226. fcname:
  8227. description: 期货公司名称
  8228. type: string
  8229. isvalid:
  8230. description: 是否有效 - 0:无效 1:有效
  8231. type: integer
  8232. mhpaddress:
  8233. description: MHP服务地址(IP:Port)
  8234. type: string
  8235. riskrulegroupid:
  8236. description: 风控规则组ID
  8237. type: string
  8238. tradefeetmpid:
  8239. description: 手续费模板ID[TradeConfigTmpType为2]
  8240. type: string
  8241. trademargintmpid:
  8242. description: 保证金模板ID [TradeConfigTmpType为1]
  8243. type: string
  8244. traderatetmpid:
  8245. description: 汇率模板ID[TradeConfigTmpType为3]
  8246. type: string
  8247. updatetime:
  8248. description: 更新时间
  8249. type: string
  8250. updatorid:
  8251. description: 更新人
  8252. type: string
  8253. type: object
  8254. models.ErmcpGGConvertCfg:
  8255. properties:
  8256. convertratio:
  8257. description: 折算系数
  8258. type: number
  8259. destgoodsgroupid:
  8260. description: 目标品种ID
  8261. type: integer
  8262. dstcode:
  8263. description: 目录品种代码
  8264. type: string
  8265. dstexchangecode:
  8266. description: 目标期货交易所
  8267. type: string
  8268. dstname:
  8269. description: 目标品种名称
  8270. type: string
  8271. dstunitid:
  8272. description: 目标品种单位ID
  8273. type: integer
  8274. dstunitidname:
  8275. description: 目标品种单位名称
  8276. type: string
  8277. modifytime:
  8278. description: 修改时间
  8279. type: string
  8280. srccode:
  8281. description: 源品种代码
  8282. type: string
  8283. srcexchangecode:
  8284. description: 源期货交易所
  8285. type: string
  8286. srcgoodsgroupid:
  8287. description: 源品种ID
  8288. type: integer
  8289. srcname:
  8290. description: 源品种名称
  8291. type: string
  8292. srcunitid:
  8293. description: 源品种单位ID
  8294. type: integer
  8295. srcunitidname:
  8296. description: 源品种单位名称
  8297. type: string
  8298. type: object
  8299. models.ErmcpGoods:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. areauserid:
  8305. description: 所属机构
  8306. type: integer
  8307. auditaccountid:
  8308. description: 审核操作员账号
  8309. type: integer
  8310. audittime:
  8311. description: 审核时间
  8312. type: string
  8313. cancelaccountid:
  8314. description: 注销操作员账号
  8315. type: integer
  8316. canceltime:
  8317. description: 注销时间
  8318. type: string
  8319. closepricemode:
  8320. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8321. type: integer
  8322. closepriceparam:
  8323. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8324. type: number
  8325. createtime:
  8326. description: 创建时间
  8327. type: string
  8328. creatorid:
  8329. description: 创建人
  8330. type: integer
  8331. currencyid:
  8332. description: 报价货币ID
  8333. type: integer
  8334. cutmode:
  8335. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8336. type: integer
  8337. decimalplace:
  8338. description: 报价小数位
  8339. type: integer
  8340. delistingdate:
  8341. description: 商品退市时间(状态:退市) -- 已作废
  8342. type: string
  8343. delistingmode:
  8344. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8345. type: integer
  8346. deliveryflag:
  8347. description: 交割标志 - 0:不可交割 1:可交割
  8348. type: integer
  8349. enumdicname:
  8350. description: 单位名称
  8351. type: string
  8352. forceclosemode:
  8353. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8354. type: integer
  8355. forceclosevalue:
  8356. description: 定期强平参数 [收益权]
  8357. type: integer
  8358. goodscode:
  8359. description: 商品代码(内部)
  8360. type: string
  8361. goodscurrencyid:
  8362. description: 合约货币ID
  8363. type: integer
  8364. goodsgroupid:
  8365. description: 所属商品组ID
  8366. type: integer
  8367. goodsid:
  8368. description: 商品ID(自增ID SEQ_GOODS)
  8369. type: integer
  8370. goodsname:
  8371. description: 商品名称
  8372. type: string
  8373. goodsquotetype:
  8374. description: '合约报价类型: 1-直接报价 2-间接报价'
  8375. type: integer
  8376. goodsstatus:
  8377. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8378. type: integer
  8379. goodstradetype:
  8380. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8381. type: integer
  8382. goodunitid:
  8383. description: 报价单位ID
  8384. type: integer
  8385. hasquoter:
  8386. description: 是否有报价商 - 0:无报价商 1:有报价商
  8387. type: integer
  8388. hqprotecttime:
  8389. description: 行情保护时间(秒)
  8390. type: integer
  8391. innerdealmode:
  8392. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8393. type: integer
  8394. isbuylimited:
  8395. description: 是否限制建仓量 - 0:不限制 1:限制
  8396. type: integer
  8397. isvisible:
  8398. description: 游客是否可见 - 0:不可见 1:可见
  8399. type: integer
  8400. lasttradedate:
  8401. description: 最后交易日期(状态:待退市)
  8402. type: string
  8403. listingdate:
  8404. description: 交易开始日期
  8405. type: string
  8406. marketid:
  8407. description: 所属市场ID
  8408. type: integer
  8409. modifierid:
  8410. description: 修改人
  8411. type: integer
  8412. modifystatus:
  8413. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8414. type: integer
  8415. modifytime:
  8416. description: 修改时间
  8417. type: string
  8418. outerdealmode:
  8419. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8420. type: integer
  8421. outgoodscode:
  8422. description: 商品代码(外部)
  8423. type: string
  8424. pictureurl:
  8425. description: 商品图片
  8426. type: string
  8427. qtydecimalplace:
  8428. description: 成交量小数位
  8429. type: integer
  8430. quotegear:
  8431. description: 行情档位(1-10)
  8432. type: integer
  8433. quoteminunit:
  8434. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8435. type: integer
  8436. quoteshowtype:
  8437. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8438. type: integer
  8439. quoteshowtypeinterval:
  8440. description: 行情报价间隔时间(秒)(成交价时为0)
  8441. type: integer
  8442. relatedgoodsid:
  8443. description: 关联参考商品ID
  8444. type: integer
  8445. remark:
  8446. description: 备注
  8447. type: string
  8448. trademode:
  8449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8450. 21:竞拍-大宗式 22:受托竞价
  8451. type: integer
  8452. required:
  8453. - goodscode
  8454. - goodsid
  8455. - goodsname
  8456. - marketid
  8457. type: object
  8458. models.ErmcpGoodsBrand:
  8459. properties:
  8460. areauserid:
  8461. description: 所属机构
  8462. type: integer
  8463. brandid:
  8464. description: BrandID(SEQ_SPOTGOODSBRAND)
  8465. type: integer
  8466. brandname:
  8467. description: 品牌名称
  8468. type: string
  8469. createtime:
  8470. description: 创建时间
  8471. type: string
  8472. creatorid:
  8473. description: 创建人
  8474. type: integer
  8475. creatorsrc:
  8476. description: 创建人来源 - 1:管理端 2:终端
  8477. type: integer
  8478. deliverygoodsid:
  8479. description: 现货品种ID
  8480. type: integer
  8481. isvalid:
  8482. description: 是否有效 - 0:无效 1:有效
  8483. type: integer
  8484. updatetime:
  8485. description: 更新时间
  8486. type: string
  8487. updatorid:
  8488. description: 更新人
  8489. type: integer
  8490. updatorsrc:
  8491. description: 更新人来源 - 1:管理端 2:终端
  8492. type: integer
  8493. wrstandardid:
  8494. description: 现货商品ID
  8495. type: integer
  8496. type: object
  8497. models.ErmcpGoodsModel:
  8498. properties:
  8499. areauserid:
  8500. description: 所属机构
  8501. type: integer
  8502. convertfactor:
  8503. description: 标仓系数
  8504. type: number
  8505. createtime:
  8506. description: 创建时间
  8507. type: string
  8508. creatorid:
  8509. description: 创建人
  8510. type: integer
  8511. creatorsrc:
  8512. description: 创建人来源 - 1:管理端 2:终端
  8513. type: integer
  8514. deliverygoodsid:
  8515. description: 现货品种ID
  8516. type: integer
  8517. isvalid:
  8518. description: 是否有效 - 0:无效 1:有效
  8519. type: integer
  8520. modelid:
  8521. description: ModelID(SEQ_SPOTGOODSMODEL)
  8522. type: integer
  8523. modelname:
  8524. description: 型号名称
  8525. type: string
  8526. updatetime:
  8527. description: 更新时间
  8528. type: string
  8529. updatorid:
  8530. description: 更新人
  8531. type: integer
  8532. updatorsrc:
  8533. description: 更新人来源 - 1:管理端 2:终端
  8534. type: integer
  8535. wrstandardid:
  8536. description: 现货商品ID
  8537. type: integer
  8538. type: object
  8539. models.ErmcpHisExposure:
  8540. properties:
  8541. needhedgeexposoure:
  8542. description: 应套保敞口
  8543. type: number
  8544. reckondate:
  8545. description: 日照时期(yyyyMMdd)
  8546. type: string
  8547. totalexposure:
  8548. description: 总敞口
  8549. type: number
  8550. type: object
  8551. models.ErmcpLoginTaAccount:
  8552. properties:
  8553. accountid:
  8554. description: 账号id
  8555. type: integer
  8556. accountname:
  8557. description: 账号名称
  8558. type: string
  8559. type: object
  8560. models.ErmcpLoginUser:
  8561. properties:
  8562. acclist:
  8563. description: 关联资金账号
  8564. items:
  8565. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8566. type: array
  8567. accountname:
  8568. description: 用户名称
  8569. type: string
  8570. clientroleid:
  8571. description: 角色id(usertype=2)
  8572. type: integer
  8573. createtime:
  8574. description: 创建时间
  8575. type: string
  8576. logincode:
  8577. description: 登录代码
  8578. type: string
  8579. loginid:
  8580. description: 登录id(LOGINID)
  8581. type: integer
  8582. loginname:
  8583. description: 登录名称(loginaccount表中的accountname字段)
  8584. type: string
  8585. loginstatus:
  8586. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8587. type: integer
  8588. memberuserid:
  8589. description: 所属会员id
  8590. type: integer
  8591. mobile:
  8592. description: 手机号
  8593. type: string
  8594. modifytime:
  8595. description: 修改时间
  8596. type: string
  8597. password:
  8598. description: 密码(不可解密)
  8599. type: string
  8600. rolename:
  8601. description: 角色名称
  8602. type: string
  8603. rolestatus:
  8604. description: 角色状态 1-启用 2-停用
  8605. type: integer
  8606. roletype:
  8607. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8608. type: string
  8609. userid:
  8610. description: 用户id
  8611. type: integer
  8612. usertype:
  8613. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8614. type: integer
  8615. type: object
  8616. models.ErmcpLoginUserEx:
  8617. properties:
  8618. accountstatus:
  8619. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8620. type: integer
  8621. mobile:
  8622. description: 手机号
  8623. type: string
  8624. querytype:
  8625. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8626. type: integer
  8627. roleid:
  8628. description: 角色id(交易账户->用户id)
  8629. type: integer
  8630. rolename:
  8631. description: 角色名称(交易账户->用户名称)
  8632. type: string
  8633. userlist:
  8634. description: 用户列表
  8635. items:
  8636. $ref: '#/definitions/models.ErmcpLoginUser'
  8637. type: array
  8638. usertype:
  8639. description: 用户类型 2-机构 7-企业成员(云平台)
  8640. type: integer
  8641. type: object
  8642. models.ErmcpMiddleGoodsModel:
  8643. properties:
  8644. areauserid:
  8645. description: 机构用户ID
  8646. type: integer
  8647. createtime:
  8648. description: 修改时间
  8649. type: string
  8650. enumdicname:
  8651. description: 单位名称
  8652. type: string
  8653. evaluateratio:
  8654. description: 估价系数
  8655. type: number
  8656. goodsgroupid:
  8657. description: 关联期货品种ID
  8658. type: integer
  8659. goodsunitid:
  8660. description: 单位ID
  8661. type: integer
  8662. isvalid:
  8663. description: 状态 0-无效(停用) 1-有效(正常)
  8664. type: integer
  8665. middlegoodscode:
  8666. description: 套保品种代码
  8667. type: string
  8668. middlegoodsid:
  8669. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8670. type: integer
  8671. middlegoodsname:
  8672. description: 套保品种名称
  8673. type: string
  8674. modifytime:
  8675. description: 修改时间
  8676. type: string
  8677. needarbitrageratio:
  8678. description: 套利比例
  8679. type: number
  8680. needhedgeratio:
  8681. description: 套保比率
  8682. type: number
  8683. qtydecimalplace:
  8684. description: 数量小数位
  8685. type: integer
  8686. relatedgoodsid:
  8687. description: 关联交易商品ID
  8688. type: integer
  8689. relatedgoodstype:
  8690. description: 关联商品类型 - 1:期货合约 2:现货品种
  8691. type: integer
  8692. remark:
  8693. description: 备注
  8694. type: string
  8695. type: object
  8696. models.ErmcpMiddlegoodsRelateGoods:
  8697. properties:
  8698. agreeunit:
  8699. description: 合约乘数
  8700. type: number
  8701. convertratio:
  8702. description: 折算系数
  8703. type: number
  8704. enumdicname:
  8705. description: 单位名称(交易商品)
  8706. type: string
  8707. goodscode:
  8708. description: 交易商品代码
  8709. type: string
  8710. goodsgroupid:
  8711. description: 交易品种id
  8712. type: integer
  8713. goodsid:
  8714. description: 商品Id
  8715. type: integer
  8716. goodsname:
  8717. description: 交易商品名称
  8718. type: string
  8719. goodunitid:
  8720. description: 交易商品单位id
  8721. type: integer
  8722. middlegoodsid:
  8723. description: 套保商品id
  8724. type: integer
  8725. middlegoodsname:
  8726. description: 套保商品名称
  8727. type: string
  8728. middlegoodsswcode:
  8729. description: 套保商品代码
  8730. type: string
  8731. needarbitrageratio:
  8732. description: 应套利比例
  8733. type: number
  8734. needhedgeratio:
  8735. description: 应套保比例
  8736. type: number
  8737. type: object
  8738. models.ErmcpRole:
  8739. properties:
  8740. areauserid:
  8741. description: 所属机构
  8742. type: integer
  8743. autoid:
  8744. description: 角色ID(自增ID)
  8745. type: integer
  8746. modifierid:
  8747. description: 修改人(创建人)
  8748. type: integer
  8749. modifiername:
  8750. description: 修改人名称
  8751. type: string
  8752. modifytime:
  8753. description: 修改时间(创建时间)
  8754. type: string
  8755. rolename:
  8756. description: 角色名称
  8757. type: string
  8758. rolestatus:
  8759. description: 角色状态 - 1:启用 2:停用
  8760. type: integer
  8761. roletype:
  8762. description: 角色类型 - 1- 管理端 2- 交易端
  8763. type: integer
  8764. type: object
  8765. models.ErmcpRoleMenu:
  8766. properties:
  8767. iconame:
  8768. description: 菜单图标
  8769. type: string
  8770. ishadrole:
  8771. description: 是否有权限
  8772. type: boolean
  8773. menutype:
  8774. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8775. type: integer
  8776. parentcode:
  8777. description: 上级资源代码
  8778. type: string
  8779. remark:
  8780. description: 菜单备注
  8781. type: string
  8782. resourcecode:
  8783. description: 菜单代码
  8784. type: string
  8785. resourcelevel:
  8786. description: 级别
  8787. type: integer
  8788. resourcename:
  8789. description: 菜单名称
  8790. type: string
  8791. roleid:
  8792. description: 角色id
  8793. type: integer
  8794. sort:
  8795. description: 排序
  8796. type: integer
  8797. url:
  8798. description: URL
  8799. type: string
  8800. userid:
  8801. description: 用户id
  8802. type: integer
  8803. type: object
  8804. models.ErmcpRoleMenuEx:
  8805. properties:
  8806. menu:
  8807. $ref: '#/definitions/models.ErmcpRoleMenu'
  8808. description: 父级菜单
  8809. subMenu:
  8810. description: 子级菜单
  8811. items:
  8812. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8813. type: array
  8814. type: object
  8815. models.ErmcpSpotContractModelEx:
  8816. properties:
  8817. accountname:
  8818. description: 套期主体
  8819. type: string
  8820. amount:
  8821. description: 金额 [1:一口价、3:暂定价]
  8822. type: number
  8823. attachment:
  8824. description: 附件
  8825. type: string
  8826. auditremark:
  8827. description: 审核意见
  8828. type: string
  8829. audittime:
  8830. description: 审核时间
  8831. type: string
  8832. avgprice:
  8833. description: 定价均价 = 已定价金额 / 已定价量
  8834. type: number
  8835. brandname:
  8836. description: 品牌名称
  8837. type: string
  8838. buyuserid:
  8839. description: 采购方ID
  8840. type: integer
  8841. buyusername:
  8842. description: 采购方名称
  8843. type: string
  8844. contracctstatus:
  8845. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8846. type: integer
  8847. contractmargin:
  8848. description: 合同保证金
  8849. type: number
  8850. contractno:
  8851. description: '[合同编号]现货合同编号'
  8852. type: string
  8853. contracttype:
  8854. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8855. type: integer
  8856. convertfactor:
  8857. description: 标仓系数
  8858. type: number
  8859. createtime:
  8860. description: 创建时间
  8861. type: string
  8862. customername:
  8863. description: 对手方
  8864. type: string
  8865. customeruserid:
  8866. description: 客户ID
  8867. type: integer
  8868. deliveryenddate:
  8869. description: 交收期(结束)
  8870. type: string
  8871. deliverygoodscode:
  8872. description: 现货品种代码
  8873. type: string
  8874. deliverygoodsid:
  8875. description: 现货品种ID
  8876. type: integer
  8877. deliverygoodsname:
  8878. description: 现货品种名称
  8879. type: string
  8880. deliverystartdate:
  8881. description: 交收期(开始)
  8882. type: string
  8883. enddate:
  8884. description: 点价结束日期 [2:点价 3:暂定价]
  8885. type: string
  8886. enumdicname:
  8887. description: 单位名称
  8888. type: string
  8889. goodscode:
  8890. description: 点价合约代码
  8891. type: string
  8892. goodsid:
  8893. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  8894. type: integer
  8895. goodsname:
  8896. description: 点价商品名称
  8897. type: string
  8898. isrelated:
  8899. description: 是否已关联计划项目 - 0:否 1:是
  8900. type: integer
  8901. isrelated2:
  8902. description: 是否已关联现货项目 - 0:否 1:是
  8903. type: integer
  8904. margin:
  8905. description: 当前保证金
  8906. type: number
  8907. modelname:
  8908. description: 型号名称
  8909. type: string
  8910. price:
  8911. description: 价格\暂定价 [1:一口价、3:暂定价]
  8912. type: number
  8913. pricedamount:
  8914. description: 已定价金额 = (点价价格+升贴水) * 数量
  8915. type: number
  8916. pricedqty:
  8917. description: 已定价量
  8918. type: number
  8919. pricemove:
  8920. description: 升贴水 [2:点价 3:暂定价]
  8921. type: number
  8922. pricetype:
  8923. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  8924. type: integer
  8925. producttype:
  8926. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  8927. type: integer
  8928. qty:
  8929. description: '[合同数量]数量'
  8930. type: number
  8931. remark:
  8932. description: 备注
  8933. type: string
  8934. selluserid:
  8935. description: 销售方ID
  8936. type: integer
  8937. sellusername:
  8938. description: 销售方名称
  8939. type: string
  8940. spotamount:
  8941. description: 合同现货金额 [不含升贴水]
  8942. type: number
  8943. spotavgprice:
  8944. description: 现货均价 = 合同现货金额 / 已定价量
  8945. type: number
  8946. spotcontractid:
  8947. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  8948. type: string
  8949. spotgoodsbrandid:
  8950. description: 现货品牌ID
  8951. type: integer
  8952. spotgoodsdesc:
  8953. description: 商品型号
  8954. type: string
  8955. spotgoodsmodelid:
  8956. description: 现货型号ID
  8957. type: integer
  8958. startdate:
  8959. description: 点价开始日期 [2:点价 3:暂定价]
  8960. type: string
  8961. tradeuserid:
  8962. description: 交易用户ID
  8963. type: integer
  8964. unpricedqty:
  8965. description: 未定价量 = 合同数量 - 已定价量
  8966. type: number
  8967. updatetime:
  8968. description: 更新时间
  8969. type: string
  8970. userid:
  8971. description: 机构ID
  8972. type: integer
  8973. wrstandardcode:
  8974. description: 现货商品代码
  8975. type: string
  8976. wrstandardid:
  8977. description: 现货商品ID
  8978. type: integer
  8979. wrstandardname:
  8980. description: '[现货商品]现货商品名称'
  8981. type: string
  8982. type: object
  8983. models.ErmcpTaAccount:
  8984. properties:
  8985. accountid:
  8986. description: 账户id
  8987. type: integer
  8988. accountname:
  8989. description: 账户名称
  8990. type: string
  8991. currencyid:
  8992. description: 币种id
  8993. type: integer
  8994. hedgeaccountcode:
  8995. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8996. type: string
  8997. ismain:
  8998. description: 是否主账户 0-否 1-是
  8999. type: integer
  9000. parentaccountid:
  9001. description: 父账户id
  9002. type: integer
  9003. relateduserid:
  9004. description: 关联userid
  9005. type: integer
  9006. tradefeetmpid:
  9007. description: 手续费模板id
  9008. type: integer
  9009. tradefeetmpname:
  9010. description: 手续费模板名称
  9011. type: string
  9012. trademargintmpid:
  9013. description: 保证金模板id
  9014. type: integer
  9015. trademargintmpname:
  9016. description: 保证金模板名称
  9017. type: string
  9018. traderatetmpid:
  9019. description: 汇率模板id
  9020. type: integer
  9021. traderatetmpname:
  9022. description: 汇率模板名称
  9023. type: string
  9024. tradestatus:
  9025. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9026. type: integer
  9027. userid:
  9028. description: 用户id
  9029. type: integer
  9030. type: object
  9031. models.ErmcpTaAccountEx:
  9032. properties:
  9033. mainAcc:
  9034. $ref: '#/definitions/models.ErmcpTaAccountM'
  9035. description: 主账号
  9036. subacclist:
  9037. description: 子账号列表
  9038. items:
  9039. $ref: '#/definitions/models.ErmcpTaAccount'
  9040. type: array
  9041. type: object
  9042. models.ErmcpTaAccountInfo:
  9043. properties:
  9044. accountid:
  9045. description: 资金账户ID
  9046. type: integer
  9047. accountname:
  9048. description: 账户名称
  9049. type: string
  9050. balance:
  9051. description: 期初余额
  9052. type: number
  9053. capitalbalance:
  9054. description: 本金余额[外部子账户实际出入金余额]
  9055. type: number
  9056. closepl:
  9057. description: 今日平仓盈亏
  9058. type: number
  9059. creditdecrease:
  9060. description: 今日授信减少
  9061. type: number
  9062. creditincrease:
  9063. description: 今日授信增加
  9064. type: number
  9065. curdebt:
  9066. description: 期末欠款
  9067. type: number
  9068. currencyid:
  9069. description: 货币ID
  9070. type: integer
  9071. currentbalance:
  9072. description: 期末余额
  9073. type: number
  9074. freezecharge:
  9075. description: 手续费冻结
  9076. type: number
  9077. freezemargin:
  9078. description: 冻结保证金
  9079. type: number
  9080. fromaccountid:
  9081. description: 所属上级账户
  9082. type: integer
  9083. inamount:
  9084. description: 今日入金金额(包括三方入金)
  9085. type: number
  9086. ismain:
  9087. description: 是否母账号 0:不是母账户 1:是母账户
  9088. type: integer
  9089. mortgagecredit:
  9090. description: 授信金额
  9091. type: number
  9092. oridebt:
  9093. description: 期初欠款
  9094. type: number
  9095. orifreezecharge:
  9096. description: 期初手续费冻结
  9097. type: number
  9098. orifreezemargin:
  9099. description: 期初冻结保证金
  9100. type: number
  9101. orimortgagecredit:
  9102. description: 期初授信金额
  9103. type: number
  9104. oriothercredit:
  9105. description: 期初其它授信金额
  9106. type: number
  9107. oriotherfreezemargin:
  9108. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9109. type: number
  9110. orioutamountfreeze:
  9111. description: 期初出金冻结
  9112. type: number
  9113. oriusedmargin:
  9114. description: 期初占用保证金
  9115. type: number
  9116. othercredit:
  9117. description: 其它授信金额
  9118. type: number
  9119. othercreditdecrease:
  9120. description: 今日其它授信减少
  9121. type: number
  9122. othercreditincrease:
  9123. description: 今日其它授信增加
  9124. type: number
  9125. otherfreezemargin:
  9126. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9127. type: number
  9128. outamount:
  9129. description: 今日出金金额(包括三方出金)
  9130. type: number
  9131. outamountfreeze:
  9132. description: 出金冻结
  9133. type: number
  9134. outthreshold:
  9135. description: 出金阈值
  9136. type: number
  9137. parentaccountid:
  9138. description: 所属根账号
  9139. type: integer
  9140. paycharge:
  9141. description: 今日手续费支出
  9142. type: number
  9143. relateduserid:
  9144. description: 关联用户
  9145. type: integer
  9146. signstatus:
  9147. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9148. type: integer
  9149. sublevelpath:
  9150. description: 账号层级路径(逗号分隔,首尾加逗号)
  9151. type: string
  9152. taaccounttype:
  9153. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9154. type: integer
  9155. thirdinamount:
  9156. description: 今日三方入金
  9157. type: number
  9158. thirdoutamount:
  9159. description: 今日三方出金
  9160. type: number
  9161. tradestatus:
  9162. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9163. type: integer
  9164. transferamount:
  9165. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9166. type: number
  9167. usedmargin:
  9168. description: 占用保证金
  9169. type: number
  9170. userid:
  9171. description: 用户ID
  9172. type: integer
  9173. type: object
  9174. models.ErmcpTaAccountM:
  9175. properties:
  9176. accountid:
  9177. description: 账户id
  9178. type: integer
  9179. accountname:
  9180. description: 账户名称
  9181. type: string
  9182. currencyid:
  9183. description: 币种id
  9184. type: integer
  9185. fcid:
  9186. description: 期货公司id
  9187. type: integer
  9188. fcname:
  9189. description: 期货公司代码
  9190. type: string
  9191. hedgeaccountcode:
  9192. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9193. type: string
  9194. ismain:
  9195. description: 是否主账户 0-否 1-是
  9196. type: integer
  9197. parentaccountid:
  9198. description: 父账户id
  9199. type: integer
  9200. relateduserid:
  9201. description: 关联userid
  9202. type: integer
  9203. tradefeetmpid:
  9204. description: 手续费模板id
  9205. type: integer
  9206. tradefeetmpname:
  9207. description: 手续费模板名称
  9208. type: string
  9209. trademargintmpid:
  9210. description: 保证金模板id
  9211. type: integer
  9212. trademargintmpname:
  9213. description: 保证金模板名称
  9214. type: string
  9215. traderatetmpid:
  9216. description: 汇率模板id
  9217. type: integer
  9218. traderatetmpname:
  9219. description: 汇率模板名称
  9220. type: string
  9221. tradestatus:
  9222. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9223. type: integer
  9224. userid:
  9225. description: 用户id
  9226. type: integer
  9227. type: object
  9228. models.ErmcpTradeConfigTMP:
  9229. properties:
  9230. areauserid:
  9231. description: 所属机构
  9232. type: integer
  9233. basiccurrencyid:
  9234. description: 基本币种ID[汇率] - 目标币种
  9235. type: integer
  9236. mainaccountid:
  9237. description: 主账户ID
  9238. type: integer
  9239. modifierid:
  9240. description: 修改人
  9241. type: integer
  9242. remark:
  9243. description: 备注
  9244. type: string
  9245. tradeconfigtmpid:
  9246. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9247. type: integer
  9248. tradeconfigtmpname:
  9249. description: 交易配置模板名称
  9250. type: string
  9251. tradeconfigtmptype:
  9252. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9253. type: integer
  9254. updatetime:
  9255. description: 更新时间
  9256. type: string
  9257. type: object
  9258. models.Ermcpjrlinkpos:
  9259. properties:
  9260. areauserid:
  9261. description: 所属企业
  9262. type: integer
  9263. averageprice:
  9264. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9265. type: number
  9266. closepl:
  9267. description: 总平仓盈亏 [期货损益]
  9268. type: number
  9269. executeprice:
  9270. description: 执行价 - 1:期货单 为 0
  9271. type: integer
  9272. futurehedgeqty:
  9273. description: 期货套期量
  9274. type: number
  9275. goodsid:
  9276. description: 期货合约
  9277. type: integer
  9278. middlegoodscode:
  9279. description: 套保商品代码
  9280. type: string
  9281. middlegoodsname:
  9282. description: 套保商品名称
  9283. type: string
  9284. netqty:
  9285. description: 净头寸
  9286. type: number
  9287. optioncode:
  9288. description: 期权代码
  9289. type: string
  9290. ordertype:
  9291. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9292. type: integer
  9293. reckonpl:
  9294. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9295. type: number
  9296. spotcontractid:
  9297. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9298. type: string
  9299. todayfutureclosepl:
  9300. description: 今日平仓盈亏
  9301. type: number
  9302. totalbuyamount:
  9303. description: 买金额 [期货]
  9304. type: number
  9305. totalbuyholdamount:
  9306. description: 买持仓总金额[期货]
  9307. type: number
  9308. totalbuyqty:
  9309. description: 买数量
  9310. type: number
  9311. totalcharge:
  9312. description: 手续费
  9313. type: number
  9314. totalpremium:
  9315. description: 权利金 [期权]
  9316. type: number
  9317. totalsellamount:
  9318. description: 卖金额 [期货]
  9319. type: number
  9320. totalsellholdamount:
  9321. description: 卖持仓总金额[期货]
  9322. type: number
  9323. totalsellqty:
  9324. description: 卖数量
  9325. type: number
  9326. updatetime:
  9327. description: 更新时间
  9328. type: string
  9329. required:
  9330. - spotcontractid
  9331. type: object
  9332. models.Ermcppatradelinkdetail:
  9333. properties:
  9334. agreeunit:
  9335. description: 合约乘数
  9336. type: number
  9337. amount:
  9338. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9339. type: number
  9340. areauserid:
  9341. description: 所属机构
  9342. type: integer
  9343. bizsubjectid:
  9344. description: 归属业务部门ID - SubjectID
  9345. type: integer
  9346. buyorsell:
  9347. description: 方向 - 0:买 1:卖
  9348. type: integer
  9349. convertratio:
  9350. description: 品种系数
  9351. type: number
  9352. createtime:
  9353. description: 创建时间
  9354. type: string
  9355. creatorid:
  9356. description: 创建人ID
  9357. type: integer
  9358. creatorsrc:
  9359. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9360. type: integer
  9361. goodsgroupid:
  9362. description: 对冲品种ID[期货合约商品组ID]
  9363. type: integer
  9364. goodsid:
  9365. description: 商品ID
  9366. type: integer
  9367. hedgeditemid:
  9368. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9369. type: integer
  9370. hedgeflag:
  9371. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9372. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9373. type: integer
  9374. linkdetailid:
  9375. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9376. type: string
  9377. linkstatus:
  9378. description: 关联状态 - 1:成功 2:失败 3:解绑
  9379. type: integer
  9380. middlegoodsid:
  9381. description: 套保品种ID
  9382. type: integer
  9383. name:
  9384. description: 账户名/子账户
  9385. type: string
  9386. optioncode:
  9387. description: '[期货合约]期权代码 [期权]'
  9388. type: string
  9389. ordertype:
  9390. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9391. type: integer
  9392. relatedlot:
  9393. description: '[数量]关联手数'
  9394. type: number
  9395. relatedmode:
  9396. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9397. type: integer
  9398. relatedqty:
  9399. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9400. type: number
  9401. retcode:
  9402. description: 返回码
  9403. type: integer
  9404. saleuserid:
  9405. description: 业务员ID
  9406. type: integer
  9407. tradedate:
  9408. description: 关联交易日(yyyyMMdd)
  9409. type: string
  9410. tradeid:
  9411. description: '[成交单号]内部成交单ID'
  9412. type: string
  9413. tradelot:
  9414. description: 成交手数
  9415. type: integer
  9416. tradeprice:
  9417. description: '[价格]成交价格'
  9418. type: number
  9419. tradetime:
  9420. description: 日期时间
  9421. type: string
  9422. tradetradedate:
  9423. description: 成交交易日(yyyyMMdd)
  9424. type: string
  9425. required:
  9426. - hedgeditemid
  9427. type: object
  9428. models.Externalexchange:
  9429. properties:
  9430. autoid:
  9431. description: AutoID - SEQ_EXTERNALEXCHANGE
  9432. type: integer
  9433. exchangefullname:
  9434. description: 外部交易所全称
  9435. type: string
  9436. exexchangecode:
  9437. description: 外部交易所代码
  9438. type: string
  9439. exexchangename:
  9440. description: 外部交易所名称(简称)
  9441. type: string
  9442. ismarketprice:
  9443. description: 是否支持市价 - 0:不支持 1:支持
  9444. type: integer
  9445. quotegear:
  9446. description: 行情档位(1-10)
  9447. type: integer
  9448. showbrokerflag:
  9449. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9450. type: integer
  9451. updatetime:
  9452. description: 更新时间
  9453. type: string
  9454. required:
  9455. - autoid
  9456. type: object
  9457. models.Funcmenulist:
  9458. properties:
  9459. iconame:
  9460. description: 菜单图标
  9461. type: string
  9462. menutype:
  9463. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9464. type: integer
  9465. parentcode:
  9466. description: 上级资源代码
  9467. type: string
  9468. remark:
  9469. description: 备注
  9470. type: string
  9471. resourcecode:
  9472. description: 资源代码
  9473. type: string
  9474. resourcelevel:
  9475. description: 级别 1-一级 2-二级 3-三级 4-四级
  9476. type: integer
  9477. resourcename:
  9478. description: 资源名
  9479. type: string
  9480. sort:
  9481. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9482. type: integer
  9483. url:
  9484. description: URL
  9485. type: string
  9486. required:
  9487. - resourcecode
  9488. type: object
  9489. models.Goods:
  9490. properties:
  9491. agreeunit:
  9492. description: 合约单位
  9493. type: number
  9494. areauserid:
  9495. description: 所属机构
  9496. type: integer
  9497. auditaccountid:
  9498. description: 审核操作员账号
  9499. type: integer
  9500. audittime:
  9501. description: 审核时间
  9502. type: string
  9503. cancelaccountid:
  9504. description: 注销操作员账号
  9505. type: integer
  9506. canceltime:
  9507. description: 注销时间
  9508. type: string
  9509. closepricemode:
  9510. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9511. type: integer
  9512. closepriceparam:
  9513. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9514. type: number
  9515. createtime:
  9516. description: 创建时间
  9517. type: string
  9518. creatorid:
  9519. description: 创建人
  9520. type: integer
  9521. currencyid:
  9522. description: 报价货币ID
  9523. type: integer
  9524. cutmode:
  9525. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9526. type: integer
  9527. decimalplace:
  9528. description: 报价小数位
  9529. type: integer
  9530. delistingdate:
  9531. description: 商品退市时间(状态:退市) -- 已作废
  9532. type: string
  9533. delistingmode:
  9534. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9535. type: integer
  9536. deliveryflag:
  9537. description: 交割标志 - 0:不可交割 1:可交割
  9538. type: integer
  9539. forceclosemode:
  9540. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9541. type: integer
  9542. forceclosevalue:
  9543. description: 定期强平参数 [收益权]
  9544. type: integer
  9545. goodscode:
  9546. description: 商品代码(内部)
  9547. type: string
  9548. goodscurrencyid:
  9549. description: 合约货币ID
  9550. type: integer
  9551. goodsgroupid:
  9552. description: 所属商品组ID
  9553. type: integer
  9554. goodsid:
  9555. description: 商品ID(自增ID SEQ_GOODS)
  9556. type: integer
  9557. goodsname:
  9558. description: 商品名称
  9559. type: string
  9560. goodsquotetype:
  9561. description: '合约报价类型: 1-直接报价 2-间接报价'
  9562. type: integer
  9563. goodsstatus:
  9564. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9565. type: integer
  9566. goodstradetype:
  9567. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9568. type: integer
  9569. goodunitid:
  9570. description: 报价单位ID
  9571. type: integer
  9572. hasquoter:
  9573. description: 是否有报价商 - 0:无报价商 1:有报价商
  9574. type: integer
  9575. hqprotecttime:
  9576. description: 行情保护时间(秒)
  9577. type: integer
  9578. innerdealmode:
  9579. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9580. type: integer
  9581. isbuylimited:
  9582. description: 是否限制建仓量 - 0:不限制 1:限制
  9583. type: integer
  9584. isvisible:
  9585. description: 游客是否可见 - 0:不可见 1:可见
  9586. type: integer
  9587. lasttradedate:
  9588. description: 最后交易日期(状态:待退市)
  9589. type: string
  9590. listingdate:
  9591. description: 交易开始日期
  9592. type: string
  9593. marketid:
  9594. description: 所属市场ID
  9595. type: integer
  9596. modifierid:
  9597. description: 修改人
  9598. type: integer
  9599. modifystatus:
  9600. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9601. type: integer
  9602. modifytime:
  9603. description: 修改时间
  9604. type: string
  9605. outerdealmode:
  9606. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9607. type: integer
  9608. outgoodscode:
  9609. description: 商品代码(外部)
  9610. type: string
  9611. pictureurl:
  9612. description: 商品图片
  9613. type: string
  9614. qtydecimalplace:
  9615. description: 成交量小数位
  9616. type: integer
  9617. quotegear:
  9618. description: 行情档位(1-10)
  9619. type: integer
  9620. quoteminunit:
  9621. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9622. type: integer
  9623. quoteshowtype:
  9624. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9625. type: integer
  9626. quoteshowtypeinterval:
  9627. description: 行情报价间隔时间(秒)(成交价时为0)
  9628. type: integer
  9629. remark:
  9630. description: 备注
  9631. type: string
  9632. required:
  9633. - goodscode
  9634. - goodsid
  9635. - goodsname
  9636. - marketid
  9637. type: object
  9638. models.GoodsIDAndName:
  9639. properties:
  9640. goodscode:
  9641. description: 商品代码(内部)
  9642. type: string
  9643. goodsid:
  9644. description: 商品ID(自增ID SEQ_GOODS)
  9645. type: integer
  9646. goodsname:
  9647. description: 商品名称
  9648. type: string
  9649. marketid:
  9650. description: 所属市场ID
  9651. type: integer
  9652. required:
  9653. - goodscode
  9654. - goodsid
  9655. - goodsname
  9656. - marketid
  9657. type: object
  9658. models.Goodsgroup:
  9659. properties:
  9660. agreeunit:
  9661. description: 合约单位
  9662. type: number
  9663. canshort:
  9664. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9665. type: integer
  9666. closepricemode:
  9667. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9668. type: integer
  9669. closepriceparam:
  9670. description: 强平最新价浮动比例 - 方式为2时使用
  9671. type: number
  9672. createtime:
  9673. description: 创建时间
  9674. type: string
  9675. creatorid:
  9676. description: 创建人
  9677. type: integer
  9678. currencyid:
  9679. description: 报价货币ID
  9680. type: integer
  9681. decimalplace:
  9682. description: 报价小数位
  9683. type: integer
  9684. exercisetype:
  9685. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9686. type: integer
  9687. exexchangeid:
  9688. description: 外部交易所ID[通道交易]
  9689. type: integer
  9690. goodsgroupid:
  9691. description: 商品组ID(自增ID)
  9692. type: integer
  9693. goodsgroupname:
  9694. description: 商品组名称
  9695. type: string
  9696. goodsgroupstatus:
  9697. description: 商品组状态 - 1:正常 2:注销
  9698. type: integer
  9699. goodunitid:
  9700. description: 报价单位ID
  9701. type: integer
  9702. innerdealmode:
  9703. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9704. type: integer
  9705. isbuylimited:
  9706. description: 是否限制建仓量 - 0:不限制 1:限制
  9707. type: integer
  9708. marketid:
  9709. description: 所属市场ID
  9710. type: integer
  9711. modifierid:
  9712. description: 修改人
  9713. type: integer
  9714. modifytime:
  9715. description: 修改时间
  9716. type: string
  9717. outerdealmode:
  9718. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9719. type: integer
  9720. outergroupcode:
  9721. description: 外部商品组代码[通道交易]
  9722. type: string
  9723. premiumdecimalplace:
  9724. description: 权利金小数位[场外期权]
  9725. type: integer
  9726. premiumspreadalgorithm:
  9727. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9728. type: integer
  9729. premiumspreadvalue:
  9730. description: 权利金点差值[场外期权]
  9731. type: number
  9732. qtydecimalplace:
  9733. description: 成交量小数位
  9734. type: integer
  9735. quotegear:
  9736. description: 行情档位(1-10)
  9737. type: integer
  9738. quoteminunit:
  9739. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9740. type: integer
  9741. quoterid:
  9742. description: 报价商ID[场外期权]
  9743. type: integer
  9744. quotesourcegroupid:
  9745. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9746. type: integer
  9747. syncgoodsqty:
  9748. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9749. type: integer
  9750. required:
  9751. - goodsgroupid
  9752. - goodsgroupname
  9753. - goodsgroupstatus
  9754. - marketid
  9755. type: object
  9756. models.Goodssortbypreposition:
  9757. properties:
  9758. goodscode:
  9759. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9760. type: string
  9761. goodsgroupcode:
  9762. description: 品种代码
  9763. type: string
  9764. prepositionqty:
  9765. description: 昨持仓量
  9766. type: integer
  9767. sortindex:
  9768. description: 排序
  9769. type: integer
  9770. tradedate:
  9771. description: 交易日
  9772. type: string
  9773. updatetime:
  9774. description: 更新时间
  9775. type: string
  9776. required:
  9777. - goodscode
  9778. - tradedate
  9779. type: object
  9780. models.Hedgeinnerholderdetail:
  9781. properties:
  9782. accountid:
  9783. description: 账号ID
  9784. type: integer
  9785. buyorsell:
  9786. description: 方向 - 0:买 1:卖
  9787. type: integer
  9788. freezeqty:
  9789. description: 冻结数量 - 按单平使用
  9790. type: integer
  9791. goodsid:
  9792. description: 商品ID
  9793. type: integer
  9794. holderamount:
  9795. description: 持仓金额 [商品币种]
  9796. type: number
  9797. holderdays:
  9798. description: 剩余冻结天数
  9799. type: integer
  9800. holderprice:
  9801. description: 持仓价格
  9802. type: number
  9803. holderqty:
  9804. description: 持仓数量
  9805. type: integer
  9806. marketid:
  9807. description: 市场ID
  9808. type: integer
  9809. openprice:
  9810. description: 建仓价格
  9811. type: number
  9812. openqty:
  9813. description: 建仓数量
  9814. type: integer
  9815. parentaccountid:
  9816. description: 所属母账户
  9817. type: integer
  9818. releaseamount:
  9819. description: 释放持仓金额[商品币种]
  9820. type: number
  9821. tradeamount:
  9822. description: 成交金额[账户]
  9823. type: number
  9824. tradedate:
  9825. description: 交易日(yyyyMMdd)
  9826. type: string
  9827. tradeid:
  9828. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9829. type: string
  9830. tradetime:
  9831. description: 交易时间
  9832. type: string
  9833. required:
  9834. - buyorsell
  9835. - tradeid
  9836. type: object
  9837. models.Hedgemarketopenlog:
  9838. properties:
  9839. accountid:
  9840. description: 资金账号[外部母账户]
  9841. type: integer
  9842. fcname:
  9843. description: 期货公司名称
  9844. type: string
  9845. handlestatus:
  9846. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9847. type: integer
  9848. marketid:
  9849. description: 市场ID
  9850. type: integer
  9851. status:
  9852. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9853. type: integer
  9854. tradedate:
  9855. description: 交易日(yyyyMMdd)
  9856. type: string
  9857. updatetime:
  9858. description: 更新时间
  9859. type: string
  9860. required:
  9861. - accountid
  9862. type: object
  9863. models.HsbyBuyMyPayOrder:
  9864. properties:
  9865. agreeunit:
  9866. description: 合约单位
  9867. type: number
  9868. buyaccountid:
  9869. description: 买方账号ID[报价币种]
  9870. type: integer
  9871. buyorderid:
  9872. description: 买方委托单号
  9873. type: string
  9874. createtime:
  9875. description: 创建时间
  9876. type: string
  9877. currencysign:
  9878. description: 货币符号
  9879. type: string
  9880. decimalplace:
  9881. description: 报价小数位
  9882. type: integer
  9883. goodscode:
  9884. description: 商品代码(内部)
  9885. type: string
  9886. goodsid:
  9887. description: 商品ID
  9888. type: integer
  9889. goodsname:
  9890. description: 商品名称
  9891. type: string
  9892. marketid:
  9893. description: 市场ID
  9894. type: integer
  9895. offamount:
  9896. description: 优惠金额
  9897. type: number
  9898. originalamount:
  9899. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9900. type: number
  9901. payamount:
  9902. description: 支付金额 = TradeAmount + TradeCharge
  9903. type: number
  9904. payflag:
  9905. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9906. type: integer
  9907. paylimitedtime:
  9908. description: 支付期限
  9909. type: string
  9910. paytime:
  9911. description: 付款时间
  9912. type: string
  9913. picurls1:
  9914. description: 预售商品介绍图片[多张用逗号分隔]
  9915. type: string
  9916. picurls2:
  9917. description: 挂牌商品介绍图片[多张用逗号分隔]
  9918. type: string
  9919. sellaccountid:
  9920. description: 卖方账号ID[报价币种]
  9921. type: integer
  9922. sellorderid:
  9923. description: 卖方委托单号
  9924. type: string
  9925. tradeamount:
  9926. description: 成交金额
  9927. type: number
  9928. tradecharge:
  9929. description: 成交手续费(买方)
  9930. type: number
  9931. tradedate:
  9932. description: 交易日(yyyyMMdd)
  9933. type: string
  9934. tradeid:
  9935. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9936. type: string
  9937. trademode:
  9938. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9939. 21:竞拍-大宗式 22:受托竞价
  9940. type: integer
  9941. tradeprice:
  9942. description: 成交价格
  9943. type: number
  9944. tradeqty:
  9945. description: 成交数量
  9946. type: integer
  9947. vendorname1:
  9948. description: 预售商品供应商名称
  9949. type: string
  9950. vendorname2:
  9951. description: 挂牌商品供应商名称
  9952. type: string
  9953. required:
  9954. - goodscode
  9955. - goodsname
  9956. - tradeid
  9957. - trademode
  9958. type: object
  9959. models.HsbyBuyMyTradeDetail:
  9960. properties:
  9961. accountid:
  9962. description: 账户ID[报价币种]
  9963. type: integer
  9964. agreeunit:
  9965. description: 合约单位
  9966. type: number
  9967. amount:
  9968. description: 金额 = 价格 * 数量 * 合约单位
  9969. type: number
  9970. buyorsell:
  9971. description: 买卖 - 0:买 1:卖
  9972. type: integer
  9973. currencysign:
  9974. description: 货币符号
  9975. type: string
  9976. decimalplace:
  9977. description: 报价小数位
  9978. type: integer
  9979. goodscode:
  9980. description: 商品代码(内部)
  9981. type: string
  9982. goodsid:
  9983. description: 商品ID
  9984. type: integer
  9985. goodsname:
  9986. description: 商品名称
  9987. type: string
  9988. marketid:
  9989. description: 市场ID
  9990. type: integer
  9991. orderamount:
  9992. description: 委托金额
  9993. type: number
  9994. orderid:
  9995. description: 单号(成交单号)
  9996. type: string
  9997. picurls1:
  9998. description: 预售商品介绍图片[多张用逗号分隔]
  9999. type: string
  10000. picurls2:
  10001. description: 挂牌商品介绍图片[多张用逗号分隔]
  10002. type: string
  10003. price:
  10004. description: 价格
  10005. type: number
  10006. qty:
  10007. description: 数量
  10008. type: integer
  10009. time:
  10010. description: 时间
  10011. type: string
  10012. trademode:
  10013. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10014. 21:竞拍-大宗式 22:受托竞价
  10015. type: integer
  10016. vendorname1:
  10017. description: 预售商品供应商名称
  10018. type: string
  10019. vendorname2:
  10020. description: 挂牌商品供应商名称
  10021. type: string
  10022. required:
  10023. - accountid
  10024. - buyorsell
  10025. - goodscode
  10026. - goodsid
  10027. - goodsname
  10028. - marketid
  10029. - orderid
  10030. - qty
  10031. - time
  10032. - trademode
  10033. type: object
  10034. models.HsbyGoodsOrderDetail:
  10035. properties:
  10036. buyorsell:
  10037. description: 买卖 - 0:买 1:卖
  10038. type: integer
  10039. currencysign:
  10040. description: 货币符号
  10041. type: string
  10042. customername:
  10043. description: 客户名称(企业名称),已脱敏
  10044. type: string
  10045. enableqty:
  10046. description: 可用数量
  10047. type: integer
  10048. goodunit:
  10049. description: 报价单位
  10050. type: string
  10051. orderid:
  10052. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10053. type: string
  10054. orderprice:
  10055. description: 委托价格
  10056. type: number
  10057. ordertime:
  10058. description: 委托时间
  10059. type: string
  10060. required:
  10061. - buyorsell
  10062. - orderid
  10063. - ordertime
  10064. type: object
  10065. models.HsbyListingGoodsDetail:
  10066. properties:
  10067. agreeunit:
  10068. description: 合约单位
  10069. type: number
  10070. buymaxqty:
  10071. description: 购买上限 [71] - 0为不限
  10072. type: integer
  10073. currency:
  10074. description: 货币
  10075. type: string
  10076. currencysign:
  10077. description: 货币符号
  10078. type: string
  10079. decimalplace:
  10080. description: 报价小数位
  10081. type: integer
  10082. desccityid:
  10083. description: 目的地(市)ID
  10084. type: integer
  10085. descprovinceid:
  10086. description: 目的地(省)ID
  10087. type: integer
  10088. goodscode:
  10089. description: 商品代码(内部)
  10090. type: string
  10091. goodsdesc:
  10092. description: 商品详情
  10093. type: string
  10094. goodsid:
  10095. description: 商品ID(自增ID SEQ_GOODS)
  10096. type: integer
  10097. goodsname:
  10098. description: 商品名称
  10099. type: string
  10100. goodsprice:
  10101. description: 商品价格
  10102. type: number
  10103. hotindex:
  10104. description: 景点热度
  10105. type: integer
  10106. last:
  10107. description: 现价
  10108. type: number
  10109. limitdown:
  10110. description: 跌停价
  10111. type: number
  10112. limitup:
  10113. description: 涨停价
  10114. type: number
  10115. lotsize:
  10116. description: 手数最小变动单位
  10117. type: integer
  10118. marketid:
  10119. description: 所属市场ID
  10120. type: integer
  10121. picurls:
  10122. description: 介绍图片[多张用逗号分隔]
  10123. type: string
  10124. quoteminunit:
  10125. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10126. type: integer
  10127. stepvalue:
  10128. description: 价格最小变动单位
  10129. type: number
  10130. trademode:
  10131. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10132. 21:竞拍-大宗式 22:受托竞价
  10133. type: integer
  10134. vendorattr:
  10135. description: 供应商附件(多张,逗号分隔)
  10136. type: string
  10137. vendorname:
  10138. description: 供应商名称
  10139. type: string
  10140. vendorphone:
  10141. description: 供应商客服电话
  10142. type: string
  10143. videourls:
  10144. description: 介绍视频[多张用逗号分隔]
  10145. type: string
  10146. required:
  10147. - goodscode
  10148. - goodsid
  10149. - goodsname
  10150. - marketid
  10151. - trademode
  10152. type: object
  10153. models.HsbyMarketGoods:
  10154. properties:
  10155. accountid:
  10156. description: 账户ID[报价币种]
  10157. type: integer
  10158. agreeunit:
  10159. description: 合约单位
  10160. type: number
  10161. buyorsell:
  10162. description: 买卖 - 0:买 1:卖
  10163. type: integer
  10164. categoryid:
  10165. description: 类别ID(WRCATEGORY)
  10166. type: integer
  10167. currency:
  10168. description: 货币
  10169. type: string
  10170. currencysign:
  10171. description: 货币符号
  10172. type: string
  10173. customername:
  10174. description: 卖家名称
  10175. type: string
  10176. decimalplace:
  10177. description: 报价小数位
  10178. type: integer
  10179. goodscode:
  10180. description: 商品代码(内部)
  10181. type: string
  10182. goodsid:
  10183. description: 商品ID
  10184. type: integer
  10185. goodsname:
  10186. description: 商品名称
  10187. type: string
  10188. goodsprice:
  10189. description: 商品价格
  10190. type: number
  10191. hascoupon:
  10192. description: 是否可用优惠卷
  10193. type: boolean
  10194. hotindex:
  10195. description: 景点热度
  10196. type: integer
  10197. marketid:
  10198. description: 市场ID
  10199. type: integer
  10200. orderid:
  10201. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10202. type: string
  10203. orderprice:
  10204. description: 委托价格
  10205. type: number
  10206. orderstatus:
  10207. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10208. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10209. 16:成交失败违约(荷兰式竞拍专用)
  10210. type: integer
  10211. picurls:
  10212. description: 介绍图片[多张用逗号分隔]
  10213. type: string
  10214. quoteminunit:
  10215. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10216. type: integer
  10217. sellUserID:
  10218. description: 卖方UserID
  10219. type: integer
  10220. trademode:
  10221. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10222. 21:竞拍-大宗式 22:受托竞价
  10223. type: integer
  10224. videourls:
  10225. description: 介绍视频[多张用逗号分隔]
  10226. type: string
  10227. required:
  10228. - accountid
  10229. - buyorsell
  10230. - goodscode
  10231. - goodsid
  10232. - goodsname
  10233. - marketid
  10234. - orderid
  10235. - trademode
  10236. type: object
  10237. models.HsbyMarketGoodsDetail:
  10238. properties:
  10239. accountid:
  10240. description: 账户ID[报价币种]
  10241. type: integer
  10242. agreeunit:
  10243. description: 合约单位
  10244. type: number
  10245. buymaxqty:
  10246. description: 购买上限 [71] - 0为不限
  10247. type: integer
  10248. buyorsell:
  10249. description: 买卖 - 0:买 1:卖
  10250. type: integer
  10251. cancelqty:
  10252. description: 撤单数量
  10253. type: integer
  10254. categoryid:
  10255. description: 类别ID(WRCATEGORY)
  10256. type: integer
  10257. currency:
  10258. description: 货币
  10259. type: string
  10260. currencysign:
  10261. description: 货币符号
  10262. type: string
  10263. customername:
  10264. description: 卖家名称
  10265. type: string
  10266. decimalplace:
  10267. description: 报价小数位
  10268. type: integer
  10269. goodscode:
  10270. description: 商品代码(内部)
  10271. type: string
  10272. goodsdesc:
  10273. description: 商品详情
  10274. type: string
  10275. goodsid:
  10276. description: 商品ID
  10277. type: integer
  10278. goodsname:
  10279. description: 商品名称
  10280. type: string
  10281. goodsprice:
  10282. description: 商品价格
  10283. type: number
  10284. hotindex:
  10285. description: 景点热度
  10286. type: integer
  10287. lotsize:
  10288. description: 手数最小变动单位
  10289. type: integer
  10290. marketid:
  10291. description: 市场ID
  10292. type: integer
  10293. orderid:
  10294. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10295. type: string
  10296. orderprice:
  10297. description: 委托价格
  10298. type: number
  10299. orderqty:
  10300. description: 委托数量
  10301. type: integer
  10302. orderstatus:
  10303. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10304. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10305. 16:成交失败违约(荷兰式竞拍专用)
  10306. type: integer
  10307. picurls:
  10308. description: 介绍图片[多张用逗号分隔]
  10309. type: string
  10310. quoteminunit:
  10311. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10312. type: integer
  10313. sellUserID:
  10314. description: 卖方UserID
  10315. type: integer
  10316. trademode:
  10317. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10318. 21:竞拍-大宗式 22:受托竞价
  10319. type: integer
  10320. tradeqty:
  10321. description: 成交数量
  10322. type: integer
  10323. vendorattr:
  10324. description: 供应商附件(多张,逗号分隔)
  10325. type: string
  10326. vendorname:
  10327. description: 供应商名称
  10328. type: string
  10329. vendorphone:
  10330. description: 供应商客服电话
  10331. type: string
  10332. videourls:
  10333. description: 介绍视频[多张用逗号分隔]
  10334. type: string
  10335. required:
  10336. - accountid
  10337. - buyorsell
  10338. - goodscode
  10339. - goodsid
  10340. - goodsname
  10341. - marketid
  10342. - orderid
  10343. - orderqty
  10344. - trademode
  10345. type: object
  10346. models.HsbyMarketInfo:
  10347. properties:
  10348. marketid:
  10349. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10350. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10351. type: integer
  10352. marketname:
  10353. description: 市场名称
  10354. type: string
  10355. marketstatus:
  10356. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10357. type: integer
  10358. trademode:
  10359. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10360. 21:竞拍-大宗式 22:受托竞价
  10361. type: integer
  10362. required:
  10363. - marketid
  10364. - marketstatus
  10365. - trademode
  10366. type: object
  10367. models.HsbyMyGoods:
  10368. properties:
  10369. accountid:
  10370. description: 账号Id
  10371. type: integer
  10372. agreeunit:
  10373. description: 合约单位
  10374. type: number
  10375. buyaverageprice:
  10376. description: 持仓均价
  10377. type: number
  10378. buycurholderamount:
  10379. description: 买当前持仓总金额[商品币种]
  10380. type: number
  10381. buycurpositionqty:
  10382. description: 买当前持仓总数量
  10383. type: integer
  10384. buymaxqty:
  10385. description: 购买上限 [71] - 0为不限
  10386. type: integer
  10387. currencysign:
  10388. description: 货币符号
  10389. type: string
  10390. decimalplace:
  10391. description: 报价小数位
  10392. type: integer
  10393. enableqty:
  10394. description: 可用数量
  10395. type: integer
  10396. goodscode:
  10397. description: 商品代码(内部)
  10398. type: string
  10399. goodsid:
  10400. description: 商品Id
  10401. type: integer
  10402. goodsname:
  10403. description: 商品名称
  10404. type: string
  10405. goodsprice:
  10406. description: 商品价格
  10407. type: number
  10408. goodsstatus:
  10409. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10410. type: integer
  10411. last:
  10412. description: 现价(仅使用于挂牌点选)
  10413. type: number
  10414. limitdown:
  10415. description: 跌停价(仅使用于挂牌点选)
  10416. type: number
  10417. limitup:
  10418. description: 涨停价(仅使用于挂牌点选)
  10419. type: number
  10420. lotsize:
  10421. description: 手数最小变动单位
  10422. type: integer
  10423. marketid:
  10424. description: 所属市场ID
  10425. type: integer
  10426. picurls:
  10427. description: 介绍图片[多张用逗号分隔]
  10428. type: string
  10429. quoteminunit:
  10430. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10431. type: integer
  10432. stepvalue:
  10433. description: 价格最小变动单位
  10434. type: number
  10435. trademode:
  10436. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10437. 21:竞拍-大宗式 22:受托竞价
  10438. type: integer
  10439. required:
  10440. - accountid
  10441. - goodscode
  10442. - goodsid
  10443. - goodsname
  10444. - marketid
  10445. - trademode
  10446. type: object
  10447. models.HsbyMyPackage:
  10448. properties:
  10449. accountid:
  10450. description: 账户ID
  10451. type: integer
  10452. address:
  10453. description: 提货人详细地址
  10454. type: string
  10455. agreeunit:
  10456. description: 合约单位
  10457. type: number
  10458. amount:
  10459. description: 提货金额
  10460. type: number
  10461. auditer:
  10462. description: 审核人
  10463. type: integer
  10464. audittime:
  10465. description: 审核时间
  10466. type: string
  10467. averageprice:
  10468. description: 均价
  10469. type: number
  10470. cardnum:
  10471. description: 提货人证件号码
  10472. type: string
  10473. cardtypeid:
  10474. description: 提货人证件类型
  10475. type: integer
  10476. checkremark:
  10477. description: 审核备注
  10478. type: string
  10479. currencysign:
  10480. description: 货币符号
  10481. type: string
  10482. decimalplace:
  10483. description: 报价小数位
  10484. type: integer
  10485. goodscode:
  10486. description: 商品代码(内部)
  10487. type: string
  10488. goodsid:
  10489. description: 商品ID
  10490. type: integer
  10491. goodsname:
  10492. description: 商品名称
  10493. type: string
  10494. handlestatus:
  10495. description: 处理状态
  10496. type: integer
  10497. marketid:
  10498. description: 市场ID
  10499. type: integer
  10500. phonenum:
  10501. description: 提货人联系方式
  10502. type: string
  10503. picurls:
  10504. description: 介绍图片[多张用逗号分隔]
  10505. type: string
  10506. qty:
  10507. description: 提货数量
  10508. type: number
  10509. recivername:
  10510. description: 提货人姓名
  10511. type: string
  10512. reqtime:
  10513. description: 更新时间
  10514. type: string
  10515. takemode:
  10516. description: 提货方式 - 2:自提 3:配送
  10517. type: integer
  10518. takeorderid:
  10519. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10520. type: string
  10521. takeorderstatus:
  10522. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10523. type: integer
  10524. takeremark:
  10525. description: 提货备注
  10526. type: string
  10527. tradedate:
  10528. description: 交易日(yyyyMMdd)
  10529. type: string
  10530. trademode:
  10531. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10532. 21:竞拍-大宗式 22:受托竞价
  10533. type: integer
  10534. userid:
  10535. description: 用户ID
  10536. type: integer
  10537. vendorname:
  10538. description: 供应商名称
  10539. type: string
  10540. required:
  10541. - goodscode
  10542. - goodsname
  10543. - takeorderid
  10544. - trademode
  10545. type: object
  10546. models.HsbyPreGoods:
  10547. properties:
  10548. agreeunit:
  10549. description: 合约单位
  10550. type: number
  10551. currency:
  10552. description: 货币
  10553. type: string
  10554. currencysign:
  10555. description: 货币符号
  10556. type: string
  10557. decimalplace:
  10558. description: 报价小数位
  10559. type: integer
  10560. desccityid:
  10561. description: 目的地(市)
  10562. type: integer
  10563. descprovinceid:
  10564. description: 目的地(省)
  10565. type: integer
  10566. enableqty:
  10567. description: 剩余数量
  10568. type: integer
  10569. goodscode:
  10570. description: 商品代码(内部)
  10571. type: string
  10572. goodsid:
  10573. description: 商品ID(自增ID SEQ_GOODS)
  10574. type: integer
  10575. goodsname:
  10576. description: 商品名称
  10577. type: string
  10578. goodsstatus:
  10579. description: 商品状态- 2:未上市 3:上市
  10580. type: integer
  10581. lasttradedate:
  10582. description: 最后交易日期(状态:待退市)
  10583. type: string
  10584. listingdate:
  10585. description: 交易开始日期
  10586. type: string
  10587. marketid:
  10588. description: 所属市场ID
  10589. type: integer
  10590. picurls:
  10591. description: 介绍图片[多张用逗号分隔]
  10592. type: string
  10593. presaledqty:
  10594. description: 已预售量(预售结束时更新)
  10595. type: integer
  10596. presaleqty:
  10597. description: 预售数量
  10598. type: integer
  10599. quoteminunit:
  10600. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10601. type: integer
  10602. refprice:
  10603. description: 参考价格[一口价]
  10604. type: number
  10605. relatedgoodsid:
  10606. description: 关联交易合约ID
  10607. type: integer
  10608. trademode:
  10609. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10610. 21:竞拍-大宗式 22:受托竞价
  10611. type: integer
  10612. videourls:
  10613. description: 介绍视频[多张用逗号分隔]
  10614. type: string
  10615. required:
  10616. - goodscode
  10617. - goodsid
  10618. - goodsname
  10619. - marketid
  10620. - trademode
  10621. type: object
  10622. models.HsbyPreGoodsDetail:
  10623. properties:
  10624. agreeunit:
  10625. description: 合约单位
  10626. type: number
  10627. buymaxqty:
  10628. description: 购买上限 [71] - 0为不限
  10629. type: integer
  10630. currency:
  10631. description: 货币
  10632. type: string
  10633. currencysign:
  10634. description: 货币符号
  10635. type: string
  10636. customername:
  10637. description: 发行单位
  10638. type: string
  10639. decimalplace:
  10640. description: 报价小数位
  10641. type: integer
  10642. desccityid:
  10643. description: 目的地(市)ID
  10644. type: integer
  10645. descprovinceid:
  10646. description: 目的地(省)ID
  10647. type: integer
  10648. enableqty:
  10649. description: 剩余数量
  10650. type: integer
  10651. goodscode:
  10652. description: 商品代码(内部)
  10653. type: string
  10654. goodsdesc:
  10655. description: 商品详情
  10656. type: string
  10657. goodsid:
  10658. description: 商品ID(自增ID SEQ_GOODS)
  10659. type: integer
  10660. goodsname:
  10661. description: 商品名称
  10662. type: string
  10663. goodsstatus:
  10664. description: 商品状态- 2:未上市 3:上市
  10665. type: integer
  10666. goodunit:
  10667. description: 报价单位
  10668. type: string
  10669. lasttradedate:
  10670. description: 最后交易日期(状态:待退市)
  10671. type: string
  10672. listingdate:
  10673. description: 交易开始日期
  10674. type: string
  10675. lotsize:
  10676. description: 手数最小变动单位
  10677. type: integer
  10678. marketid:
  10679. description: 所属市场ID
  10680. type: integer
  10681. picurls:
  10682. description: 介绍图片[多张用逗号分隔]
  10683. type: string
  10684. presaledqty:
  10685. description: 已预售量(预售结束时更新)
  10686. type: integer
  10687. presaleqty:
  10688. description: 预售数量
  10689. type: integer
  10690. quoteminunit:
  10691. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10692. type: integer
  10693. refprice:
  10694. description: 参考价格[一口价]
  10695. type: number
  10696. relatedgoodsid:
  10697. description: 关联交易合约ID
  10698. type: integer
  10699. stepvalue:
  10700. description: 价格最小变动单位
  10701. type: number
  10702. trademode:
  10703. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10704. 21:竞拍-大宗式 22:受托竞价
  10705. type: integer
  10706. vendorattr:
  10707. description: 供应商附件(多张,逗号分隔)
  10708. type: string
  10709. vendorname:
  10710. description: 供应商名称
  10711. type: string
  10712. vendorphone:
  10713. description: 供应商客服电话
  10714. type: string
  10715. videourls:
  10716. description: 介绍视频[多张用逗号分隔]
  10717. type: string
  10718. required:
  10719. - goodscode
  10720. - goodsid
  10721. - goodsname
  10722. - marketid
  10723. - trademode
  10724. type: object
  10725. models.HsbySellCollectionOrder:
  10726. properties:
  10727. agreeunit:
  10728. description: 合约单位
  10729. type: number
  10730. buyaccountid:
  10731. description: 买方账号ID[报价币种]
  10732. type: integer
  10733. buyorderid:
  10734. description: 买方委托单号
  10735. type: string
  10736. createtime:
  10737. description: 创建时间
  10738. type: string
  10739. currencysign:
  10740. description: 货币符号
  10741. type: string
  10742. decimalplace:
  10743. description: 报价小数位
  10744. type: integer
  10745. goodscode:
  10746. description: 商品代码(内部)
  10747. type: string
  10748. goodsid:
  10749. description: 商品ID
  10750. type: integer
  10751. goodsname:
  10752. description: 商品名称
  10753. type: string
  10754. marketid:
  10755. description: 市场ID
  10756. type: integer
  10757. offamount:
  10758. description: 优惠金额
  10759. type: number
  10760. payamount:
  10761. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10762. type: number
  10763. payflag:
  10764. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10765. type: integer
  10766. paylimitedtime:
  10767. description: 支付期限
  10768. type: string
  10769. paytime:
  10770. description: 付款时间
  10771. type: string
  10772. picurls:
  10773. description: 商品介绍图片[多张用逗号分隔]
  10774. type: string
  10775. sellaccountid:
  10776. description: 卖方账号ID[报价币种]
  10777. type: integer
  10778. sellorderid:
  10779. description: 卖方委托单号
  10780. type: string
  10781. tradeamount:
  10782. description: 成交金额
  10783. type: number
  10784. tradecharge:
  10785. description: 成交手续费(买方)
  10786. type: number
  10787. tradedate:
  10788. description: 交易日(yyyyMMdd)
  10789. type: string
  10790. tradeid:
  10791. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10792. type: string
  10793. trademode:
  10794. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10795. 21:竞拍-大宗式 22:受托竞价
  10796. type: integer
  10797. tradeprice:
  10798. description: 成交价格
  10799. type: number
  10800. tradeqty:
  10801. description: 成交数量
  10802. type: integer
  10803. required:
  10804. - goodscode
  10805. - goodsname
  10806. - tradeid
  10807. - trademode
  10808. type: object
  10809. models.HsbySellMyDetail:
  10810. properties:
  10811. accountid:
  10812. description: 账户ID[报价币种]
  10813. type: integer
  10814. agreeunit:
  10815. description: 合约单位
  10816. type: number
  10817. buyorsell:
  10818. description: 买卖 - 0:买 1:卖
  10819. type: integer
  10820. currencysign:
  10821. description: 货币符号
  10822. type: string
  10823. decimalplace:
  10824. description: 报价小数位
  10825. type: integer
  10826. goodscode:
  10827. description: 商品代码(内部)
  10828. type: string
  10829. goodsid:
  10830. description: 商品ID
  10831. type: integer
  10832. goodsname:
  10833. description: 商品名称
  10834. type: string
  10835. marketid:
  10836. description: 市场ID
  10837. type: integer
  10838. orderid:
  10839. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10840. type: string
  10841. ordertype:
  10842. description: 单据类型:0 - 发布中, 1 - 已完成
  10843. type: integer
  10844. picurls:
  10845. description: 介绍图片[多张用逗号分隔]
  10846. type: string
  10847. price:
  10848. description: 价格
  10849. type: number
  10850. qty:
  10851. description: 数量
  10852. type: integer
  10853. time:
  10854. description: 时间
  10855. type: string
  10856. trademode:
  10857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10858. 21:竞拍-大宗式 22:受托竞价
  10859. type: integer
  10860. vendorname:
  10861. description: 供应商名称
  10862. type: string
  10863. required:
  10864. - accountid
  10865. - buyorsell
  10866. - goodscode
  10867. - goodsid
  10868. - goodsname
  10869. - marketid
  10870. - orderid
  10871. - time
  10872. - trademode
  10873. type: object
  10874. models.HsbyTopGoods:
  10875. properties:
  10876. agreeunit:
  10877. description: 合约单位
  10878. type: number
  10879. currency:
  10880. description: 货币
  10881. type: string
  10882. currencysign:
  10883. description: 货币符号
  10884. type: string
  10885. decimalplace:
  10886. description: 报价小数位
  10887. type: integer
  10888. desccityid:
  10889. description: 目的地(市)
  10890. type: integer
  10891. descprovinceid:
  10892. description: 目的地(省)
  10893. type: integer
  10894. goodscode:
  10895. description: 商品代码(内部)
  10896. type: string
  10897. goodsid:
  10898. description: 商品ID(自增ID SEQ_GOODS)
  10899. type: integer
  10900. goodsname:
  10901. description: 商品名称
  10902. type: string
  10903. hotindex:
  10904. description: 景点热度
  10905. type: integer
  10906. last:
  10907. description: 现价
  10908. type: number
  10909. marketid:
  10910. description: 所属市场ID
  10911. type: integer
  10912. picurls:
  10913. description: 介绍图片[多张用逗号分隔]
  10914. type: string
  10915. quoteminunit:
  10916. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10917. type: integer
  10918. trademode:
  10919. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10920. 21:竞拍-大宗式 22:受托竞价
  10921. type: integer
  10922. videourls:
  10923. description: 介绍视频[多张用逗号分隔]
  10924. type: string
  10925. required:
  10926. - goodscode
  10927. - goodsid
  10928. - goodsname
  10929. - marketid
  10930. - trademode
  10931. type: object
  10932. models.HybsMyBuyOrderDetail:
  10933. properties:
  10934. accountid:
  10935. description: 账户ID[报价币种]
  10936. type: integer
  10937. agreeunit:
  10938. description: 合约单位
  10939. type: number
  10940. buyorsell:
  10941. description: 买卖 - 0:买 1:卖
  10942. type: integer
  10943. cancelqty:
  10944. description: 撤单数量
  10945. type: integer
  10946. currencysign:
  10947. description: 货币符号
  10948. type: string
  10949. decimalplace:
  10950. description: 报价小数位
  10951. type: integer
  10952. goodscode:
  10953. description: 商品代码(内部)
  10954. type: string
  10955. goodsid:
  10956. description: 商品ID
  10957. type: integer
  10958. goodsname:
  10959. description: 商品名称
  10960. type: string
  10961. listingselecttype:
  10962. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10963. type: integer
  10964. marketid:
  10965. description: 市场ID
  10966. type: integer
  10967. mybuystatus:
  10968. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10969. type: integer
  10970. orderamount:
  10971. description: 委托金额
  10972. type: number
  10973. orderid:
  10974. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10975. type: string
  10976. orderprice:
  10977. description: 委托价格
  10978. type: number
  10979. orderqty:
  10980. description: 委托数量
  10981. type: integer
  10982. orderstatus:
  10983. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10984. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10985. 16:成交失败违约(荷兰式竞拍专用)
  10986. type: integer
  10987. ordertime:
  10988. description: 委托时间
  10989. type: string
  10990. picurls1:
  10991. description: 预售商品介绍图片[多张用逗号分隔]
  10992. type: string
  10993. picurls2:
  10994. description: 挂牌商品介绍图片[多张用逗号分隔]
  10995. type: string
  10996. trademode:
  10997. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10998. 21:竞拍-大宗式 22:受托竞价
  10999. type: integer
  11000. tradeqty:
  11001. description: 成交数量
  11002. type: integer
  11003. vendorname1:
  11004. description: 预售商品供应商名称
  11005. type: string
  11006. vendorname2:
  11007. description: 挂牌商品供应商名称
  11008. type: string
  11009. required:
  11010. - accountid
  11011. - buyorsell
  11012. - goodscode
  11013. - goodsid
  11014. - goodsname
  11015. - marketid
  11016. - orderid
  11017. - orderqty
  11018. - ordertime
  11019. - trademode
  11020. type: object
  11021. models.InternalEnableTradeDetail:
  11022. properties:
  11023. agreeunit:
  11024. description: 合约乘数
  11025. type: number
  11026. areauserid:
  11027. description: 企业ID
  11028. type: integer
  11029. convertratio:
  11030. description: 品种系数
  11031. type: number
  11032. deliverygoodscode:
  11033. description: 现货品种代码
  11034. type: string
  11035. deliverygoodsid:
  11036. description: 现货品种ID(SEQ_DELIVERYGOODS)
  11037. type: integer
  11038. deliverygoodsname:
  11039. description: 现货品种名称
  11040. type: string
  11041. futurehedgeqty:
  11042. description: '[已关联数量]期货持仓套期量'
  11043. type: number
  11044. goodsid:
  11045. description: 期货合约ID
  11046. type: integer
  11047. hedgeditemid:
  11048. description: 被套期项目ID
  11049. type: string
  11050. hedgeditemnum:
  11051. description: 项目编号
  11052. type: string
  11053. unexehedgeqty:
  11054. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  11055. type: number
  11056. unexespotqty:
  11057. description: 未执行现货量
  11058. type: number
  11059. wrstandardcode:
  11060. description: 现货品类代码
  11061. type: string
  11062. wrstandardid:
  11063. description: 现货品类ID(SEQ_WRSTANDARD)
  11064. type: integer
  11065. wrstandardname:
  11066. description: 现货品类名称
  11067. type: string
  11068. required:
  11069. - areauserid
  11070. - goodsid
  11071. type: object
  11072. models.InternalUncorrelatedTradeDetail:
  11073. properties:
  11074. accountid:
  11075. description: 账号ID
  11076. type: integer
  11077. accountname:
  11078. description: 套期主体
  11079. type: string
  11080. agreeunit:
  11081. description: 合约乘数
  11082. type: number
  11083. areauserid:
  11084. description: 所属机构
  11085. type: integer
  11086. bizsubjectid:
  11087. description: 归属业务部门ID - SubjectID
  11088. type: integer
  11089. buyorsell:
  11090. description: 方向 - 0:买 1:卖
  11091. type: integer
  11092. channelbuildtype:
  11093. description: 委托单据类型 0:无 1:建仓 2:平仓
  11094. type: integer
  11095. convertratio:
  11096. description: 品种系数
  11097. type: number
  11098. createtime:
  11099. description: 创建时间
  11100. type: string
  11101. creatorid:
  11102. description: 创建人ID
  11103. type: integer
  11104. creatorsrc:
  11105. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11106. type: integer
  11107. enableqty:
  11108. description: 项目可关联手数 = 成交手数 - 关联数量
  11109. type: number
  11110. goodscode:
  11111. description: 合约代码
  11112. type: string
  11113. goodsgroupid:
  11114. description: 对冲品种ID[期货合约商品组ID]
  11115. type: integer
  11116. goodsid:
  11117. description: 商品ID
  11118. type: integer
  11119. goodsname:
  11120. description: 合约名称
  11121. type: string
  11122. hedgeditemid:
  11123. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11124. type: integer
  11125. hedgeflag:
  11126. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11127. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11128. type: integer
  11129. linkdetailid:
  11130. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11131. type: string
  11132. linkstatus:
  11133. description: 关联状态 - 1:成功 2:失败 3:解绑
  11134. type: integer
  11135. middlegoodsid:
  11136. description: 套保品种ID
  11137. type: integer
  11138. relatedlot:
  11139. description: '[数量]关联手数'
  11140. type: number
  11141. relatedmode:
  11142. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11143. type: integer
  11144. relatedqty:
  11145. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  11146. type: number
  11147. retcode:
  11148. description: 返回码
  11149. type: integer
  11150. saleuserid:
  11151. description: 业务员ID
  11152. type: integer
  11153. tradedate:
  11154. description: 关联交易日(yyyyMMdd)
  11155. type: string
  11156. tradeid:
  11157. description: 成交单号
  11158. type: string
  11159. tradelot:
  11160. description: 成交手数
  11161. type: integer
  11162. tradeprice:
  11163. description: 成交价
  11164. type: number
  11165. tradetime:
  11166. description: 成交时间
  11167. type: string
  11168. tradetradedate:
  11169. description: 成交交易日(yyyyMMdd)
  11170. type: string
  11171. type: object
  11172. models.Loginaccount:
  11173. properties:
  11174. accountname:
  11175. description: 账户名称
  11176. type: string
  11177. canoutin:
  11178. description: 是否可出入金 - 0:不可 1:可
  11179. type: integer
  11180. clientroleid:
  11181. description: 终端角色ID
  11182. type: integer
  11183. haslogined:
  11184. description: 是否已登录 - 0:未登录 1:已登录
  11185. type: integer
  11186. hasupdatedpwd:
  11187. description: 是否已更改密码 - 0:未修改 1:已修改
  11188. type: integer
  11189. lastloginip:
  11190. description: 最新登录地址
  11191. type: string
  11192. lastloginmode:
  11193. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11194. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11195. type: integer
  11196. lastloginremark:
  11197. description: 最新登录描述
  11198. type: string
  11199. lastlogintime:
  11200. description: 最新登录时间
  11201. type: string
  11202. logincode:
  11203. description: 登录代码
  11204. type: string
  11205. loginfailnum:
  11206. description: 连续登录失败次数(登录成功时清零)
  11207. type: integer
  11208. loginid:
  11209. description: 登陆账号
  11210. type: integer
  11211. loginport:
  11212. description: 最新登录端口
  11213. type: integer
  11214. loginstatus:
  11215. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11216. type: integer
  11217. loginusertype:
  11218. description: 登录账号类型 - 1:投资者 2:机构交易员
  11219. type: integer
  11220. mobile:
  11221. description: 手机号码(加密存储)
  11222. type: string
  11223. modifierid:
  11224. description: 修改人
  11225. type: integer
  11226. modifysrc:
  11227. description: 审核来源 - 1:管理端 2:终端
  11228. type: integer
  11229. modifytime:
  11230. description: 修改时间
  11231. type: string
  11232. password:
  11233. description: 登陆密码
  11234. type: string
  11235. pwdwrongcount:
  11236. description: 密码错误次数
  11237. type: integer
  11238. relateduserid:
  11239. description: 关联用户ID(机构)
  11240. type: integer
  11241. taaccountrighttype:
  11242. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11243. type: integer
  11244. unfreezetime:
  11245. description: 账户解冻时间
  11246. type: string
  11247. userid:
  11248. description: 用户ID
  11249. type: integer
  11250. required:
  11251. - loginid
  11252. type: object
  11253. models.MainAccountInfo:
  11254. properties:
  11255. accountid:
  11256. description: 账号id
  11257. type: integer
  11258. accountname:
  11259. description: 账号名称(taaccount表中的名称)
  11260. type: string
  11261. appid:
  11262. description: AppID
  11263. type: string
  11264. authcode:
  11265. description: 授权码
  11266. type: string
  11267. brokerid:
  11268. description: 经纪商id
  11269. type: string
  11270. fcid:
  11271. description: 期货公司id
  11272. type: integer
  11273. fcname:
  11274. description: 期货公司代码
  11275. type: string
  11276. hedgeaccountcode:
  11277. description: 外部账号代码(主账号登录代码)
  11278. type: string
  11279. hedgeaccountpwd:
  11280. description: 密码
  11281. type: string
  11282. ismain:
  11283. description: 是否主账号
  11284. type: integer
  11285. relateduserid:
  11286. description: 关联用户id
  11287. type: integer
  11288. userid:
  11289. description: 关联用户id
  11290. type: integer
  11291. type: object
  11292. models.Market:
  11293. properties:
  11294. auctionwrtype:
  11295. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11296. type: integer
  11297. canacceptquote:
  11298. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11299. type: integer
  11300. cangoodsexercise:
  11301. description: '[期权]是否可现货行权- 0:否 1:是'
  11302. type: integer
  11303. cangoodsexercisetype:
  11304. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11305. type: integer
  11306. canmanualquotestrike:
  11307. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11308. type: integer
  11309. canmutistage:
  11310. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11311. type: integer
  11312. canpreexercise:
  11313. description: '[期权]是否可预申报- 0:否 1:是'
  11314. type: integer
  11315. clearinterval:
  11316. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11317. type: integer
  11318. contracttmp:
  11319. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11320. type: string
  11321. exchareaid:
  11322. description: 所属交易所,可以没有
  11323. type: integer
  11324. goodstype:
  11325. description: 商品类型 - 1:交易商品 2:仓单商品
  11326. type: integer
  11327. hasrebate:
  11328. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11329. type: integer
  11330. hastradecredit:
  11331. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11332. type: integer
  11333. haswr:
  11334. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11335. type: integer
  11336. isdeductmargin:
  11337. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11338. type: integer
  11339. isrecordsource:
  11340. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11341. type: integer
  11342. isreleasemargin:
  11343. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11344. type: integer
  11345. marginformula:
  11346. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11347. type: integer
  11348. marginformula2:
  11349. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11350. type: integer
  11351. marketid:
  11352. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11353. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11354. type: integer
  11355. marketname:
  11356. description: 市场名称
  11357. type: string
  11358. marketserviceid:
  11359. description: 市场服务ID
  11360. type: integer
  11361. marketstatus:
  11362. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11363. type: integer
  11364. markettype:
  11365. description: 市场类型- 1:非交易服务 2:交易服务
  11366. type: integer
  11367. matchermode:
  11368. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11369. type: integer
  11370. openmethod:
  11371. description: 开盘模式 - 0 自动 1手动
  11372. type: integer
  11373. otcuserid:
  11374. description: 场外期权做市商[场外期权]
  11375. type: integer
  11376. outersynctime:
  11377. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11378. type: string
  11379. pendingflag:
  11380. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11381. type: integer
  11382. pendingtime:
  11383. description: 待开市时间[通道交易-对冲](HH:mm)
  11384. type: string
  11385. performancetempid:
  11386. description: 履约计划模板ID - 作废
  11387. type: integer
  11388. premiumquotemode:
  11389. description: 权利金报价方式 - 1:自动 2:手动
  11390. type: integer
  11391. rebateratio:
  11392. description: 返利比率[竞价式]
  11393. type: number
  11394. reckonorder:
  11395. description: 结算顺序
  11396. type: integer
  11397. reckonpricealgorithm:
  11398. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11399. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11400. type: integer
  11401. reckonpriceparam:
  11402. description: 结算价参数
  11403. type: integer
  11404. reckontime:
  11405. description: 结算时间[通道交易-对冲](HH:mm)
  11406. type: string
  11407. roleprioritytype:
  11408. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11409. type: integer
  11410. selllistingauditflag:
  11411. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11412. type: integer
  11413. trademarkettype:
  11414. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11415. type: integer
  11416. trademode:
  11417. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11418. 21:竞拍-大宗式 22:受托竞价
  11419. type: integer
  11420. tradeproperty:
  11421. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11422. 8:场外期权
  11423. type: integer
  11424. tradetype:
  11425. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11426. type: integer
  11427. required:
  11428. - marketid
  11429. - marketstatus
  11430. - openmethod
  11431. - reckonpricealgorithm
  11432. - trademode
  11433. - tradeproperty
  11434. type: object
  11435. models.Marketrun:
  11436. properties:
  11437. afternexttradedate:
  11438. description: 下下交易日
  11439. type: string
  11440. clearquoteflag:
  11441. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11442. type: integer
  11443. lastreckondate:
  11444. description: 最新交易日(结算成功)
  11445. type: string
  11446. machinedate:
  11447. description: 机器时间
  11448. type: string
  11449. manualflag:
  11450. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11451. type: integer
  11452. marketid:
  11453. description: 市场ID
  11454. type: integer
  11455. nexttradedate:
  11456. description: 下一交易日
  11457. type: string
  11458. pretradedate:
  11459. description: 上一交易日
  11460. type: string
  11461. reckonflag:
  11462. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11463. type: integer
  11464. runstatus:
  11465. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11466. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11467. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11468. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11469. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11470. 62.今日免清算
  11471. type: integer
  11472. sectionid:
  11473. description: 时间段号[多时段时用]
  11474. type: integer
  11475. tradedate:
  11476. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11477. type: string
  11478. tradedate2:
  11479. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11480. type: string
  11481. updatetime:
  11482. description: 更新时间
  11483. type: string
  11484. required:
  11485. - marketid
  11486. - nexttradedate
  11487. - reckonflag
  11488. - runstatus
  11489. - tradedate
  11490. - tradedate2
  11491. type: object
  11492. models.Messageboard:
  11493. properties:
  11494. contactnum:
  11495. description: 联系电话
  11496. type: string
  11497. createtime:
  11498. description: 创建时间
  11499. type: string
  11500. message:
  11501. description: 留言信息
  11502. type: string
  11503. messageboardid:
  11504. description: 留言簿ID(SEQ_MessageBoard)
  11505. type: integer
  11506. userid:
  11507. description: 用户ID
  11508. type: integer
  11509. required:
  11510. - messageboardid
  11511. type: object
  11512. models.MyCoupon:
  11513. properties:
  11514. accountid:
  11515. description: 资金账户ID
  11516. type: integer
  11517. areauserid:
  11518. description: 所属机构
  11519. type: integer
  11520. conditionvalue:
  11521. description: 条件阈值(可为0)
  11522. type: number
  11523. couponcategroy:
  11524. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  11525. type: integer
  11526. couponname:
  11527. description: 优惠券名称
  11528. type: string
  11529. coupontypeid:
  11530. description: 优惠券类型ID
  11531. type: string
  11532. couponvalue:
  11533. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11534. type: number
  11535. curfreezeqty:
  11536. description: 期末冻结数量
  11537. type: integer
  11538. curqty:
  11539. description: 期末数量
  11540. type: integer
  11541. isgeneral:
  11542. description: 是否通用券 - 0:否 1:是
  11543. type: integer
  11544. isunusable:
  11545. description: 是否不可用
  11546. type: boolean
  11547. limitedflag:
  11548. description: 是否指定商品 - 0:不限 1:限制
  11549. type: integer
  11550. limitedgoodsids:
  11551. description: 指定商品IDs[逗号分隔,前后加逗号]
  11552. type: string
  11553. orifreezeqty:
  11554. description: 期初冻结数量
  11555. type: integer
  11556. oriqty:
  11557. description: 期初数量
  11558. type: integer
  11559. reasontype:
  11560. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  11561. type: integer
  11562. todaydecrease:
  11563. description: 今日减少
  11564. type: integer
  11565. todayincrease:
  11566. description: 今日增加
  11567. type: integer
  11568. userid:
  11569. description: 用户ID
  11570. type: integer
  11571. userscope:
  11572. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  11573. type: string
  11574. required:
  11575. - accountid
  11576. - coupontypeid
  11577. type: object
  11578. models.MyCouponHold:
  11579. properties:
  11580. accountid:
  11581. description: 资金账户ID
  11582. type: integer
  11583. conditionvalue:
  11584. description: 条件阈值(可为0)
  11585. type: number
  11586. couponcategroy:
  11587. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  11588. type: integer
  11589. couponholdid:
  11590. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11591. type: string
  11592. couponname:
  11593. description: 优惠券名称
  11594. type: string
  11595. coupontypeid:
  11596. description: 优惠券类型ID - SEQ_COUPONTYPE
  11597. type: string
  11598. couponvalue:
  11599. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11600. type: number
  11601. createtime:
  11602. description: 创建时间
  11603. type: string
  11604. enddate:
  11605. description: 结束日期
  11606. type: string
  11607. giveapplyid:
  11608. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11609. type: integer
  11610. holdstatus:
  11611. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11612. type: integer
  11613. isgeneral:
  11614. description: 是否通用券 - 0:否 1:是
  11615. type: integer
  11616. limitedflag:
  11617. description: 是否指定商品 - 0:不限 1:限制
  11618. type: integer
  11619. limitedgoodsids:
  11620. description: 指定商品IDs[逗号分隔]
  11621. type: string
  11622. qty:
  11623. description: 数量(按1平铺)
  11624. type: integer
  11625. startdate:
  11626. description: 开始日期
  11627. type: string
  11628. userid:
  11629. description: 用户ID
  11630. type: integer
  11631. userscope:
  11632. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11633. type: string
  11634. required:
  11635. - couponholdid
  11636. type: object
  11637. models.MyUsedCoupon:
  11638. properties:
  11639. accountid:
  11640. description: 资金账户ID(买方)
  11641. type: integer
  11642. conditionvalue:
  11643. description: 条件阈值(可为0)
  11644. type: number
  11645. couponcategroy:
  11646. description: 种类 - 1:现金券 2:折扣券
  11647. type: integer
  11648. couponname:
  11649. description: 优惠券名称
  11650. type: string
  11651. coupontypeid:
  11652. description: 优惠券类型ID(买方)
  11653. type: string
  11654. couponvalue:
  11655. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11656. type: number
  11657. createtime:
  11658. description: 创建时间
  11659. type: string
  11660. goodsid:
  11661. description: 商品ID
  11662. type: integer
  11663. handlestatus:
  11664. description: 处理状态
  11665. type: integer
  11666. marketid:
  11667. description: 市场ID
  11668. type: integer
  11669. offamount:
  11670. description: 优惠金额
  11671. type: number
  11672. orderid:
  11673. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11674. type: string
  11675. sellaccountid:
  11676. description: 资金账户ID(卖方)
  11677. type: integer
  11678. tradeamount:
  11679. description: 成交金额
  11680. type: number
  11681. tradeid:
  11682. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11683. type: string
  11684. usedqty:
  11685. description: 使用数量
  11686. type: integer
  11687. required:
  11688. - coupontypeid
  11689. - orderid
  11690. type: object
  11691. models.OperationPrimaryMenu:
  11692. properties:
  11693. Children:
  11694. description: 二级功能菜单
  11695. items:
  11696. $ref: '#/definitions/models.OperationSecondaryMenu'
  11697. type: array
  11698. Key:
  11699. description: 菜单KEY
  11700. type: string
  11701. Label:
  11702. description: 菜单标题
  11703. type: string
  11704. type: object
  11705. models.OperationSecondaryMenu:
  11706. properties:
  11707. Key:
  11708. description: 菜单KEY
  11709. type: string
  11710. Label:
  11711. description: 菜单标题
  11712. type: string
  11713. TabList:
  11714. description: 三级功能菜单
  11715. items:
  11716. $ref: '#/definitions/models.OperationTabMenu'
  11717. type: array
  11718. type: object
  11719. models.OperationTabMenu:
  11720. properties:
  11721. Key:
  11722. description: 菜单KEY
  11723. type: string
  11724. Label:
  11725. description: 菜单标题
  11726. type: string
  11727. type: object
  11728. models.Patradelinkdetail:
  11729. properties:
  11730. accountname:
  11731. description: 套期主体
  11732. type: string
  11733. agreeunit:
  11734. description: 合约乘数
  11735. type: number
  11736. amount:
  11737. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  11738. type: number
  11739. areauserid:
  11740. description: 所属机构
  11741. type: integer
  11742. bizsubjectid:
  11743. description: 归属业务部门ID - SubjectID
  11744. type: integer
  11745. buyorsell:
  11746. description: 方向 - 0:买 1:卖
  11747. type: integer
  11748. convertratio:
  11749. description: 品种系数
  11750. type: number
  11751. convertratiochange:
  11752. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  11753. type: number
  11754. createtime:
  11755. description: 创建时间
  11756. type: string
  11757. creatorid:
  11758. description: 创建人ID
  11759. type: integer
  11760. creatorsrc:
  11761. description: 创建人来源 - 1:管理端 2:终端 3:交易
  11762. type: integer
  11763. goodscode:
  11764. description: 商品代码(内部)
  11765. type: string
  11766. goodsgroupid:
  11767. description: 对冲品种ID[期货合约商品组ID]
  11768. type: integer
  11769. goodsid:
  11770. description: 商品ID
  11771. type: integer
  11772. hedgeditemid:
  11773. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  11774. type: integer
  11775. hedgeflag:
  11776. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  11777. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  11778. type: integer
  11779. linkdetailid:
  11780. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  11781. type: string
  11782. linkstatus:
  11783. description: 关联状态 - 1:成功 2:失败 3:解绑
  11784. type: integer
  11785. middlegoodsid:
  11786. description: 套保品种ID
  11787. type: integer
  11788. name:
  11789. description: 账户名/子账户
  11790. type: string
  11791. optioncode:
  11792. description: '[期货合约]期权代码 [期权]'
  11793. type: string
  11794. ordertype:
  11795. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  11796. type: integer
  11797. relatedlot:
  11798. description: '[数量]关联手数'
  11799. type: number
  11800. relatedmode:
  11801. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  11802. type: integer
  11803. relatedqty:
  11804. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  11805. type: number
  11806. retcode:
  11807. description: 返回码
  11808. type: integer
  11809. saleuserid:
  11810. description: 业务员ID
  11811. type: integer
  11812. tradedate:
  11813. description: 关联交易日(yyyyMMdd)
  11814. type: string
  11815. tradeid:
  11816. description: '[成交单号]内部成交单ID'
  11817. type: string
  11818. tradelot:
  11819. description: 成交手数
  11820. type: integer
  11821. tradeprice:
  11822. description: '[价格]成交价格'
  11823. type: number
  11824. tradetime:
  11825. description: 日期时间
  11826. type: string
  11827. tradetradedate:
  11828. description: 成交交易日(yyyyMMdd)
  11829. type: string
  11830. type: object
  11831. models.QhjAccountOutInApply:
  11832. properties:
  11833. accountcode:
  11834. description: 资金账号
  11835. type: string
  11836. accountname:
  11837. description: 用户名称(名称)
  11838. type: string
  11839. accountpwd:
  11840. description: 资金密码
  11841. type: string
  11842. accountticket:
  11843. description: 最新账户服务流水号
  11844. type: string
  11845. amount:
  11846. description: 金额
  11847. type: number
  11848. applyremark:
  11849. description: 申请备注
  11850. type: string
  11851. applystatus:
  11852. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11853. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11854. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11855. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11856. type: integer
  11857. auditid:
  11858. description: 审核人
  11859. type: integer
  11860. audittime:
  11861. description: 审核时间
  11862. type: string
  11863. bank_apply_ticket:
  11864. description: 银行申请流水
  11865. type: string
  11866. bankaccountname:
  11867. description: 银行账户名
  11868. type: string
  11869. bankaccountno:
  11870. description: 银行卡号
  11871. type: string
  11872. bankid:
  11873. description: 银行编号
  11874. type: string
  11875. bankticket:
  11876. description: 银行流水
  11877. type: string
  11878. branchbankid:
  11879. description: 银行支行号
  11880. type: string
  11881. branchbankname:
  11882. description: 银行支行名称
  11883. type: string
  11884. capamountout:
  11885. description: 出金(劣后本金) - 外部子账户
  11886. type: number
  11887. certificatephotourl:
  11888. description: 凭证地址
  11889. type: string
  11890. charge:
  11891. description: 手续费
  11892. type: number
  11893. checkerrorflag:
  11894. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11895. type: integer
  11896. currency:
  11897. description: 币种
  11898. type: string
  11899. cusbankid:
  11900. description: 托管银行编号
  11901. type: string
  11902. exchticket:
  11903. description: 银行服务流水号
  11904. type: string
  11905. executetype:
  11906. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11907. 7:外部子账户:入金 8:外部子账户:出金'
  11908. type: integer
  11909. extendinfo:
  11910. description: 扩展信息
  11911. type: string
  11912. extoperateid:
  11913. description: 交易服务流水号
  11914. type: integer
  11915. infamount:
  11916. description: 劣后金额(自有)
  11917. type: number
  11918. logincode:
  11919. description: 登录账号(账号)
  11920. type: string
  11921. netaddr:
  11922. description: 调转网址
  11923. type: string
  11924. priamount:
  11925. description: 优先金额(授信)
  11926. type: number
  11927. reauditid:
  11928. description: 复审人
  11929. type: integer
  11930. reauditremark:
  11931. description: 复审备注
  11932. type: string
  11933. reaudittime:
  11934. description: 复审时间
  11935. type: string
  11936. relatedorderid:
  11937. description: 三方关联ID
  11938. type: string
  11939. remark:
  11940. description: 备注
  11941. type: string
  11942. remark2:
  11943. description: 备注(失败原因)
  11944. type: string
  11945. soucreamount:
  11946. description: 原始出入金金额
  11947. type: number
  11948. soucrecurrencyid:
  11949. description: 原始出入金币种
  11950. type: integer
  11951. tradedate:
  11952. description: 交易日(yyyyMMdd)
  11953. type: string
  11954. updatetime:
  11955. description: 更新时间(申请时间)
  11956. type: string
  11957. userid:
  11958. description: 用户id
  11959. type: integer
  11960. userinfotype:
  11961. description: 账户类型 1-个人 2-企业
  11962. type: integer
  11963. type: object
  11964. models.QhjAgreementChangeLog:
  11965. properties:
  11966. agreementcontent:
  11967. description: 协议内容
  11968. type: string
  11969. agreementfrequency:
  11970. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11971. type: integer
  11972. agreementid:
  11973. description: 协议ID
  11974. type: integer
  11975. agreementname:
  11976. description: 协议名称
  11977. type: string
  11978. agreementno:
  11979. description: 协议编号
  11980. type: string
  11981. agreementtype:
  11982. description: 协议类型 - 1:注册 2:登录 3:交易
  11983. type: integer
  11984. agreementversion:
  11985. description: 协议版本号
  11986. type: integer
  11987. logid:
  11988. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11989. type: integer
  11990. reviserid:
  11991. description: 修改人
  11992. type: integer
  11993. revisersrc:
  11994. description: 修改来源 - 1:管理端 2:终端
  11995. type: integer
  11996. updatetime:
  11997. description: 更新时间
  11998. type: string
  11999. type: object
  12000. models.QhjAgreementConfig:
  12001. properties:
  12002. agreementcontent:
  12003. description: 协议内容
  12004. type: string
  12005. agreementfrequency:
  12006. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12007. type: integer
  12008. agreementid:
  12009. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12010. type: integer
  12011. agreementname:
  12012. description: 协议名称
  12013. type: string
  12014. agreementno:
  12015. description: 协议编号
  12016. type: string
  12017. agreementtype:
  12018. description: 协议类型 - 1:注册 2:登录 3:交易
  12019. type: integer
  12020. agreementversion:
  12021. description: 协议版本号(从1开始每次修改加1)
  12022. type: integer
  12023. createtime:
  12024. description: 创建时间
  12025. type: string
  12026. creatorid:
  12027. description: 创建人
  12028. type: integer
  12029. creatorsrc:
  12030. description: 创建来源 - 1:管理端 2:终端
  12031. type: integer
  12032. isvalid:
  12033. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12034. type: integer
  12035. reviserid:
  12036. description: 修改人
  12037. type: integer
  12038. revisersrc:
  12039. description: 修改来源 - 1:管理端 2:终端
  12040. type: integer
  12041. updatetime:
  12042. description: 更新时间
  12043. type: string
  12044. type: object
  12045. models.QhjAreaFinanceConfig:
  12046. properties:
  12047. additionalratio:
  12048. description: 追加款比例
  12049. type: number
  12050. advanceratio:
  12051. description: 预付款比例
  12052. type: number
  12053. alarmratio:
  12054. description: 告警比例
  12055. type: number
  12056. consumptiondirectreward:
  12057. description: 消费直推奖励值
  12058. type: number
  12059. consumptionenabled:
  12060. description: 是否启用消费奖励 - 0:不启用 1:启用
  12061. type: integer
  12062. consumptionindirectreward:
  12063. description: 消费间推奖励值
  12064. type: number
  12065. consumptionmodel:
  12066. description: 消费奖励方式 - 1:比率 2:固定
  12067. type: integer
  12068. customerservicenum:
  12069. description: 客服电话
  12070. type: string
  12071. dayinterestrate:
  12072. description: 日利率
  12073. type: number
  12074. disableconsumptiontips:
  12075. description: 关闭消费奖励提示
  12076. type: string
  12077. modifierid:
  12078. description: 修改人ID
  12079. type: integer
  12080. modifysrc:
  12081. description: 审核来源 - 1:管理端 2:终端
  12082. type: integer
  12083. modifytime:
  12084. description: 修改时间
  12085. type: string
  12086. promotionvalue:
  12087. description: 推广奖励值(固定)
  12088. type: number
  12089. scoreconfigvalue1:
  12090. description: 提货积分配置1
  12091. type: integer
  12092. scoreconfigvalue2:
  12093. description: 提货积分配置2
  12094. type: integer
  12095. userid:
  12096. description: 机构用户ID其他做市关系,都设置为 1
  12097. type: integer
  12098. username:
  12099. description: 用户名称
  12100. type: string
  12101. type: object
  12102. models.QhjBankAccountSign:
  12103. properties:
  12104. accountcode:
  12105. description: 资金账号
  12106. type: string
  12107. accountname:
  12108. description: 资金账号对应的账号名(UserName)
  12109. type: string
  12110. accountname2:
  12111. description: 资金账号对应的账号名(UserName) - 密文
  12112. type: string
  12113. accounttype:
  12114. description: 账户类型(UserType)
  12115. type: integer
  12116. applicationtime:
  12117. description: 最后一次更新的时间
  12118. type: string
  12119. applyexchticket:
  12120. description: 申请流水
  12121. type: string
  12122. auditid:
  12123. description: 审核人
  12124. type: integer
  12125. audittime:
  12126. description: 审核时间
  12127. type: string
  12128. bankaccountname:
  12129. description: 签约银行卡账号名
  12130. type: string
  12131. bankaccountname2:
  12132. description: 签约银行卡账号名 - 密文
  12133. type: string
  12134. bankaccountno:
  12135. description: 银行卡号
  12136. type: string
  12137. bankaccountno2:
  12138. description: 银行卡号 - 密文
  12139. type: string
  12140. bankaccounttype:
  12141. description: 银行账户类型 - 1-对私; 2-对公
  12142. type: integer
  12143. bankcardtype:
  12144. description: 银行卡类型
  12145. type: integer
  12146. bankchildaccount:
  12147. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12148. type: string
  12149. bankcity:
  12150. description: 开户行城市
  12151. type: string
  12152. bankid:
  12153. description: 签约银行ID
  12154. type: string
  12155. bankname:
  12156. description: 签约银行名称
  12157. type: string
  12158. bankprovince:
  12159. description: 开户行省份
  12160. type: string
  12161. branchbankid:
  12162. description: 签约银行支行号
  12163. type: string
  12164. branchbankname:
  12165. description: 签约银行支行名称
  12166. type: string
  12167. cardno:
  12168. description: 证件号码
  12169. type: string
  12170. cardno2:
  12171. description: 证件号码 - 密文
  12172. type: string
  12173. cardtype:
  12174. description: 证件类型
  12175. type: string
  12176. currency:
  12177. description: 币种
  12178. type: string
  12179. cusbankid:
  12180. description: 托管银行编号
  12181. type: string
  12182. direct:
  12183. description: 方向(可以判断那方先发起的签约)
  12184. type: integer
  12185. exchticket:
  12186. description: 最后一次签约成功的流水号
  12187. type: string
  12188. extendinfo:
  12189. description: 扩展信息(JSON字符串)
  12190. type: string
  12191. mobilephone:
  12192. description: 手机号
  12193. type: string
  12194. mobilephone2:
  12195. description: 手机号 - 密文
  12196. type: string
  12197. netaddr:
  12198. description: 调转网址
  12199. type: string
  12200. relateduserid:
  12201. description: 关联使用者userid
  12202. type: integer
  12203. signstatus:
  12204. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12205. 10:审核拒绝 11:换签待审核
  12206. type: integer
  12207. updatetime:
  12208. description: 更新时间(签解约更新时间)
  12209. type: string
  12210. type: object
  12211. models.QhjBankInfo:
  12212. properties:
  12213. bankid:
  12214. description: 银行ID
  12215. type: string
  12216. bankname:
  12217. description: 银行名称
  12218. type: string
  12219. clearbankno:
  12220. description: 清算系统银行编号
  12221. type: string
  12222. orderindex:
  12223. description: 排序顺序
  12224. type: integer
  12225. status:
  12226. description: 状态 - 0:正常 1:注销
  12227. type: integer
  12228. type: object
  12229. models.QhjBrokerApply:
  12230. properties:
  12231. applicantid:
  12232. description: 申请人
  12233. type: integer
  12234. applysrc:
  12235. description: 申请来源 - 1:管理端 2:终端
  12236. type: integer
  12237. applystatus:
  12238. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12239. type: integer
  12240. applytime:
  12241. description: 申请时间
  12242. type: string
  12243. auditorid:
  12244. description: 审核人
  12245. type: integer
  12246. auditremark:
  12247. description: 审核备注
  12248. type: string
  12249. auditsrc:
  12250. description: 审核来源 - 1:管理端 2:终端
  12251. type: integer
  12252. audittime:
  12253. description: 审核时间
  12254. type: string
  12255. audittradedate:
  12256. description: 审核交易日(yyyyMMdd)
  12257. type: string
  12258. brokerapplyid:
  12259. description: 申请ID(SEQ_BROKERAPPLY)
  12260. type: integer
  12261. cardbackphotourl:
  12262. description: 证件背面图片地址
  12263. type: string
  12264. cardfrontphotourl:
  12265. description: 证件正面图片地址
  12266. type: string
  12267. cardnum:
  12268. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12269. type: string
  12270. customername:
  12271. description: 姓名
  12272. type: string
  12273. logincode:
  12274. description: 登录代码
  12275. type: string
  12276. mobile:
  12277. description: 手机号码
  12278. type: string
  12279. parentuserid:
  12280. description: 所属机构id
  12281. type: integer
  12282. parentusername:
  12283. description: 所属机构名称
  12284. type: string
  12285. refereeuserid:
  12286. description: 推荐人id(经纪人)
  12287. type: integer
  12288. refernum:
  12289. description: 推荐码
  12290. type: string
  12291. remark:
  12292. description: 备注
  12293. type: string
  12294. subarealevelpath:
  12295. description: 层级路径
  12296. type: string
  12297. tradedate:
  12298. description: 交易日(yyyyMMdd)
  12299. type: string
  12300. userid:
  12301. description: 申请人用户ID
  12302. type: integer
  12303. userinfotype:
  12304. description: 用户类型 1-个人 2-企业
  12305. type: integer
  12306. username:
  12307. description: 用户名称
  12308. type: string
  12309. type: object
  12310. models.QhjBrokerApplyEx:
  12311. properties:
  12312. applylist:
  12313. description: 经纪人申请记录(只返回最新一条)
  12314. items:
  12315. $ref: '#/definitions/models.QhjBrokerApply'
  12316. type: array
  12317. canrecommend:
  12318. description: 是否经纪人 0-不是 1-是
  12319. type: integer
  12320. refernum:
  12321. description: 推荐码
  12322. type: string
  12323. userid:
  12324. description: 用户id
  12325. type: integer
  12326. userinfotype:
  12327. description: 用户类型 1-个人 2-企业
  12328. type: integer
  12329. type: object
  12330. models.QhjBrokerRewardLog:
  12331. properties:
  12332. accountid:
  12333. description: 资金账号ID
  12334. type: integer
  12335. createtime:
  12336. description: 创建时间(时间)
  12337. type: string
  12338. handlestatus:
  12339. description: 处理状态
  12340. type: integer
  12341. logid:
  12342. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12343. type: string
  12344. marketid:
  12345. description: 市场ID
  12346. type: integer
  12347. mmaccountid:
  12348. description: 做市商资金账号ID
  12349. type: string
  12350. mmuserid:
  12351. description: 做市商用户ID
  12352. type: string
  12353. rewardamount:
  12354. description: 奖励金额
  12355. type: number
  12356. rewardmodel:
  12357. description: 消费奖励方式 - 1:比率 2:固定
  12358. type: integer
  12359. rewardtype:
  12360. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  12361. type: integer
  12362. rewardvalue:
  12363. description: 配置奖励值
  12364. type: number
  12365. srcamount:
  12366. description: 成交金额 [消费奖励] (金额)
  12367. type: number
  12368. srcgoodsid:
  12369. description: 来源商品ID [消费奖励]
  12370. type: string
  12371. srctime:
  12372. description: 来源时间 (成交时间) [消费奖励]
  12373. type: string
  12374. srctradeid:
  12375. description: 来源成交单ID [消费奖励] - 排除提货成交
  12376. type: string
  12377. srcuserid:
  12378. description: 来源用户ID(推广账户)
  12379. type: string
  12380. srcusername:
  12381. description: 推广账户名称
  12382. type: string
  12383. tradedate:
  12384. description: 交易日(yyyyMMdd)
  12385. type: string
  12386. userid:
  12387. description: 经纪人用户ID
  12388. type: integer
  12389. type: object
  12390. models.QhjContract:
  12391. properties:
  12392. contractconfirmtime:
  12393. description: 合同确认时间(时间)
  12394. type: string
  12395. currisklevel:
  12396. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12397. type: integer
  12398. decimalplace:
  12399. description: 商品报价小数位
  12400. type: integer
  12401. enumdicname:
  12402. description: 单位名称
  12403. type: string
  12404. goodscode:
  12405. description: 商品代码
  12406. type: string
  12407. goodsid:
  12408. description: 商品ID [5:融资单]
  12409. type: integer
  12410. goodsname:
  12411. description: 商品名称
  12412. type: string
  12413. goodunitid:
  12414. description: 商品单位id
  12415. type: integer
  12416. initmargin:
  12417. description: 初始保证金(首付款)
  12418. type: number
  12419. lenderamount:
  12420. description: 贷款金额(总额|订单总额)
  12421. type: number
  12422. marginratio:
  12423. description: 保证金比率(首付比例)
  12424. type: number
  12425. payamount:
  12426. description: 已付(已付货款)
  12427. type: number
  12428. reckonrecovermargin:
  12429. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12430. type: number
  12431. recoveredmargin:
  12432. description: 已追缴保证金
  12433. type: number
  12434. remainamount:
  12435. description: 合同剩余金额(融资额)
  12436. type: number
  12437. scfcontractid:
  12438. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12439. type: string
  12440. scfcontractstatus:
  12441. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12442. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12443. type: integer
  12444. scfcontracttype:
  12445. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12446. type: integer
  12447. totalinterest:
  12448. description: 已计总利息(利息)
  12449. type: number
  12450. tradeprice:
  12451. description: 成交价格(成本价格)
  12452. type: number
  12453. userid:
  12454. description: 用户ID
  12455. type: integer
  12456. username:
  12457. description: 用户名称
  12458. type: string
  12459. wrqty:
  12460. description: 仓单数量(数量)
  12461. type: number
  12462. type: object
  12463. models.QhjContractLog:
  12464. properties:
  12465. amount:
  12466. description: 支付金额
  12467. type: number
  12468. amounttype:
  12469. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  12470. type: integer
  12471. logid:
  12472. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12473. type: string
  12474. remainamount:
  12475. description: 剩余货款
  12476. type: number
  12477. scfcontractid:
  12478. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12479. type: integer
  12480. updatetime:
  12481. description: 更新时间
  12482. type: string
  12483. type: object
  12484. models.QhjCusBankSignBankEx:
  12485. properties:
  12486. banklst:
  12487. description: 银行列表
  12488. items:
  12489. $ref: '#/definitions/models.QhjBankInfo'
  12490. type: array
  12491. canallot:
  12492. description: 是否支持跨行调拨 - 0:不支持 1:支持
  12493. type: integer
  12494. canallotquery:
  12495. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  12496. type: integer
  12497. canbindcard:
  12498. description: 是否可绑卡与解卡 - 0:不可 1:可以
  12499. type: integer
  12500. caninamount:
  12501. description: 是否可入金 - 0:不可 1:可以
  12502. type: integer
  12503. caninamount2:
  12504. description: 是否可入金(网银端) - 0:不可 1:可以
  12505. type: integer
  12506. canmodifybankcard:
  12507. description: 是否可修改银行卡号 - 0:不可 1:可以
  12508. type: integer
  12509. canmodifyphone:
  12510. description: 是否可修改手机号 - 0:不可 1:可以
  12511. type: integer
  12512. canmodifysigninfo:
  12513. description: 是否可修改签约信息 - 0:不可 1:可以
  12514. type: integer
  12515. canoutamount:
  12516. description: 是否可出金 - 0:不可 1:可以
  12517. type: integer
  12518. canoutamount2:
  12519. description: 是否可出金(网银端) - 0:不可 1:可以
  12520. type: integer
  12521. canrelease:
  12522. description: 是否可解约 - 0:不可 1:可以
  12523. type: integer
  12524. canrelease2:
  12525. description: 是否可解约(网银端) - 0:不可 1:可以
  12526. type: integer
  12527. cansign:
  12528. description: 是否可签约 - 0:不可 1:可以
  12529. type: integer
  12530. cansign2:
  12531. description: 是否可签约(网银端) - 0:不可 1:可以
  12532. type: integer
  12533. currency:
  12534. description: 币种
  12535. type: string
  12536. cusbankid:
  12537. description: 托管银行编号(对应清算中心TRAN_NO)
  12538. type: string
  12539. cusbankname:
  12540. description: 银行业务名称
  12541. type: string
  12542. cusbankshortname:
  12543. description: 银行业务简称
  12544. type: string
  12545. exchbankid:
  12546. description: 交易所开户银行ID
  12547. type: string
  12548. exchpaybankaccname:
  12549. description: 交易所支出结算账户户名
  12550. type: string
  12551. exchpaybankaccno:
  12552. description: 交易所支出结算账户
  12553. type: string
  12554. isneedcheck:
  12555. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  12556. type: integer
  12557. isneedclear:
  12558. description: 是否需要清算 - 0:不需要 1:需要
  12559. type: integer
  12560. lastcheckstatus:
  12561. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  12562. type: integer
  12563. lastchecktime:
  12564. description: 最后对账时间
  12565. type: string
  12566. lastclearstatus:
  12567. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  12568. type: integer
  12569. lastcleartime:
  12570. description: 最后清算时间
  12571. type: string
  12572. lastsignintime:
  12573. description: 最后签到时间
  12574. type: string
  12575. lastsignouttime:
  12576. description: 最后签退时间
  12577. type: string
  12578. riskinfo:
  12579. description: 签约风险提示书
  12580. type: string
  12581. signstatus:
  12582. description: 当前签到/签退状态 - 1:签到 2:签退
  12583. type: integer
  12584. tradedate:
  12585. description: 交易日(yyyyMMdd)
  12586. type: string
  12587. updatetime:
  12588. description: 当前签到/签退更新时间
  12589. type: string
  12590. type: object
  12591. models.QhjCustomer:
  12592. properties:
  12593. address:
  12594. description: 通讯地址
  12595. type: string
  12596. attachment1:
  12597. description: 附件1
  12598. type: string
  12599. attachment2:
  12600. description: 附件2
  12601. type: string
  12602. audittime:
  12603. description: 审核时间
  12604. type: string
  12605. cardbackphotourl:
  12606. description: 证件反面图片地址
  12607. type: string
  12608. cardfrontphotourl:
  12609. description: 证件正面图片地址
  12610. type: string
  12611. cardnum:
  12612. description: 证件号码
  12613. type: string
  12614. cardtype:
  12615. description: 证件类型
  12616. type: integer
  12617. cardtypename:
  12618. description: 证件类型名称
  12619. type: string
  12620. cityid:
  12621. description: 市
  12622. type: integer
  12623. cityname:
  12624. description: 城市名称
  12625. type: string
  12626. contactname:
  12627. description: 联系人
  12628. type: string
  12629. countryid:
  12630. description: 国家
  12631. type: integer
  12632. countryname:
  12633. description: 国家名称
  12634. type: string
  12635. createtime:
  12636. description: 创建时间
  12637. type: string
  12638. customername:
  12639. description: 客户名称
  12640. type: string
  12641. districtid:
  12642. description: 区域
  12643. type: integer
  12644. districtname:
  12645. description: 地区名称
  12646. type: string
  12647. email:
  12648. description: 邮件
  12649. type: string
  12650. legalpersonname:
  12651. description: 法人姓名(企业)
  12652. type: string
  12653. logincode:
  12654. description: 登录账号(代码)
  12655. type: string
  12656. memberuserid:
  12657. description: 所属机构ID(所属会员)
  12658. type: integer
  12659. memberusername:
  12660. description: 所属会员名称
  12661. type: string
  12662. mobile:
  12663. description: 手机号码
  12664. type: string
  12665. modifytime:
  12666. description: 修改时间
  12667. type: string
  12668. nickname:
  12669. description: 昵称
  12670. type: string
  12671. parentuserid:
  12672. description: 上级机构(所属机构)
  12673. type: integer
  12674. parentusername:
  12675. description: 所属机构名称
  12676. type: string
  12677. provinceid:
  12678. description: 省
  12679. type: integer
  12680. provincename:
  12681. description: 省名称
  12682. type: string
  12683. proxystatementurl:
  12684. description: 授权委托书
  12685. type: string
  12686. remark:
  12687. description: 备注
  12688. type: string
  12689. status:
  12690. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  12691. type: integer
  12692. statusdesc:
  12693. description: 账户状态中文描述
  12694. type: string
  12695. taxpayernum:
  12696. description: 纳税人识别号
  12697. type: string
  12698. telphone:
  12699. description: 联系电话
  12700. type: string
  12701. userid:
  12702. description: 用户ID
  12703. type: integer
  12704. userinfotype:
  12705. description: 客户类型 1-个人 2-企业
  12706. type: integer
  12707. username:
  12708. description: 用户名称
  12709. type: string
  12710. type: object
  12711. models.QhjCustomerSignLog:
  12712. properties:
  12713. agreementcontent:
  12714. description: 协议内容
  12715. type: string
  12716. agreementid:
  12717. description: 协议ID
  12718. type: integer
  12719. agreementname:
  12720. description: 协议名称
  12721. type: string
  12722. agreementno:
  12723. description: 协议编号
  12724. type: string
  12725. agreementtype:
  12726. description: 协议类型 - 1:注册 2:登录 3:交易
  12727. type: integer
  12728. agreementversion:
  12729. description: 协议版本号
  12730. type: integer
  12731. createtime:
  12732. description: 创建时间
  12733. type: string
  12734. goodscode:
  12735. description: 商品代码
  12736. type: string
  12737. goodsid:
  12738. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12739. type: integer
  12740. goodsname:
  12741. description: 商品名称
  12742. type: string
  12743. logid:
  12744. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12745. type: integer
  12746. nodetype:
  12747. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12748. type: integer
  12749. signadressurl:
  12750. description: 签约文件地址
  12751. type: string
  12752. signtimestamp:
  12753. description: 签约状态时间戳
  12754. type: string
  12755. userid:
  12756. description: 客户ID
  12757. type: integer
  12758. username:
  12759. description: 客户名称
  12760. type: string
  12761. type: object
  12762. models.QhjCustomerSignStatus:
  12763. properties:
  12764. createtime:
  12765. description: 创建时间
  12766. type: string
  12767. goodscode:
  12768. description: 商品代码
  12769. type: string
  12770. goodsid:
  12771. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12772. type: integer
  12773. goodsname:
  12774. description: 商品名称
  12775. type: string
  12776. nodetype:
  12777. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12778. type: integer
  12779. signtimestamp:
  12780. description: 签约状态时间戳
  12781. type: string
  12782. tradedate:
  12783. description: 创建交易日(yyyyMMdd)
  12784. type: string
  12785. updatetime:
  12786. description: 更新时间
  12787. type: string
  12788. userid:
  12789. description: 客户ID
  12790. type: integer
  12791. username:
  12792. description: 客户名称
  12793. type: string
  12794. type: object
  12795. models.QhjMgrAccountOutInApply:
  12796. properties:
  12797. accountcode:
  12798. description: 资金账号
  12799. type: string
  12800. accountname:
  12801. description: 用户名称(名称)
  12802. type: string
  12803. accountpwd:
  12804. description: 资金密码
  12805. type: string
  12806. accountticket:
  12807. description: 最新账户服务流水号
  12808. type: string
  12809. amount:
  12810. description: 金额
  12811. type: number
  12812. applyremark:
  12813. description: 申请备注
  12814. type: string
  12815. applystatus:
  12816. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12817. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12818. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12819. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12820. type: integer
  12821. auditid:
  12822. description: 审核人
  12823. type: integer
  12824. audittime:
  12825. description: 审核时间
  12826. type: string
  12827. bank_apply_ticket:
  12828. description: 银行申请流水
  12829. type: string
  12830. bankaccountname:
  12831. description: 银行账户名
  12832. type: string
  12833. bankaccountno:
  12834. description: 银行卡号
  12835. type: string
  12836. bankid:
  12837. description: 银行编号
  12838. type: string
  12839. bankname:
  12840. description: 银行名称
  12841. type: string
  12842. bankticket:
  12843. description: 银行流水
  12844. type: string
  12845. branchbankid:
  12846. description: 银行支行号
  12847. type: string
  12848. branchbankname:
  12849. description: 银行支行名称
  12850. type: string
  12851. capamountout:
  12852. description: 出金(劣后本金) - 外部子账户
  12853. type: number
  12854. certificatephotourl:
  12855. description: 凭证地址
  12856. type: string
  12857. charge:
  12858. description: 手续费
  12859. type: number
  12860. checkerrorflag:
  12861. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12862. type: integer
  12863. currency:
  12864. description: 币种
  12865. type: string
  12866. cusbankid:
  12867. description: 托管银行编号
  12868. type: string
  12869. exchticket:
  12870. description: 银行服务流水号
  12871. type: string
  12872. executetype:
  12873. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12874. 7:外部子账户:入金 8:外部子账户:出金'
  12875. type: integer
  12876. extendinfo:
  12877. description: 扩展信息
  12878. type: string
  12879. extoperateid:
  12880. description: 交易服务流水号
  12881. type: integer
  12882. infamount:
  12883. description: 劣后金额(自有)
  12884. type: number
  12885. logincode:
  12886. description: 登录账号(账号)
  12887. type: string
  12888. netaddr:
  12889. description: 调转网址
  12890. type: string
  12891. priamount:
  12892. description: 优先金额(授信)
  12893. type: number
  12894. reauditid:
  12895. description: 复审人
  12896. type: integer
  12897. reauditremark:
  12898. description: 复审备注
  12899. type: string
  12900. reaudittime:
  12901. description: 复审时间
  12902. type: string
  12903. relatedorderid:
  12904. description: 三方关联ID
  12905. type: string
  12906. remark:
  12907. description: 备注
  12908. type: string
  12909. remark2:
  12910. description: 备注(失败原因)
  12911. type: string
  12912. soucreamount:
  12913. description: 原始出入金金额
  12914. type: number
  12915. soucrecurrencyid:
  12916. description: 原始出入金币种
  12917. type: integer
  12918. tradedate:
  12919. description: 交易日(yyyyMMdd)
  12920. type: string
  12921. updatetime:
  12922. description: 更新时间(申请时间)
  12923. type: string
  12924. userid:
  12925. description: 用户id
  12926. type: integer
  12927. userinfotype:
  12928. description: 账户类型 1-个人 2-企业
  12929. type: integer
  12930. type: object
  12931. models.QhjMgrBrokerApply:
  12932. properties:
  12933. applicantid:
  12934. description: 申请人
  12935. type: integer
  12936. applysrc:
  12937. description: 申请来源 - 1:管理端 2:终端
  12938. type: integer
  12939. applystatus:
  12940. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12941. type: integer
  12942. applytime:
  12943. description: 申请时间
  12944. type: string
  12945. auditorid:
  12946. description: 审核人
  12947. type: integer
  12948. auditremark:
  12949. description: 审核备注
  12950. type: string
  12951. auditsrc:
  12952. description: 审核来源 - 1:管理端 2:终端
  12953. type: integer
  12954. audittime:
  12955. description: 审核时间
  12956. type: string
  12957. audittradedate:
  12958. description: 审核交易日(yyyyMMdd)
  12959. type: string
  12960. brokerapplyid:
  12961. description: 申请ID(SEQ_BROKERAPPLY)
  12962. type: integer
  12963. cardbackphotourl:
  12964. description: 证件背面图片地址
  12965. type: string
  12966. cardfrontphotourl:
  12967. description: 证件正面图片地址
  12968. type: string
  12969. cardnum:
  12970. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12971. type: string
  12972. customername:
  12973. description: 姓名
  12974. type: string
  12975. filterstatus:
  12976. description: 筛选条件
  12977. type: string
  12978. logincode:
  12979. description: 登录代码
  12980. type: string
  12981. mobile:
  12982. description: 手机号码
  12983. type: string
  12984. parentuserid:
  12985. description: 所属机构id
  12986. type: integer
  12987. parentusername:
  12988. description: 所属机构名称
  12989. type: string
  12990. refereeuserid:
  12991. description: 推荐人id(经纪人)
  12992. type: integer
  12993. refernum:
  12994. description: 推荐码
  12995. type: string
  12996. remark:
  12997. description: 备注
  12998. type: string
  12999. subarealevelpath:
  13000. description: 层级路径
  13001. type: string
  13002. tradedate:
  13003. description: 交易日(yyyyMMdd)
  13004. type: string
  13005. userid:
  13006. description: 申请人用户ID
  13007. type: integer
  13008. userinfotype:
  13009. description: 用户类型 1-个人 2-企业
  13010. type: integer
  13011. username:
  13012. description: 用户名称
  13013. type: string
  13014. type: object
  13015. models.QhjMgrBrokerRewardReport:
  13016. properties:
  13017. createtime:
  13018. description: 创建时间(注册时间)
  13019. type: string
  13020. cycletime:
  13021. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13022. type: string
  13023. cycletype:
  13024. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13025. type: integer
  13026. directtotalnum:
  13027. description: 直推总人数【期末】
  13028. type: integer
  13029. indirecttotalnum:
  13030. description: 间推总人数【期末】
  13031. type: integer
  13032. mobile:
  13033. description: 电话号码
  13034. type: string
  13035. refereeuserid:
  13036. description: 推荐人id(经纪人id)
  13037. type: integer
  13038. refereeusername:
  13039. description: 推荐人名称(经纪人) 上级经纪人名称
  13040. type: string
  13041. refernum:
  13042. description: 推荐码
  13043. type: string
  13044. subarealevelpath:
  13045. description: 用户层级路径
  13046. type: string
  13047. todayrewardamount:
  13048. description: 奖励总金额【汇总】
  13049. type: number
  13050. updatetime:
  13051. description: 更新时间
  13052. type: string
  13053. userid:
  13054. description: 经纪人用户ID
  13055. type: integer
  13056. userinfotype:
  13057. description: 用户类型 1-个人 2-企业
  13058. type: integer
  13059. username:
  13060. description: 用户名称
  13061. type: string
  13062. type: object
  13063. models.QhjMgrContract:
  13064. properties:
  13065. contractconfirmtime:
  13066. description: 合同确认时间(时间)
  13067. type: string
  13068. currisklevel:
  13069. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13070. type: integer
  13071. decimalplace:
  13072. description: 商品报价小数位
  13073. type: integer
  13074. enumdicname:
  13075. description: 单位名称
  13076. type: string
  13077. goodscode:
  13078. description: 商品代码
  13079. type: string
  13080. goodsid:
  13081. description: 商品ID [5:融资单]
  13082. type: integer
  13083. goodsname:
  13084. description: 商品名称
  13085. type: string
  13086. goodunitid:
  13087. description: 商品单位id
  13088. type: integer
  13089. initmargin:
  13090. description: 初始保证金(首付款)
  13091. type: number
  13092. lenderamount:
  13093. description: 贷款金额(总额|订单总额)
  13094. type: number
  13095. logincode:
  13096. description: 账号(登录代码)
  13097. type: string
  13098. marginratio:
  13099. description: 保证金比率(首付比例)
  13100. type: number
  13101. mobile:
  13102. description: 电话号码(用户资料里的电话)
  13103. type: string
  13104. payamount:
  13105. description: 已付(已付货款)
  13106. type: number
  13107. reckonrecovermargin:
  13108. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13109. type: number
  13110. recoveredmargin:
  13111. description: 已追缴保证金
  13112. type: number
  13113. remainamount:
  13114. description: 合同剩余金额(融资额)
  13115. type: number
  13116. scfcontractid:
  13117. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13118. type: string
  13119. scfcontractstatus:
  13120. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13121. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13122. type: integer
  13123. scfcontracttype:
  13124. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13125. type: integer
  13126. totalinterest:
  13127. description: 已计总利息(利息)
  13128. type: number
  13129. tradedate:
  13130. description: 交易日
  13131. type: string
  13132. tradeprice:
  13133. description: 成交价格(成本价格)
  13134. type: number
  13135. userid:
  13136. description: 用户ID
  13137. type: integer
  13138. userinfotype:
  13139. description: 用户类型 1-个人 2-企业
  13140. type: integer
  13141. username:
  13142. description: 用户名称
  13143. type: string
  13144. wrqty:
  13145. description: 仓单数量(数量)
  13146. type: number
  13147. type: object
  13148. models.QhjMgrCustomer:
  13149. properties:
  13150. address:
  13151. description: 通讯地址
  13152. type: string
  13153. attachment1:
  13154. description: 附件1
  13155. type: string
  13156. audittime:
  13157. description: 审核时间
  13158. type: string
  13159. birthday:
  13160. description: 生日
  13161. type: string
  13162. brokerid:
  13163. description: 所属客户经理id
  13164. type: integer
  13165. brokername:
  13166. description: 所属客户经理名称
  13167. type: string
  13168. cardbackphotourl:
  13169. description: 证件反面图片地址
  13170. type: string
  13171. cardfrontphotourl:
  13172. description: 证件正面图片地址
  13173. type: string
  13174. cardnum:
  13175. description: 证件号码
  13176. type: string
  13177. cardtype:
  13178. description: 证件类型
  13179. type: integer
  13180. cardtypename:
  13181. description: 证件类型名称
  13182. type: string
  13183. cityid:
  13184. description: 市
  13185. type: integer
  13186. cityname:
  13187. description: 城市名称
  13188. type: string
  13189. contactname:
  13190. description: 联系人
  13191. type: string
  13192. countryid:
  13193. description: 国家
  13194. type: integer
  13195. countryname:
  13196. description: 国家名称
  13197. type: string
  13198. createtime:
  13199. description: 创建时间
  13200. type: string
  13201. customername:
  13202. description: 客户名称
  13203. type: string
  13204. districtid:
  13205. description: 区域
  13206. type: integer
  13207. districtname:
  13208. description: 地区名称
  13209. type: string
  13210. email:
  13211. description: 邮件
  13212. type: string
  13213. legalpersonname:
  13214. description: 法人姓名(企业)
  13215. type: string
  13216. logincode:
  13217. description: 登录账号(代码)
  13218. type: string
  13219. memberuserid:
  13220. description: 所属机构ID(所属会员)
  13221. type: integer
  13222. memberusername:
  13223. description: 所属会员名称
  13224. type: string
  13225. mobile:
  13226. description: 手机号码
  13227. type: string
  13228. modifytime:
  13229. description: 修改时间
  13230. type: string
  13231. nickname:
  13232. description: 昵称
  13233. type: string
  13234. parentuserid:
  13235. description: 上级机构(所属机构)
  13236. type: integer
  13237. parentusername:
  13238. description: 所属机构名称
  13239. type: string
  13240. provinceid:
  13241. description: 省
  13242. type: integer
  13243. provincename:
  13244. description: 省名称
  13245. type: string
  13246. proxystatementurl:
  13247. description: 授权委托书
  13248. type: string
  13249. querytype:
  13250. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  13251. type: integer
  13252. remark:
  13253. description: 备注
  13254. type: string
  13255. sex:
  13256. description: 性别 0-女 1-男
  13257. type: integer
  13258. status:
  13259. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  13260. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  13261. type: integer
  13262. statusdesc:
  13263. description: 账户状态中文描述
  13264. type: string
  13265. taxpayernum:
  13266. description: 纳税人识别号
  13267. type: string
  13268. telphone:
  13269. description: 联系电话
  13270. type: string
  13271. userid:
  13272. description: 用户ID
  13273. type: integer
  13274. userinfotype:
  13275. description: 客户类型 1-个人 2-企业
  13276. type: integer
  13277. username:
  13278. description: 用户名称
  13279. type: string
  13280. type: object
  13281. models.QhjMgrPickGoods:
  13282. properties:
  13283. enumdicname:
  13284. description: 单位名称(提货商品)
  13285. type: string
  13286. goodsid:
  13287. description: 商品id
  13288. type: integer
  13289. imageaddress:
  13290. description: 图片
  13291. type: string
  13292. modifierid:
  13293. description: 修改人
  13294. type: integer
  13295. modifiername:
  13296. description: 修改人名称
  13297. type: string
  13298. modifysrc:
  13299. description: 修改来源 - 1:管理端 2:终端
  13300. type: integer
  13301. pickupgoodsagreeunit:
  13302. description: 合约乘数
  13303. type: number
  13304. pickupgoodsdesc:
  13305. description: 描述
  13306. type: string
  13307. pickupgoodsid:
  13308. description: 提货商品ID
  13309. type: string
  13310. pickupgoodsname:
  13311. description: 提货商品名称
  13312. type: string
  13313. pickupgoodsstatus:
  13314. description: 状态 - 1:正常 2:停用 3:注销
  13315. type: integer
  13316. pickupgoodsunitid:
  13317. description: 单位ID
  13318. type: integer
  13319. pickupratio:
  13320. description: 提货系数
  13321. type: number
  13322. preparedays:
  13323. description: 备货期(天)
  13324. type: integer
  13325. remark:
  13326. description: 备注
  13327. type: string
  13328. updatetime:
  13329. description: 更新时间
  13330. type: string
  13331. type: object
  13332. models.QhjMgrPositionRsp:
  13333. properties:
  13334. accountid:
  13335. description: 账号Id
  13336. type: integer
  13337. accountname:
  13338. description: 用户名称
  13339. type: string
  13340. agreeunit:
  13341. description: 合约乘数
  13342. type: number
  13343. averageprice:
  13344. description: 均价
  13345. type: number
  13346. avialqty:
  13347. description: 可用数量
  13348. type: number
  13349. decimalplace:
  13350. description: 报价小数位
  13351. type: integer
  13352. enumdicname:
  13353. description: 单位名称(商品)
  13354. type: string
  13355. frozenqty:
  13356. description: 冻结数量
  13357. type: number
  13358. goodscode:
  13359. description: 商品代码(内部)
  13360. type: string
  13361. goodsid:
  13362. description: 商品Id
  13363. type: integer
  13364. goodsname:
  13365. description: 商品名称
  13366. type: string
  13367. goodunitid:
  13368. description: 报价单位ID
  13369. type: integer
  13370. holderamount:
  13371. description: 金额
  13372. type: number
  13373. holderqty:
  13374. description: 持有数量
  13375. type: number
  13376. holdertype:
  13377. description: 持仓类别 - 1:单边持仓 2:双边持仓
  13378. type: integer
  13379. logincode:
  13380. description: 登录代码(账户)
  13381. type: string
  13382. marketid:
  13383. description: 市场id
  13384. type: integer
  13385. qtydecimalplace:
  13386. description: 成交量小数位
  13387. type: integer
  13388. trademode:
  13389. description: 交易模式
  13390. type: integer
  13391. userid:
  13392. description: 用户id
  13393. type: integer
  13394. userinfotype:
  13395. description: 账户类型 1-个人 2-企业
  13396. type: integer
  13397. type: object
  13398. models.QhjMgrSubArea:
  13399. properties:
  13400. accountname:
  13401. description: 账户名称(机构名称)
  13402. type: string
  13403. memberuserid:
  13404. description: 所属会员ID
  13405. type: integer
  13406. parenttopuser:
  13407. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13408. type: string
  13409. parentuserid:
  13410. description: 所属机构ID
  13411. type: integer
  13412. rootuserid:
  13413. description: 根用户ID
  13414. type: string
  13415. subaccountlevel:
  13416. description: 子账户层数
  13417. type: integer
  13418. subarealevelpath:
  13419. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13420. type: string
  13421. userid:
  13422. description: 用户ID
  13423. type: integer
  13424. usertype:
  13425. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13426. type: integer
  13427. type: object
  13428. models.QhjMgrTradeDetailRsp:
  13429. properties:
  13430. accountid:
  13431. description: 资金账号
  13432. type: integer
  13433. accountname:
  13434. description: 用户名称
  13435. type: string
  13436. agreeunit:
  13437. description: 合约乘数
  13438. type: number
  13439. buyorsell:
  13440. description: 成交类型(方向) 0:买 1:卖
  13441. type: integer
  13442. decimalplace:
  13443. description: 报价小数位
  13444. type: integer
  13445. enumdicname:
  13446. description: 单位名称(商品)
  13447. type: string
  13448. goodscode:
  13449. description: 商品代码(内部)
  13450. type: string
  13451. goodsid:
  13452. description: 商品id
  13453. type: integer
  13454. goodsname:
  13455. description: 商品名称
  13456. type: string
  13457. goodunitid:
  13458. description: 报价单位ID
  13459. type: integer
  13460. logincode:
  13461. description: 登录代码(账户)
  13462. type: string
  13463. marketid:
  13464. description: 市场id
  13465. type: integer
  13466. orderid:
  13467. description: 关联委托单号
  13468. type: string
  13469. qtydecimalplace:
  13470. description: 成交量小数位
  13471. type: integer
  13472. tradeamount:
  13473. description: 金额
  13474. type: number
  13475. tradedate:
  13476. description: 交易日
  13477. type: string
  13478. tradeid:
  13479. description: 成交单号
  13480. type: string
  13481. trademode:
  13482. description: 交易模式
  13483. type: integer
  13484. tradeprice:
  13485. description: 价格
  13486. type: number
  13487. tradeqty:
  13488. description: 数量
  13489. type: number
  13490. tradetime:
  13491. description: 成交时间
  13492. type: string
  13493. userid:
  13494. description: 用户id
  13495. type: integer
  13496. userinfotype:
  13497. description: 账户类型 1-个人 2-企业
  13498. type: integer
  13499. type: object
  13500. models.QhjMgrTradeOrderDetailRsp:
  13501. properties:
  13502. accountid:
  13503. description: 资金账号
  13504. type: integer
  13505. accountname:
  13506. description: 用户名称
  13507. type: string
  13508. agreeunit:
  13509. description: 合约乘数
  13510. type: number
  13511. amount:
  13512. description: 金额
  13513. type: number
  13514. decimalplace:
  13515. description: 报价小数位
  13516. type: integer
  13517. enumdicname:
  13518. description: 单位名称(商品)
  13519. type: string
  13520. goodscode:
  13521. description: 商品代码(内部)
  13522. type: string
  13523. goodsid:
  13524. description: 商品id
  13525. type: integer
  13526. goodsname:
  13527. description: 商品名称
  13528. type: string
  13529. goodunitid:
  13530. description: 报价单位ID
  13531. type: integer
  13532. logincode:
  13533. description: 登录代码(账户)
  13534. type: string
  13535. marketid:
  13536. description: 市场id
  13537. type: integer
  13538. orderid:
  13539. description: 关联委托单号
  13540. type: string
  13541. orderprice:
  13542. description: 价格
  13543. type: number
  13544. orderqty:
  13545. description: 数量
  13546. type: number
  13547. orderstatus:
  13548. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  13549. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  13550. 16:成交失败违约(荷兰式竞拍专用)
  13551. type: integer
  13552. ordertime:
  13553. description: 委托时间
  13554. type: string
  13555. qtydecimalplace:
  13556. description: 成交量小数位
  13557. type: integer
  13558. tradedate:
  13559. description: 交易日
  13560. type: string
  13561. trademode:
  13562. description: 交易模式
  13563. type: integer
  13564. userid:
  13565. description: 用户id
  13566. type: integer
  13567. userinfotype:
  13568. description: 账户类型 1-个人 2-企业
  13569. type: integer
  13570. type: object
  13571. models.QhjMgrTradePayOrder:
  13572. properties:
  13573. accountname:
  13574. description: 用户名称
  13575. type: string
  13576. advanceratio:
  13577. description: 首付比率
  13578. type: number
  13579. agreeunit:
  13580. description: 合约乘数
  13581. type: number
  13582. buyaccountid:
  13583. description: 买方账号ID[报价币种]
  13584. type: integer
  13585. buyorderid:
  13586. description: 买方委托单号(关联单号)
  13587. type: string
  13588. createtime:
  13589. description: 创建时间
  13590. type: string
  13591. decimalplace:
  13592. description: 报价小数位
  13593. type: integer
  13594. enumdicname:
  13595. description: 单位名称(商品)
  13596. type: string
  13597. goodscode:
  13598. description: 商品代码(内部)
  13599. type: string
  13600. goodsid:
  13601. description: 商品ID
  13602. type: integer
  13603. goodsname:
  13604. description: 商品名称
  13605. type: string
  13606. goodunitid:
  13607. description: 报价单位ID
  13608. type: integer
  13609. logincode:
  13610. description: 登录代码(账户)
  13611. type: string
  13612. marketid:
  13613. description: 市场id
  13614. type: integer
  13615. offamount:
  13616. description: 优惠金额
  13617. type: number
  13618. operatetype:
  13619. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13620. type: integer
  13621. payamount:
  13622. description: 支付金额(金额)
  13623. type: number
  13624. payflag:
  13625. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13626. type: integer
  13627. paylimitedtime:
  13628. description: 支付期限
  13629. type: string
  13630. paytime:
  13631. description: 付款时间
  13632. type: string
  13633. qtydecimalplace:
  13634. description: 成交量小数位
  13635. type: integer
  13636. sellaccountid:
  13637. description: 卖方账号ID[报价币种]
  13638. type: integer
  13639. sellorderid:
  13640. description: 卖方委托单号
  13641. type: string
  13642. tradeamount:
  13643. description: 成交金额(优惠后金额)
  13644. type: number
  13645. tradecharge:
  13646. description: 成交手续费(买方)
  13647. type: number
  13648. tradedate:
  13649. description: 交易日(yyyyMMdd)
  13650. type: string
  13651. tradeid:
  13652. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13653. type: string
  13654. trademode:
  13655. description: 交易模式
  13656. type: integer
  13657. tradeprice:
  13658. description: 成交价格(价格)
  13659. type: number
  13660. tradeqty:
  13661. description: 成交数量(数量)
  13662. type: number
  13663. tradetime:
  13664. description: 成交时间
  13665. type: string
  13666. userid:
  13667. description: 用户id
  13668. type: integer
  13669. userinfotype:
  13670. description: 账户类型 1-个人 2-企业
  13671. type: integer
  13672. type: object
  13673. models.QhjMyTeamEx:
  13674. properties:
  13675. accountname:
  13676. description: 用户名称
  13677. type: string
  13678. accountstatus:
  13679. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13680. type: integer
  13681. createtime:
  13682. description: 创建时间
  13683. type: string
  13684. mobile:
  13685. description: 手机号码
  13686. type: string
  13687. refereeuserid:
  13688. description: 推荐人id
  13689. type: integer
  13690. refernum:
  13691. description: 推荐码
  13692. type: string
  13693. subList:
  13694. items:
  13695. $ref: '#/definitions/models.QhjMyTeamEx'
  13696. type: array
  13697. userid:
  13698. description: 用户id
  13699. type: integer
  13700. userinfotype:
  13701. description: 用户类型 1-个人 2-企业
  13702. type: integer
  13703. type: object
  13704. models.QhjNodeAgreementConfig:
  13705. properties:
  13706. agreementcontent:
  13707. description: 协议内容
  13708. type: string
  13709. agreementid:
  13710. description: 协议ID
  13711. type: integer
  13712. agreementname:
  13713. description: 协议名称
  13714. type: string
  13715. agreementno:
  13716. description: 协议编号
  13717. type: string
  13718. agreementtype:
  13719. description: 协议类型 - 1:注册 2:登录 3:交易
  13720. type: integer
  13721. agreementversion:
  13722. description: 协议版本号
  13723. type: integer
  13724. configid:
  13725. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13726. type: integer
  13727. createtime:
  13728. description: 创建时间
  13729. type: string
  13730. goodsid:
  13731. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13732. type: integer
  13733. nodetype:
  13734. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13735. type: integer
  13736. type: object
  13737. models.QhjParentAreaList:
  13738. properties:
  13739. accountname:
  13740. description: 账户名称(机构名称)
  13741. type: string
  13742. userid:
  13743. description: 用户ID
  13744. type: integer
  13745. usertype:
  13746. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13747. type: integer
  13748. type: object
  13749. models.QhjPayOrder:
  13750. properties:
  13751. advanceratio:
  13752. description: 首付比率
  13753. type: number
  13754. buyaccountid:
  13755. description: 买方账号ID[报价币种]
  13756. type: integer
  13757. buyorderid:
  13758. description: 买方委托单号
  13759. type: string
  13760. createtime:
  13761. description: 创建时间
  13762. type: string
  13763. decimalplace:
  13764. description: 商品报价小数位
  13765. type: integer
  13766. enumdicname:
  13767. description: 单位名称
  13768. type: string
  13769. goodscode:
  13770. description: 商品代码
  13771. type: string
  13772. goodsid:
  13773. description: 商品ID
  13774. type: integer
  13775. goodsname:
  13776. description: 商品名称
  13777. type: string
  13778. goodunitid:
  13779. description: 商品单位id
  13780. type: integer
  13781. marketid:
  13782. description: 市场ID
  13783. type: integer
  13784. offamount:
  13785. description: 优惠金额
  13786. type: number
  13787. operatetype:
  13788. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13789. type: integer
  13790. payamount:
  13791. description: 支付金额
  13792. type: number
  13793. payflag:
  13794. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13795. type: integer
  13796. paylimitedtime:
  13797. description: 支付期限
  13798. type: string
  13799. paytime:
  13800. description: 付款时间
  13801. type: string
  13802. qtydecimalplace:
  13803. description: 成交量小数位
  13804. type: integer
  13805. sellaccountid:
  13806. description: 卖方账号ID[报价币种]
  13807. type: integer
  13808. sellorderid:
  13809. description: 卖方委托单号
  13810. type: string
  13811. tradeamount:
  13812. description: 成交金额(优惠后金额)
  13813. type: number
  13814. tradecharge:
  13815. description: 成交手续费(买方)
  13816. type: number
  13817. tradedate:
  13818. description: 交易日(yyyyMMdd)
  13819. type: string
  13820. tradeid:
  13821. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13822. type: string
  13823. tradeprice:
  13824. description: 成交价格
  13825. type: number
  13826. tradeqty:
  13827. description: 成交数量
  13828. type: number
  13829. type: object
  13830. models.QhjPickArea:
  13831. properties:
  13832. address:
  13833. description: 详细地址
  13834. type: string
  13835. cityid:
  13836. description: 市
  13837. type: integer
  13838. cityname:
  13839. description: 城市名称
  13840. type: string
  13841. countryid:
  13842. description: 国家
  13843. type: integer
  13844. countryname:
  13845. description: 国家名称
  13846. type: string
  13847. districtid:
  13848. description: 地区
  13849. type: integer
  13850. districtname:
  13851. description: 地区名称
  13852. type: string
  13853. fromuserid:
  13854. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13855. type: integer
  13856. fromusername:
  13857. description: 所属机构名称
  13858. type: string
  13859. provinceid:
  13860. description: 省
  13861. type: integer
  13862. provincename:
  13863. description: 省名称
  13864. type: string
  13865. suborgtype:
  13866. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13867. type: integer
  13868. userid:
  13869. description: 机构用户ID 其他做市关系,都设置为 1
  13870. type: integer
  13871. username:
  13872. description: 机构用户名称(门店门称)
  13873. type: string
  13874. type: object
  13875. models.QhjPickGoods:
  13876. properties:
  13877. enumdicname:
  13878. description: 单位名称(提货商品)
  13879. type: string
  13880. goodsid:
  13881. description: 商品id
  13882. type: integer
  13883. imageaddress:
  13884. description: 图片
  13885. type: string
  13886. modifierid:
  13887. description: 修改人
  13888. type: integer
  13889. modifiername:
  13890. description: 修改人名称
  13891. type: string
  13892. modifysrc:
  13893. description: 修改来源 - 1:管理端 2:终端
  13894. type: integer
  13895. pickupgoodsagreeunit:
  13896. description: 合约乘数
  13897. type: number
  13898. pickupgoodsdesc:
  13899. description: 描述
  13900. type: string
  13901. pickupgoodsid:
  13902. description: 提货商品ID
  13903. type: string
  13904. pickupgoodsname:
  13905. description: 提货商品名称
  13906. type: string
  13907. pickupgoodsstatus:
  13908. description: 状态 - 1:正常 2:停用 3:注销
  13909. type: integer
  13910. pickupgoodsunitid:
  13911. description: 单位ID
  13912. type: integer
  13913. pickupratio:
  13914. description: 提货系数
  13915. type: number
  13916. preparedays:
  13917. description: 备货期(天)
  13918. type: integer
  13919. remark:
  13920. description: 备注
  13921. type: string
  13922. updatetime:
  13923. description: 更新时间
  13924. type: string
  13925. type: object
  13926. models.QhjRSTriggerLog:
  13927. properties:
  13928. accountid:
  13929. description: 用户资金账户
  13930. type: integer
  13931. accountname:
  13932. description: 账号名称(ACCOUNTID对应的名称)
  13933. type: string
  13934. currencyid:
  13935. description: 币种id
  13936. type: integer
  13937. currencyname:
  13938. description: 币种名称
  13939. type: string
  13940. decimalplace:
  13941. description: 商品报价小数位
  13942. type: integer
  13943. enumdicname:
  13944. description: 单位名称
  13945. type: string
  13946. goodscode:
  13947. description: 定投商品代码
  13948. type: string
  13949. goodsid:
  13950. description: 定投商品ID
  13951. type: integer
  13952. goodsname:
  13953. description: 定投商品名称
  13954. type: string
  13955. goodunitid:
  13956. description: 定投商品单位id
  13957. type: integer
  13958. logid:
  13959. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13960. type: string
  13961. logincode:
  13962. description: 账号(登录代码)
  13963. type: string
  13964. qtydecimalplace:
  13965. description: 成交量小数位
  13966. type: integer
  13967. regularlycycle:
  13968. description: 定投频率 - 1:每周 2:每月
  13969. type: integer
  13970. regularlycyclevalue:
  13971. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13972. type: string
  13973. regularlymode:
  13974. description: 定投方式 - 1:按数量 2:按金额
  13975. type: integer
  13976. regularlymodevalue:
  13977. description: 定投方式值 - 数量或金额
  13978. type: number
  13979. regularlystrategyid:
  13980. description: 定投策略ID
  13981. type: integer
  13982. retcode:
  13983. description: 错误码
  13984. type: string
  13985. tradeid:
  13986. description: 成交单ID
  13987. type: string
  13988. triggeramount:
  13989. description: 触发金额
  13990. type: number
  13991. triggerqty:
  13992. description: 触发数量
  13993. type: number
  13994. triggerstatus:
  13995. description: 触发状态 - 1:成功 2:失败
  13996. type: integer
  13997. triggertime:
  13998. description: 触发时间
  13999. type: string
  14000. triggertradedate:
  14001. description: 触发交易日
  14002. type: string
  14003. userid:
  14004. description: 所属用户ID
  14005. type: integer
  14006. userinfotype:
  14007. description: 用户类型 1-个人 2-企业
  14008. type: integer
  14009. username:
  14010. description: 用户名称(userid对应的名称)
  14011. type: string
  14012. type: object
  14013. models.QhjRStrategy:
  14014. properties:
  14015. accountid:
  14016. description: 用户资金账户
  14017. type: integer
  14018. accountname:
  14019. description: 账号名称(ACCOUNTID对应的名称)
  14020. type: string
  14021. currencyid:
  14022. description: 币种id
  14023. type: integer
  14024. currencyname:
  14025. description: 币种名称
  14026. type: string
  14027. decimalplace:
  14028. description: 商品报价小数位
  14029. type: integer
  14030. enumdicname:
  14031. description: 单位名称
  14032. type: string
  14033. goodscode:
  14034. description: 定投商品代码
  14035. type: string
  14036. goodsid:
  14037. description: 定投商品ID
  14038. type: integer
  14039. goodsname:
  14040. description: 定投商品名称
  14041. type: string
  14042. goodunitid:
  14043. description: 定投商品单位id
  14044. type: integer
  14045. lasteffecttradedate:
  14046. description: 最新生效交易日
  14047. type: string
  14048. laststoptradedate:
  14049. description: 最新暂停交易日
  14050. type: string
  14051. lasttriggertradedate:
  14052. description: 最新触发交易日
  14053. type: string
  14054. logincode:
  14055. description: 账号(登录代码)
  14056. type: string
  14057. nexttriggeramount:
  14058. description: 下次触发金额
  14059. type: number
  14060. nexttriggerdate:
  14061. description: 下次触发日期
  14062. type: string
  14063. nexttriggerqty:
  14064. description: 下次触发数量 [按小数位放大值]
  14065. type: number
  14066. qtydecimalplace:
  14067. description: 成交量小数位
  14068. type: integer
  14069. regularlycycle:
  14070. description: 定投频率 - 1:每周 2:每月
  14071. type: integer
  14072. regularlycyclevalue:
  14073. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14074. type: string
  14075. regularlymode:
  14076. description: 定投方式 - 1:按数量 2:按金额
  14077. type: integer
  14078. regularlymodevalue:
  14079. description: 定投方式值 - 数量或金额
  14080. type: number
  14081. regularlystrategyid:
  14082. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14083. type: integer
  14084. regularlystrategystatus:
  14085. description: 策略状态 - 1:正常 2:暂停 3:终止
  14086. type: integer
  14087. remark:
  14088. description: 备注
  14089. type: string
  14090. triggersuccesstimes:
  14091. description: 累计定投成功次数
  14092. type: string
  14093. triggertotalamount:
  14094. description: 累计定投金额(成功)
  14095. type: number
  14096. triggertotalqty:
  14097. description: 累计定投数量(成功) [按小数位放大值]
  14098. type: number
  14099. triggertotaltimes:
  14100. description: 累计定投总次数
  14101. type: string
  14102. updatesrc:
  14103. description: 更新来源 - 1:管理端 2:终端
  14104. type: integer
  14105. updatetime:
  14106. description: 更新时间
  14107. type: string
  14108. updatorid:
  14109. description: 更新人
  14110. type: string
  14111. userid:
  14112. description: 所属用户ID
  14113. type: integer
  14114. userinfotype:
  14115. description: 用户类型 1-个人 2-企业
  14116. type: integer
  14117. username:
  14118. description: 用户名称(userid对应的名称)
  14119. type: string
  14120. type: object
  14121. models.QhjReckonPriceLog:
  14122. properties:
  14123. decimalplace:
  14124. description: 商品报价小数位
  14125. type: integer
  14126. goodscode:
  14127. description: 商品代码
  14128. type: string
  14129. goodsid:
  14130. description: 商品ID
  14131. type: integer
  14132. goodsname:
  14133. description: 商品名称
  14134. type: string
  14135. lastreckonprice:
  14136. description: 上日结算价
  14137. type: number
  14138. nextdnlimitprice:
  14139. description: 下个交易日跌停价
  14140. type: number
  14141. nexttrade:
  14142. description: 下个交易日
  14143. type: string
  14144. nextuplimitprice:
  14145. description: 下个交易日涨停价
  14146. type: number
  14147. reckonprice:
  14148. description: 今日结算价(定投价)
  14149. type: number
  14150. reckontime:
  14151. description: 结算时间
  14152. type: string
  14153. totalholderqty:
  14154. description: 总持仓数
  14155. type: integer
  14156. totalstock:
  14157. description: 总库存
  14158. type: integer
  14159. tradedate:
  14160. description: 交易日
  14161. type: string
  14162. updowncount:
  14163. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14164. type: integer
  14165. updownflag:
  14166. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14167. type: integer
  14168. updownrate:
  14169. description: 今日涨跌幅
  14170. type: number
  14171. updownrate_2d:
  14172. description: 连续两日涨跌幅
  14173. type: number
  14174. updownrate_3d:
  14175. description: 连续三日涨跌幅
  14176. type: number
  14177. type: object
  14178. models.QhjScoreLog:
  14179. properties:
  14180. accountid:
  14181. description: 账户ID
  14182. type: integer
  14183. createtime:
  14184. description: 创建时间(时间)
  14185. type: string
  14186. goodsid:
  14187. description: 商品ID
  14188. type: integer
  14189. hasuploaded:
  14190. description: 是否已同步(千海金) 0:未同步 1;已同步
  14191. type: integer
  14192. logid:
  14193. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14194. type: string
  14195. marketid:
  14196. description: 市场ID
  14197. type: integer
  14198. relatedamount:
  14199. description: 关联金额
  14200. type: number
  14201. relatedorderid:
  14202. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  14203. type: string
  14204. scoreconfigvalue1:
  14205. description: 积分配置1
  14206. type: integer
  14207. scoreconfigvalue2:
  14208. description: 积分配置1
  14209. type: integer
  14210. scoretype:
  14211. description: 积分类型 - 1:提货积分
  14212. type: integer
  14213. scorevalue:
  14214. description: 积分
  14215. type: number
  14216. tradedate:
  14217. description: 交易日(yyyyMMdd)
  14218. type: string
  14219. uploadedtime:
  14220. description: 同步时间
  14221. type: string
  14222. userid:
  14223. description: 用户ID
  14224. type: integer
  14225. type: object
  14226. models.QhjSiteColumnDetail:
  14227. properties:
  14228. author:
  14229. description: 作者
  14230. type: string
  14231. brief:
  14232. description: 简介
  14233. type: string
  14234. columnid:
  14235. description: 所属栏目
  14236. type: integer
  14237. context:
  14238. description: 内容
  14239. type: string
  14240. coverimage:
  14241. description: 封面图片
  14242. type: string
  14243. creaedate:
  14244. description: 创建时间
  14245. type: string
  14246. creatorid:
  14247. description: 创建人
  14248. type: integer
  14249. hits:
  14250. description: 点击数
  14251. type: integer
  14252. id:
  14253. description: ID(SEQ_SITE_COLUMNDETAIL)
  14254. type: integer
  14255. isshow:
  14256. description: 是否展示 - 0:不展示 1:展示
  14257. type: integer
  14258. istop:
  14259. description: 是否置顶 - 0:不置 1:置顶
  14260. type: integer
  14261. modifierid:
  14262. description: 操作人
  14263. type: integer
  14264. publishdate:
  14265. description: 发布日期
  14266. type: string
  14267. status:
  14268. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  14269. type: integer
  14270. title:
  14271. description: 标题
  14272. type: string
  14273. updatedate:
  14274. description: 修改时间
  14275. type: string
  14276. userid:
  14277. description: 用户ID(默认为0, 核心为为机构用户ID)
  14278. type: integer
  14279. username:
  14280. description: 用户名称
  14281. type: string
  14282. type: object
  14283. models.QhjTeamOrder:
  14284. properties:
  14285. accountid:
  14286. description: 账户ID[报价币种]
  14287. type: integer
  14288. accountname:
  14289. description: 账户名称
  14290. type: string
  14291. agreeunit:
  14292. description: 合约乘数
  14293. type: number
  14294. buyorsell:
  14295. description: 方向 - 0:买 1:卖
  14296. type: integer
  14297. decimalplace:
  14298. description: 报价小数位
  14299. type: integer
  14300. enumdicname:
  14301. description: 单位名称
  14302. type: string
  14303. goodscode:
  14304. description: 商品代码(内部)
  14305. type: string
  14306. goodsid:
  14307. description: 商品ID
  14308. type: integer
  14309. goodsname:
  14310. description: 商品名称
  14311. type: string
  14312. goodunitid:
  14313. description: 报价单位ID
  14314. type: integer
  14315. marketid:
  14316. description: 市场ID
  14317. type: integer
  14318. marketname:
  14319. description: 市场名称
  14320. type: string
  14321. qtydecimalplace:
  14322. description: 成交量小数位
  14323. type: integer
  14324. refereeuserid:
  14325. description: 推荐人ID
  14326. type: integer
  14327. tradeamount:
  14328. description: 成交金额[账户币种,用于所有权]
  14329. type: number
  14330. tradedate:
  14331. description: 交易日(yyyyMMdd)
  14332. type: string
  14333. trademode:
  14334. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14335. 21:竞拍-大宗式 22:受托竞价
  14336. type: integer
  14337. tradeprice:
  14338. description: 成交价格
  14339. type: number
  14340. tradeqty:
  14341. description: 成交数量
  14342. type: number
  14343. tradetime:
  14344. description: 成交时间
  14345. type: string
  14346. userid:
  14347. description: 用户ID
  14348. type: integer
  14349. type: object
  14350. models.QhjTradeGoodsPickup:
  14351. properties:
  14352. accountid:
  14353. description: 账户ID
  14354. type: integer
  14355. address:
  14356. description: 提货人详细地址
  14357. type: string
  14358. amount:
  14359. description: 提货金额
  14360. type: number
  14361. artradedate:
  14362. description: 自动收货交易日(yyyyMMdd)
  14363. type: string
  14364. auditer:
  14365. description: 审核人
  14366. type: integer
  14367. auditsrc:
  14368. description: 更新来源 - 1:管理端 2:终端
  14369. type: integer
  14370. audittime:
  14371. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  14372. type: string
  14373. audittradedate:
  14374. description: 审核交易日(yyyyMMdd)
  14375. type: string
  14376. cardnum:
  14377. description: 提货人证件号码
  14378. type: string
  14379. cardtypeid:
  14380. description: 提货人证件类型
  14381. type: integer
  14382. checkremark:
  14383. description: 审核备注
  14384. type: string
  14385. cityid:
  14386. description: 市
  14387. type: integer
  14388. cityname:
  14389. description: 城市名称
  14390. type: string
  14391. confirmtime:
  14392. description: 取货时间 或 收货时间
  14393. type: string
  14394. countryid:
  14395. description: 国家
  14396. type: integer
  14397. countryname:
  14398. description: 国家名称
  14399. type: string
  14400. decimalplace:
  14401. description: 商品报价小数位
  14402. type: integer
  14403. districtid:
  14404. description: 地区
  14405. type: integer
  14406. districtname:
  14407. description: 地区名称
  14408. type: string
  14409. enumdicname:
  14410. description: 单位名称(提货商品)
  14411. type: string
  14412. expresscompany:
  14413. description: 物流公司
  14414. type: string
  14415. expressnum:
  14416. description: 物流单号
  14417. type: string
  14418. goodsagreeunit:
  14419. description: 交易商品乘数
  14420. type: number
  14421. goodscode:
  14422. description: 商品代码
  14423. type: string
  14424. goodsid:
  14425. description: 商品ID
  14426. type: integer
  14427. goodsname:
  14428. description: 商品名称
  14429. type: string
  14430. goodsqty:
  14431. description: 交易商品手数(69模式按成交量小数位放大取整)
  14432. type: number
  14433. handlestatus:
  14434. description: 处理状态
  14435. type: integer
  14436. logincode:
  14437. description: 账号(登录代码, 有可能为空)
  14438. type: string
  14439. marketid:
  14440. description: 市场ID
  14441. type: integer
  14442. phonenum:
  14443. description: 提货人联系方式
  14444. type: string
  14445. pickupgoodsagreeunit:
  14446. description: 提货商品合约乘数
  14447. type: number
  14448. pickupgoodsid:
  14449. description: 提货商品ID
  14450. type: string
  14451. pickupgoodsname:
  14452. description: 提货商品名称
  14453. type: string
  14454. pickupgoodsqty:
  14455. description: 提货商品手数(数量)
  14456. type: number
  14457. pickupgoodsunitid:
  14458. description: 单位ID(提货商品)
  14459. type: integer
  14460. pickupratio:
  14461. description: 提货系数
  14462. type: number
  14463. preparedays:
  14464. description: 备货期(天)-提货单明细表
  14465. type: integer
  14466. provinceid:
  14467. description: 省
  14468. type: integer
  14469. provincename:
  14470. description: 省名称
  14471. type: string
  14472. qty:
  14473. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  14474. type: number
  14475. qtydecimalplace:
  14476. description: 商品数量小数位
  14477. type: integer
  14478. recivername:
  14479. description: 提货人姓名
  14480. type: string
  14481. reqtime:
  14482. description: 提货申请时间
  14483. type: string
  14484. storeuserid:
  14485. description: 门店用户ID (千海金)
  14486. type: integer
  14487. storeusername:
  14488. description: 门店用户名称
  14489. type: string
  14490. takemode:
  14491. description: 提货方式 - 2:自提 3:配送(邮寄)
  14492. type: integer
  14493. takeorderid:
  14494. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  14495. type: string
  14496. takeorderstatus:
  14497. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  14498. 7:已拒绝 8:已撤销
  14499. type: integer
  14500. takeremark:
  14501. description: 提货备注
  14502. type: string
  14503. tradedate:
  14504. description: 交易日(yyyyMMdd)
  14505. type: string
  14506. updatetime:
  14507. description: 更新时间
  14508. type: string
  14509. userid:
  14510. description: 用户ID
  14511. type: integer
  14512. userinfotype:
  14513. description: 客户类型 1-个人 2-企业
  14514. type: integer
  14515. username:
  14516. description: 用户名称
  14517. type: string
  14518. type: object
  14519. models.QhjUserNodeCfgAndStatus:
  14520. properties:
  14521. agreementcontent:
  14522. description: 协议内容
  14523. type: string
  14524. agreementid:
  14525. description: 协议ID
  14526. type: integer
  14527. agreementname:
  14528. description: 协议名称
  14529. type: string
  14530. agreementno:
  14531. description: 协议编号
  14532. type: string
  14533. agreementtype:
  14534. description: 协议类型 - 1:注册 2:登录 3:交易
  14535. type: integer
  14536. agreementversion:
  14537. description: 协议版本号
  14538. type: integer
  14539. configid:
  14540. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14541. type: integer
  14542. createtime:
  14543. description: 创建时间
  14544. type: string
  14545. goodsid:
  14546. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14547. type: integer
  14548. nodetype:
  14549. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14550. type: integer
  14551. signtimestamp:
  14552. description: 签约状态时间戳(最近一次)
  14553. type: string
  14554. tradedate:
  14555. description: 签约交易日(yyyyMMdd)
  14556. type: string
  14557. userid:
  14558. description: 客户ID
  14559. type: integer
  14560. type: object
  14561. models.Qhjgoodsex:
  14562. properties:
  14563. canfinance:
  14564. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  14565. type: integer
  14566. canregularlybuy:
  14567. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  14568. type: integer
  14569. defaulttradeuserid:
  14570. description: 默认交易用户ID
  14571. type: integer
  14572. deliverygoodsid:
  14573. description: 现货品种ID
  14574. type: integer
  14575. goodsid:
  14576. description: 商品ID(自增ID SEQ_GOODS)
  14577. type: integer
  14578. minamount:
  14579. description: 最小购买金额
  14580. type: number
  14581. regularlybuyminamount:
  14582. description: 定投最小金额
  14583. type: number
  14584. regularlybuyminqty:
  14585. description: 定投最小数量
  14586. type: number
  14587. spotgoodsbrandid:
  14588. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  14589. type: integer
  14590. visibilityforenterprise:
  14591. description: 企业客户是否可见 - 0:不可见 1:可见
  14592. type: integer
  14593. visibilityforpersonal:
  14594. description: 个人客户是否可见 - 0:不可见 1:可见
  14595. type: integer
  14596. wrstandardid:
  14597. description: 现货商品ID
  14598. type: integer
  14599. type: object
  14600. models.QueryErrorInfosRsp:
  14601. properties:
  14602. description:
  14603. description: 异常描述
  14604. type: string
  14605. errorcode:
  14606. description: 异常代码
  14607. type: string
  14608. errorid:
  14609. description: 异常ID
  14610. type: integer
  14611. modulecode:
  14612. description: 所属模块
  14613. type: string
  14614. operatecode:
  14615. description: 所属操作
  14616. type: string
  14617. rownumber:
  14618. description: 行号
  14619. type: string
  14620. required:
  14621. - errorid
  14622. type: object
  14623. models.QueryHedgeOrderDetailRsp:
  14624. properties:
  14625. accountid:
  14626. description: 账户ID
  14627. type: integer
  14628. buyorsell:
  14629. description: 买卖 - 0:买 1:卖
  14630. type: integer
  14631. cancellogincode:
  14632. description: 撤单人
  14633. type: string
  14634. channelbuildtype:
  14635. description: 开平标志 - 0:无 1:建仓 2:平仓
  14636. type: integer
  14637. channelinnerorderstatus:
  14638. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  14639. 9:全部成交
  14640. type: integer
  14641. channeloperatetype:
  14642. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  14643. type: integer
  14644. closetype:
  14645. description: 平仓方式 - 0:无 1:平今 2:平昨
  14646. type: integer
  14647. curexchangerate:
  14648. description: 当前汇率
  14649. type: number
  14650. decimalplace:
  14651. description: 商品报价小数位
  14652. type: integer
  14653. exchangefullname:
  14654. description: 外部交易所全称
  14655. type: string
  14656. goodscode:
  14657. description: 商品代码(内部)
  14658. type: string
  14659. goodsid:
  14660. description: 商品ID
  14661. type: integer
  14662. goodsname:
  14663. description: 商品名称
  14664. type: string
  14665. marketid:
  14666. description: 市场ID
  14667. type: integer
  14668. openfreezemargin:
  14669. description: 冻结保证金(冻结交易金额)
  14670. type: number
  14671. orderid:
  14672. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14673. type: string
  14674. orderlogincode:
  14675. description: 委托人
  14676. type: string
  14677. orderprice:
  14678. description: 委托价格(账户)
  14679. type: number
  14680. orderqty:
  14681. description: 委托数量
  14682. type: integer
  14683. ordertime:
  14684. description: 委托时间
  14685. type: string
  14686. pricemode:
  14687. description: '取价方式 - 1:市价 2: 限价'
  14688. type: integer
  14689. tradedate:
  14690. description: 交易日(yyyyMMdd)
  14691. type: string
  14692. tradeqty:
  14693. description: 成交数量
  14694. type: integer
  14695. type: object
  14696. models.QueryHedgeTradeDetailRsp:
  14697. properties:
  14698. accountid:
  14699. description: 账号ID
  14700. type: integer
  14701. buyorsell:
  14702. description: 方向 - 0:买 1:卖
  14703. type: integer
  14704. channelbuildtype:
  14705. description: 委托单据类型 0:无 1:建仓 2:平仓
  14706. type: integer
  14707. closecharge:
  14708. description: 平仓手续费(账户)
  14709. type: number
  14710. closecharge2:
  14711. description: 平仓手续费(商品)
  14712. type: number
  14713. closepl:
  14714. description: 平仓盈亏(账户)
  14715. type: number
  14716. closepl2:
  14717. description: 平仓盈亏(商品)
  14718. type: number
  14719. closepl3:
  14720. description: 平仓盈亏(账户)(逐笔)
  14721. type: number
  14722. closepl4:
  14723. description: 平仓盈亏(商品)(逐笔)
  14724. type: number
  14725. closetype:
  14726. description: 平仓方式 - 0:无 1:平今 2:平昨
  14727. type: integer
  14728. curexchangerate:
  14729. description: 当前汇率
  14730. type: number
  14731. decimalplace:
  14732. description: 商品报价小数位
  14733. type: integer
  14734. exchangefullname:
  14735. description: 外部交易所全称
  14736. type: string
  14737. goodscode:
  14738. description: 商品代码(内部)
  14739. type: string
  14740. goodsid:
  14741. description: 商品ID
  14742. type: integer
  14743. goodsname:
  14744. description: 商品名称
  14745. type: string
  14746. marketid:
  14747. description: 市场ID
  14748. type: integer
  14749. opencharge:
  14750. description: 建仓手续费(账户)
  14751. type: number
  14752. opencharge2:
  14753. description: 建仓手续费(商品)
  14754. type: number
  14755. orderid:
  14756. description: 委托单号
  14757. type: string
  14758. orderlogincode:
  14759. description: 委托人
  14760. type: string
  14761. tradeamount:
  14762. description: 成交金额(账户)
  14763. type: number
  14764. tradedate:
  14765. description: 交易日(yyyyMMdd)
  14766. type: string
  14767. tradeid:
  14768. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14769. type: string
  14770. tradeprice:
  14771. description: 成交价格
  14772. type: number
  14773. tradeqty:
  14774. description: 成交数量
  14775. type: integer
  14776. tradetime:
  14777. description: 成交时间
  14778. type: string
  14779. tradetype:
  14780. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14781. type: integer
  14782. type: object
  14783. models.QuotePrimaryMenu:
  14784. properties:
  14785. Index:
  14786. description: 序号
  14787. type: integer
  14788. Key:
  14789. description: 键名
  14790. type: string
  14791. Name:
  14792. description: 菜单名称
  14793. type: string
  14794. SubMenus:
  14795. description: 子菜单
  14796. items:
  14797. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14798. type: array
  14799. SubTitleType:
  14800. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14801. type: integer
  14802. TradeModes:
  14803. description: 包含市场交易类型
  14804. type: string
  14805. type: object
  14806. models.QuoteSecondaryMenu:
  14807. properties:
  14808. ExExchangeCode:
  14809. description: 外部交易所代码
  14810. type: string
  14811. ExExchangeID:
  14812. description: 外部交易所ID
  14813. type: integer
  14814. GoodsGroupIDs:
  14815. description: 商品组ID列表
  14816. items:
  14817. type: integer
  14818. type: array
  14819. Index:
  14820. description: 序号
  14821. type: integer
  14822. MarketID:
  14823. description: 市场ID
  14824. type: integer
  14825. MenuTitle:
  14826. description: 菜单标题(市场名称或外部交易所名称)
  14827. type: string
  14828. TradeMode:
  14829. description: 交易模式
  14830. type: integer
  14831. type: object
  14832. models.RelatedTaAccount:
  14833. properties:
  14834. accountid:
  14835. description: 资金账户ID
  14836. type: integer
  14837. type: object
  14838. models.RoleMenu:
  14839. properties:
  14840. hasright:
  14841. description: 是否有权限 0-没有权限 1-有权限
  14842. type: integer
  14843. iconame:
  14844. description: 菜单图标
  14845. type: string
  14846. menutype:
  14847. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14848. type: integer
  14849. parentcode:
  14850. description: 上级资源代码
  14851. type: string
  14852. remark:
  14853. description: 菜单备注
  14854. type: string
  14855. resourcecode:
  14856. description: 菜单代码
  14857. type: string
  14858. resourcelevel:
  14859. description: 级别
  14860. type: integer
  14861. resourcename:
  14862. description: 菜单名称
  14863. type: string
  14864. roleid:
  14865. description: 角色id
  14866. type: integer
  14867. sort:
  14868. description: 排序
  14869. type: integer
  14870. subMenu:
  14871. description: 子级菜单(结构同上层一样, swag解析不出来)
  14872. items:
  14873. $ref: '#/definitions/models.RoleMenu'
  14874. type: array
  14875. url:
  14876. description: URL
  14877. type: string
  14878. userid:
  14879. description: 用户id
  14880. type: integer
  14881. type: object
  14882. models.SearchGoods:
  14883. properties:
  14884. goodscode:
  14885. description: 商品代码(内部)
  14886. type: string
  14887. goodsid:
  14888. description: 商品ID(自增ID SEQ_GOODS)
  14889. type: integer
  14890. goodsname:
  14891. description: 商品名称
  14892. type: string
  14893. marketid:
  14894. description: 所属市场ID
  14895. type: integer
  14896. marketname:
  14897. description: 市场名称
  14898. type: string
  14899. trademode:
  14900. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14901. 21:竞拍-大宗式 22:受托竞价
  14902. type: integer
  14903. required:
  14904. - goodscode
  14905. - goodsid
  14906. - goodsname
  14907. - marketid
  14908. - trademode
  14909. type: object
  14910. models.Systemparam:
  14911. properties:
  14912. loginid:
  14913. description: 更新用户账号,登录账号
  14914. type: string
  14915. modifyflag:
  14916. description: 修改标志0 不允许修改 1 允许修改
  14917. type: integer
  14918. paramcode:
  14919. description: 参数代码
  14920. type: string
  14921. paramname:
  14922. description: 参数名
  14923. type: string
  14924. paramtype:
  14925. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14926. type: integer
  14927. paramvalue:
  14928. description: 参数值
  14929. type: string
  14930. paramvalue2:
  14931. description: 参数值(CLOB)
  14932. type: string
  14933. regexpress:
  14934. description: 正则表达式
  14935. type: string
  14936. remark:
  14937. description: 备注
  14938. type: string
  14939. serverip:
  14940. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14941. type: string
  14942. showflag:
  14943. description: 是否显示0 不显示 1 显示
  14944. type: integer
  14945. updatetime:
  14946. description: 更新时间
  14947. type: string
  14948. userid:
  14949. description: 更新用户ID
  14950. type: integer
  14951. required:
  14952. - paramcode
  14953. type: object
  14954. models.Szdz3convertconfig:
  14955. properties:
  14956. canin:
  14957. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14958. type: integer
  14959. canout:
  14960. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14961. type: integer
  14962. converttype:
  14963. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14964. 6:交易转花生米(不设置)
  14965. type: integer
  14966. createtime:
  14967. description: 创建时间
  14968. type: string
  14969. creatorid:
  14970. description: 创建人
  14971. type: integer
  14972. daymaxvalue:
  14973. description: 当日最大转入限制
  14974. type: number
  14975. freezedays:
  14976. description: 冻结天数 [5:花生米转交易]
  14977. type: integer
  14978. innergoodsid:
  14979. description: 内部商品ID[交易]
  14980. type: integer
  14981. inratio:
  14982. description: 目标值
  14983. type: integer
  14984. modifierid:
  14985. description: 修改人
  14986. type: integer
  14987. modifytime:
  14988. description: 修改时间
  14989. type: string
  14990. outergoodscode:
  14991. description: 外部商品代码[JD\PD]
  14992. type: string
  14993. outratio:
  14994. description: 源值
  14995. type: integer
  14996. pddecimalplace:
  14997. description: PD小数位
  14998. type: integer
  14999. timemaxvalue:
  15000. description: 单次最大转入限制
  15001. type: number
  15002. timeminvalue:
  15003. description: 单次最小转入限制
  15004. type: number
  15005. required:
  15006. - converttype
  15007. - innergoodsid
  15008. - outergoodscode
  15009. type: object
  15010. models.Szdz3searchwhitelist:
  15011. properties:
  15012. createtime:
  15013. description: 创建时间
  15014. type: string
  15015. creatorid:
  15016. description: 创建人
  15017. type: integer
  15018. modifierid:
  15019. description: 修改人
  15020. type: integer
  15021. modifytime:
  15022. description: 修改时间
  15023. type: string
  15024. userid:
  15025. description: 用户ID
  15026. type: integer
  15027. required:
  15028. - userid
  15029. type: object
  15030. models.TBGoods:
  15031. properties:
  15032. agreeunit:
  15033. description: 合约乘数
  15034. type: number
  15035. enumdicname:
  15036. description: 单位名称
  15037. type: string
  15038. goodscode:
  15039. description: 商品代码(内部)
  15040. type: string
  15041. goodsid:
  15042. description: 商品ID(自增ID SEQ_GOODS)
  15043. type: integer
  15044. goodsname:
  15045. description: 商品名称
  15046. type: string
  15047. type: object
  15048. models.TBGoodsGroup:
  15049. properties:
  15050. GDLST:
  15051. description: 商品列表
  15052. items:
  15053. $ref: '#/definitions/models.TBGoods'
  15054. type: array
  15055. convertratio:
  15056. description: 折算系数
  15057. type: number
  15058. enumdicname:
  15059. description: 单位名称
  15060. type: string
  15061. exexchangecode:
  15062. description: 交易所代码
  15063. type: string
  15064. exexchangename:
  15065. description: 交易所名称
  15066. type: string
  15067. goodsgroupid:
  15068. description: 商品组ID(自增ID)
  15069. type: integer
  15070. goodsgroupname:
  15071. description: 商品组名称
  15072. type: string
  15073. goodunitid:
  15074. description: 报价单位ID
  15075. type: integer
  15076. type: object
  15077. models.TBMiddleGoods:
  15078. properties:
  15079. GPLST:
  15080. description: 期货品种列表
  15081. items:
  15082. $ref: '#/definitions/models.TBGoodsGroup'
  15083. type: array
  15084. WDLST:
  15085. description: 商品信息列表(现货品类)
  15086. items:
  15087. $ref: '#/definitions/models.TBWrstandard'
  15088. type: array
  15089. areauserid:
  15090. description: 机构用户ID
  15091. type: integer
  15092. enumdicname:
  15093. description: 单位名称
  15094. type: string
  15095. goodsunitid:
  15096. description: 套保品种单位id
  15097. type: integer
  15098. middlegoodscode:
  15099. description: 套保品种代码
  15100. type: string
  15101. middlegoodsid:
  15102. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  15103. type: integer
  15104. middlegoodsname:
  15105. description: 套保品种名称
  15106. type: string
  15107. needarbitrageratio:
  15108. description: 套利比率
  15109. type: number
  15110. needhedgeratio:
  15111. description: 套保比率
  15112. type: number
  15113. type: object
  15114. models.TBWrstandard:
  15115. properties:
  15116. convertratio:
  15117. description: 折算系数
  15118. type: number
  15119. deliverygoodsname:
  15120. description: 品种名称
  15121. type: string
  15122. enumdicname:
  15123. description: 单位名称
  15124. type: string
  15125. vatrate:
  15126. description: 增值税率
  15127. type: number
  15128. wrstandardcode:
  15129. description: 现货商品代码
  15130. type: string
  15131. wrstandardid:
  15132. description: 现货商品ID(SEQ_WRSTANDARD)
  15133. type: integer
  15134. wrstandardname:
  15135. description: 现货商品名称
  15136. type: string
  15137. type: object
  15138. models.Taaccount:
  15139. properties:
  15140. accountflag:
  15141. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  15142. type: integer
  15143. accountid:
  15144. description: 资金账户ID
  15145. type: integer
  15146. accountname:
  15147. description: 账户名称
  15148. type: string
  15149. balance:
  15150. description: 期初余额
  15151. type: number
  15152. capitalbalance:
  15153. description: 本金余额[外部子账户实际出入金余额]
  15154. type: number
  15155. changeflag:
  15156. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15157. type: integer
  15158. changetime:
  15159. description: 账户状态变更时间
  15160. type: string
  15161. closepl:
  15162. description: 今日平仓盈亏
  15163. type: number
  15164. creditdecrease:
  15165. description: 今日授信减少
  15166. type: number
  15167. creditincrease:
  15168. description: 今日授信增加
  15169. type: number
  15170. curamount:
  15171. description: 总市值(从持仓中统计)
  15172. type: number
  15173. currencyid:
  15174. description: 货币ID
  15175. type: integer
  15176. currentbalance:
  15177. description: 期末余额
  15178. type: number
  15179. freezecharge:
  15180. description: 手续费冻结
  15181. type: number
  15182. freezemargin:
  15183. description: 冻结保证金
  15184. type: number
  15185. fromaccountid:
  15186. description: 所属上级账户
  15187. type: integer
  15188. inamount:
  15189. description: 今日入金金额(包括三方入金)
  15190. type: number
  15191. ismain:
  15192. description: 是否母账号 0:不是母账户 1:是母账户
  15193. type: integer
  15194. ismarketaccount:
  15195. description: 是否机构接单账号 0:不是 1:是
  15196. type: integer
  15197. isreckonaccount:
  15198. description: 是否机构分润账号 0:不是 1:是
  15199. type: integer
  15200. mortgagecredit:
  15201. description: 授信金额
  15202. type: number
  15203. orifreezecharge:
  15204. description: 期初手续费冻结
  15205. type: number
  15206. orifreezemargin:
  15207. description: 期初冻结保证金
  15208. type: number
  15209. orimortgagecredit:
  15210. description: 期初授信金额
  15211. type: number
  15212. oriothercredit:
  15213. description: 期初其它授信金额
  15214. type: number
  15215. oriotherfreezemargin:
  15216. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15217. type: number
  15218. orioutamountfreeze:
  15219. description: 期初出金冻结
  15220. type: number
  15221. oriusedmargin:
  15222. description: 期初占用保证金
  15223. type: number
  15224. othercredit:
  15225. description: 其它授信金额
  15226. type: number
  15227. othercreditdecrease:
  15228. description: 今日其它授信减少
  15229. type: number
  15230. othercreditincrease:
  15231. description: 今日其它授信增加
  15232. type: number
  15233. otherfreezemargin:
  15234. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  15235. type: number
  15236. otherincome:
  15237. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15238. type: number
  15239. otherpay:
  15240. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15241. type: number
  15242. outamount:
  15243. description: 今日出金金额(包括三方出金)
  15244. type: number
  15245. outamountfreeze:
  15246. description: 出金冻结
  15247. type: number
  15248. outthreshold:
  15249. description: 出金阈值
  15250. type: number
  15251. parentaccountid:
  15252. description: 所属根账号
  15253. type: integer
  15254. paycharge:
  15255. description: 今日手续费支出
  15256. type: number
  15257. relatedaccountstatus:
  15258. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15259. type: integer
  15260. relateduserid:
  15261. description: 关联用户
  15262. type: integer
  15263. remainamount:
  15264. description: 融资额(从融资合同中统计)
  15265. type: number
  15266. serivcegroup:
  15267. description: 服务分组
  15268. type: integer
  15269. signstatus:
  15270. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  15271. type: integer
  15272. sublevelpath:
  15273. description: 账号层级路径(逗号分隔,首尾加逗号)
  15274. type: string
  15275. taaccounttype:
  15276. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15277. type: integer
  15278. thirdinamount:
  15279. description: 今日三方入金
  15280. type: number
  15281. thirdoutamount:
  15282. description: 今日三方出金
  15283. type: number
  15284. tradestatus:
  15285. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  15286. type: integer
  15287. tradestatuschangetime:
  15288. description: 激活时间
  15289. type: string
  15290. transferamount:
  15291. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  15292. type: number
  15293. usedmargin:
  15294. description: 占用保证金
  15295. type: number
  15296. userid:
  15297. description: 用户ID
  15298. type: integer
  15299. required:
  15300. - accountid
  15301. - userid
  15302. type: object
  15303. models.Tablecolumnconfig:
  15304. properties:
  15305. aligntype:
  15306. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  15307. type: integer
  15308. autoid:
  15309. description: AutoID
  15310. type: integer
  15311. columnfield:
  15312. description: 列字段
  15313. type: string
  15314. columntitle:
  15315. description: 列Title
  15316. type: string
  15317. columnwidth:
  15318. description: 列宽
  15319. type: string
  15320. formatterstring:
  15321. description: 格式化字符
  15322. type: string
  15323. formattertype:
  15324. description: 格式化类型
  15325. type: string
  15326. groupname:
  15327. description: 表头分组名称
  15328. type: string
  15329. isshow:
  15330. description: 是否显示 - 0:不显示 1:显示
  15331. type: integer
  15332. needsummary:
  15333. description: 是否需要汇总 - 0:不需要 1:需要
  15334. type: integer
  15335. orderindex:
  15336. description: 顺序
  15337. type: integer
  15338. remark:
  15339. description: 备注
  15340. type: string
  15341. summarytype:
  15342. description: 汇总类型 - 1:加总 2:最后一个
  15343. type: integer
  15344. tablekey:
  15345. description: 列表Key
  15346. type: string
  15347. required:
  15348. - autoid
  15349. type: object
  15350. models.TjmdHolderDetailTradeInfo:
  15351. properties:
  15352. agreeunit:
  15353. description: 合约乘数
  15354. type: number
  15355. buyaccountid:
  15356. description: 买方账户
  15357. type: string
  15358. buyusername:
  15359. description: 买方
  15360. type: string
  15361. delistingdate:
  15362. description: 最后结算日
  15363. type: string
  15364. expiredate:
  15365. description: 到期结算价定价日
  15366. type: string
  15367. exprieprice:
  15368. description: 到期清算价格
  15369. type: string
  15370. goodscode:
  15371. description: 商品代码
  15372. type: string
  15373. goodsid:
  15374. description: 商品ID
  15375. type: integer
  15376. goodsname:
  15377. description: 商品名称(交易标的)
  15378. type: string
  15379. lasttradedate:
  15380. description: 最后交易日
  15381. type: string
  15382. listingdate:
  15383. description: 开始交易日
  15384. type: string
  15385. openprice:
  15386. description: 成交价
  15387. type: number
  15388. openqty:
  15389. description: 交易数量
  15390. type: integer
  15391. sellaccountid:
  15392. description: 卖方账户
  15393. type: string
  15394. sellusername:
  15395. description: 卖方
  15396. type: string
  15397. tradeamount:
  15398. description: 初始名义价值
  15399. type: number
  15400. tradedate:
  15401. description: 成交日期
  15402. type: string
  15403. tradeid:
  15404. description: 成交编号
  15405. type: string
  15406. type: object
  15407. models.TjmdMarketSection:
  15408. properties:
  15409. marketsectionid:
  15410. description: 市场版块ID(SEQ_MARKETSECTION)
  15411. type: integer
  15412. marketsectionname:
  15413. description: 市场版块名称
  15414. type: string
  15415. mlist:
  15416. description: 市场列表(板块下面有多少个市场)
  15417. items:
  15418. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  15419. type: array
  15420. orderindex:
  15421. description: 排序
  15422. type: integer
  15423. pictureurl:
  15424. description: 图片url, 规格(90*90)
  15425. type: string
  15426. remark:
  15427. description: 备注
  15428. type: string
  15429. type: object
  15430. models.TjmdMarketSectionConfig:
  15431. properties:
  15432. auctionwrtype:
  15433. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  15434. type: integer
  15435. canacceptquote:
  15436. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  15437. type: integer
  15438. cangoodsexercise:
  15439. description: '[期权]是否可现货行权- 0:否 1:是'
  15440. type: integer
  15441. cangoodsexercisetype:
  15442. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  15443. type: integer
  15444. canmanualquotestrike:
  15445. description: 是否可手动报行权价- 0:否 1:是 [期权]
  15446. type: integer
  15447. canmutistage:
  15448. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  15449. type: integer
  15450. canpreexercise:
  15451. description: '[期权]是否可预申报- 0:否 1:是'
  15452. type: integer
  15453. clearinterval:
  15454. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  15455. type: integer
  15456. contracttmp:
  15457. description: 合同模板[荷兰式][竞价式][仓单贸易]
  15458. type: string
  15459. exchareaid:
  15460. description: 所属交易所,可以没有
  15461. type: integer
  15462. financemarketid:
  15463. description: 融资回购市场ID [仓单贸易]
  15464. type: integer
  15465. goodstype:
  15466. description: 商品类型 - 1:交易商品 2:仓单商品
  15467. type: integer
  15468. hasrebate:
  15469. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  15470. type: integer
  15471. hastradecredit:
  15472. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  15473. type: integer
  15474. haswr:
  15475. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  15476. type: integer
  15477. isdeductmargin:
  15478. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  15479. type: integer
  15480. isrecordsource:
  15481. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  15482. type: integer
  15483. isreleasemargin:
  15484. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  15485. type: integer
  15486. isupdatereckonprice:
  15487. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  15488. type: integer
  15489. listingmode:
  15490. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  15491. type: integer
  15492. marginformula:
  15493. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15494. type: integer
  15495. marginformula2:
  15496. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  15497. type: integer
  15498. marketid:
  15499. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  15500. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  15501. type: integer
  15502. marketname:
  15503. description: 市场名称
  15504. type: string
  15505. marketsectionid:
  15506. description: 市场版块ID(SEQ_MARKETSECTION)
  15507. type: integer
  15508. marketserviceid:
  15509. description: 市场服务ID
  15510. type: integer
  15511. marketstatus:
  15512. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  15513. type: integer
  15514. markettype:
  15515. description: 市场类型- 1:非交易服务 2:交易服务
  15516. type: integer
  15517. matchermode:
  15518. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  15519. type: integer
  15520. nowrquotaflag:
  15521. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  15522. type: integer
  15523. openmethod:
  15524. description: 开盘模式 - 0 自动 1手动
  15525. type: integer
  15526. orderindex:
  15527. description: 排序
  15528. type: integer
  15529. otcuserid:
  15530. description: 场外期权做市商[场外期权]
  15531. type: integer
  15532. outersynctime:
  15533. description: 外部同步时间点(h24:mi:ss)[场外期权]
  15534. type: string
  15535. paylaterflag:
  15536. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  15537. type: integer
  15538. pendingflag:
  15539. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  15540. type: integer
  15541. pendingtime:
  15542. description: 待开市时间[通道交易-对冲](HH:mm)
  15543. type: string
  15544. performancetempid:
  15545. description: 履约计划模板ID - 作废
  15546. type: integer
  15547. premiumquotemode:
  15548. description: 权利金报价方式 - 1:自动 2:手动
  15549. type: integer
  15550. rebateratio:
  15551. description: 返利比率[竞价式]
  15552. type: number
  15553. reckonorder:
  15554. description: 结算顺序
  15555. type: integer
  15556. reckonpricealgorithm:
  15557. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  15558. 6.卖一价 7.买一卖一均价 8.外部结算价'
  15559. type: integer
  15560. reckonpriceparam:
  15561. description: 结算价参数
  15562. type: integer
  15563. reckontime:
  15564. description: 结算时间[通道交易-对冲](HH:mm)
  15565. type: string
  15566. roleprioritytype:
  15567. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  15568. type: integer
  15569. selllistingauditflag:
  15570. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  15571. type: integer
  15572. trademarkettype:
  15573. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  15574. type: integer
  15575. trademode:
  15576. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15577. 21:竞拍-大宗式 22:受托竞价
  15578. type: integer
  15579. tradeproperty:
  15580. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  15581. 8:场外期权
  15582. type: integer
  15583. tradetype:
  15584. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  15585. type: integer
  15586. updatereckonpriceinterval:
  15587. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  15588. type: integer
  15589. type: object
  15590. models.TjmdQuoteGoods:
  15591. properties:
  15592. buyqty:
  15593. description: 买量(暂不做, 无值, 保留字段)
  15594. type: number
  15595. decimalplace:
  15596. description: 报价小数位
  15597. type: integer
  15598. goodscode:
  15599. description: 合约代码
  15600. type: string
  15601. goodsgroupid:
  15602. description: 商品组ID(自增ID)
  15603. type: integer
  15604. goodsgroupname:
  15605. description: 商品组名称
  15606. type: string
  15607. goodsid:
  15608. description: 合约id
  15609. type: integer
  15610. goodsname:
  15611. description: 合约名称
  15612. type: string
  15613. refgoodscode:
  15614. description: 标的合约代码
  15615. type: string
  15616. refgoodsid:
  15617. description: 标的合约id
  15618. type: integer
  15619. refgoodsname:
  15620. description: 标的合约名称
  15621. type: string
  15622. sellqty:
  15623. description: 卖量(暂不做, 无值, 保留字段)
  15624. type: number
  15625. type: object
  15626. models.TjmdTodayAccountMargin:
  15627. properties:
  15628. accountid:
  15629. description: 账号ID
  15630. type: integer
  15631. goodsid:
  15632. description: 商品ID
  15633. type: integer
  15634. infoc:
  15635. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  15636. description: 配置参数
  15637. marketid:
  15638. description: 市场ID
  15639. type: integer
  15640. type: object
  15641. models.TjmdTradeOrderDetail:
  15642. properties:
  15643. buyorsell:
  15644. description: 买卖方向 0-买 1-卖
  15645. type: integer
  15646. goodsid:
  15647. description: 商品id
  15648. type: integer
  15649. marketmaxsub:
  15650. description: 市价最大偏移范围 [浮动价 - 点差]
  15651. type: number
  15652. orderid:
  15653. description: 委托单号
  15654. type: string
  15655. orderprice:
  15656. description: 委托价格
  15657. type: number
  15658. orderqty:
  15659. description: 委托数量
  15660. type: integer
  15661. pricemode:
  15662. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  15663. type: integer
  15664. userid:
  15665. description: 用户id
  15666. type: integer
  15667. username:
  15668. description: 用户名称(已脱敏)
  15669. type: string
  15670. type: object
  15671. models.TjmdTransferApply:
  15672. properties:
  15673. applyid:
  15674. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  15675. type: integer
  15676. applystatus:
  15677. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  15678. type: integer
  15679. applytime:
  15680. description: 申请时间(时间)
  15681. type: string
  15682. auditremark:
  15683. description: 审核备注(拒绝原因?)
  15684. type: string
  15685. begindate:
  15686. description: 开始交易日(yyyymmdd)
  15687. type: string
  15688. buyorsell:
  15689. description: 买卖 - 0:买 1:卖
  15690. type: integer
  15691. enddate:
  15692. description: 结束交易日(yyyymmdd)
  15693. type: string
  15694. goodscode:
  15695. description: 商品代码
  15696. type: string
  15697. goodsid:
  15698. description: 商品ID
  15699. type: integer
  15700. goodsname:
  15701. description: 商品名称
  15702. type: string
  15703. marketid:
  15704. description: 市场ID
  15705. type: integer
  15706. qty:
  15707. description: 转让数量(数量)
  15708. type: number
  15709. tradeid:
  15710. description: 成交单号(关联持仓)
  15711. type: string
  15712. transferamount:
  15713. description: 转让总金额(金额)
  15714. type: number
  15715. transferprice:
  15716. description: 转让价格(协议价格)
  15717. type: number
  15718. type: object
  15719. models.TradeHolderDetail:
  15720. properties:
  15721. accountid:
  15722. description: 账号ID
  15723. type: integer
  15724. agreeunit:
  15725. description: 合约乘数
  15726. type: number
  15727. buyorsell:
  15728. description: 方向 - 0:买 1:卖
  15729. type: integer
  15730. currencyid:
  15731. description: 商品币种id
  15732. type: integer
  15733. currencyname:
  15734. description: 币种名称
  15735. type: string
  15736. decimalplace:
  15737. description: 商品价格小数位
  15738. type: integer
  15739. enumdicname:
  15740. description: 商品单位名称
  15741. type: string
  15742. expirecycle:
  15743. description: 行权周期(天) - 1:滚动行权时填写
  15744. type: integer
  15745. expiredate:
  15746. description: 行权日(yyyyMMdd) - 到期日
  15747. type: string
  15748. expiretype:
  15749. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15750. type: integer
  15751. freezeqty:
  15752. description: 冻结数量
  15753. type: number
  15754. goodscode:
  15755. description: 商品代码
  15756. type: string
  15757. goodsid:
  15758. description: 商品ID
  15759. type: integer
  15760. goodsname:
  15761. description: 商品名称
  15762. type: string
  15763. goodunitid:
  15764. description: 商品单位id
  15765. type: integer
  15766. holderamount:
  15767. description: 持仓金额
  15768. type: number
  15769. holdercredit:
  15770. description: 持仓授信金额
  15771. type: number
  15772. holderdays:
  15773. description: 剩余冻结天数
  15774. type: integer
  15775. holderprice:
  15776. description: 持仓价格
  15777. type: number
  15778. holderqty:
  15779. description: 持仓数量
  15780. type: number
  15781. isconfirmexercise:
  15782. description: 是否确认行权- 0:否 1:是
  15783. type: integer
  15784. ispreexercise:
  15785. description: 是否预申报- 0:否 1:是 2:不可行权
  15786. type: integer
  15787. marketid:
  15788. description: 市场id
  15789. type: integer
  15790. marketname:
  15791. description: 市场名称
  15792. type: string
  15793. openprice:
  15794. description: 建仓价格
  15795. type: number
  15796. openqty:
  15797. description: 建仓数量
  15798. type: number
  15799. optiontype:
  15800. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15801. type: integer
  15802. preexerciseprice:
  15803. description: 预申报价格
  15804. type: number
  15805. premium:
  15806. description: 权利金
  15807. type: number
  15808. qtydecimalplace:
  15809. description: 商品成交量小数位
  15810. type: integer
  15811. refgoodscode:
  15812. description: 标的合约代码
  15813. type: string
  15814. refgoodsid:
  15815. description: 标的合约id
  15816. type: integer
  15817. releaseamount:
  15818. description: 释放持仓金额
  15819. type: number
  15820. releaseholdercredit:
  15821. description: 释放持仓授信金额
  15822. type: number
  15823. taname:
  15824. description: 资金账号名称
  15825. type: string
  15826. tradeamount:
  15827. description: 成交金额
  15828. type: number
  15829. tradedate:
  15830. description: 交易日(yyyyMMdd)
  15831. type: string
  15832. tradeid:
  15833. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15834. type: string
  15835. trademode:
  15836. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15837. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15838. type: integer
  15839. tradeproperty:
  15840. description: 交易属性
  15841. type: integer
  15842. tradetime:
  15843. description: 交易时间
  15844. type: string
  15845. userid:
  15846. description: 用户id
  15847. type: integer
  15848. username:
  15849. description: 用户名称
  15850. type: string
  15851. type: object
  15852. models.Unlinkermcphedgeplan:
  15853. properties:
  15854. accountid:
  15855. description: 期货账户ID - 作废
  15856. type: integer
  15857. accountname:
  15858. description: 交易用户
  15859. type: string
  15860. applyid:
  15861. description: 申请人
  15862. type: integer
  15863. applysrc:
  15864. description: 申请来源 - 1:管理端 2:终端
  15865. type: integer
  15866. applytime:
  15867. description: 申请时间
  15868. type: string
  15869. areauserid:
  15870. description: '[企业ID]机构ID'
  15871. type: integer
  15872. auditid:
  15873. description: 审核人
  15874. type: integer
  15875. auditremark:
  15876. description: 审核备注
  15877. type: string
  15878. auditsrc:
  15879. description: 审核来源 - 1:管理端 2:终端
  15880. type: integer
  15881. audittime:
  15882. description: 审核时间
  15883. type: string
  15884. audittradedate:
  15885. description: 审核交易日(yyyyMMdd)
  15886. type: string
  15887. biztype:
  15888. description: 业务类型 - 1:套保
  15889. type: integer
  15890. contracttype:
  15891. description: 计划类型 - 1:采购 -1:销售
  15892. type: integer
  15893. convertfactor:
  15894. description: 标仓系数 - 作废
  15895. type: number
  15896. createtime:
  15897. description: 创建时间
  15898. type: string
  15899. currencyid:
  15900. description: 结算币种ID - 作废
  15901. type: integer
  15902. deliverygoodsid:
  15903. description: 现货品种ID
  15904. type: integer
  15905. enumdicname:
  15906. description: 结算币种
  15907. type: string
  15908. hedgeplanid:
  15909. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  15910. type: integer
  15911. hedgeplanno:
  15912. description: '[计划编号]套保计划编号,模糊查询'
  15913. type: string
  15914. hedgeplanstatus:
  15915. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  15916. type: integer
  15917. isrelated:
  15918. description: 是否已关联计划项目 - 0:否 1:是
  15919. type: integer
  15920. planqty:
  15921. description: '[计划量]计划数量'
  15922. type: number
  15923. plantime:
  15924. description: 计划时间
  15925. type: string
  15926. producttype:
  15927. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  15928. type: integer
  15929. remark:
  15930. description: 备注
  15931. type: string
  15932. spotgoodsdesc:
  15933. description: 商品型号
  15934. type: string
  15935. tradedate:
  15936. description: 交易日(yyyyMMdd)
  15937. type: string
  15938. tradeuserid:
  15939. description: 交易用户ID
  15940. type: integer
  15941. updatetime:
  15942. description: 更新时间
  15943. type: string
  15944. wrstandardid:
  15945. description: 现货商品ID
  15946. type: integer
  15947. wrstandardname:
  15948. description: 现货商品,模糊查询
  15949. type: string
  15950. required:
  15951. - areauserid
  15952. type: object
  15953. models.UserCollectConfig:
  15954. properties:
  15955. accountstatus:
  15956. description: 账户状态 - 1:正常 2:停用 3:注销
  15957. type: integer
  15958. collectaccountname:
  15959. description: 收款人账户名称
  15960. type: string
  15961. collectaccountno:
  15962. description: 收款人账户
  15963. type: string
  15964. collectbankname:
  15965. description: 收款人开户行
  15966. type: string
  15967. collectbranchbankname:
  15968. description: 收款人开户支行
  15969. type: string
  15970. collectconfigid:
  15971. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15972. type: string
  15973. remark:
  15974. description: 备注
  15975. type: string
  15976. userid:
  15977. description: 收款人用户ID
  15978. type: integer
  15979. type: object
  15980. models.UserReceiveInfo:
  15981. properties:
  15982. address:
  15983. description: 提货人详细地址
  15984. type: string
  15985. autoid:
  15986. description: AutoID
  15987. type: integer
  15988. cardnum:
  15989. description: 证件号码(加密存储)
  15990. type: string
  15991. cardtypeid:
  15992. description: 证件类型
  15993. type: integer
  15994. cityid:
  15995. description: 市
  15996. type: integer
  15997. cityname:
  15998. description: 城市名称
  15999. type: string
  16000. countryid:
  16001. description: 国家
  16002. type: integer
  16003. countryname:
  16004. description: 国家名称
  16005. type: string
  16006. districtid:
  16007. description: 地区
  16008. type: integer
  16009. districtname:
  16010. description: 地区名称
  16011. type: string
  16012. hasencrypt:
  16013. description: 数据是否已加密 - 0:未加密 1:已加密
  16014. type: integer
  16015. isdefault:
  16016. description: 是否默认地址 - 0:否 1:是
  16017. type: integer
  16018. phonenum:
  16019. description: 提货人联系方式(加密存储)
  16020. type: string
  16021. provinceid:
  16022. description: 省
  16023. type: integer
  16024. provincename:
  16025. description: 省名称
  16026. type: string
  16027. receivername:
  16028. description: 提货人姓名
  16029. type: string
  16030. takeremark:
  16031. description: 提货备注
  16032. type: string
  16033. userid:
  16034. description: 用户ID
  16035. type: integer
  16036. type: object
  16037. models.Useraccount:
  16038. properties:
  16039. accountname:
  16040. description: 账户名称(机构名称)
  16041. type: string
  16042. accountstatus:
  16043. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16044. type: integer
  16045. applysrc:
  16046. description: 申请来源 - 1:管理端 2:终端
  16047. type: integer
  16048. auditremark:
  16049. description: 审核备注
  16050. type: string
  16051. auditsrc:
  16052. description: 审核来源 - 1:管理端 2:终端
  16053. type: integer
  16054. audittime:
  16055. description: 审核时间
  16056. type: string
  16057. audituserid:
  16058. description: 审核人
  16059. type: integer
  16060. broker:
  16061. description: 所属经纪人ID
  16062. type: integer
  16063. canceltime:
  16064. description: 销户时间
  16065. type: string
  16066. canceluserid:
  16067. description: 销户人
  16068. type: integer
  16069. canrecommend:
  16070. description: 是否可推荐 - 0:不可 1;可
  16071. type: integer
  16072. createtime:
  16073. description: 创建时间
  16074. type: string
  16075. creatorid:
  16076. description: 创建人
  16077. type: integer
  16078. hasauth:
  16079. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  16080. type: integer
  16081. isanonymous:
  16082. description: 是否匿名下单 - 0:否 1:是
  16083. type: integer
  16084. maxinvestornum:
  16085. description: 最大用户数(经纪会员下投资者个数)
  16086. type: integer
  16087. memberuserid:
  16088. description: 所属会员ID
  16089. type: integer
  16090. modifierid:
  16091. description: 修改人
  16092. type: integer
  16093. modifyremark:
  16094. description: 变更备注
  16095. type: string
  16096. modifystatus:
  16097. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  16098. type: integer
  16099. modifytime:
  16100. description: 修改时间
  16101. type: string
  16102. parenttopuser:
  16103. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16104. type: string
  16105. parentuserid:
  16106. description: 所属机构ID
  16107. type: integer
  16108. reckonaccountid:
  16109. description: 默认结算资金账号ID(机构分润使用) 作废
  16110. type: integer
  16111. refercount:
  16112. description: 推荐总人数
  16113. type: integer
  16114. refereeuserid:
  16115. description: 推荐人ID
  16116. type: integer
  16117. refernum:
  16118. description: 推荐码
  16119. type: string
  16120. rootuserid:
  16121. description: 根用户ID
  16122. type: integer
  16123. subaccountlevel:
  16124. description: 子账户层数
  16125. type: integer
  16126. subarealevelpath:
  16127. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16128. type: string
  16129. userid:
  16130. description: 用户ID
  16131. type: integer
  16132. usertype:
  16133. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16134. type: integer
  16135. required:
  16136. - userid
  16137. type: object
  16138. models.Userfavoritegoods:
  16139. properties:
  16140. goodsid:
  16141. description: 商品ID
  16142. type: integer
  16143. required:
  16144. - goodsid
  16145. type: object
  16146. models.Userinfo:
  16147. properties:
  16148. address:
  16149. description: 地址
  16150. type: string
  16151. attachment1:
  16152. description: 附件1
  16153. type: string
  16154. attachment2:
  16155. description: 附件2
  16156. type: string
  16157. bankaccount:
  16158. description: 银行帐号 (加密存储)
  16159. type: string
  16160. bankaccountname:
  16161. description: 收款人名称
  16162. type: string
  16163. bankcardfrontphotourl:
  16164. description: 银行卡正面照地址
  16165. type: string
  16166. bankid:
  16167. description: 银行编码
  16168. type: string
  16169. bankname:
  16170. description: 银行名称
  16171. type: string
  16172. biznature:
  16173. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16174. type: integer
  16175. bizscope:
  16176. description: 企业经营范围(企业)
  16177. type: string
  16178. cardbackphotourl:
  16179. description: 证件背面图片地址
  16180. type: string
  16181. cardfrontphotourl:
  16182. description: 证件正面图片地址
  16183. type: string
  16184. cardnum:
  16185. description: 证件号码(加密存储)
  16186. type: string
  16187. cardtypeid:
  16188. description: 证件类型ID
  16189. type: integer
  16190. cityid:
  16191. description: 市
  16192. type: integer
  16193. company:
  16194. description: 公司(个人)
  16195. type: string
  16196. contactname:
  16197. description: 联系人
  16198. type: string
  16199. countryid:
  16200. description: 国家
  16201. type: integer
  16202. createtime:
  16203. description: 创建时间
  16204. type: string
  16205. creatorid:
  16206. description: 创建人
  16207. type: integer
  16208. customername:
  16209. description: 客户名称(企业名称)
  16210. type: string
  16211. districtid:
  16212. description: 地区
  16213. type: integer
  16214. email:
  16215. description: 邮件(加密存储)
  16216. type: string
  16217. fax:
  16218. description: 传真(加密存储)
  16219. type: string
  16220. halfbodyphotourl:
  16221. description: 半身照地址
  16222. type: string
  16223. hasencrypt:
  16224. description: 数据是否已加密 - 0:未加密 1:已加密
  16225. type: integer
  16226. headurl:
  16227. description: 头像地址
  16228. type: string
  16229. legalcardbackphotourl:
  16230. description: 法人身份证背面照地址
  16231. type: string
  16232. legalcardfrontphotourl:
  16233. description: 法人身份证正面照地址
  16234. type: string
  16235. legalpersonname:
  16236. description: 法人姓名(企业)
  16237. type: string
  16238. mobile:
  16239. description: 手机号码(加密存储)
  16240. type: string
  16241. mobile2:
  16242. description: 手机号码[明文-尚志]
  16243. type: string
  16244. modifierid:
  16245. description: 修改人
  16246. type: integer
  16247. modifiertime:
  16248. description: 修改时间
  16249. type: string
  16250. needinvoice:
  16251. description: 是否需要发票 - 0:不需要 1:需要
  16252. type: integer
  16253. nickname:
  16254. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16255. type: string
  16256. openmode:
  16257. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  16258. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  16259. type: integer
  16260. otherurl:
  16261. description: 其它图片地址[使用分号分隔]
  16262. type: string
  16263. postalcode:
  16264. description: 邮政编码
  16265. type: string
  16266. provinceid:
  16267. description: 省
  16268. type: integer
  16269. qq:
  16270. description: QQ(加密存储
  16271. type: string
  16272. remark:
  16273. description: 备注
  16274. type: string
  16275. sex:
  16276. description: '用户性别 0: 女 1: 男'
  16277. type: integer
  16278. signpdfurl:
  16279. description: 签约pdf文件
  16280. type: string
  16281. telphone:
  16282. description: 联系电话(加密存储)
  16283. type: string
  16284. userid:
  16285. description: 用户ID
  16286. type: integer
  16287. userinfotype:
  16288. description: 用户信息类型 - 1:个人 2:企业
  16289. type: integer
  16290. userstatus:
  16291. description: 用户状态 - 1:正常 2:注销
  16292. type: integer
  16293. usertype:
  16294. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  16295. type: integer
  16296. wechat:
  16297. description: 微信(加密存储)
  16298. type: string
  16299. wskhinfo:
  16300. description: 开户申请信息(JSON)
  16301. type: string
  16302. required:
  16303. - userid
  16304. type: object
  16305. models.WRSConverTDetail:
  16306. properties:
  16307. convertratio:
  16308. description: 套保系数
  16309. type: number
  16310. deliverygoodscode:
  16311. description: 现货商品代码
  16312. type: string
  16313. deliverygoodsid:
  16314. description: 现货品种ID
  16315. type: integer
  16316. deliverygoodsname:
  16317. description: 现货商品名称
  16318. type: string
  16319. enumdicname:
  16320. description: 单位名称
  16321. type: string
  16322. goodsunitid:
  16323. description: 套保品种单位id
  16324. type: integer
  16325. middlegoodscode:
  16326. description: 套保品种代码
  16327. type: string
  16328. middlegoodsid:
  16329. description: 套保品种ID
  16330. type: integer
  16331. middlegoodsname:
  16332. description: 套保品种名称
  16333. type: string
  16334. modifytime:
  16335. description: 修改时间
  16336. type: string
  16337. wrstandardid:
  16338. description: 品类ID
  16339. type: integer
  16340. type: object
  16341. models.WRStandardInfo:
  16342. properties:
  16343. areauserid:
  16344. description: 所属机构
  16345. type: integer
  16346. convertfactor:
  16347. description: 标仓系数
  16348. type: number
  16349. createtime:
  16350. description: 创建时间
  16351. type: string
  16352. creatorid:
  16353. description: 创建人
  16354. type: integer
  16355. deliverygoodsid:
  16356. description: 品种ID
  16357. type: integer
  16358. deliverygoodsname:
  16359. description: 交割商品名称
  16360. type: string
  16361. factoryitemjson:
  16362. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  16363. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  16364. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  16365. 逗号分隔'
  16366. type: string
  16367. isvalid:
  16368. description: 是否有效 - 0:无效 1:有效
  16369. type: integer
  16370. minivalue:
  16371. description: 最小变动值
  16372. type: integer
  16373. minivaluedp:
  16374. description: 最小变动值小数位
  16375. type: integer
  16376. realminivalue:
  16377. description: 实际最小变动值
  16378. type: integer
  16379. realminivaluedp:
  16380. description: 实际最小变动值小数位
  16381. type: integer
  16382. remark:
  16383. description: 备注
  16384. type: string
  16385. unitid:
  16386. description: 单位ID
  16387. type: integer
  16388. unitname:
  16389. description: 单位
  16390. type: string
  16391. updatetime:
  16392. description: 更新时间
  16393. type: string
  16394. updatorid:
  16395. description: 更新人
  16396. type: integer
  16397. wrsstatus:
  16398. description: 状态 - 作废 - 0:未激活 1:正常
  16399. type: integer
  16400. wrstandardcode:
  16401. description: 现货品类代码
  16402. type: string
  16403. wrstandardid:
  16404. description: 现货品类ID(SEQ_WRSTANDARD)
  16405. type: integer
  16406. wrstandardname:
  16407. description: 现货品类名称
  16408. type: string
  16409. required:
  16410. - wrstandardid
  16411. type: object
  16412. models.WRTradeBargainApply:
  16413. properties:
  16414. accountid:
  16415. description: 摘牌资金账号
  16416. type: integer
  16417. applyprice:
  16418. description: 申请价格(议价价格)
  16419. type: string
  16420. applyqty:
  16421. description: 摘牌数量(议价数量)
  16422. type: number
  16423. applyremark:
  16424. description: 申请备注
  16425. type: string
  16426. applystatus:
  16427. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  16428. type: integer
  16429. applytime:
  16430. description: 申请时间(议价时间)
  16431. type: string
  16432. begindate:
  16433. description: 开始交易日(yyyymmdd)
  16434. type: string
  16435. buyorsell:
  16436. description: 买卖(挂牌类型) - 0:买 1:卖
  16437. type: integer
  16438. confirmremark:
  16439. description: 确认备注
  16440. type: string
  16441. confirmtime:
  16442. description: 确认时间
  16443. type: string
  16444. confirmuserid:
  16445. description: 确认人
  16446. type: integer
  16447. deliverygoodscode:
  16448. description: 品种代码
  16449. type: string
  16450. deliverygoodsid:
  16451. description: 品种ID
  16452. type: integer
  16453. deliverygoodsname:
  16454. description: 品种名称
  16455. type: string
  16456. deliverymonth:
  16457. description: 交收月
  16458. type: string
  16459. enddate:
  16460. description: 结束交易日(yyyymmdd)
  16461. type: string
  16462. enumdicname:
  16463. description: 单位名称
  16464. type: string
  16465. fixedprice:
  16466. description: 挂牌价格
  16467. type: number
  16468. handlestatus:
  16469. description: 处理状态
  16470. type: integer
  16471. marginvalue:
  16472. description: 履约保证金比例
  16473. type: number
  16474. marketid:
  16475. description: 市场ID
  16476. type: integer
  16477. matchaccountid:
  16478. description: 挂牌方资金账号
  16479. type: integer
  16480. matchuserid:
  16481. description: 挂牌方用户id
  16482. type: integer
  16483. matchusername:
  16484. description: 挂牌方用户名称(已脱敏)
  16485. type: string
  16486. minivalue:
  16487. description: 现货商品最小变动值
  16488. type: integer
  16489. optioncompare:
  16490. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16491. type: string
  16492. orderqty:
  16493. description: 挂牌数量
  16494. type: integer
  16495. refprice:
  16496. description: 参考价格
  16497. type: string
  16498. retcode:
  16499. description: 委托返回代码
  16500. type: integer
  16501. templatename:
  16502. description: 履约方式(履约模板名称)
  16503. type: string
  16504. tradedate:
  16505. description: 交易日(yyyyMMdd)
  16506. type: string
  16507. userid:
  16508. description: 摘牌人用户ID(议价人ID)
  16509. type: integer
  16510. username:
  16511. description: 议价人名字(已脱敏)
  16512. type: string
  16513. validtime:
  16514. description: 有效期限
  16515. type: string
  16516. warehouseid:
  16517. description: 仓库ID
  16518. type: integer
  16519. warehousename:
  16520. description: 仓库名称
  16521. type: string
  16522. wrbargainid:
  16523. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  16524. type: string
  16525. wrfactortypeid:
  16526. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16527. type: string
  16528. wrfactortypename:
  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. wrtradeorderid:
  16541. description: 关联委托单ID
  16542. type: string
  16543. wrtypename:
  16544. description: 商品
  16545. type: string
  16546. type: object
  16547. models.Warehouseinfo:
  16548. properties:
  16549. address:
  16550. description: 详细地址
  16551. type: string
  16552. areauserid:
  16553. description: 所属机构
  16554. type: integer
  16555. autoid:
  16556. description: 自增ID
  16557. type: integer
  16558. cityid:
  16559. description: 市
  16560. type: integer
  16561. contactname:
  16562. description: 联系人
  16563. type: string
  16564. contactnum:
  16565. description: 联系电话
  16566. type: string
  16567. countryid:
  16568. description: 国家
  16569. type: integer
  16570. createtime:
  16571. description: 创建时间
  16572. type: string
  16573. districtid:
  16574. description: 区
  16575. type: integer
  16576. hasvideo:
  16577. description: 是否有视频 - 0:无 1:有
  16578. type: integer
  16579. provinceid:
  16580. description: 省
  16581. type: integer
  16582. remark:
  16583. description: 审核备注
  16584. type: string
  16585. videourl:
  16586. description: 视频地址
  16587. type: string
  16588. warehousecode:
  16589. description: 仓库代码
  16590. type: string
  16591. warehousename:
  16592. description: 仓库名称
  16593. type: string
  16594. warehousestatus:
  16595. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  16596. type: integer
  16597. warehousetype:
  16598. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  16599. type: integer
  16600. required:
  16601. - autoid
  16602. - warehousecode
  16603. type: object
  16604. models.WrAverageTradePrice:
  16605. properties:
  16606. averageprice:
  16607. description: 成交均价
  16608. type: number
  16609. tradedate:
  16610. description: 交易日yyyymm
  16611. type: string
  16612. type: object
  16613. models.WrBrandAndYears:
  16614. properties:
  16615. brandlst:
  16616. description: 品牌列表
  16617. items:
  16618. $ref: '#/definitions/models.DgFactoryItem'
  16619. type: array
  16620. yearslst:
  16621. description: 年份列表
  16622. items:
  16623. $ref: '#/definitions/models.DgFactoryItem'
  16624. type: array
  16625. type: object
  16626. models.WrBsGoodsInfo:
  16627. properties:
  16628. buyorsell:
  16629. description: 买卖方向 0-买 1-卖
  16630. type: integer
  16631. goodsid:
  16632. description: 交易合约ID
  16633. type: integer
  16634. lstitem:
  16635. description: 商品信息项
  16636. items:
  16637. $ref: '#/definitions/models.WrTypeItem'
  16638. type: array
  16639. lststep:
  16640. description: 履约规则
  16641. items:
  16642. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16643. type: array
  16644. type: object
  16645. models.WrBuybackDetail:
  16646. properties:
  16647. buybackamount:
  16648. description: 回购金额
  16649. type: number
  16650. buybackqty:
  16651. description: 回购数量
  16652. type: number
  16653. buybackreleasemargin:
  16654. description: 回购释放保证金
  16655. type: number
  16656. buybacktime:
  16657. description: 回购时间
  16658. type: string
  16659. errordesc:
  16660. description: 错误描述
  16661. type: string
  16662. handlestatus:
  16663. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  16664. type: integer
  16665. relatedwrid:
  16666. description: 关联仓单ID
  16667. type: integer
  16668. scfcontractid:
  16669. description: SCF合同ID
  16670. type: string
  16671. scfwrbuybackid:
  16672. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  16673. type: integer
  16674. tradedate:
  16675. description: 交易日(yyyyMMdd)
  16676. type: string
  16677. type: object
  16678. models.WrClientAdSpaceConfig:
  16679. properties:
  16680. adspaceid:
  16681. description: 广告位ID
  16682. type: integer
  16683. adspacename:
  16684. description: 广告位名称
  16685. type: string
  16686. adspacetype:
  16687. description: 广告位类型 - 1:固定广告位
  16688. type: integer
  16689. areauserid:
  16690. description: 所属机构ID
  16691. type: integer
  16692. createdate:
  16693. description: 创建时间
  16694. type: string
  16695. imagepath:
  16696. description: 图片
  16697. type: string
  16698. modifierid:
  16699. description: 操作人
  16700. type: integer
  16701. recsize:
  16702. description: 推荐尺寸
  16703. type: string
  16704. title:
  16705. description: 标题
  16706. type: string
  16707. updatedate:
  16708. description: 更新时间
  16709. type: string
  16710. urlcontent:
  16711. description: 链接(地址\商品ID\功能菜单Key\appid)
  16712. type: string
  16713. urltype:
  16714. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  16715. type: integer
  16716. type: object
  16717. models.WrDeliveryAvalidHoldLB:
  16718. properties:
  16719. accountid:
  16720. description: 资金账号
  16721. type: integer
  16722. avalidqty:
  16723. description: 数量(可点选数量)
  16724. type: number
  16725. deliverygoodsid:
  16726. description: 品种id
  16727. type: integer
  16728. enumdicname:
  16729. description: 单位名称
  16730. type: string
  16731. goodsid:
  16732. description: x合约商品id
  16733. type: integer
  16734. ladingbillid:
  16735. description: 提单id
  16736. type: string
  16737. pgoodscode:
  16738. description: p商品代码(点价合约)
  16739. type: string
  16740. pgoodsid:
  16741. description: p商品id(点价合约)
  16742. type: integer
  16743. pgoodsname:
  16744. description: p商品名称(点价合约)
  16745. type: string
  16746. pricemove:
  16747. description: 升贴水
  16748. type: number
  16749. subnum:
  16750. description: 提单子id
  16751. type: integer
  16752. userid:
  16753. description: 用户id
  16754. type: integer
  16755. username:
  16756. description: 仓单持有人
  16757. type: string
  16758. warehousecode:
  16759. description: 仓库代码
  16760. type: string
  16761. warehouseid:
  16762. description: 仓库id
  16763. type: integer
  16764. warehousename:
  16765. description: 仓库名称
  16766. type: string
  16767. wrfactortypeid:
  16768. description: 仓单要素id
  16769. type: string
  16770. wrstandardcode:
  16771. description: 品代码
  16772. type: string
  16773. wrstandardid:
  16774. description: 品类d
  16775. type: integer
  16776. wrstandardname:
  16777. description: 品类名称
  16778. type: string
  16779. wrtypename:
  16780. description: 商品
  16781. type: string
  16782. xgoodscode:
  16783. description: x合约代码
  16784. type: string
  16785. xgoodsname:
  16786. description: x合约名称
  16787. type: string
  16788. type: object
  16789. models.WrDeliveryDetail:
  16790. properties:
  16791. accountid:
  16792. description: 账号ID
  16793. type: integer
  16794. averageprice:
  16795. description: 交割均价 = 交割金额 / 交割数量
  16796. type: number
  16797. begindate:
  16798. description: 开始交易日(yyyymmdd)
  16799. type: string
  16800. buyorsell:
  16801. description: 方向 - 0:买 1:卖
  16802. type: integer
  16803. deliveryamount:
  16804. description: 货款金额(X总货款+P总货款)
  16805. type: number
  16806. deliveryid:
  16807. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16808. type: string
  16809. deliveryorderid:
  16810. description: 申报单号
  16811. type: string
  16812. deliverypricemove:
  16813. description: 升贴水(升贴水总额)
  16814. type: number
  16815. deliveryqty:
  16816. description: 交收数量(点选数量)
  16817. type: number
  16818. deliverystatus:
  16819. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16820. type: integer
  16821. deliverytime:
  16822. description: 交割时间
  16823. type: string
  16824. deliverytotalamount:
  16825. description: 交收金额
  16826. type: number
  16827. enddate:
  16828. description: 结束交易日(yyyymmdd)
  16829. type: string
  16830. enumdicname:
  16831. description: 单位名称
  16832. type: string
  16833. matchaccountid:
  16834. description: 对手账号ID
  16835. type: integer
  16836. matchusername:
  16837. description: 对手方名称(仓单持有人)
  16838. type: string
  16839. p1goodsremainamount:
  16840. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16841. type: number
  16842. pdeliverycloseqty:
  16843. description: p合约平仓数量
  16844. type: number
  16845. pdeliveryprice:
  16846. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16847. type: number
  16848. pgoodscode:
  16849. description: 商品代码
  16850. type: string
  16851. pgoodsid:
  16852. description: p点选合约id
  16853. type: integer
  16854. pgoodsname:
  16855. description: 商品名称
  16856. type: string
  16857. ppricemode:
  16858. description: 点价价格方式 - 1:商品价 2:固定值
  16859. type: integer
  16860. tradedate:
  16861. description: 交易日(yyyymmdd)
  16862. type: string
  16863. userid:
  16864. description: 用户id
  16865. type: integer
  16866. username:
  16867. description: 用户名称
  16868. type: string
  16869. warehousename:
  16870. description: 仓库名称
  16871. type: string
  16872. wrfactortypeid:
  16873. description: 仓单要素类型ID
  16874. type: string
  16875. wrtypename:
  16876. description: 商品
  16877. type: string
  16878. xdeliverycloseqty:
  16879. description: 合约数量
  16880. type: number
  16881. xgoodsamount:
  16882. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16883. type: number
  16884. xgoodscode:
  16885. description: 商品代码
  16886. type: string
  16887. xgoodsid:
  16888. description: x交易合约ID
  16889. type: integer
  16890. xgoodsname:
  16891. description: 商品名称
  16892. type: string
  16893. type: object
  16894. models.WrDeliveryGoodsSection:
  16895. properties:
  16896. dglst:
  16897. description: 板块商品列表
  16898. items:
  16899. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16900. type: array
  16901. imagepath:
  16902. description: 图片地址
  16903. type: string
  16904. orderindex:
  16905. description: 排序
  16906. type: integer
  16907. sectionid:
  16908. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16909. = 1的版块1 - 云融指数
  16910. type: integer
  16911. sectionname:
  16912. description: 版块名称
  16913. type: string
  16914. sectiontype:
  16915. description: 版块类型 - 1:指数版块 2:普通版块
  16916. type: integer
  16917. type: object
  16918. models.WrDeliveryGoodsSectionConfig:
  16919. properties:
  16920. deliverygoodscode:
  16921. description: 现货商品代码
  16922. type: string
  16923. deliverygoodsid:
  16924. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16925. type: integer
  16926. deliverygoodsname:
  16927. description: 现货商品名称
  16928. type: string
  16929. orderindex:
  16930. description: 排序
  16931. type: integer
  16932. type: object
  16933. models.WrDraftUserInfo:
  16934. properties:
  16935. address:
  16936. description: 地址
  16937. type: string
  16938. attachment1:
  16939. description: 附件1
  16940. type: string
  16941. attachment2:
  16942. description: 附件2
  16943. type: string
  16944. attachment3:
  16945. description: 附件3
  16946. type: string
  16947. attachment4:
  16948. description: 附件4
  16949. type: string
  16950. attachment5:
  16951. description: 附件5
  16952. type: string
  16953. bankaccount:
  16954. description: 银行帐号 (加密存储)
  16955. type: string
  16956. bankaccountname:
  16957. description: 收款人名称
  16958. type: string
  16959. bankcardfrontphotourl:
  16960. description: 银行卡正面照地址
  16961. type: string
  16962. bankid:
  16963. description: 银行编码
  16964. type: string
  16965. bankname:
  16966. description: 银行名称
  16967. type: string
  16968. birthday:
  16969. description: 生日(个人:年月日)
  16970. type: string
  16971. biznature:
  16972. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16973. type: integer
  16974. bizscope:
  16975. description: 企业经营范围(企业)
  16976. type: string
  16977. biztype:
  16978. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16979. type: integer
  16980. cardbackphotourl:
  16981. description: 证件背面图片地址
  16982. type: string
  16983. cardfrontphotourl:
  16984. description: 证件正面图片地址
  16985. type: string
  16986. cardnum:
  16987. description: 证件号码(加密存储)
  16988. type: string
  16989. cardtypeid:
  16990. description: 证件类型ID
  16991. type: integer
  16992. cityid:
  16993. description: 市
  16994. type: integer
  16995. company:
  16996. description: 公司(个人)
  16997. type: string
  16998. contactcardbackphotourl:
  16999. description: 联系人证件背面图片地址
  17000. type: string
  17001. contactcardfrontphotourl:
  17002. description: 联系人证件正面图片地址
  17003. type: string
  17004. contactname:
  17005. description: 联系人
  17006. type: string
  17007. countryid:
  17008. description: 国家
  17009. type: integer
  17010. createtime:
  17011. description: 创建时间
  17012. type: string
  17013. creatorid:
  17014. description: 创建人
  17015. type: integer
  17016. creditquota:
  17017. description: 授信额度(金瑞)
  17018. type: number
  17019. customername:
  17020. description: 客户名称(企业名称)
  17021. type: string
  17022. districtid:
  17023. description: 地区
  17024. type: integer
  17025. email:
  17026. description: 邮件(加密存储)
  17027. type: string
  17028. fax:
  17029. description: 传真(加密存储)
  17030. type: string
  17031. halfbodyphotourl:
  17032. description: 半身照地址
  17033. type: string
  17034. hasencrypt:
  17035. description: 数据是否已加密 - 0:未加密 1:已加密
  17036. type: integer
  17037. headurl:
  17038. description: 头像地址
  17039. type: string
  17040. legalcardbackphotourl:
  17041. description: 法人身份证背面照地址
  17042. type: string
  17043. legalcardfrontphotourl:
  17044. description: 法人身份证正面照地址
  17045. type: string
  17046. legalpersonname:
  17047. description: 法人姓名(企业)
  17048. type: string
  17049. mobile:
  17050. description: 手机号码(加密存储)
  17051. type: string
  17052. mobile2:
  17053. description: 手机号码[明文-尚志]
  17054. type: string
  17055. modifierid:
  17056. description: 修改人
  17057. type: integer
  17058. modifiertime:
  17059. description: 修改时间
  17060. type: string
  17061. needinvoice:
  17062. description: 是否需要发票 - 0:不需要 1:需要
  17063. type: integer
  17064. nickname:
  17065. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17066. type: string
  17067. openmode:
  17068. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  17069. 6:苹果手机端注册 7:PC交易端注册"
  17070. type: integer
  17071. otherurl:
  17072. description: 其它图片地址[使用分号分隔]
  17073. type: string
  17074. postalcode:
  17075. description: 邮政编码
  17076. type: string
  17077. provinceid:
  17078. description: 省
  17079. type: integer
  17080. proxystatementurl:
  17081. description: 授权委托书
  17082. type: string
  17083. qq:
  17084. description: QQ(加密存储
  17085. type: string
  17086. remark:
  17087. description: 备注
  17088. type: string
  17089. sex:
  17090. description: '用户性别 0: 女 1: 男'
  17091. type: integer
  17092. signpdfurl:
  17093. description: 签约pdf文件
  17094. type: string
  17095. taxpayernum:
  17096. description: 纳税人识别号
  17097. type: string
  17098. telphone:
  17099. description: 联系电话(加密存储)
  17100. type: string
  17101. userid:
  17102. description: 用户ID
  17103. type: integer
  17104. userinfotype:
  17105. description: 用户信息类型 - 1:个人 2:企业
  17106. type: integer
  17107. userstatus:
  17108. description: 用户状态 - 1:正常 2:注销
  17109. type: integer
  17110. usertype:
  17111. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  17112. type: integer
  17113. wechat:
  17114. description: 微信(加密存储)
  17115. type: string
  17116. wskhinfo:
  17117. description: 开户申请信息(JSON)
  17118. type: string
  17119. type: object
  17120. models.WrFAProductDetail:
  17121. properties:
  17122. accountid:
  17123. description: 资金账号
  17124. type: integer
  17125. areauserid:
  17126. description: 金融机构ID
  17127. type: integer
  17128. financingdays:
  17129. description: 天数(天)
  17130. type: integer
  17131. interestminlen:
  17132. description: 最小起息天数
  17133. type: integer
  17134. interestrate:
  17135. description: 利率
  17136. type: number
  17137. interestratemode:
  17138. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17139. type: integer
  17140. interestsettlemode:
  17141. description: 结息方式 - 1:按日结息 3:按月结息
  17142. type: integer
  17143. interestsettlevalue:
  17144. description: 结息方式值
  17145. type: integer
  17146. isautoloan:
  17147. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  17148. type: integer
  17149. loantag:
  17150. description: '放款标识: "放款快" 或者为空'
  17151. type: string
  17152. marginratio:
  17153. description: 保证金比率质押率 - [仓单质押]
  17154. type: number
  17155. productdetailid:
  17156. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  17157. type: integer
  17158. productid:
  17159. description: 金融产品ID
  17160. type: integer
  17161. productname:
  17162. description: 产品名称
  17163. type: string
  17164. updatetime:
  17165. description: 更新时间
  17166. type: string
  17167. username:
  17168. description: 融出方
  17169. type: string
  17170. type: object
  17171. models.WrFactorTypeInfo:
  17172. properties:
  17173. deliverygoodscode:
  17174. description: 品种代码
  17175. type: string
  17176. deliverygoodsname:
  17177. description: 品种名称
  17178. type: string
  17179. dgfactoryitemid:
  17180. description: 选择项id
  17181. type: integer
  17182. dgfactoryitemtypeid:
  17183. description: 要素选择项ID (1-仓库 2-品牌)
  17184. type: integer
  17185. dgfactoryitemvalue:
  17186. description: 要素项值
  17187. type: string
  17188. itemtypename:
  17189. description: 要素项名称
  17190. type: string
  17191. optioncompare:
  17192. description: 选择比较串
  17193. type: string
  17194. warehouseid:
  17195. description: 仓库id
  17196. type: integer
  17197. wrfactortypeid:
  17198. description: 仓单要素ID
  17199. type: string
  17200. wrfactortypename:
  17201. description: 要素名称
  17202. type: string
  17203. wrfactortypename2:
  17204. description: 要素名称(不含仓库)
  17205. type: string
  17206. wrstandardcode:
  17207. description: 品类代码
  17208. type: string
  17209. wrstandardid:
  17210. description: 品类id
  17211. type: integer
  17212. wrstandardname:
  17213. description: 品类名称
  17214. type: string
  17215. type: object
  17216. models.WrFilterItem:
  17217. properties:
  17218. itemcode:
  17219. description: 代码
  17220. type: string
  17221. itemid:
  17222. description: 项id
  17223. type: integer
  17224. itemname:
  17225. description: 名称
  17226. type: string
  17227. itemtype:
  17228. description: 类型 1-品种 2-品类(商品) 3-仓库
  17229. type: integer
  17230. type: object
  17231. models.WrFinanceBuyApply:
  17232. properties:
  17233. applydate:
  17234. description: 申请时间
  17235. type: string
  17236. applystatus:
  17237. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  17238. type: integer
  17239. applyuserid:
  17240. description: 申请人
  17241. type: integer
  17242. auditdate:
  17243. description: 审核时间
  17244. type: string
  17245. auditremark:
  17246. description: 审核备注
  17247. type: string
  17248. audituserid:
  17249. description: 审核人
  17250. type: integer
  17251. buyaccountid:
  17252. description: 买方资金账号
  17253. type: integer
  17254. buyorsell:
  17255. description: 买卖 - 0:买 1:卖
  17256. type: integer
  17257. buyuserid:
  17258. description: 买方用户ID
  17259. type: integer
  17260. buyusername:
  17261. description: 买方名称
  17262. type: string
  17263. buywrtradeorderid:
  17264. description: 融资方买委托单ID
  17265. type: string
  17266. deliverygoodscode:
  17267. description: 品种代码
  17268. type: string
  17269. deliverygoodsid:
  17270. description: 品种ID
  17271. type: integer
  17272. deliverygoodsname:
  17273. description: 品种名称
  17274. type: string
  17275. deliverymonth:
  17276. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  17277. type: string
  17278. enumdicname:
  17279. description: 单位名称
  17280. type: string
  17281. financeaccountid:
  17282. description: 融资方资金帐户ID
  17283. type: integer
  17284. financeapplyid:
  17285. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17286. type: string
  17287. financeareauserid:
  17288. description: 融资方用户ID
  17289. type: string
  17290. financename:
  17291. description: 融出方名称
  17292. type: string
  17293. financetype:
  17294. description: 融资类型 1-融资回购
  17295. type: integer
  17296. financingdays:
  17297. description: 天数(天)
  17298. type: integer
  17299. freezebuymargin:
  17300. description: 冻结融资保证金(买方)
  17301. type: number
  17302. handleremark:
  17303. description: 处理备注
  17304. type: string
  17305. handlestatus:
  17306. description: 处理状态
  17307. type: integer
  17308. interestminlen:
  17309. description: 最小起息天数
  17310. type: integer
  17311. interestrate:
  17312. description: 利率
  17313. type: number
  17314. interestratemode:
  17315. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17316. type: integer
  17317. interestsettlemode:
  17318. description: 结息方式 - 1:按日结息 3:按月结息
  17319. type: integer
  17320. interestsettlevalue:
  17321. description: 结息方式值
  17322. type: integer
  17323. isautoloan:
  17324. description: 是否自动放款 - 0:手动 1:自动
  17325. type: integer
  17326. marginratio:
  17327. description: 保证金比率质押率 - [仓单质押]
  17328. type: number
  17329. marketid:
  17330. description: 市场ID
  17331. type: integer
  17332. minivalue:
  17333. description: 现货商品最小变动值
  17334. type: integer
  17335. optioncompare:
  17336. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17337. type: string
  17338. orderqty:
  17339. description: 委托数量(商品数量)
  17340. type: number
  17341. productdetailid:
  17342. description: 产品组合ID
  17343. type: integer
  17344. productid:
  17345. description: 金融产品ID
  17346. type: integer
  17347. productname:
  17348. description: 产品名称
  17349. type: string
  17350. remark:
  17351. description: 备注
  17352. type: string
  17353. scfcontractid:
  17354. description: 仓单回购合同ID
  17355. type: string
  17356. sellaccountid:
  17357. description: 卖方资金账号
  17358. type: integer
  17359. selluserid:
  17360. description: 卖方用户ID
  17361. type: integer
  17362. sellwrtradeorderid:
  17363. description: 卖方委托单ID
  17364. type: string
  17365. tradeamount:
  17366. description: 成交金额(借款金额)
  17367. type: number
  17368. tradedate:
  17369. description: 交易日(yyyyMMdd)
  17370. type: string
  17371. tradeprice:
  17372. description: 成交价格
  17373. type: number
  17374. warehouseid:
  17375. description: 仓库ID
  17376. type: integer
  17377. warehousename:
  17378. description: 仓库名称
  17379. type: string
  17380. wrfactortypeid:
  17381. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17382. type: string
  17383. wrfactortypename:
  17384. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17385. type: string
  17386. wrpricetype:
  17387. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  17388. type: integer
  17389. wrstandardcode:
  17390. description: 现货商品代码
  17391. type: string
  17392. wrstandardid:
  17393. description: 现货商品ID
  17394. type: integer
  17395. wrstandardname:
  17396. description: 商品名称
  17397. type: string
  17398. wrtypename:
  17399. description: 商品
  17400. type: string
  17401. type: object
  17402. models.WrFriendApply:
  17403. properties:
  17404. applicantid:
  17405. description: 申请人
  17406. type: integer
  17407. applyname:
  17408. description: 申请人名称
  17409. type: string
  17410. applysrc:
  17411. description: 申请来源 - 1:管理端 2:终端
  17412. type: integer
  17413. applystatus:
  17414. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17415. type: integer
  17416. applytime:
  17417. description: 申请时间
  17418. type: string
  17419. auditname:
  17420. description: 审核人名称
  17421. type: string
  17422. auditorid:
  17423. description: 审核人
  17424. type: integer
  17425. auditremark:
  17426. description: 审核备注
  17427. type: string
  17428. auditsrc:
  17429. description: 审核来源 - 1:管理端 2:终端
  17430. type: integer
  17431. audittime:
  17432. description: 审核时间
  17433. type: string
  17434. friendapplyid:
  17435. description: 申请ID(SEQ_FRIENDAPPLY)
  17436. type: string
  17437. friendname:
  17438. description: 好友名字(已脱敏)
  17439. type: string
  17440. frienduserid:
  17441. description: 好友用户ID
  17442. type: string
  17443. remark:
  17444. description: 备注
  17445. type: string
  17446. userid:
  17447. description: 申请人用户ID
  17448. type: integer
  17449. type: object
  17450. models.WrFtDeliveryGoods:
  17451. properties:
  17452. deliverygoodscode:
  17453. description: 品种代码
  17454. type: string
  17455. deliverygoodsid:
  17456. description: 品种ID
  17457. type: integer
  17458. deliverygoodsname:
  17459. description: 品种名称
  17460. type: string
  17461. wdlst:
  17462. description: 商品列表
  17463. items:
  17464. $ref: '#/definitions/models.WrFtWrstandard'
  17465. type: array
  17466. type: object
  17467. models.WrFtWrstandard:
  17468. properties:
  17469. enumdicname:
  17470. description: 单位名称
  17471. type: string
  17472. minivalue:
  17473. description: 最小变动值
  17474. type: integer
  17475. wrstandardcode:
  17476. description: 现货商品代码
  17477. type: string
  17478. wrstandardid:
  17479. description: 现货商品ID
  17480. type: integer
  17481. wrstandardname:
  17482. description: 商品名称
  17483. type: string
  17484. type: object
  17485. models.WrGoodsInfo:
  17486. properties:
  17487. haswr:
  17488. description: 0:仓单预售 1:仓单贸易
  17489. type: integer
  17490. lstitem:
  17491. description: 商品信息项
  17492. items:
  17493. $ref: '#/definitions/models.WrTypeItem'
  17494. type: array
  17495. lststep:
  17496. description: 履约规则
  17497. items:
  17498. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17499. type: array
  17500. marketid:
  17501. description: 市场id
  17502. type: integer
  17503. type: object
  17504. models.WrGoodsPerformanceStep:
  17505. properties:
  17506. autoid:
  17507. description: AutoID
  17508. type: integer
  17509. isauto:
  17510. description: 是否自动 - 0:不自动 1:自动
  17511. type: integer
  17512. remark:
  17513. description: 备注
  17514. type: string
  17515. stepdate:
  17516. description: 天数信息(T+N)
  17517. type: string
  17518. stepdays:
  17519. description: 距离上一步天数
  17520. type: integer
  17521. stepindex:
  17522. description: 步骤序号
  17523. type: integer
  17524. stepinfo:
  17525. description: 步骤信息(步骤名称+步骤值)
  17526. type: string
  17527. steptypeid:
  17528. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17529. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17530. type: integer
  17531. steptypename:
  17532. description: 步骤名称
  17533. type: string
  17534. stepvalue:
  17535. description: 步骤值
  17536. type: number
  17537. templateid:
  17538. description: 履约计划模板ID
  17539. type: integer
  17540. type: object
  17541. models.WrHoldLB:
  17542. properties:
  17543. accountid:
  17544. description: 持有人帐户ID
  17545. type: integer
  17546. bannerpicurl:
  17547. description: Banner图
  17548. type: string
  17549. createtime:
  17550. description: 创建时间(过户时间)
  17551. type: string
  17552. deliverygoodscode:
  17553. description: 品种代码
  17554. type: string
  17555. deliverygoodsid:
  17556. description: 品种ID
  17557. type: integer
  17558. deliverygoodsname:
  17559. description: 品种名称
  17560. type: string
  17561. enableqty:
  17562. description: 可用数量
  17563. type: number
  17564. enumdicname:
  17565. description: 单位名称
  17566. type: string
  17567. freezerqty:
  17568. description: 冻结数量
  17569. type: number
  17570. ladingbillid:
  17571. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17572. type: string
  17573. minivalue:
  17574. description: 现货商品最小变动值
  17575. type: integer
  17576. optioncompare:
  17577. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17578. type: string
  17579. parentsubnum:
  17580. description: 拆分父子单号
  17581. type: integer
  17582. pledgeqty:
  17583. description: 质押数量
  17584. type: number
  17585. qty:
  17586. description: 数量
  17587. type: number
  17588. subnum:
  17589. description: 提单子单号
  17590. type: integer
  17591. thumurls:
  17592. description: 缩略图
  17593. type: string
  17594. tradedate:
  17595. description: 交易日(yyyyMMdd)
  17596. type: string
  17597. userid:
  17598. description: 持有人ID
  17599. type: integer
  17600. warehouseid:
  17601. description: 仓库ID
  17602. type: integer
  17603. warehousename:
  17604. description: 仓库名称
  17605. type: string
  17606. wrfactortypeid:
  17607. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17608. type: string
  17609. wrfactortypename:
  17610. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17611. type: string
  17612. wrholdeno:
  17613. description: 仓单编号
  17614. type: string
  17615. wrid:
  17616. description: 仓单变更ID
  17617. type: string
  17618. wrstandardcode:
  17619. description: 现货商品代码
  17620. type: string
  17621. wrstandardid:
  17622. description: 现货商品ID
  17623. type: integer
  17624. wrstandardname:
  17625. description: 商品名称
  17626. type: string
  17627. wrtypename:
  17628. description: 商品
  17629. type: string
  17630. type: object
  17631. models.WrMarketTradeConfig:
  17632. properties:
  17633. basisdownratio:
  17634. description: 浮动价基差下限比例(仓单贸易)
  17635. type: number
  17636. basisupratio:
  17637. description: 浮动价基差上限比例(仓单贸易)
  17638. type: number
  17639. buychargealgorithm:
  17640. description: 买方手续费收取方式 1:比率 2:固定
  17641. type: integer
  17642. buychargealgorithm2:
  17643. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  17644. type: integer
  17645. buychargealgorithmvalue:
  17646. description: 买方手续费设置值(交易所部分)
  17647. type: number
  17648. buychargealgorithmvalue2:
  17649. description: 买方手续费设置值(会员部分)
  17650. type: number
  17651. buychargealgorithmvalue3:
  17652. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  17653. type: number
  17654. buychargealgorithmvalue4:
  17655. description: 回购买方手续费设置值(会员部分) --77:现货商城
  17656. type: number
  17657. buyfirstmarginalgorithm:
  17658. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  17659. type: integer
  17660. buyfirstmarginvalue:
  17661. description: 买方出价保证金设置值 - [竞拍]
  17662. type: number
  17663. buymarginalgorithm:
  17664. description: 买方保证金方式 - 1:比率 2:固定
  17665. type: integer
  17666. buymarginvalue:
  17667. description: 买方保证金设置值
  17668. type: number
  17669. buyreleaseratio:
  17670. description: 买方释放比率[2:分步履约]
  17671. type: number
  17672. executemode:
  17673. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  17674. type: integer
  17675. executeside:
  17676. description: 执行方[2:分步履约] - 1:买方 2:卖方
  17677. type: integer
  17678. failedchargealgorithm:
  17679. description: 流拍手续费收取方式 1:比率 2:固定
  17680. type: integer
  17681. failedchargevalue:
  17682. description: 流拍手续费设置值
  17683. type: number
  17684. failedchargevalue2:
  17685. description: 流拍卖方手续费设置值
  17686. type: number
  17687. holddays:
  17688. description: 合同期限[2:分步履约]
  17689. type: integer
  17690. listingmode:
  17691. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17692. type: integer
  17693. marketid:
  17694. description: 市场ID-仓单贸易、竞拍、预售
  17695. type: integer
  17696. minqty:
  17697. description: 最小执行量[2:分步履约]
  17698. type: number
  17699. modifierid:
  17700. description: 修改人
  17701. type: integer
  17702. nowrquotaflag:
  17703. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  17704. type: integer
  17705. performancetempid:
  17706. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17707. 立即执行(-1)
  17708. type: integer
  17709. performancetempid2:
  17710. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  17711. 立即执行
  17712. type: integer
  17713. performancetempid2s:
  17714. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17715. - 履约方式: 立即执行
  17716. type: string
  17717. performancetempids:
  17718. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  17719. - 履约方式: 立即执行(-1)
  17720. type: string
  17721. performanceway:
  17722. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  17723. type: integer
  17724. sellchargealgorithm:
  17725. description: 卖方手续费收取方式 1:比率 2:固定
  17726. type: integer
  17727. sellchargealgorithm2:
  17728. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  17729. type: integer
  17730. sellchargealgorithmvalue:
  17731. description: 卖方手续费设置值(交易所部分)
  17732. type: number
  17733. sellchargealgorithmvalue2:
  17734. description: 卖方手续费设置值(会员部分)
  17735. type: number
  17736. sellchargealgorithmvalue3:
  17737. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  17738. type: number
  17739. sellchargealgorithmvalue4:
  17740. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  17741. type: number
  17742. sellmarginalgorithm:
  17743. description: 卖方保证金方式 - 1:比率 2:固定
  17744. type: integer
  17745. sellmarginvalue:
  17746. description: 卖方保证金设置值
  17747. type: number
  17748. sellmarginvalue2:
  17749. description: 卖方保证金设置值(无仓单)
  17750. type: number
  17751. sellreleaseratio:
  17752. description: 卖方释放比率[2:分步履约]
  17753. type: number
  17754. updatetime:
  17755. description: 更新时间
  17756. type: string
  17757. type: object
  17758. models.WrOrderDetail:
  17759. properties:
  17760. accountid:
  17761. description: 交易账号(资金账号)
  17762. type: integer
  17763. allfriendsflag:
  17764. description: 是否全好友可见 - 0:否 1:是
  17765. type: integer
  17766. amount:
  17767. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  17768. type: number
  17769. bannerpicurl:
  17770. description: Banner图
  17771. type: string
  17772. begindate:
  17773. description: 开始交易日(yyyymmdd)
  17774. type: string
  17775. buyorsell:
  17776. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17777. type: integer
  17778. canbargain:
  17779. description: 是否可议价 - 0:不可 1:可
  17780. type: integer
  17781. cancelqty:
  17782. description: 撤销数量
  17783. type: number
  17784. canpart:
  17785. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  17786. type: integer
  17787. delistminqty:
  17788. description: 起摘数量
  17789. type: integer
  17790. deliverygoodscode:
  17791. description: 品种代码
  17792. type: string
  17793. deliverygoodsid:
  17794. description: 品种ID
  17795. type: integer
  17796. deliverygoodsname:
  17797. description: 品种名称
  17798. type: string
  17799. deliverymonth:
  17800. description: 交收月
  17801. type: string
  17802. enddate:
  17803. description: 结束交易日(yyyymmdd)
  17804. type: string
  17805. enumdicname:
  17806. description: 单位名称
  17807. type: string
  17808. fixedprice:
  17809. description: 固定价格 - [挂牌]
  17810. type: number
  17811. freezecharge:
  17812. description: 冻结手续费
  17813. type: number
  17814. freezemargin:
  17815. description: 冻结保证金(保证金)
  17816. type: number
  17817. futupricemove:
  17818. description: 期货升贴水
  17819. type: number
  17820. futushow:
  17821. description: 期货合约/升贴水
  17822. type: string
  17823. goodscode:
  17824. description: 期货合约
  17825. type: string
  17826. goodsid:
  17827. description: 期货商品id
  17828. type: integer
  17829. goodsname:
  17830. description: 商品名称
  17831. type: string
  17832. haswr:
  17833. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17834. type: integer
  17835. isspecified:
  17836. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17837. type: integer
  17838. ladingbillid:
  17839. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17840. type: string
  17841. marginvalue:
  17842. description: 保证金设置值(履约保证金)
  17843. type: number
  17844. marketid:
  17845. description: 市场ID
  17846. type: integer
  17847. matchusername:
  17848. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17849. type: string
  17850. minivalue:
  17851. description: 现货商品最小变动值
  17852. type: integer
  17853. optioncompare:
  17854. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17855. type: string
  17856. orderqty:
  17857. description: 委托数量
  17858. type: number
  17859. ordertime:
  17860. description: 委托时间(挂牌时间)
  17861. type: string
  17862. performancetemplateid:
  17863. description: 履约模板id
  17864. type: integer
  17865. pricemove:
  17866. description: 升贴水(浮动价时填写) - [挂牌]
  17867. type: number
  17868. taname:
  17869. description: 交易用户名称(资金账号名称)
  17870. type: string
  17871. thumurls:
  17872. description: 缩略图
  17873. type: string
  17874. tradedate:
  17875. description: 交易日(yyyyMMdd)
  17876. type: string
  17877. tradeprice:
  17878. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17879. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17880. type: number
  17881. tradeqty:
  17882. description: 成交数量
  17883. type: number
  17884. userid:
  17885. description: 用户ID
  17886. type: integer
  17887. validtime:
  17888. description: 挂牌有效期
  17889. type: string
  17890. validtype:
  17891. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17892. type: integer
  17893. warehouseid:
  17894. description: 仓库ID
  17895. type: integer
  17896. warehousename:
  17897. description: 仓库名称
  17898. type: string
  17899. wrfactortypeid:
  17900. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17901. type: string
  17902. wrfactortypename:
  17903. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17904. type: string
  17905. wrpricetype:
  17906. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17907. type: integer
  17908. wrstandardcode:
  17909. description: 现货商品代码
  17910. type: string
  17911. wrstandardid:
  17912. description: 现货商品ID
  17913. type: integer
  17914. wrstandardname:
  17915. description: 商品名称
  17916. type: string
  17917. wrtradeorderid:
  17918. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17919. type: string
  17920. wrtradeorderstatus:
  17921. 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:撤单解冻贷款失败
  17922. type: integer
  17923. wrtradetype:
  17924. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17925. type: integer
  17926. wrtypename:
  17927. description: 商品
  17928. type: string
  17929. type: object
  17930. models.WrOrderQuote:
  17931. properties:
  17932. bannerpicurl:
  17933. description: Banner图
  17934. type: string
  17935. buyprice:
  17936. description: 买价
  17937. type: number
  17938. buypricemove:
  17939. description: 买升贴水(基差)
  17940. type: number
  17941. buyqty:
  17942. description: 买量
  17943. type: number
  17944. deliverygoodscode:
  17945. description: 品种代码
  17946. type: string
  17947. deliverygoodsid:
  17948. description: 品种id
  17949. type: integer
  17950. deliverygoodsname:
  17951. description: 品种名称
  17952. type: string
  17953. deliverymonth:
  17954. description: 交收月
  17955. type: string
  17956. enumdicname:
  17957. description: 单位名称
  17958. type: string
  17959. goodscode:
  17960. description: 商品合约(浮动价列表才有)
  17961. type: string
  17962. goodsid:
  17963. description: 商品id(浮动价列表才有)
  17964. type: integer
  17965. minivalue:
  17966. description: 现货商品最小变动值
  17967. type: integer
  17968. pictureurls:
  17969. description: 详情图片(逗号分隔)
  17970. type: string
  17971. sellprice:
  17972. description: 卖价
  17973. type: number
  17974. sellpricemove:
  17975. description: 卖升贴水(基差)
  17976. type: number
  17977. sellqty:
  17978. description: 卖量
  17979. type: number
  17980. thumurls:
  17981. description: 缩略图片(1:1)(逗号分隔)
  17982. type: string
  17983. warehousecode:
  17984. description: 仓库代码
  17985. type: string
  17986. warehouseid:
  17987. description: 仓库id
  17988. type: integer
  17989. warehousename:
  17990. description: 仓库名称
  17991. type: string
  17992. wrfactortypeid:
  17993. description: 仓单要素id
  17994. type: string
  17995. wrfactortypename:
  17996. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17997. type: string
  17998. wrgoodsname:
  17999. description: 商品(商品名称+仓库要素名称 拼接)
  18000. type: string
  18001. wrstandardcode:
  18002. description: 商品代码
  18003. type: string
  18004. wrstandardid:
  18005. description: 商品id
  18006. type: integer
  18007. wrstandardname:
  18008. description: 商品名称
  18009. type: string
  18010. type: object
  18011. models.WrOrderQuoteDetail:
  18012. properties:
  18013. buyorsell:
  18014. description: 买卖 - 0:买 1:卖
  18015. type: integer
  18016. delistminqty:
  18017. description: 起摘数量
  18018. type: number
  18019. deliverymonth:
  18020. description: 交收月
  18021. type: string
  18022. enumdicname:
  18023. description: 单位名称
  18024. type: string
  18025. fixedprice:
  18026. description: 买(卖)价
  18027. type: number
  18028. marketid:
  18029. description: 市场id
  18030. type: integer
  18031. minivalue:
  18032. description: 现货商品最小变动值
  18033. type: integer
  18034. orderqty:
  18035. description: 买(卖)量(=委托量-成交量)
  18036. type: number
  18037. ordertime:
  18038. description: 委托时间
  18039. type: string
  18040. pricemove:
  18041. description: 买(卖)升贴水- 基差
  18042. type: number
  18043. userid:
  18044. description: 购买方(销售方)用户ID
  18045. type: integer
  18046. username:
  18047. description: 购买方(销售方)
  18048. type: string
  18049. wrtradeorderid:
  18050. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18051. type: string
  18052. type: object
  18053. models.WrOutInApply:
  18054. properties:
  18055. applyid:
  18056. description: 申请单id
  18057. type: string
  18058. applystatus:
  18059. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  18060. 8:已撤销
  18061. type: integer
  18062. applytime:
  18063. description: 申请时间
  18064. type: string
  18065. applytype:
  18066. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  18067. type: integer
  18068. bannerpicurl:
  18069. description: Banner图
  18070. type: string
  18071. begindate:
  18072. description: 开始交易日(yyyymmdd)
  18073. type: string
  18074. deliverygoodscode:
  18075. description: 品种代码
  18076. type: string
  18077. deliverygoodsid:
  18078. description: 品种ID
  18079. type: integer
  18080. deliverygoodsname:
  18081. description: 品种名称
  18082. type: string
  18083. enddate:
  18084. description: 结束交易日(yyyymmdd)
  18085. type: string
  18086. enumdicname:
  18087. description: 单位名称
  18088. type: string
  18089. expresscompany:
  18090. description: 物流公司
  18091. type: string
  18092. expressnum:
  18093. description: 物流单号
  18094. type: string
  18095. minivalue:
  18096. description: 现货商品最小变动值
  18097. type: integer
  18098. optioncompare:
  18099. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18100. type: string
  18101. qty:
  18102. description: 数量
  18103. type: integer
  18104. userid:
  18105. description: 用户id
  18106. type: integer
  18107. warehouseid:
  18108. description: 仓库ID
  18109. type: integer
  18110. warehousename:
  18111. description: 仓库名称
  18112. type: string
  18113. wrfactortypeid:
  18114. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18115. type: string
  18116. wrfactortypename:
  18117. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18118. type: string
  18119. wrstandardcode:
  18120. description: 现货商品代码
  18121. type: string
  18122. wrstandardid:
  18123. description: 现货商品ID
  18124. type: integer
  18125. wrstandardname:
  18126. description: 商品名称
  18127. type: string
  18128. wrtypename:
  18129. description: 商品
  18130. type: string
  18131. type: object
  18132. models.WrPerformancePlan:
  18133. properties:
  18134. activatemonth:
  18135. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  18136. type: string
  18137. amount:
  18138. description: 履约金额(总金额)
  18139. type: number
  18140. begindate:
  18141. description: 开始交易日(yyyymmdd)
  18142. type: string
  18143. buyaccountid:
  18144. description: 买方账号
  18145. type: integer
  18146. buyerfreezeamount:
  18147. description: 履约冻结(买履约)
  18148. type: number
  18149. buyerfreezeamountremain:
  18150. description: 履约冻结剩余(买履约)
  18151. type: number
  18152. buyorsell:
  18153. description: 买卖方向 0-买 1-卖
  18154. type: integer
  18155. buypaidamount:
  18156. description: 买方已冻/已扣金额 (已付金额)
  18157. type: number
  18158. buyusername:
  18159. description: 买方名字
  18160. type: string
  18161. contractid:
  18162. description: 合同ID
  18163. type: integer
  18164. createtime:
  18165. description: 创建时间
  18166. type: string
  18167. creatorid:
  18168. description: 创建人
  18169. type: integer
  18170. curstepdeadline:
  18171. description: 当前步骤到期时间
  18172. type: string
  18173. curstepid:
  18174. description: 当前步骤ID
  18175. type: string
  18176. curstepname:
  18177. description: 当前步骤名称
  18178. type: string
  18179. deliverygoodscode:
  18180. description: 品种代码
  18181. type: string
  18182. deliverygoodsid:
  18183. description: 品种ID
  18184. type: integer
  18185. deliverygoodsname:
  18186. description: 品种名称
  18187. type: string
  18188. enddate:
  18189. description: 结束交易日(yyyymmdd)
  18190. type: string
  18191. enumdicname:
  18192. description: 单位名称
  18193. type: string
  18194. expressfee:
  18195. description: 运费
  18196. type: number
  18197. expressfeeconfirmed:
  18198. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  18199. type: integer
  18200. hasovershort:
  18201. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  18202. type: integer
  18203. haswr:
  18204. description: 类型 0-仓单预售 1-仓单贸易
  18205. type: integer
  18206. marketid:
  18207. description: 市场ID
  18208. type: integer
  18209. middleaccountid:
  18210. description: 中间商资金账号ID
  18211. type: integer
  18212. middleuserid:
  18213. description: 中间商用户ID
  18214. type: integer
  18215. minivalue:
  18216. description: 现货商品最小变动值
  18217. type: integer
  18218. optioncompare:
  18219. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18220. type: string
  18221. overshortamount:
  18222. description: 溢短金额
  18223. type: number
  18224. overshortqty:
  18225. description: 溢短数量
  18226. type: number
  18227. paymenttype:
  18228. description: 付款方式 - 1:冻结 2:扣款
  18229. type: integer
  18230. performanceplanid:
  18231. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  18232. type: string
  18233. performancestatus:
  18234. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  18235. 9:超时待处理 10:超时关闭
  18236. type: integer
  18237. performancetype:
  18238. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  18239. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  18240. type: integer
  18241. qty:
  18242. description: 履约数量
  18243. type: number
  18244. relatedorderid:
  18245. description: 关联单号(履约类型的关联单号)
  18246. type: string
  18247. remark:
  18248. description: 备注
  18249. type: string
  18250. sellaccountid:
  18251. description: 卖方账号
  18252. type: integer
  18253. sellerfreezeamount:
  18254. description: 履约冻结(卖履约)
  18255. type: number
  18256. sellerfreezeamountremain:
  18257. description: 履约冻结剩余(卖履约)
  18258. type: number
  18259. sellreceivedamount:
  18260. description: 卖方已收金额
  18261. type: number
  18262. sellusername:
  18263. description: 卖方名字
  18264. type: string
  18265. shipremark:
  18266. description: 发货备注[物流单号]
  18267. type: string
  18268. starttime:
  18269. description: 开始时间
  18270. type: string
  18271. steptypeid:
  18272. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18273. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18274. type: integer
  18275. typename:
  18276. description: 履约类型 名称
  18277. type: string
  18278. unpaidamount:
  18279. description: 剩余款(待支付金额)
  18280. type: number
  18281. userid:
  18282. description: 用户id
  18283. type: integer
  18284. warehouseid:
  18285. description: 仓库ID
  18286. type: integer
  18287. warehousename:
  18288. description: 仓库名称
  18289. type: string
  18290. wrfactortypeid:
  18291. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18292. type: string
  18293. wrfactortypename:
  18294. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18295. type: string
  18296. wrstandardcode:
  18297. description: 现货商品代码
  18298. type: string
  18299. wrstandardid:
  18300. description: 现货商品ID
  18301. type: integer
  18302. wrstandardname:
  18303. description: 商品名称
  18304. type: string
  18305. wrtransferuserid:
  18306. description: 仓单受让用户
  18307. type: integer
  18308. wrtypename:
  18309. description: 商品
  18310. type: string
  18311. required:
  18312. - userid
  18313. type: object
  18314. models.WrPerformancePlanStep:
  18315. properties:
  18316. delaydays:
  18317. description: 延期申请天数
  18318. type: integer
  18319. deliverygoodscode:
  18320. description: 品种代码
  18321. type: string
  18322. deliverygoodsid:
  18323. description: 品种ID
  18324. type: integer
  18325. deliverygoodsname:
  18326. description: 品种名称
  18327. type: string
  18328. endtime:
  18329. description: 结束日期
  18330. type: string
  18331. enumdicname:
  18332. description: 单位名称
  18333. type: string
  18334. executeside:
  18335. description: 步骤执行方 - 1:买方 2:卖方
  18336. type: integer
  18337. handlestatus:
  18338. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  18339. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  18340. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  18341. type: integer
  18342. isauto:
  18343. description: 是否自动 - 0:不自动 1:自动
  18344. type: integer
  18345. islastreceivestep:
  18346. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  18347. type: integer
  18348. minivalue:
  18349. description: 现货商品最小变动值
  18350. type: integer
  18351. optioncompare:
  18352. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18353. type: string
  18354. overdays:
  18355. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  18356. type: integer
  18357. performancestepid:
  18358. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  18359. type: string
  18360. planid:
  18361. description: 所属履约计划ID
  18362. type: string
  18363. realamount:
  18364. description: 实际完成金额
  18365. type: number
  18366. relatedorderid:
  18367. description: 关联单号
  18368. type: string
  18369. remaindays:
  18370. description: 剩余天数
  18371. type: integer
  18372. remark:
  18373. description: 错误备注
  18374. type: string
  18375. starttime:
  18376. description: 开始日期
  18377. type: string
  18378. stepamount:
  18379. description: 步骤金额
  18380. type: number
  18381. stepdays:
  18382. description: 距离上一步天数(分钟)
  18383. type: integer
  18384. stepindex:
  18385. description: 步骤序号
  18386. type: integer
  18387. steplanchtype:
  18388. description: 步骤启动类型 - 1:系统自动 2:手动
  18389. type: integer
  18390. stepremark:
  18391. description: 步骤备注
  18392. type: string
  18393. stepstatus:
  18394. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  18395. type: integer
  18396. steptypeid:
  18397. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18398. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18399. type: integer
  18400. steptypename:
  18401. description: 步骤名称
  18402. type: string
  18403. stepvalue:
  18404. description: 步骤值
  18405. type: number
  18406. warehouseid:
  18407. description: 仓库ID
  18408. type: integer
  18409. warehousename:
  18410. description: 仓库名称
  18411. type: string
  18412. wrfactortypeid:
  18413. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18414. type: string
  18415. wrfactortypename:
  18416. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18417. type: string
  18418. wrstandardcode:
  18419. description: 现货商品代码
  18420. type: string
  18421. wrstandardid:
  18422. description: 现货商品ID
  18423. type: integer
  18424. wrstandardname:
  18425. description: 商品名称
  18426. type: string
  18427. wrtypename:
  18428. description: 商品
  18429. type: string
  18430. type: object
  18431. models.WrPerformanceStepType:
  18432. properties:
  18433. canauto:
  18434. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  18435. type: integer
  18436. steptypeid:
  18437. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  18438. type: integer
  18439. steptypename:
  18440. description: 步骤类型名称
  18441. type: string
  18442. type: object
  18443. models.WrPerformanceTemplateEx:
  18444. properties:
  18445. autoid:
  18446. description: AutoID 模板id
  18447. type: integer
  18448. createtime:
  18449. description: 创建时间
  18450. type: string
  18451. creatorid:
  18452. description: 创建人
  18453. type: integer
  18454. lstStep:
  18455. description: 步骤信息列表
  18456. items:
  18457. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18458. type: array
  18459. paymenttype:
  18460. description: 支付方式 - 1:冻结 2:扣款
  18461. type: integer
  18462. takemode:
  18463. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  18464. type: integer
  18465. templatename:
  18466. description: 模板名称
  18467. type: string
  18468. templatetype:
  18469. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  18470. (无仓单) 5:挂牌期权 6:竞拍-降价式
  18471. type: integer
  18472. userid:
  18473. description: 所属用户
  18474. type: integer
  18475. type: object
  18476. models.WrPosition:
  18477. properties:
  18478. accountid:
  18479. description: 帐户ID
  18480. type: integer
  18481. buyexcuteqty:
  18482. description: 采购履约中数量
  18483. type: number
  18484. creditcurqty:
  18485. description: 授信当前数量(预售仓单:预售当前量)
  18486. type: number
  18487. creditenableqty:
  18488. description: '授信可用数量(预售仓单: 可用数量)'
  18489. type: number
  18490. creditfreezeqty:
  18491. description: '授信冻结数量(预售仓单: 当前数量)'
  18492. type: number
  18493. credittotalqty:
  18494. description: 授信总数量(预售仓单:预售总量)
  18495. type: number
  18496. credittradeqty:
  18497. description: 授信成交数量(预售仓单:成交总量)
  18498. type: number
  18499. deliverygoodscode:
  18500. description: 品种代码
  18501. type: string
  18502. deliverygoodsid:
  18503. description: 品种ID
  18504. type: integer
  18505. deliverygoodsname:
  18506. description: 品种名称
  18507. type: string
  18508. enalbeqty:
  18509. description: 可用数量
  18510. type: number
  18511. enumdicname:
  18512. description: 单位名称
  18513. type: string
  18514. freezeqty:
  18515. description: 总冻结数量
  18516. type: number
  18517. haswr:
  18518. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18519. type: integer
  18520. minivalue:
  18521. description: 现货商品最小变动值
  18522. type: integer
  18523. modifytime:
  18524. description: 修改时间(过户时间)
  18525. type: string
  18526. optioncompare:
  18527. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18528. type: string
  18529. pledgeqty:
  18530. description: 质押数量
  18531. type: number
  18532. querytype:
  18533. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  18534. type: integer
  18535. sellexcuteqty:
  18536. description: 销售履约中数量
  18537. type: number
  18538. totalqty:
  18539. description: 总数量(库存数量)
  18540. type: number
  18541. warehouseid:
  18542. description: 仓库ID
  18543. type: integer
  18544. warehousename:
  18545. description: 仓库名称
  18546. type: string
  18547. wrfactortypeid:
  18548. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18549. type: string
  18550. wrfactortypename:
  18551. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18552. type: string
  18553. wrpositionid:
  18554. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18555. type: string
  18556. wrpositionno:
  18557. description: 仓单编号
  18558. type: string
  18559. wrstandardcode:
  18560. description: 现货商品代码
  18561. type: string
  18562. wrstandardid:
  18563. description: 现货商品ID
  18564. type: integer
  18565. wrstandardname:
  18566. description: 商品名称
  18567. type: string
  18568. wrtypename:
  18569. description: 商品
  18570. type: string
  18571. wruserid:
  18572. description: 持有人ID
  18573. type: integer
  18574. type: object
  18575. models.WrPreSaleInfo:
  18576. properties:
  18577. bannerpicurl:
  18578. description: Banner图
  18579. type: string
  18580. baseqty:
  18581. description: 中签基数
  18582. type: number
  18583. createtime:
  18584. description: 创建时间
  18585. type: string
  18586. deliverygoodsid:
  18587. description: 现货品种ID
  18588. type: integer
  18589. enddate:
  18590. description: 预售结束日期
  18591. type: string
  18592. enumdicname:
  18593. description: 单位名称
  18594. type: string
  18595. lotteryflag:
  18596. description: 摇号标识 - 0:未摇号 1:已摇号
  18597. type: integer
  18598. lotteryqty:
  18599. description: 摇号总量
  18600. type: number
  18601. luckyqty:
  18602. description: 已中签量
  18603. type: number
  18604. marketid:
  18605. description: 市场ID
  18606. type: integer
  18607. maxbuyqty:
  18608. description: 单人最大申购量
  18609. type: number
  18610. maxluckyqty:
  18611. description: 单人最大中签量
  18612. type: number
  18613. pictureurls:
  18614. description: 详情图片(逗号分隔)
  18615. type: string
  18616. placeqty:
  18617. description: 已配售量
  18618. type: number
  18619. presaleapplyid:
  18620. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18621. example: "0"
  18622. type: string
  18623. presaleqty:
  18624. description: 预售总量
  18625. type: number
  18626. presalestatus:
  18627. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  18628. type: integer
  18629. sellaccountid:
  18630. description: 发行方资金账户ID
  18631. type: integer
  18632. selluserid:
  18633. description: 发行方用户ID
  18634. type: integer
  18635. sellwrtradeorderid:
  18636. description: 发行方卖委托单ID
  18637. type: string
  18638. startdate:
  18639. description: 预售开始日期
  18640. type: string
  18641. takestartdate:
  18642. description: 提货开始日期
  18643. type: string
  18644. thumurls:
  18645. description: 缩略图片(1:1)(逗号分隔)
  18646. type: string
  18647. tradedate:
  18648. description: 交易日
  18649. type: string
  18650. unitid:
  18651. description: 单位ID
  18652. type: integer
  18653. unitprice:
  18654. description: 商品单价
  18655. type: number
  18656. username:
  18657. description: 发行方用户名称
  18658. type: string
  18659. warehousecode:
  18660. description: 仓库代码(仓库简称)
  18661. type: string
  18662. warehouseid:
  18663. description: 仓库ID
  18664. type: integer
  18665. warehousename:
  18666. description: 仓库名称
  18667. type: string
  18668. wrfactortypeid:
  18669. description: 仓单要素类型ID - 根据现货商品\仓库生成
  18670. example: "0"
  18671. type: string
  18672. wrstandardid:
  18673. description: 现货商品ID
  18674. type: integer
  18675. wrstandardname:
  18676. description: 现货商品名称
  18677. type: string
  18678. type: object
  18679. models.WrQuoteOrderMyq:
  18680. properties:
  18681. buyorsell:
  18682. description: 买卖 - 0:买 1:卖
  18683. type: integer
  18684. canbargain:
  18685. description: 是否可议价 - 0:不可 1:可
  18686. type: integer
  18687. canpart:
  18688. description: 是否允许部份摘牌 - 0:不允许 1:允许
  18689. type: integer
  18690. delistminqty:
  18691. description: 起摘数量
  18692. type: number
  18693. deliverygoodscode:
  18694. description: 品种代码
  18695. type: string
  18696. deliverygoodsid:
  18697. description: 品种ID
  18698. type: integer
  18699. deliverygoodsname:
  18700. description: 品种名称
  18701. type: string
  18702. deliverymonth:
  18703. description: 交收月
  18704. type: string
  18705. enumdicname:
  18706. description: 单位名称
  18707. type: string
  18708. fixedprice:
  18709. description: 买(卖)价
  18710. type: number
  18711. goodscode:
  18712. description: 商品合约代码
  18713. type: string
  18714. marginflag:
  18715. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  18716. type: integer
  18717. marginvalue:
  18718. description: 保证金设置值
  18719. type: number
  18720. minivalue:
  18721. description: 现货商品最小变动值
  18722. type: integer
  18723. orderqty:
  18724. description: 买(卖)量(=委托量-成交量)
  18725. type: number
  18726. ordertime:
  18727. description: 委托时间
  18728. type: string
  18729. performancetemplateid:
  18730. description: 履约模板id
  18731. type: integer
  18732. pricemove:
  18733. description: 买(卖)升贴水- 基差
  18734. type: number
  18735. templatename:
  18736. description: 履约模板名称
  18737. type: string
  18738. userid:
  18739. description: 购买方(销售方)用户ID
  18740. type: integer
  18741. username:
  18742. description: 购买方(销售方)
  18743. type: string
  18744. validtime:
  18745. description: 有效期限
  18746. type: string
  18747. validtype:
  18748. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18749. type: integer
  18750. warehousename:
  18751. description: 仓库名称
  18752. type: string
  18753. wrfactortypeid:
  18754. description: 仓单要素id
  18755. type: string
  18756. wrstandardcode:
  18757. description: 现货商品代码
  18758. type: string
  18759. wrstandardid:
  18760. description: 现货商品ID
  18761. type: integer
  18762. wrstandardname:
  18763. description: 商品名称
  18764. type: string
  18765. wrtradeorderid:
  18766. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18767. type: string
  18768. wrtypename:
  18769. description: 商品
  18770. type: string
  18771. type: object
  18772. models.WrReckonSpotGoodsTradeSum:
  18773. properties:
  18774. begindate:
  18775. description: 开始日期(结果含开始日期) yyyymmdd
  18776. type: string
  18777. enddate:
  18778. description: 结束日期(结果含结束日期) yyyymmdd
  18779. type: string
  18780. istoday:
  18781. description: 是否当日
  18782. type: boolean
  18783. marketid:
  18784. description: 市场ID
  18785. type: integer
  18786. price:
  18787. description: 价格 = 日成交金额 / 日成交数量
  18788. type: string
  18789. reckondate:
  18790. description: 日期 格式 yyyymmdd
  18791. type: string
  18792. tradeamount:
  18793. description: 日成交金额(当日单方向成交金额)
  18794. type: number
  18795. tradeqty:
  18796. description: 日成交数量(当日单方向成交数量)
  18797. type: number
  18798. wrstandardid:
  18799. description: 现货商品ID
  18800. type: integer
  18801. type: object
  18802. models.WrScfContract:
  18803. properties:
  18804. borroweruserid:
  18805. description: 借款用户ID
  18806. type: integer
  18807. buybackwrpositionqty:
  18808. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18809. type: number
  18810. closeinterest:
  18811. description: 已结利息 -> 已结费用
  18812. type: number
  18813. currisklevel:
  18814. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18815. type: integer
  18816. deadline:
  18817. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18818. type: string
  18819. deliverygoodscode:
  18820. description: 品种代码
  18821. type: string
  18822. deliverygoodsid:
  18823. description: 品种ID
  18824. type: integer
  18825. deliverygoodsname:
  18826. description: 品种名称
  18827. type: string
  18828. enumdicname:
  18829. description: 单位名称
  18830. type: string
  18831. financingdays:
  18832. description: 天数(天)
  18833. type: integer
  18834. initmargin:
  18835. description: 保证金 - [仓单回购]
  18836. type: number
  18837. interestamount:
  18838. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18839. type: number
  18840. interestdebt:
  18841. description: 利息欠款(记录负数) -> 费用欠款
  18842. type: number
  18843. interestminlen:
  18844. description: 最小起息天数
  18845. type: integer
  18846. interestrate:
  18847. description: 利率
  18848. type: number
  18849. interestratemode:
  18850. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18851. type: integer
  18852. interestsettlemode:
  18853. description: 结息方式 - 1:按日结息 3:按月结息
  18854. type: integer
  18855. interestsettlevalue:
  18856. description: 结息方式值
  18857. type: integer
  18858. isautoloan:
  18859. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18860. type: integer
  18861. lastcloseinterestday:
  18862. description: 最近结息日(yyyyMMdd)
  18863. type: string
  18864. lenderamount:
  18865. description: 贷款金额 -> 借款金额
  18866. type: number
  18867. lenderuserid:
  18868. description: 贷款方用户ID -> 融出方用户ID
  18869. type: integer
  18870. lenderusername:
  18871. description: 融出方
  18872. type: string
  18873. marginratio:
  18874. description: 保证金比率质押率 - [仓单质押]
  18875. type: number
  18876. marketid:
  18877. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18878. type: integer
  18879. minivalue:
  18880. description: 现货商品最小变动值
  18881. type: integer
  18882. optioncompare:
  18883. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18884. type: string
  18885. pricemove:
  18886. description: 估值升贴水值
  18887. type: number
  18888. productdetailid:
  18889. description: 产品组合ID
  18890. type: integer
  18891. productid:
  18892. description: 金融产品ID
  18893. type: integer
  18894. productname:
  18895. description: 产品名称
  18896. type: string
  18897. remainamount:
  18898. description: 合同剩余金额 -> 剩余金额
  18899. type: number
  18900. remainwrpositionqty:
  18901. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18902. type: number
  18903. remark:
  18904. description: 备注
  18905. type: string
  18906. scfcontractid:
  18907. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18908. type: string
  18909. scfcontractstatus:
  18910. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18911. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18912. type: integer
  18913. scfcontracttype:
  18914. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18915. type: integer
  18916. startinterestday:
  18917. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18918. type: string
  18919. totalinterest:
  18920. description: 已计利息 -> 已计费用
  18921. type: number
  18922. unpaidinterest:
  18923. description: 未结费用
  18924. type: number
  18925. updatetime:
  18926. description: 更新时间
  18927. type: string
  18928. warehouseid:
  18929. description: 仓库ID
  18930. type: integer
  18931. warehousename:
  18932. description: 仓库名称
  18933. type: string
  18934. wrfactortypeid:
  18935. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18936. type: string
  18937. wrfactortypename:
  18938. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18939. type: string
  18940. wrqty:
  18941. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18942. type: number
  18943. wrstandardcode:
  18944. description: 现货商品代码
  18945. type: string
  18946. wrstandardid:
  18947. description: 现货商品ID
  18948. type: integer
  18949. wrstandardname:
  18950. description: 商品名称
  18951. type: string
  18952. wrtypename:
  18953. description: 商品
  18954. type: string
  18955. type: object
  18956. models.WrScfContractInterest:
  18957. properties:
  18958. closeinterest:
  18959. description: 已结利息
  18960. type: number
  18961. closeintereststatus:
  18962. description: 结息状态 - 1:未结 2:已结
  18963. type: integer
  18964. closetime:
  18965. description: 结息时间
  18966. type: string
  18967. closetradedate:
  18968. description: 结息交易日
  18969. type: string
  18970. creatorid:
  18971. description: 操作人ID
  18972. type: integer
  18973. dayrate:
  18974. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18975. type: number
  18976. interest:
  18977. description: 利息
  18978. type: number
  18979. interestamount:
  18980. description: 计息金额
  18981. type: number
  18982. interestday:
  18983. description: 计息日(yyyyMMdd)
  18984. type: string
  18985. scfcontractid:
  18986. description: SCF合同ID
  18987. type: string
  18988. scfcontractinterestid:
  18989. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18990. type: integer
  18991. updatetime:
  18992. description: 更新时间
  18993. type: string
  18994. type: object
  18995. models.WrSearchUser:
  18996. properties:
  18997. userid:
  18998. description: 用户ID
  18999. type: integer
  19000. username:
  19001. description: 用户名称(已脱敏)
  19002. type: string
  19003. username2:
  19004. description: 用户名称(未脱敏)
  19005. type: string
  19006. usertype:
  19007. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  19008. type: integer
  19009. required:
  19010. - username
  19011. type: object
  19012. models.WrSiteColumnDetail:
  19013. properties:
  19014. brief:
  19015. description: 简介
  19016. type: string
  19017. context:
  19018. description: 内容
  19019. type: string
  19020. coverimage:
  19021. description: 封面图片
  19022. type: string
  19023. creaedate:
  19024. description: 创建时间
  19025. type: string
  19026. id:
  19027. description: ID(SEQ_SITE_COLUMNDETAIL)
  19028. type: integer
  19029. istop:
  19030. description: 是否置顶 - 0:不置 1:置顶
  19031. type: integer
  19032. publishdate:
  19033. description: 发布日期
  19034. type: string
  19035. title:
  19036. description: 标题
  19037. type: string
  19038. updatedate:
  19039. description: 修改时间
  19040. type: string
  19041. type: object
  19042. models.WrSpecialMatchOrder:
  19043. properties:
  19044. amount:
  19045. description: 金额 = 数量 * 价格
  19046. type: number
  19047. buyorsell:
  19048. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19049. type: integer
  19050. cancelqty:
  19051. description: 撤销数量
  19052. type: number
  19053. deliverygoodscode:
  19054. description: 品种代码
  19055. type: string
  19056. deliverygoodsid:
  19057. description: 品种ID
  19058. type: integer
  19059. deliverygoodsname:
  19060. description: 品种名称
  19061. type: string
  19062. enumdicname:
  19063. description: 单位名称
  19064. type: string
  19065. fixedprice:
  19066. description: 固定价格(价格)
  19067. type: number
  19068. haswr:
  19069. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19070. type: integer
  19071. isspecified:
  19072. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  19073. type: integer
  19074. marketid:
  19075. description: 市场ID
  19076. type: integer
  19077. matchuserid:
  19078. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  19079. type: integer
  19080. matchusername:
  19081. description: 指定方
  19082. type: string
  19083. minivalue:
  19084. description: 现货商品最小变动值
  19085. type: integer
  19086. optioncompare:
  19087. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19088. type: string
  19089. orderqty:
  19090. description: 委托数量
  19091. type: number
  19092. ordertime:
  19093. description: 委托时间
  19094. type: string
  19095. pricemove:
  19096. description: 升贴水(浮动价时填写) - [挂牌]
  19097. type: number
  19098. tradedate:
  19099. description: 交易日(yyyyMMdd)
  19100. type: string
  19101. tradeprice:
  19102. description: 成交价格
  19103. type: number
  19104. tradeqty:
  19105. description: 成交数量
  19106. type: number
  19107. userid:
  19108. description: 用户ID
  19109. type: integer
  19110. username:
  19111. description: 发起方
  19112. type: string
  19113. warehouseid:
  19114. description: 仓库ID
  19115. type: integer
  19116. warehousename:
  19117. description: 仓库名称
  19118. type: string
  19119. wrfactortypeid:
  19120. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19121. type: string
  19122. wrfactortypename:
  19123. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19124. type: string
  19125. wrpricetype:
  19126. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19127. type: integer
  19128. wrstandardcode:
  19129. description: 现货商品代码
  19130. type: string
  19131. wrstandardid:
  19132. description: 现货商品ID
  19133. type: integer
  19134. wrstandardname:
  19135. description: 商品名称
  19136. type: string
  19137. wrtradeorderid:
  19138. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19139. type: string
  19140. wrtradeorderstatus:
  19141. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  19142. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  19143. type: integer
  19144. wrtradetype:
  19145. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19146. type: integer
  19147. wrtypename:
  19148. description: 商品
  19149. type: string
  19150. type: object
  19151. models.WrSpotGroupTradeSum:
  19152. properties:
  19153. deliverygoodscode:
  19154. description: 现货品种代码
  19155. type: string
  19156. deliverygoodsid:
  19157. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19158. type: integer
  19159. deliverygoodsname:
  19160. description: 现货品种名称
  19161. type: string
  19162. lastavgprice:
  19163. description: 上上个交易日价格(前2天价格)
  19164. type: string
  19165. lastreckondate:
  19166. description: 上上个交易日(前2天交易日)
  19167. type: string
  19168. reckondate:
  19169. description: 上个交易日(前1天交易日)
  19170. type: string
  19171. todayavgprice:
  19172. description: 上个交易日价格(前1天价格)
  19173. type: string
  19174. updown:
  19175. description: 涨跌
  19176. type: string
  19177. updownratio:
  19178. description: 涨幅(已格式化, 直接显示即可)
  19179. type: string
  19180. type: object
  19181. models.WrSpotGroupTradeSumDetail:
  19182. properties:
  19183. deliverygoodsid:
  19184. description: 现货商品id
  19185. type: integer
  19186. price:
  19187. description: 价格
  19188. type: number
  19189. reckondate:
  19190. description: 日期(yyymmdd, 如:20211031)
  19191. type: string
  19192. type: object
  19193. models.WrSpotGroupTradeSumEx:
  19194. properties:
  19195. lst:
  19196. description: 指数列表
  19197. items:
  19198. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  19199. type: array
  19200. prereckondate:
  19201. description: 上上个交易日(yyymmdd)
  19202. type: string
  19203. reckondate:
  19204. description: 上个交易日(yyyymmdd)
  19205. type: string
  19206. type: object
  19207. models.WrStandardFactoryItem:
  19208. properties:
  19209. dgfactoryitemid:
  19210. description: 选择项id
  19211. type: integer
  19212. dgfactoryitemvalue:
  19213. description: 要素项值
  19214. type: string
  19215. warehouseid:
  19216. description: 仓库id
  19217. type: integer
  19218. type: object
  19219. models.WrStandardFactoryItemEx:
  19220. properties:
  19221. dgfactoryitemtypeid:
  19222. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  19223. type: integer
  19224. itemlst:
  19225. description: 要素项列表
  19226. items:
  19227. $ref: '#/definitions/models.WrStandardFactoryItem'
  19228. type: array
  19229. itemtypename:
  19230. description: 要素项类型名称
  19231. type: string
  19232. wrstandardid:
  19233. description: 品类
  19234. type: integer
  19235. type: object
  19236. models.WrTradeDetail:
  19237. properties:
  19238. accountid:
  19239. description: 资金账号
  19240. type: integer
  19241. bannerpicurl:
  19242. description: Banner图
  19243. type: string
  19244. begindate:
  19245. description: 开始交易日(yyyymmdd)
  19246. type: string
  19247. buyorsell:
  19248. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19249. type: integer
  19250. chargevalue:
  19251. description: 手续费
  19252. type: number
  19253. deliverygoodscode:
  19254. description: 品种代码
  19255. type: string
  19256. deliverygoodsid:
  19257. description: 品种ID
  19258. type: integer
  19259. deliverygoodsname:
  19260. description: 品种名称
  19261. type: string
  19262. deliverymonth:
  19263. description: 交收月
  19264. type: string
  19265. enddate:
  19266. description: 结束交易日(yyyymmdd)
  19267. type: string
  19268. enumdicname:
  19269. description: 单位名称
  19270. type: string
  19271. haswr:
  19272. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19273. type: integer
  19274. marketid:
  19275. description: 市场ID
  19276. type: integer
  19277. matchaccountid:
  19278. description: 对手账号
  19279. type: integer
  19280. matchusername:
  19281. description: 对手方
  19282. type: string
  19283. minivalue:
  19284. description: 现货商品最小变动值
  19285. type: integer
  19286. optioncompare:
  19287. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19288. type: string
  19289. thumurls:
  19290. description: 缩略图
  19291. type: string
  19292. tradedate:
  19293. description: 交易日(yyyyMMdd)
  19294. type: string
  19295. tradeprice:
  19296. description: 成交价格
  19297. type: number
  19298. tradeqty:
  19299. description: 成交数量
  19300. type: number
  19301. tradetime:
  19302. description: 成交时间
  19303. type: string
  19304. userid:
  19305. description: 用户ID
  19306. type: integer
  19307. warehouseid:
  19308. description: 仓库ID
  19309. type: integer
  19310. warehousename:
  19311. description: 仓库名称
  19312. type: string
  19313. wrfactortypeid:
  19314. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19315. type: string
  19316. wrfactortypename:
  19317. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19318. type: string
  19319. wrstandardcode:
  19320. description: 现货商品代码
  19321. type: string
  19322. wrstandardid:
  19323. description: 现货商品ID
  19324. type: integer
  19325. wrstandardname:
  19326. description: 商品名称
  19327. type: string
  19328. wrtradedetailid:
  19329. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19330. type: string
  19331. wrtradetype:
  19332. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19333. type: integer
  19334. wrtypename:
  19335. description: 商品
  19336. type: string
  19337. type: object
  19338. models.WrTradeOrderDetail:
  19339. properties:
  19340. buyorsell:
  19341. description: 买卖方向 0-买 1-卖
  19342. type: integer
  19343. goodsid:
  19344. description: 商品id
  19345. type: integer
  19346. orderid:
  19347. description: 委托单号
  19348. type: string
  19349. orderprice:
  19350. description: 委托价格
  19351. type: number
  19352. orderqty:
  19353. description: 委托数量
  19354. type: integer
  19355. userid:
  19356. description: 用户id
  19357. type: integer
  19358. username:
  19359. description: 用户名称(已脱敏)
  19360. type: string
  19361. type: object
  19362. models.WrTypeItem:
  19363. properties:
  19364. name:
  19365. description: 名称
  19366. type: string
  19367. value:
  19368. description: 值
  19369. type: string
  19370. type: object
  19371. models.WrUserFriend:
  19372. properties:
  19373. friendname:
  19374. description: 朋友名称(已脱敏)
  19375. type: string
  19376. frienduserid:
  19377. description: 朋友id
  19378. type: integer
  19379. isfriend:
  19380. description: 是否好友 0-不是 1-是
  19381. type: integer
  19382. userid:
  19383. description: 用户id
  19384. type: integer
  19385. type: object
  19386. models.WrUserReceiptInfo:
  19387. properties:
  19388. address:
  19389. description: 地址[发票类型:企业]
  19390. type: string
  19391. autoid:
  19392. description: AutoID
  19393. type: integer
  19394. contactinfo:
  19395. description: 联系方式
  19396. type: string
  19397. idnum:
  19398. description: 身份证号码[发票类型:个人]
  19399. type: string
  19400. isdefault:
  19401. description: 是否默认地址 - 0:否 1:是
  19402. type: integer
  19403. receiptaccount:
  19404. description: 发票帐号[发票类型:企业]
  19405. type: string
  19406. receiptbank:
  19407. description: 发票开户行[发票类型:企业]
  19408. type: string
  19409. receipttype:
  19410. description: 发票类型 - 1:个人 2:企业
  19411. type: integer
  19412. taxpayerid:
  19413. description: 纳税人识别号
  19414. type: string
  19415. userid:
  19416. description: 用户ID
  19417. type: integer
  19418. username:
  19419. description: 户名(个人姓名或企业名称)
  19420. type: string
  19421. type: object
  19422. models.XHBRAND:
  19423. properties:
  19424. brandid:
  19425. description: 品牌id
  19426. type: integer
  19427. brandname:
  19428. description: 品牌名称
  19429. type: string
  19430. isvalid:
  19431. description: 是否有效 0-无效 1-有效
  19432. type: integer
  19433. type: object
  19434. models.XHDeliveryGoods:
  19435. properties:
  19436. areauserid:
  19437. description: 所属机构
  19438. type: integer
  19439. bdlst:
  19440. description: 品牌列表
  19441. items:
  19442. $ref: '#/definitions/models.XHBRAND'
  19443. type: array
  19444. deliverygoodscode:
  19445. description: 现货品种代码
  19446. type: string
  19447. deliverygoodsid:
  19448. description: 现货品种ID(SEQ_DELIVERYGOODS)
  19449. type: integer
  19450. deliverygoodsname:
  19451. description: 现货品种名称
  19452. type: string
  19453. dgstatus:
  19454. description: 品种状态 - 作废 - 0:未激活 1:正常
  19455. type: integer
  19456. filterSubEmpty:
  19457. description: 过滤下级为空的
  19458. type: integer
  19459. isvalid:
  19460. description: 是否有效 - 0:无效 1:有效
  19461. type: integer
  19462. remark:
  19463. description: 备注
  19464. type: string
  19465. unitid:
  19466. description: 单位id(目前看,数据库中是空值)
  19467. type: integer
  19468. wdlst:
  19469. description: 品类(现货商品)列表
  19470. items:
  19471. $ref: '#/definitions/models.XHWrstandard'
  19472. type: array
  19473. type: object
  19474. models.XHMiddleGoods:
  19475. properties:
  19476. GPLST:
  19477. description: 期货品种列表
  19478. items:
  19479. $ref: '#/definitions/models.TBGoodsGroup'
  19480. type: array
  19481. convertratio:
  19482. description: 拆算系数
  19483. type: number
  19484. costratio:
  19485. description: 成本权重
  19486. type: number
  19487. deliverygoodsid:
  19488. description: 现货商品id
  19489. type: integer
  19490. enumdicname:
  19491. description: 单位名称
  19492. type: string
  19493. middlegoodscode:
  19494. description: 套保品种代码
  19495. type: string
  19496. middlegoodsid:
  19497. description: 套保品种id
  19498. type: integer
  19499. middlegoodsname:
  19500. description: 套保品种名称
  19501. type: string
  19502. unitid:
  19503. description: 单位id
  19504. type: integer
  19505. type: object
  19506. models.XHWrstandard:
  19507. properties:
  19508. bannerpicurl:
  19509. description: banner图
  19510. type: string
  19511. deliverygoodsid:
  19512. description: 品种ID
  19513. type: integer
  19514. enumdicname:
  19515. description: 单位名称
  19516. type: string
  19517. mglst:
  19518. description: 套保品列表
  19519. items:
  19520. $ref: '#/definitions/models.XHMiddleGoods'
  19521. type: array
  19522. pictureurls:
  19523. description: 详情图片(逗号分隔)
  19524. type: string
  19525. thumurls:
  19526. description: 缩略图片(1:1)(逗号分隔)
  19527. type: string
  19528. unitid:
  19529. description: 单位id
  19530. type: integer
  19531. vatrate:
  19532. description: 增值税率
  19533. type: number
  19534. wrstandardcode:
  19535. description: 现货商品代码
  19536. type: string
  19537. wrstandardid:
  19538. description: 现货商品ID(SEQ_WRSTANDARD)
  19539. type: integer
  19540. wrstandardname:
  19541. description: 现货商品名称
  19542. type: string
  19543. type: object
  19544. models.XhcpSellBackApplyEx:
  19545. properties:
  19546. applyremark:
  19547. description: 申请备注
  19548. type: string
  19549. expirytype:
  19550. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19551. type: integer
  19552. goodsspec:
  19553. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19554. type: integer
  19555. holeflag:
  19556. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19557. type: integer
  19558. isunopened:
  19559. description: 是否原封 - 1:否 2:是
  19560. type: integer
  19561. mpflag:
  19562. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19563. type: integer
  19564. openflag:
  19565. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19566. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19567. type: integer
  19568. phonenum:
  19569. description: 联系电话
  19570. type: string
  19571. userid:
  19572. description: 所属用户ID
  19573. type: integer
  19574. zpflag:
  19575. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19576. type: integer
  19577. required:
  19578. - userid
  19579. type: object
  19580. models.Xhcpsellbackapply:
  19581. properties:
  19582. applyid:
  19583. description: 申请人
  19584. type: integer
  19585. applyremark:
  19586. description: 申请备注
  19587. type: string
  19588. applysrc:
  19589. description: 申请来源 - 1:管理端 2:终端
  19590. type: integer
  19591. applystatus:
  19592. description: 申请状态 - 1:待确认 2:已处理
  19593. type: integer
  19594. applytime:
  19595. description: 申请时间
  19596. type: string
  19597. auditremark:
  19598. description: 审核备注
  19599. type: string
  19600. auditsrc:
  19601. description: 审核来源 - 1:管理端 2:终端
  19602. type: integer
  19603. expirytype:
  19604. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  19605. type: integer
  19606. goodsspec:
  19607. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  19608. type: integer
  19609. holeflag:
  19610. description: 是否破洞[原封] - 1:无破洞 2:破洞
  19611. type: integer
  19612. isunopened:
  19613. description: 是否原封 - 1:否 2:是
  19614. type: integer
  19615. mpflag:
  19616. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  19617. type: integer
  19618. openflag:
  19619. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  19620. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  19621. type: integer
  19622. phonenum:
  19623. description: 联系电话
  19624. type: string
  19625. sellbackapplyid:
  19626. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  19627. type: string
  19628. userid:
  19629. description: 所属用户ID
  19630. type: integer
  19631. zpflag:
  19632. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  19633. type: integer
  19634. required:
  19635. - userid
  19636. type: object
  19637. order.QueryHisTradeDetailRsp:
  19638. properties:
  19639. accountid:
  19640. description: 账户ID[报价币种]
  19641. type: integer
  19642. advanceratio:
  19643. description: 首付比率
  19644. type: number
  19645. buildtype:
  19646. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19647. type: integer
  19648. buyorsell:
  19649. description: 方向 - 0:买 1:卖
  19650. type: integer
  19651. charge:
  19652. description: 手续费
  19653. type: number
  19654. closecharge:
  19655. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19656. type: number
  19657. closeexchagechargevalue:
  19658. description: 平仓交易所手续费设置值
  19659. type: number
  19660. closefeealgorithm:
  19661. description: 平仓手续费收取方式 1:比率 2:固定
  19662. type: integer
  19663. closememberchargevalue:
  19664. description: 平仓会员手续费设置值
  19665. type: number
  19666. closepl:
  19667. description: 平仓盈亏
  19668. type: number
  19669. closepl2:
  19670. description: 平仓盈亏[逐笔]
  19671. type: number
  19672. closeqty:
  19673. description: 平仓数量(先建后平操作 需要记录)
  19674. type: number
  19675. creditamount:
  19676. description: 授信金额
  19677. type: number
  19678. decimalplace:
  19679. description: 商品报价小数位
  19680. type: integer
  19681. enumdicname:
  19682. description: 单位名称
  19683. type: string
  19684. gcaccountid:
  19685. description: 账户ID[合约币种]
  19686. type: integer
  19687. goodscode:
  19688. description: 商品代码
  19689. type: string
  19690. goodsid:
  19691. description: 商品ID
  19692. type: integer
  19693. goodsname:
  19694. description: 商品名称
  19695. type: string
  19696. goodunitid:
  19697. description: 商品单位id
  19698. type: integer
  19699. histradedate:
  19700. description: 历史交易日
  19701. type: string
  19702. intclosepl:
  19703. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19704. type: integer
  19705. isconfirmexercise:
  19706. description: 是否确认行权- 0:否 1:是
  19707. type: integer
  19708. ismain:
  19709. description: 是否主单 - 0:不是 1:是
  19710. type: integer
  19711. ispreexercise:
  19712. description: 是否预申报- 0:否 1:是
  19713. type: integer
  19714. isreckoned:
  19715. description: 是否结算 - 0:未结算 1:已结算
  19716. type: integer
  19717. isvaliddata:
  19718. description: 是否有效 - 0:无效 1:有效
  19719. type: integer
  19720. listingselecttype:
  19721. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19722. type: integer
  19723. marketid:
  19724. description: 市场ID
  19725. type: integer
  19726. marketname:
  19727. description: 市场名称
  19728. type: string
  19729. matchaccountid:
  19730. description: 对手账号id
  19731. type: integer
  19732. memberuserid:
  19733. description: 会员id 个人投资者 需要填写
  19734. type: integer
  19735. opencharge:
  19736. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19737. type: number
  19738. openexchagechargevalue:
  19739. description: 建仓交易所手续费设置值
  19740. type: number
  19741. openfeealgorithm:
  19742. description: 建仓手续费收取方式 1:比率 2:固定
  19743. type: integer
  19744. openmemberchargevalue:
  19745. description: 建仓会员手续费设置值
  19746. type: number
  19747. openqty:
  19748. description: 开仓数量(先建后平操作 需要记录)
  19749. type: number
  19750. optiontype:
  19751. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19752. type: integer
  19753. orderid:
  19754. description: 委托单号
  19755. type: string
  19756. payamount:
  19757. description: 支付金额(付款金额)
  19758. type: number
  19759. performanceplanid:
  19760. description: 履约计划ID[期权]
  19761. type: integer
  19762. performancestatus:
  19763. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19764. type: integer
  19765. preexerciseprice:
  19766. description: 预申报价格
  19767. type: number
  19768. premium:
  19769. description: 权利金 - [持仓单的权利金]
  19770. type: number
  19771. qtydecimalplace:
  19772. description: 商品报价小数位
  19773. type: integer
  19774. recvamount:
  19775. description: 到账金额 = 成交金额 - 手续费
  19776. type: number
  19777. relatedouttradeid:
  19778. description: 关联外部成交单ID
  19779. type: integer
  19780. status:
  19781. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19782. type: integer
  19783. totalamount:
  19784. description: 订单总额 = 成交金额 + 手续费
  19785. type: number
  19786. tradeamount:
  19787. description: 成交金额[账户币种,用于所有权]
  19788. type: number
  19789. tradedate:
  19790. description: 交易日(yyyyMMdd)
  19791. type: string
  19792. tradeid:
  19793. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19794. type: string
  19795. trademode:
  19796. description: 交易模式
  19797. type: integer
  19798. tradeprice:
  19799. description: 成交价格
  19800. type: number
  19801. tradeproperty:
  19802. description: 交易属性
  19803. type: integer
  19804. tradeqty:
  19805. description: 成交数量
  19806. type: number
  19807. tradetime:
  19808. description: 成交时间
  19809. type: string
  19810. tradetype:
  19811. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19812. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19813. type: integer
  19814. required:
  19815. - accountid
  19816. - buyorsell
  19817. - goodsid
  19818. - histradedate
  19819. - marketid
  19820. - memberuserid
  19821. - orderid
  19822. - tradeamount
  19823. - tradedate
  19824. - tradeid
  19825. - tradeprice
  19826. - tradeqty
  19827. - tradetime
  19828. type: object
  19829. order.QueryHisTradeOrderDetailRsp:
  19830. properties:
  19831. accountid:
  19832. description: 账户ID[报价币种]
  19833. type: integer
  19834. buildtype:
  19835. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19836. type: integer
  19837. buyorsell:
  19838. description: 买卖 - 0:买 1:卖
  19839. type: integer
  19840. cancelorderid:
  19841. description: 撤单单号(撤单时填写)
  19842. type: string
  19843. cancelqty:
  19844. description: 撤单数量
  19845. type: number
  19846. clientordertime:
  19847. description: 客户端委托时间
  19848. type: string
  19849. clientticket:
  19850. description: 客户端流水号
  19851. type: string
  19852. clienttype:
  19853. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19854. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19855. type: integer
  19856. closeexchagechargevalue:
  19857. description: 平仓交易所手续费设置值
  19858. type: number
  19859. closefeealgorithm:
  19860. description: 平仓手续费收取方式 1:比率 2:固定
  19861. type: integer
  19862. closefreezecharge:
  19863. description: 平仓冻结手续费(先建后平操作,需要记录)
  19864. type: number
  19865. closememberchargevalue:
  19866. description: 平仓会员手续费设置值
  19867. type: number
  19868. closeqty:
  19869. description: 平仓数量(先建后平操作 需要记录)
  19870. type: number
  19871. closetradeqty:
  19872. description: 平仓成交数量(先建后平操作,需要记录)
  19873. type: number
  19874. closeunfreezecharge:
  19875. description: 平仓解冻手续费(先建后平操作,需要记录)
  19876. type: number
  19877. decimalplace:
  19878. description: 商品报价小数位
  19879. type: integer
  19880. delistingtype:
  19881. description: 摘牌类型 - 1:价格最优 2:点选成交
  19882. type: integer
  19883. enumdicname:
  19884. description: 单位名称
  19885. type: string
  19886. freezecharge:
  19887. description: 冻结手续费
  19888. type: number
  19889. freezemargin:
  19890. description: 冻结保证金(冻结交易金额)
  19891. type: number
  19892. gcaccountid:
  19893. description: 账户ID[合约币种]
  19894. type: integer
  19895. goodscode:
  19896. description: 商品代码
  19897. type: string
  19898. goodsid:
  19899. description: 商品ID
  19900. type: integer
  19901. goodsname:
  19902. description: 商品名称
  19903. type: string
  19904. goodunitid:
  19905. description: 商品单位id
  19906. type: integer
  19907. histradedate:
  19908. description: 历史交易日
  19909. type: string
  19910. isconfirmexercise:
  19911. description: 是否确认行权- 0:否 1:是
  19912. type: integer
  19913. ispreexercise:
  19914. description: 是否预申报- 0:否 1:是
  19915. type: integer
  19916. isvaliddata:
  19917. description: 是否有效 - 0:无效 1:有效
  19918. type: integer
  19919. listingselecttype:
  19920. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19921. type: integer
  19922. marginalgorithm:
  19923. description: 保证金收取方式 1:比率 2:固定
  19924. type: integer
  19925. marginvalue:
  19926. description: 即市保证金设置值
  19927. type: number
  19928. marketid:
  19929. description: 市场ID
  19930. type: integer
  19931. marketmaxsub:
  19932. description: 市价最大偏移范围
  19933. type: number
  19934. marketname:
  19935. description: 市场名称
  19936. type: string
  19937. memberuserid:
  19938. description: 所属会员UserID
  19939. type: integer
  19940. openexchagechargevalue:
  19941. description: 建仓交易所手续费设置值
  19942. type: number
  19943. openfeealgorithm:
  19944. description: 建仓手续费收取方式 1:比率 2:固定
  19945. type: integer
  19946. openfreezecharge:
  19947. description: 开仓冻结手续费(先建后平操作,需要记录)
  19948. type: number
  19949. openmemberchargevalue:
  19950. description: 建仓会员手续费设置值
  19951. type: number
  19952. openqty:
  19953. description: 开仓数量(先建后平操作,需要记录)
  19954. type: number
  19955. opentradeqty:
  19956. description: 开仓成交数量(先建后平操作,需要记录)
  19957. type: number
  19958. openunfreezecharge:
  19959. description: 开仓解冻手续费(先建后平操作,需要记录)
  19960. type: number
  19961. operatetype:
  19962. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19963. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19964. 15:管理端协议转让
  19965. type: integer
  19966. operatorid:
  19967. description: 登录账号(LoginID)
  19968. type: integer
  19969. optiontype:
  19970. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19971. type: integer
  19972. orderid:
  19973. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19974. type: string
  19975. orderprice:
  19976. description: 委托价格
  19977. type: number
  19978. orderqty:
  19979. description: 委托数量
  19980. type: number
  19981. ordersrc:
  19982. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19983. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19984. type: integer
  19985. orderstatus:
  19986. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19987. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19988. 16:成交失败违约(荷兰式竞拍专用)
  19989. type: integer
  19990. ordertime:
  19991. description: 委托时间
  19992. type: string
  19993. preexerciseprice:
  19994. description: 预申报价格
  19995. type: number
  19996. premium:
  19997. description: 权利金
  19998. type: number
  19999. preorderid:
  20000. description: 关联预埋单号(止盈止损单时填写)
  20001. type: string
  20002. pricemode:
  20003. description: '取价方式 - 1:市价 2: 限价'
  20004. type: integer
  20005. qtydecimalplace:
  20006. description: 成交量小数位
  20007. type: integer
  20008. quoteid:
  20009. description: 报价单ID
  20010. type: integer
  20011. relatedid:
  20012. description: 关联单号(交割单)
  20013. type: string
  20014. retcode:
  20015. description: 错误代码
  20016. type: integer
  20017. sessionid:
  20018. description: 会话ID
  20019. type: integer
  20020. tradedate:
  20021. description: 交易日(yyyyMMdd)
  20022. type: string
  20023. trademode:
  20024. description: 交易模式
  20025. type: integer
  20026. tradeproperty:
  20027. description: 交易属性
  20028. type: integer
  20029. tradeqty:
  20030. description: 成交数量
  20031. type: number
  20032. unfreezecharge:
  20033. description: 解冻手续费
  20034. type: number
  20035. unfreezemargin:
  20036. description: 解冻保证金
  20037. type: number
  20038. updatetime:
  20039. description: 更新时间
  20040. type: string
  20041. uuid:
  20042. description: 发起端唯一id
  20043. type: string
  20044. validtime:
  20045. description: 有效期限
  20046. type: string
  20047. validtype:
  20048. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20049. type: integer
  20050. volumetype:
  20051. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20052. type: integer
  20053. required:
  20054. - accountid
  20055. - buildtype
  20056. - buyorsell
  20057. - goodsid
  20058. - histradedate
  20059. - marketid
  20060. - memberuserid
  20061. - operatetype
  20062. - orderid
  20063. - orderqty
  20064. - ordertime
  20065. - pricemode
  20066. - tradedate
  20067. - validtype
  20068. type: object
  20069. order.QueryTradeDetailRsp:
  20070. properties:
  20071. accountid:
  20072. description: 账户ID[报价币种]
  20073. type: integer
  20074. advanceratio:
  20075. description: 首付比率
  20076. type: number
  20077. buildtype:
  20078. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20079. type: integer
  20080. buyorsell:
  20081. description: 方向 - 0:买 1:卖
  20082. type: integer
  20083. charge:
  20084. description: 手续费
  20085. type: number
  20086. closecharge:
  20087. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20088. type: number
  20089. closeexchagechargevalue:
  20090. description: 平仓交易所手续费设置值
  20091. type: number
  20092. closefeealgorithm:
  20093. description: 平仓手续费收取方式 1:比率 2:固定
  20094. type: integer
  20095. closememberchargevalue:
  20096. description: 平仓会员手续费设置值
  20097. type: number
  20098. closepl:
  20099. description: 平仓盈亏
  20100. type: number
  20101. closepl2:
  20102. description: 平仓盈亏[逐笔]
  20103. type: number
  20104. closeqty:
  20105. description: 平仓数量(先建后平操作 需要记录)
  20106. type: number
  20107. creditamount:
  20108. description: 授信金额
  20109. type: number
  20110. decimalplace:
  20111. description: 商品报价小数位
  20112. type: integer
  20113. enumdicname:
  20114. description: 单位名称
  20115. type: string
  20116. gcaccountid:
  20117. description: 账户ID[合约币种]
  20118. type: integer
  20119. goodscode:
  20120. description: 商品代码
  20121. type: string
  20122. goodsid:
  20123. description: 商品ID
  20124. type: integer
  20125. goodsname:
  20126. description: 商品名称
  20127. type: string
  20128. goodunitid:
  20129. description: 商品单位id
  20130. type: integer
  20131. intclosepl:
  20132. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20133. type: integer
  20134. isconfirmexercise:
  20135. description: 是否确认行权- 0:否 1:是
  20136. type: integer
  20137. ismain:
  20138. description: 是否主单 - 0:不是 1:是
  20139. type: integer
  20140. ispreexercise:
  20141. description: 是否预申报- 0:否 1:是
  20142. type: integer
  20143. isreckoned:
  20144. description: 是否结算 - 0:未结算 1:已结算
  20145. type: integer
  20146. listingselecttype:
  20147. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20148. type: integer
  20149. marketid:
  20150. description: 市场ID
  20151. type: integer
  20152. marketname:
  20153. description: 市场名称
  20154. type: string
  20155. matchaccountid:
  20156. description: 对手账号id
  20157. type: integer
  20158. memberuserid:
  20159. description: 会员id 个人投资者 需要填写
  20160. type: integer
  20161. opencharge:
  20162. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20163. type: number
  20164. openexchagechargevalue:
  20165. description: 建仓交易所手续费设置值
  20166. type: number
  20167. openfeealgorithm:
  20168. description: 建仓手续费收取方式 1:比率 2:固定
  20169. type: integer
  20170. openmemberchargevalue:
  20171. description: 建仓会员手续费设置值
  20172. type: number
  20173. openqty:
  20174. description: 开仓数量(先建后平操作 需要记录)
  20175. type: number
  20176. optiontype:
  20177. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20178. type: integer
  20179. orderid:
  20180. description: 委托单号
  20181. type: string
  20182. payamount:
  20183. description: 支付金额(付款金额)
  20184. type: number
  20185. performanceplanid:
  20186. description: 履约计划ID[期权]
  20187. type: integer
  20188. performancestatus:
  20189. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20190. type: integer
  20191. preexerciseprice:
  20192. description: 预申报价格
  20193. type: number
  20194. premium:
  20195. description: 权利金 - [持仓单的权利金]
  20196. type: number
  20197. qtydecimalplace:
  20198. description: 商品报价小数位
  20199. type: integer
  20200. recvamount:
  20201. description: 到账金额 = 成交金额 - 手续费
  20202. type: number
  20203. relatedouttradeid:
  20204. description: 关联外部成交单ID
  20205. type: integer
  20206. status:
  20207. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20208. type: integer
  20209. totalamount:
  20210. description: 订单总额 = 成交金额 + 手续费
  20211. type: number
  20212. tradeamount:
  20213. description: 成交金额[账户币种,用于所有权]
  20214. type: number
  20215. tradedate:
  20216. description: 交易日(yyyyMMdd)
  20217. type: string
  20218. tradeid:
  20219. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20220. type: string
  20221. trademode:
  20222. description: 交易模式
  20223. type: integer
  20224. tradeprice:
  20225. description: 成交价格
  20226. type: number
  20227. tradeproperty:
  20228. description: 交易属性
  20229. type: integer
  20230. tradeqty:
  20231. description: 成交数量
  20232. type: number
  20233. tradetime:
  20234. description: 成交时间
  20235. type: string
  20236. tradetype:
  20237. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  20238. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  20239. type: integer
  20240. required:
  20241. - accountid
  20242. - buyorsell
  20243. - goodsid
  20244. - marketid
  20245. - memberuserid
  20246. - orderid
  20247. - tradeamount
  20248. - tradedate
  20249. - tradeid
  20250. - tradeprice
  20251. - tradeqty
  20252. - tradetime
  20253. type: object
  20254. order.QueryTradeOrderDetailRsp:
  20255. properties:
  20256. accountid:
  20257. description: 账户ID[报价币种]
  20258. type: integer
  20259. buildtype:
  20260. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  20261. type: integer
  20262. buyorsell:
  20263. description: 买卖 - 0:买 1:卖
  20264. type: integer
  20265. cancelorderid:
  20266. description: 撤单单号(撤单时填写)
  20267. type: string
  20268. cancelqty:
  20269. description: 撤单数量
  20270. type: number
  20271. clienttype:
  20272. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  20273. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  20274. type: integer
  20275. closefreezecharge:
  20276. description: 平仓冻结手续费(先建后平操作,需要记录)
  20277. type: number
  20278. closeqty:
  20279. description: 平仓数量(先建后平操作 需要记录)
  20280. type: number
  20281. closetradeqty:
  20282. description: 平仓成交数量(先建后平操作,需要记录)
  20283. type: number
  20284. closeunfreezecharge:
  20285. description: 平仓解冻手续费(先建后平操作,需要记录)
  20286. type: number
  20287. decimalplace:
  20288. description: 商品报价小数位
  20289. type: integer
  20290. delistingtype:
  20291. description: 摘牌类型 - 1:价格最优 2:点选成交
  20292. type: integer
  20293. enableqty:
  20294. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  20295. type: number
  20296. enumdicname:
  20297. description: 单位名称
  20298. type: string
  20299. freezecharge:
  20300. description: 冻结手续费
  20301. type: number
  20302. freezemargin:
  20303. description: 冻结保证金(冻结交易金额)
  20304. type: number
  20305. goodscode:
  20306. description: 商品代码
  20307. type: string
  20308. goodsid:
  20309. description: 商品ID
  20310. type: integer
  20311. goodsname:
  20312. description: 商品名称
  20313. type: string
  20314. goodunitid:
  20315. description: 商品单位id
  20316. type: integer
  20317. listingselecttype:
  20318. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20319. type: integer
  20320. marketid:
  20321. description: 市场ID
  20322. type: integer
  20323. marketname:
  20324. description: 市场名称
  20325. type: string
  20326. openfreezecharge:
  20327. description: 开仓冻结手续费(先建后平操作,需要记录)
  20328. type: number
  20329. openqty:
  20330. description: 开仓数量(先建后平操作,需要记录)
  20331. type: number
  20332. opentradeqty:
  20333. description: 开仓成交数量(先建后平操作,需要记录)
  20334. type: number
  20335. openunfreezecharge:
  20336. description: 开仓解冻手续费(先建后平操作,需要记录)
  20337. type: number
  20338. operatetype:
  20339. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  20340. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  20341. 15:管理端协议转让
  20342. type: integer
  20343. operatorid:
  20344. description: 登录账号(LoginID)
  20345. type: integer
  20346. orderid:
  20347. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20348. type: string
  20349. orderprice:
  20350. description: 委托价格
  20351. type: number
  20352. orderqty:
  20353. description: 委托数量
  20354. type: number
  20355. ordersrc:
  20356. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  20357. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  20358. type: integer
  20359. orderstatus:
  20360. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  20361. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  20362. 16:成交失败违约(荷兰式竞拍专用)
  20363. type: integer
  20364. ordertime:
  20365. description: 委托时间
  20366. type: string
  20367. preorderid:
  20368. description: 关联预埋单号(止盈止损单时填写)
  20369. type: string
  20370. pricemode:
  20371. description: '取价方式 - 1:市价 2: 限价'
  20372. type: integer
  20373. qtydecimalplace:
  20374. description: 商品报价小数位
  20375. type: integer
  20376. relatedid:
  20377. description: 关联单号(交割单)
  20378. type: string
  20379. tradedate:
  20380. description: 交易日(yyyyMMdd)
  20381. type: string
  20382. trademode:
  20383. description: 交易模式
  20384. type: integer
  20385. tradeqty:
  20386. description: 成交数量
  20387. type: number
  20388. unfreezecharge:
  20389. description: 解冻手续费
  20390. type: number
  20391. unfreezemargin:
  20392. description: 解冻保证金
  20393. type: number
  20394. validtime:
  20395. description: 有效期限
  20396. type: string
  20397. validtype:
  20398. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  20399. type: integer
  20400. volumetype:
  20401. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  20402. type: integer
  20403. required:
  20404. - accountid
  20405. - buildtype
  20406. - buyorsell
  20407. - goodsid
  20408. - marketid
  20409. - operatetype
  20410. - orderqty
  20411. - ordertime
  20412. - pricemode
  20413. - tradedate
  20414. - validtype
  20415. type: object
  20416. order.QueryTradePositionRsp:
  20417. properties:
  20418. accountid:
  20419. description: 资金账户
  20420. type: integer
  20421. agreeunit:
  20422. description: 合约单位
  20423. type: number
  20424. averageprice:
  20425. description: 持仓均价
  20426. type: number
  20427. buyorsell:
  20428. description: 方向 - 0:买 1:卖
  20429. type: integer
  20430. closetotalqty:
  20431. description: 平仓总数量
  20432. type: number
  20433. curholderamount:
  20434. description: 当前持仓总金额[商品币种]
  20435. type: number
  20436. curpositionqty:
  20437. description: 当前持仓总数量
  20438. type: number
  20439. currencyid:
  20440. description: 报价货币ID
  20441. type: integer
  20442. curtdposition:
  20443. description: 期末今日头寸
  20444. type: number
  20445. decimalplace:
  20446. description: 报价小数位
  20447. type: integer
  20448. enableqty:
  20449. description: 可用量
  20450. type: number
  20451. fretdposition:
  20452. description: 冻结今日头寸
  20453. type: number
  20454. frozenqty:
  20455. description: 持仓冻结数量
  20456. type: number
  20457. goodscode:
  20458. description: 商品代码
  20459. type: string
  20460. goodsid:
  20461. description: 商品Id
  20462. type: integer
  20463. goodsname:
  20464. description: 商品名称
  20465. type: string
  20466. goodunit:
  20467. description: 报价单位
  20468. type: string
  20469. goodunitid:
  20470. description: 报价单位ID
  20471. type: integer
  20472. holderamount:
  20473. description: 期初持仓总金额[商品币种]
  20474. type: number
  20475. lastprice:
  20476. description: 最新价
  20477. type: number
  20478. marketamount:
  20479. description: 市值
  20480. type: number
  20481. marketid:
  20482. description: 所属市场ID
  20483. type: integer
  20484. openreqqty:
  20485. description: 开仓申请数量(用于比较最大持仓数量)
  20486. type: number
  20487. opentotalqty:
  20488. description: 开仓总数量
  20489. type: number
  20490. otherfrozenqty:
  20491. description: 持仓其他冻结数量(交割冻结)
  20492. type: number
  20493. positionpl:
  20494. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  20495. * 合约单位
  20496. type: number
  20497. positionplrate:
  20498. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  20499. type: number
  20500. positionqty:
  20501. description: 期初持仓数量
  20502. type: number
  20503. qtydecimalplace:
  20504. description: 成交量小数位
  20505. type: integer
  20506. refgoodscode:
  20507. description: 参考商品代码
  20508. type: string
  20509. refgoodsid:
  20510. description: 参考商品ID
  20511. type: integer
  20512. tnqty:
  20513. description: T+N冻结总量
  20514. type: number
  20515. tnusedqty:
  20516. description: T+N使用量(可以使用T+N的冻结数量)
  20517. type: number
  20518. trademode:
  20519. description: 交易模式
  20520. type: integer
  20521. tradeproperty:
  20522. description: 交易属性
  20523. type: integer
  20524. usedmargin:
  20525. description: 占用保证金[商品币种]
  20526. type: number
  20527. required:
  20528. - goodsid
  20529. type: object
  20530. pb.GoodsMarginCfgStruct:
  20531. properties:
  20532. CustomerTypeID:
  20533. description: 投资者客户类型
  20534. type: integer
  20535. GoodsID:
  20536. description: 商品ID
  20537. type: integer
  20538. IsDefault:
  20539. description: 是否默认标志位
  20540. type: integer
  20541. LockMarginValue:
  20542. description: 锁仓保证金
  20543. type: number
  20544. MarginAlgorithm:
  20545. description: 保证金计算方式
  20546. type: integer
  20547. MarketMarginValue:
  20548. description: 即市保证金值
  20549. type: number
  20550. RealMarginAlgorithm:
  20551. description: 实付保证金计算方式
  20552. type: integer
  20553. RealMarginValue:
  20554. description: 实付比例
  20555. type: number
  20556. ReckonMarginValue:
  20557. description: 结算保证金值
  20558. type: number
  20559. type: object
  20560. quote.HistoryData:
  20561. properties:
  20562. c:
  20563. description: 收盘价
  20564. type: number
  20565. f:
  20566. description: 是否补充数据
  20567. type: boolean
  20568. h:
  20569. description: 最高价
  20570. type: number
  20571. hv:
  20572. description: 持仓量
  20573. type: integer
  20574. l:
  20575. description: 最低价
  20576. type: number
  20577. o:
  20578. description: 开盘价
  20579. type: number
  20580. s:
  20581. description: 结算价,日线周期(包括)以上才有
  20582. type: number
  20583. ts:
  20584. description: 时间
  20585. type: string
  20586. tt:
  20587. description: 总金额
  20588. type: number
  20589. tv:
  20590. description: 总量(成交量)
  20591. type: integer
  20592. type: object
  20593. quote.HistoryTikData:
  20594. properties:
  20595. AV:
  20596. description: 卖量
  20597. type: integer
  20598. Ask:
  20599. description: 卖价
  20600. type: number
  20601. BV:
  20602. description: 买量
  20603. type: integer
  20604. Bid:
  20605. description: 买价
  20606. type: number
  20607. HI:
  20608. description: 单笔持仓
  20609. type: integer
  20610. HV:
  20611. description: 持仓量
  20612. type: integer
  20613. PE:
  20614. description: 现价
  20615. type: number
  20616. TDR:
  20617. description: 交易方向,0:买 1:卖
  20618. type: integer
  20619. TK:
  20620. description: 交易类型
  20621. type: integer
  20622. TS:
  20623. description: 行情时间文本
  20624. type: string
  20625. TT:
  20626. description: 现金额
  20627. type: number
  20628. Vol:
  20629. description: 现量
  20630. type: integer
  20631. type: object
  20632. quote.QueryQuoteDayRsp:
  20633. properties:
  20634. ask:
  20635. description: 卖1
  20636. type: number
  20637. ask2:
  20638. description: 卖2
  20639. type: number
  20640. ask3:
  20641. description: 卖3
  20642. type: number
  20643. ask4:
  20644. description: 卖4
  20645. type: number
  20646. ask5:
  20647. description: 卖5
  20648. type: number
  20649. ask6:
  20650. description: 卖6
  20651. type: number
  20652. ask7:
  20653. description: 卖7
  20654. type: number
  20655. ask8:
  20656. description: 卖8
  20657. type: number
  20658. ask9:
  20659. description: 卖9
  20660. type: number
  20661. ask10:
  20662. description: 卖10
  20663. type: number
  20664. askorderid:
  20665. description: 卖单号1
  20666. type: integer
  20667. askorderid2:
  20668. description: 卖单号2
  20669. type: integer
  20670. askorderid3:
  20671. description: 卖单号3
  20672. type: integer
  20673. askorderid4:
  20674. description: 卖单号4
  20675. type: integer
  20676. askorderid5:
  20677. description: 卖单号5
  20678. type: integer
  20679. askordervolume:
  20680. description: 卖单量1
  20681. type: integer
  20682. askordervolume2:
  20683. description: 卖单量2
  20684. type: integer
  20685. askordervolume3:
  20686. description: 卖单量3
  20687. type: integer
  20688. askordervolume4:
  20689. description: 卖单量4
  20690. type: integer
  20691. askordervolume5:
  20692. description: 卖单量5
  20693. type: integer
  20694. askordervolume6:
  20695. description: 卖单量6
  20696. type: integer
  20697. askordervolume7:
  20698. description: 卖单量7
  20699. type: integer
  20700. askordervolume8:
  20701. description: 卖单量8
  20702. type: integer
  20703. askordervolume9:
  20704. description: 卖单量9
  20705. type: integer
  20706. askordervolume10:
  20707. description: 卖单量10
  20708. type: integer
  20709. askqueueinfo:
  20710. description: 大利市卖港股用
  20711. type: string
  20712. askvolume:
  20713. description: 卖量1
  20714. type: integer
  20715. askvolume2:
  20716. description: 卖量2
  20717. type: integer
  20718. askvolume3:
  20719. description: 卖量3
  20720. type: integer
  20721. askvolume4:
  20722. description: 卖量4
  20723. type: integer
  20724. askvolume5:
  20725. description: 卖量5
  20726. type: integer
  20727. askvolume6:
  20728. description: 卖量6
  20729. type: integer
  20730. askvolume7:
  20731. description: 卖量7
  20732. type: integer
  20733. askvolume8:
  20734. description: 卖量8
  20735. type: integer
  20736. askvolume9:
  20737. description: 卖量9
  20738. type: integer
  20739. askvolume10:
  20740. description: 卖量10
  20741. type: integer
  20742. averageprice:
  20743. description: 均价
  20744. type: number
  20745. bid:
  20746. description: 买1
  20747. type: number
  20748. bid2:
  20749. description: 买2
  20750. type: number
  20751. bid3:
  20752. description: 买3
  20753. type: number
  20754. bid4:
  20755. description: 买4
  20756. type: number
  20757. bid5:
  20758. description: 买5
  20759. type: number
  20760. bid6:
  20761. description: 买6
  20762. type: number
  20763. bid7:
  20764. description: 买7
  20765. type: number
  20766. bid8:
  20767. description: 买8
  20768. type: number
  20769. bid9:
  20770. description: 买9
  20771. type: number
  20772. bid10:
  20773. description: 买10
  20774. type: number
  20775. bidorderid:
  20776. description: 买单号1
  20777. type: integer
  20778. bidorderid2:
  20779. description: 买单号2
  20780. type: integer
  20781. bidorderid3:
  20782. description: 买单号3
  20783. type: integer
  20784. bidorderid4:
  20785. description: 买单号4
  20786. type: integer
  20787. bidorderid5:
  20788. description: 买单号5
  20789. type: integer
  20790. bidordervolume:
  20791. description: 买单量1
  20792. type: integer
  20793. bidordervolume2:
  20794. description: 买单量2
  20795. type: integer
  20796. bidordervolume3:
  20797. description: 买单量3
  20798. type: integer
  20799. bidordervolume4:
  20800. description: 买单量4
  20801. type: integer
  20802. bidordervolume5:
  20803. description: 买单量5
  20804. type: integer
  20805. bidordervolume6:
  20806. description: 买单量6
  20807. type: integer
  20808. bidordervolume7:
  20809. description: 买单量7
  20810. type: integer
  20811. bidordervolume8:
  20812. description: 买单量8
  20813. type: integer
  20814. bidordervolume9:
  20815. description: 买单量9
  20816. type: integer
  20817. bidordervolume10:
  20818. description: 买单量10
  20819. type: integer
  20820. bidqueueinfo:
  20821. description: 大利市买港股用
  20822. type: string
  20823. bidvolume:
  20824. description: 买量1
  20825. type: integer
  20826. bidvolume2:
  20827. description: 买量2
  20828. type: integer
  20829. bidvolume3:
  20830. description: 买量3
  20831. type: integer
  20832. bidvolume4:
  20833. description: 买量4
  20834. type: integer
  20835. bidvolume5:
  20836. description: 买量5
  20837. type: integer
  20838. bidvolume6:
  20839. description: 买量6
  20840. type: integer
  20841. bidvolume7:
  20842. description: 买量7
  20843. type: integer
  20844. bidvolume8:
  20845. description: 买量8
  20846. type: integer
  20847. bidvolume9:
  20848. description: 买量9
  20849. type: integer
  20850. bidvolume10:
  20851. description: 买量10
  20852. type: integer
  20853. calloptionpremiums:
  20854. description: 认购期权1
  20855. type: integer
  20856. calloptionpremiums2:
  20857. description: 认购期权2
  20858. type: integer
  20859. calloptionpremiums3:
  20860. description: 认购期权3
  20861. type: integer
  20862. calloptionpremiums4:
  20863. description: 认购期权4
  20864. type: integer
  20865. calloptionpremiums5:
  20866. description: 认购期权5
  20867. type: integer
  20868. cleartime:
  20869. description: 清盘时间
  20870. type: integer
  20871. exchangecode:
  20872. description: 交易所代码
  20873. type: integer
  20874. exchangedate:
  20875. description: 交易日
  20876. type: integer
  20877. goodscode:
  20878. description: 商品代码
  20879. type: string
  20880. grepmarketprice:
  20881. description: 暗盘价 港股专用
  20882. type: number
  20883. highest:
  20884. description: 最高价
  20885. type: number
  20886. holdincrement:
  20887. description: 单笔持仓
  20888. type: integer
  20889. holdvolume:
  20890. description: 持仓
  20891. type: integer
  20892. iep:
  20893. description: 平衡价 港股专用
  20894. type: number
  20895. iev:
  20896. description: 平衡量 港股专用
  20897. type: number
  20898. inventory:
  20899. description: 库存
  20900. type: integer
  20901. iscleared:
  20902. description: 是否清盘标志
  20903. type: integer
  20904. issettled:
  20905. description: 是否结算标志
  20906. type: integer
  20907. last:
  20908. description: 最新价
  20909. type: number
  20910. lastlot:
  20911. description: 最新成交手数
  20912. type: integer
  20913. lasttime:
  20914. description: 行情时间(只有现价变化行情时间才变化)
  20915. type: string
  20916. lastturnover:
  20917. description: 最新成交金额
  20918. type: number
  20919. lastvolume:
  20920. description: 最新成交量
  20921. type: integer
  20922. limitdown:
  20923. description: 跌停价
  20924. type: number
  20925. limitup:
  20926. description: 涨停价
  20927. type: number
  20928. lowest:
  20929. description: 最低价
  20930. type: number
  20931. nontotalholdervolume:
  20932. description: 非交易持仓量
  20933. type: integer
  20934. nontotallot:
  20935. description: 非交易总手数
  20936. type: integer
  20937. nontotalturnover:
  20938. description: 非交易总金额
  20939. type: integer
  20940. nontotalvolume:
  20941. description: 非交易总量
  20942. type: integer
  20943. opened:
  20944. description: 开盘价
  20945. type: number
  20946. opentime:
  20947. description: 开盘时间
  20948. type: string
  20949. orderid:
  20950. description: 序号
  20951. type: integer
  20952. preclose:
  20953. description: 昨收
  20954. type: number
  20955. preholdvolume:
  20956. description: 昨持仓
  20957. type: integer
  20958. presettle:
  20959. description: 昨结价
  20960. type: number
  20961. publictradetype:
  20962. description: 公共交易标志类型 港股专用
  20963. type: string
  20964. putoptionpremiums:
  20965. description: 认沽期权1
  20966. type: integer
  20967. putoptionpremiums2:
  20968. description: 认沽期权2
  20969. type: integer
  20970. putoptionpremiums3:
  20971. description: 认沽期权3
  20972. type: integer
  20973. putoptionpremiums4:
  20974. description: 认沽期权4
  20975. type: integer
  20976. putoptionpremiums5:
  20977. description: 认沽期权5
  20978. type: integer
  20979. settle:
  20980. description: 结算价
  20981. type: number
  20982. strikeprice:
  20983. description: 发行价
  20984. type: number
  20985. totalaskvolume:
  20986. description: 内盘
  20987. type: integer
  20988. totalbidvolume:
  20989. description: 外盘
  20990. type: integer
  20991. totallot:
  20992. description: 总手数
  20993. type: integer
  20994. totalturnover:
  20995. description: 总金额
  20996. type: number
  20997. totalvolume:
  20998. description: 总量
  20999. type: integer
  21000. utclasttime:
  21001. description: utc的行情时间
  21002. type: string
  21003. type: object
  21004. quote.QueryTSDataRsp:
  21005. properties:
  21006. Count:
  21007. description: 交易日应有数据个数
  21008. type: integer
  21009. decimalPlace:
  21010. description: 小数位
  21011. type: integer
  21012. endTime:
  21013. description: 结束时间
  21014. type: string
  21015. goodsCode:
  21016. description: 商品代码
  21017. type: string
  21018. historyDatas:
  21019. description: 历史数据
  21020. items:
  21021. $ref: '#/definitions/quote.HistoryData'
  21022. type: array
  21023. outGoodsCode:
  21024. description: 外部商品代码
  21025. type: string
  21026. preSettle:
  21027. description: 昨结价
  21028. type: number
  21029. runSteps:
  21030. description: 交易日开休市计划
  21031. items:
  21032. $ref: '#/definitions/quote.TSDataRunStep'
  21033. type: array
  21034. startTime:
  21035. description: 开始时间
  21036. type: string
  21037. tradeDate:
  21038. description: 交易日
  21039. type: string
  21040. type: object
  21041. quote.TSDataRunStep:
  21042. properties:
  21043. end:
  21044. description: 真实结束时间
  21045. type: string
  21046. endflag:
  21047. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  21048. type: integer
  21049. endtime:
  21050. description: 结束时间(HH:mm)
  21051. type: string
  21052. endweekday:
  21053. description: 结束周几
  21054. type: integer
  21055. groupid:
  21056. description: 分组ID
  21057. type: integer
  21058. runstep:
  21059. description: 运行阶段 - 2:连续交易
  21060. type: integer
  21061. sectionid:
  21062. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  21063. 结束时间=结算时间 结束周几=结算周几
  21064. type: integer
  21065. start:
  21066. description: 真实开始时间
  21067. type: string
  21068. startflag:
  21069. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  21070. type: integer
  21071. starttime:
  21072. description: 起始时间(HH:mm)
  21073. type: string
  21074. startweekday:
  21075. description: 起始周几
  21076. type: integer
  21077. tradeweekday:
  21078. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  21079. type: integer
  21080. type: object
  21081. szdz.QueryConvertLogRsp:
  21082. properties:
  21083. accountid:
  21084. description: 资金账户ID
  21085. type: integer
  21086. clientticket:
  21087. description: 客户端流水号
  21088. type: string
  21089. converttype:
  21090. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  21091. type: integer
  21092. createtime:
  21093. description: 记账时间
  21094. type: string
  21095. daymaxvalue:
  21096. description: 配置当日最大转入限制
  21097. type: number
  21098. daymaxvalue2:
  21099. description: 配置当日最大转入限制(转入)
  21100. type: number
  21101. goodscode:
  21102. description: 商品代码
  21103. type: string
  21104. goodsname:
  21105. description: 商品名称
  21106. type: string
  21107. handlestatus:
  21108. description: 处理状态
  21109. type: integer
  21110. innergoodsid:
  21111. description: 内部商品ID
  21112. type: integer
  21113. inratio:
  21114. description: 配置转入比值
  21115. type: integer
  21116. invalue:
  21117. description: 目标值
  21118. type: number
  21119. logid:
  21120. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21121. type: integer
  21122. mobile:
  21123. description: 手机号码(加密存储)
  21124. type: string
  21125. outergoodscode:
  21126. description: 外部商品代码[JD\PD]
  21127. type: string
  21128. outratio:
  21129. description: 配置转出比值
  21130. type: integer
  21131. outvalue:
  21132. description: 源值
  21133. type: number
  21134. pddecimalplace:
  21135. description: PD小数位
  21136. type: integer
  21137. qty:
  21138. description: 数量
  21139. type: string
  21140. remark:
  21141. description: 备注
  21142. type: string
  21143. sessionid:
  21144. description: 会话ID
  21145. type: integer
  21146. timemaxvalue:
  21147. description: 配置单次最大转入限制
  21148. type: number
  21149. timemaxvalue2:
  21150. description: 配置单次最大转入限制(转入)
  21151. type: number
  21152. timeminvalue:
  21153. description: 配置单次最小数量限制
  21154. type: number
  21155. timeminvalue2:
  21156. description: 配置单次最小数量限制(转入)
  21157. type: number
  21158. tradedate:
  21159. description: 交易日(yyyyMMdd)
  21160. type: string
  21161. userid:
  21162. description: 用户ID
  21163. type: integer
  21164. required:
  21165. - logid
  21166. type: object
  21167. szdz.QueryGoodsPickupRsp:
  21168. properties:
  21169. accountid:
  21170. description: 账户ID
  21171. type: integer
  21172. address:
  21173. description: 提货人详细地址
  21174. type: string
  21175. auditer:
  21176. description: 审核人
  21177. type: integer
  21178. audittime:
  21179. description: 审核时间
  21180. type: string
  21181. cardnum:
  21182. description: 提货人证件号码
  21183. type: string
  21184. cardtypeid:
  21185. description: 提货人证件类型
  21186. type: integer
  21187. checkremark:
  21188. description: 审核备注
  21189. type: string
  21190. goodscode:
  21191. description: 商品代码
  21192. type: string
  21193. goodsid:
  21194. description: 商品ID
  21195. type: integer
  21196. goodsname:
  21197. description: 商品名称
  21198. type: string
  21199. handlestatus:
  21200. description: 处理状态
  21201. type: integer
  21202. marketid:
  21203. description: 市场ID
  21204. type: integer
  21205. phonenum:
  21206. description: 提货人联系方式
  21207. type: string
  21208. qty:
  21209. description: 提货数量
  21210. type: number
  21211. recivername:
  21212. description: 提货人姓名
  21213. type: string
  21214. reqtime:
  21215. description: 更新时间
  21216. type: string
  21217. takemode:
  21218. description: 提货方式 - 2:自提 3:配送
  21219. type: integer
  21220. takeorderid:
  21221. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  21222. type: string
  21223. takeorderstatus:
  21224. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  21225. type: integer
  21226. takeremark:
  21227. description: 提货备注
  21228. type: string
  21229. tradedate:
  21230. description: 交易日(yyyyMMdd)
  21231. type: string
  21232. userid:
  21233. description: 用户ID
  21234. type: integer
  21235. required:
  21236. - takeorderid
  21237. type: object
  21238. szdz.QueryRecieptOrderRsp:
  21239. properties:
  21240. accountName:
  21241. description: 所属账号名称(已脱敏)
  21242. type: string
  21243. accountid:
  21244. description: 资金账号
  21245. type: integer
  21246. buyorsell:
  21247. description: 方向 - 0:买 1:卖
  21248. type: integer
  21249. enableqty:
  21250. description: 可摘数量
  21251. type: integer
  21252. goodscode:
  21253. description: 商品代码
  21254. type: string
  21255. goodsid:
  21256. description: 商品ID
  21257. type: integer
  21258. goodsname:
  21259. description: 商品名称
  21260. type: string
  21261. orderid:
  21262. description: 委托单号
  21263. type: string
  21264. orderprice:
  21265. description: 委托价格
  21266. type: number
  21267. ordertime:
  21268. description: 委托时间
  21269. type: string
  21270. tradedate:
  21271. description: 交易日(yyyyMMdd)
  21272. type: string
  21273. required:
  21274. - ordertime
  21275. type: object
  21276. szdz.QuerySZDZTradePositionRsp:
  21277. properties:
  21278. accountid:
  21279. description: 账号Id
  21280. type: integer
  21281. agreeunit:
  21282. description: 合约单位
  21283. type: number
  21284. averageprice:
  21285. description: 持仓均价
  21286. type: number
  21287. buyorsell:
  21288. description: 方向 - 0:买 1:卖
  21289. type: integer
  21290. closetotalqty:
  21291. description: 平仓总数量
  21292. type: integer
  21293. curholderamount:
  21294. description: 当前持仓总金额
  21295. type: number
  21296. curpositionqty:
  21297. description: 当前持仓总数量
  21298. type: integer
  21299. currencyid:
  21300. description: 报价货币ID
  21301. type: integer
  21302. curtdposition:
  21303. description: 期末今日头寸
  21304. type: integer
  21305. decimalplace:
  21306. description: 报价小数位
  21307. type: integer
  21308. enableqty:
  21309. description: 可用量
  21310. type: integer
  21311. fretdposition:
  21312. description: 冻结今日头寸
  21313. type: integer
  21314. frozenqty:
  21315. description: 持仓冻结数量
  21316. type: integer
  21317. goodscode:
  21318. description: 商品代码(内部)
  21319. type: string
  21320. goodsid:
  21321. description: 商品Id
  21322. type: integer
  21323. goodsname:
  21324. description: 商品名称
  21325. type: string
  21326. goodunit:
  21327. description: 报价单位
  21328. type: string
  21329. goodunitid:
  21330. description: 报价单位ID
  21331. type: integer
  21332. holderamount:
  21333. description: 期初持仓总金额
  21334. type: number
  21335. marketid:
  21336. description: 市场ID
  21337. type: integer
  21338. openreqqty:
  21339. description: 开仓申请数量
  21340. type: integer
  21341. opentotalqty:
  21342. description: 开仓总数量
  21343. type: integer
  21344. otherfrozenqty:
  21345. description: 持仓其他冻结数量(交割冻结)
  21346. type: integer
  21347. positionqty:
  21348. description: 期初持仓数量
  21349. type: integer
  21350. szdz3freezqty:
  21351. description: 尚志大宗转换冻结总数量
  21352. type: integer
  21353. tnqty:
  21354. description: T+N冻结总量
  21355. type: integer
  21356. tnusedqty:
  21357. description: T+N使用量
  21358. type: integer
  21359. trademode:
  21360. description: 交易模式
  21361. type: integer
  21362. usedmargin:
  21363. description: 占用保证金
  21364. type: number
  21365. type: object
  21366. taaccount.QueryAmountLogRsp:
  21367. properties:
  21368. OPERATETYPENAME:
  21369. description: 资金操作类型名称
  21370. type: string
  21371. accountid:
  21372. description: 资金账户ID
  21373. type: integer
  21374. agoodscode:
  21375. description: 竞拍商品代码
  21376. type: string
  21377. agoodsname:
  21378. description: 竞拍商品名称
  21379. type: string
  21380. amount:
  21381. description: 资金金额
  21382. type: number
  21383. amountadjusttype:
  21384. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21385. type: integer
  21386. autoid:
  21387. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21388. type: integer
  21389. balance:
  21390. description: 期初余额
  21391. type: number
  21392. businesscode:
  21393. description: 业务编号
  21394. type: integer
  21395. createtime:
  21396. description: 发生时间
  21397. type: string
  21398. currencyid:
  21399. description: 币种ID
  21400. type: integer
  21401. currentbalance:
  21402. description: 期末余额(变动后金额)
  21403. type: number
  21404. dgoodscode:
  21405. description: 交割商品代码
  21406. type: string
  21407. dgoodsname:
  21408. description: 交割商品名称
  21409. type: string
  21410. goodscode:
  21411. description: 商品代码
  21412. type: string
  21413. goodsid:
  21414. description: 商品ID
  21415. type: integer
  21416. goodsname:
  21417. description: 商品名称
  21418. type: string
  21419. marketid:
  21420. description: 市场ID
  21421. type: integer
  21422. marketname:
  21423. description: 市场名称
  21424. type: string
  21425. moneyticket:
  21426. description: 资金流水号:银行端流水号
  21427. type: integer
  21428. operatetype:
  21429. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21430. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21431. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21432. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21433. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21434. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21435. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21436. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21437. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21438. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21439. type: integer
  21440. relationorderid:
  21441. description: 关联单号
  21442. type: string
  21443. remark:
  21444. description: 备注
  21445. type: string
  21446. trademode:
  21447. description: 交易模式
  21448. type: integer
  21449. required:
  21450. - accountid
  21451. - amount
  21452. - amountadjusttype
  21453. - autoid
  21454. - balance
  21455. - createtime
  21456. - currentbalance
  21457. - operatetype
  21458. type: object
  21459. taaccount.QueryHisAmountLogRsp:
  21460. properties:
  21461. OPERATETYPENAME:
  21462. description: 资金操作类型名称
  21463. type: string
  21464. accountid:
  21465. description: 资金账户ID
  21466. type: integer
  21467. agoodscode:
  21468. description: 竞拍商品代码
  21469. type: string
  21470. agoodsname:
  21471. description: 竞拍商品名称
  21472. type: string
  21473. amount:
  21474. description: 资金金额
  21475. type: number
  21476. amountadjusttype:
  21477. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  21478. type: integer
  21479. autoid:
  21480. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  21481. type: integer
  21482. balance:
  21483. description: 期初余额
  21484. type: number
  21485. businesscode:
  21486. description: 业务编号
  21487. type: integer
  21488. createtime:
  21489. description: 发生时间
  21490. type: string
  21491. currencyid:
  21492. description: 币种ID
  21493. type: integer
  21494. currentbalance:
  21495. description: 期末余额(变动后金额)
  21496. type: number
  21497. dgoodscode:
  21498. description: 交割商品代码
  21499. type: string
  21500. dgoodsname:
  21501. description: 交割商品名称
  21502. type: string
  21503. goodscode:
  21504. description: 商品代码
  21505. type: string
  21506. goodsid:
  21507. description: 商品ID
  21508. type: integer
  21509. goodsname:
  21510. description: 商品名称
  21511. type: string
  21512. histradedate:
  21513. description: 历史交易日
  21514. type: string
  21515. isvaliddata:
  21516. description: 是否有效 - 0:无效 1:有效
  21517. type: integer
  21518. marketid:
  21519. description: 市场ID
  21520. type: integer
  21521. marketname:
  21522. description: 市场名称
  21523. type: string
  21524. moneyticket:
  21525. description: 资金流水号:银行端流水号
  21526. type: integer
  21527. operatetype:
  21528. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  21529. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  21530. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  21531. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  21532. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  21533. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  21534. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  21535. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  21536. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  21537. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  21538. type: integer
  21539. relationorderid:
  21540. description: 关联单号
  21541. type: string
  21542. remark:
  21543. description: 备注
  21544. type: string
  21545. trademode:
  21546. description: 交易模式
  21547. type: integer
  21548. required:
  21549. - accountid
  21550. - amount
  21551. - amountadjusttype
  21552. - autoid
  21553. - balance
  21554. - createtime
  21555. - currentbalance
  21556. - histradedate
  21557. - operatetype
  21558. type: object
  21559. trade.QueryRecieptOrderRsp:
  21560. properties:
  21561. accountName:
  21562. description: 所属账号名称(已脱敏)
  21563. type: string
  21564. accountid:
  21565. description: 资金账号
  21566. type: integer
  21567. buyorsell:
  21568. description: 方向 - 0:买 1:卖
  21569. type: integer
  21570. enableqty:
  21571. description: 可摘数量
  21572. type: integer
  21573. goodscode:
  21574. description: 商品代码
  21575. type: string
  21576. goodsid:
  21577. description: 商品ID
  21578. type: integer
  21579. goodsname:
  21580. description: 商品名称
  21581. type: string
  21582. orderid:
  21583. description: 委托单号
  21584. type: string
  21585. orderprice:
  21586. description: 委托价格
  21587. type: number
  21588. ordertime:
  21589. description: 委托时间
  21590. type: string
  21591. tradedate:
  21592. description: 交易日(yyyyMMdd)
  21593. type: string
  21594. required:
  21595. - ordertime
  21596. type: object
  21597. user.LoginQueryRsp:
  21598. properties:
  21599. areaRoles:
  21600. description: 所属角色信息
  21601. items:
  21602. $ref: '#/definitions/models.Arearole'
  21603. type: array
  21604. externalExchanges:
  21605. description: 外部交易所
  21606. items:
  21607. $ref: '#/definitions/models.Externalexchange'
  21608. type: array
  21609. goodsgroups:
  21610. description: 商品组
  21611. items:
  21612. $ref: '#/definitions/models.Goodsgroup'
  21613. type: array
  21614. loginAccount:
  21615. $ref: '#/definitions/models.Loginaccount'
  21616. description: 登录账号
  21617. markets:
  21618. description: 市场
  21619. items:
  21620. $ref: '#/definitions/models.Market'
  21621. type: array
  21622. systemParams:
  21623. description: 系统参数
  21624. items:
  21625. $ref: '#/definitions/models.Systemparam'
  21626. type: array
  21627. userAccount:
  21628. $ref: '#/definitions/models.Useraccount'
  21629. description: 用户账号
  21630. userInfo:
  21631. $ref: '#/definitions/models.Userinfo'
  21632. description: 用户信息
  21633. username:
  21634. description: 用户姓名
  21635. type: string
  21636. type: object
  21637. info:
  21638. contact: {}
  21639. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  21640. termsOfService: http://www.muchinfo.cn
  21641. title: MTP2.0 查询服务 API
  21642. version: "1.0"
  21643. paths:
  21644. /CPTrade/QueryCPTradeMyBidInfos:
  21645. get:
  21646. parameters:
  21647. - description: 资金账户
  21648. in: query
  21649. name: accountid
  21650. required: true
  21651. type: integer
  21652. - description: 预售市场ID
  21653. in: query
  21654. name: marketid
  21655. type: integer
  21656. - description: 预售商品ID
  21657. in: query
  21658. name: goodsid
  21659. type: integer
  21660. produces:
  21661. - application/json
  21662. responses:
  21663. "200":
  21664. description: OK
  21665. schema:
  21666. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  21667. "500":
  21668. description: Internal Server Error
  21669. schema:
  21670. $ref: '#/definitions/app.Response'
  21671. security:
  21672. - ApiKeyAuth: []
  21673. summary: 查询产能预售我的出价信息
  21674. tags:
  21675. - 产能预售
  21676. /CPTrade/QueryCPTradeOrderDetail:
  21677. get:
  21678. parameters:
  21679. - description: 预售商品ID
  21680. in: query
  21681. name: goodsid
  21682. type: integer
  21683. - description: 预售市场ID
  21684. in: query
  21685. name: marketid
  21686. type: integer
  21687. - description: 预售商品ID列表 - 格式:1,2,3
  21688. in: query
  21689. name: goodsids
  21690. type: string
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  21698. "500":
  21699. description: Internal Server Error
  21700. schema:
  21701. $ref: '#/definitions/app.Response'
  21702. security:
  21703. - ApiKeyAuth: []
  21704. summary: 查询产能预售委托单信息
  21705. tags:
  21706. - 产能预售
  21707. /CPTrade/QueryMyCPTradeGoods:
  21708. get:
  21709. parameters:
  21710. - description: 资金账户
  21711. in: query
  21712. name: accountid
  21713. required: true
  21714. type: integer
  21715. produces:
  21716. - application/json
  21717. responses:
  21718. "200":
  21719. description: OK
  21720. schema:
  21721. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  21722. "500":
  21723. description: Internal Server Error
  21724. schema:
  21725. $ref: '#/definitions/app.Response'
  21726. security:
  21727. - ApiKeyAuth: []
  21728. summary: 查询我的预售信息
  21729. tags:
  21730. - 产能预售
  21731. /CPTrade/QueryPositionCancel:
  21732. get:
  21733. parameters:
  21734. - description: 账户ID
  21735. in: query
  21736. name: userid
  21737. required: true
  21738. type: integer
  21739. - description: 注销ID
  21740. in: query
  21741. name: cancelid
  21742. type: integer
  21743. - description: 资金账户ID
  21744. in: query
  21745. name: accountid
  21746. type: integer
  21747. produces:
  21748. - application/json
  21749. responses:
  21750. "200":
  21751. description: OK
  21752. schema:
  21753. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  21754. "500":
  21755. description: Internal Server Error
  21756. schema:
  21757. $ref: '#/definitions/app.Response'
  21758. security:
  21759. - ApiKeyAuth: []
  21760. summary: 查询远期订单注销申请信息
  21761. tags:
  21762. - 产能预售
  21763. /CPTrade/QueryPreasleApply:
  21764. get:
  21765. parameters:
  21766. - description: 账户ID
  21767. in: query
  21768. name: userid
  21769. required: true
  21770. type: integer
  21771. - description: 申请ID
  21772. in: query
  21773. name: applyid
  21774. type: integer
  21775. - description: 资金账户ID
  21776. in: query
  21777. name: accountid
  21778. type: integer
  21779. produces:
  21780. - application/json
  21781. responses:
  21782. "200":
  21783. description: OK
  21784. schema:
  21785. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询产能预售申请信息
  21793. tags:
  21794. - 产能预售
  21795. /CPTrade/QueryPresaleGoodsEx:
  21796. get:
  21797. parameters:
  21798. - description: 预售商品ID
  21799. in: query
  21800. name: goodsid
  21801. type: integer
  21802. - description: 预售市场ID
  21803. in: query
  21804. name: marketid
  21805. type: integer
  21806. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21807. in: query
  21808. name: presalemode
  21809. type: integer
  21810. - description: 预售商品ID列表 - 格式:1,2,3
  21811. in: query
  21812. name: goodsids
  21813. type: string
  21814. - description: 预售商品代码
  21815. in: query
  21816. name: goodscode
  21817. type: string
  21818. produces:
  21819. - application/json
  21820. responses:
  21821. "200":
  21822. description: OK
  21823. schema:
  21824. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21825. "500":
  21826. description: Internal Server Error
  21827. schema:
  21828. $ref: '#/definitions/app.Response'
  21829. security:
  21830. - ApiKeyAuth: []
  21831. summary: 查询产能预售商品扩展信息
  21832. tags:
  21833. - 产能预售
  21834. /CPTrade/QueryUserGoodsData:
  21835. get:
  21836. parameters:
  21837. - description: 资金账户ID
  21838. in: query
  21839. name: accountid
  21840. required: true
  21841. type: integer
  21842. produces:
  21843. - application/json
  21844. responses:
  21845. "200":
  21846. description: OK
  21847. schema:
  21848. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21849. "500":
  21850. description: Internal Server Error
  21851. schema:
  21852. $ref: '#/definitions/app.Response'
  21853. security:
  21854. - ApiKeyAuth: []
  21855. summary: 查询远期订单信息
  21856. tags:
  21857. - 产能预售
  21858. /Common/GetAllEnums:
  21859. get:
  21860. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21861. parameters:
  21862. - description: 起始自增ID
  21863. in: query
  21864. name: autoid
  21865. type: integer
  21866. produces:
  21867. - application/json
  21868. responses:
  21869. "200":
  21870. description: OK
  21871. schema:
  21872. $ref: '#/definitions/models.Enumdicitem'
  21873. "500":
  21874. description: Internal Server Error
  21875. schema:
  21876. $ref: '#/definitions/app.Response'
  21877. summary: 获取所有枚举信息
  21878. tags:
  21879. - 通用服务
  21880. /Common/GetClientMenus:
  21881. get:
  21882. parameters:
  21883. - description: 登录账号
  21884. in: query
  21885. name: loginID
  21886. required: true
  21887. type: integer
  21888. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21889. in: query
  21890. name: clientType
  21891. type: integer
  21892. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21893. in: query
  21894. name: name
  21895. type: string
  21896. produces:
  21897. - application/json
  21898. responses:
  21899. "200":
  21900. description: OK
  21901. schema:
  21902. items:
  21903. $ref: '#/definitions/common.ClientMenu'
  21904. type: array
  21905. "500":
  21906. description: Internal Server Error
  21907. schema:
  21908. $ref: '#/definitions/app.Response'
  21909. security:
  21910. - ApiKeyAuth: []
  21911. summary: 获取交易端菜单
  21912. tags:
  21913. - 通用服务
  21914. /Common/GetDivisions:
  21915. get:
  21916. produces:
  21917. - application/json
  21918. responses:
  21919. "200":
  21920. description: OK
  21921. schema:
  21922. $ref: '#/definitions/models.Division'
  21923. "500":
  21924. description: Internal Server Error
  21925. schema:
  21926. $ref: '#/definitions/app.Response'
  21927. summary: 查询区域信息
  21928. tags:
  21929. - 通用服务
  21930. /Common/GetPCWebMenus:
  21931. get:
  21932. parameters:
  21933. - description: 登录账号
  21934. in: query
  21935. name: loginID
  21936. required: true
  21937. type: integer
  21938. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21939. in: query
  21940. name: name
  21941. type: string
  21942. produces:
  21943. - application/json
  21944. responses:
  21945. "200":
  21946. description: OK
  21947. schema:
  21948. items:
  21949. $ref: '#/definitions/common.PCWebMenu'
  21950. type: array
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 获取PCWeb交易端菜单
  21958. tags:
  21959. - 通用服务
  21960. /Common/GetServerTime:
  21961. get:
  21962. produces:
  21963. - application/json
  21964. responses:
  21965. "200":
  21966. description: OK
  21967. schema:
  21968. $ref: '#/definitions/app.Response'
  21969. "500":
  21970. description: Internal Server Error
  21971. schema:
  21972. $ref: '#/definitions/app.Response'
  21973. summary: 获取服务器时间
  21974. tags:
  21975. - 通用服务
  21976. /Common/NoticeReaded:
  21977. post:
  21978. parameters:
  21979. - description: 登录账号
  21980. in: query
  21981. name: loginID
  21982. required: true
  21983. type: integer
  21984. - description: 通知公告ID
  21985. in: query
  21986. name: noticeID
  21987. required: true
  21988. type: integer
  21989. produces:
  21990. - application/json
  21991. responses:
  21992. "200":
  21993. description: OK
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. "500":
  21997. description: Internal Server Error
  21998. schema:
  21999. $ref: '#/definitions/app.Response'
  22000. security:
  22001. - ApiKeyAuth: []
  22002. summary: 通知公告设置已读请求
  22003. tags:
  22004. - 通用服务
  22005. /Common/QueryErrorInfos:
  22006. get:
  22007. description: 如果传入rowNumber,则返回此rowNumber后的数据
  22008. parameters:
  22009. - description: 起始行号前索引
  22010. in: query
  22011. name: rowNumber
  22012. type: string
  22013. produces:
  22014. - application/json
  22015. responses:
  22016. "200":
  22017. description: OK
  22018. schema:
  22019. $ref: '#/definitions/models.QueryErrorInfosRsp'
  22020. "500":
  22021. description: Internal Server Error
  22022. schema:
  22023. $ref: '#/definitions/app.Response'
  22024. summary: 获取数据库错误信息
  22025. tags:
  22026. - 通用服务
  22027. /Common/QueryImageConfigs:
  22028. get:
  22029. parameters:
  22030. - description: 用户id
  22031. in: query
  22032. name: userId
  22033. type: integer
  22034. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  22035. in: query
  22036. name: imageType
  22037. type: integer
  22038. produces:
  22039. - application/json
  22040. responses:
  22041. "200":
  22042. description: OK
  22043. schema:
  22044. $ref: '#/definitions/common.QueryImageConfigsRsp'
  22045. "500":
  22046. description: Internal Server Error
  22047. schema:
  22048. $ref: '#/definitions/app.Response'
  22049. summary: 查询轮播图配置信息
  22050. tags:
  22051. - 通用服务
  22052. /Common/QueryNotice:
  22053. get:
  22054. parameters:
  22055. - description: 页码
  22056. in: query
  22057. name: page
  22058. type: integer
  22059. - description: 每页条数
  22060. in: query
  22061. name: pagesize
  22062. type: integer
  22063. - description: 登录账号
  22064. in: query
  22065. name: loginID
  22066. required: true
  22067. type: integer
  22068. - description: 消息类型 - 1:公告通知 2:系统消息
  22069. in: query
  22070. name: msgType
  22071. type: integer
  22072. - description: 是否只获取未读信息
  22073. in: query
  22074. name: onlyUnRead
  22075. type: boolean
  22076. - description: 自增ID,传入后会返回这个ID后面的记录
  22077. in: query
  22078. name: lastID
  22079. type: integer
  22080. produces:
  22081. - application/json
  22082. responses:
  22083. "200":
  22084. description: OK
  22085. schema:
  22086. $ref: '#/definitions/common.QueryNoticeRsp'
  22087. "500":
  22088. description: Internal Server Error
  22089. schema:
  22090. $ref: '#/definitions/app.Response'
  22091. security:
  22092. - ApiKeyAuth: []
  22093. summary: 通知公告系统消息查询
  22094. tags:
  22095. - 通用服务
  22096. /Common/QueryProvincesAndCities:
  22097. get:
  22098. parameters:
  22099. - description: 省ID
  22100. in: query
  22101. name: provinceID
  22102. type: integer
  22103. produces:
  22104. - application/json
  22105. responses:
  22106. "200":
  22107. description: OK
  22108. schema:
  22109. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  22110. "500":
  22111. description: Internal Server Error
  22112. schema:
  22113. $ref: '#/definitions/app.Response'
  22114. summary: 查询省市信息(不包括区)
  22115. tags:
  22116. - 通用服务
  22117. /Common/QueryTableDefine:
  22118. get:
  22119. parameters:
  22120. - description: 表key
  22121. in: query
  22122. name: tableKey
  22123. type: string
  22124. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  22125. in: query
  22126. name: tableType
  22127. type: integer
  22128. produces:
  22129. - application/json
  22130. responses:
  22131. "200":
  22132. description: OK
  22133. schema:
  22134. $ref: '#/definitions/common.QueryTableDefineRsp'
  22135. "500":
  22136. description: Internal Server Error
  22137. schema:
  22138. $ref: '#/definitions/app.Response'
  22139. summary: 查询交易端列表头信息
  22140. tags:
  22141. - 通用服务
  22142. /Common/QueryTraderMenu:
  22143. get:
  22144. parameters:
  22145. - description: 登录账号
  22146. in: query
  22147. name: loginid
  22148. required: true
  22149. type: integer
  22150. produces:
  22151. - application/json
  22152. responses:
  22153. "200":
  22154. description: OK
  22155. schema:
  22156. $ref: '#/definitions/common.QueryTraderMenuRsp'
  22157. "500":
  22158. description: Internal Server Error
  22159. schema:
  22160. $ref: '#/definitions/app.Response'
  22161. summary: 查询交易端菜单
  22162. tags:
  22163. - 通用服务
  22164. /Delivery/QueryDeliveryRelation:
  22165. get:
  22166. parameters:
  22167. - description: 商品ID
  22168. in: query
  22169. name: goodsid
  22170. type: integer
  22171. - description: 品种ID
  22172. in: query
  22173. name: deliverygoodsid
  22174. type: integer
  22175. - description: 市场ID
  22176. in: query
  22177. name: marketid
  22178. type: integer
  22179. produces:
  22180. - application/json
  22181. responses:
  22182. "200":
  22183. description: OK
  22184. schema:
  22185. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  22186. "500":
  22187. description: Internal Server Error
  22188. schema:
  22189. $ref: '#/definitions/app.Response'
  22190. security:
  22191. - ApiKeyAuth: []
  22192. summary: 查询商品交割关系表
  22193. tags:
  22194. - 交割服务
  22195. /Ermcp/GetErmcpGoods:
  22196. get:
  22197. parameters:
  22198. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  22199. in: query
  22200. name: userid
  22201. type: integer
  22202. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22203. in: query
  22204. name: lastUpdateTime
  22205. type: string
  22206. produces:
  22207. - application/json
  22208. responses:
  22209. "200":
  22210. description: OK
  22211. schema:
  22212. $ref: '#/definitions/models.ErmcpGoods'
  22213. "500":
  22214. description: Internal Server Error
  22215. schema:
  22216. $ref: '#/definitions/app.Response'
  22217. security:
  22218. - ApiKeyAuth: []
  22219. summary: 查询企业风管期货商品信息
  22220. tags:
  22221. - 企业风险管理(app)
  22222. /Ermcp/GetErmcpGoodsSortByPosition:
  22223. get:
  22224. parameters:
  22225. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  22226. in: query
  22227. name: sortIndex
  22228. type: string
  22229. produces:
  22230. - application/json
  22231. responses:
  22232. "200":
  22233. description: OK
  22234. schema:
  22235. $ref: '#/definitions/models.Goodssortbypreposition'
  22236. "500":
  22237. description: Internal Server Error
  22238. schema:
  22239. $ref: '#/definitions/app.Response'
  22240. security:
  22241. - ApiKeyAuth: []
  22242. summary: 查询企业风管期货主力、次主力商品信息
  22243. tags:
  22244. - 企业风险管理(app)
  22245. /Ermcp/GetErmcpOutAccountStatus:
  22246. get:
  22247. parameters:
  22248. - description: 登录账号
  22249. in: query
  22250. name: loginID
  22251. required: true
  22252. type: integer
  22253. produces:
  22254. - application/json
  22255. responses:
  22256. "200":
  22257. description: OK
  22258. schema:
  22259. $ref: '#/definitions/models.Hedgemarketopenlog'
  22260. "500":
  22261. description: Internal Server Error
  22262. schema:
  22263. $ref: '#/definitions/app.Response'
  22264. security:
  22265. - ApiKeyAuth: []
  22266. summary: 获取目标登录账号当前对冲账号在线状态
  22267. tags:
  22268. - 企业风险管理(app)
  22269. /Ermcp/GetErmcpRoleFuncMenuLists:
  22270. get:
  22271. parameters:
  22272. - description: 登录账号
  22273. in: query
  22274. name: loginID
  22275. required: true
  22276. type: integer
  22277. produces:
  22278. - application/json
  22279. responses:
  22280. "200":
  22281. description: OK
  22282. schema:
  22283. $ref: '#/definitions/models.Funcmenulist'
  22284. "500":
  22285. description: Internal Server Error
  22286. schema:
  22287. $ref: '#/definitions/app.Response'
  22288. security:
  22289. - ApiKeyAuth: []
  22290. summary: 获取企业风管终端权限
  22291. tags:
  22292. - 企业风险管理(app)
  22293. /Ermcp/QueryAccMgrBizGroupSet:
  22294. get:
  22295. parameters:
  22296. - description: 用户ID
  22297. in: query
  22298. name: userid
  22299. required: true
  22300. type: integer
  22301. - description: 现货商品id
  22302. in: query
  22303. name: deliverygoodsid
  22304. type: integer
  22305. produces:
  22306. - application/json
  22307. responses:
  22308. "200":
  22309. description: OK
  22310. schema:
  22311. items:
  22312. $ref: '#/definitions/models.ErmcpBizGroupEx'
  22313. type: array
  22314. "500":
  22315. description: Internal Server Error
  22316. schema:
  22317. $ref: '#/definitions/app.Response'
  22318. security:
  22319. - ApiKeyAuth: []
  22320. summary: 查询业务类型分组(账户管理/账户设置)
  22321. tags:
  22322. - 企业风险管理(app)
  22323. /Ermcp/QueryAccMgrLoginUser:
  22324. get:
  22325. parameters:
  22326. - description: 用户ID
  22327. in: query
  22328. name: userid
  22329. required: true
  22330. type: integer
  22331. - description: 用户类型 2-机构 7-企业成员
  22332. in: query
  22333. name: usertype
  22334. type: integer
  22335. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  22336. in: query
  22337. name: querytype
  22338. required: true
  22339. type: integer
  22340. produces:
  22341. - application/json
  22342. responses:
  22343. "200":
  22344. description: OK
  22345. schema:
  22346. items:
  22347. $ref: '#/definitions/models.ErmcpLoginUserEx'
  22348. type: array
  22349. "500":
  22350. description: Internal Server Error
  22351. schema:
  22352. $ref: '#/definitions/app.Response'
  22353. security:
  22354. - ApiKeyAuth: []
  22355. summary: 查询账户管理登录账号(账户管理/登录账号)
  22356. tags:
  22357. - 企业风险管理(app)
  22358. /Ermcp/QueryAccMgrMainAccountInfo:
  22359. get:
  22360. parameters:
  22361. - description: 用户ID
  22362. in: query
  22363. name: userid
  22364. type: integer
  22365. - description: 主账号id
  22366. in: query
  22367. name: accountid
  22368. type: integer
  22369. produces:
  22370. - application/json
  22371. responses:
  22372. "200":
  22373. description: OK
  22374. schema:
  22375. items:
  22376. $ref: '#/definitions/models.MainAccountInfo'
  22377. type: array
  22378. "500":
  22379. description: Internal Server Error
  22380. schema:
  22381. $ref: '#/definitions/app.Response'
  22382. security:
  22383. - ApiKeyAuth: []
  22384. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  22385. tags:
  22386. - 企业风险管理(app)
  22387. /Ermcp/QueryAccMgrRole:
  22388. get:
  22389. parameters:
  22390. - description: 用户ID
  22391. in: query
  22392. name: userid
  22393. required: true
  22394. type: integer
  22395. produces:
  22396. - application/json
  22397. responses:
  22398. "200":
  22399. description: OK
  22400. schema:
  22401. items:
  22402. $ref: '#/definitions/models.ErmcpRole'
  22403. type: array
  22404. "500":
  22405. description: Internal Server Error
  22406. schema:
  22407. $ref: '#/definitions/app.Response'
  22408. security:
  22409. - ApiKeyAuth: []
  22410. summary: 查询账户管理角色设置(账户管理/角色设置)
  22411. tags:
  22412. - 企业风险管理(app)
  22413. /Ermcp/QueryAccMgrRoleMenu:
  22414. get:
  22415. parameters:
  22416. - description: 用户ID
  22417. in: query
  22418. name: userid
  22419. required: true
  22420. type: integer
  22421. - description: 角色id(可多个,逗号隔开)
  22422. in: query
  22423. name: roleid
  22424. type: string
  22425. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  22426. in: query
  22427. name: menutype
  22428. type: integer
  22429. produces:
  22430. - application/json
  22431. responses:
  22432. "200":
  22433. description: OK
  22434. schema:
  22435. items:
  22436. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  22437. type: array
  22438. "500":
  22439. description: Internal Server Error
  22440. schema:
  22441. $ref: '#/definitions/app.Response'
  22442. security:
  22443. - ApiKeyAuth: []
  22444. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  22445. tags:
  22446. - 企业风险管理(app)
  22447. /Ermcp/QueryAccMgrTaAccountInfo:
  22448. get:
  22449. parameters:
  22450. - description: 用户ID
  22451. in: query
  22452. name: userid
  22453. required: true
  22454. type: integer
  22455. - description: 账号id
  22456. in: query
  22457. name: accountid
  22458. type: integer
  22459. produces:
  22460. - application/json
  22461. responses:
  22462. "200":
  22463. description: OK
  22464. schema:
  22465. items:
  22466. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  22467. type: array
  22468. "500":
  22469. description: Internal Server Error
  22470. schema:
  22471. $ref: '#/definitions/app.Response'
  22472. security:
  22473. - ApiKeyAuth: []
  22474. summary: 查询账户管理授信(账户管理/账户设置/授信)
  22475. tags:
  22476. - 企业风险管理(app)
  22477. /Ermcp/QueryAccMgrTaaccount:
  22478. get:
  22479. parameters:
  22480. - description: 用户ID
  22481. in: query
  22482. name: userid
  22483. required: true
  22484. type: integer
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. items:
  22492. $ref: '#/definitions/models.ErmcpTaAccountEx'
  22493. type: array
  22494. "500":
  22495. description: Internal Server Error
  22496. schema:
  22497. $ref: '#/definitions/app.Response'
  22498. security:
  22499. - ApiKeyAuth: []
  22500. summary: 查询账户管理期货账号(账户管理/期货账号)
  22501. tags:
  22502. - 企业风险管理(app)
  22503. /Ermcp/QueryAvaildGoodsGroup:
  22504. get:
  22505. parameters:
  22506. - description: 所属机构ID
  22507. in: query
  22508. name: userid
  22509. required: true
  22510. type: integer
  22511. produces:
  22512. - application/json
  22513. responses:
  22514. "200":
  22515. description: OK
  22516. schema:
  22517. items:
  22518. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  22519. type: array
  22520. "500":
  22521. description: Internal Server Error
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. security:
  22525. - ApiKeyAuth: []
  22526. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  22527. tags:
  22528. - 企业风险管理(app)
  22529. /Ermcp/QueryBusinessDj:
  22530. get:
  22531. parameters:
  22532. - description: 用户ID
  22533. in: query
  22534. name: UserId
  22535. required: true
  22536. type: integer
  22537. - description: 用户类型 2-机构 7-企业成员
  22538. in: query
  22539. name: usertype
  22540. type: integer
  22541. - description: 现货合同ID, 不填则查所有
  22542. in: query
  22543. name: relatedid
  22544. type: string
  22545. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22546. in: query
  22547. name: applystatus
  22548. type: string
  22549. produces:
  22550. - application/json
  22551. responses:
  22552. "200":
  22553. description: OK
  22554. schema:
  22555. items:
  22556. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  22557. type: array
  22558. "500":
  22559. description: Internal Server Error
  22560. schema:
  22561. $ref: '#/definitions/app.Response'
  22562. security:
  22563. - ApiKeyAuth: []
  22564. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  22565. tags:
  22566. - 企业风险管理(app)
  22567. /Ermcp/QueryBusinessFp:
  22568. get:
  22569. parameters:
  22570. - description: 用户ID
  22571. in: query
  22572. name: UserId
  22573. required: true
  22574. type: integer
  22575. - description: 用户类型 2-机构 7-企业成员
  22576. in: query
  22577. name: usertype
  22578. type: integer
  22579. - description: 现货合同ID, 不填则查所有
  22580. in: query
  22581. name: relatedid
  22582. type: string
  22583. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22584. in: query
  22585. name: applystatus
  22586. type: string
  22587. produces:
  22588. - application/json
  22589. responses:
  22590. "200":
  22591. description: OK
  22592. schema:
  22593. items:
  22594. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  22595. type: array
  22596. "500":
  22597. description: Internal Server Error
  22598. schema:
  22599. $ref: '#/definitions/app.Response'
  22600. security:
  22601. - ApiKeyAuth: []
  22602. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  22603. tags:
  22604. - 企业风险管理(app)
  22605. /Ermcp/QueryBusinessJs:
  22606. get:
  22607. parameters:
  22608. - description: 用户ID
  22609. in: query
  22610. name: UserId
  22611. required: true
  22612. type: integer
  22613. - description: 用户类型 2-机构 7-企业成员
  22614. in: query
  22615. name: usertype
  22616. type: integer
  22617. - description: 现货合同ID, 不填则查所有
  22618. in: query
  22619. name: relatedid
  22620. type: string
  22621. - description: 操作申请id
  22622. in: query
  22623. name: operateapplyid
  22624. type: string
  22625. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22626. in: query
  22627. name: applystatus
  22628. type: string
  22629. produces:
  22630. - application/json
  22631. responses:
  22632. "200":
  22633. description: OK
  22634. schema:
  22635. items:
  22636. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  22637. type: array
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  22645. tags:
  22646. - 企业风险管理(app)
  22647. /Ermcp/QueryBusinessJsEx:
  22648. get:
  22649. parameters:
  22650. - description: 用户ID
  22651. in: query
  22652. name: UserId
  22653. required: true
  22654. type: integer
  22655. - description: 用户类型 2-机构 7-企业成员
  22656. in: query
  22657. name: usertype
  22658. type: integer
  22659. - description: 现货合同ID, 不填则查所有
  22660. in: query
  22661. name: relatedid
  22662. type: string
  22663. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22664. in: query
  22665. name: applystatus
  22666. type: string
  22667. produces:
  22668. - application/json
  22669. responses:
  22670. "200":
  22671. description: OK
  22672. schema:
  22673. items:
  22674. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  22675. type: array
  22676. "500":
  22677. description: Internal Server Error
  22678. schema:
  22679. $ref: '#/definitions/app.Response'
  22680. security:
  22681. - ApiKeyAuth: []
  22682. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  22683. tags:
  22684. - 企业风险管理(app)
  22685. /Ermcp/QueryBusinessKx:
  22686. get:
  22687. parameters:
  22688. - description: 用户ID
  22689. in: query
  22690. name: UserId
  22691. required: true
  22692. type: integer
  22693. - description: 用户类型 2-机构 7-企业成员
  22694. in: query
  22695. name: usertype
  22696. type: integer
  22697. - description: 现货合同ID, 不填则查所有
  22698. in: query
  22699. name: relatedid
  22700. type: string
  22701. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22702. in: query
  22703. name: applystatus
  22704. type: string
  22705. produces:
  22706. - application/json
  22707. responses:
  22708. "200":
  22709. description: OK
  22710. schema:
  22711. items:
  22712. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  22713. type: array
  22714. "500":
  22715. description: Internal Server Error
  22716. schema:
  22717. $ref: '#/definitions/app.Response'
  22718. security:
  22719. - ApiKeyAuth: []
  22720. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  22721. tags:
  22722. - 企业风险管理(app)
  22723. /Ermcp/QueryChangeLog:
  22724. get:
  22725. parameters:
  22726. - description: 合同ID
  22727. in: query
  22728. name: RelatedId
  22729. required: true
  22730. type: string
  22731. produces:
  22732. - application/json
  22733. responses:
  22734. "200":
  22735. description: OK
  22736. schema:
  22737. items:
  22738. $ref: '#/definitions/ermcp.QryOPLogRsp'
  22739. type: array
  22740. "500":
  22741. description: Internal Server Error
  22742. schema:
  22743. $ref: '#/definitions/app.Response'
  22744. security:
  22745. - ApiKeyAuth: []
  22746. summary: 查询变更记录
  22747. tags:
  22748. - 企业风险管理(app)
  22749. /Ermcp/QueryErmcpHisOrderDetails:
  22750. get:
  22751. parameters:
  22752. - description: 资金账户ID
  22753. in: query
  22754. name: accountID
  22755. required: true
  22756. type: integer
  22757. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22758. in: query
  22759. name: startDate
  22760. type: string
  22761. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22762. in: query
  22763. name: endDate
  22764. type: string
  22765. produces:
  22766. - application/json
  22767. responses:
  22768. "200":
  22769. description: OK
  22770. schema:
  22771. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 获取企业风管期货历史委托单信息
  22779. tags:
  22780. - 企业风险管理(app)
  22781. /Ermcp/QueryErmcpHisTradeDetails:
  22782. get:
  22783. parameters:
  22784. - description: 资金账户ID
  22785. in: query
  22786. name: accountID
  22787. required: true
  22788. type: integer
  22789. - description: 商品ID
  22790. in: query
  22791. name: goodsID
  22792. type: integer
  22793. - description: 买卖方向,0:买 1:卖
  22794. in: query
  22795. name: buyOrSell
  22796. type: integer
  22797. - description: 关联委托单号
  22798. in: query
  22799. name: orderID
  22800. type: integer
  22801. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22802. in: query
  22803. name: startDate
  22804. type: string
  22805. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22806. in: query
  22807. name: endDate
  22808. type: string
  22809. produces:
  22810. - application/json
  22811. responses:
  22812. "200":
  22813. description: OK
  22814. schema:
  22815. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22816. "500":
  22817. description: Internal Server Error
  22818. schema:
  22819. $ref: '#/definitions/app.Response'
  22820. security:
  22821. - ApiKeyAuth: []
  22822. summary: 获取企业风管期货历史成交单信息
  22823. tags:
  22824. - 企业风险管理(app)
  22825. /Ermcp/QueryErmcpInnerHolderDetails:
  22826. get:
  22827. parameters:
  22828. - description: 资金账户ID
  22829. in: query
  22830. name: accountID
  22831. required: true
  22832. type: integer
  22833. - description: 商品ID
  22834. in: query
  22835. name: goodsID
  22836. type: integer
  22837. - description: 买卖方向,0:买 1:卖
  22838. in: query
  22839. name: buyOrSell
  22840. type: integer
  22841. produces:
  22842. - application/json
  22843. responses:
  22844. "200":
  22845. description: OK
  22846. schema:
  22847. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22848. "500":
  22849. description: Internal Server Error
  22850. schema:
  22851. $ref: '#/definitions/app.Response'
  22852. security:
  22853. - ApiKeyAuth: []
  22854. summary: 获取企业风管期货内部持仓单信息
  22855. tags:
  22856. - 企业风险管理(app)
  22857. /Ermcp/QueryErmcpOrderDetails:
  22858. get:
  22859. parameters:
  22860. - description: 资金账户ID
  22861. in: query
  22862. name: accountID
  22863. required: true
  22864. type: integer
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22872. "500":
  22873. description: Internal Server Error
  22874. schema:
  22875. $ref: '#/definitions/app.Response'
  22876. security:
  22877. - ApiKeyAuth: []
  22878. summary: 获取企业风管期货委托单信息
  22879. tags:
  22880. - 企业风险管理(app)
  22881. /Ermcp/QueryErmcpTradeDetails:
  22882. get:
  22883. parameters:
  22884. - description: 资金账户ID
  22885. in: query
  22886. name: accountID
  22887. required: true
  22888. type: integer
  22889. - description: 商品ID
  22890. in: query
  22891. name: goodsID
  22892. type: integer
  22893. - description: 买卖方向,0:买 1:卖
  22894. in: query
  22895. name: buyOrSell
  22896. type: integer
  22897. - description: 关联委托单号
  22898. in: query
  22899. name: orderID
  22900. type: integer
  22901. produces:
  22902. - application/json
  22903. responses:
  22904. "200":
  22905. description: OK
  22906. schema:
  22907. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22908. "500":
  22909. description: Internal Server Error
  22910. schema:
  22911. $ref: '#/definitions/app.Response'
  22912. security:
  22913. - ApiKeyAuth: []
  22914. summary: 获取企业风管期货成交单信息
  22915. tags:
  22916. - 企业风险管理(app)
  22917. /Ermcp/QueryErmcpTradePosition:
  22918. get:
  22919. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22920. parameters:
  22921. - description: 资金账户ID
  22922. in: query
  22923. name: accountID
  22924. required: true
  22925. type: integer
  22926. - description: 所属市场ID
  22927. in: query
  22928. name: marketID
  22929. type: integer
  22930. produces:
  22931. - application/json
  22932. responses:
  22933. "200":
  22934. description: OK
  22935. schema:
  22936. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22937. "500":
  22938. description: Internal Server Error
  22939. schema:
  22940. $ref: '#/definitions/app.Response'
  22941. security:
  22942. - ApiKeyAuth: []
  22943. summary: 获取企业风管期货持仓头寸信息
  22944. tags:
  22945. - 企业风险管理(app)
  22946. /Ermcp/QueryExposureDetail:
  22947. get:
  22948. parameters:
  22949. - description: 所属机构ID
  22950. in: query
  22951. name: areaUserId
  22952. required: true
  22953. type: integer
  22954. - description: 套保商品
  22955. in: query
  22956. name: middleGoodsId
  22957. required: true
  22958. type: integer
  22959. produces:
  22960. - application/json
  22961. responses:
  22962. "200":
  22963. description: OK
  22964. schema:
  22965. items:
  22966. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22967. type: array
  22968. "500":
  22969. description: Internal Server Error
  22970. schema:
  22971. $ref: '#/definitions/app.Response'
  22972. security:
  22973. - ApiKeyAuth: []
  22974. summary: 查询敞口现货明细
  22975. tags:
  22976. - 企业风险管理(app)
  22977. /Ermcp/QueryExposureGoods:
  22978. get:
  22979. parameters:
  22980. - description: 套保商品id
  22981. in: query
  22982. name: middlegoodsid
  22983. required: true
  22984. type: integer
  22985. produces:
  22986. - application/json
  22987. responses:
  22988. "200":
  22989. description: OK
  22990. schema:
  22991. items:
  22992. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22993. type: array
  22994. "500":
  22995. description: Internal Server Error
  22996. schema:
  22997. $ref: '#/definitions/app.Response'
  22998. security:
  22999. - ApiKeyAuth: []
  23000. summary: 查询敞口主力合约
  23001. tags:
  23002. - 企业风险管理(app)
  23003. /Ermcp/QueryExposureHedgePosition:
  23004. get:
  23005. parameters:
  23006. - description: 用户id
  23007. in: query
  23008. name: userid
  23009. required: true
  23010. type: integer
  23011. produces:
  23012. - application/json
  23013. responses:
  23014. "200":
  23015. description: OK
  23016. schema:
  23017. items:
  23018. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  23019. type: array
  23020. "500":
  23021. description: Internal Server Error
  23022. schema:
  23023. $ref: '#/definitions/app.Response'
  23024. security:
  23025. - ApiKeyAuth: []
  23026. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  23027. tags:
  23028. - 企业风险管理(app)
  23029. /Ermcp/QueryExposureHedgePositionDetail:
  23030. get:
  23031. parameters:
  23032. - description: 所属机构ID
  23033. in: query
  23034. name: userid
  23035. required: true
  23036. type: integer
  23037. - description: 商品id
  23038. in: query
  23039. name: goodsId
  23040. required: true
  23041. type: integer
  23042. produces:
  23043. - application/json
  23044. responses:
  23045. "200":
  23046. description: OK
  23047. schema:
  23048. items:
  23049. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  23050. type: array
  23051. "500":
  23052. description: Internal Server Error
  23053. schema:
  23054. $ref: '#/definitions/app.Response'
  23055. security:
  23056. - ApiKeyAuth: []
  23057. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  23058. tags:
  23059. - 企业风险管理(app)
  23060. /Ermcp/QueryExposureSpot:
  23061. get:
  23062. parameters:
  23063. - description: 所属机构ID
  23064. in: query
  23065. name: areaUserId
  23066. required: true
  23067. type: integer
  23068. produces:
  23069. - application/json
  23070. responses:
  23071. "200":
  23072. description: OK
  23073. schema:
  23074. items:
  23075. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  23076. type: array
  23077. "500":
  23078. description: Internal Server Error
  23079. schema:
  23080. $ref: '#/definitions/app.Response'
  23081. security:
  23082. - ApiKeyAuth: []
  23083. summary: 查询敞口现货头寸(敞口/现货头寸)
  23084. tags:
  23085. - 企业风险管理(app)
  23086. /Ermcp/QueryExposureSpotDetail:
  23087. get:
  23088. parameters:
  23089. - description: 所属机构ID
  23090. in: query
  23091. name: areaUserId
  23092. required: true
  23093. type: integer
  23094. - description: 现货品种ID
  23095. in: query
  23096. name: wrstandardId
  23097. required: true
  23098. type: integer
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. items:
  23106. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  23107. type: array
  23108. "500":
  23109. description: Internal Server Error
  23110. schema:
  23111. $ref: '#/definitions/app.Response'
  23112. security:
  23113. - ApiKeyAuth: []
  23114. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23115. tags:
  23116. - 企业风险管理(app)
  23117. /Ermcp/QueryFuturesCompany:
  23118. get:
  23119. produces:
  23120. - application/json
  23121. responses:
  23122. "200":
  23123. description: OK
  23124. schema:
  23125. items:
  23126. $ref: '#/definitions/models.ErmcpFuturesCompany'
  23127. type: array
  23128. "500":
  23129. description: Internal Server Error
  23130. schema:
  23131. $ref: '#/definitions/app.Response'
  23132. security:
  23133. - ApiKeyAuth: []
  23134. summary: 查询期货公司
  23135. tags:
  23136. - 企业风险管理(app)
  23137. /Ermcp/QueryGGConvertConfig:
  23138. get:
  23139. parameters:
  23140. - description: 品种id(不填则查所有)
  23141. in: query
  23142. name: goodsgroupid
  23143. type: integer
  23144. produces:
  23145. - application/json
  23146. responses:
  23147. "200":
  23148. description: OK
  23149. schema:
  23150. items:
  23151. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  23152. type: array
  23153. "500":
  23154. description: Internal Server Error
  23155. schema:
  23156. $ref: '#/definitions/app.Response'
  23157. security:
  23158. - ApiKeyAuth: []
  23159. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  23160. tags:
  23161. - 企业风险管理(app)
  23162. /Ermcp/QueryGoodsBrand:
  23163. get:
  23164. parameters:
  23165. - description: 用户ID
  23166. in: query
  23167. name: userid
  23168. required: true
  23169. type: integer
  23170. - description: 现货商品ID
  23171. in: query
  23172. name: wrstandardid
  23173. type: integer
  23174. produces:
  23175. - application/json
  23176. responses:
  23177. "200":
  23178. description: OK
  23179. schema:
  23180. items:
  23181. $ref: '#/definitions/models.ErmcpGoodsBrand'
  23182. type: array
  23183. "500":
  23184. description: Internal Server Error
  23185. schema:
  23186. $ref: '#/definitions/app.Response'
  23187. security:
  23188. - ApiKeyAuth: []
  23189. summary: 查询商品品牌
  23190. tags:
  23191. - 企业风险管理(app)
  23192. /Ermcp/QueryGoodsModel:
  23193. get:
  23194. parameters:
  23195. - description: 用户ID
  23196. in: query
  23197. name: userid
  23198. required: true
  23199. type: integer
  23200. produces:
  23201. - application/json
  23202. responses:
  23203. "200":
  23204. description: OK
  23205. schema:
  23206. items:
  23207. $ref: '#/definitions/models.ErmcpGoodsModel'
  23208. type: array
  23209. "500":
  23210. description: Internal Server Error
  23211. schema:
  23212. $ref: '#/definitions/app.Response'
  23213. security:
  23214. - ApiKeyAuth: []
  23215. summary: 查询商品型号
  23216. tags:
  23217. - 企业风险管理(app)
  23218. /Ermcp/QueryHisExposure:
  23219. get:
  23220. parameters:
  23221. - description: 用户id
  23222. in: query
  23223. name: userid
  23224. required: true
  23225. type: integer
  23226. - description: 每个品种记录数
  23227. in: query
  23228. name: lastNum
  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/ermcp.HisExposureRsp'
  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. - 企业风险管理(app)
  23249. /Ermcp/QueryMiddleGoods:
  23250. get:
  23251. parameters:
  23252. - description: 所属机构ID
  23253. in: query
  23254. name: userid
  23255. required: true
  23256. type: integer
  23257. - description: 状态 0-停用 1-正常
  23258. in: query
  23259. name: status
  23260. required: true
  23261. type: integer
  23262. produces:
  23263. - application/json
  23264. responses:
  23265. "200":
  23266. description: OK
  23267. schema:
  23268. items:
  23269. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  23270. type: array
  23271. "500":
  23272. description: Internal Server Error
  23273. schema:
  23274. $ref: '#/definitions/app.Response'
  23275. security:
  23276. - ApiKeyAuth: []
  23277. summary: 查询套保品种(菜单:套保品种)
  23278. tags:
  23279. - 企业风险管理(app)
  23280. /Ermcp/QueryMiddleGoodsChangeLog:
  23281. get:
  23282. parameters:
  23283. - description: 所属机构ID
  23284. in: query
  23285. name: userid
  23286. required: true
  23287. type: integer
  23288. - description: 套保品种id
  23289. in: query
  23290. name: middlegoodsid
  23291. required: true
  23292. type: integer
  23293. produces:
  23294. - application/json
  23295. responses:
  23296. "200":
  23297. description: OK
  23298. schema:
  23299. items:
  23300. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  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. - 企业风险管理(app)
  23311. /Ermcp/QueryMiddleGoodsDetail:
  23312. get:
  23313. parameters:
  23314. - description: 所属机构ID
  23315. in: query
  23316. name: userid
  23317. required: true
  23318. type: integer
  23319. - description: 套保品种id
  23320. in: query
  23321. name: middlegoodsid
  23322. type: integer
  23323. produces:
  23324. - application/json
  23325. responses:
  23326. "200":
  23327. description: OK
  23328. schema:
  23329. items:
  23330. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  23331. type: array
  23332. "500":
  23333. description: Internal Server Error
  23334. schema:
  23335. $ref: '#/definitions/app.Response'
  23336. security:
  23337. - ApiKeyAuth: []
  23338. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  23339. tags:
  23340. - 企业风险管理(app)
  23341. /Ermcp/QueryPendingAuditInfo:
  23342. get:
  23343. parameters:
  23344. - description: 用户ID
  23345. in: query
  23346. name: UserId
  23347. required: true
  23348. type: integer
  23349. produces:
  23350. - application/json
  23351. responses:
  23352. "200":
  23353. description: OK
  23354. schema:
  23355. items:
  23356. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  23357. type: array
  23358. "500":
  23359. description: Internal Server Error
  23360. schema:
  23361. $ref: '#/definitions/app.Response'
  23362. security:
  23363. - ApiKeyAuth: []
  23364. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  23365. tags:
  23366. - 企业风险管理(app)
  23367. /Ermcp/QueryRealtimeExposure:
  23368. get:
  23369. parameters:
  23370. - description: 所属机构ID
  23371. in: query
  23372. name: userid
  23373. required: true
  23374. type: integer
  23375. produces:
  23376. - application/json
  23377. responses:
  23378. "200":
  23379. description: OK
  23380. schema:
  23381. items:
  23382. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  23383. type: array
  23384. "500":
  23385. description: Internal Server Error
  23386. schema:
  23387. $ref: '#/definitions/app.Response'
  23388. security:
  23389. - ApiKeyAuth: []
  23390. summary: 查询实时敞口
  23391. tags:
  23392. - 企业风险管理(app)
  23393. /Ermcp/QueryRealtimeExposurePosition:
  23394. get:
  23395. parameters:
  23396. - description: 用户id
  23397. in: query
  23398. name: userid
  23399. required: true
  23400. type: integer
  23401. - description: 套保商品ID
  23402. in: query
  23403. name: middleGoodsId
  23404. required: true
  23405. type: integer
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. items:
  23413. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  23414. type: array
  23415. "500":
  23416. description: Internal Server Error
  23417. schema:
  23418. $ref: '#/definitions/app.Response'
  23419. security:
  23420. - ApiKeyAuth: []
  23421. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  23422. tags:
  23423. - 企业风险管理(app)
  23424. /Ermcp/QueryRoleMenu:
  23425. get:
  23426. parameters:
  23427. - description: 登录ID
  23428. in: query
  23429. name: loginid
  23430. required: true
  23431. type: integer
  23432. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  23433. in: query
  23434. name: menutype
  23435. type: integer
  23436. produces:
  23437. - application/json
  23438. responses:
  23439. "200":
  23440. description: OK
  23441. schema:
  23442. items:
  23443. $ref: '#/definitions/models.RoleMenu'
  23444. type: array
  23445. "500":
  23446. description: Internal Server Error
  23447. schema:
  23448. $ref: '#/definitions/app.Response'
  23449. security:
  23450. - ApiKeyAuth: []
  23451. summary: 查询角色菜单和权限
  23452. tags:
  23453. - 企业风险管理(app)
  23454. /Ermcp/QueryTradeConfigTMP:
  23455. get:
  23456. parameters:
  23457. - description: 所属机构id
  23458. in: query
  23459. name: areauserid
  23460. type: integer
  23461. produces:
  23462. - application/json
  23463. responses:
  23464. "200":
  23465. description: OK
  23466. schema:
  23467. items:
  23468. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  23469. type: array
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. security:
  23475. - ApiKeyAuth: []
  23476. summary: 查询交易模板配置
  23477. tags:
  23478. - 企业风险管理(app)
  23479. /Ermcp/QueryUserInfo:
  23480. get:
  23481. parameters:
  23482. - description: 所属机构用户ID
  23483. in: query
  23484. name: MemberUserID
  23485. required: true
  23486. type: integer
  23487. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  23488. in: query
  23489. name: queryType
  23490. required: true
  23491. type: integer
  23492. produces:
  23493. - application/json
  23494. responses:
  23495. "200":
  23496. description: OK
  23497. schema:
  23498. items:
  23499. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  23500. type: array
  23501. "500":
  23502. description: Internal Server Error
  23503. schema:
  23504. $ref: '#/definitions/app.Response'
  23505. security:
  23506. - ApiKeyAuth: []
  23507. summary: 查询客户资料
  23508. tags:
  23509. - 企业风险管理(app)
  23510. /Ermcp/QueryWarehouseInfo:
  23511. get:
  23512. parameters:
  23513. - description: 用户ID
  23514. in: query
  23515. name: userid
  23516. required: true
  23517. type: integer
  23518. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  23519. in: query
  23520. name: status
  23521. type: string
  23522. produces:
  23523. - application/json
  23524. responses:
  23525. "200":
  23526. description: OK
  23527. schema:
  23528. items:
  23529. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  23530. type: array
  23531. "500":
  23532. description: Internal Server Error
  23533. schema:
  23534. $ref: '#/definitions/app.Response'
  23535. security:
  23536. - ApiKeyAuth: []
  23537. summary: 查询仓库信息
  23538. tags:
  23539. - 企业风险管理(app)
  23540. /Ermcp3/QryAreaExpourseContractDetail:
  23541. get:
  23542. parameters:
  23543. - description: 用户ID
  23544. in: query
  23545. name: userid
  23546. required: true
  23547. type: integer
  23548. - description: 套保商品id
  23549. in: query
  23550. name: middlegoodsid
  23551. required: true
  23552. type: integer
  23553. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23554. in: query
  23555. name: cycletype
  23556. required: true
  23557. type: integer
  23558. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23559. 全(0)【原值】
  23560. in: query
  23561. name: cycletime
  23562. required: true
  23563. type: string
  23564. produces:
  23565. - application/json
  23566. responses:
  23567. "200":
  23568. description: OK
  23569. schema:
  23570. items:
  23571. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  23572. type: array
  23573. "500":
  23574. description: Internal Server Error
  23575. schema:
  23576. $ref: '#/definitions/app.Response'
  23577. security:
  23578. - ApiKeyAuth: []
  23579. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  23580. tags:
  23581. - 企业风险管理v3(app)
  23582. /Ermcp3/QryAreaExpourseFutuDetail:
  23583. get:
  23584. parameters:
  23585. - description: 用户ID
  23586. in: query
  23587. name: userid
  23588. required: true
  23589. type: integer
  23590. - description: 套保商品id
  23591. in: query
  23592. name: middlegoodsid
  23593. required: true
  23594. type: integer
  23595. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23596. in: query
  23597. name: cycletype
  23598. required: true
  23599. type: integer
  23600. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23601. 全(0)【原值】
  23602. in: query
  23603. name: cycletime
  23604. required: true
  23605. type: string
  23606. produces:
  23607. - application/json
  23608. responses:
  23609. "200":
  23610. description: OK
  23611. schema:
  23612. items:
  23613. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  23614. type: array
  23615. "500":
  23616. description: Internal Server Error
  23617. schema:
  23618. $ref: '#/definitions/app.Response'
  23619. security:
  23620. - ApiKeyAuth: []
  23621. summary: 查询敞口期货明细(敞口报表/期货明细)
  23622. tags:
  23623. - 企业风险管理v3(app)
  23624. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  23625. get:
  23626. parameters:
  23627. - description: 用户ID
  23628. in: query
  23629. name: userid
  23630. required: true
  23631. type: integer
  23632. - description: 套保商品id
  23633. in: query
  23634. name: middlegoodsid
  23635. required: true
  23636. type: integer
  23637. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23638. in: query
  23639. name: cycletype
  23640. required: true
  23641. type: integer
  23642. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23643. 全(0)【原值】
  23644. in: query
  23645. name: cycletime
  23646. required: true
  23647. type: string
  23648. produces:
  23649. - application/json
  23650. responses:
  23651. "200":
  23652. description: OK
  23653. schema:
  23654. items:
  23655. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  23656. type: array
  23657. "500":
  23658. description: Internal Server Error
  23659. schema:
  23660. $ref: '#/definitions/app.Response'
  23661. security:
  23662. - ApiKeyAuth: []
  23663. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  23664. tags:
  23665. - 企业风险管理v3(app)
  23666. /Ermcp3/QryAreaExpourseParamChLogDetail:
  23667. get:
  23668. parameters:
  23669. - description: 用户ID
  23670. in: query
  23671. name: userid
  23672. required: true
  23673. type: integer
  23674. - description: 套保商品id
  23675. in: query
  23676. name: middlegoodsid
  23677. required: true
  23678. type: integer
  23679. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23680. in: query
  23681. name: cycletype
  23682. required: true
  23683. type: integer
  23684. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23685. 全(0)【原值】
  23686. in: query
  23687. name: cycletime
  23688. required: true
  23689. type: string
  23690. produces:
  23691. - application/json
  23692. responses:
  23693. "200":
  23694. description: OK
  23695. schema:
  23696. items:
  23697. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  23698. type: array
  23699. "500":
  23700. description: Internal Server Error
  23701. schema:
  23702. $ref: '#/definitions/app.Response'
  23703. security:
  23704. - ApiKeyAuth: []
  23705. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  23706. tags:
  23707. - 企业风险管理v3(app)
  23708. /Ermcp3/QryAreaExpourseReport:
  23709. get:
  23710. parameters:
  23711. - description: 用户ID
  23712. in: query
  23713. name: userid
  23714. required: true
  23715. type: integer
  23716. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  23717. in: query
  23718. name: querytype
  23719. required: true
  23720. type: integer
  23721. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23722. in: query
  23723. name: cycletype
  23724. required: true
  23725. type: integer
  23726. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23727. 全(0)【原值】
  23728. in: query
  23729. name: cycletime
  23730. required: true
  23731. type: string
  23732. produces:
  23733. - application/json
  23734. responses:
  23735. "200":
  23736. description: OK
  23737. schema:
  23738. items:
  23739. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  23740. type: array
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 查询敞口报表
  23748. tags:
  23749. - 企业风险管理v3(app)
  23750. /Ermcp3/QryAreaSpotplReport:
  23751. get:
  23752. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  23753. parameters:
  23754. - description: 用户ID
  23755. in: query
  23756. name: userid
  23757. required: true
  23758. type: integer
  23759. - description: 查询类型 1-报表 2-报表明细
  23760. in: query
  23761. name: querytype
  23762. required: true
  23763. type: integer
  23764. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23765. in: query
  23766. name: cycletype
  23767. required: true
  23768. type: integer
  23769. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23770. 全(0)【原值】
  23771. in: query
  23772. name: cycletime
  23773. required: true
  23774. type: string
  23775. - description: 现货品种id(明细必填)
  23776. in: query
  23777. name: deliverygoodsid
  23778. type: integer
  23779. - description: 币种id(明细必填)
  23780. in: query
  23781. name: currencyid
  23782. type: integer
  23783. - description: 日/周/月报表汇总维度 1:品种+品类
  23784. in: query
  23785. name: sumflag
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. items:
  23794. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23795. type: array
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 查询现货报表
  23803. tags:
  23804. - 企业风险管理v3(app)
  23805. /Ermcp3/QryAreaStockReport:
  23806. get:
  23807. parameters:
  23808. - description: 用户ID
  23809. in: query
  23810. name: userid
  23811. required: true
  23812. type: integer
  23813. - description: 查询类型 1-报表 2-报表明细
  23814. in: query
  23815. name: querytype
  23816. required: true
  23817. type: integer
  23818. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23819. in: query
  23820. name: cycletype
  23821. required: true
  23822. type: integer
  23823. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23824. 全(0)【原值】
  23825. in: query
  23826. name: cycletime
  23827. required: true
  23828. type: string
  23829. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23830. in: query
  23831. name: sumfields
  23832. type: string
  23833. - description: 品种ID
  23834. in: query
  23835. name: deliverygoodsid
  23836. type: integer
  23837. - description: 品类ID
  23838. in: query
  23839. name: wrstandardid
  23840. type: integer
  23841. - description: 品牌ID
  23842. in: query
  23843. name: spotgoodsbrandid
  23844. type: integer
  23845. - description: 仓库ID
  23846. in: query
  23847. name: warehouseinfoid
  23848. type: integer
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. items:
  23856. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23857. type: array
  23858. "500":
  23859. description: Internal Server Error
  23860. schema:
  23861. $ref: '#/definitions/app.Response'
  23862. security:
  23863. - ApiKeyAuth: []
  23864. summary: 查询库存报表
  23865. tags:
  23866. - 企业风险管理v3(app)
  23867. /Ermcp3/QryAreaSumPL:
  23868. get:
  23869. parameters:
  23870. - description: 用户ID
  23871. in: query
  23872. name: userid
  23873. required: true
  23874. type: integer
  23875. - description: 查询类型 1-报表 2-报表明细
  23876. in: query
  23877. name: querytype
  23878. required: true
  23879. type: integer
  23880. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23881. in: query
  23882. name: cycletype
  23883. required: true
  23884. type: integer
  23885. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23886. 全(0)【原值】
  23887. in: query
  23888. name: cycletime
  23889. required: true
  23890. type: string
  23891. - description: 币种id(明细必填)
  23892. in: query
  23893. name: currencyid
  23894. type: integer
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. items:
  23902. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23903. type: array
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 查询汇总损益表
  23911. tags:
  23912. - 企业风险管理v3(app)
  23913. /Ermcp3/QryFinanceReport:
  23914. get:
  23915. parameters:
  23916. - description: 用户ID
  23917. in: query
  23918. name: userid
  23919. required: true
  23920. type: integer
  23921. - description: 查询类型 1-报表 2-报表明细
  23922. in: query
  23923. name: querytype
  23924. required: true
  23925. type: integer
  23926. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23927. in: query
  23928. name: cycletype
  23929. required: true
  23930. type: integer
  23931. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23932. 全(0)【原值】
  23933. in: query
  23934. name: cycletime
  23935. required: true
  23936. type: string
  23937. - description: 币种id(报表明细必填)
  23938. in: query
  23939. name: currencyid
  23940. type: integer
  23941. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23942. in: query
  23943. name: sumfields
  23944. type: string
  23945. produces:
  23946. - application/json
  23947. responses:
  23948. "200":
  23949. description: OK
  23950. schema:
  23951. items:
  23952. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23953. type: array
  23954. "500":
  23955. description: Internal Server Error
  23956. schema:
  23957. $ref: '#/definitions/app.Response'
  23958. security:
  23959. - ApiKeyAuth: []
  23960. summary: 查询财务报表
  23961. tags:
  23962. - 企业风险管理v3(app)
  23963. /Ermcp3/QrySCMiddleGoodsReport:
  23964. get:
  23965. parameters:
  23966. - description: 用户ID
  23967. in: query
  23968. name: userid
  23969. required: true
  23970. type: integer
  23971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23972. in: query
  23973. name: cycletype
  23974. required: true
  23975. type: integer
  23976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23977. 全(0)【原值】
  23978. in: query
  23979. name: cycletime
  23980. required: true
  23981. type: string
  23982. - description: 合同id
  23983. in: query
  23984. name: spotcontractid
  23985. type: integer
  23986. - description: 套保品种id
  23987. in: query
  23988. name: middlegoodsid
  23989. type: integer
  23990. - description: 现货品种id
  23991. in: query
  23992. name: deliverygoodsid
  23993. type: integer
  23994. - description: 现货商品id
  23995. in: query
  23996. name: wrstandardid
  23997. type: integer
  23998. - description: 合同编号(模糊匹配)
  23999. in: query
  24000. name: contractno
  24001. type: string
  24002. produces:
  24003. - application/json
  24004. responses:
  24005. "200":
  24006. description: OK
  24007. schema:
  24008. items:
  24009. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  24010. type: array
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询定价报表
  24018. tags:
  24019. - 企业风险管理v3(app)
  24020. /Ermcp3/QryTaFutureDataReport:
  24021. get:
  24022. parameters:
  24023. - description: 用户ID
  24024. in: query
  24025. name: userid
  24026. required: true
  24027. type: integer
  24028. - description: 查询类型 1-报表 2-报表明细
  24029. in: query
  24030. name: querytype
  24031. required: true
  24032. type: integer
  24033. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24034. in: query
  24035. name: cycletype
  24036. required: true
  24037. type: integer
  24038. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24039. 全(0)【原值】
  24040. in: query
  24041. name: cycletime
  24042. required: true
  24043. type: string
  24044. - description: 币种id(查明细必填)
  24045. in: query
  24046. name: currencyid
  24047. type: integer
  24048. - description: 品种id(查明细必填)
  24049. in: query
  24050. name: goodsgroupid
  24051. type: integer
  24052. - description: 商品id(查明细必填)
  24053. in: query
  24054. name: goodsid
  24055. type: integer
  24056. - description: 买卖方向(查明细必填)
  24057. in: query
  24058. name: buyorsell
  24059. type: integer
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. items:
  24067. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  24068. type: array
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询期货报表
  24076. tags:
  24077. - 企业风险管理v3(app)
  24078. /Ermcp3/QueryAreaStock:
  24079. get:
  24080. parameters:
  24081. - description: 用户ID
  24082. in: query
  24083. name: userid
  24084. required: true
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. items:
  24093. $ref: '#/definitions/models.Ermcp3AreaStock'
  24094. type: array
  24095. "500":
  24096. description: Internal Server Error
  24097. schema:
  24098. $ref: '#/definitions/app.Response'
  24099. security:
  24100. - ApiKeyAuth: []
  24101. summary: 查询机构库存(库存管理/当前库存)
  24102. tags:
  24103. - 企业风险管理v3(app)
  24104. /Ermcp3/QueryAreaStockApply:
  24105. get:
  24106. parameters:
  24107. - description: 用户ID
  24108. in: query
  24109. name: userid
  24110. required: true
  24111. type: integer
  24112. - description: 用户类型 2-机构 7-企业成员
  24113. in: query
  24114. name: usertype
  24115. type: integer
  24116. - description: 现货商品ID
  24117. in: query
  24118. name: deliverygoodsid
  24119. type: integer
  24120. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  24121. in: query
  24122. name: inouttype
  24123. type: string
  24124. - description: 合同ID
  24125. in: query
  24126. name: spotcontractid
  24127. type: integer
  24128. - description: 品类ID
  24129. in: query
  24130. name: wrstandardid
  24131. type: integer
  24132. - description: 品牌ID
  24133. in: query
  24134. name: spotgoodsbrandid
  24135. type: integer
  24136. - description: 仓库ID
  24137. in: query
  24138. name: warehouseinfoid
  24139. type: integer
  24140. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24141. in: query
  24142. name: applystatus
  24143. type: string
  24144. produces:
  24145. - application/json
  24146. responses:
  24147. "200":
  24148. description: OK
  24149. schema:
  24150. items:
  24151. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  24152. type: array
  24153. "500":
  24154. description: Internal Server Error
  24155. schema:
  24156. $ref: '#/definitions/app.Response'
  24157. security:
  24158. - ApiKeyAuth: []
  24159. summary: 查询库存申请(出入库记录|库存审核)
  24160. tags:
  24161. - 企业风险管理v3(app)
  24162. /Ermcp3/QueryAreaStockApplySum:
  24163. get:
  24164. parameters:
  24165. - description: 合同ID
  24166. in: query
  24167. name: spotcontractid
  24168. required: true
  24169. type: integer
  24170. produces:
  24171. - application/json
  24172. responses:
  24173. "200":
  24174. description: OK
  24175. schema:
  24176. items:
  24177. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  24178. type: array
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  24186. tags:
  24187. - 企业风险管理v3(app)
  24188. /Ermcp3/QueryDGFactoryItem:
  24189. get:
  24190. parameters:
  24191. - description: 用户id
  24192. in: query
  24193. name: userid
  24194. type: integer
  24195. - description: 用户类型 2-机构 7-企业成员
  24196. in: query
  24197. name: usertype
  24198. type: integer
  24199. - description: 选择项ID(SEQ_DGFACTORYITEM)
  24200. in: query
  24201. name: dgfactoryitemid
  24202. type: integer
  24203. - description: 现货品种ID
  24204. in: query
  24205. name: deliverygoodsid
  24206. type: integer
  24207. - description: 要素项类型
  24208. in: query
  24209. name: dgfactoryitemtypeid
  24210. type: integer
  24211. - description: 顺序
  24212. in: query
  24213. name: orderindex
  24214. type: integer
  24215. produces:
  24216. - application/json
  24217. responses:
  24218. "200":
  24219. description: OK
  24220. schema:
  24221. items:
  24222. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  24223. type: array
  24224. "500":
  24225. description: Internal Server Error
  24226. schema:
  24227. $ref: '#/definitions/app.Response'
  24228. security:
  24229. - ApiKeyAuth: []
  24230. summary: 查询品种要素定义项
  24231. tags:
  24232. - 企业风险管理v3(app)
  24233. /Ermcp3/QueryDeliveryGoods:
  24234. get:
  24235. parameters:
  24236. - description: 用户id
  24237. in: query
  24238. name: userid
  24239. required: true
  24240. type: integer
  24241. - description: 用户类型 2-机构 7-企业成员
  24242. in: query
  24243. name: usertype
  24244. type: integer
  24245. - description: 排除已配置的业务类型商品 1-套保 2-套利
  24246. in: query
  24247. name: excludecfg
  24248. type: integer
  24249. produces:
  24250. - application/json
  24251. responses:
  24252. "200":
  24253. description: OK
  24254. schema:
  24255. items:
  24256. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  24257. type: array
  24258. "500":
  24259. description: Internal Server Error
  24260. schema:
  24261. $ref: '#/definitions/app.Response'
  24262. security:
  24263. - ApiKeyAuth: []
  24264. summary: 查询现货商品
  24265. tags:
  24266. - 企业风险管理v3(app)
  24267. /Ermcp3/QueryDeliveryGoodsDetail:
  24268. get:
  24269. parameters:
  24270. - description: 用户id
  24271. in: query
  24272. name: userid
  24273. required: true
  24274. type: integer
  24275. - description: 用户类型 2-机构 7-企业成员
  24276. in: query
  24277. name: usertype
  24278. type: integer
  24279. - description: 现货商品id
  24280. in: query
  24281. name: deliverygoodsid
  24282. type: integer
  24283. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  24284. in: query
  24285. name: filtersubempty
  24286. type: integer
  24287. produces:
  24288. - application/json
  24289. responses:
  24290. "200":
  24291. description: OK
  24292. schema:
  24293. items:
  24294. $ref: '#/definitions/models.XHDeliveryGoods'
  24295. type: array
  24296. "500":
  24297. description: Internal Server Error
  24298. schema:
  24299. $ref: '#/definitions/app.Response'
  24300. security:
  24301. - ApiKeyAuth: []
  24302. summary: 查询现货商品详情
  24303. tags:
  24304. - 企业风险管理v3(app)
  24305. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  24306. get:
  24307. parameters:
  24308. - description: 合同id
  24309. in: query
  24310. name: spotcontractid
  24311. required: true
  24312. type: string
  24313. produces:
  24314. - application/json
  24315. responses:
  24316. "200":
  24317. description: OK
  24318. schema:
  24319. items:
  24320. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  24321. type: array
  24322. "500":
  24323. description: Internal Server Error
  24324. schema:
  24325. $ref: '#/definitions/app.Response'
  24326. security:
  24327. - ApiKeyAuth: []
  24328. summary: 查询现货合同期现配置信息
  24329. tags:
  24330. - 企业风险管理v3(app)
  24331. /Ermcp3/QueryExposureDetail:
  24332. get:
  24333. parameters:
  24334. - description: 用户id
  24335. in: query
  24336. name: userid
  24337. required: true
  24338. type: integer
  24339. - description: 用户类型 2-机构 7-企业成员
  24340. in: query
  24341. name: usertype
  24342. type: integer
  24343. - description: 套保商品
  24344. in: query
  24345. name: middlegoodsid
  24346. required: true
  24347. type: integer
  24348. produces:
  24349. - application/json
  24350. responses:
  24351. "200":
  24352. description: OK
  24353. schema:
  24354. items:
  24355. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  24356. type: array
  24357. "500":
  24358. description: Internal Server Error
  24359. schema:
  24360. $ref: '#/definitions/app.Response'
  24361. security:
  24362. - ApiKeyAuth: []
  24363. summary: 查询敞口现货明细
  24364. tags:
  24365. - 企业风险管理v3(app)
  24366. /Ermcp3/QueryExposureSpot:
  24367. get:
  24368. parameters:
  24369. - description: 用户id
  24370. in: query
  24371. name: userid
  24372. required: true
  24373. type: integer
  24374. - description: 用户类型 2-机构 7-企业成员
  24375. in: query
  24376. name: usertype
  24377. type: integer
  24378. produces:
  24379. - application/json
  24380. responses:
  24381. "200":
  24382. description: OK
  24383. schema:
  24384. items:
  24385. $ref: '#/definitions/models.Ermcp3AreaSpot'
  24386. type: array
  24387. "500":
  24388. description: Internal Server Error
  24389. schema:
  24390. $ref: '#/definitions/app.Response'
  24391. security:
  24392. - ApiKeyAuth: []
  24393. summary: 查询敞口现货头寸(敞口/现货头寸)
  24394. tags:
  24395. - 企业风险管理v3(app)
  24396. /Ermcp3/QueryExposureSpotDetail:
  24397. get:
  24398. parameters:
  24399. - description: 用户id
  24400. in: query
  24401. name: userid
  24402. required: true
  24403. type: integer
  24404. - description: 用户类型 2-机构 7-企业成员
  24405. in: query
  24406. name: usertype
  24407. type: integer
  24408. - description: 现货商品ID
  24409. in: query
  24410. name: wrstandardid
  24411. required: true
  24412. type: integer
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. items:
  24420. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  24421. type: array
  24422. "500":
  24423. description: Internal Server Error
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. security:
  24427. - ApiKeyAuth: []
  24428. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24429. tags:
  24430. - 企业风险管理v3(app)
  24431. /Ermcp3/QueryGoodsGroup:
  24432. get:
  24433. parameters:
  24434. - description: 用户id
  24435. in: query
  24436. name: userid
  24437. required: true
  24438. type: integer
  24439. - description: 用户类型 2-机构 7-企业成员
  24440. in: query
  24441. name: usertype
  24442. type: integer
  24443. - description: 排除套保品中已关联的商品组 1-排除
  24444. in: query
  24445. name: excludecfg
  24446. type: integer
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. items:
  24454. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  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. - 企业风险管理v3(app)
  24465. /Ermcp3/QueryGoodsWrstandard:
  24466. get:
  24467. parameters:
  24468. - description: 用户id
  24469. in: query
  24470. name: userid
  24471. required: true
  24472. type: integer
  24473. - description: 用户类型 2-机构 7-企业成员
  24474. in: query
  24475. name: usertype
  24476. type: integer
  24477. - description: 现货商品id
  24478. in: query
  24479. name: deliverygoodsid
  24480. type: integer
  24481. produces:
  24482. - application/json
  24483. responses:
  24484. "200":
  24485. description: OK
  24486. schema:
  24487. items:
  24488. $ref: '#/definitions/models.Ermcp3Wrstandard'
  24489. type: array
  24490. "500":
  24491. description: Internal Server Error
  24492. schema:
  24493. $ref: '#/definitions/app.Response'
  24494. security:
  24495. - ApiKeyAuth: []
  24496. summary: 查询商品品类
  24497. tags:
  24498. - 企业风险管理v3(app)
  24499. /Ermcp3/QueryGoodsbrand:
  24500. get:
  24501. parameters:
  24502. - description: 用户id
  24503. in: query
  24504. name: userid
  24505. required: true
  24506. type: integer
  24507. - description: 用户类型 2-机构 7-企业成员
  24508. in: query
  24509. name: usertype
  24510. type: integer
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. items:
  24518. $ref: '#/definitions/models.Ermcp3Brand'
  24519. type: array
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询商品品牌
  24527. tags:
  24528. - 企业风险管理v3(app)
  24529. /Ermcp3/QueryHPMiddleGoods:
  24530. get:
  24531. parameters:
  24532. - description: 用户ID(填登录用户的userid)
  24533. in: query
  24534. name: userid
  24535. required: true
  24536. type: integer
  24537. - description: 买卖方向 0-买 1-卖
  24538. in: query
  24539. name: buyorsell
  24540. required: true
  24541. type: integer
  24542. - description: 商品组id
  24543. in: query
  24544. name: goodsgroupid
  24545. required: true
  24546. type: integer
  24547. - description: 套保计划编号(模糊匹配)
  24548. in: query
  24549. name: hedgeplanno
  24550. type: string
  24551. - description: 现货商品名称(模糊匹配)
  24552. in: query
  24553. name: wrstandardname
  24554. type: string
  24555. produces:
  24556. - application/json
  24557. responses:
  24558. "200":
  24559. description: OK
  24560. schema:
  24561. items:
  24562. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  24563. type: array
  24564. "500":
  24565. description: Internal Server Error
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. security:
  24569. - ApiKeyAuth: []
  24570. summary: 查询可关联套保计划
  24571. tags:
  24572. - 企业风险管理v3(app)
  24573. /Ermcp3/QueryHedgePlan:
  24574. get:
  24575. parameters:
  24576. - description: 用户ID
  24577. in: query
  24578. name: userid
  24579. required: true
  24580. type: integer
  24581. - description: 用户类型 2-机构 7-企业成员
  24582. in: query
  24583. name: usertype
  24584. type: integer
  24585. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24586. in: query
  24587. name: hedgeplanstatus
  24588. required: true
  24589. type: string
  24590. produces:
  24591. - application/json
  24592. responses:
  24593. "200":
  24594. description: OK
  24595. schema:
  24596. items:
  24597. $ref: '#/definitions/models.Ermcp3HedgePlan'
  24598. type: array
  24599. "500":
  24600. description: Internal Server Error
  24601. schema:
  24602. $ref: '#/definitions/app.Response'
  24603. security:
  24604. - ApiKeyAuth: []
  24605. summary: 查询套保计划
  24606. tags:
  24607. - 企业风险管理v3(app)
  24608. /Ermcp3/QueryInnerTradeLink:
  24609. get:
  24610. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  24611. parameters:
  24612. - description: 外部成交单号
  24613. in: query
  24614. name: outtradeid
  24615. required: true
  24616. type: integer
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. items:
  24624. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  24625. type: array
  24626. "500":
  24627. description: Internal Server Error
  24628. schema:
  24629. $ref: '#/definitions/app.Response'
  24630. security:
  24631. - ApiKeyAuth: []
  24632. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  24633. tags:
  24634. - 企业风险管理v3(app)
  24635. /Ermcp3/QueryMiddleGoodsDetail:
  24636. get:
  24637. parameters:
  24638. - description: 用户id
  24639. in: query
  24640. name: userid
  24641. required: true
  24642. type: integer
  24643. - description: 用户类型 2-机构 7-企业成员
  24644. in: query
  24645. name: usertype
  24646. type: integer
  24647. - description: 套保品种id
  24648. in: query
  24649. name: middlegoodsid
  24650. type: integer
  24651. produces:
  24652. - application/json
  24653. responses:
  24654. "200":
  24655. description: OK
  24656. schema:
  24657. items:
  24658. $ref: '#/definitions/models.TBMiddleGoods'
  24659. type: array
  24660. "500":
  24661. description: Internal Server Error
  24662. schema:
  24663. $ref: '#/definitions/app.Response'
  24664. security:
  24665. - ApiKeyAuth: []
  24666. summary: 查询套保品种详情(套保品种/商品详情)
  24667. tags:
  24668. - 企业风险管理v3(app)
  24669. /Ermcp3/QueryOutTradeLink:
  24670. get:
  24671. description: 页面 app 现货->期现关联->外部成交单关联
  24672. parameters:
  24673. - description: 用户ID(填登录用户的userid)
  24674. in: query
  24675. name: userid
  24676. required: true
  24677. type: integer
  24678. - description: 外部订单号(模糊匹配)
  24679. in: query
  24680. name: outtradeid
  24681. type: string
  24682. - description: 合约名称/代码(模糊匹配)
  24683. in: query
  24684. name: goodsname
  24685. type: string
  24686. - description: 关联状态 0-未关联 1-已关联
  24687. in: query
  24688. name: hasinnerorder
  24689. type: integer
  24690. produces:
  24691. - application/json
  24692. responses:
  24693. "200":
  24694. description: OK
  24695. schema:
  24696. items:
  24697. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  24698. type: array
  24699. "500":
  24700. description: Internal Server Error
  24701. schema:
  24702. $ref: '#/definitions/app.Response'
  24703. security:
  24704. - ApiKeyAuth: []
  24705. summary: 查询外部成交单关联
  24706. tags:
  24707. - 企业风险管理v3(app)
  24708. /Ermcp3/QueryPaAreaAuditCfg:
  24709. get:
  24710. parameters:
  24711. - description: 用户id
  24712. in: query
  24713. name: userid
  24714. required: true
  24715. type: integer
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. items:
  24723. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  24724. type: array
  24725. "500":
  24726. description: Internal Server Error
  24727. schema:
  24728. $ref: '#/definitions/app.Response'
  24729. security:
  24730. - ApiKeyAuth: []
  24731. summary: 查询审核设置
  24732. tags:
  24733. - 企业风险管理v3(app)
  24734. /Ermcp3/QueryPaAreaSubject:
  24735. get:
  24736. parameters:
  24737. - description: 用户id
  24738. in: query
  24739. name: userid
  24740. required: true
  24741. type: integer
  24742. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  24743. in: query
  24744. name: subjectid
  24745. type: integer
  24746. - description: 主体类型 - 1:交易主体 2:业务部门
  24747. in: query
  24748. name: subjecttype
  24749. type: integer
  24750. - description: '主体状态 - 1:正常 2: 停用'
  24751. in: query
  24752. name: subjectstatus
  24753. type: integer
  24754. produces:
  24755. - application/json
  24756. responses:
  24757. "200":
  24758. description: OK
  24759. schema:
  24760. items:
  24761. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  24762. type: array
  24763. "500":
  24764. description: Internal Server Error
  24765. schema:
  24766. $ref: '#/definitions/app.Response'
  24767. security:
  24768. - ApiKeyAuth: []
  24769. summary: 查询交易主体
  24770. tags:
  24771. - 企业风险管理v3(app)
  24772. /Ermcp3/QueryPaTradeLink:
  24773. get:
  24774. description: 页面 app 现货->期现关联->期现单据关联
  24775. parameters:
  24776. - description: 用户ID
  24777. in: query
  24778. name: userid
  24779. required: true
  24780. type: integer
  24781. produces:
  24782. - application/json
  24783. responses:
  24784. "200":
  24785. description: OK
  24786. schema:
  24787. items:
  24788. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  24789. type: array
  24790. "500":
  24791. description: Internal Server Error
  24792. schema:
  24793. $ref: '#/definitions/app.Response'
  24794. security:
  24795. - ApiKeyAuth: []
  24796. summary: 查询期现单据关联
  24797. tags:
  24798. - 企业风险管理v3(app)
  24799. /Ermcp3/QueryPaTradeLinkDetail:
  24800. get:
  24801. description: 页面 app 现货->期现关联->关联记录
  24802. parameters:
  24803. - description: 用户ID(填登录用户的userid)
  24804. in: query
  24805. name: userid
  24806. required: true
  24807. type: integer
  24808. - description: 关联状态 1:成功 2:失败 3:解绑
  24809. in: query
  24810. name: linkstatus
  24811. type: integer
  24812. - description: 期货订单号(模糊匹配)
  24813. in: query
  24814. name: tradeid
  24815. type: string
  24816. - description: 现货编号(模糊匹配)
  24817. in: query
  24818. name: contractno
  24819. type: string
  24820. - description: 期货账户(模糊匹配)
  24821. in: query
  24822. name: taname
  24823. type: string
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. items:
  24831. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24832. type: array
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询期现关联记录
  24840. tags:
  24841. - 企业风险管理v3(app)
  24842. /Ermcp3/QueryParamChangeApp:
  24843. get:
  24844. description: |-
  24845. 原型页面:
  24846. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24847. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24848. parameters:
  24849. - description: 用户ID
  24850. in: query
  24851. name: userid
  24852. required: true
  24853. type: integer
  24854. - description: 现货品种id
  24855. in: query
  24856. name: deliverygoodsid
  24857. type: integer
  24858. - description: 现货商品id
  24859. in: query
  24860. name: wrstandardid
  24861. type: integer
  24862. - description: 套保商品id
  24863. in: query
  24864. name: middlegoodsid
  24865. type: integer
  24866. - description: 操作类型 1:新增 2:修改
  24867. in: query
  24868. name: operatetype
  24869. type: integer
  24870. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24871. in: query
  24872. name: paramchangetype
  24873. type: integer
  24874. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24875. in: query
  24876. name: ftstatus
  24877. type: string
  24878. produces:
  24879. - application/json
  24880. responses:
  24881. "200":
  24882. description: OK
  24883. schema:
  24884. items:
  24885. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24886. type: array
  24887. "500":
  24888. description: Internal Server Error
  24889. schema:
  24890. $ref: '#/definitions/app.Response'
  24891. security:
  24892. - ApiKeyAuth: []
  24893. summary: 查询现货商品参数变更申请(流水)
  24894. tags:
  24895. - 企业风险管理v3(app)
  24896. /Ermcp3/QueryRootUserAccount:
  24897. get:
  24898. parameters:
  24899. - description: 用户ID
  24900. in: query
  24901. name: userid
  24902. required: true
  24903. type: integer
  24904. produces:
  24905. - application/json
  24906. responses:
  24907. "200":
  24908. description: OK
  24909. schema:
  24910. items:
  24911. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24912. type: array
  24913. "500":
  24914. description: Internal Server Error
  24915. schema:
  24916. $ref: '#/definitions/app.Response'
  24917. security:
  24918. - ApiKeyAuth: []
  24919. summary: 查询顶级用户信息
  24920. tags:
  24921. - 企业风险管理v3(app)
  24922. /Ermcp3/QuerySCMiddleGoods:
  24923. get:
  24924. description: |-
  24925. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24926. 现货编号 即 合同编号
  24927. parameters:
  24928. - description: 用户ID(填登录用户的userid)
  24929. in: query
  24930. name: userid
  24931. required: true
  24932. type: integer
  24933. - description: 买卖方向 0-买 1-卖
  24934. in: query
  24935. name: buyorsell
  24936. required: true
  24937. type: integer
  24938. - description: 商品组id
  24939. in: query
  24940. name: goodsgroupid
  24941. required: true
  24942. type: integer
  24943. - description: 业务类型 1:套保 2:套利
  24944. in: query
  24945. name: biztype
  24946. type: integer
  24947. - description: 现货编号(模糊匹配)
  24948. in: query
  24949. name: contractno
  24950. type: string
  24951. - description: 对手方(模糊匹配)
  24952. in: query
  24953. name: customername
  24954. type: string
  24955. - description: 现货商品名称(模糊匹配)
  24956. in: query
  24957. name: wrstandardname
  24958. type: string
  24959. produces:
  24960. - application/json
  24961. responses:
  24962. "200":
  24963. description: OK
  24964. schema:
  24965. items:
  24966. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24967. type: array
  24968. "500":
  24969. description: Internal Server Error
  24970. schema:
  24971. $ref: '#/definitions/app.Response'
  24972. security:
  24973. - ApiKeyAuth: []
  24974. summary: 查询现货订单
  24975. tags:
  24976. - 企业风险管理v3(app)
  24977. /Ermcp3/QuerySpotContract:
  24978. get:
  24979. parameters:
  24980. - description: 用户id(当指定contractid, userid可不填)
  24981. in: query
  24982. name: userid
  24983. required: true
  24984. type: integer
  24985. - description: 用户类型 2-机构 7-企业成员
  24986. in: query
  24987. name: usertype
  24988. type: integer
  24989. - description: 合同类型 1-采购, -1-销售
  24990. in: query
  24991. name: contracttype
  24992. type: integer
  24993. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24994. in: query
  24995. name: querytype
  24996. type: string
  24997. - description: 合同ID(SpotContractId)
  24998. in: query
  24999. name: contractid
  25000. type: string
  25001. - description: 合同编号(模糊匹配)
  25002. in: query
  25003. name: contractno
  25004. type: string
  25005. - description: 商品名称(模糊匹配)
  25006. in: query
  25007. name: wrstandardname
  25008. type: string
  25009. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25010. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25011. in: query
  25012. name: status
  25013. type: string
  25014. - description: 是否只查今日的合同 1-查今日合同
  25015. in: query
  25016. name: istoday
  25017. type: integer
  25018. produces:
  25019. - application/json
  25020. responses:
  25021. "200":
  25022. description: OK
  25023. schema:
  25024. items:
  25025. $ref: '#/definitions/models.Ermcp3Contract'
  25026. type: array
  25027. "500":
  25028. description: Internal Server Error
  25029. schema:
  25030. $ref: '#/definitions/app.Response'
  25031. security:
  25032. - ApiKeyAuth: []
  25033. summary: 查询现货合同
  25034. tags:
  25035. - 企业风险管理v3(app)
  25036. /Ermcp3/QuerySpotContractBS:
  25037. get:
  25038. parameters:
  25039. - description: 用户id
  25040. in: query
  25041. name: userid
  25042. required: true
  25043. type: integer
  25044. - description: 用户类型 2-机构 7-企业成员
  25045. in: query
  25046. name: usertype
  25047. type: integer
  25048. - description: 合同类型 1-采购, -1-销售
  25049. in: query
  25050. name: contracttype
  25051. required: true
  25052. type: integer
  25053. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  25054. in: query
  25055. name: querytype
  25056. type: integer
  25057. - description: 合同ID(SpotContractId)
  25058. in: query
  25059. name: contractid
  25060. type: string
  25061. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  25062. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25063. in: query
  25064. name: status
  25065. type: string
  25066. - description: 是否只查今日的合同 1-查今日合同
  25067. in: query
  25068. name: istoday
  25069. type: integer
  25070. produces:
  25071. - application/json
  25072. responses:
  25073. "200":
  25074. description: OK
  25075. schema:
  25076. items:
  25077. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  25078. type: array
  25079. "500":
  25080. description: Internal Server Error
  25081. schema:
  25082. $ref: '#/definitions/app.Response'
  25083. security:
  25084. - ApiKeyAuth: []
  25085. summary: 查询合同(采购/销售)
  25086. tags:
  25087. - 企业风险管理v3(app)
  25088. /Ermcp3/QuerySpotGoodsPrice:
  25089. get:
  25090. parameters:
  25091. - description: 用户ID
  25092. in: query
  25093. name: userid
  25094. required: true
  25095. type: integer
  25096. produces:
  25097. - application/json
  25098. responses:
  25099. "200":
  25100. description: OK
  25101. schema:
  25102. items:
  25103. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  25104. type: array
  25105. "500":
  25106. description: Internal Server Error
  25107. schema:
  25108. $ref: '#/definitions/app.Response'
  25109. security:
  25110. - ApiKeyAuth: []
  25111. summary: 查询现货市价(现货市价)
  25112. tags:
  25113. - 企业风险管理v3(app)
  25114. /Ermcp3/QuerySpotGoodsPriceLog:
  25115. get:
  25116. parameters:
  25117. - description: 用户ID
  25118. in: query
  25119. name: userid
  25120. required: true
  25121. type: integer
  25122. - description: 现货商品ID
  25123. in: query
  25124. name: deliverygoodsid
  25125. required: true
  25126. type: integer
  25127. - description: 品牌ID
  25128. in: query
  25129. name: brandid
  25130. type: integer
  25131. - description: 品类ID
  25132. in: query
  25133. name: wrstandardid
  25134. type: integer
  25135. produces:
  25136. - application/json
  25137. responses:
  25138. "200":
  25139. description: OK
  25140. schema:
  25141. items:
  25142. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  25143. type: array
  25144. "500":
  25145. description: Internal Server Error
  25146. schema:
  25147. $ref: '#/definitions/app.Response'
  25148. security:
  25149. - ApiKeyAuth: []
  25150. summary: 查询现货市价详情(现货市价/详情)
  25151. tags:
  25152. - 企业风险管理v3(app)
  25153. /Ermcp3/QuerySubTaaccount:
  25154. get:
  25155. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  25156. parameters:
  25157. - description: 母账号id
  25158. in: query
  25159. name: parentaccountid
  25160. type: integer
  25161. - description: 母账号代码
  25162. in: query
  25163. name: parentaccountcode
  25164. type: string
  25165. produces:
  25166. - application/json
  25167. responses:
  25168. "200":
  25169. description: OK
  25170. schema:
  25171. items:
  25172. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  25173. type: array
  25174. "500":
  25175. description: Internal Server Error
  25176. schema:
  25177. $ref: '#/definitions/app.Response'
  25178. security:
  25179. - ApiKeyAuth: []
  25180. summary: 查询期货子账户
  25181. tags:
  25182. - 企业风险管理v3(app)
  25183. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  25184. get:
  25185. parameters:
  25186. - description: 套期项目ID
  25187. in: query
  25188. name: hedgeditemid
  25189. required: true
  25190. type: integer
  25191. produces:
  25192. - application/json
  25193. responses:
  25194. "200":
  25195. description: OK
  25196. schema:
  25197. items:
  25198. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  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. - 企业风险管理v8
  25209. /Ermcp8/QueryERMCP2HedgedItemspot:
  25210. get:
  25211. parameters:
  25212. - description: 套期项目ID
  25213. in: query
  25214. name: hedgeditemid
  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.Ermcp2hedgeditemspot'
  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. - 企业风险管理v8
  25235. /Ermcp8/QueryERMCPJRLinkPos:
  25236. get:
  25237. parameters:
  25238. - description: 套期项目ID
  25239. in: query
  25240. name: hedgeditemid
  25241. required: true
  25242. type: integer
  25243. produces:
  25244. - application/json
  25245. responses:
  25246. "200":
  25247. description: OK
  25248. schema:
  25249. items:
  25250. $ref: '#/definitions/models.Ermcpjrlinkpos'
  25251. type: array
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 期货持仓明细查询
  25259. tags:
  25260. - 企业风险管理v8
  25261. /Ermcp8/QueryERMCPPatradeLinkDetail:
  25262. get:
  25263. parameters:
  25264. - description: 套期项目ID
  25265. in: query
  25266. name: hedgeditemid
  25267. required: true
  25268. type: integer
  25269. produces:
  25270. - application/json
  25271. responses:
  25272. "200":
  25273. description: OK
  25274. schema:
  25275. items:
  25276. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  25277. type: array
  25278. "500":
  25279. description: Internal Server Error
  25280. schema:
  25281. $ref: '#/definitions/app.Response'
  25282. security:
  25283. - ApiKeyAuth: []
  25284. summary: 期货成交单明细查询
  25285. tags:
  25286. - 企业风险管理v8
  25287. /Ermcp8/QueryErmcp2AreaExposure:
  25288. get:
  25289. parameters:
  25290. - description: 用户ID
  25291. in: query
  25292. name: userid
  25293. required: true
  25294. type: string
  25295. produces:
  25296. - application/json
  25297. responses:
  25298. "200":
  25299. description: OK
  25300. schema:
  25301. items:
  25302. $ref: '#/definitions/models.Ermcp2AreaExposure'
  25303. type: array
  25304. "500":
  25305. description: Internal Server Error
  25306. schema:
  25307. $ref: '#/definitions/app.Response'
  25308. security:
  25309. - ApiKeyAuth: []
  25310. summary: 企业敞口查询
  25311. tags:
  25312. - 企业风险管理v8
  25313. /Ermcp8/QueryErmcp2HedgedItem:
  25314. get:
  25315. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  25316. parameters:
  25317. - description: 用户ID
  25318. in: query
  25319. name: userid
  25320. required: true
  25321. type: string
  25322. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25323. in: query
  25324. name: hedgedtype
  25325. type: integer
  25326. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25327. in: query
  25328. name: hedgeditemstatus
  25329. type: integer
  25330. produces:
  25331. - application/json
  25332. responses:
  25333. "200":
  25334. description: OK
  25335. schema:
  25336. items:
  25337. $ref: '#/definitions/models.Ermcp2hedgeditem'
  25338. type: array
  25339. "500":
  25340. description: Internal Server Error
  25341. schema:
  25342. $ref: '#/definitions/app.Response'
  25343. security:
  25344. - ApiKeyAuth: []
  25345. summary: 查询被套期项目信息
  25346. tags:
  25347. - 企业风险管理v8
  25348. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  25349. get:
  25350. parameters:
  25351. - description: 用户ID
  25352. in: query
  25353. name: userid
  25354. required: true
  25355. type: integer
  25356. - description: 套保品种ID
  25357. in: query
  25358. name: middlegoodsid
  25359. required: true
  25360. type: integer
  25361. produces:
  25362. - application/json
  25363. responses:
  25364. "200":
  25365. description: OK
  25366. schema:
  25367. items:
  25368. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  25369. type: array
  25370. "500":
  25371. description: Internal Server Error
  25372. schema:
  25373. $ref: '#/definitions/app.Response'
  25374. security:
  25375. - ApiKeyAuth: []
  25376. summary: 敞口明细 - 计划变动明细
  25377. tags:
  25378. - 企业风险管理v8
  25379. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  25380. get:
  25381. parameters:
  25382. - description: 用户ID
  25383. in: query
  25384. name: userid
  25385. required: true
  25386. type: integer
  25387. - description: 套保品种ID
  25388. in: query
  25389. name: middlegoodsid
  25390. required: true
  25391. type: integer
  25392. produces:
  25393. - application/json
  25394. responses:
  25395. "200":
  25396. description: OK
  25397. schema:
  25398. items:
  25399. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  25400. type: array
  25401. "500":
  25402. description: Internal Server Error
  25403. schema:
  25404. $ref: '#/definitions/app.Response'
  25405. security:
  25406. - ApiKeyAuth: []
  25407. summary: 敞口明细 - 现货变动明细查询
  25408. tags:
  25409. - 企业风险管理v8
  25410. /Ermcp8/QueryErmcp8EnableHedgeditem:
  25411. get:
  25412. parameters:
  25413. - description: 用户ID
  25414. in: query
  25415. name: userid
  25416. required: true
  25417. type: integer
  25418. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  25419. in: query
  25420. name: spottype
  25421. required: true
  25422. type: integer
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  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. - 企业风险管理v8
  25441. /Ermcp8/QueryErmcp8HedgeditemReport:
  25442. get:
  25443. parameters:
  25444. - description: 用户ID
  25445. in: query
  25446. name: userid
  25447. required: true
  25448. type: integer
  25449. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25450. in: query
  25451. name: cycletype
  25452. type: integer
  25453. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25454. 全(0)【原值】
  25455. in: query
  25456. name: cycletime
  25457. required: true
  25458. type: string
  25459. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  25460. in: query
  25461. name: hedgedtype
  25462. type: integer
  25463. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25464. in: query
  25465. name: hedgeditemstatus
  25466. type: integer
  25467. - description: 项目编号,模糊查询
  25468. in: query
  25469. name: hedgeditemnum
  25470. type: string
  25471. - description: 现货商品ID
  25472. in: query
  25473. name: wrstandardid
  25474. type: integer
  25475. produces:
  25476. - application/json
  25477. responses:
  25478. "200":
  25479. description: OK
  25480. schema:
  25481. items:
  25482. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  25483. type: array
  25484. "500":
  25485. description: Internal Server Error
  25486. schema:
  25487. $ref: '#/definitions/app.Response'
  25488. security:
  25489. - ApiKeyAuth: []
  25490. summary: 套期项目报表查询
  25491. tags:
  25492. - 企业风险管理v8
  25493. /Ermcp8/QueryErmcp8RunningHedgeditem:
  25494. get:
  25495. parameters:
  25496. - description: 用户ID
  25497. in: query
  25498. name: userid
  25499. required: true
  25500. type: string
  25501. produces:
  25502. - application/json
  25503. responses:
  25504. "200":
  25505. description: OK
  25506. schema:
  25507. items:
  25508. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  25509. type: array
  25510. "500":
  25511. description: Internal Server Error
  25512. schema:
  25513. $ref: '#/definitions/app.Response'
  25514. security:
  25515. - ApiKeyAuth: []
  25516. summary: 查询执行中项目查询信息
  25517. tags:
  25518. - 企业风险管理v8
  25519. /Ermcp8/QueryInternalEnableTradeDetail:
  25520. get:
  25521. parameters:
  25522. - description: 企业ID
  25523. in: query
  25524. name: areauserid
  25525. required: true
  25526. type: integer
  25527. - description: 期货合约ID
  25528. in: query
  25529. name: goodsid
  25530. required: true
  25531. type: integer
  25532. produces:
  25533. - application/json
  25534. responses:
  25535. "200":
  25536. description: OK
  25537. schema:
  25538. items:
  25539. $ref: '#/definitions/models.InternalEnableTradeDetail'
  25540. type: array
  25541. "500":
  25542. description: Internal Server Error
  25543. schema:
  25544. $ref: '#/definitions/app.Response'
  25545. security:
  25546. - ApiKeyAuth: []
  25547. summary: 内部成交单可关联项目查询
  25548. tags:
  25549. - 企业风险管理v8
  25550. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  25551. get:
  25552. parameters:
  25553. - description: 用户编号
  25554. in: query
  25555. name: userid
  25556. required: true
  25557. type: integer
  25558. - description: 起始日期(格式yyyymmdd)
  25559. in: query
  25560. name: begindate
  25561. type: string
  25562. - description: 终止日期(格式yyyymmdd)
  25563. in: query
  25564. name: enddate
  25565. type: string
  25566. - description: 合约代码
  25567. in: query
  25568. name: goodscode
  25569. type: string
  25570. - description: 合约名称
  25571. in: query
  25572. name: goodsname
  25573. type: string
  25574. - description: 成交单号
  25575. in: query
  25576. name: tradeid
  25577. type: integer
  25578. - description: 方向 - 0:买 1:卖
  25579. in: query
  25580. name: buyorsell
  25581. type: integer
  25582. - description: 套期主体
  25583. in: query
  25584. name: accountname
  25585. type: string
  25586. produces:
  25587. - application/json
  25588. responses:
  25589. "200":
  25590. description: OK
  25591. schema:
  25592. items:
  25593. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  25594. type: array
  25595. "500":
  25596. description: Internal Server Error
  25597. schema:
  25598. $ref: '#/definitions/app.Response'
  25599. security:
  25600. - ApiKeyAuth: []
  25601. summary: 内部未关联成交单查询
  25602. tags:
  25603. - 企业风险管理v8
  25604. /Ermcp8/QueryPatradeLinkDetail:
  25605. get:
  25606. parameters:
  25607. - description: 用户ID
  25608. in: query
  25609. name: userid
  25610. required: true
  25611. type: integer
  25612. - description: 套保品种ID
  25613. in: query
  25614. name: middlegoodsid
  25615. required: true
  25616. type: integer
  25617. produces:
  25618. - application/json
  25619. responses:
  25620. "200":
  25621. description: OK
  25622. schema:
  25623. items:
  25624. $ref: '#/definitions/models.Patradelinkdetail'
  25625. type: array
  25626. "500":
  25627. description: Internal Server Error
  25628. schema:
  25629. $ref: '#/definitions/app.Response'
  25630. security:
  25631. - ApiKeyAuth: []
  25632. summary: 敞口明细 - 期货变动明细
  25633. tags:
  25634. - 企业风险管理v8
  25635. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  25636. get:
  25637. parameters:
  25638. - description: 企业ID
  25639. in: query
  25640. name: areauserid
  25641. required: true
  25642. type: integer
  25643. - description: 计划类型 - 1:采购 -1:销售
  25644. in: query
  25645. name: contracttype
  25646. type: integer
  25647. - description: 计划编号,模糊查询
  25648. in: query
  25649. name: hedgeplanno
  25650. type: string
  25651. - description: 现货商品,模糊查询
  25652. in: query
  25653. name: wrstandardname
  25654. type: string
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 未关联购销计划
  25671. tags:
  25672. - 企业风险管理v8
  25673. /Ermcp8/QueryUnLinkSpotContract:
  25674. get:
  25675. parameters:
  25676. - description: 用户ID
  25677. in: query
  25678. name: userid
  25679. required: true
  25680. type: integer
  25681. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  25682. in: query
  25683. name: pricetype
  25684. type: integer
  25685. - description: 合同编号, 模拟查询
  25686. in: query
  25687. name: contractno
  25688. type: string
  25689. - description: 对手方, 模拟查询
  25690. in: query
  25691. name: customername
  25692. type: string
  25693. - description: 项合同类型 - 1:采购 -1:销售
  25694. in: query
  25695. name: contracttype
  25696. type: integer
  25697. produces:
  25698. - application/json
  25699. responses:
  25700. "200":
  25701. description: OK
  25702. schema:
  25703. items:
  25704. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  25705. type: array
  25706. "500":
  25707. description: Internal Server Error
  25708. schema:
  25709. $ref: '#/definitions/app.Response'
  25710. security:
  25711. - ApiKeyAuth: []
  25712. summary: 未关联合同查询
  25713. tags:
  25714. - 企业风险管理v8
  25715. /Erms2/QueryArbitrageStrategy:
  25716. get:
  25717. parameters:
  25718. - description: 账户ID
  25719. in: query
  25720. name: userid
  25721. required: true
  25722. type: integer
  25723. - description: 商品组ID(品种ID)
  25724. in: query
  25725. name: goodsgroupid
  25726. type: string
  25727. produces:
  25728. - application/json
  25729. responses:
  25730. "200":
  25731. description: OK
  25732. schema:
  25733. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  25734. "500":
  25735. description: Internal Server Error
  25736. schema:
  25737. $ref: '#/definitions/app.Response'
  25738. security:
  25739. - ApiKeyAuth: []
  25740. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  25741. tags:
  25742. - 风险管理
  25743. /Erms2/QueryInnerTradeDetail:
  25744. get:
  25745. parameters:
  25746. - description: 资金账户
  25747. in: query
  25748. name: accountid
  25749. required: true
  25750. type: integer
  25751. produces:
  25752. - application/json
  25753. responses:
  25754. "200":
  25755. description: OK
  25756. schema:
  25757. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  25758. "500":
  25759. description: Internal Server Error
  25760. schema:
  25761. $ref: '#/definitions/app.Response'
  25762. security:
  25763. - ApiKeyAuth: []
  25764. summary: 查询内部成交单信息
  25765. tags:
  25766. - 风险管理
  25767. /Erms2/QuerySpotContract:
  25768. get:
  25769. parameters:
  25770. - description: 策略申请ID
  25771. in: query
  25772. name: asapplyid
  25773. required: true
  25774. type: integer
  25775. - description: 现货合同ID
  25776. in: query
  25777. name: spotcontractid
  25778. type: integer
  25779. produces:
  25780. - application/json
  25781. responses:
  25782. "200":
  25783. description: OK
  25784. schema:
  25785. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  25786. "500":
  25787. description: Internal Server Error
  25788. schema:
  25789. $ref: '#/definitions/app.Response'
  25790. security:
  25791. - ApiKeyAuth: []
  25792. summary: 查询现货合同表信息(指定策略ID、未结束的)
  25793. tags:
  25794. - 风险管理
  25795. /Erms3/AddErms2ASApply:
  25796. post:
  25797. parameters:
  25798. - description: 申请参数
  25799. in: body
  25800. name: jsonBody
  25801. required: true
  25802. schema:
  25803. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  25804. produces:
  25805. - application/json
  25806. responses:
  25807. "200":
  25808. description: OK
  25809. schema:
  25810. $ref: '#/definitions/app.Response'
  25811. "500":
  25812. description: Internal Server Error
  25813. schema:
  25814. $ref: '#/definitions/app.Response'
  25815. security:
  25816. - ApiKeyAuth: []
  25817. summary: 新增期现套利业务申请
  25818. tags:
  25819. - 风险管理v3
  25820. /Erms3/AddErms2SpotTradeApply:
  25821. post:
  25822. parameters:
  25823. - description: 申请参数
  25824. in: body
  25825. name: jsonBody
  25826. required: true
  25827. schema:
  25828. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  25829. produces:
  25830. - application/json
  25831. responses:
  25832. "200":
  25833. description: OK
  25834. schema:
  25835. $ref: '#/definitions/app.Response'
  25836. "500":
  25837. description: Internal Server Error
  25838. schema:
  25839. $ref: '#/definitions/app.Response'
  25840. security:
  25841. - ApiKeyAuth: []
  25842. summary: 新增现货贸易业务申请
  25843. tags:
  25844. - 风险管理v3
  25845. /Erms3/AddSpotContractApply:
  25846. post:
  25847. parameters:
  25848. - description: 申请参数
  25849. in: body
  25850. name: jsonBody
  25851. required: true
  25852. schema:
  25853. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  25854. produces:
  25855. - application/json
  25856. responses:
  25857. "200":
  25858. description: OK
  25859. schema:
  25860. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  25861. "500":
  25862. description: Internal Server Error
  25863. schema:
  25864. $ref: '#/definitions/app.Response'
  25865. security:
  25866. - ApiKeyAuth: []
  25867. summary: 新增现货合同申请
  25868. tags:
  25869. - 风险管理v3
  25870. /Erms3/AddUserInfoApply:
  25871. post:
  25872. parameters:
  25873. - description: 用户信息
  25874. in: body
  25875. name: jsonBody
  25876. required: true
  25877. schema:
  25878. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  25879. produces:
  25880. - application/json
  25881. responses:
  25882. "200":
  25883. description: OK
  25884. schema:
  25885. $ref: '#/definitions/app.Response'
  25886. "500":
  25887. description: Internal Server Error
  25888. schema:
  25889. $ref: '#/definitions/app.Response'
  25890. security:
  25891. - ApiKeyAuth: []
  25892. summary: 新增客户申请
  25893. tags:
  25894. - 风险管理v3
  25895. /Erms3/DeleteUserInfoApply:
  25896. get:
  25897. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  25898. parameters:
  25899. - description: 用户ID
  25900. in: query
  25901. name: userID
  25902. required: true
  25903. type: integer
  25904. produces:
  25905. - application/json
  25906. responses:
  25907. "200":
  25908. description: OK
  25909. schema:
  25910. $ref: '#/definitions/app.Response'
  25911. "500":
  25912. description: Internal Server Error
  25913. schema:
  25914. $ref: '#/definitions/app.Response'
  25915. security:
  25916. - ApiKeyAuth: []
  25917. summary: 删除客户申请
  25918. tags:
  25919. - 风险管理v3
  25920. /Erms3/ModifyUserInfoApply:
  25921. post:
  25922. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  25923. int, "userstate": 2 }'
  25924. parameters:
  25925. - description: 用户信息
  25926. in: body
  25927. name: jsonBody
  25928. required: true
  25929. schema:
  25930. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  25931. produces:
  25932. - application/json
  25933. responses:
  25934. "200":
  25935. description: OK
  25936. schema:
  25937. $ref: '#/definitions/app.Response'
  25938. "500":
  25939. description: Internal Server Error
  25940. schema:
  25941. $ref: '#/definitions/app.Response'
  25942. security:
  25943. - ApiKeyAuth: []
  25944. summary: 修改客户申请
  25945. tags:
  25946. - 风险管理v3
  25947. /Erms3/QueryBusinessInfo:
  25948. get:
  25949. parameters:
  25950. - description: 资金账号ID列表,用逗号分隔
  25951. in: query
  25952. name: accountids
  25953. required: true
  25954. type: string
  25955. - description: 状态,0为未结束 1为已结束
  25956. in: query
  25957. name: status
  25958. required: true
  25959. type: integer
  25960. produces:
  25961. - application/json
  25962. responses:
  25963. "200":
  25964. description: OK
  25965. schema:
  25966. items:
  25967. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  25968. type: array
  25969. "500":
  25970. description: Internal Server Error
  25971. schema:
  25972. $ref: '#/definitions/app.Response'
  25973. security:
  25974. - ApiKeyAuth: []
  25975. summary: 查询业务表单数据
  25976. tags:
  25977. - 风险管理v3
  25978. /Erms3/QueryPendingAuditContract:
  25979. get:
  25980. parameters:
  25981. - description: 资金账号ID列表,逗号隔开
  25982. in: query
  25983. name: accountids
  25984. required: true
  25985. type: string
  25986. - description: 合同类型 1-采购 -1-销售
  25987. in: query
  25988. name: contracttype
  25989. required: true
  25990. type: integer
  25991. - description: 合同模式 1-普通 2-回购
  25992. in: query
  25993. name: contractmode
  25994. required: true
  25995. type: integer
  25996. produces:
  25997. - application/json
  25998. responses:
  25999. "200":
  26000. description: OK
  26001. schema:
  26002. items:
  26003. $ref: '#/definitions/erms3.QryAuditContractRsp'
  26004. type: array
  26005. "500":
  26006. description: Internal Server Error
  26007. schema:
  26008. $ref: '#/definitions/app.Response'
  26009. security:
  26010. - ApiKeyAuth: []
  26011. summary: 查询待审核合同
  26012. tags:
  26013. - 风险管理v3
  26014. /Erms3/QueryPendingBusiness:
  26015. get:
  26016. parameters:
  26017. - description: 资金账号ID列表,逗号隔开
  26018. in: query
  26019. name: accountids
  26020. required: true
  26021. type: string
  26022. produces:
  26023. - application/json
  26024. responses:
  26025. "200":
  26026. description: OK
  26027. schema:
  26028. items:
  26029. $ref: '#/definitions/erms3.QryPendingBizRsp'
  26030. type: array
  26031. "500":
  26032. description: Internal Server Error
  26033. schema:
  26034. $ref: '#/definitions/app.Response'
  26035. security:
  26036. - ApiKeyAuth: []
  26037. summary: 查询待审核基差贸易业务
  26038. tags:
  26039. - 风险管理v3
  26040. /Erms3/QuerySpotContractAppleForm:
  26041. get:
  26042. parameters:
  26043. - description: 登录账号
  26044. in: query
  26045. name: loginID
  26046. required: true
  26047. type: integer
  26048. produces:
  26049. - application/json
  26050. responses:
  26051. "200":
  26052. description: OK
  26053. schema:
  26054. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  26055. "500":
  26056. description: Internal Server Error
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. security:
  26060. - ApiKeyAuth: []
  26061. summary: 查询合同申请表单数据
  26062. tags:
  26063. - 风险管理v3
  26064. /Erms3/QuerySpotContractDetail:
  26065. get:
  26066. parameters:
  26067. - description: 资金账号ID列表,用逗号分隔
  26068. in: query
  26069. name: accountids
  26070. required: true
  26071. type: string
  26072. - description: 合同类型,1为采购合同 -1为销售合同
  26073. in: query
  26074. name: contracttype
  26075. required: true
  26076. type: integer
  26077. - description: 合同模式,1为普通合同 2为回购销售合同
  26078. in: query
  26079. name: contractmode
  26080. required: true
  26081. type: integer
  26082. - description: 状态,0为履约中 1为已完成
  26083. in: query
  26084. name: status
  26085. required: true
  26086. type: integer
  26087. produces:
  26088. - application/json
  26089. responses:
  26090. "200":
  26091. description: OK
  26092. schema:
  26093. items:
  26094. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  26095. type: array
  26096. "500":
  26097. description: Internal Server Error
  26098. schema:
  26099. $ref: '#/definitions/app.Response'
  26100. security:
  26101. - ApiKeyAuth: []
  26102. summary: 查询合同详细信息
  26103. tags:
  26104. - 风险管理v3
  26105. /Erms3/QueryUserInfoApplies:
  26106. get:
  26107. parameters:
  26108. - description: 页码
  26109. in: query
  26110. name: page
  26111. type: integer
  26112. - description: 每页条数
  26113. in: query
  26114. name: pagesize
  26115. type: integer
  26116. - description: 客户名称,支持模糊查询
  26117. in: query
  26118. name: userName
  26119. type: string
  26120. produces:
  26121. - application/json
  26122. responses:
  26123. "200":
  26124. description: OK
  26125. schema:
  26126. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  26127. "500":
  26128. description: Internal Server Error
  26129. schema:
  26130. $ref: '#/definitions/app.Response'
  26131. security:
  26132. - ApiKeyAuth: []
  26133. summary: 客户申请信息查询
  26134. tags:
  26135. - 风险管理v3
  26136. /Erms3/QueryUserInfos:
  26137. get:
  26138. parameters:
  26139. - description: 页码
  26140. in: query
  26141. name: page
  26142. type: integer
  26143. - description: 每页条数
  26144. in: query
  26145. name: pagesize
  26146. type: integer
  26147. - description: 客户名称,支持模糊查询
  26148. in: query
  26149. name: userName
  26150. type: string
  26151. produces:
  26152. - application/json
  26153. responses:
  26154. "200":
  26155. description: OK
  26156. schema:
  26157. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 客户信息查询
  26165. tags:
  26166. - 风险管理v3
  26167. /HSBY/GetHsbyMyCount:
  26168. get:
  26169. description: 说明: 不包括已完成的数量。
  26170. parameters:
  26171. - description: 资金账户列表,格式:1,2,3
  26172. in: query
  26173. name: accountIDs
  26174. required: true
  26175. type: string
  26176. produces:
  26177. - application/json
  26178. responses:
  26179. "200":
  26180. description: OK
  26181. schema:
  26182. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  26183. "500":
  26184. description: Internal Server Error
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. security:
  26188. - ApiKeyAuth: []
  26189. summary: 获取我的订单与包裹数量
  26190. tags:
  26191. - 定制【海商报业】
  26192. /HSBY/QueryClientFixedADConfigs:
  26193. get:
  26194. produces:
  26195. - application/json
  26196. responses:
  26197. "200":
  26198. description: OK
  26199. schema:
  26200. $ref: '#/definitions/models.Clientfixedadconfig'
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 获取终端固定广告配置
  26208. tags:
  26209. - 定制【海商报业】
  26210. /HSBY/QueryHsbyBuyMyTradeDetail:
  26211. get:
  26212. parameters:
  26213. - description: 页码
  26214. in: query
  26215. name: page
  26216. type: integer
  26217. - description: 每页条数
  26218. in: query
  26219. name: pagesize
  26220. type: integer
  26221. - description: 资金账户列表,格式:1,2,3
  26222. in: query
  26223. name: accountIDs
  26224. required: true
  26225. type: string
  26226. produces:
  26227. - application/json
  26228. responses:
  26229. "200":
  26230. description: OK
  26231. schema:
  26232. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  26233. "500":
  26234. description: Internal Server Error
  26235. schema:
  26236. $ref: '#/definitions/app.Response'
  26237. security:
  26238. - ApiKeyAuth: []
  26239. summary: 查询"我的订单 - 已完成"单据信息
  26240. tags:
  26241. - 定制【海商报业】
  26242. /HSBY/QueryHsbyGoodsOrderDetails:
  26243. get:
  26244. description: 说明:查询结果已按委托价格和委托时间排序
  26245. parameters:
  26246. - description: 商品ID
  26247. in: query
  26248. name: goodsID
  26249. required: true
  26250. type: integer
  26251. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  26252. in: query
  26253. name: accountIDs
  26254. type: string
  26255. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  26256. in: query
  26257. name: buyOrSell
  26258. type: integer
  26259. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  26260. in: query
  26261. name: price
  26262. type: number
  26263. - description: 档位,不传则默认为3档
  26264. in: query
  26265. name: speed
  26266. type: integer
  26267. produces:
  26268. - application/json
  26269. responses:
  26270. "200":
  26271. description: OK
  26272. schema:
  26273. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  26274. "500":
  26275. description: Internal Server Error
  26276. schema:
  26277. $ref: '#/definitions/app.Response'
  26278. security:
  26279. - ApiKeyAuth: []
  26280. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  26281. tags:
  26282. - 定制【海商报业】
  26283. /HSBY/QueryHsbyListingGoodsDetail:
  26284. get:
  26285. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  26286. parameters:
  26287. - description: 商品ID
  26288. in: query
  26289. name: goodsID
  26290. required: true
  26291. type: integer
  26292. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  26293. in: query
  26294. name: accountID
  26295. type: integer
  26296. produces:
  26297. - application/json
  26298. responses:
  26299. "200":
  26300. description: OK
  26301. schema:
  26302. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  26303. "500":
  26304. description: Internal Server Error
  26305. schema:
  26306. $ref: '#/definitions/app.Response'
  26307. security:
  26308. - ApiKeyAuth: []
  26309. summary: 查询二级市场(挂牌点选)商品信息详情
  26310. tags:
  26311. - 定制【海商报业】
  26312. /HSBY/QueryHsbyMarketGoodsDetail:
  26313. get:
  26314. parameters:
  26315. - description: 委托单号
  26316. in: query
  26317. name: orderID
  26318. required: true
  26319. type: integer
  26320. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  26321. in: query
  26322. name: accountID
  26323. type: integer
  26324. produces:
  26325. - application/json
  26326. responses:
  26327. "200":
  26328. description: OK
  26329. schema:
  26330. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26331. "500":
  26332. description: Internal Server Error
  26333. schema:
  26334. $ref: '#/definitions/app.Response'
  26335. security:
  26336. - ApiKeyAuth: []
  26337. summary: 查询三级市场(商城)商品信息详情
  26338. tags:
  26339. - 定制【海商报业】
  26340. /HSBY/QueryHsbyMarketGoodses:
  26341. get:
  26342. parameters:
  26343. - description: 页码
  26344. in: query
  26345. name: page
  26346. type: integer
  26347. - description: 每页条数
  26348. in: query
  26349. name: pagesize
  26350. type: integer
  26351. - description: 市场ID列表,格式:1,2,3
  26352. in: query
  26353. name: marketIDs
  26354. required: true
  26355. type: string
  26356. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  26357. in: query
  26358. name: accountID
  26359. required: true
  26360. type: integer
  26361. - description: 类别ID
  26362. in: query
  26363. name: categoryID
  26364. type: integer
  26365. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26366. in: query
  26367. name: goodsIDs
  26368. type: string
  26369. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  26370. in: query
  26371. name: couponTypeID
  26372. type: integer
  26373. produces:
  26374. - application/json
  26375. responses:
  26376. "200":
  26377. description: OK
  26378. schema:
  26379. $ref: '#/definitions/models.HsbyMarketGoods'
  26380. "500":
  26381. description: Internal Server Error
  26382. schema:
  26383. $ref: '#/definitions/app.Response'
  26384. security:
  26385. - ApiKeyAuth: []
  26386. summary: 查询特卖商品列表(三级商城)
  26387. tags:
  26388. - 定制【海商报业】
  26389. /HSBY/QueryHsbyMarkets:
  26390. get:
  26391. produces:
  26392. - application/json
  26393. responses:
  26394. "200":
  26395. description: OK
  26396. schema:
  26397. $ref: '#/definitions/models.HsbyMarketInfo'
  26398. "500":
  26399. description: Internal Server Error
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. security:
  26403. - ApiKeyAuth: []
  26404. summary: 查询海商报业相关市场信息
  26405. tags:
  26406. - 定制【海商报业】
  26407. /HSBY/QueryHsbyMyBuyOrderDetails:
  26408. get:
  26409. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  26410. parameters:
  26411. - description: 资金账户列表,格式:1,2,3
  26412. in: query
  26413. name: accountIDs
  26414. required: true
  26415. type: string
  26416. produces:
  26417. - application/json
  26418. responses:
  26419. "200":
  26420. description: OK
  26421. schema:
  26422. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  26423. "500":
  26424. description: Internal Server Error
  26425. schema:
  26426. $ref: '#/definitions/app.Response'
  26427. security:
  26428. - ApiKeyAuth: []
  26429. summary: 查询“我的订单”信息
  26430. tags:
  26431. - 定制【海商报业】
  26432. /HSBY/QueryHsbyMyGoods:
  26433. get:
  26434. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  26435. parameters:
  26436. - description: 资金账户列表,格式:1,2,3
  26437. in: query
  26438. name: accountIDs
  26439. required: true
  26440. type: string
  26441. produces:
  26442. - application/json
  26443. responses:
  26444. "200":
  26445. description: OK
  26446. schema:
  26447. $ref: '#/definitions/models.HsbyMyGoods'
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 查询“我的商品”信息
  26455. tags:
  26456. - 定制【海商报业】
  26457. /HSBY/QueryHsbyMyPackages:
  26458. get:
  26459. parameters:
  26460. - description: 资金账户列表,格式:1,2,3
  26461. in: query
  26462. name: accountIDs
  26463. required: true
  26464. type: string
  26465. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26466. in: query
  26467. name: takeOrderStatus
  26468. type: integer
  26469. produces:
  26470. - application/json
  26471. responses:
  26472. "200":
  26473. description: OK
  26474. schema:
  26475. $ref: '#/definitions/models.HsbyMyPackage'
  26476. "500":
  26477. description: Internal Server Error
  26478. schema:
  26479. $ref: '#/definitions/app.Response'
  26480. security:
  26481. - ApiKeyAuth: []
  26482. summary: 查询我的包裹信息
  26483. tags:
  26484. - 定制【海商报业】
  26485. /HSBY/QueryHsbyPreGoodsDetail:
  26486. get:
  26487. parameters:
  26488. - description: 商品ID
  26489. in: query
  26490. name: goodsID
  26491. required: true
  26492. type: integer
  26493. - description: 资金账户,主要用于获取预售商品购买上限
  26494. in: query
  26495. name: accountID
  26496. type: integer
  26497. produces:
  26498. - application/json
  26499. responses:
  26500. "200":
  26501. description: OK
  26502. schema:
  26503. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  26504. "500":
  26505. description: Internal Server Error
  26506. schema:
  26507. $ref: '#/definitions/app.Response'
  26508. security:
  26509. - ApiKeyAuth: []
  26510. summary: 查询一级市场(预售)商品信息详情
  26511. tags:
  26512. - 定制【海商报业】
  26513. /HSBY/QueryHsbyPreGoodses:
  26514. get:
  26515. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  26516. parameters:
  26517. - description: 页码
  26518. in: query
  26519. name: page
  26520. type: integer
  26521. - description: 每页条数
  26522. in: query
  26523. name: pagesize
  26524. type: integer
  26525. - description: 市场ID列表,格式:1,2,3
  26526. in: query
  26527. name: marketIDs
  26528. required: true
  26529. type: string
  26530. - description: 目的地(省)ID
  26531. in: query
  26532. name: descProvinceID
  26533. type: integer
  26534. - description: 目的地(市)ID
  26535. in: query
  26536. name: descCityID
  26537. type: integer
  26538. produces:
  26539. - application/json
  26540. responses:
  26541. "200":
  26542. description: OK
  26543. schema:
  26544. $ref: '#/definitions/models.HsbyPreGoods'
  26545. "500":
  26546. description: Internal Server Error
  26547. schema:
  26548. $ref: '#/definitions/app.Response'
  26549. security:
  26550. - ApiKeyAuth: []
  26551. summary: 查询新品上市商品列表(一级市场预售)
  26552. tags:
  26553. - 定制【海商报业】
  26554. /HSBY/QueryHsbySellMyDetails:
  26555. get:
  26556. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  26557. parameters:
  26558. - description: 页码
  26559. in: query
  26560. name: page
  26561. type: integer
  26562. - description: 每页条数
  26563. in: query
  26564. name: pagesize
  26565. type: integer
  26566. - description: 资金账户列表,格式:1,2,3
  26567. in: query
  26568. name: accountIDs
  26569. required: true
  26570. type: string
  26571. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  26572. in: query
  26573. name: orderType
  26574. type: integer
  26575. produces:
  26576. - application/json
  26577. responses:
  26578. "200":
  26579. description: OK
  26580. schema:
  26581. $ref: '#/definitions/models.HsbySellMyDetail'
  26582. "500":
  26583. description: Internal Server Error
  26584. schema:
  26585. $ref: '#/definitions/app.Response'
  26586. security:
  26587. - ApiKeyAuth: []
  26588. summary: 查询"我的闲置"单据信息
  26589. tags:
  26590. - 定制【海商报业】
  26591. /HSBY/QueryHsbyTopGoodses:
  26592. get:
  26593. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  26594. parameters:
  26595. - description: 页码
  26596. in: query
  26597. name: page
  26598. type: integer
  26599. - description: 每页条数
  26600. in: query
  26601. name: pagesize
  26602. type: integer
  26603. - description: 市场ID列表,格式:1,2,3
  26604. in: query
  26605. name: marketIDs
  26606. required: true
  26607. type: string
  26608. - description: 目的地(省)ID
  26609. in: query
  26610. name: descProvinceID
  26611. type: integer
  26612. - description: 目的地(市)ID
  26613. in: query
  26614. name: descCityID
  26615. type: integer
  26616. produces:
  26617. - application/json
  26618. responses:
  26619. "200":
  26620. description: OK
  26621. schema:
  26622. $ref: '#/definitions/models.HsbyTopGoods'
  26623. "500":
  26624. description: Internal Server Error
  26625. schema:
  26626. $ref: '#/definitions/app.Response'
  26627. security:
  26628. - ApiKeyAuth: []
  26629. summary: 查询热卖商品列表(二级市场挂牌点选)
  26630. tags:
  26631. - 定制【海商报业】
  26632. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  26633. get:
  26634. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  26635. parameters:
  26636. - description: 商品ID
  26637. in: query
  26638. name: goodsID
  26639. required: true
  26640. type: integer
  26641. produces:
  26642. - application/json
  26643. responses:
  26644. "200":
  26645. description: OK
  26646. schema:
  26647. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  26648. "500":
  26649. description: Internal Server Error
  26650. schema:
  26651. $ref: '#/definitions/app.Response'
  26652. security:
  26653. - ApiKeyAuth: []
  26654. summary: 查询游客三级市场(商城)商品信息详情
  26655. tags:
  26656. - 定制【海商报业】
  26657. /HSBY/QueryHsbyVisitorMarketGoodses:
  26658. get:
  26659. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  26660. parameters:
  26661. - description: 页码
  26662. in: query
  26663. name: page
  26664. type: integer
  26665. - description: 每页条数
  26666. in: query
  26667. name: pagesize
  26668. type: integer
  26669. - description: 市场ID列表,格式:1,2,3
  26670. in: query
  26671. name: marketIDs
  26672. required: true
  26673. type: string
  26674. - description: 类别ID
  26675. in: query
  26676. name: categoryID
  26677. type: integer
  26678. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  26679. in: query
  26680. name: goodsIDs
  26681. type: string
  26682. produces:
  26683. - application/json
  26684. responses:
  26685. "200":
  26686. description: OK
  26687. schema:
  26688. $ref: '#/definitions/models.HsbyMarketGoods'
  26689. "500":
  26690. description: Internal Server Error
  26691. schema:
  26692. $ref: '#/definitions/app.Response'
  26693. security:
  26694. - ApiKeyAuth: []
  26695. summary: 查询游客特卖商品列表(三级商城)
  26696. tags:
  26697. - 定制【海商报业】
  26698. /HSBY/QueryMyCollectionOrders:
  26699. get:
  26700. parameters:
  26701. - description: 页码
  26702. in: query
  26703. name: page
  26704. type: integer
  26705. - description: 每页条数
  26706. in: query
  26707. name: pagesize
  26708. type: integer
  26709. - description: 资金账户,格式:1,2,3
  26710. in: query
  26711. name: accountIDs
  26712. required: true
  26713. type: string
  26714. produces:
  26715. - application/json
  26716. responses:
  26717. "200":
  26718. description: OK
  26719. schema:
  26720. $ref: '#/definitions/models.HsbySellCollectionOrder'
  26721. "500":
  26722. description: Internal Server Error
  26723. schema:
  26724. $ref: '#/definitions/app.Response'
  26725. security:
  26726. - ApiKeyAuth: []
  26727. summary: 我的闲置中收款信息查询
  26728. tags:
  26729. - 定制【海商报业】
  26730. /HSBY/QueryMyCouponHolds:
  26731. get:
  26732. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  26733. parameters:
  26734. - description: 资金账户列表,格式:1,2,3
  26735. in: query
  26736. name: accountIDs
  26737. required: true
  26738. type: string
  26739. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  26740. in: query
  26741. name: holdStatus
  26742. type: string
  26743. produces:
  26744. - application/json
  26745. responses:
  26746. "200":
  26747. description: OK
  26748. schema:
  26749. $ref: '#/definitions/models.MyCouponHold'
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 我的优惠卷持仓查询
  26757. tags:
  26758. - 定制【海商报业】
  26759. /HSBY/QueryMyCoupons:
  26760. get:
  26761. parameters:
  26762. - description: 资金账户列表,格式:1,2,3
  26763. in: query
  26764. name: accountIDs
  26765. required: true
  26766. type: string
  26767. - description: 商品ID, 一般与sellUserID配套传入
  26768. in: query
  26769. name: goodsID
  26770. type: integer
  26771. - description: 卖方UserID
  26772. in: query
  26773. name: sellUserID
  26774. type: integer
  26775. produces:
  26776. - application/json
  26777. responses:
  26778. "200":
  26779. description: OK
  26780. schema:
  26781. $ref: '#/definitions/models.MyCoupon'
  26782. "500":
  26783. description: Internal Server Error
  26784. schema:
  26785. $ref: '#/definitions/app.Response'
  26786. security:
  26787. - ApiKeyAuth: []
  26788. summary: 我的优惠卷查询
  26789. tags:
  26790. - 定制【海商报业】
  26791. /HSBY/QueryMyPayOrders:
  26792. get:
  26793. parameters:
  26794. - description: 页码
  26795. in: query
  26796. name: page
  26797. type: integer
  26798. - description: 每页条数
  26799. in: query
  26800. name: pagesize
  26801. type: integer
  26802. - description: 资金账户列表,格式:1,2,3
  26803. in: query
  26804. name: accountIDs
  26805. required: true
  26806. type: string
  26807. - description: 买方委托单号
  26808. in: query
  26809. name: buyOrderID
  26810. type: integer
  26811. - description: 卖方委托单号
  26812. in: query
  26813. name: sellOrderID
  26814. type: integer
  26815. produces:
  26816. - application/json
  26817. responses:
  26818. "200":
  26819. description: OK
  26820. schema:
  26821. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  26822. "500":
  26823. description: Internal Server Error
  26824. schema:
  26825. $ref: '#/definitions/app.Response'
  26826. security:
  26827. - ApiKeyAuth: []
  26828. summary: 获取我的订单中待付款信息
  26829. tags:
  26830. - 定制【海商报业】
  26831. /HSBY/QueryMyUsedCoupon:
  26832. get:
  26833. parameters:
  26834. - description: 资金账户列表,格式:1,2,3
  26835. in: query
  26836. name: accountIDs
  26837. required: true
  26838. type: string
  26839. produces:
  26840. - application/json
  26841. responses:
  26842. "200":
  26843. description: OK
  26844. schema:
  26845. $ref: '#/definitions/models.MyUsedCoupon'
  26846. "500":
  26847. description: Internal Server Error
  26848. schema:
  26849. $ref: '#/definitions/app.Response'
  26850. security:
  26851. - ApiKeyAuth: []
  26852. summary: 已使用优惠卷查询
  26853. tags:
  26854. - 定制【海商报业】
  26855. /HSBY/QueryProvincesAndCities:
  26856. get:
  26857. description: 查询结果只包括二级市场商品已关连的省市信息。
  26858. parameters:
  26859. - description: 省ID
  26860. in: query
  26861. name: provinceID
  26862. type: integer
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  26870. "500":
  26871. description: Internal Server Error
  26872. schema:
  26873. $ref: '#/definitions/app.Response'
  26874. security:
  26875. - ApiKeyAuth: []
  26876. summary: 查询省市信息(不包括区)
  26877. tags:
  26878. - 定制【海商报业】
  26879. /HSBY/SetHsbyMyPackagesStatus:
  26880. post:
  26881. parameters:
  26882. - description: 提货单号
  26883. in: query
  26884. name: takeOrderID
  26885. required: true
  26886. type: string
  26887. - description: 资金账号
  26888. in: query
  26889. name: accountID
  26890. required: true
  26891. type: integer
  26892. produces:
  26893. - application/json
  26894. responses:
  26895. "200":
  26896. description: OK
  26897. schema:
  26898. $ref: '#/definitions/app.Response'
  26899. "500":
  26900. description: Internal Server Error
  26901. schema:
  26902. $ref: '#/definitions/app.Response'
  26903. security:
  26904. - ApiKeyAuth: []
  26905. summary: 设置我的包裹已收货状态
  26906. tags:
  26907. - 定制【海商报业】
  26908. /Market/GetAllExExchanges:
  26909. get:
  26910. produces:
  26911. - application/json
  26912. responses:
  26913. "200":
  26914. description: OK
  26915. schema:
  26916. $ref: '#/definitions/models.Goods'
  26917. "500":
  26918. description: Internal Server Error
  26919. schema:
  26920. $ref: '#/definitions/app.Response'
  26921. security:
  26922. - ApiKeyAuth: []
  26923. summary: 获取所有外部交易所信息
  26924. tags:
  26925. - 通用市场
  26926. /Market/QueryGoodsesByLoginID:
  26927. get:
  26928. parameters:
  26929. - description: 登录账号
  26930. in: query
  26931. name: loginID
  26932. required: true
  26933. type: integer
  26934. - description: 市场ID列表,格式:1,2,3
  26935. in: query
  26936. name: marketIDs
  26937. type: string
  26938. produces:
  26939. - application/json
  26940. responses:
  26941. "200":
  26942. description: OK
  26943. schema:
  26944. $ref: '#/definitions/models.Goods'
  26945. "500":
  26946. description: Internal Server Error
  26947. schema:
  26948. $ref: '#/definitions/app.Response'
  26949. security:
  26950. - ApiKeyAuth: []
  26951. summary: 获取登录账号有权限的商品信息
  26952. tags:
  26953. - 通用市场
  26954. /Market/QueryMarketRun:
  26955. get:
  26956. parameters:
  26957. - description: 市场ID,不传返回所有
  26958. in: query
  26959. name: marketID
  26960. type: integer
  26961. produces:
  26962. - application/json
  26963. responses:
  26964. "200":
  26965. description: OK
  26966. schema:
  26967. $ref: '#/definitions/models.Marketrun'
  26968. "500":
  26969. description: Internal Server Error
  26970. schema:
  26971. $ref: '#/definitions/app.Response'
  26972. security:
  26973. - ApiKeyAuth: []
  26974. summary: 查询市场运行信息
  26975. tags:
  26976. - 通用市场
  26977. /Market/QueryMarketsByLoginID:
  26978. get:
  26979. parameters:
  26980. - description: 登录账号
  26981. in: query
  26982. name: loginID
  26983. required: true
  26984. type: integer
  26985. produces:
  26986. - application/json
  26987. responses:
  26988. "200":
  26989. description: OK
  26990. schema:
  26991. $ref: '#/definitions/models.Market'
  26992. "500":
  26993. description: Internal Server Error
  26994. schema:
  26995. $ref: '#/definitions/app.Response'
  26996. security:
  26997. - ApiKeyAuth: []
  26998. summary: 获取登录账号有权限的市场信息
  26999. tags:
  27000. - 通用市场
  27001. /Order/QueryHisTradeDetail:
  27002. get:
  27003. parameters:
  27004. - description: 资金账户 - 格式:1,2,3
  27005. in: query
  27006. name: accountID
  27007. required: true
  27008. type: string
  27009. - description: 成交单号
  27010. in: query
  27011. name: tradeID
  27012. type: integer
  27013. - description: 委托单号
  27014. in: query
  27015. name: orderID
  27016. type: integer
  27017. - description: 商品ID
  27018. in: query
  27019. name: goodsID
  27020. type: integer
  27021. - description: 交易模式 - 格式:1,2,3
  27022. in: query
  27023. name: tradeMode
  27024. type: string
  27025. - description: 委托单据类型
  27026. in: query
  27027. name: buildType
  27028. type: integer
  27029. - description: 成交类别 - 格式:1,2,3
  27030. in: query
  27031. name: tradeType
  27032. type: string
  27033. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27034. in: query
  27035. name: startDate
  27036. type: string
  27037. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27038. in: query
  27039. name: endDate
  27040. type: string
  27041. produces:
  27042. - application/json
  27043. responses:
  27044. "200":
  27045. description: OK
  27046. schema:
  27047. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  27048. "500":
  27049. description: Internal Server Error
  27050. schema:
  27051. $ref: '#/definitions/app.Response'
  27052. security:
  27053. - ApiKeyAuth: []
  27054. summary: 历史成交单查询(合约市场)
  27055. tags:
  27056. - 通用单据
  27057. /Order/QueryHisTradeOrderDetail:
  27058. get:
  27059. parameters:
  27060. - description: 资金账户 - 格式:1,2,3
  27061. in: query
  27062. name: accountID
  27063. required: true
  27064. type: string
  27065. - description: 交易模式 - 格式:1,2,3
  27066. in: query
  27067. name: tradeMode
  27068. type: string
  27069. - description: 委托状态 - 格式:1,2,3
  27070. in: query
  27071. name: orderStatus
  27072. type: string
  27073. - description: 委托单号
  27074. in: query
  27075. name: orderID
  27076. type: integer
  27077. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27078. in: query
  27079. name: startDate
  27080. type: string
  27081. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27082. in: query
  27083. name: endDate
  27084. type: string
  27085. produces:
  27086. - application/json
  27087. responses:
  27088. "200":
  27089. description: OK
  27090. schema:
  27091. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  27092. "500":
  27093. description: Internal Server Error
  27094. schema:
  27095. $ref: '#/definitions/app.Response'
  27096. security:
  27097. - ApiKeyAuth: []
  27098. summary: 历史委托单查询请求(合约市场)
  27099. tags:
  27100. - 通用单据
  27101. /Order/QueryTradeDetail:
  27102. get:
  27103. parameters:
  27104. - description: 资金账户 - 格式:1,2,3
  27105. in: query
  27106. name: accountID
  27107. required: true
  27108. type: string
  27109. - description: 成交单号
  27110. in: query
  27111. name: tradeID
  27112. type: integer
  27113. - description: 委托单号
  27114. in: query
  27115. name: orderID
  27116. type: integer
  27117. - description: 交易模式 - 格式:1,2,3
  27118. in: query
  27119. name: tradeMode
  27120. type: string
  27121. - description: 委托单据类型
  27122. in: query
  27123. name: buildType
  27124. type: integer
  27125. - description: 成交类别 - 格式:1,2,3
  27126. in: query
  27127. name: tradeType
  27128. type: string
  27129. - description: 商品ID
  27130. in: query
  27131. name: goodsID
  27132. type: integer
  27133. produces:
  27134. - application/json
  27135. responses:
  27136. "200":
  27137. description: OK
  27138. schema:
  27139. $ref: '#/definitions/order.QueryTradeDetailRsp'
  27140. "500":
  27141. description: Internal Server Error
  27142. schema:
  27143. $ref: '#/definitions/app.Response'
  27144. security:
  27145. - ApiKeyAuth: []
  27146. summary: 成交单查询(合约市场)
  27147. tags:
  27148. - 通用单据
  27149. /Order/QueryTradeHolderDetail:
  27150. get:
  27151. parameters:
  27152. - description: 用户id
  27153. in: query
  27154. name: userid
  27155. type: integer
  27156. - description: 资金账号, 格式 1,2,3
  27157. in: query
  27158. name: accids
  27159. type: string
  27160. - description: 交易模式, 格式 1,2,3
  27161. in: query
  27162. name: trademodes
  27163. type: string
  27164. - description: 市场id, 格式 1,2,3
  27165. in: query
  27166. name: marketids
  27167. type: string
  27168. - description: 商品id
  27169. in: query
  27170. name: goodsid
  27171. type: integer
  27172. - description: 买卖方向 0-买 1-卖
  27173. in: query
  27174. name: buyorsell
  27175. type: integer
  27176. produces:
  27177. - application/json
  27178. responses:
  27179. "200":
  27180. description: OK
  27181. schema:
  27182. items:
  27183. $ref: '#/definitions/models.TradeHolderDetail'
  27184. type: array
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. security:
  27190. - ApiKeyAuth: []
  27191. summary: 查询持仓明细
  27192. tags:
  27193. - 通用单据
  27194. /Order/QueryTradeOrderDetail:
  27195. get:
  27196. parameters:
  27197. - description: 资金账户 - 格式:1,2,3
  27198. in: query
  27199. name: accountID
  27200. required: true
  27201. type: string
  27202. - description: 交易模式 - 格式:1,2,3
  27203. in: query
  27204. name: tradeMode
  27205. type: string
  27206. - description: 委托状态 - 格式:1,2,3
  27207. in: query
  27208. name: orderStatus
  27209. type: string
  27210. - description: 委托单号
  27211. in: query
  27212. name: orderID
  27213. type: integer
  27214. produces:
  27215. - application/json
  27216. responses:
  27217. "200":
  27218. description: OK
  27219. schema:
  27220. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  27221. "500":
  27222. description: Internal Server Error
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. security:
  27226. - ApiKeyAuth: []
  27227. summary: 委托单查询请求(合约市场)
  27228. tags:
  27229. - 通用单据
  27230. /Order/QueryTradePosition:
  27231. get:
  27232. parameters:
  27233. - description: 资金账户 - 格式:1,2,3
  27234. in: query
  27235. name: accountID
  27236. required: true
  27237. type: string
  27238. - description: 交易模式 - 格式:1,2,3
  27239. in: query
  27240. name: tradeMode
  27241. type: string
  27242. produces:
  27243. - application/json
  27244. responses:
  27245. "200":
  27246. description: OK
  27247. schema:
  27248. $ref: '#/definitions/order.QueryTradePositionRsp'
  27249. "500":
  27250. description: Internal Server Error
  27251. schema:
  27252. $ref: '#/definitions/app.Response'
  27253. security:
  27254. - ApiKeyAuth: []
  27255. summary: 持仓汇总查询(合约市场)
  27256. tags:
  27257. - 通用单据
  27258. /Qhj/QueryAccountInOutApply:
  27259. get:
  27260. parameters:
  27261. - description: 用户ID
  27262. in: query
  27263. name: userid
  27264. required: true
  27265. type: integer
  27266. - description: 申请起始日期(格式yyyymmdd)
  27267. in: query
  27268. name: begindate
  27269. type: string
  27270. - description: 申请截止日期(格式yyyymmdd)
  27271. in: query
  27272. name: enddate
  27273. type: string
  27274. - description: 模糊搜索名称
  27275. in: query
  27276. name: likename
  27277. type: string
  27278. produces:
  27279. - application/json
  27280. responses:
  27281. "200":
  27282. description: OK
  27283. schema:
  27284. items:
  27285. $ref: '#/definitions/models.QhjAccountOutInApply'
  27286. type: array
  27287. "500":
  27288. description: Internal Server Error
  27289. schema:
  27290. $ref: '#/definitions/app.Response'
  27291. security:
  27292. - ApiKeyAuth: []
  27293. summary: 查询充值提现
  27294. tags:
  27295. - 大连千海金
  27296. /Qhj/QueryAreaFinanceConfig:
  27297. get:
  27298. parameters:
  27299. - description: 机构用户ID 其他做市关系,都设置为 1
  27300. in: query
  27301. name: userid
  27302. type: integer
  27303. produces:
  27304. - application/json
  27305. responses:
  27306. "200":
  27307. description: OK
  27308. schema:
  27309. items:
  27310. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  27311. type: array
  27312. "500":
  27313. description: Internal Server Error
  27314. schema:
  27315. $ref: '#/definitions/app.Response'
  27316. security:
  27317. - ApiKeyAuth: []
  27318. summary: 查询企业配置表
  27319. tags:
  27320. - 大连千海金
  27321. /Qhj/QueryBankAccountSign:
  27322. get:
  27323. parameters:
  27324. - description: 用户ID
  27325. in: query
  27326. name: userid
  27327. required: true
  27328. type: integer
  27329. produces:
  27330. - application/json
  27331. responses:
  27332. "200":
  27333. description: OK
  27334. schema:
  27335. items:
  27336. $ref: '#/definitions/models.QhjBankAccountSign'
  27337. type: array
  27338. "500":
  27339. description: Internal Server Error
  27340. schema:
  27341. $ref: '#/definitions/app.Response'
  27342. security:
  27343. - ApiKeyAuth: []
  27344. summary: 查询签约银行信息(提现账户管理)
  27345. tags:
  27346. - 大连千海金
  27347. /Qhj/QueryBankInfo:
  27348. get:
  27349. produces:
  27350. - application/json
  27351. responses:
  27352. "200":
  27353. description: OK
  27354. schema:
  27355. items:
  27356. $ref: '#/definitions/models.QhjBankInfo'
  27357. type: array
  27358. "500":
  27359. description: Internal Server Error
  27360. schema:
  27361. $ref: '#/definitions/app.Response'
  27362. security:
  27363. - ApiKeyAuth: []
  27364. summary: 查询开户行
  27365. tags:
  27366. - 大连千海金
  27367. /Qhj/QueryBrokerApply:
  27368. get:
  27369. parameters:
  27370. - description: 所属机构ID
  27371. in: query
  27372. name: userid
  27373. type: integer
  27374. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27375. in: query
  27376. name: filterstatus
  27377. type: string
  27378. produces:
  27379. - application/json
  27380. responses:
  27381. "200":
  27382. description: OK
  27383. schema:
  27384. items:
  27385. $ref: '#/definitions/models.QhjBrokerApply'
  27386. type: array
  27387. "500":
  27388. description: Internal Server Error
  27389. schema:
  27390. $ref: '#/definitions/app.Response'
  27391. security:
  27392. - ApiKeyAuth: []
  27393. summary: 查询经纪人申请
  27394. tags:
  27395. - 大连千海金
  27396. /Qhj/QueryBrokerApplyEx:
  27397. get:
  27398. parameters:
  27399. - description: 所属机构ID
  27400. in: query
  27401. name: userid
  27402. type: integer
  27403. produces:
  27404. - application/json
  27405. responses:
  27406. "200":
  27407. description: OK
  27408. schema:
  27409. items:
  27410. $ref: '#/definitions/models.QhjBrokerApplyEx'
  27411. type: array
  27412. "500":
  27413. description: Internal Server Error
  27414. schema:
  27415. $ref: '#/definitions/app.Response'
  27416. security:
  27417. - ApiKeyAuth: []
  27418. summary: 查询经纪人信息和申请记录
  27419. tags:
  27420. - 大连千海金
  27421. /Qhj/QueryBrokerRewardLog:
  27422. get:
  27423. parameters:
  27424. - description: 用户ID
  27425. in: query
  27426. name: userid
  27427. required: true
  27428. type: integer
  27429. - description: 开始交易日(yyyymmdd)
  27430. in: query
  27431. name: begindate
  27432. type: string
  27433. - description: 结束交易日(yyyymmdd)
  27434. in: query
  27435. name: enddate
  27436. type: string
  27437. produces:
  27438. - application/json
  27439. responses:
  27440. "200":
  27441. description: OK
  27442. schema:
  27443. items:
  27444. $ref: '#/definitions/models.QhjBrokerRewardLog'
  27445. type: array
  27446. "500":
  27447. description: Internal Server Error
  27448. schema:
  27449. $ref: '#/definitions/app.Response'
  27450. security:
  27451. - ApiKeyAuth: []
  27452. summary: 查询奖励流水(我的奖励)
  27453. tags:
  27454. - 大连千海金
  27455. /Qhj/QueryContract:
  27456. get:
  27457. parameters:
  27458. - description: 用户ID
  27459. in: query
  27460. name: userid
  27461. type: integer
  27462. - description: scf合同id
  27463. in: query
  27464. name: scfcontractid
  27465. type: integer
  27466. produces:
  27467. - application/json
  27468. responses:
  27469. "200":
  27470. description: OK
  27471. schema:
  27472. items:
  27473. $ref: '#/definitions/models.QhjContract'
  27474. type: array
  27475. "500":
  27476. description: Internal Server Error
  27477. schema:
  27478. $ref: '#/definitions/app.Response'
  27479. security:
  27480. - ApiKeyAuth: []
  27481. summary: 查询融资明细(合同)
  27482. tags:
  27483. - 大连千海金
  27484. /Qhj/QueryContractLog:
  27485. get:
  27486. parameters:
  27487. - description: scf合同id
  27488. in: query
  27489. name: scfcontractid
  27490. required: true
  27491. type: integer
  27492. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  27493. in: query
  27494. name: amounttype
  27495. type: string
  27496. produces:
  27497. - application/json
  27498. responses:
  27499. "200":
  27500. description: OK
  27501. schema:
  27502. items:
  27503. $ref: '#/definitions/models.QhjContractLog'
  27504. type: array
  27505. "500":
  27506. description: Internal Server Error
  27507. schema:
  27508. $ref: '#/definitions/app.Response'
  27509. security:
  27510. - ApiKeyAuth: []
  27511. summary: 查询融资明细流水(融资明细详情页中的流水)
  27512. tags:
  27513. - 大连千海金
  27514. /Qhj/QueryCusBankSignBank:
  27515. get:
  27516. produces:
  27517. - application/json
  27518. responses:
  27519. "200":
  27520. description: OK
  27521. schema:
  27522. items:
  27523. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  27524. type: array
  27525. "500":
  27526. description: Internal Server Error
  27527. schema:
  27528. $ref: '#/definitions/app.Response'
  27529. security:
  27530. - ApiKeyAuth: []
  27531. summary: 查询托管银行
  27532. tags:
  27533. - 大连千海金
  27534. /Qhj/QueryCustomerInfo:
  27535. get:
  27536. parameters:
  27537. - description: 用户ID
  27538. in: query
  27539. name: userid
  27540. required: true
  27541. type: integer
  27542. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27543. in: query
  27544. name: querytype
  27545. required: true
  27546. type: integer
  27547. - description: 客户类型 1-个人 2-企业
  27548. in: query
  27549. name: userinfotype
  27550. type: integer
  27551. - description: 客户名称(模糊匹配)
  27552. in: query
  27553. name: customername
  27554. type: string
  27555. - description: 昵称(模糊匹配)
  27556. in: query
  27557. name: nickname
  27558. type: string
  27559. - description: 是否包含子级 1-包含
  27560. in: query
  27561. name: includesub
  27562. type: integer
  27563. produces:
  27564. - application/json
  27565. responses:
  27566. "200":
  27567. description: OK
  27568. schema:
  27569. items:
  27570. $ref: '#/definitions/models.QhjCustomer'
  27571. type: array
  27572. "500":
  27573. description: Internal Server Error
  27574. schema:
  27575. $ref: '#/definitions/app.Response'
  27576. security:
  27577. - ApiKeyAuth: []
  27578. summary: 查询客户资料
  27579. tags:
  27580. - 大连千海金
  27581. /Qhj/QueryGoodsEx:
  27582. get:
  27583. parameters:
  27584. - description: 商品id
  27585. in: query
  27586. name: goodsid
  27587. type: integer
  27588. produces:
  27589. - application/json
  27590. responses:
  27591. "200":
  27592. description: OK
  27593. schema:
  27594. items:
  27595. $ref: '#/definitions/models.Qhjgoodsex'
  27596. type: array
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. summary: 交易商品扩展表
  27604. tags:
  27605. - 大连千海金
  27606. /Qhj/QueryMyTeam:
  27607. get:
  27608. parameters:
  27609. - description: 用户ID
  27610. in: query
  27611. name: userid
  27612. required: true
  27613. type: integer
  27614. produces:
  27615. - application/json
  27616. responses:
  27617. "200":
  27618. description: OK
  27619. schema:
  27620. items:
  27621. $ref: '#/definitions/models.QhjMyTeamEx'
  27622. type: array
  27623. "500":
  27624. description: Internal Server Error
  27625. schema:
  27626. $ref: '#/definitions/app.Response'
  27627. security:
  27628. - ApiKeyAuth: []
  27629. summary: 查询我的团队
  27630. tags:
  27631. - 大连千海金
  27632. /Qhj/QueryMyTeamOrder:
  27633. get:
  27634. parameters:
  27635. - description: 页码
  27636. in: query
  27637. name: page
  27638. type: integer
  27639. - description: 每页条数
  27640. in: query
  27641. name: pagesize
  27642. type: integer
  27643. - description: 用户ID
  27644. in: query
  27645. name: userid
  27646. required: true
  27647. type: integer
  27648. - description: 交易模式
  27649. in: query
  27650. name: trademode
  27651. type: integer
  27652. - description: 名称(模糊搜索账户)
  27653. in: query
  27654. name: filtername
  27655. type: string
  27656. produces:
  27657. - application/json
  27658. responses:
  27659. "200":
  27660. description: OK
  27661. schema:
  27662. items:
  27663. $ref: '#/definitions/models.QhjTeamOrder'
  27664. type: array
  27665. "500":
  27666. description: Internal Server Error
  27667. schema:
  27668. $ref: '#/definitions/app.Response'
  27669. security:
  27670. - ApiKeyAuth: []
  27671. summary: 查询团队订单(我的团队/团队订单)
  27672. tags:
  27673. - 大连千海金
  27674. /Qhj/QueryParentAreaList:
  27675. get:
  27676. parameters:
  27677. - description: 用户ID
  27678. in: query
  27679. name: userid
  27680. required: true
  27681. type: integer
  27682. produces:
  27683. - application/json
  27684. responses:
  27685. "200":
  27686. description: OK
  27687. schema:
  27688. items:
  27689. $ref: '#/definitions/models.QhjParentAreaList'
  27690. type: array
  27691. "500":
  27692. description: Internal Server Error
  27693. schema:
  27694. $ref: '#/definitions/app.Response'
  27695. security:
  27696. - ApiKeyAuth: []
  27697. summary: 查询所属机构列表
  27698. tags:
  27699. - 大连千海金
  27700. /Qhj/QueryPayOrder:
  27701. get:
  27702. parameters:
  27703. - description: 资金账号id
  27704. in: query
  27705. name: accountid
  27706. required: true
  27707. type: integer
  27708. - description: 成交单号
  27709. in: query
  27710. name: tradeid
  27711. type: integer
  27712. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27713. in: query
  27714. name: payflag
  27715. type: string
  27716. produces:
  27717. - application/json
  27718. responses:
  27719. "200":
  27720. description: OK
  27721. schema:
  27722. items:
  27723. $ref: '#/definitions/models.QhjPayOrder'
  27724. type: array
  27725. "500":
  27726. description: Internal Server Error
  27727. schema:
  27728. $ref: '#/definitions/app.Response'
  27729. security:
  27730. - ApiKeyAuth: []
  27731. summary: 查询待付款单据
  27732. tags:
  27733. - 大连千海金
  27734. /Qhj/QueryPickArea:
  27735. get:
  27736. parameters:
  27737. - description: 用户ID
  27738. in: query
  27739. name: userid
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/models.QhjPickArea'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. summary: 查询提货门店
  27757. tags:
  27758. - 大连千海金
  27759. /Qhj/QueryPickGoods:
  27760. get:
  27761. parameters:
  27762. - description: 交易商品id
  27763. in: query
  27764. name: goodsid
  27765. required: true
  27766. type: integer
  27767. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27768. in: query
  27769. name: status
  27770. type: string
  27771. produces:
  27772. - application/json
  27773. responses:
  27774. "200":
  27775. description: OK
  27776. schema:
  27777. items:
  27778. $ref: '#/definitions/models.QhjPickGoods'
  27779. type: array
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. summary: 查询提货商品
  27787. tags:
  27788. - 大连千海金
  27789. /Qhj/QueryRSTriggerLog:
  27790. get:
  27791. parameters:
  27792. - description: 用户ID
  27793. in: query
  27794. name: userid
  27795. type: integer
  27796. - description: 定投策略id
  27797. in: query
  27798. name: regularlystrategyid
  27799. type: integer
  27800. - description: 商品id
  27801. in: query
  27802. name: goodsid
  27803. type: integer
  27804. - description: 开始交易日(yyyymmdd)
  27805. in: query
  27806. name: begindate
  27807. type: string
  27808. - description: 结束交易日(yyyymmdd)
  27809. in: query
  27810. name: enddate
  27811. type: string
  27812. - description: 名称(模糊搜索账户)
  27813. in: query
  27814. name: filtername
  27815. type: string
  27816. produces:
  27817. - application/json
  27818. responses:
  27819. "200":
  27820. description: OK
  27821. schema:
  27822. items:
  27823. $ref: '#/definitions/models.QhjRSTriggerLog'
  27824. type: array
  27825. "500":
  27826. description: Internal Server Error
  27827. schema:
  27828. $ref: '#/definitions/app.Response'
  27829. security:
  27830. - ApiKeyAuth: []
  27831. summary: 查询定投记录(定投管理/详情/定投记录)
  27832. tags:
  27833. - 大连千海金
  27834. /Qhj/QueryRStrategy:
  27835. get:
  27836. parameters:
  27837. - description: 用户ID
  27838. in: query
  27839. name: userid
  27840. type: integer
  27841. - description: 商品id
  27842. in: query
  27843. name: goodsid
  27844. type: integer
  27845. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  27846. in: query
  27847. name: status
  27848. type: string
  27849. - description: 名称(模糊搜索账户)
  27850. in: query
  27851. name: filtername
  27852. type: string
  27853. produces:
  27854. - application/json
  27855. responses:
  27856. "200":
  27857. description: OK
  27858. schema:
  27859. items:
  27860. $ref: '#/definitions/models.QhjRStrategy'
  27861. type: array
  27862. "500":
  27863. description: Internal Server Error
  27864. schema:
  27865. $ref: '#/definitions/app.Response'
  27866. security:
  27867. - ApiKeyAuth: []
  27868. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  27869. tags:
  27870. - 大连千海金
  27871. /Qhj/QueryReckonPriceLog:
  27872. get:
  27873. parameters:
  27874. - description: 商品ID
  27875. in: query
  27876. name: goodsid
  27877. type: integer
  27878. - description: 交易日 格式(yyyymmdd)
  27879. in: query
  27880. name: tradedate
  27881. type: string
  27882. produces:
  27883. - application/json
  27884. responses:
  27885. "200":
  27886. description: OK
  27887. schema:
  27888. items:
  27889. $ref: '#/definitions/models.QhjReckonPriceLog'
  27890. type: array
  27891. "500":
  27892. description: Internal Server Error
  27893. schema:
  27894. $ref: '#/definitions/app.Response'
  27895. security:
  27896. - ApiKeyAuth: []
  27897. summary: 查询定投价(结算价)
  27898. tags:
  27899. - 大连千海金
  27900. /Qhj/QueryScoreLog:
  27901. get:
  27902. parameters:
  27903. - description: 用户ID
  27904. in: query
  27905. name: userid
  27906. required: true
  27907. type: integer
  27908. - description: 开始交易日(yyyymmdd)
  27909. in: query
  27910. name: begindate
  27911. type: string
  27912. - description: 结束交易日(yyyymmdd)
  27913. in: query
  27914. name: enddate
  27915. type: string
  27916. - description: 最近多少条
  27917. in: query
  27918. name: lastnum
  27919. type: integer
  27920. produces:
  27921. - application/json
  27922. responses:
  27923. "200":
  27924. description: OK
  27925. schema:
  27926. items:
  27927. $ref: '#/definitions/models.QhjScoreLog'
  27928. type: array
  27929. "500":
  27930. description: Internal Server Error
  27931. schema:
  27932. $ref: '#/definitions/app.Response'
  27933. security:
  27934. - ApiKeyAuth: []
  27935. summary: 查询积分流水(我的积分)
  27936. tags:
  27937. - 大连千海金
  27938. /Qhj/QuerySiteColumnDetail:
  27939. get:
  27940. parameters:
  27941. - description: 用户ID
  27942. in: query
  27943. name: userid
  27944. required: true
  27945. type: integer
  27946. produces:
  27947. - application/json
  27948. responses:
  27949. "200":
  27950. description: OK
  27951. schema:
  27952. items:
  27953. $ref: '#/definitions/models.QhjSiteColumnDetail'
  27954. type: array
  27955. "500":
  27956. description: Internal Server Error
  27957. schema:
  27958. $ref: '#/definitions/app.Response'
  27959. security:
  27960. - ApiKeyAuth: []
  27961. summary: 查询资讯
  27962. tags:
  27963. - 大连千海金
  27964. /Qhj/QueryTradeGoodsPickup:
  27965. get:
  27966. parameters:
  27967. - description: 用户ID
  27968. in: query
  27969. name: userid
  27970. required: true
  27971. type: integer
  27972. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  27973. 7:已拒绝 8:已撤销
  27974. in: query
  27975. name: takeorderstatus
  27976. type: integer
  27977. produces:
  27978. - application/json
  27979. responses:
  27980. "200":
  27981. description: OK
  27982. schema:
  27983. items:
  27984. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  27985. type: array
  27986. "500":
  27987. description: Internal Server Error
  27988. schema:
  27989. $ref: '#/definitions/app.Response'
  27990. security:
  27991. - ApiKeyAuth: []
  27992. summary: 查询提货
  27993. tags:
  27994. - 大连千海金
  27995. /Qhj/QueryUserCollectConfig:
  27996. get:
  27997. parameters:
  27998. - description: 用户ID
  27999. in: query
  28000. name: userid
  28001. required: true
  28002. type: integer
  28003. produces:
  28004. - application/json
  28005. responses:
  28006. "200":
  28007. description: OK
  28008. schema:
  28009. items:
  28010. $ref: '#/definitions/models.UserCollectConfig'
  28011. type: array
  28012. "500":
  28013. description: Internal Server Error
  28014. schema:
  28015. $ref: '#/definitions/app.Response'
  28016. security:
  28017. - ApiKeyAuth: []
  28018. summary: 查询提现账户设置
  28019. tags:
  28020. - 大连千海金
  28021. /Qhj/QueryUserReceiveInfo:
  28022. get:
  28023. parameters:
  28024. - description: 用户ID
  28025. in: query
  28026. name: userid
  28027. required: true
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. items:
  28036. $ref: '#/definitions/models.UserReceiveInfo'
  28037. type: array
  28038. "500":
  28039. description: Internal Server Error
  28040. schema:
  28041. $ref: '#/definitions/app.Response'
  28042. security:
  28043. - ApiKeyAuth: []
  28044. summary: 查询收货地址信息
  28045. tags:
  28046. - 大连千海金
  28047. /QhjMgr/QueryAccountInOutApply:
  28048. get:
  28049. parameters:
  28050. - description: 查询类型 1-提现(出金) 2-充值(出金)
  28051. in: query
  28052. name: querytype
  28053. required: true
  28054. type: integer
  28055. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28056. in: query
  28057. name: applystatus
  28058. type: integer
  28059. - description: 申请起始日期(格式yyyymmdd)
  28060. in: query
  28061. name: begindate
  28062. type: string
  28063. - description: 申请截止日期(格式yyyymmdd)
  28064. in: query
  28065. name: enddate
  28066. type: string
  28067. - description: 模糊搜索名称
  28068. in: query
  28069. name: likename
  28070. type: string
  28071. produces:
  28072. - application/json
  28073. responses:
  28074. "200":
  28075. description: OK
  28076. schema:
  28077. items:
  28078. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  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. - 大连千海金(PCWeb)
  28089. /QhjMgr/QueryBrokerApply:
  28090. get:
  28091. parameters:
  28092. - description: 所属机构ID
  28093. in: query
  28094. name: userid
  28095. type: integer
  28096. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28097. in: query
  28098. name: filterstatus
  28099. type: string
  28100. - description: 名称(模糊匹配)
  28101. in: query
  28102. name: filtername
  28103. type: string
  28104. - description: 是否包含子级 1-包含
  28105. in: query
  28106. name: includesub
  28107. type: integer
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.QhjMgrBrokerApply'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 查询经纪人申请
  28124. tags:
  28125. - 大连千海金(PCWeb)
  28126. /QhjMgr/QueryBrokerRewardReport:
  28127. get:
  28128. parameters:
  28129. - description: 所属机构ID
  28130. in: query
  28131. name: userid
  28132. required: true
  28133. type: integer
  28134. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28135. in: query
  28136. name: cycletype
  28137. required: true
  28138. type: integer
  28139. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  28140. in: query
  28141. name: cycletime
  28142. required: true
  28143. type: string
  28144. - description: 名称(模糊匹配)
  28145. in: query
  28146. name: filtername
  28147. type: string
  28148. - description: 是否包含子级 1-包含
  28149. in: query
  28150. name: includesub
  28151. type: integer
  28152. produces:
  28153. - application/json
  28154. responses:
  28155. "200":
  28156. description: OK
  28157. schema:
  28158. items:
  28159. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  28160. type: array
  28161. "500":
  28162. description: Internal Server Error
  28163. schema:
  28164. $ref: '#/definitions/app.Response'
  28165. security:
  28166. - ApiKeyAuth: []
  28167. summary: 查询经纪人奖励报表(废弃)
  28168. tags:
  28169. - 大连千海金(PCWeb)
  28170. /QhjMgr/QueryContract:
  28171. get:
  28172. parameters:
  28173. - description: 用户ID
  28174. in: query
  28175. name: userid
  28176. type: integer
  28177. - description: 商品id
  28178. in: query
  28179. name: goodsid
  28180. type: integer
  28181. - description: 名称(模糊搜索账户)
  28182. in: query
  28183. name: filtername
  28184. type: string
  28185. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  28186. in: query
  28187. name: risklevel
  28188. type: string
  28189. - description: 开始交易日(yyyymmdd)
  28190. in: query
  28191. name: begindate
  28192. type: string
  28193. - description: 结束交易日(yyyymmdd)
  28194. in: query
  28195. name: enddate
  28196. type: string
  28197. produces:
  28198. - application/json
  28199. responses:
  28200. "200":
  28201. description: OK
  28202. schema:
  28203. items:
  28204. $ref: '#/definitions/models.QhjMgrContract'
  28205. type: array
  28206. "500":
  28207. description: Internal Server Error
  28208. schema:
  28209. $ref: '#/definitions/app.Response'
  28210. security:
  28211. - ApiKeyAuth: []
  28212. summary: 查询融资信息(合同)
  28213. tags:
  28214. - 大连千海金(PCWeb)
  28215. /QhjMgr/QueryCustomerInfo:
  28216. get:
  28217. parameters:
  28218. - description: 用户ID
  28219. in: query
  28220. name: userid
  28221. required: true
  28222. type: integer
  28223. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  28224. in: query
  28225. name: querytype
  28226. required: true
  28227. type: integer
  28228. - description: 客户类型 1-个人 2-企业
  28229. in: query
  28230. name: userinfotype
  28231. type: integer
  28232. - description: 客户名称(模糊匹配)
  28233. in: query
  28234. name: customername
  28235. type: string
  28236. - description: 昵称(模糊匹配)
  28237. in: query
  28238. name: nickname
  28239. type: string
  28240. - description: 所属客户经理(模糊匹配)
  28241. in: query
  28242. name: brokername
  28243. type: string
  28244. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  28245. 如0503 -5月3日)
  28246. in: query
  28247. name: birthday
  28248. type: string
  28249. - description: 是否包含子级 1-包含
  28250. in: query
  28251. name: includesub
  28252. type: integer
  28253. produces:
  28254. - application/json
  28255. responses:
  28256. "200":
  28257. description: OK
  28258. schema:
  28259. items:
  28260. $ref: '#/definitions/models.QhjMgrCustomer'
  28261. type: array
  28262. "500":
  28263. description: Internal Server Error
  28264. schema:
  28265. $ref: '#/definitions/app.Response'
  28266. security:
  28267. - ApiKeyAuth: []
  28268. summary: 查询客户资料
  28269. tags:
  28270. - 大连千海金(PCWeb)
  28271. /QhjMgr/QueryPickGoods:
  28272. get:
  28273. parameters:
  28274. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  28275. in: query
  28276. name: status
  28277. type: string
  28278. produces:
  28279. - application/json
  28280. responses:
  28281. "200":
  28282. description: OK
  28283. schema:
  28284. items:
  28285. $ref: '#/definitions/models.QhjMgrPickGoods'
  28286. type: array
  28287. "500":
  28288. description: Internal Server Error
  28289. schema:
  28290. $ref: '#/definitions/app.Response'
  28291. security:
  28292. - ApiKeyAuth: []
  28293. summary: 查询提货商品
  28294. tags:
  28295. - 大连千海金(PCWeb)
  28296. /QhjMgr/QuerySubArea:
  28297. get:
  28298. parameters:
  28299. - description: 用户ID
  28300. in: query
  28301. name: userid
  28302. required: true
  28303. type: integer
  28304. produces:
  28305. - application/json
  28306. responses:
  28307. "200":
  28308. description: OK
  28309. schema:
  28310. items:
  28311. $ref: '#/definitions/models.QhjMgrSubArea'
  28312. type: array
  28313. "500":
  28314. description: Internal Server Error
  28315. schema:
  28316. $ref: '#/definitions/app.Response'
  28317. security:
  28318. - ApiKeyAuth: []
  28319. summary: 查询子机构列表
  28320. tags:
  28321. - 大连千海金(PCWeb)
  28322. /QhjMgr/QueryTradeDetail:
  28323. get:
  28324. parameters:
  28325. - description: 用户ID
  28326. in: query
  28327. name: userid
  28328. required: true
  28329. type: integer
  28330. - description: 用户类型 1-个人 2-企业
  28331. in: query
  28332. name: userinfotype
  28333. type: integer
  28334. - description: 交易模式
  28335. in: query
  28336. name: trademode
  28337. type: integer
  28338. - description: 商品id
  28339. in: query
  28340. name: goodsid
  28341. type: integer
  28342. - description: 名称(模糊搜索账户)
  28343. in: query
  28344. name: filtername
  28345. type: string
  28346. - description: 开始交易日(yyyymmdd)
  28347. in: query
  28348. name: begindate
  28349. type: string
  28350. - description: 结束交易日(yyyymmdd)
  28351. in: query
  28352. name: enddate
  28353. type: string
  28354. - description: 是否包含子级 1-包含
  28355. in: query
  28356. name: includesub
  28357. type: integer
  28358. produces:
  28359. - application/json
  28360. responses:
  28361. "200":
  28362. description: OK
  28363. schema:
  28364. items:
  28365. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  28366. type: array
  28367. "500":
  28368. description: Internal Server Error
  28369. schema:
  28370. $ref: '#/definitions/app.Response'
  28371. security:
  28372. - ApiKeyAuth: []
  28373. summary: 查询成交明细
  28374. tags:
  28375. - 大连千海金(PCWeb)
  28376. /QhjMgr/QueryTradeOrderDetail:
  28377. get:
  28378. parameters:
  28379. - description: 用户ID
  28380. in: query
  28381. name: userid
  28382. required: true
  28383. type: integer
  28384. - description: 用户类型 1-个人 2-企业
  28385. in: query
  28386. name: userinfotype
  28387. type: integer
  28388. - description: 交易模式
  28389. in: query
  28390. name: trademode
  28391. type: integer
  28392. - description: 商品id
  28393. in: query
  28394. name: goodsid
  28395. type: integer
  28396. - description: 名称(模糊搜索账户)
  28397. in: query
  28398. name: filtername
  28399. type: string
  28400. - description: 开始交易日(yyyymmdd)
  28401. in: query
  28402. name: begindate
  28403. type: string
  28404. - description: 结束交易日(yyyymmdd)
  28405. in: query
  28406. name: enddate
  28407. type: string
  28408. - description: 是否包含子级 1-包含
  28409. in: query
  28410. name: includesub
  28411. type: integer
  28412. produces:
  28413. - application/json
  28414. responses:
  28415. "200":
  28416. description: OK
  28417. schema:
  28418. items:
  28419. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  28420. type: array
  28421. "500":
  28422. description: Internal Server Error
  28423. schema:
  28424. $ref: '#/definitions/app.Response'
  28425. security:
  28426. - ApiKeyAuth: []
  28427. summary: 查询委托明细
  28428. tags:
  28429. - 大连千海金(PCWeb)
  28430. /QhjMgr/QueryTradePayOrder:
  28431. get:
  28432. parameters:
  28433. - description: 用户ID
  28434. in: query
  28435. name: userid
  28436. required: true
  28437. type: integer
  28438. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  28439. in: query
  28440. name: payflag
  28441. type: string
  28442. - description: 用户类型 1-个人 2-企业
  28443. in: query
  28444. name: userinfotype
  28445. type: integer
  28446. - description: 交易模式
  28447. in: query
  28448. name: trademode
  28449. type: integer
  28450. - description: 商品id
  28451. in: query
  28452. name: goodsid
  28453. type: integer
  28454. - description: 名称(模糊搜索账户)
  28455. in: query
  28456. name: filtername
  28457. type: string
  28458. - description: 开始交易日(yyyymmdd)
  28459. in: query
  28460. name: begindate
  28461. type: string
  28462. - description: 结束交易日(yyyymmdd)
  28463. in: query
  28464. name: enddate
  28465. type: string
  28466. - description: 是否包含子级 1-包含
  28467. in: query
  28468. name: includesub
  28469. type: integer
  28470. produces:
  28471. - application/json
  28472. responses:
  28473. "200":
  28474. description: OK
  28475. schema:
  28476. items:
  28477. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  28478. type: array
  28479. "500":
  28480. description: Internal Server Error
  28481. schema:
  28482. $ref: '#/definitions/app.Response'
  28483. security:
  28484. - ApiKeyAuth: []
  28485. summary: 查询待付款单
  28486. tags:
  28487. - 大连千海金(PCWeb)
  28488. /QhjMgr/QueryTradePosition:
  28489. get:
  28490. parameters:
  28491. - description: 用户ID
  28492. in: query
  28493. name: userid
  28494. required: true
  28495. type: integer
  28496. - description: 用户类型 1-个人 2-企业
  28497. in: query
  28498. name: userinfotype
  28499. type: integer
  28500. - description: 交易模式
  28501. in: query
  28502. name: trademode
  28503. type: integer
  28504. - description: 商品id
  28505. in: query
  28506. name: goodsid
  28507. type: integer
  28508. - description: 名称(模糊搜索账户)
  28509. in: query
  28510. name: filtername
  28511. type: string
  28512. - description: 是否包含子级 1-包含
  28513. in: query
  28514. name: includesub
  28515. type: integer
  28516. produces:
  28517. - application/json
  28518. responses:
  28519. "200":
  28520. description: OK
  28521. schema:
  28522. items:
  28523. $ref: '#/definitions/models.QhjMgrPositionRsp'
  28524. type: array
  28525. "500":
  28526. description: Internal Server Error
  28527. schema:
  28528. $ref: '#/definitions/app.Response'
  28529. security:
  28530. - ApiKeyAuth: []
  28531. summary: 查询持仓汇总
  28532. tags:
  28533. - 大连千海金(PCWeb)
  28534. /QhjSys/QueryAgreementChangeLog:
  28535. get:
  28536. parameters:
  28537. - description: 协议ID
  28538. in: query
  28539. name: agreementid
  28540. type: integer
  28541. - description: 协议版本号
  28542. in: query
  28543. name: agreementversion
  28544. type: integer
  28545. - description: 协议类型 - 1:注册 2:登录 3:交易
  28546. in: query
  28547. name: agreementtype
  28548. type: integer
  28549. - description: 协议编号(模糊匹配)
  28550. in: query
  28551. name: agreementno
  28552. type: string
  28553. - description: 协议名称(模糊匹配)
  28554. in: query
  28555. name: agreementname
  28556. type: string
  28557. produces:
  28558. - application/json
  28559. responses:
  28560. "200":
  28561. description: OK
  28562. schema:
  28563. items:
  28564. $ref: '#/definitions/models.QhjAgreementChangeLog'
  28565. type: array
  28566. "500":
  28567. description: Internal Server Error
  28568. schema:
  28569. $ref: '#/definitions/app.Response'
  28570. security:
  28571. - ApiKeyAuth: []
  28572. summary: 查询协议配置变更流水
  28573. tags:
  28574. - 大连千海金(协议和签约信息)
  28575. /QhjSys/QueryAgreementConfig:
  28576. get:
  28577. parameters:
  28578. - description: 协议ID
  28579. in: query
  28580. name: agreementid
  28581. type: integer
  28582. - description: 协议版本号
  28583. in: query
  28584. name: agreementversion
  28585. type: integer
  28586. - description: 协议类型 - 1:注册 2:登录 3:交易
  28587. in: query
  28588. name: agreementtype
  28589. type: integer
  28590. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  28591. in: query
  28592. name: isvalid
  28593. type: integer
  28594. - description: 协议编号(模糊匹配)
  28595. in: query
  28596. name: agreementno
  28597. type: string
  28598. - description: 协议名称(模糊匹配)
  28599. in: query
  28600. name: agreementname
  28601. type: string
  28602. produces:
  28603. - application/json
  28604. responses:
  28605. "200":
  28606. description: OK
  28607. schema:
  28608. items:
  28609. $ref: '#/definitions/models.QhjAgreementConfig'
  28610. type: array
  28611. "500":
  28612. description: Internal Server Error
  28613. schema:
  28614. $ref: '#/definitions/app.Response'
  28615. security:
  28616. - ApiKeyAuth: []
  28617. summary: 查询协议配置
  28618. tags:
  28619. - 大连千海金(协议和签约信息)
  28620. /QhjSys/QueryCustomerSignStatus:
  28621. get:
  28622. parameters:
  28623. - description: 客户ID
  28624. in: query
  28625. name: userid
  28626. type: integer
  28627. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  28628. in: query
  28629. name: nodetype
  28630. type: integer
  28631. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28632. in: query
  28633. name: goodsid
  28634. type: integer
  28635. - description: 创建交易日(yyyyMMdd)
  28636. in: query
  28637. name: tradedate
  28638. type: string
  28639. - description: 用户名称(模糊匹配)
  28640. in: query
  28641. name: username
  28642. type: string
  28643. produces:
  28644. - application/json
  28645. responses:
  28646. "200":
  28647. description: OK
  28648. schema:
  28649. items:
  28650. $ref: '#/definitions/models.QhjCustomerSignStatus'
  28651. type: array
  28652. "500":
  28653. description: Internal Server Error
  28654. schema:
  28655. $ref: '#/definitions/app.Response'
  28656. security:
  28657. - ApiKeyAuth: []
  28658. summary: 查询客户协议签约状态
  28659. tags:
  28660. - 大连千海金(协议和签约信息)
  28661. /QhjSys/QueryNodeAgreementConfig:
  28662. get:
  28663. parameters:
  28664. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28665. in: query
  28666. name: configid
  28667. type: integer
  28668. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28669. in: query
  28670. name: nodetype
  28671. type: integer
  28672. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28673. in: query
  28674. name: goodsid
  28675. type: integer
  28676. - description: 协议ID
  28677. in: query
  28678. name: agreementid
  28679. type: integer
  28680. - description: 协议类型 - 1:注册 2:登录 3:交易
  28681. in: query
  28682. name: agreementtype
  28683. type: integer
  28684. - description: 协议版本号
  28685. in: query
  28686. name: agreementversion
  28687. type: integer
  28688. - description: 协议编号(模糊匹配)
  28689. in: query
  28690. name: agreementno
  28691. type: string
  28692. - description: 协议名称(模糊匹配)
  28693. in: query
  28694. name: agreementname
  28695. type: string
  28696. produces:
  28697. - application/json
  28698. responses:
  28699. "200":
  28700. description: OK
  28701. schema:
  28702. items:
  28703. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  28704. type: array
  28705. "500":
  28706. description: Internal Server Error
  28707. schema:
  28708. $ref: '#/definitions/app.Response'
  28709. security:
  28710. - ApiKeyAuth: []
  28711. summary: 查询协议节点配置
  28712. tags:
  28713. - 大连千海金(协议和签约信息)
  28714. /QhjSys/QueryQhjCustomerSignLog:
  28715. get:
  28716. parameters:
  28717. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  28718. in: query
  28719. name: logid
  28720. type: integer
  28721. - description: 客户ID
  28722. in: query
  28723. name: userid
  28724. type: integer
  28725. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28726. in: query
  28727. name: nodetype
  28728. type: integer
  28729. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28730. in: query
  28731. name: goodsid
  28732. type: integer
  28733. - description: 协议ID
  28734. in: query
  28735. name: agreementid
  28736. type: integer
  28737. - description: 用户名称(模糊匹配)
  28738. in: query
  28739. name: username
  28740. type: string
  28741. - description: 协议编号(模糊匹配)
  28742. in: query
  28743. name: agreementno
  28744. type: string
  28745. - description: 协议名称(模糊匹配)
  28746. in: query
  28747. name: agreementname
  28748. type: string
  28749. produces:
  28750. - application/json
  28751. responses:
  28752. "200":
  28753. description: OK
  28754. schema:
  28755. items:
  28756. $ref: '#/definitions/models.QhjCustomerSignLog'
  28757. type: array
  28758. "500":
  28759. description: Internal Server Error
  28760. schema:
  28761. $ref: '#/definitions/app.Response'
  28762. security:
  28763. - ApiKeyAuth: []
  28764. summary: 查询客户协议签约流水
  28765. tags:
  28766. - 大连千海金(协议和签约信息)
  28767. /QhjSys/QueryUserNodeCfgAndStatus:
  28768. get:
  28769. parameters:
  28770. - description: 客户ID
  28771. in: query
  28772. name: userid
  28773. type: integer
  28774. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  28775. in: query
  28776. name: configid
  28777. type: integer
  28778. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  28779. in: query
  28780. name: nodetype
  28781. type: string
  28782. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  28783. in: query
  28784. name: goodsid
  28785. type: integer
  28786. - description: 协议ID
  28787. in: query
  28788. name: agreementid
  28789. type: integer
  28790. - description: 协议类型 - 1:注册 2:登录 3:交易
  28791. in: query
  28792. name: agreementtype
  28793. type: integer
  28794. - description: 协议版本号
  28795. in: query
  28796. name: agreementversion
  28797. type: integer
  28798. - description: 协议编号(模糊匹配)
  28799. in: query
  28800. name: agreementno
  28801. type: string
  28802. - description: 协议名称(模糊匹配)
  28803. in: query
  28804. name: agreementname
  28805. type: string
  28806. produces:
  28807. - application/json
  28808. responses:
  28809. "200":
  28810. description: OK
  28811. schema:
  28812. items:
  28813. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  28814. type: array
  28815. "500":
  28816. description: Internal Server Error
  28817. schema:
  28818. $ref: '#/definitions/app.Response'
  28819. security:
  28820. - ApiKeyAuth: []
  28821. summary: 查询用户协议节点配置和状态
  28822. tags:
  28823. - 大连千海金(协议和签约信息)
  28824. /Quote/QueryHistoryDatas:
  28825. get:
  28826. parameters:
  28827. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  28828. 日线 12:周线 13:月线 14:年线'
  28829. in: query
  28830. name: cycleType
  28831. required: true
  28832. type: integer
  28833. - description: 商品代码
  28834. in: query
  28835. name: goodsCode
  28836. required: true
  28837. type: string
  28838. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28839. in: query
  28840. name: startTime
  28841. type: string
  28842. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28843. in: query
  28844. name: endTime
  28845. type: string
  28846. - description: 条数
  28847. in: query
  28848. name: count
  28849. type: integer
  28850. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28851. in: query
  28852. name: isAsc
  28853. type: boolean
  28854. produces:
  28855. - application/json
  28856. responses:
  28857. "200":
  28858. description: OK
  28859. schema:
  28860. $ref: '#/definitions/quote.HistoryData'
  28861. "500":
  28862. description: Internal Server Error
  28863. schema:
  28864. $ref: '#/definitions/app.Response'
  28865. security:
  28866. - ApiKeyAuth: []
  28867. summary: 查询行情历史数据
  28868. tags:
  28869. - 行情服务
  28870. /Quote/QueryHistoryTikDatas:
  28871. get:
  28872. parameters:
  28873. - description: 商品代码
  28874. in: query
  28875. name: goodsCode
  28876. required: true
  28877. type: string
  28878. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  28879. in: query
  28880. name: startTime
  28881. type: string
  28882. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  28883. in: query
  28884. name: endTime
  28885. type: string
  28886. - description: 条数
  28887. in: query
  28888. name: count
  28889. type: integer
  28890. - description: 是否按时间顺序排序(默认为时间倒序排序)
  28891. in: query
  28892. name: isAsc
  28893. type: boolean
  28894. produces:
  28895. - application/json
  28896. responses:
  28897. "200":
  28898. description: OK
  28899. schema:
  28900. $ref: '#/definitions/quote.HistoryTikData'
  28901. "500":
  28902. description: Internal Server Error
  28903. schema:
  28904. $ref: '#/definitions/app.Response'
  28905. security:
  28906. - ApiKeyAuth: []
  28907. summary: 查询行情Tik数据
  28908. tags:
  28909. - 行情服务
  28910. /Quote/QueryQuoteDay:
  28911. get:
  28912. parameters:
  28913. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  28914. in: query
  28915. name: goodsCodes
  28916. type: string
  28917. produces:
  28918. - application/json
  28919. responses:
  28920. "200":
  28921. description: OK
  28922. schema:
  28923. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  28924. "500":
  28925. description: Internal Server Error
  28926. schema:
  28927. $ref: '#/definitions/app.Response'
  28928. security:
  28929. - ApiKeyAuth: []
  28930. summary: 获取商品盘面信息
  28931. tags:
  28932. - 行情服务
  28933. /Quote/QueryTSData:
  28934. get:
  28935. parameters:
  28936. - description: 商品代码
  28937. in: query
  28938. name: goodsCode
  28939. required: true
  28940. type: string
  28941. produces:
  28942. - application/json
  28943. responses:
  28944. "200":
  28945. description: OK
  28946. schema:
  28947. $ref: '#/definitions/quote.QueryTSDataRsp'
  28948. "500":
  28949. description: Internal Server Error
  28950. schema:
  28951. $ref: '#/definitions/app.Response'
  28952. security:
  28953. - ApiKeyAuth: []
  28954. summary: 分时图数据查询
  28955. tags:
  28956. - 行情服务
  28957. /SZDZ/QueryConvertConfig:
  28958. get:
  28959. parameters:
  28960. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  28961. 6:交易转花生米(不设置)
  28962. in: query
  28963. name: convertType
  28964. type: integer
  28965. - description: 外部商品代码[JD\PD]
  28966. in: query
  28967. name: outerGoodsCode
  28968. type: string
  28969. - description: 内部商品ID列表[交易],格式:1,2,3
  28970. in: query
  28971. name: innerGoodsIDs
  28972. type: string
  28973. produces:
  28974. - application/json
  28975. responses:
  28976. "200":
  28977. description: OK
  28978. schema:
  28979. $ref: '#/definitions/models.Szdz3convertconfig'
  28980. "500":
  28981. description: Internal Server Error
  28982. schema:
  28983. $ref: '#/definitions/app.Response'
  28984. security:
  28985. - ApiKeyAuth: []
  28986. summary: 查询交易系统转换设置
  28987. tags:
  28988. - 定制【尚志大宗】
  28989. /SZDZ/QueryConvertLog:
  28990. get:
  28991. parameters:
  28992. - description: 资金账户 - 格式:1,2,3
  28993. in: query
  28994. name: accountID
  28995. required: true
  28996. type: string
  28997. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  28998. in: query
  28999. name: startDate
  29000. type: string
  29001. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  29002. in: query
  29003. name: endDate
  29004. type: string
  29005. produces:
  29006. - application/json
  29007. responses:
  29008. "200":
  29009. description: OK
  29010. schema:
  29011. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  29012. "500":
  29013. description: Internal Server Error
  29014. schema:
  29015. $ref: '#/definitions/app.Response'
  29016. security:
  29017. - ApiKeyAuth: []
  29018. summary: 交易系统转换流水查询
  29019. tags:
  29020. - 定制【尚志大宗】
  29021. /SZDZ/QueryGoodsPickup:
  29022. get:
  29023. parameters:
  29024. - description: 资金账户 - 格式:1,2,3
  29025. in: query
  29026. name: accountID
  29027. required: true
  29028. type: string
  29029. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  29030. in: query
  29031. name: takeOrderStatus
  29032. type: integer
  29033. produces:
  29034. - application/json
  29035. responses:
  29036. "200":
  29037. description: OK
  29038. schema:
  29039. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  29040. "500":
  29041. description: Internal Server Error
  29042. schema:
  29043. $ref: '#/definitions/app.Response'
  29044. security:
  29045. - ApiKeyAuth: []
  29046. summary: 商品提货单查询
  29047. tags:
  29048. - 定制【尚志大宗】
  29049. /SZDZ/QueryRecieptOrder:
  29050. get:
  29051. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29052. parameters:
  29053. - description: 页码
  29054. in: query
  29055. name: page
  29056. type: integer
  29057. - description: 每页条数
  29058. in: query
  29059. name: pagesize
  29060. type: integer
  29061. - description: 商品ID
  29062. in: query
  29063. name: goodsID
  29064. required: true
  29065. type: integer
  29066. - description: 所属账户名称
  29067. in: query
  29068. name: accountName
  29069. type: string
  29070. - description: 市场ID
  29071. in: query
  29072. name: marketID
  29073. type: integer
  29074. - description: 方向 - 0:买 1:卖
  29075. in: query
  29076. name: buyorsell
  29077. required: true
  29078. type: integer
  29079. produces:
  29080. - application/json
  29081. responses:
  29082. "200":
  29083. description: OK
  29084. schema:
  29085. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  29086. "500":
  29087. description: Internal Server Error
  29088. schema:
  29089. $ref: '#/definitions/app.Response'
  29090. security:
  29091. - ApiKeyAuth: []
  29092. summary: 点选挂牌委托单据查询(摘牌大厅)
  29093. tags:
  29094. - 定制【尚志大宗】
  29095. /SZDZ/QuerySZDZTradePosition:
  29096. get:
  29097. parameters:
  29098. - description: 资金账户
  29099. in: query
  29100. name: accountID
  29101. required: true
  29102. type: integer
  29103. produces:
  29104. - application/json
  29105. responses:
  29106. "200":
  29107. description: OK
  29108. schema:
  29109. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  29110. "500":
  29111. description: Internal Server Error
  29112. schema:
  29113. $ref: '#/definitions/app.Response'
  29114. security:
  29115. - ApiKeyAuth: []
  29116. summary: 持仓汇总查询(尚志大宗)
  29117. tags:
  29118. - 定制【尚志大宗】
  29119. /SZDZ/SearchWhite:
  29120. get:
  29121. parameters:
  29122. - description: 用户ID
  29123. in: query
  29124. name: userID
  29125. required: true
  29126. type: integer
  29127. produces:
  29128. - application/json
  29129. responses:
  29130. "200":
  29131. description: OK
  29132. schema:
  29133. $ref: '#/definitions/models.Szdz3searchwhitelist'
  29134. "500":
  29135. description: Internal Server Error
  29136. schema:
  29137. $ref: '#/definitions/app.Response'
  29138. security:
  29139. - ApiKeyAuth: []
  29140. summary: 搜索白名单
  29141. tags:
  29142. - 定制【尚志大宗】
  29143. /Search/SearchGoodses:
  29144. get:
  29145. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  29146. parameters:
  29147. - description: 检索内容
  29148. in: query
  29149. name: content
  29150. required: true
  29151. type: string
  29152. - description: 交易模式,格式:1,2,3
  29153. in: query
  29154. name: tradeModes
  29155. type: string
  29156. produces:
  29157. - application/json
  29158. responses:
  29159. "200":
  29160. description: OK
  29161. schema:
  29162. $ref: '#/definitions/models.SearchGoods'
  29163. "500":
  29164. description: Internal Server Error
  29165. schema:
  29166. $ref: '#/definitions/app.Response'
  29167. summary: 检索商品信息
  29168. tags:
  29169. - 检索服务
  29170. /TaAccount/GetTaAccounts:
  29171. get:
  29172. parameters:
  29173. - description: 登录账户
  29174. in: query
  29175. name: loginID
  29176. required: true
  29177. type: integer
  29178. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  29179. in: query
  29180. name: taAccountType
  29181. type: integer
  29182. produces:
  29183. - application/json
  29184. responses:
  29185. "200":
  29186. description: OK
  29187. schema:
  29188. $ref: '#/definitions/models.Taaccount'
  29189. "500":
  29190. description: Internal Server Error
  29191. schema:
  29192. $ref: '#/definitions/app.Response'
  29193. security:
  29194. - ApiKeyAuth: []
  29195. summary: 获取资金账户信息
  29196. tags:
  29197. - 资金账户
  29198. /TaAccount/QueryAmountLog:
  29199. get:
  29200. parameters:
  29201. - description: 页码
  29202. in: query
  29203. name: page
  29204. type: integer
  29205. - description: 每页条数
  29206. in: query
  29207. name: pagesize
  29208. type: integer
  29209. - description: 资金账户 - 格式:1,2,3
  29210. in: query
  29211. name: accountID
  29212. required: true
  29213. type: string
  29214. - description: 资金操作类型 - 格式:1,2,3
  29215. in: query
  29216. name: OperateType
  29217. type: string
  29218. produces:
  29219. - application/json
  29220. responses:
  29221. "200":
  29222. description: OK
  29223. schema:
  29224. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  29225. "500":
  29226. description: Internal Server Error
  29227. schema:
  29228. $ref: '#/definitions/app.Response'
  29229. security:
  29230. - ApiKeyAuth: []
  29231. summary: 资金流水查询(当前)
  29232. tags:
  29233. - 资金账户
  29234. /TaAccount/QueryHisAmountLog:
  29235. get:
  29236. parameters:
  29237. - description: 页码
  29238. in: query
  29239. name: page
  29240. type: integer
  29241. - description: 每页条数
  29242. in: query
  29243. name: pagesize
  29244. type: integer
  29245. - description: 资金账户 - 格式:1,2,3
  29246. in: query
  29247. name: accountID
  29248. required: true
  29249. type: string
  29250. - description: 资金操作类型 - 格式:1,2,3
  29251. in: query
  29252. name: OperateType
  29253. type: string
  29254. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29255. in: query
  29256. name: startDate
  29257. type: string
  29258. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29259. in: query
  29260. name: endDate
  29261. type: string
  29262. produces:
  29263. - application/json
  29264. responses:
  29265. "200":
  29266. description: OK
  29267. schema:
  29268. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  29269. "500":
  29270. description: Internal Server Error
  29271. schema:
  29272. $ref: '#/definitions/app.Response'
  29273. security:
  29274. - ApiKeyAuth: []
  29275. summary: 资金流水查询(历史)
  29276. tags:
  29277. - 资金账户
  29278. /TaAccount/QueryRelatedTaAccount:
  29279. get:
  29280. parameters:
  29281. - description: 关联UserID
  29282. in: query
  29283. name: relateduserid
  29284. required: true
  29285. type: integer
  29286. produces:
  29287. - application/json
  29288. responses:
  29289. "200":
  29290. description: OK
  29291. schema:
  29292. items:
  29293. $ref: '#/definitions/models.RelatedTaAccount'
  29294. type: array
  29295. "500":
  29296. description: Internal Server Error
  29297. schema:
  29298. $ref: '#/definitions/app.Response'
  29299. security:
  29300. - ApiKeyAuth: []
  29301. summary: 查询关联资金账户信息
  29302. tags:
  29303. - 资金账户
  29304. /Tjmd/QueryQuoteGoodsList:
  29305. get:
  29306. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  29307. parameters:
  29308. - description: 用户类型
  29309. in: query
  29310. name: usertype
  29311. required: true
  29312. type: integer
  29313. - description: 市场id, 格式 1,2,3
  29314. in: query
  29315. name: marketids
  29316. type: string
  29317. - description: 商品组id
  29318. in: query
  29319. name: goodsgroupid
  29320. type: integer
  29321. - description: 商品id
  29322. in: query
  29323. name: goodsid
  29324. type: integer
  29325. produces:
  29326. - application/json
  29327. responses:
  29328. "200":
  29329. description: OK
  29330. schema:
  29331. items:
  29332. $ref: '#/definitions/models.TjmdQuoteGoods'
  29333. type: array
  29334. "500":
  29335. description: Internal Server Error
  29336. schema:
  29337. $ref: '#/definitions/app.Response'
  29338. security:
  29339. - ApiKeyAuth: []
  29340. summary: 查询掉期报价列表
  29341. tags:
  29342. - 天津麦顿
  29343. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  29344. get:
  29345. parameters:
  29346. - description: 成交单号
  29347. in: query
  29348. name: tradeid
  29349. required: true
  29350. type: string
  29351. produces:
  29352. - application/json
  29353. responses:
  29354. "200":
  29355. description: OK
  29356. schema:
  29357. items:
  29358. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  29359. type: array
  29360. "500":
  29361. description: Internal Server Error
  29362. schema:
  29363. $ref: '#/definitions/app.Response'
  29364. security:
  29365. - ApiKeyAuth: []
  29366. summary: 掉期商品订单详情(交易确认书)
  29367. tags:
  29368. - 天津麦顿
  29369. /Tjmd/QueryTjmdMarketSection:
  29370. get:
  29371. produces:
  29372. - application/json
  29373. responses:
  29374. "200":
  29375. description: OK
  29376. schema:
  29377. items:
  29378. $ref: '#/definitions/models.TjmdMarketSection'
  29379. type: array
  29380. "500":
  29381. description: Internal Server Error
  29382. schema:
  29383. $ref: '#/definitions/app.Response'
  29384. security:
  29385. - ApiKeyAuth: []
  29386. summary: 查询市场板块
  29387. tags:
  29388. - 天津麦顿
  29389. /Tjmd/QueryTjmdTodayAccountMargin:
  29390. get:
  29391. parameters:
  29392. - description: 市场id
  29393. in: query
  29394. name: marketid
  29395. type: string
  29396. - description: 商品id
  29397. in: query
  29398. name: goodsid
  29399. type: string
  29400. - description: 资金账号
  29401. in: query
  29402. name: accountid
  29403. type: string
  29404. produces:
  29405. - application/json
  29406. responses:
  29407. "200":
  29408. description: OK
  29409. schema:
  29410. items:
  29411. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  29412. type: array
  29413. "500":
  29414. description: Internal Server Error
  29415. schema:
  29416. $ref: '#/definitions/app.Response'
  29417. security:
  29418. - ApiKeyAuth: []
  29419. summary: 查询今日账户保证金配置
  29420. tags:
  29421. - 天津麦顿
  29422. /Tjmd/QueryTjmdTradeOrderDetail:
  29423. get:
  29424. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  29425. parameters:
  29426. - description: 页码
  29427. in: query
  29428. name: page
  29429. type: integer
  29430. - description: 每页条数
  29431. in: query
  29432. name: pagesize
  29433. type: integer
  29434. - description: 用户id
  29435. in: query
  29436. name: userid
  29437. required: true
  29438. type: integer
  29439. - description: 用户类型
  29440. in: query
  29441. name: usertype
  29442. required: true
  29443. type: integer
  29444. - description: 市场id, 格式 1,2,3
  29445. in: query
  29446. name: marketids
  29447. type: string
  29448. - description: 商品id
  29449. in: query
  29450. name: goodsid
  29451. required: true
  29452. type: integer
  29453. - description: 买卖方向 0-买 1-卖
  29454. in: query
  29455. name: buyorsell
  29456. required: true
  29457. type: integer
  29458. produces:
  29459. - application/json
  29460. responses:
  29461. "200":
  29462. description: OK
  29463. schema:
  29464. items:
  29465. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  29466. type: array
  29467. "500":
  29468. description: Internal Server Error
  29469. schema:
  29470. $ref: '#/definitions/app.Response'
  29471. security:
  29472. - ApiKeyAuth: []
  29473. summary: 查询掉期买卖大厅
  29474. tags:
  29475. - 天津麦顿
  29476. /Tjmd/QueryTjmdTransferApply:
  29477. get:
  29478. parameters:
  29479. - description: 类型 1-我的申请 2-对方申请
  29480. in: query
  29481. name: applytype
  29482. required: true
  29483. type: integer
  29484. - description: 市场id, 格式 1,2,3
  29485. in: query
  29486. name: marketids
  29487. type: string
  29488. - description: 资金账号, 格式 25000000001,25000000003
  29489. in: query
  29490. name: accountids
  29491. type: string
  29492. - description: 开始交易日(yyyymmdd)
  29493. in: query
  29494. name: begindate
  29495. type: string
  29496. - description: 结束交易日(yyyymmdd)
  29497. in: query
  29498. name: enddate
  29499. type: string
  29500. produces:
  29501. - application/json
  29502. responses:
  29503. "200":
  29504. description: OK
  29505. schema:
  29506. items:
  29507. $ref: '#/definitions/models.TjmdTransferApply'
  29508. type: array
  29509. "500":
  29510. description: Internal Server Error
  29511. schema:
  29512. $ref: '#/definitions/app.Response'
  29513. security:
  29514. - ApiKeyAuth: []
  29515. summary: 查询掉期协议单
  29516. tags:
  29517. - 天津麦顿
  29518. /Trade/QueryRecieptOrder:
  29519. get:
  29520. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  29521. parameters:
  29522. - description: 页码
  29523. in: query
  29524. name: page
  29525. type: integer
  29526. - description: 每页条数
  29527. in: query
  29528. name: pagesize
  29529. type: integer
  29530. - description: 商品ID
  29531. in: query
  29532. name: goodsID
  29533. required: true
  29534. type: integer
  29535. - description: 所属账户名称
  29536. in: query
  29537. name: accountName
  29538. type: string
  29539. - description: 市场ID
  29540. in: query
  29541. name: marketID
  29542. type: integer
  29543. - description: 方向 - 0:买 1:卖
  29544. in: query
  29545. name: buyorsell
  29546. required: true
  29547. type: integer
  29548. produces:
  29549. - application/json
  29550. responses:
  29551. "200":
  29552. description: OK
  29553. schema:
  29554. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  29555. "500":
  29556. description: Internal Server Error
  29557. schema:
  29558. $ref: '#/definitions/app.Response'
  29559. security:
  29560. - ApiKeyAuth: []
  29561. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  29562. tags:
  29563. - 通用交易
  29564. /User/AddMessageBoard:
  29565. post:
  29566. parameters:
  29567. - description: 用户ID
  29568. in: query
  29569. name: userID
  29570. required: true
  29571. type: integer
  29572. - description: 留言信息
  29573. in: query
  29574. name: message
  29575. required: true
  29576. type: string
  29577. - description: 联系电话
  29578. in: query
  29579. name: contactNum
  29580. required: true
  29581. type: string
  29582. produces:
  29583. - application/json
  29584. responses:
  29585. "200":
  29586. description: OK
  29587. schema:
  29588. $ref: '#/definitions/app.Response'
  29589. "500":
  29590. description: Internal Server Error
  29591. schema:
  29592. $ref: '#/definitions/app.Response'
  29593. security:
  29594. - ApiKeyAuth: []
  29595. summary: 添加用户留言板信息
  29596. tags:
  29597. - 用户信息
  29598. /User/AddUserFavoriteGoods:
  29599. post:
  29600. parameters:
  29601. - description: 用户ID
  29602. in: query
  29603. name: userID
  29604. required: true
  29605. type: integer
  29606. - description: 商品ID
  29607. in: query
  29608. name: goodsID
  29609. required: true
  29610. type: integer
  29611. produces:
  29612. - application/json
  29613. responses:
  29614. "200":
  29615. description: OK
  29616. schema:
  29617. $ref: '#/definitions/app.Response'
  29618. "500":
  29619. description: Internal Server Error
  29620. schema:
  29621. $ref: '#/definitions/app.Response'
  29622. security:
  29623. - ApiKeyAuth: []
  29624. summary: 添加用户商品收藏信息
  29625. tags:
  29626. - 用户信息
  29627. /User/GetLoginID:
  29628. get:
  29629. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  29630. parameters:
  29631. - description: 登录代码
  29632. in: query
  29633. name: username
  29634. required: true
  29635. type: string
  29636. produces:
  29637. - application/json
  29638. responses:
  29639. "200":
  29640. description: OK
  29641. schema:
  29642. $ref: '#/definitions/app.Response'
  29643. "500":
  29644. description: Internal Server Error
  29645. schema:
  29646. $ref: '#/definitions/app.Response'
  29647. summary: 获取登录ID
  29648. tags:
  29649. - 用户信息
  29650. /User/GetUserAccount:
  29651. get:
  29652. parameters:
  29653. - description: 用户ID
  29654. in: query
  29655. name: userID
  29656. required: true
  29657. type: integer
  29658. produces:
  29659. - application/json
  29660. responses:
  29661. "200":
  29662. description: OK
  29663. schema:
  29664. $ref: '#/definitions/models.Useraccount'
  29665. "500":
  29666. description: Internal Server Error
  29667. schema:
  29668. $ref: '#/definitions/app.Response'
  29669. security:
  29670. - ApiKeyAuth: []
  29671. summary: 获取用户账号信息
  29672. tags:
  29673. - 用户信息
  29674. /User/GetUserAuthStatus:
  29675. get:
  29676. parameters:
  29677. - description: 用户ID
  29678. in: query
  29679. name: userID
  29680. required: true
  29681. type: integer
  29682. produces:
  29683. - application/json
  29684. responses:
  29685. "200":
  29686. description: OK
  29687. schema:
  29688. $ref: '#/definitions/app.Response'
  29689. "500":
  29690. description: Internal Server Error
  29691. schema:
  29692. $ref: '#/definitions/app.Response'
  29693. security:
  29694. - ApiKeyAuth: []
  29695. summary: 获取用户实名认证状态
  29696. tags:
  29697. - 用户信息
  29698. /User/LoginQuery:
  29699. get:
  29700. parameters:
  29701. - description: 登录账号
  29702. in: query
  29703. name: loginID
  29704. required: true
  29705. type: integer
  29706. produces:
  29707. - application/json
  29708. responses:
  29709. "200":
  29710. description: OK
  29711. schema:
  29712. $ref: '#/definitions/user.LoginQueryRsp'
  29713. "500":
  29714. description: Internal Server Error
  29715. schema:
  29716. $ref: '#/definitions/app.Response'
  29717. security:
  29718. - ApiKeyAuth: []
  29719. summary: 账户登录后信息查询
  29720. tags:
  29721. - 用户信息
  29722. /User/QueryMessageBoard:
  29723. get:
  29724. parameters:
  29725. - description: 用户ID
  29726. in: query
  29727. name: userID
  29728. required: true
  29729. type: integer
  29730. produces:
  29731. - application/json
  29732. responses:
  29733. "200":
  29734. description: OK
  29735. schema:
  29736. $ref: '#/definitions/models.Messageboard'
  29737. "500":
  29738. description: Internal Server Error
  29739. schema:
  29740. $ref: '#/definitions/app.Response'
  29741. security:
  29742. - ApiKeyAuth: []
  29743. summary: 获取用户留言板信息
  29744. tags:
  29745. - 用户信息
  29746. /User/QueryUserFavoriteGoodses:
  29747. get:
  29748. parameters:
  29749. - description: 用户ID
  29750. in: query
  29751. name: userID
  29752. required: true
  29753. type: integer
  29754. produces:
  29755. - application/json
  29756. responses:
  29757. "200":
  29758. description: OK
  29759. schema:
  29760. $ref: '#/definitions/models.Userfavoritegoods'
  29761. "500":
  29762. description: Internal Server Error
  29763. schema:
  29764. $ref: '#/definitions/app.Response'
  29765. security:
  29766. - ApiKeyAuth: []
  29767. summary: 获取用户商品收藏信息
  29768. tags:
  29769. - 用户信息
  29770. /User/QueryUserInfo:
  29771. get:
  29772. parameters:
  29773. - description: 用户ID
  29774. in: query
  29775. name: userID
  29776. required: true
  29777. type: integer
  29778. - description: 是否解密
  29779. in: query
  29780. name: isDecrypt
  29781. type: boolean
  29782. produces:
  29783. - application/json
  29784. responses:
  29785. "200":
  29786. description: OK
  29787. schema:
  29788. $ref: '#/definitions/models.Userinfo'
  29789. "500":
  29790. description: Internal Server Error
  29791. schema:
  29792. $ref: '#/definitions/app.Response'
  29793. security:
  29794. - ApiKeyAuth: []
  29795. summary: 获取用户信息
  29796. tags:
  29797. - 用户信息
  29798. /User/QueryUserReferNum:
  29799. get:
  29800. parameters:
  29801. - description: 用户ID
  29802. in: query
  29803. name: userID
  29804. required: true
  29805. type: integer
  29806. produces:
  29807. - application/json
  29808. responses:
  29809. "200":
  29810. description: OK
  29811. schema:
  29812. $ref: '#/definitions/app.Response'
  29813. "500":
  29814. description: Internal Server Error
  29815. schema:
  29816. $ref: '#/definitions/app.Response'
  29817. summary: 获取用户邀请码
  29818. tags:
  29819. - 用户信息
  29820. /User/RemoveUserFavoriteGoods:
  29821. post:
  29822. parameters:
  29823. - description: 用户ID
  29824. in: query
  29825. name: userID
  29826. required: true
  29827. type: integer
  29828. - description: 商品ID
  29829. in: query
  29830. name: goodsID
  29831. required: true
  29832. type: integer
  29833. produces:
  29834. - application/json
  29835. responses:
  29836. "200":
  29837. description: OK
  29838. schema:
  29839. $ref: '#/definitions/app.Response'
  29840. "500":
  29841. description: Internal Server Error
  29842. schema:
  29843. $ref: '#/definitions/app.Response'
  29844. security:
  29845. - ApiKeyAuth: []
  29846. summary: 移除用户商品收藏信息
  29847. tags:
  29848. - 用户信息
  29849. /User/UpdateUserAccountStatus:
  29850. post:
  29851. parameters:
  29852. - description: 用户ID
  29853. in: query
  29854. name: userID
  29855. required: true
  29856. type: integer
  29857. - description: 账户状态 - 4:正常 6:注销(停用)
  29858. in: query
  29859. name: accountStatus
  29860. required: true
  29861. type: integer
  29862. produces:
  29863. - application/json
  29864. responses:
  29865. "200":
  29866. description: OK
  29867. schema:
  29868. $ref: '#/definitions/app.Response'
  29869. "500":
  29870. description: Internal Server Error
  29871. schema:
  29872. $ref: '#/definitions/app.Response'
  29873. security:
  29874. - ApiKeyAuth: []
  29875. summary: 更新用户状态
  29876. tags:
  29877. - 用户信息
  29878. /WRTrade/GetAllDeliveryGoods:
  29879. get:
  29880. produces:
  29881. - application/json
  29882. responses:
  29883. "200":
  29884. description: OK
  29885. schema:
  29886. $ref: '#/definitions/app.Response'
  29887. "500":
  29888. description: Internal Server Error
  29889. schema:
  29890. $ref: '#/definitions/app.Response'
  29891. security:
  29892. - ApiKeyAuth: []
  29893. summary: 获取带仓单分类的种类信息
  29894. tags:
  29895. - 仓单贸易
  29896. - 仓单贸易
  29897. /WrTrade2/InsertXhcpSellBackApply:
  29898. post:
  29899. parameters:
  29900. - description: 回收申请
  29901. in: body
  29902. name: jsonBody
  29903. required: true
  29904. schema:
  29905. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  29906. produces:
  29907. - application/json
  29908. responses:
  29909. "200":
  29910. description: OK
  29911. schema:
  29912. $ref: '#/definitions/app.Response'
  29913. "500":
  29914. description: Internal Server Error
  29915. schema:
  29916. $ref: '#/definitions/app.Response'
  29917. security:
  29918. - ApiKeyAuth: []
  29919. summary: 新增回收申请(新会陈皮)
  29920. tags:
  29921. - 仓单贸易v2
  29922. /WrTrade2/QueryDeliveryGoodsSection:
  29923. get:
  29924. produces:
  29925. - application/json
  29926. responses:
  29927. "200":
  29928. description: OK
  29929. schema:
  29930. items:
  29931. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  29932. type: array
  29933. "500":
  29934. description: Internal Server Error
  29935. schema:
  29936. $ref: '#/definitions/app.Response'
  29937. security:
  29938. - ApiKeyAuth: []
  29939. summary: 查询板块(分类)
  29940. tags:
  29941. - 仓单贸易v2
  29942. /WrTrade2/QueryFaProductDetail:
  29943. get:
  29944. description: 页面 买卖大厅 -> 选择融资方案
  29945. parameters:
  29946. - description: 仓单要素id
  29947. in: query
  29948. name: wrfactortypeid
  29949. required: true
  29950. type: integer
  29951. produces:
  29952. - application/json
  29953. responses:
  29954. "200":
  29955. description: OK
  29956. schema:
  29957. items:
  29958. $ref: '#/definitions/models.WrFAProductDetail'
  29959. type: array
  29960. "500":
  29961. description: Internal Server Error
  29962. schema:
  29963. $ref: '#/definitions/app.Response'
  29964. security:
  29965. - ApiKeyAuth: []
  29966. summary: 查询融资产品列表
  29967. tags:
  29968. - 仓单贸易v2
  29969. /WrTrade2/QueryFilterItem:
  29970. get:
  29971. parameters:
  29972. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  29973. in: query
  29974. name: itype
  29975. required: true
  29976. type: string
  29977. produces:
  29978. - application/json
  29979. responses:
  29980. "200":
  29981. description: OK
  29982. schema:
  29983. items:
  29984. $ref: '#/definitions/models.WrFilterItem'
  29985. type: array
  29986. "500":
  29987. description: Internal Server Error
  29988. schema:
  29989. $ref: '#/definitions/app.Response'
  29990. security:
  29991. - ApiKeyAuth: []
  29992. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  29993. tags:
  29994. - 仓单贸易v2
  29995. /WrTrade2/QueryFtDeliveryGoods:
  29996. get:
  29997. produces:
  29998. - application/json
  29999. responses:
  30000. "200":
  30001. description: OK
  30002. schema:
  30003. items:
  30004. $ref: '#/definitions/models.WrFtDeliveryGoods'
  30005. type: array
  30006. "500":
  30007. description: Internal Server Error
  30008. schema:
  30009. $ref: '#/definitions/app.Response'
  30010. security:
  30011. - ApiKeyAuth: []
  30012. summary: 查询品种品类筛选框列表
  30013. tags:
  30014. - 仓单贸易v2
  30015. /WrTrade2/QueryHoldLB:
  30016. get:
  30017. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  30018. parameters:
  30019. - description: 资金账号
  30020. in: query
  30021. name: accountid
  30022. required: true
  30023. type: integer
  30024. - description: 仓库id
  30025. in: query
  30026. name: warehouseid
  30027. type: integer
  30028. - description: 品种id
  30029. in: query
  30030. name: deliverygoodsid
  30031. type: integer
  30032. - description: 品类id
  30033. in: query
  30034. name: wrstandardid
  30035. type: integer
  30036. - description: 仓单要素id
  30037. in: query
  30038. name: wrfactortypeid
  30039. type: integer
  30040. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30041. in: query
  30042. name: dgitemname
  30043. type: string
  30044. produces:
  30045. - application/json
  30046. responses:
  30047. "200":
  30048. description: OK
  30049. schema:
  30050. items:
  30051. $ref: '#/definitions/models.WrHoldLB'
  30052. type: array
  30053. "500":
  30054. description: Internal Server Error
  30055. schema:
  30056. $ref: '#/definitions/app.Response'
  30057. security:
  30058. - ApiKeyAuth: []
  30059. summary: 查询仓单持有记录
  30060. tags:
  30061. - 仓单贸易v2
  30062. /WrTrade2/QueryOrderQuote:
  30063. get:
  30064. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  30065. 唯一确定1条记录
  30066. parameters:
  30067. - description: 页码
  30068. in: query
  30069. name: page
  30070. type: integer
  30071. - description: 每页条数
  30072. in: query
  30073. name: pagesize
  30074. type: integer
  30075. - description: 仓单贸易市场id
  30076. in: query
  30077. name: marketid
  30078. type: integer
  30079. - description: 价格方式 - 1:固定价 2-浮动价
  30080. in: query
  30081. name: wrpricetype
  30082. required: true
  30083. type: integer
  30084. - description: 0:仓单预售 1:仓单贸易
  30085. in: query
  30086. name: haswr
  30087. type: integer
  30088. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30089. in: query
  30090. name: dgitemname
  30091. type: string
  30092. - description: 仓库id(筛选条件)
  30093. in: query
  30094. name: warehouseid
  30095. type: integer
  30096. - description: 品种id
  30097. in: query
  30098. name: deliverygoodsid
  30099. type: integer
  30100. - description: 品类id
  30101. in: query
  30102. name: wrstandardid
  30103. type: integer
  30104. - description: 品牌id(dgfactoryitemid)
  30105. in: query
  30106. name: brandid
  30107. type: integer
  30108. - description: 年份id(dgfactoryitemid)
  30109. in: query
  30110. name: yearsid
  30111. type: integer
  30112. - description: 仓单要素id
  30113. in: query
  30114. name: wrfactortypeid
  30115. type: integer
  30116. - description: 交收月(yyyy-mm) 仓单预售填写
  30117. in: query
  30118. name: deliverymonth
  30119. type: string
  30120. produces:
  30121. - application/json
  30122. responses:
  30123. "200":
  30124. description: OK
  30125. schema:
  30126. items:
  30127. $ref: '#/definitions/models.WrOrderQuote'
  30128. type: array
  30129. "500":
  30130. description: Internal Server Error
  30131. schema:
  30132. $ref: '#/definitions/app.Response'
  30133. security:
  30134. - ApiKeyAuth: []
  30135. summary: 查询大厅行情列表
  30136. tags:
  30137. - 仓单贸易v2
  30138. /WrTrade2/QueryOrderQuoteDetail:
  30139. get:
  30140. parameters:
  30141. - description: 页码
  30142. in: query
  30143. name: page
  30144. type: integer
  30145. - description: 每页条数
  30146. in: query
  30147. name: pagesize
  30148. type: integer
  30149. - description: 仓单贸易市场id
  30150. in: query
  30151. name: marketid
  30152. type: integer
  30153. - description: 价格方式 - 1:固定价 2-浮动价
  30154. in: query
  30155. name: wrpricetype
  30156. required: true
  30157. type: integer
  30158. - description: 0:仓单预售 1:仓单贸易
  30159. in: query
  30160. name: haswr
  30161. type: integer
  30162. - description: 仓单要素id
  30163. in: query
  30164. name: wrfactortypeid
  30165. required: true
  30166. type: integer
  30167. - description: 期货商品id(浮动价方式时填)
  30168. in: query
  30169. name: goodsid
  30170. type: integer
  30171. - description: 买卖方向 0-买 1-卖
  30172. in: query
  30173. name: buyorsell
  30174. required: true
  30175. type: integer
  30176. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  30177. in: query
  30178. name: deliverymonth
  30179. type: string
  30180. produces:
  30181. - application/json
  30182. responses:
  30183. "200":
  30184. description: OK
  30185. schema:
  30186. items:
  30187. $ref: '#/definitions/models.WrOrderQuoteDetail'
  30188. type: array
  30189. "500":
  30190. description: Internal Server Error
  30191. schema:
  30192. $ref: '#/definitions/app.Response'
  30193. security:
  30194. - ApiKeyAuth: []
  30195. summary: 查询买卖大厅
  30196. tags:
  30197. - 仓单贸易v2
  30198. /WrTrade2/QueryOrderQuoteMyq:
  30199. get:
  30200. parameters:
  30201. - description: 页码
  30202. in: query
  30203. name: page
  30204. type: integer
  30205. - description: 每页条数
  30206. in: query
  30207. name: pagesize
  30208. type: integer
  30209. - description: 用户id
  30210. in: query
  30211. name: userid
  30212. required: true
  30213. type: integer
  30214. - description: 仓单贸易市场id
  30215. in: query
  30216. name: marketid
  30217. type: integer
  30218. - description: 0:仓单预售 1:仓单贸易
  30219. in: query
  30220. name: haswr
  30221. type: integer
  30222. - description: 买卖方向 0-买 1-卖
  30223. in: query
  30224. name: buyorsell
  30225. required: true
  30226. type: integer
  30227. - description: 品种id
  30228. in: query
  30229. name: deliverygoodsid
  30230. type: integer
  30231. - description: 品类id
  30232. in: query
  30233. name: wrstandardid
  30234. type: integer
  30235. - description: 交收月(yyyy-mm) 仓单预售填写
  30236. in: query
  30237. name: deliverymonth
  30238. type: string
  30239. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30240. in: query
  30241. name: dgitemname
  30242. type: string
  30243. produces:
  30244. - application/json
  30245. responses:
  30246. "200":
  30247. description: OK
  30248. schema:
  30249. items:
  30250. $ref: '#/definitions/models.WrQuoteOrderMyq'
  30251. type: array
  30252. "500":
  30253. description: Internal Server Error
  30254. schema:
  30255. $ref: '#/definitions/app.Response'
  30256. security:
  30257. - ApiKeyAuth: []
  30258. summary: 查询贸易圈挂牌大厅
  30259. tags:
  30260. - 仓单贸易v2
  30261. /WrTrade2/QueryPerformancePlan:
  30262. get:
  30263. parameters:
  30264. - description: 用户id
  30265. in: query
  30266. name: userid
  30267. required: true
  30268. type: integer
  30269. - description: 买卖方向 0-买 1-卖
  30270. in: query
  30271. name: buyorsell
  30272. required: true
  30273. type: integer
  30274. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  30275. 8:释放冻结失败 9:超时待处理 10:超时关闭
  30276. in: query
  30277. name: status
  30278. type: string
  30279. - description: 开始交易日(yyyymmdd)
  30280. in: query
  30281. name: begindate
  30282. type: string
  30283. - description: 结束交易日(yyyymmdd)
  30284. in: query
  30285. name: enddate
  30286. type: string
  30287. produces:
  30288. - application/json
  30289. responses:
  30290. "200":
  30291. description: OK
  30292. schema:
  30293. items:
  30294. $ref: '#/definitions/models.WrPerformancePlan'
  30295. type: array
  30296. "500":
  30297. description: Internal Server Error
  30298. schema:
  30299. $ref: '#/definitions/app.Response'
  30300. security:
  30301. - ApiKeyAuth: []
  30302. summary: 查询履约信息
  30303. tags:
  30304. - 仓单贸易v2
  30305. /WrTrade2/QueryPermancePlanTmp:
  30306. get:
  30307. description: |-
  30308. 返回指定用户的模板和公共模板(用户id为空)
  30309. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  30310. parameters:
  30311. - description: 用户id
  30312. in: query
  30313. name: userid
  30314. type: integer
  30315. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  30316. (无仓单) 5:挂牌期权 6:竞拍-降价式
  30317. in: query
  30318. name: tmptype
  30319. type: string
  30320. - description: 是否包含公共模板(用户id为空的) 1-包含
  30321. in: query
  30322. name: includepub
  30323. type: integer
  30324. - description: 市场id(天津麦顿指定此参数,其它不用)
  30325. in: query
  30326. name: marketid
  30327. type: integer
  30328. produces:
  30329. - application/json
  30330. responses:
  30331. "200":
  30332. description: OK
  30333. schema:
  30334. items:
  30335. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  30336. type: array
  30337. "500":
  30338. description: Internal Server Error
  30339. schema:
  30340. $ref: '#/definitions/app.Response'
  30341. security:
  30342. - ApiKeyAuth: []
  30343. summary: 查询履约模板
  30344. tags:
  30345. - 仓单贸易v2
  30346. /WrTrade2/QuerySiteColumnDetail:
  30347. get:
  30348. parameters:
  30349. - description: 页码
  30350. in: query
  30351. name: page
  30352. type: integer
  30353. - description: 每页条数
  30354. in: query
  30355. name: pagesize
  30356. type: integer
  30357. - description: 所属栏目id
  30358. in: query
  30359. name: columnid
  30360. type: integer
  30361. produces:
  30362. - application/json
  30363. responses:
  30364. "200":
  30365. description: OK
  30366. schema:
  30367. items:
  30368. $ref: '#/definitions/models.WrSiteColumnDetail'
  30369. type: array
  30370. "500":
  30371. description: Internal Server Error
  30372. schema:
  30373. $ref: '#/definitions/app.Response'
  30374. security:
  30375. - ApiKeyAuth: []
  30376. summary: 查询资讯
  30377. tags:
  30378. - 仓单贸易v2
  30379. /WrTrade2/QuerySpotGroupTradeSum:
  30380. get:
  30381. produces:
  30382. - application/json
  30383. responses:
  30384. "200":
  30385. description: OK
  30386. schema:
  30387. items:
  30388. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  30389. type: array
  30390. "500":
  30391. description: Internal Server Error
  30392. schema:
  30393. $ref: '#/definitions/app.Response'
  30394. security:
  30395. - ApiKeyAuth: []
  30396. summary: 查询指数
  30397. tags:
  30398. - 仓单贸易v2
  30399. /WrTrade2/QuerySpotGroupTradeSumDetail:
  30400. get:
  30401. description: 查询的结果将会按日期 从小到大 排序
  30402. parameters:
  30403. - description: 现货商品id
  30404. in: query
  30405. name: deliverygoodsid
  30406. required: true
  30407. type: integer
  30408. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  30409. in: query
  30410. name: lastnum
  30411. type: integer
  30412. produces:
  30413. - application/json
  30414. responses:
  30415. "200":
  30416. description: OK
  30417. schema:
  30418. items:
  30419. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  30420. type: array
  30421. "500":
  30422. description: Internal Server Error
  30423. schema:
  30424. $ref: '#/definitions/app.Response'
  30425. security:
  30426. - ApiKeyAuth: []
  30427. summary: 查询指数详细(价格走势图)
  30428. tags:
  30429. - 仓单贸易v2
  30430. /WrTrade2/QueryWrAverageTradePrice:
  30431. get:
  30432. parameters:
  30433. - description: 页码
  30434. in: query
  30435. name: page
  30436. type: integer
  30437. - description: 每页条数
  30438. in: query
  30439. name: pagesize
  30440. type: integer
  30441. - description: 0:仓单预售 1:仓单贸易
  30442. in: query
  30443. name: haswr
  30444. required: true
  30445. type: integer
  30446. - description: 仓单要素id
  30447. in: query
  30448. name: wrfactortypeid
  30449. required: true
  30450. type: integer
  30451. produces:
  30452. - application/json
  30453. responses:
  30454. "200":
  30455. description: OK
  30456. schema:
  30457. items:
  30458. $ref: '#/definitions/models.WrAverageTradePrice'
  30459. type: array
  30460. "500":
  30461. description: Internal Server Error
  30462. schema:
  30463. $ref: '#/definitions/app.Response'
  30464. security:
  30465. - ApiKeyAuth: []
  30466. summary: 查询成交价(历史走势)
  30467. tags:
  30468. - 仓单贸易v2
  30469. /WrTrade2/QueryWrBrandAndYears:
  30470. get:
  30471. produces:
  30472. - application/json
  30473. responses:
  30474. "200":
  30475. description: OK
  30476. schema:
  30477. items:
  30478. $ref: '#/definitions/models.WrBrandAndYears'
  30479. type: array
  30480. "500":
  30481. description: Internal Server Error
  30482. schema:
  30483. $ref: '#/definitions/app.Response'
  30484. security:
  30485. - ApiKeyAuth: []
  30486. summary: 查询品牌和年份
  30487. tags:
  30488. - 仓单贸易v2
  30489. /WrTrade2/QueryWrBsGoodsInfo:
  30490. get:
  30491. description: 合约交易/买卖大厅/详情
  30492. parameters:
  30493. - description: 商品id
  30494. in: query
  30495. name: goodsid
  30496. required: true
  30497. type: integer
  30498. produces:
  30499. - application/json
  30500. responses:
  30501. "200":
  30502. description: OK
  30503. schema:
  30504. items:
  30505. $ref: '#/definitions/models.WrBsGoodsInfo'
  30506. type: array
  30507. "500":
  30508. description: Internal Server Error
  30509. schema:
  30510. $ref: '#/definitions/app.Response'
  30511. security:
  30512. - ApiKeyAuth: []
  30513. summary: 查询合约交易买卖大厅详情
  30514. tags:
  30515. - 仓单贸易v2
  30516. /WrTrade2/QueryWrBuybackDetail:
  30517. get:
  30518. parameters:
  30519. - description: 融资合同id
  30520. in: query
  30521. name: scfcontractid
  30522. type: integer
  30523. produces:
  30524. - application/json
  30525. responses:
  30526. "200":
  30527. description: OK
  30528. schema:
  30529. items:
  30530. $ref: '#/definitions/models.WrBuybackDetail'
  30531. type: array
  30532. "500":
  30533. description: Internal Server Error
  30534. schema:
  30535. $ref: '#/definitions/app.Response'
  30536. security:
  30537. - ApiKeyAuth: []
  30538. summary: 查询仓单回购明细
  30539. tags:
  30540. - 仓单贸易v2
  30541. /WrTrade2/QueryWrClientAdSpaceConfig:
  30542. get:
  30543. produces:
  30544. - application/json
  30545. responses:
  30546. "200":
  30547. description: OK
  30548. schema:
  30549. items:
  30550. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  30551. type: array
  30552. "500":
  30553. description: Internal Server Error
  30554. schema:
  30555. $ref: '#/definitions/app.Response'
  30556. security:
  30557. - ApiKeyAuth: []
  30558. summary: 查询固定广告配置
  30559. tags:
  30560. - 仓单贸易v2
  30561. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  30562. get:
  30563. parameters:
  30564. - description: 资金账号
  30565. in: query
  30566. name: accountid
  30567. required: true
  30568. type: integer
  30569. - description: 商品id
  30570. in: query
  30571. name: goodsid
  30572. required: true
  30573. type: integer
  30574. produces:
  30575. - application/json
  30576. responses:
  30577. "200":
  30578. description: OK
  30579. schema:
  30580. items:
  30581. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  30582. type: array
  30583. "500":
  30584. description: Internal Server Error
  30585. schema:
  30586. $ref: '#/definitions/app.Response'
  30587. security:
  30588. - ApiKeyAuth: []
  30589. summary: 查询合约交收可点选仓单
  30590. tags:
  30591. - 仓单贸易v2
  30592. /WrTrade2/QueryWrDeliveryDetail:
  30593. get:
  30594. parameters:
  30595. - description: 用户id
  30596. in: query
  30597. name: userid
  30598. required: true
  30599. type: integer
  30600. - description: 资金账号id
  30601. in: query
  30602. name: accountid
  30603. type: integer
  30604. - description: 开始交易日(yyyymmdd)
  30605. in: query
  30606. name: begindate
  30607. type: string
  30608. - description: 结束交易日(yyyymmdd)
  30609. in: query
  30610. name: enddate
  30611. type: string
  30612. produces:
  30613. - application/json
  30614. responses:
  30615. "200":
  30616. description: OK
  30617. schema:
  30618. items:
  30619. $ref: '#/definitions/models.WrDeliveryDetail'
  30620. type: array
  30621. "500":
  30622. description: Internal Server Error
  30623. schema:
  30624. $ref: '#/definitions/app.Response'
  30625. security:
  30626. - ApiKeyAuth: []
  30627. summary: 查询交收
  30628. tags:
  30629. - 仓单贸易v2
  30630. /WrTrade2/QueryWrDraftUserInfo:
  30631. get:
  30632. parameters:
  30633. - description: 用户ID
  30634. in: query
  30635. name: userid
  30636. required: true
  30637. type: integer
  30638. - description: 用户状态 1:正常 2:注销
  30639. in: query
  30640. name: userstatus
  30641. type: integer
  30642. produces:
  30643. - application/json
  30644. responses:
  30645. "200":
  30646. description: OK
  30647. schema:
  30648. items:
  30649. $ref: '#/definitions/models.WrDraftUserInfo'
  30650. type: array
  30651. "500":
  30652. description: Internal Server Error
  30653. schema:
  30654. $ref: '#/definitions/app.Response'
  30655. security:
  30656. - ApiKeyAuth: []
  30657. summary: 查询实名认证信息
  30658. tags:
  30659. - 仓单贸易v2
  30660. /WrTrade2/QueryWrFactorTypeInfo:
  30661. get:
  30662. parameters:
  30663. - description: 仓单要素id
  30664. in: query
  30665. name: wrfactortypeid
  30666. required: true
  30667. type: integer
  30668. produces:
  30669. - application/json
  30670. responses:
  30671. "200":
  30672. description: OK
  30673. schema:
  30674. items:
  30675. $ref: '#/definitions/models.WrFactorTypeInfo'
  30676. type: array
  30677. "500":
  30678. description: Internal Server Error
  30679. schema:
  30680. $ref: '#/definitions/app.Response'
  30681. security:
  30682. - ApiKeyAuth: []
  30683. summary: 查询仓单要素详细信息
  30684. tags:
  30685. - 仓单贸易v2
  30686. /WrTrade2/QueryWrFactorTypeInfoEx:
  30687. get:
  30688. parameters:
  30689. - description: 仓单要素id
  30690. in: query
  30691. name: wrfactortypeid
  30692. required: true
  30693. type: integer
  30694. produces:
  30695. - application/json
  30696. responses:
  30697. "200":
  30698. description: OK
  30699. schema:
  30700. items:
  30701. $ref: '#/definitions/models.WrTypeItem'
  30702. type: array
  30703. "500":
  30704. description: Internal Server Error
  30705. schema:
  30706. $ref: '#/definitions/app.Response'
  30707. security:
  30708. - ApiKeyAuth: []
  30709. summary: 查询仓单要素详细信息列表项
  30710. tags:
  30711. - 仓单贸易v2
  30712. /WrTrade2/QueryWrFinanceBuyApply:
  30713. get:
  30714. description: 页面 融资信息+ / 申请单
  30715. parameters:
  30716. - description: 用户id
  30717. in: query
  30718. name: userid
  30719. required: true
  30720. type: integer
  30721. produces:
  30722. - application/json
  30723. responses:
  30724. "200":
  30725. description: OK
  30726. schema:
  30727. items:
  30728. $ref: '#/definitions/models.WrFinanceBuyApply'
  30729. type: array
  30730. "500":
  30731. description: Internal Server Error
  30732. schema:
  30733. $ref: '#/definitions/app.Response'
  30734. security:
  30735. - ApiKeyAuth: []
  30736. summary: 查询融资购买申请
  30737. tags:
  30738. - 仓单贸易v2
  30739. /WrTrade2/QueryWrFriendApply:
  30740. get:
  30741. parameters:
  30742. - description: 用户id
  30743. in: query
  30744. name: userid
  30745. required: true
  30746. type: integer
  30747. produces:
  30748. - application/json
  30749. responses:
  30750. "200":
  30751. description: OK
  30752. schema:
  30753. items:
  30754. $ref: '#/definitions/models.WrFriendApply'
  30755. type: array
  30756. "500":
  30757. description: Internal Server Error
  30758. schema:
  30759. $ref: '#/definitions/app.Response'
  30760. security:
  30761. - ApiKeyAuth: []
  30762. summary: 查询好友申请记录
  30763. tags:
  30764. - 仓单贸易v2
  30765. /WrTrade2/QueryWrGoodsInfo:
  30766. get:
  30767. parameters:
  30768. - description: 仓单贸易市场id
  30769. in: query
  30770. name: marketid
  30771. type: integer
  30772. - description: 0:仓单预售 1:仓单贸易
  30773. in: query
  30774. name: haswr
  30775. required: true
  30776. type: integer
  30777. - description: 仓单要素id
  30778. in: query
  30779. name: wrfactortypeid
  30780. required: true
  30781. type: integer
  30782. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  30783. in: query
  30784. name: tmplateid
  30785. type: integer
  30786. produces:
  30787. - application/json
  30788. responses:
  30789. "200":
  30790. description: OK
  30791. schema:
  30792. items:
  30793. $ref: '#/definitions/models.WrGoodsInfo'
  30794. type: array
  30795. "500":
  30796. description: Internal Server Error
  30797. schema:
  30798. $ref: '#/definitions/app.Response'
  30799. security:
  30800. - ApiKeyAuth: []
  30801. summary: 查询仓单商品信息
  30802. tags:
  30803. - 仓单贸易v2
  30804. /WrTrade2/QueryWrMarketTradeConfig:
  30805. get:
  30806. parameters:
  30807. - description: 市场id
  30808. in: query
  30809. name: marketid
  30810. type: integer
  30811. produces:
  30812. - application/json
  30813. responses:
  30814. "200":
  30815. description: OK
  30816. schema:
  30817. items:
  30818. $ref: '#/definitions/models.WrMarketTradeConfig'
  30819. type: array
  30820. "500":
  30821. description: Internal Server Error
  30822. schema:
  30823. $ref: '#/definitions/app.Response'
  30824. security:
  30825. - ApiKeyAuth: []
  30826. summary: 查询市场交易参数配置
  30827. tags:
  30828. - 仓单贸易v2
  30829. /WrTrade2/QueryWrOrderDetail:
  30830. get:
  30831. description: 页面 现货仓单 | 预售仓单 -> 委托单
  30832. parameters:
  30833. - description: 页码
  30834. in: query
  30835. name: page
  30836. type: integer
  30837. - description: 每页条数
  30838. in: query
  30839. name: pagesize
  30840. type: integer
  30841. - description: 用户id
  30842. in: query
  30843. name: userid
  30844. required: true
  30845. type: integer
  30846. - description: 仓单贸易市场id
  30847. in: query
  30848. name: marketid
  30849. type: integer
  30850. - description: 0:仓单预售 1:仓单贸易
  30851. in: query
  30852. name: haswr
  30853. required: true
  30854. type: integer
  30855. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  30856. in: query
  30857. name: bcancel
  30858. type: integer
  30859. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  30860. in: query
  30861. name: wrtradetype
  30862. type: integer
  30863. - description: 开始交易日(yyyymmdd)
  30864. in: query
  30865. name: begindate
  30866. type: string
  30867. - description: 结束交易日(yyyymmdd)
  30868. in: query
  30869. name: enddate
  30870. type: string
  30871. produces:
  30872. - application/json
  30873. responses:
  30874. "200":
  30875. description: OK
  30876. schema:
  30877. items:
  30878. $ref: '#/definitions/models.WrOrderDetail'
  30879. type: array
  30880. "500":
  30881. description: Internal Server Error
  30882. schema:
  30883. $ref: '#/definitions/app.Response'
  30884. security:
  30885. - ApiKeyAuth: []
  30886. summary: 查询仓单委托单
  30887. tags:
  30888. - 仓单贸易v2
  30889. /WrTrade2/QueryWrOutInApply:
  30890. get:
  30891. parameters:
  30892. - description: 用户id
  30893. in: query
  30894. name: userid
  30895. required: true
  30896. type: integer
  30897. - description: 开始交易日(yyyymmdd)
  30898. in: query
  30899. name: begindate
  30900. type: string
  30901. - description: 结束交易日(yyyymmdd)
  30902. in: query
  30903. name: enddate
  30904. type: string
  30905. produces:
  30906. - application/json
  30907. responses:
  30908. "200":
  30909. description: OK
  30910. schema:
  30911. items:
  30912. $ref: '#/definitions/models.WrOutInApply'
  30913. type: array
  30914. "500":
  30915. description: Internal Server Error
  30916. schema:
  30917. $ref: '#/definitions/app.Response'
  30918. security:
  30919. - ApiKeyAuth: []
  30920. summary: 查询提货申请
  30921. tags:
  30922. - 仓单贸易v2
  30923. /WrTrade2/QueryWrPerformancePlanStep:
  30924. get:
  30925. parameters:
  30926. - description: 履约计划id(performanceplanid)
  30927. in: query
  30928. name: planid
  30929. required: true
  30930. type: integer
  30931. - description: 当前步骤id
  30932. in: query
  30933. name: curstepid
  30934. type: integer
  30935. produces:
  30936. - application/json
  30937. responses:
  30938. "200":
  30939. description: OK
  30940. schema:
  30941. items:
  30942. $ref: '#/definitions/models.WrPerformancePlanStep'
  30943. type: array
  30944. "500":
  30945. description: Internal Server Error
  30946. schema:
  30947. $ref: '#/definitions/app.Response'
  30948. security:
  30949. - ApiKeyAuth: []
  30950. summary: 查询履约信息详情
  30951. tags:
  30952. - 仓单贸易v2
  30953. /WrTrade2/QueryWrPerformanceStepType:
  30954. get:
  30955. produces:
  30956. - application/json
  30957. responses:
  30958. "200":
  30959. description: OK
  30960. schema:
  30961. items:
  30962. $ref: '#/definitions/models.WrPerformanceStepType'
  30963. type: array
  30964. "500":
  30965. description: Internal Server Error
  30966. schema:
  30967. $ref: '#/definitions/app.Response'
  30968. security:
  30969. - ApiKeyAuth: []
  30970. summary: 查询履约步骤枚举
  30971. tags:
  30972. - 仓单贸易v2
  30973. /WrTrade2/QueryWrPosition:
  30974. get:
  30975. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  30976. parameters:
  30977. - description: 用户id
  30978. in: query
  30979. name: userid
  30980. required: true
  30981. type: integer
  30982. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  30983. in: query
  30984. name: querytype
  30985. required: true
  30986. type: integer
  30987. - description: 0:仓单预售 1:仓单贸易
  30988. in: query
  30989. name: haswr
  30990. required: true
  30991. type: integer
  30992. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  30993. in: query
  30994. name: dgitemname
  30995. type: string
  30996. - description: 仓库id(筛选条件)
  30997. in: query
  30998. name: warehouseid
  30999. type: integer
  31000. - description: 品种id
  31001. in: query
  31002. name: deliverygoodsid
  31003. type: integer
  31004. - description: 品类id
  31005. in: query
  31006. name: wrstandardid
  31007. type: integer
  31008. produces:
  31009. - application/json
  31010. responses:
  31011. "200":
  31012. description: OK
  31013. schema:
  31014. items:
  31015. $ref: '#/definitions/models.WrPosition'
  31016. type: array
  31017. "500":
  31018. description: Internal Server Error
  31019. schema:
  31020. $ref: '#/definitions/app.Response'
  31021. security:
  31022. - ApiKeyAuth: []
  31023. summary: 查询现货(预售)仓单持仓
  31024. tags:
  31025. - 仓单贸易v2
  31026. /WrTrade2/QueryWrPreSaleInfo:
  31027. get:
  31028. parameters:
  31029. - description: 市场id
  31030. in: query
  31031. name: marketid
  31032. type: integer
  31033. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  31034. in: query
  31035. name: presalestatus
  31036. type: string
  31037. - description: 摇号标识 - 0:未摇号 1:已摇号
  31038. in: query
  31039. name: lotteryflag
  31040. type: integer
  31041. - description: 最近多少条记录(按创建时间倒序)
  31042. in: query
  31043. name: lastnum
  31044. type: integer
  31045. produces:
  31046. - application/json
  31047. responses:
  31048. "200":
  31049. description: OK
  31050. schema:
  31051. items:
  31052. $ref: '#/definitions/models.WrPreSaleInfo'
  31053. type: array
  31054. "500":
  31055. description: Internal Server Error
  31056. schema:
  31057. $ref: '#/definitions/app.Response'
  31058. security:
  31059. - ApiKeyAuth: []
  31060. summary: 查询新品发布
  31061. tags:
  31062. - 仓单贸易v2
  31063. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  31064. get:
  31065. parameters:
  31066. - description: 市场id
  31067. in: query
  31068. name: marketid
  31069. required: true
  31070. type: integer
  31071. - description: 现货商品id
  31072. in: query
  31073. name: wrstandardid
  31074. required: true
  31075. type: integer
  31076. - description: 开始交易日(yyyymmdd)
  31077. in: query
  31078. name: begindate
  31079. type: string
  31080. - description: 结束交易日(yyyymmdd)
  31081. in: query
  31082. name: enddate
  31083. type: string
  31084. - description: 最近多少条记录(按交易日倒序)
  31085. in: query
  31086. name: lastnum
  31087. type: integer
  31088. - description: 是否今日
  31089. in: query
  31090. name: istoday
  31091. type: boolean
  31092. produces:
  31093. - application/json
  31094. responses:
  31095. "200":
  31096. description: OK
  31097. schema:
  31098. items:
  31099. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  31100. type: array
  31101. "500":
  31102. description: Internal Server Error
  31103. schema:
  31104. $ref: '#/definitions/app.Response'
  31105. security:
  31106. - ApiKeyAuth: []
  31107. summary: 查询价格走势
  31108. tags:
  31109. - 仓单贸易v2
  31110. /WrTrade2/QueryWrScfContract:
  31111. get:
  31112. parameters:
  31113. - description: 用户id
  31114. in: query
  31115. name: userid
  31116. required: true
  31117. type: integer
  31118. - description: 融资合同id
  31119. in: query
  31120. name: scfcontractid
  31121. type: integer
  31122. produces:
  31123. - application/json
  31124. responses:
  31125. "200":
  31126. description: OK
  31127. schema:
  31128. items:
  31129. $ref: '#/definitions/models.WrScfContract'
  31130. type: array
  31131. "500":
  31132. description: Internal Server Error
  31133. schema:
  31134. $ref: '#/definitions/app.Response'
  31135. security:
  31136. - ApiKeyAuth: []
  31137. summary: 查询仓单贸易融资合同
  31138. tags:
  31139. - 仓单贸易v2
  31140. /WrTrade2/QueryWrScfContractInterest:
  31141. get:
  31142. parameters:
  31143. - description: 融资合同id
  31144. in: query
  31145. name: scfcontractid
  31146. type: integer
  31147. produces:
  31148. - application/json
  31149. responses:
  31150. "200":
  31151. description: OK
  31152. schema:
  31153. items:
  31154. $ref: '#/definitions/models.WrScfContractInterest'
  31155. type: array
  31156. "500":
  31157. description: Internal Server Error
  31158. schema:
  31159. $ref: '#/definitions/app.Response'
  31160. security:
  31161. - ApiKeyAuth: []
  31162. summary: 查询融资合同费用明细
  31163. tags:
  31164. - 仓单贸易v2
  31165. /WrTrade2/QueryWrSearchUser:
  31166. get:
  31167. parameters:
  31168. - description: 用户名称(模糊匹配)
  31169. in: query
  31170. name: username
  31171. required: true
  31172. type: string
  31173. produces:
  31174. - application/json
  31175. responses:
  31176. "200":
  31177. description: OK
  31178. schema:
  31179. items:
  31180. $ref: '#/definitions/models.WrSearchUser'
  31181. type: array
  31182. "500":
  31183. description: Internal Server Error
  31184. schema:
  31185. $ref: '#/definitions/app.Response'
  31186. security:
  31187. - ApiKeyAuth: []
  31188. summary: 查询用户
  31189. tags:
  31190. - 仓单贸易v2
  31191. /WrTrade2/QueryWrSpecialMatchOrder:
  31192. get:
  31193. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  31194. parameters:
  31195. - description: 页码
  31196. in: query
  31197. name: page
  31198. type: integer
  31199. - description: 每页条数
  31200. in: query
  31201. name: pagesize
  31202. type: integer
  31203. - description: 用户id
  31204. in: query
  31205. name: userid
  31206. required: true
  31207. type: integer
  31208. - description: 仓单贸易市场id
  31209. in: query
  31210. name: marketid
  31211. type: integer
  31212. - description: 0:仓单预售 1:仓单贸易
  31213. in: query
  31214. name: haswr
  31215. required: true
  31216. type: integer
  31217. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  31218. in: query
  31219. name: isspecified
  31220. type: integer
  31221. produces:
  31222. - application/json
  31223. responses:
  31224. "200":
  31225. description: OK
  31226. schema:
  31227. items:
  31228. $ref: '#/definitions/models.WrSpecialMatchOrder'
  31229. type: array
  31230. "500":
  31231. description: Internal Server Error
  31232. schema:
  31233. $ref: '#/definitions/app.Response'
  31234. security:
  31235. - ApiKeyAuth: []
  31236. summary: 查询指定成交
  31237. tags:
  31238. - 仓单贸易v2
  31239. /WrTrade2/QueryWrStandardFactoryItem:
  31240. get:
  31241. parameters:
  31242. - description: 品类id
  31243. in: query
  31244. name: wrstandardid
  31245. required: true
  31246. type: integer
  31247. produces:
  31248. - application/json
  31249. responses:
  31250. "200":
  31251. description: OK
  31252. schema:
  31253. items:
  31254. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  31255. type: array
  31256. "500":
  31257. description: Internal Server Error
  31258. schema:
  31259. $ref: '#/definitions/app.Response'
  31260. security:
  31261. - ApiKeyAuth: []
  31262. summary: 查询品类要素定义项
  31263. tags:
  31264. - 仓单贸易v2
  31265. /WrTrade2/QueryWrTradeBargainApply:
  31266. get:
  31267. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  31268. 议价->对方议价 填写matchuserid=登录用户id
  31269. parameters:
  31270. - description: 议价人id(摘牌方)
  31271. in: query
  31272. name: userid
  31273. type: integer
  31274. - description: 挂牌方id(查对方议价时,填写此项)
  31275. in: query
  31276. name: matchuserid
  31277. type: integer
  31278. - description: 关联委托单id
  31279. in: query
  31280. name: wrtradeorderid
  31281. type: integer
  31282. - description: 0:仓单预售 1:仓单贸易
  31283. in: query
  31284. name: haswr
  31285. required: true
  31286. type: integer
  31287. - description: 开始交易日(yyyymmdd)
  31288. in: query
  31289. name: begindate
  31290. type: string
  31291. - description: 结束交易日(yyyymmdd)
  31292. in: query
  31293. name: enddate
  31294. type: string
  31295. produces:
  31296. - application/json
  31297. responses:
  31298. "200":
  31299. description: OK
  31300. schema:
  31301. items:
  31302. $ref: '#/definitions/models.WRTradeBargainApply'
  31303. type: array
  31304. "500":
  31305. description: Internal Server Error
  31306. schema:
  31307. $ref: '#/definitions/app.Response'
  31308. security:
  31309. - ApiKeyAuth: []
  31310. summary: 查询议价单
  31311. tags:
  31312. - 仓单贸易v2
  31313. /WrTrade2/QueryWrTradeDetail:
  31314. get:
  31315. parameters:
  31316. - description: 页码
  31317. in: query
  31318. name: page
  31319. type: integer
  31320. - description: 每页条数
  31321. in: query
  31322. name: pagesize
  31323. type: integer
  31324. - description: 用户id
  31325. in: query
  31326. name: userid
  31327. required: true
  31328. type: integer
  31329. - description: 仓单贸易市场id
  31330. in: query
  31331. name: marketid
  31332. type: integer
  31333. - description: 0:仓单预售 1:仓单贸易
  31334. in: query
  31335. name: haswr
  31336. required: true
  31337. type: integer
  31338. - description: 开始交易日(yyyymmdd)
  31339. in: query
  31340. name: begindate
  31341. type: string
  31342. - description: 结束交易日(yyyymmdd)
  31343. in: query
  31344. name: enddate
  31345. type: string
  31346. produces:
  31347. - application/json
  31348. responses:
  31349. "200":
  31350. description: OK
  31351. schema:
  31352. items:
  31353. $ref: '#/definitions/models.WrTradeDetail'
  31354. type: array
  31355. "500":
  31356. description: Internal Server Error
  31357. schema:
  31358. $ref: '#/definitions/app.Response'
  31359. security:
  31360. - ApiKeyAuth: []
  31361. summary: 查询仓单成交明细
  31362. tags:
  31363. - 仓单贸易v2
  31364. /WrTrade2/QueryWrTradeOrderDetail:
  31365. get:
  31366. parameters:
  31367. - description: 页码
  31368. in: query
  31369. name: page
  31370. type: integer
  31371. - description: 每页条数
  31372. in: query
  31373. name: pagesize
  31374. type: integer
  31375. - description: 商品id
  31376. in: query
  31377. name: goodsid
  31378. required: true
  31379. type: integer
  31380. - description: 买卖方向 0-买 1-卖
  31381. in: query
  31382. name: buyorsell
  31383. required: true
  31384. type: integer
  31385. produces:
  31386. - application/json
  31387. responses:
  31388. "200":
  31389. description: OK
  31390. schema:
  31391. items:
  31392. $ref: '#/definitions/models.WrTradeOrderDetail'
  31393. type: array
  31394. "500":
  31395. description: Internal Server Error
  31396. schema:
  31397. $ref: '#/definitions/app.Response'
  31398. security:
  31399. - ApiKeyAuth: []
  31400. summary: 查询合约交易买卖大厅
  31401. tags:
  31402. - 仓单贸易v2
  31403. /WrTrade2/QueryWrUserFriend:
  31404. get:
  31405. parameters:
  31406. - description: 用户id
  31407. in: query
  31408. name: userid
  31409. required: true
  31410. type: integer
  31411. - description: 新朋友userid, 如果填写了此项则查找新朋友
  31412. in: query
  31413. name: newuserid
  31414. type: integer
  31415. produces:
  31416. - application/json
  31417. responses:
  31418. "200":
  31419. description: OK
  31420. schema:
  31421. items:
  31422. $ref: '#/definitions/models.WrUserFriend'
  31423. type: array
  31424. "500":
  31425. description: Internal Server Error
  31426. schema:
  31427. $ref: '#/definitions/app.Response'
  31428. security:
  31429. - ApiKeyAuth: []
  31430. summary: 查询我的朋友
  31431. tags:
  31432. - 仓单贸易v2
  31433. /WrTrade2/QueryWrUserReceiptInfo:
  31434. get:
  31435. parameters:
  31436. - description: 用户id
  31437. in: query
  31438. name: userid
  31439. type: integer
  31440. - description: 发票类型 - 1:个人 2:企业
  31441. in: query
  31442. name: receipttype
  31443. type: integer
  31444. produces:
  31445. - application/json
  31446. responses:
  31447. "200":
  31448. description: OK
  31449. schema:
  31450. items:
  31451. $ref: '#/definitions/models.WrUserReceiptInfo'
  31452. type: array
  31453. "500":
  31454. description: Internal Server Error
  31455. schema:
  31456. $ref: '#/definitions/app.Response'
  31457. security:
  31458. - ApiKeyAuth: []
  31459. summary: 查询发票信息
  31460. tags:
  31461. - 仓单贸易v2
  31462. /WrTrade2/QueryXhcpSellBackApply:
  31463. get:
  31464. parameters:
  31465. - description: 用户ID
  31466. in: query
  31467. name: userid
  31468. required: true
  31469. type: integer
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. items:
  31477. $ref: '#/definitions/models.Xhcpsellbackapply'
  31478. type: array
  31479. "500":
  31480. description: Internal Server Error
  31481. schema:
  31482. $ref: '#/definitions/app.Response'
  31483. security:
  31484. - ApiKeyAuth: []
  31485. summary: 查询我的回收申请(新会陈皮)
  31486. tags:
  31487. - 仓单贸易v2
  31488. /ZJ/GetBankTip:
  31489. get:
  31490. produces:
  31491. - application/json
  31492. responses:
  31493. "200":
  31494. description: OK
  31495. schema:
  31496. type: string
  31497. "500":
  31498. description: Internal Server Error
  31499. schema:
  31500. $ref: '#/definitions/app.Response'
  31501. summary: 获取中江网银端出入金提示信息
  31502. tags:
  31503. - 中江
  31504. /ZJ/GetCusBankChannels:
  31505. get:
  31506. produces:
  31507. - application/json
  31508. responses:
  31509. "200":
  31510. description: OK
  31511. schema:
  31512. items:
  31513. type: string
  31514. type: array
  31515. "500":
  31516. description: Internal Server Error
  31517. schema:
  31518. $ref: '#/definitions/app.Response'
  31519. summary: 获取中江出入金渠道显示列表
  31520. tags:
  31521. - 中江
  31522. securityDefinitions:
  31523. ApiKeyAuth:
  31524. in: header
  31525. name: Authorization
  31526. type: apiKey
  31527. swagger: "2.0"