swagger.yaml 848 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476
  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.Ermcp2hedgeditem:
  3973. properties:
  3974. accountName:
  3975. description: 套期主体
  3976. type: string
  3977. applyid:
  3978. description: 申请人
  3979. type: integer
  3980. applysrc:
  3981. description: 申请来源 - 1:管理端 2:终端
  3982. type: integer
  3983. areauserid:
  3984. description: 企业ID
  3985. type: integer
  3986. auditid:
  3987. description: 审核人
  3988. type: integer
  3989. auditremark:
  3990. description: 审核备注
  3991. type: string
  3992. auditsrc:
  3993. description: 审核来源 - 1:管理端 2:终端
  3994. type: integer
  3995. audittime:
  3996. description: 审核时间
  3997. type: string
  3998. audittradedate:
  3999. description: 审核交易日(yyyyMMdd)
  4000. type: string
  4001. createtime:
  4002. description: 申请时间
  4003. type: string
  4004. curprice:
  4005. description: 当前市场价
  4006. type: number
  4007. curstock:
  4008. description: 期末库存量 = 采购总量 - 销售总量
  4009. type: number
  4010. deliverygoodsid:
  4011. description: 现货品种ID
  4012. type: integer
  4013. enddate:
  4014. description: 完成日期
  4015. type: string
  4016. endtradedate:
  4017. description: 完成交易日
  4018. type: string
  4019. enumdicname:
  4020. description: 单位
  4021. type: string
  4022. exeamount:
  4023. description: 执行市价总额
  4024. type: number
  4025. exeavgprice:
  4026. description: 执行市场均价= 执行市价总额 / 执行现货量
  4027. type: number
  4028. execontractamount:
  4029. description: 执行定价总额
  4030. type: number
  4031. exeqty:
  4032. description: 执行现货量
  4033. type: number
  4034. exerestamount:
  4035. description: 执行剩余市价总额【现货贸易】
  4036. type: number
  4037. futurefloatpl:
  4038. description: 期货浮动损益
  4039. type: number
  4040. futurehedgepl:
  4041. description: 期货实际损益
  4042. type: number
  4043. futurehedgeplchange:
  4044. description: 期货实际损益变动
  4045. type: number
  4046. futurepl:
  4047. description: 期货套期损益
  4048. type: number
  4049. futureplchange:
  4050. description: 期货套期损益变动
  4051. type: number
  4052. hedgeamount:
  4053. description: 套期市价总额
  4054. type: number
  4055. hedgecontractamount:
  4056. description: 套期定价总额 【定价采购合同】【现货贸易】
  4057. type: number
  4058. hedgeditemid:
  4059. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4060. type: string
  4061. hedgeditemname:
  4062. description: 项目名称
  4063. type: string
  4064. hedgeditemnum:
  4065. description: 项目编号
  4066. type: string
  4067. hedgeditemstatus:
  4068. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4069. type: integer
  4070. hedgedtype:
  4071. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4072. type: integer
  4073. hedgeqty:
  4074. description: 套期现货量
  4075. type: number
  4076. hedgerate:
  4077. description: 套保比率
  4078. type: number
  4079. hedgerestamount:
  4080. description: 套期剩余市价总额【现货贸易】
  4081. type: number
  4082. hedgesumpl:
  4083. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4084. type: number
  4085. middlegoodslist:
  4086. description: 套期商品列表
  4087. items:
  4088. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4089. type: array
  4090. oriavgprice:
  4091. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4092. type: number
  4093. orifuturehedgepl:
  4094. description: 期初期货实际损益
  4095. type: number
  4096. orifuturepl:
  4097. description: 期初期货套期损益
  4098. type: number
  4099. orispothedgepl:
  4100. description: 期初现货实际损益
  4101. type: number
  4102. orispotpl:
  4103. description: 期初现货套期损益
  4104. type: number
  4105. planenddate:
  4106. description: 计划结束日期
  4107. type: string
  4108. planstartdate:
  4109. description: 计划开始日期
  4110. type: string
  4111. remark:
  4112. description: 备注
  4113. type: string
  4114. spotbookamount:
  4115. description: 现货账面总额
  4116. type: number
  4117. spotfloatpl:
  4118. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4119. type: number
  4120. spothedgepl:
  4121. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4122. type: number
  4123. spothedgeplchange:
  4124. description: 现货实际损益变动
  4125. type: number
  4126. spotpl:
  4127. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4128. type: number
  4129. spotplchange:
  4130. description: 现货套期损益变动
  4131. type: number
  4132. spottradepl:
  4133. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4134. type: number
  4135. sumobspl:
  4136. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4137. type: number
  4138. tradeuserid:
  4139. description: 交易用户ID
  4140. type: integer
  4141. unexeqty:
  4142. description: 未执行现货量 = 套期现货量 - 执行现货量
  4143. type: number
  4144. updatetime:
  4145. description: 更新时间
  4146. type: string
  4147. vatpl:
  4148. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4149. type: number
  4150. vatrate:
  4151. description: 增值税
  4152. type: number
  4153. wrstandardid:
  4154. description: 现货商品ID
  4155. type: integer
  4156. wrstandardname:
  4157. description: 商品名称
  4158. type: string
  4159. type: object
  4160. models.Ermcp2hedgeditemspot:
  4161. properties:
  4162. areauserid:
  4163. description: 企业ID
  4164. type: integer
  4165. createtime:
  4166. description: 创建时间
  4167. type: string
  4168. customeruserid:
  4169. description: 对手方 【3:采购合同 4:销售合同】
  4170. type: integer
  4171. deliverygoodsid:
  4172. description: 现货品种ID
  4173. type: integer
  4174. enumdicname:
  4175. description: 单位
  4176. type: string
  4177. hedgeditemid:
  4178. description: 被套期项目ID
  4179. type: string
  4180. hedgeditemspotid:
  4181. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4182. type: string
  4183. hedgedtype:
  4184. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4185. type: integer
  4186. hedgeplanno:
  4187. description: 计划编号
  4188. type: string
  4189. oriavgprice:
  4190. description: 期初市场价[当初市场价]
  4191. type: number
  4192. relatedamount:
  4193. description: 市价总额 = 关联数量 * 期初市场价
  4194. type: number
  4195. relatedhedgeplanid:
  4196. description: 关联计划ID 【1:采购计划 2:销售计划】
  4197. type: integer
  4198. relatedqty:
  4199. description: 关联数量[数量]
  4200. type: number
  4201. relatedspotcontractid:
  4202. description: 关联合同ID 【3:采购合同 4:销售合同】
  4203. type: integer
  4204. relatedtype:
  4205. description: 关联类型 - 1:套期关联 2:执行关联
  4206. type: integer
  4207. spotgoodsbrandid:
  4208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4209. type: integer
  4210. spotpricedamount:
  4211. description: 定价总额
  4212. type: number
  4213. spotpricedavgprice:
  4214. description: 现货均价 = 定价总额 / 关联数量
  4215. type: number
  4216. spottype:
  4217. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4218. type: integer
  4219. tradeuserid:
  4220. description: 交易用户ID
  4221. type: integer
  4222. wrstandardid:
  4223. description: 现货商品ID
  4224. type: integer
  4225. wrstandardname:
  4226. description: 现货商品
  4227. type: string
  4228. required:
  4229. - hedgeditemid
  4230. type: object
  4231. models.Ermcp2hedgeditemspotDetail:
  4232. properties:
  4233. accountName:
  4234. description: 对手方
  4235. type: string
  4236. areauserid:
  4237. description: 企业ID
  4238. type: integer
  4239. brandname:
  4240. description: 品牌
  4241. type: string
  4242. contractno:
  4243. description: 合同编号
  4244. type: string
  4245. createtime:
  4246. description: 创建时间
  4247. type: string
  4248. customeruserid:
  4249. description: 对手方 【3:采购合同 4:销售合同】
  4250. type: integer
  4251. deliverygoodsid:
  4252. description: 现货品种ID
  4253. type: integer
  4254. enumdicname:
  4255. description: 单位
  4256. type: string
  4257. hedgeditemid:
  4258. description: 被套期项目ID
  4259. type: string
  4260. hedgeditemspotid:
  4261. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4262. type: string
  4263. hedgedtype:
  4264. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4265. type: integer
  4266. oriavgprice:
  4267. description: 期初市场价[当初市场价]
  4268. type: number
  4269. relatedamount:
  4270. description: 市价总额 = 关联数量 * 期初市场价
  4271. type: number
  4272. relatedhedgeplanid:
  4273. description: 关联计划ID 【1:采购计划 2:销售计划】
  4274. type: integer
  4275. relatedqty:
  4276. description: 关联数量[数量]
  4277. type: number
  4278. relatedspotcontractid:
  4279. description: 关联合同ID 【3:采购合同 4:销售合同】
  4280. type: integer
  4281. relatedtype:
  4282. description: 关联类型 - 1:套期关联 2:执行关联
  4283. type: integer
  4284. spotgoodsbrandid:
  4285. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4286. type: integer
  4287. spotpricedamount:
  4288. description: 定价总额[金额]
  4289. type: number
  4290. spotpricedavgprice:
  4291. description: 现货均价 = 定价总额 / 关联数量
  4292. type: number
  4293. spottype:
  4294. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4295. type: integer
  4296. tradeuserid:
  4297. description: 交易用户ID
  4298. type: integer
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品
  4304. type: string
  4305. required:
  4306. - hedgeditemid
  4307. type: object
  4308. models.Ermcp2himiddlegoods:
  4309. properties:
  4310. futurehedgeqty:
  4311. description: 期货持仓套期量
  4312. type: number
  4313. hedgeditemid:
  4314. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4315. type: integer
  4316. hiexpsoure:
  4317. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4318. type: number
  4319. middlegoodscode:
  4320. description: 套保商品代码
  4321. type: string
  4322. middlegoodsid:
  4323. description: 套保品种ID
  4324. type: integer
  4325. middlegoodsname:
  4326. description: 套保商品名称
  4327. type: string
  4328. unexehedgeqty:
  4329. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4330. type: number
  4331. required:
  4332. - hedgeditemid
  4333. - middlegoodsid
  4334. type: object
  4335. models.Ermcp3AreaSpot:
  4336. properties:
  4337. areauserid:
  4338. description: 所属机构
  4339. type: integer
  4340. convertratio:
  4341. description: 套保系数
  4342. type: number
  4343. decreaseqty:
  4344. description: 减少数量=-(销售已定价数量+采购计划数量)
  4345. type: number
  4346. enumdicname:
  4347. description: 单位名称
  4348. type: string
  4349. increaseqty:
  4350. description: 增加数量=销售计划数量+采购已定价数量
  4351. type: number
  4352. oritoalspotqty:
  4353. description: 昨日数量
  4354. type: number
  4355. totalspotqty:
  4356. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4357. type: number
  4358. unitid:
  4359. description: 现货商品单位id
  4360. type: integer
  4361. updatetime:
  4362. description: 更新时间
  4363. type: string
  4364. wrstandardcode:
  4365. description: 现货商品代码
  4366. type: string
  4367. wrstandardid:
  4368. description: 现货商品ID(SEQ_WRSTANDARD)
  4369. type: integer
  4370. wrstandardname:
  4371. description: 现货商品名称
  4372. type: string
  4373. type: object
  4374. models.Ermcp3AreaSpotDetail:
  4375. properties:
  4376. contracttype:
  4377. description: 合同类型 1-采购 -1-销售
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. enumdicname:
  4383. description: 现货商品单位名称
  4384. type: string
  4385. logtype:
  4386. description: 记录类型 1-套保 2-现货合同
  4387. type: integer
  4388. qty:
  4389. description: 数量
  4390. type: number
  4391. recordname:
  4392. description: 类型名称
  4393. type: string
  4394. relatedid:
  4395. description: 套保计划ID/现货合同ID
  4396. type: string
  4397. relatedno:
  4398. description: 编号
  4399. type: string
  4400. strtime:
  4401. description: 时间
  4402. type: string
  4403. wrstandardcode:
  4404. description: 现货商品代码
  4405. type: string
  4406. wrstandardid:
  4407. description: 现货商品ID(SEQ_WRSTANDARD)
  4408. type: integer
  4409. wrstandardname:
  4410. description: 现货商品名称
  4411. type: string
  4412. type: object
  4413. models.Ermcp3AreaSpotPLReport:
  4414. properties:
  4415. accountid:
  4416. description: 期货账户ID (作废, 默认为0)
  4417. type: integer
  4418. accountname:
  4419. description: 机构名称
  4420. type: string
  4421. actualpl:
  4422. description: 现货损益
  4423. type: number
  4424. areauserid:
  4425. description: 所属机构\交易用户ID
  4426. type: integer
  4427. begindate:
  4428. description: 开始交易日
  4429. type: string
  4430. biztype:
  4431. description: 业务类型 - 1:套保 2:套利
  4432. type: integer
  4433. brandname:
  4434. description: 品牌名称
  4435. type: string
  4436. curamount:
  4437. description: 期末额
  4438. type: number
  4439. curaverageprice:
  4440. description: 期末均价
  4441. type: number
  4442. curbuyamount:
  4443. description: 期末采购总额
  4444. type: number
  4445. curbuyqty:
  4446. description: 期末采购总量
  4447. type: number
  4448. curmarketvalue:
  4449. description: 参考市值(期末市值)
  4450. type: number
  4451. curqty:
  4452. description: 期末量
  4453. type: number
  4454. currencyid:
  4455. description: 结算币种ID【原值】
  4456. type: integer
  4457. currencyname:
  4458. description: 币种名称
  4459. type: string
  4460. cursellamount:
  4461. description: 期末销售总额
  4462. type: number
  4463. cursellqty:
  4464. description: 期末销售总量
  4465. type: number
  4466. curspotprice:
  4467. description: 参考市价(最新价)
  4468. type: number
  4469. cycletime:
  4470. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4471. type: string
  4472. cycletype:
  4473. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4474. type: integer
  4475. deliverygoodscode:
  4476. description: 现货品种代码
  4477. type: string
  4478. deliverygoodsid:
  4479. description: 现货品种ID
  4480. type: integer
  4481. deliverygoodsname:
  4482. description: 现货品种名称
  4483. type: string
  4484. enddate:
  4485. description: 结束交易日
  4486. type: string
  4487. enumdicname:
  4488. description: 现货品种单位名称(作废)
  4489. type: string
  4490. floatpl:
  4491. description: 浮动损益
  4492. type: number
  4493. goodsunitid:
  4494. description: 现货品种单位id(作废)
  4495. type: integer
  4496. oriamount:
  4497. description: 期初额
  4498. type: number
  4499. oriaverageprice:
  4500. description: 期初均价
  4501. type: number
  4502. oribuyamount:
  4503. description: 期初采购总额
  4504. type: number
  4505. oribuyqty:
  4506. description: 期初采购总量
  4507. type: number
  4508. oriqty:
  4509. description: 期初量
  4510. type: number
  4511. orisellamount:
  4512. description: 期初销售总额
  4513. type: number
  4514. orisellqty:
  4515. description: 期初销售总量
  4516. type: number
  4517. reckondate:
  4518. description: 日照时期(yyyyMMdd)
  4519. type: string
  4520. spotgoodsbrandid:
  4521. description: 现货品牌ID
  4522. type: integer
  4523. todaybuyamount:
  4524. description: 今日采购额(今采购额)
  4525. type: number
  4526. todaybuyaverageprice:
  4527. description: 今日采购均价
  4528. type: number
  4529. todaybuyqty:
  4530. description: 今日采购量(今采购量)
  4531. type: number
  4532. todayinqty:
  4533. description: 今日入库量(今入库量)
  4534. type: number
  4535. todayoutqty:
  4536. description: 今日出库量(今出库量)
  4537. type: number
  4538. todaysellamount:
  4539. description: 今日销售额(今销售额)
  4540. type: number
  4541. todaysellaverageprice:
  4542. description: 今日销售均价
  4543. type: number
  4544. todaysellqty:
  4545. description: 今日销售量(今销售量)
  4546. type: number
  4547. unitid:
  4548. description: 品类单位id
  4549. type: integer
  4550. unitidname:
  4551. description: 品类单位名称
  4552. type: string
  4553. updatetime:
  4554. description: 更新时间
  4555. type: string
  4556. wrfactortypeid:
  4557. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4558. type: integer
  4559. wrstandardcode:
  4560. description: 现货商品(品类)代码
  4561. type: string
  4562. wrstandardid:
  4563. description: 现货品类ID
  4564. type: integer
  4565. wrstandardname:
  4566. description: 现货商品(品类)名称
  4567. type: string
  4568. type: object
  4569. models.Ermcp3AreaStock:
  4570. properties:
  4571. brandname:
  4572. description: 品牌名称
  4573. type: string
  4574. curstock:
  4575. description: 期末库存量(今日量)
  4576. type: number
  4577. deliverygoodscode:
  4578. description: 现货品种代码
  4579. type: string
  4580. deliverygoodsid:
  4581. description: 现货品种id
  4582. type: integer
  4583. deliverygoodsname:
  4584. description: 现货品种名称
  4585. type: string
  4586. enumdicname:
  4587. description: 单位名称
  4588. type: string
  4589. goodsunitid:
  4590. description: 现货商品单位id
  4591. type: integer
  4592. oristock:
  4593. description: 期初库存量(昨日量)
  4594. type: number
  4595. spotgoodsbrandid:
  4596. description: 现货品牌ID
  4597. type: integer
  4598. todaybuyinqty:
  4599. description: 今日采购入库量
  4600. type: number
  4601. todayproduceinqty:
  4602. description: 今日生产入库量
  4603. type: number
  4604. todayproduceoutqty:
  4605. description: 今日生产出库量
  4606. type: number
  4607. todayselloutqty:
  4608. description: 今日销售出库量
  4609. type: number
  4610. unitid:
  4611. description: 单位id
  4612. type: integer
  4613. updatetime:
  4614. description: 更新时间
  4615. type: string
  4616. userid:
  4617. description: 机构ID
  4618. type: integer
  4619. username:
  4620. description: 机构名称
  4621. type: string
  4622. warehousecode:
  4623. description: 仓库代码
  4624. type: string
  4625. warehouseinfoid:
  4626. description: 仓库ID
  4627. type: string
  4628. warehousename:
  4629. description: 仓库名称
  4630. type: string
  4631. warehousetype:
  4632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4633. type: integer
  4634. wrstandardcode:
  4635. description: 品类代码
  4636. type: string
  4637. wrstandardid:
  4638. description: 品类ID
  4639. type: string
  4640. wrstandardname:
  4641. description: 品类名称
  4642. type: string
  4643. required:
  4644. - userid
  4645. type: object
  4646. models.Ermcp3AreaStockApply:
  4647. properties:
  4648. applyid:
  4649. description: 申请人
  4650. type: integer
  4651. applyname:
  4652. description: 申请人名称
  4653. type: string
  4654. applyremark:
  4655. description: 申请备注
  4656. type: string
  4657. applysrc:
  4658. description: 申请来源 - 1:管理端 2:终端
  4659. type: integer
  4660. applystatus:
  4661. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4662. type: integer
  4663. applytime:
  4664. description: 申请时间
  4665. type: string
  4666. auditid:
  4667. description: 审核人
  4668. type: integer
  4669. auditname:
  4670. description: 审核人名称
  4671. type: string
  4672. auditremark:
  4673. description: 审核备注
  4674. type: string
  4675. auditsrc:
  4676. description: 审核来源 - 1:管理端 2:终端
  4677. type: integer
  4678. audittime:
  4679. description: 审核时间
  4680. type: string
  4681. audittradedate:
  4682. description: 审核交易日(yyyyMMdd)
  4683. type: string
  4684. brandname:
  4685. description: 品牌名称
  4686. type: string
  4687. buynickname:
  4688. description: 采购方昵称
  4689. type: string
  4690. buyuserid:
  4691. description: 采购方userid
  4692. type: integer
  4693. buyusername:
  4694. description: 采购方名称
  4695. type: string
  4696. contractno:
  4697. description: 合同编号
  4698. type: string
  4699. contractqty:
  4700. description: 合同量
  4701. type: number
  4702. contracttype:
  4703. description: 现货合同类型 - 1:采购 -1:销售
  4704. type: integer
  4705. deliverygoodscode:
  4706. description: 现货品种代码
  4707. type: string
  4708. deliverygoodsid:
  4709. description: 现货品种id
  4710. type: integer
  4711. deliverygoodsname:
  4712. description: 现货品种名称
  4713. type: string
  4714. detailjson:
  4715. description: 明细数据
  4716. type: string
  4717. enumdicname:
  4718. description: 现货商品单位名称
  4719. type: string
  4720. inoutapplyid:
  4721. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4722. type: string
  4723. inouttype:
  4724. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4725. type: integer
  4726. pricetype:
  4727. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4728. type: integer
  4729. qty:
  4730. description: 数量
  4731. type: number
  4732. sellnickname:
  4733. description: 销售方昵称
  4734. type: string
  4735. selluserid:
  4736. description: 销售方userid
  4737. type: integer
  4738. sellusername:
  4739. description: 销售方名称
  4740. type: string
  4741. spotcontractid:
  4742. description: 关联现货合同ID
  4743. type: string
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. unitid:
  4748. description: 单位id
  4749. type: integer
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehousecode:
  4754. description: 仓库代码
  4755. type: string
  4756. warehouseinfoid:
  4757. description: 现货仓库ID
  4758. type: string
  4759. warehousename:
  4760. description: 仓库名称
  4761. type: string
  4762. warehousetype:
  4763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4764. type: integer
  4765. wrstandardcode:
  4766. description: 品类代码
  4767. type: string
  4768. wrstandardid:
  4769. description: 品类ID
  4770. type: integer
  4771. wrstandardname:
  4772. description: 品类名称
  4773. type: string
  4774. type: object
  4775. models.Ermcp3AreaStockApplySum:
  4776. properties:
  4777. brandname:
  4778. description: 品牌名称
  4779. type: string
  4780. inouttype:
  4781. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4782. type: integer
  4783. spotcontractid:
  4784. description: 关联现货合同ID
  4785. type: string
  4786. spotgoodsbrandid:
  4787. description: 品牌id
  4788. type: integer
  4789. totalqty:
  4790. description: 总数量
  4791. type: number
  4792. wrstandardid:
  4793. description: 品类id
  4794. type: integer
  4795. wrstandardname:
  4796. description: 品类名称
  4797. type: string
  4798. type: object
  4799. models.Ermcp3AreaStockReportEx:
  4800. properties:
  4801. begindate:
  4802. description: 开始交易日
  4803. type: string
  4804. brandname:
  4805. description: 品牌名称
  4806. type: string
  4807. curstock:
  4808. description: 期末库存量
  4809. type: number
  4810. cycletime:
  4811. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4812. type: string
  4813. cycletype:
  4814. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4815. type: integer
  4816. deliverygoodscode:
  4817. description: 现货品种代码
  4818. type: string
  4819. deliverygoodsid:
  4820. description: 现货品种id
  4821. type: integer
  4822. deliverygoodsname:
  4823. description: 现货品种名称
  4824. type: string
  4825. diffqty:
  4826. description: 库存变化量 = 期末 - 期初
  4827. type: number
  4828. enddate:
  4829. description: 结束交易日
  4830. type: string
  4831. enumdicname:
  4832. description: 单位名称
  4833. type: string
  4834. goodsunitid:
  4835. description: 现货单位id
  4836. type: integer
  4837. oristock:
  4838. description: 期初库存量
  4839. type: number
  4840. reckondate:
  4841. description: 日照时期(yyyyMMdd)
  4842. type: string
  4843. spotgoodsbrandid:
  4844. description: 现货品牌ID
  4845. type: integer
  4846. todaybuyinqty:
  4847. description: 今采购入库量
  4848. type: number
  4849. todayproduceinqty:
  4850. description: 今内部入库量
  4851. type: number
  4852. todayproduceoutqty:
  4853. description: 今内部出库量
  4854. type: number
  4855. todayselloutqty:
  4856. description: 今销售出库量
  4857. type: number
  4858. unbuyinqty:
  4859. description: 采购未入库量(数据库未找到相关字段?)
  4860. type: number
  4861. unitid:
  4862. description: 品类单位id
  4863. type: integer
  4864. unselloutqty:
  4865. description: 销售未出库量(数据库未找到相关字段?)
  4866. type: number
  4867. updatetime:
  4868. description: 更新时间
  4869. type: string
  4870. userid:
  4871. description: 机构ID
  4872. type: integer
  4873. username:
  4874. description: 机构名称
  4875. type: string
  4876. warehousecode:
  4877. description: 仓库代码
  4878. type: string
  4879. warehouseinfoid:
  4880. description: 仓库ID
  4881. type: string
  4882. warehousename:
  4883. description: 仓库名称
  4884. type: string
  4885. warehousetype:
  4886. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4887. type: integer
  4888. wrstandardcode:
  4889. description: 品类代码
  4890. type: string
  4891. wrstandardid:
  4892. description: 品类ID
  4893. type: integer
  4894. wrstandardname:
  4895. description: 品类名称
  4896. type: string
  4897. type: object
  4898. models.Ermcp3ArealSumPL:
  4899. properties:
  4900. accountname:
  4901. description: 机构名称
  4902. type: string
  4903. areauserid:
  4904. description: 所属机构\交易用户ID
  4905. type: integer
  4906. begindate:
  4907. description: 开始交易日
  4908. type: string
  4909. currencyid:
  4910. description: 结算币种ID
  4911. type: integer
  4912. currencyname:
  4913. description: 币种名称
  4914. type: string
  4915. cycletime:
  4916. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4917. type: string
  4918. cycletype:
  4919. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4920. type: integer
  4921. enddate:
  4922. description: 结束交易日
  4923. type: string
  4924. enumdicname:
  4925. description: 单位名称(套保品种)
  4926. type: string
  4927. futureactualpl:
  4928. description: 期货损益
  4929. type: number
  4930. futurefloatpl:
  4931. description: 期货浮动损益
  4932. type: number
  4933. futurespotratio:
  4934. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4935. type: number
  4936. goodsunitid:
  4937. description: 套保品种单位id
  4938. type: integer
  4939. hedgeexposurepl:
  4940. description: 套保敞口损益
  4941. type: number
  4942. middlegoodscode:
  4943. description: 套保品种代码
  4944. type: string
  4945. middlegoodsid:
  4946. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4947. type: integer
  4948. middlegoodsname:
  4949. description: 套保品种名称
  4950. type: string
  4951. reckondate:
  4952. description: 日照时期(yyyyMMdd)
  4953. type: string
  4954. spotactualpl:
  4955. description: 现货损益
  4956. type: number
  4957. spotfloatpl:
  4958. description: 现货浮动损益
  4959. type: number
  4960. sumactualpl:
  4961. description: 实际损益 = (ActualPL + FutureActualPL)
  4962. type: number
  4963. sumpl:
  4964. description: 总敞口损益 | 汇总损益
  4965. type: number
  4966. totalfutureqty:
  4967. description: 期货头寸总量
  4968. type: number
  4969. totalneedhedgeqty:
  4970. description: 应套保总量
  4971. type: number
  4972. totalspotqty:
  4973. description: 现货头寸总量
  4974. type: number
  4975. updatetime:
  4976. description: 更新时间
  4977. type: string
  4978. type: object
  4979. models.Ermcp3Brand:
  4980. properties:
  4981. areauserid:
  4982. description: 用户id
  4983. type: integer
  4984. brandid:
  4985. description: 品牌id
  4986. type: integer
  4987. brandname:
  4988. description: 品牌名称
  4989. type: string
  4990. deliverygoodsid:
  4991. description: 品种ID
  4992. type: integer
  4993. isvalid:
  4994. description: 是否有效
  4995. type: integer
  4996. type: object
  4997. models.Ermcp3Contract:
  4998. properties:
  4999. accountid:
  5000. description: 期货账户id
  5001. type: string
  5002. amount:
  5003. description: 金额 [1:一口价、3:暂定价]
  5004. type: number
  5005. attachment:
  5006. description: 附件
  5007. type: string
  5008. auditremark:
  5009. description: 审核意见
  5010. type: string
  5011. audittime:
  5012. description: 审核时间
  5013. type: string
  5014. biztype:
  5015. description: 业务类型 1-套保 2-套利
  5016. type: integer
  5017. brandname:
  5018. description: 品牌名称
  5019. type: string
  5020. buynickname:
  5021. description: 销售方昵称
  5022. type: string
  5023. buyuserid:
  5024. description: 采购方ID
  5025. type: integer
  5026. buyusername:
  5027. description: 采购方名称
  5028. type: string
  5029. contracctstatus:
  5030. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5031. type: integer
  5032. contractmargin:
  5033. description: 合同保证金
  5034. type: number
  5035. contractno:
  5036. description: 现货合同编号
  5037. type: string
  5038. contracttype:
  5039. description: 现货合同类型 - 1:采购 -1:销售
  5040. type: integer
  5041. convertfactor:
  5042. description: 标仓系数(品类)
  5043. type: number
  5044. createtime:
  5045. description: 创建时间
  5046. type: string
  5047. currencyid:
  5048. description: 币种id
  5049. type: integer
  5050. currencyname:
  5051. description: 币种名称
  5052. type: string
  5053. deliveryenddate:
  5054. description: 交收期(结束)
  5055. type: string
  5056. deliverygoodscode:
  5057. description: 现货品种代码
  5058. type: string
  5059. deliverygoodsid:
  5060. description: 现货品种ID
  5061. type: integer
  5062. deliverygoodsname:
  5063. description: 现货品种名称
  5064. type: string
  5065. deliverystartdate:
  5066. description: 交收期(开始)
  5067. type: string
  5068. enddate:
  5069. description: 点价结束日期 [2:点价 3:暂定价]
  5070. type: string
  5071. enumdicname:
  5072. description: 单位名称
  5073. type: string
  5074. goodscode:
  5075. description: 点价合约代码
  5076. type: string
  5077. goodsid:
  5078. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5079. type: integer
  5080. goodsname:
  5081. description: 点价商品名称
  5082. type: string
  5083. margin:
  5084. description: 当前保证金
  5085. type: number
  5086. meruserid:
  5087. description: 跟单员id
  5088. type: integer
  5089. meruserlogincode:
  5090. description: 跟单员登录代码
  5091. type: string
  5092. merusername:
  5093. description: 跟单员名称
  5094. type: string
  5095. pointdesc:
  5096. description: 点价备注
  5097. type: string
  5098. price:
  5099. description: 价格\暂定价 [1:一口价、3:暂定价]
  5100. type: number
  5101. pricemove:
  5102. description: 升贴水 [2:点价 3:暂定价]
  5103. type: number
  5104. pricetype:
  5105. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5106. type: integer
  5107. producttype:
  5108. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5109. type: integer
  5110. qty:
  5111. description: 数量
  5112. type: number
  5113. remark:
  5114. description: 备注
  5115. type: string
  5116. saleuserid:
  5117. description: 业务员id
  5118. type: integer
  5119. saleuserlogincode:
  5120. description: 业务员登录代码
  5121. type: string
  5122. saleusername:
  5123. description: 业务员名称
  5124. type: string
  5125. sellnickname:
  5126. description: 采购方昵称
  5127. type: string
  5128. selluserid:
  5129. description: 销售方ID
  5130. type: integer
  5131. sellusername:
  5132. description: 销售方名称
  5133. type: string
  5134. spotcontractid:
  5135. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5136. type: string
  5137. spotgoodsbrandid:
  5138. description: 现货品牌ID(DGFactoryItem表的ID)
  5139. type: integer
  5140. spotgoodsdesc:
  5141. description: 商品型号
  5142. type: string
  5143. startdate:
  5144. description: 点价开始日期 [2:点价 3:暂定价]
  5145. type: string
  5146. subjectid:
  5147. description: 交易主体ID
  5148. type: integer
  5149. subjectname:
  5150. description: 交易主体名称
  5151. type: string
  5152. tradeuserid:
  5153. description: 交易员id
  5154. type: integer
  5155. tradeuserlogincode:
  5156. description: 交易员登录代码
  5157. type: string
  5158. tradeusername:
  5159. description: 交易员名称
  5160. type: string
  5161. unitid:
  5162. description: 单位id(取品类上的单位id)
  5163. type: integer
  5164. updatetime:
  5165. description: 更新时间
  5166. type: string
  5167. userid:
  5168. description: 所属机构ID
  5169. type: integer
  5170. vatrate:
  5171. description: 增值税率
  5172. type: number
  5173. wrstandardcode:
  5174. description: 品类代码
  5175. type: string
  5176. wrstandardid:
  5177. description: 品类ID
  5178. type: integer
  5179. wrstandardname:
  5180. description: 品类名称
  5181. type: string
  5182. type: object
  5183. models.Ermcp3ContractMiddleGoodsCfg:
  5184. properties:
  5185. agreeunit:
  5186. description: 合约乘数
  5187. type: number
  5188. convertratio:
  5189. description: 期货品种系数
  5190. type: number
  5191. covertqty:
  5192. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5193. type: integer
  5194. middlegoodsid:
  5195. description: 套保品种ID
  5196. type: integer
  5197. middlegoodspricedqty3:
  5198. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5199. example: "0"
  5200. type: string
  5201. pendingpricedqty:
  5202. description: 待点价量
  5203. example: "0"
  5204. type: string
  5205. relatedmiddlegoodsqty:
  5206. description: 已关联量(套保品种-期货)
  5207. example: "0"
  5208. type: string
  5209. spotcontractid:
  5210. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5211. type: string
  5212. type: object
  5213. models.Ermcp3ExposureContractDetail:
  5214. properties:
  5215. biztype:
  5216. description: 业务类型 1-套保 2-套利
  5217. type: integer
  5218. brandname:
  5219. description: 品牌名称
  5220. type: string
  5221. buyuserid:
  5222. description: 采购方id
  5223. type: integer
  5224. buyusername:
  5225. description: 采购方名称
  5226. type: string
  5227. contractno:
  5228. description: 合同编号
  5229. type: string
  5230. contracttype:
  5231. description: 现货合同类型 - 1:采购 -1:销售
  5232. type: integer
  5233. convertfactor:
  5234. description: 标仓系数
  5235. type: number
  5236. convertratio:
  5237. description: 折算系数(套保品种)
  5238. type: number
  5239. curqty:
  5240. description: 今定价量
  5241. type: number
  5242. deliverygoodscode:
  5243. description: 现货品种代码
  5244. type: string
  5245. deliverygoodsid:
  5246. description: 现货品种id
  5247. type: integer
  5248. deliverygoodsname:
  5249. description: 现货品种名称
  5250. type: string
  5251. diffhedgeqty:
  5252. description: 套保变动量
  5253. type: number
  5254. diffneedhedgeqty:
  5255. description: 应套保变动量
  5256. type: number
  5257. diffqty:
  5258. description: 套保品种今变动量
  5259. type: number
  5260. enumdicname:
  5261. description: 单位名称
  5262. type: string
  5263. mgunitname:
  5264. description: 套保品种单位名称
  5265. type: string
  5266. middlegoodscode:
  5267. description: 套保品种代码
  5268. type: string
  5269. middlegoodsid:
  5270. description: 套保品种id
  5271. type: integer
  5272. middlegoodsname:
  5273. description: 套保品种名称
  5274. type: string
  5275. needarbitrageratio:
  5276. description: 应套利比例
  5277. type: number
  5278. needhedgeratio:
  5279. description: 应套保比例
  5280. type: number
  5281. pricedqty:
  5282. description: 已定价量
  5283. type: number
  5284. qty:
  5285. description: 合同量
  5286. type: number
  5287. reckondate:
  5288. description: 交易日(reckondate)
  5289. type: string
  5290. selluserid:
  5291. description: 销售方id
  5292. type: integer
  5293. sellusername:
  5294. description: 销售方名称
  5295. type: string
  5296. spotcontractid:
  5297. description: 合同id
  5298. type: string
  5299. todaypricedqty:
  5300. description: 今定价量
  5301. type: number
  5302. tradedate:
  5303. description: 交易日
  5304. type: string
  5305. unitid:
  5306. description: 品类单位id
  5307. type: integer
  5308. userid:
  5309. description: 机构id
  5310. type: integer
  5311. username:
  5312. description: 交易用户
  5313. type: string
  5314. wrstandardcode:
  5315. description: 现货商品代码
  5316. type: string
  5317. wrstandardid:
  5318. description: 现货商品id
  5319. type: integer
  5320. wrstandardname:
  5321. description: 现货商品名称
  5322. type: string
  5323. type: object
  5324. models.Ermcp3ExposureDetail:
  5325. properties:
  5326. areauserid:
  5327. description: 机构ID
  5328. type: integer
  5329. changeQty:
  5330. description: 套保变动量
  5331. type: number
  5332. contracttype:
  5333. description: 现货合同类型 - 1:采购 -1:销售
  5334. type: integer
  5335. convertfactor:
  5336. description: 标仓系数
  5337. type: number
  5338. convertratio:
  5339. description: 折算系数
  5340. type: number
  5341. createtime:
  5342. description: 时间
  5343. type: string
  5344. enumdicname:
  5345. description: 现货商品单位名称
  5346. type: string
  5347. logtype:
  5348. description: 类型 - 1:套保计划 2:现货合同
  5349. type: integer
  5350. mgunitid:
  5351. description: 套保品种单位id
  5352. type: integer
  5353. mgunitidname:
  5354. description: 套保品种单位名称
  5355. type: string
  5356. middlegoodsId:
  5357. description: 套保商品id
  5358. type: integer
  5359. middlegoodscode:
  5360. description: 套保商品代码
  5361. type: string
  5362. middlegoodsname:
  5363. description: 套保商品名称
  5364. type: string
  5365. qty:
  5366. description: 数量
  5367. type: number
  5368. relateNo:
  5369. description: 现货合同/套保计划编号
  5370. type: string
  5371. unitid:
  5372. description: 现货商品单位id
  5373. type: integer
  5374. wrstandardcode:
  5375. description: 现货商品代码
  5376. type: string
  5377. wrstandardid:
  5378. description: 现货商品ID(SEQ_WRSTANDARD)
  5379. type: integer
  5380. wrstandardname:
  5381. description: 现货商品名称
  5382. type: string
  5383. type: object
  5384. models.Ermcp3ExposureFutuDetail:
  5385. properties:
  5386. accountid:
  5387. description: 交易账户id
  5388. type: integer
  5389. accountname:
  5390. description: 交易账户
  5391. type: string
  5392. begindate:
  5393. description: 开始交易日
  5394. type: string
  5395. buyorsell:
  5396. description: 方向 0-买 1-卖
  5397. type: integer
  5398. diffmgqty:
  5399. description: 套保品种今变化量
  5400. type: number
  5401. diffneedqty:
  5402. description: 应套保总量变化量
  5403. type: number
  5404. difftradeqty:
  5405. description: 交易品种今变化量
  5406. type: number
  5407. enddate:
  5408. description: 结束交易日
  5409. type: string
  5410. enumdicname:
  5411. description: 单位名称
  5412. type: string
  5413. goodscode:
  5414. description: 商品代码
  5415. type: string
  5416. goodsid:
  5417. description: 商品id
  5418. type: integer
  5419. goodsname:
  5420. description: 商品名称
  5421. type: string
  5422. holdqty:
  5423. description: 期末持仓量
  5424. type: number
  5425. middlegoodscode:
  5426. description: 套保商品代码
  5427. type: string
  5428. middlegoodsid:
  5429. description: 套保商品id
  5430. type: integer
  5431. middlegoodsname:
  5432. description: 套保商品名称
  5433. type: string
  5434. oriholdqty:
  5435. description: 期初持仓量
  5436. type: number
  5437. reckondate:
  5438. description: 交易日(RECKONDATE)
  5439. type: string
  5440. todaycloseqty:
  5441. description: 今平仓量
  5442. type: number
  5443. todayopenqty:
  5444. description: 今开仓量
  5445. type: number
  5446. tradedate:
  5447. description: 交易日(RECKONDATE)
  5448. type: string
  5449. username:
  5450. description: 用户名称(交易用户)
  5451. type: string
  5452. type: object
  5453. models.Ermcp3ExposureHedgeplanDetail:
  5454. properties:
  5455. biztype:
  5456. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5457. type: integer
  5458. changqty:
  5459. description: 应套保总量变化量
  5460. type: number
  5461. contracttype:
  5462. description: 计划类型 - 1:采购 -1:销售
  5463. type: integer
  5464. convertratio:
  5465. description: 折算系数(套保品种)
  5466. type: number
  5467. deliverygoodscode:
  5468. description: 现货商品代码
  5469. type: string
  5470. deliverygoodsid:
  5471. description: 现货商品id
  5472. type: integer
  5473. deliverygoodsname:
  5474. description: 现货商吕名称
  5475. type: string
  5476. dgunitid:
  5477. description: 现货商品单位id
  5478. type: integer
  5479. dgunitidname:
  5480. description: 单位名称(现货商品)
  5481. type: string
  5482. diffqty:
  5483. description: 套保品种今变动量
  5484. type: number
  5485. enumdicname:
  5486. description: 单位名称(品类)
  5487. type: string
  5488. hedgeplanid:
  5489. description: 套保计划id
  5490. type: string
  5491. hedgeplanno:
  5492. description: 套保计划名称
  5493. type: string
  5494. hedgeplanstatus:
  5495. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5496. type: integer
  5497. mgunitidname:
  5498. description: 单位名称(套保商品)
  5499. type: string
  5500. middlegoodscode:
  5501. description: 套保品种代码
  5502. type: string
  5503. middlegoodsid:
  5504. description: 套保品种id
  5505. type: integer
  5506. middlegoodsname:
  5507. description: 套保品种名称
  5508. type: string
  5509. needarbitrageratio:
  5510. description: 应套利比例
  5511. type: number
  5512. needhedgeratio:
  5513. description: 应套保比例
  5514. type: number
  5515. pricedqty:
  5516. description: 已定价量
  5517. type: number
  5518. qty:
  5519. description: 合同量
  5520. type: number
  5521. reckondate:
  5522. description: 交易日(reckondate)
  5523. type: string
  5524. tradedate:
  5525. description: 交易日(登记日)
  5526. type: string
  5527. unitid:
  5528. description: 品类单位id
  5529. type: integer
  5530. userid:
  5531. description: 机构id
  5532. type: integer
  5533. wrstandardcode:
  5534. description: 品类代码
  5535. type: string
  5536. wrstandardid:
  5537. description: 品类id
  5538. type: integer
  5539. wrstandardname:
  5540. description: 品类名称
  5541. type: string
  5542. type: object
  5543. models.Ermcp3ExposureParamChLog:
  5544. properties:
  5545. accountid:
  5546. description: 期货账户ID (作废, 默认为0)
  5547. type: integer
  5548. aftervalue:
  5549. description: 应套保\套利量变更后(调整后应套保总量)
  5550. type: number
  5551. areauserid:
  5552. description: 所属机构\交易用户ID
  5553. type: integer
  5554. beforevalue:
  5555. description: 应套保\套利量变更前(调整前应套保总量)
  5556. type: number
  5557. begindate:
  5558. description: 开始交易日
  5559. type: string
  5560. changelogtype:
  5561. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5562. type: integer
  5563. curvalue:
  5564. description: 当前套保\套利量(套保总量|套利总量)
  5565. type: number
  5566. diffvalue:
  5567. description: 应套保总量变化量
  5568. type: number
  5569. enddate:
  5570. description: 结束交易日
  5571. type: string
  5572. logdatetime:
  5573. description: 流水日期
  5574. type: string
  5575. logid:
  5576. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5577. type: string
  5578. middlegoodscode:
  5579. description: 套保品种代码
  5580. type: string
  5581. middlegoodsid:
  5582. description: 套保品种
  5583. type: integer
  5584. middlegoodsname:
  5585. description: 套保品种名称
  5586. type: string
  5587. paramaftervalue:
  5588. description: 参数变更后(调整后参数值)
  5589. type: number
  5590. parambeforevalue:
  5591. description: 参数变更前(调整前参数值)
  5592. type: number
  5593. reckondate:
  5594. description: 交易日(reckondate)
  5595. type: string
  5596. tradedate:
  5597. description: 交易日(yyyyMMdd)
  5598. type: string
  5599. type: object
  5600. models.Ermcp3ExpourseReport:
  5601. properties:
  5602. accountid:
  5603. description: 期货账户ID (作废, 默认为0)
  5604. type: integer
  5605. accountname:
  5606. description: 机构名称
  5607. type: string
  5608. arbitrageqty:
  5609. description: 套利量
  5610. type: number
  5611. areauserid:
  5612. description: 所属机构\交易用户ID
  5613. type: integer
  5614. begindate:
  5615. description: 开始交易日
  5616. type: string
  5617. buyfutureqty:
  5618. description: 买入期货数量
  5619. type: number
  5620. buyplanqty:
  5621. description: 采购计划数量
  5622. type: number
  5623. buypricedqty:
  5624. description: 采购合同已定价数量
  5625. type: number
  5626. cycletime:
  5627. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5628. type: string
  5629. cycletype:
  5630. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5631. type: integer
  5632. diffexposure:
  5633. description: 变动量(套保敞口)
  5634. type: number
  5635. difffutuqty:
  5636. description: 变动量(期货)
  5637. type: number
  5638. diffhedgeqty:
  5639. description: 变动量(现货应套保总量)
  5640. type: number
  5641. diffmgqtya:
  5642. description: 套保变动量
  5643. type: number
  5644. diffmgqtyb:
  5645. description: 套利变动量
  5646. type: number
  5647. diffneedqty:
  5648. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5649. type: number
  5650. diffqty:
  5651. description: 变动量(总敞口)
  5652. type: number
  5653. diffspotqty:
  5654. description: 变动量(现货) | 除税变动量
  5655. type: number
  5656. enddate:
  5657. description: 结束交易日
  5658. type: string
  5659. enumdicname:
  5660. description: 单位名称
  5661. type: string
  5662. hedgeqty:
  5663. description: 套保量
  5664. type: number
  5665. mgneedhedgeratio:
  5666. description: 套保比例(套保品的)
  5667. type: number
  5668. middlegoodsid:
  5669. description: 套保品种ID
  5670. type: integer
  5671. middlegoodsname:
  5672. description: 套保商品名称
  5673. type: string
  5674. middlgoodscode:
  5675. description: 套保商品代码
  5676. type: string
  5677. needarbitrageqty:
  5678. description: 应套利量
  5679. type: number
  5680. needarbitrageratio:
  5681. description: 套利比例(套保品的)
  5682. type: number
  5683. needhedgeexposoure:
  5684. description: 应套保敞口(套保敞口)
  5685. type: number
  5686. needhedgeqty:
  5687. description: 应套保量
  5688. type: number
  5689. needhedgeratio:
  5690. description: 应套保敞口比例
  5691. type: number
  5692. needqty:
  5693. description: 应套总量 = 应套保量 + 应套利量
  5694. type: number
  5695. oriarbitrageqty:
  5696. description: 期初套利量
  5697. type: number
  5698. oribuyfutureqty:
  5699. description: 期初买入期货数量
  5700. type: number
  5701. oribuyplanqty:
  5702. description: 期初采购计划数量
  5703. type: number
  5704. oribuypricedqty:
  5705. description: 期初采购合同已定价数量
  5706. type: number
  5707. orihedgeqty:
  5708. description: 期初套保量
  5709. type: number
  5710. orineedarbitrageqty:
  5711. description: 期初应套利量
  5712. type: number
  5713. orineedhedgeexposoure:
  5714. description: 期初应套保敞口
  5715. type: number
  5716. orineedhedgeqty:
  5717. description: 期初应套保量
  5718. type: number
  5719. orisellfutureqty:
  5720. description: 期初卖出期货数量
  5721. type: number
  5722. orisellplanqty:
  5723. description: 期初销售计划数量
  5724. type: number
  5725. orisellpricedqty:
  5726. description: 期初销售合同已定价数量
  5727. type: number
  5728. oritotalexposure:
  5729. description: 期初实时总敞口
  5730. type: number
  5731. oritotalfutureqty:
  5732. description: 期初期货头寸总量
  5733. type: number
  5734. oritotalneedhedgeqty:
  5735. description: 期初应套保总量
  5736. type: number
  5737. oritotalspotqty:
  5738. description: 期初现货头寸总量
  5739. type: number
  5740. reckondate:
  5741. description: 日照时期(yyyyMMdd)
  5742. type: string
  5743. sellfutureqty:
  5744. description: 卖出期货数量
  5745. type: number
  5746. sellplanqty:
  5747. description: 销售计划数量
  5748. type: number
  5749. sellpricedqty:
  5750. description: 销售合同已定价数量
  5751. type: number
  5752. totalexposure:
  5753. description: 实时总敞口(总敞口)
  5754. type: number
  5755. totalfutureqty:
  5756. description: 期货头寸总量(期货总量)
  5757. type: number
  5758. totalhedgeratio:
  5759. description: 敞口比例
  5760. type: number
  5761. totalneedhedgeqty:
  5762. description: 应套保总量(现货应套保总量)
  5763. type: number
  5764. totalspotqty:
  5765. description: 现货头寸总量 | 除税总量
  5766. type: number
  5767. unitid:
  5768. description: 单位id
  5769. type: integer
  5770. updatetime:
  5771. description: 更新时间
  5772. type: string
  5773. type: object
  5774. models.Ermcp3FinanceReport:
  5775. properties:
  5776. accountname:
  5777. description: 机构名称
  5778. type: string
  5779. areauserid:
  5780. description: 所属机构\交易用户ID
  5781. type: integer
  5782. begindate:
  5783. description: 开始交易日
  5784. type: string
  5785. biztype:
  5786. description: 业务类型 - 1:套保 2:套利
  5787. type: integer
  5788. brandname:
  5789. description: 品牌名称
  5790. type: string
  5791. buypreinvoicedamount:
  5792. description: 采购预收票额(预收票额)
  5793. type: number
  5794. buyprepaidamount:
  5795. description: 采购预付款额(预付货款额)
  5796. type: number
  5797. buytodayinvoiceamount:
  5798. description: 采购今收票额(今收票额)
  5799. type: number
  5800. buytodayrefundamount:
  5801. description: 采购今收退款额(今收退款额)
  5802. type: number
  5803. buytodaysettleamount:
  5804. description: 采购今付款额(今付货款额)
  5805. type: number
  5806. buyuninvoicedamount:
  5807. description: 采购应收票额(应收票额)
  5808. type: number
  5809. buyunpaidamount:
  5810. description: 采购应付款额(应付货款额)
  5811. type: number
  5812. currencyid:
  5813. description: 结算币种ID
  5814. type: integer
  5815. currencyname:
  5816. description: 币种名称
  5817. type: string
  5818. cycletime:
  5819. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5820. type: string
  5821. cycletype:
  5822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5823. type: integer
  5824. deliverygoodscode:
  5825. description: 现货品种代码
  5826. type: string
  5827. deliverygoodsid:
  5828. description: 现货品种ID
  5829. type: integer
  5830. deliverygoodsname:
  5831. description: 现货品种名称
  5832. type: string
  5833. enddate:
  5834. description: 结束交易日
  5835. type: string
  5836. reckondate:
  5837. description: 日照时期(yyyyMMdd)
  5838. type: string
  5839. sellpreinvoicedamount:
  5840. description: 销售预开票额(预开票额)
  5841. type: number
  5842. sellprepaidamount:
  5843. description: 销售预收款额(预收货款额)
  5844. type: number
  5845. selltodayinvoiceamount:
  5846. description: 销售今开票额(今开票额)
  5847. type: number
  5848. selltodayrefundamount:
  5849. description: 销售今付退款额(今付退款额)
  5850. type: number
  5851. selltodaysettleamount:
  5852. description: 销售今收款额(今收货款额)
  5853. type: number
  5854. selluninvoicedamount:
  5855. description: 销售应开票额(应开票额)
  5856. type: number
  5857. sellunpaidamount:
  5858. description: 销售应收款额(应收货款额)
  5859. type: number
  5860. spotgoodsbrandid:
  5861. description: 现货品牌ID
  5862. type: integer
  5863. todaypaysum:
  5864. description: 今付款合计
  5865. type: number
  5866. todayreceivesum:
  5867. description: 今收款合计
  5868. type: number
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrfactortypeid:
  5873. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5874. type: integer
  5875. wrstandardcode:
  5876. description: 品类代码
  5877. type: string
  5878. wrstandardid:
  5879. description: 现货商品ID
  5880. type: integer
  5881. wrstandardname:
  5882. description: 品类名称
  5883. type: string
  5884. type: object
  5885. models.Ermcp3GoodsGroup:
  5886. properties:
  5887. agreeunit:
  5888. description: 合约单位
  5889. type: number
  5890. areauserid:
  5891. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5892. type: integer
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. createtime:
  5900. description: 创建时间
  5901. type: string
  5902. creatorid:
  5903. description: 创建人
  5904. type: integer
  5905. currencyid:
  5906. description: 报价货币ID
  5907. type: integer
  5908. decimalplace:
  5909. description: 报价小数位
  5910. type: integer
  5911. enumdicname:
  5912. description: 单位名称
  5913. type: string
  5914. exchangefullname:
  5915. description: 交易所全称
  5916. type: string
  5917. excludecfg:
  5918. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5919. type: integer
  5920. exexchangecode:
  5921. description: 交易所代码
  5922. type: string
  5923. exexchangeid:
  5924. description: 外部交易所ID[通道交易]
  5925. type: integer
  5926. exexchangename:
  5927. description: 交易所名称
  5928. type: string
  5929. goodsgroupid:
  5930. description: 商品组ID(自增ID)
  5931. type: integer
  5932. goodsgroupname:
  5933. description: 商品组名称
  5934. type: string
  5935. goodsgroupstatus:
  5936. description: 商品组状态 - 1:正常 2:注销
  5937. type: integer
  5938. goodunitid:
  5939. description: 报价单位ID
  5940. type: integer
  5941. groupcategroyid:
  5942. description: 品种分类ID
  5943. type: integer
  5944. innerdealmode:
  5945. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5946. type: integer
  5947. marketid:
  5948. description: 所属市场ID
  5949. type: integer
  5950. modifierid:
  5951. description: 修改人
  5952. type: integer
  5953. modifytime:
  5954. description: 修改时间
  5955. type: string
  5956. outerdealmode:
  5957. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5958. type: integer
  5959. outergroupcode:
  5960. description: 外部商品组代码[通道交易]
  5961. type: string
  5962. quoteminunit:
  5963. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5964. type: integer
  5965. quotesourcegroupid:
  5966. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5967. type: integer
  5968. syncgoodsqty:
  5969. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5970. type: integer
  5971. required:
  5972. - areauserid
  5973. type: object
  5974. models.Ermcp3HPMiddleGoods:
  5975. properties:
  5976. biztype:
  5977. description: 业务类型 1:套保 2:套利
  5978. type: integer
  5979. contracttype:
  5980. description: 合同类型 1:采购 -1:销售
  5981. type: integer
  5982. convertratio:
  5983. description: 折算系数
  5984. type: number
  5985. customername:
  5986. description: 对手手名称
  5987. type: string
  5988. customeruserid:
  5989. description: 对手id
  5990. type: integer
  5991. enumdicname:
  5992. description: 现货单位名称
  5993. type: string
  5994. hedgeplanid:
  5995. description: 计划id
  5996. type: string
  5997. hedgeplanno:
  5998. description: 计划编号
  5999. type: string
  6000. middlegoodsid:
  6001. description: 套保品种ID
  6002. type: integer
  6003. middlegoodsplanqty3:
  6004. description: 应套保计划量
  6005. type: number
  6006. needhedgeratio:
  6007. description: 套保比例
  6008. type: number
  6009. pricedqty:
  6010. description: 已定价量
  6011. type: number
  6012. relatedmiddlegoodsqty:
  6013. description: 已关联量(套保品种)(期货)
  6014. type: number
  6015. unitid:
  6016. description: 现货单位id
  6017. type: integer
  6018. userid:
  6019. description: 用户id
  6020. type: integer
  6021. vatrate:
  6022. description: 增值税率
  6023. type: number
  6024. wrstandardcode:
  6025. description: 现货商品代码
  6026. type: string
  6027. wrstandardid:
  6028. description: 现货商品id
  6029. type: integer
  6030. wrstandardname:
  6031. description: 现货商品名称
  6032. type: string
  6033. type: object
  6034. models.Ermcp3HedgePlan:
  6035. properties:
  6036. accountid:
  6037. description: 资金账号
  6038. type: integer
  6039. areauserid:
  6040. description: 用户ID
  6041. type: integer
  6042. auditid:
  6043. description: 审核id
  6044. type: integer
  6045. auditname:
  6046. description: 审核人名称
  6047. type: string
  6048. auditremark:
  6049. description: 审核备注
  6050. type: string
  6051. auditsrc:
  6052. description: 审核来源 1-管理端 2-终端
  6053. type: integer
  6054. audittime:
  6055. description: 审核时间
  6056. type: string
  6057. contracttype:
  6058. description: 计划类型 - 1:采购 -1:销售
  6059. type: integer
  6060. convertfactor:
  6061. description: 标仓系数
  6062. type: number
  6063. createtime:
  6064. description: 创建时间
  6065. type: string
  6066. currencyid:
  6067. description: 币种id
  6068. type: integer
  6069. currencyname:
  6070. description: 币种名称
  6071. type: string
  6072. deliverygoodscode:
  6073. description: 现货品种代码
  6074. type: string
  6075. deliverygoodsid:
  6076. description: 现货品种ID
  6077. type: integer
  6078. deliverygoodsname:
  6079. description: 现货品种名称
  6080. type: string
  6081. enumdicname:
  6082. description: 单位名称(现货商品)
  6083. type: string
  6084. hedgeplanid:
  6085. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6086. type: string
  6087. hedgeplanno:
  6088. description: 套保计划编号(名称)
  6089. type: string
  6090. hedgeplanstatus:
  6091. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6092. type: integer
  6093. planqty:
  6094. description: 计划数量
  6095. type: number
  6096. plantime:
  6097. description: 计划时间
  6098. type: string
  6099. producttype:
  6100. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6101. type: integer
  6102. remark:
  6103. description: 备注
  6104. type: string
  6105. spotgoodsdesc:
  6106. description: 商品型号
  6107. type: string
  6108. taaccountname:
  6109. description: 资金账号名称
  6110. type: string
  6111. tradeuserid:
  6112. description: 交易用户id
  6113. type: integer
  6114. tradeusername:
  6115. description: 交易用户名称
  6116. type: string
  6117. unitid:
  6118. description: 单位id(现货商品)
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. vatrate:
  6124. description: 增值税率
  6125. type: number
  6126. wrstandardcode:
  6127. description: 品类代码
  6128. type: string
  6129. wrstandardid:
  6130. description: 品类id
  6131. type: integer
  6132. wrstandardname:
  6133. description: 品类名称
  6134. type: string
  6135. wrunitid:
  6136. description: 品类单位id
  6137. type: integer
  6138. wrunitidame:
  6139. description: 品类单位名称
  6140. type: string
  6141. type: object
  6142. models.Ermcp3InnerTradeLink:
  6143. properties:
  6144. accountid:
  6145. description: 期货账号代码 | 资金账号ID
  6146. type: integer
  6147. buyorsell:
  6148. description: 方向 - 0:买 1:卖
  6149. type: integer
  6150. channelbuildtype:
  6151. description: 委托单据类型 0:无 1:建仓 2:平仓
  6152. type: integer
  6153. currencyid:
  6154. description: 币种id
  6155. type: integer
  6156. currencyname:
  6157. description: 结算币种 名称
  6158. type: string
  6159. goodscode:
  6160. description: 商品代码
  6161. type: string
  6162. goodsid:
  6163. description: 商品ID
  6164. type: integer
  6165. goodsname:
  6166. description: 商品名称
  6167. type: string
  6168. outtradeid:
  6169. description: 外部成交单号
  6170. type: string
  6171. taname:
  6172. description: 期货账户名称
  6173. type: string
  6174. tradeid:
  6175. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6176. type: string
  6177. tradeprice:
  6178. description: 成交价格
  6179. type: number
  6180. tradeqty:
  6181. description: 期货成交数量
  6182. type: integer
  6183. tradetime:
  6184. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6185. type: string
  6186. username:
  6187. description: 用户名称
  6188. type: string
  6189. type: object
  6190. models.Ermcp3OutTradeLink:
  6191. properties:
  6192. buyorsell:
  6193. description: 买卖方向 - 0:买 1:卖
  6194. type: integer
  6195. channelbuildtype:
  6196. description: 开平标志- 0:无 1:建仓 2:平仓
  6197. type: integer
  6198. currencyname:
  6199. description: 币种名称
  6200. type: string
  6201. exexchangecode:
  6202. description: 交易所代码
  6203. type: string
  6204. exexchangename:
  6205. description: 交易所名称
  6206. type: string
  6207. goodscode:
  6208. description: 合约代码
  6209. type: string
  6210. goodsid:
  6211. description: 合约id
  6212. type: integer
  6213. goodsname:
  6214. description: 合约名称
  6215. type: string
  6216. hasinnerorder:
  6217. description: 是否有内部单关联 - 0:无 1:有
  6218. type: integer
  6219. hedgeaccountcode:
  6220. description: 外部账号 | 对冲账号
  6221. type: string
  6222. outtradeid:
  6223. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6224. type: string
  6225. tradeprice:
  6226. description: 成交价格
  6227. type: number
  6228. tradeqty:
  6229. description: 成交数量
  6230. type: integer
  6231. tradetime:
  6232. description: 成交时间
  6233. type: string
  6234. type: object
  6235. models.Ermcp3PaAreaAuditCfg:
  6236. properties:
  6237. areauserid:
  6238. description: 用户ID
  6239. type: integer
  6240. buyinauditflag:
  6241. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6242. type: integer
  6243. costratioauditflag:
  6244. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6245. type: integer
  6246. customerauditflag:
  6247. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6248. type: integer
  6249. deliveryauditflag:
  6250. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6251. type: integer
  6252. invoiceauditflag:
  6253. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6254. type: integer
  6255. mgneedhedgeratioauditflag:
  6256. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6257. type: integer
  6258. moneyauditflag:
  6259. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6260. type: integer
  6261. operatorid:
  6262. description: 操作人
  6263. type: integer
  6264. operatorsrc:
  6265. description: 操作来源 - 1:管理端 2:终端
  6266. type: integer
  6267. pointpriceauditflag:
  6268. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6269. type: integer
  6270. produceinauditflag:
  6271. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6272. type: integer
  6273. produceoutauditflag:
  6274. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6275. type: integer
  6276. selloutauditflag:
  6277. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6278. type: integer
  6279. sgconvertratioauditflag:
  6280. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6281. type: integer
  6282. sgvtaratioauditflag:
  6283. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6284. type: integer
  6285. spotcontractauditflag:
  6286. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6287. type: integer
  6288. updatetime:
  6289. description: 更新时间
  6290. type: string
  6291. type: object
  6292. models.Ermcp3PaAreaSubject:
  6293. properties:
  6294. areauserid:
  6295. description: 所属机构
  6296. type: integer
  6297. canmodify:
  6298. description: 是否可修改 - 0:否 1:是
  6299. type: integer
  6300. createtime:
  6301. description: 创建时间
  6302. type: string
  6303. creatorid:
  6304. description: 创建人ID
  6305. type: string
  6306. creatorsrc:
  6307. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6308. type: integer
  6309. modifierid:
  6310. description: 修改人
  6311. type: string
  6312. modifiersrc:
  6313. description: 修改人来源 - 1:管理端 2:终端
  6314. type: integer
  6315. modifytime:
  6316. description: 修改时间
  6317. type: string
  6318. parentsubjectid:
  6319. description: 上级主体ID
  6320. type: string
  6321. remark:
  6322. description: 备注
  6323. type: string
  6324. subjectid:
  6325. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6326. type: integer
  6327. subjectname:
  6328. description: 主体名称
  6329. type: string
  6330. subjectstatus:
  6331. description: '主体状态 - 1:正常 2: 停用'
  6332. type: integer
  6333. subjecttype:
  6334. description: 主体类型 - 1:交易主体 2:业务部门
  6335. type: integer
  6336. type: object
  6337. models.Ermcp3PaTradeLink:
  6338. properties:
  6339. accountid:
  6340. description: 期货账户代码 | 账号ID
  6341. type: integer
  6342. agreeunit:
  6343. description: 合约乘数
  6344. type: number
  6345. buyorsell:
  6346. description: 方向 - 0:买 1:卖
  6347. type: integer
  6348. channelbuildtype:
  6349. description: 委托单据类型 0:无 1:建仓 2:平仓
  6350. type: integer
  6351. charge:
  6352. description: 手续费
  6353. type: number
  6354. closepl:
  6355. description: 平仓盈亏
  6356. type: number
  6357. closetype:
  6358. description: 平仓方式 - 0:无 1:平今 2:平昨
  6359. type: integer
  6360. convertratio:
  6361. description: 折算系数
  6362. type: number
  6363. enumdicname:
  6364. description: 单位名称
  6365. type: string
  6366. executeprice:
  6367. description: 执行价 [期权]
  6368. type: integer
  6369. goodscode:
  6370. description: 合约代码
  6371. type: string
  6372. goodsgroupid:
  6373. description: 对冲品种ID[期货合约商品组ID]
  6374. type: integer
  6375. goodsid:
  6376. description: 商品ID
  6377. type: integer
  6378. goodsname:
  6379. description: 合约名称
  6380. type: string
  6381. goodunitid:
  6382. description: 单位id
  6383. type: integer
  6384. hedgeflag:
  6385. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6386. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6387. type: integer
  6388. marketid:
  6389. description: 市场ID
  6390. type: integer
  6391. middlegoodsid:
  6392. description: 套保品种ID
  6393. type: integer
  6394. middlegoodsqty:
  6395. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6396. type: number
  6397. optioncode:
  6398. description: 期权代码 [期权]
  6399. type: string
  6400. ordertype:
  6401. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6402. type: integer
  6403. ordertypename:
  6404. description: 订单类型
  6405. type: string
  6406. parentaccountid:
  6407. description: 所属母账户
  6408. type: integer
  6409. premium:
  6410. description: 权利金 [期权]
  6411. type: number
  6412. relatedlot:
  6413. description: 已关联数量(已关联数量手) | db:关联手数
  6414. type: number
  6415. relatedouttradeid:
  6416. description: 关联外部成交单ID
  6417. type: string
  6418. relatedqty:
  6419. description: 关联数量
  6420. type: number
  6421. spotcontractid:
  6422. description: 现货合同ID [4:套期保值\10\11]
  6423. type: string
  6424. taname:
  6425. description: 期货账户名称
  6426. type: string
  6427. tradeamount:
  6428. description: 成交金额(账户)
  6429. type: number
  6430. tradedate:
  6431. description: 交易日(yyyyMMdd)
  6432. type: string
  6433. tradeid:
  6434. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6435. type: string
  6436. tradelot:
  6437. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6438. type: integer
  6439. tradeprice:
  6440. description: 成交价格
  6441. type: number
  6442. tradetime:
  6443. description: 时间 | db:成交时间
  6444. type: string
  6445. tradetype:
  6446. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6447. type: integer
  6448. userid:
  6449. description: 所属机构 - 所属母账户的UserID
  6450. type: string
  6451. username:
  6452. description: 用户名称
  6453. type: string
  6454. type: object
  6455. models.Ermcp3ParamChangeApp:
  6456. properties:
  6457. aftervalue:
  6458. description: 变更后
  6459. type: number
  6460. applicationid:
  6461. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6462. type: string
  6463. applyid:
  6464. description: 申请人
  6465. type: string
  6466. applyname:
  6467. description: 申请人名称(代码)
  6468. type: string
  6469. applyremark:
  6470. description: 申请备注
  6471. type: string
  6472. applysrc:
  6473. description: 申请来源 - 1:管理端 2:终端
  6474. type: integer
  6475. applystatus:
  6476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6477. type: integer
  6478. applytime:
  6479. description: 申请时间
  6480. type: string
  6481. areauserid:
  6482. description: 所属机构用户ID
  6483. type: integer
  6484. auditid:
  6485. description: 审核人
  6486. type: string
  6487. auditname:
  6488. description: 审核人名称(代码)
  6489. type: string
  6490. auditremark:
  6491. description: 审核备注
  6492. type: string
  6493. auditsrc:
  6494. description: 审核来源 - 1:管理端 2:终端
  6495. type: integer
  6496. audittime:
  6497. description: 审核时间
  6498. type: string
  6499. audittradedate:
  6500. description: 审核交易日(yyyyMMdd)
  6501. type: string
  6502. beforevalue:
  6503. description: 变更前
  6504. type: number
  6505. deliverygoodscode:
  6506. description: 品种代码
  6507. type: string
  6508. deliverygoodsid:
  6509. description: 品种id
  6510. type: integer
  6511. deliverygoodsname:
  6512. description: 品种名称
  6513. type: string
  6514. middlegoodscode:
  6515. description: 套保品种代码
  6516. type: string
  6517. middlegoodsid:
  6518. description: 套保品种ID [ParamChangeType = 2,3,4]
  6519. type: integer
  6520. middlegoodsname:
  6521. description: 套保品种名称
  6522. type: string
  6523. operatetype:
  6524. description: 操作类型 - 1:新增 2:修改
  6525. type: integer
  6526. paramchangetype:
  6527. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6528. type: integer
  6529. wrstandardcode:
  6530. description: 现货商品代码
  6531. type: string
  6532. wrstandardid:
  6533. description: 现货商品ID [ParamChangeType = 1,2,3]
  6534. type: integer
  6535. wrstandardname:
  6536. description: 现货商品名称
  6537. type: string
  6538. type: object
  6539. models.Ermcp3RootUserAccount:
  6540. properties:
  6541. accountname:
  6542. description: 账户名称(机构名称)
  6543. type: string
  6544. accountstatus:
  6545. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6546. type: integer
  6547. applysrc:
  6548. description: 申请来源 - 1:管理端 2:终端
  6549. type: integer
  6550. auditremark:
  6551. description: 审核备注
  6552. type: string
  6553. auditsrc:
  6554. description: 审核来源 - 1:管理端 2:终端
  6555. type: integer
  6556. audittime:
  6557. description: 审核时间
  6558. type: string
  6559. audituserid:
  6560. description: 审核人
  6561. type: integer
  6562. broker:
  6563. description: 所属经纪人ID
  6564. type: integer
  6565. canceltime:
  6566. description: 销户时间
  6567. type: string
  6568. canceluserid:
  6569. description: 销户人
  6570. type: integer
  6571. canrecommend:
  6572. description: 是否可推荐 - 0:不可 1;可
  6573. type: integer
  6574. createtime:
  6575. description: 创建时间
  6576. type: string
  6577. creatorid:
  6578. description: 创建人
  6579. type: integer
  6580. hasauth:
  6581. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6582. type: integer
  6583. isanonymous:
  6584. description: 是否匿名下单 - 0:否 1:是
  6585. type: integer
  6586. maxinvestornum:
  6587. description: 最大用户数(经纪会员下投资者个数)
  6588. type: integer
  6589. memberuserid:
  6590. description: 所属会员ID
  6591. type: integer
  6592. modifierid:
  6593. description: 修改人
  6594. type: integer
  6595. modifyremark:
  6596. description: 变更备注
  6597. type: string
  6598. modifystatus:
  6599. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6600. type: integer
  6601. modifytime:
  6602. description: 修改时间
  6603. type: string
  6604. nickname:
  6605. description: 昵称
  6606. type: string
  6607. parenttopuser:
  6608. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6609. type: string
  6610. parentuserid:
  6611. description: 所属机构ID
  6612. type: integer
  6613. reckonaccountid:
  6614. description: 默认结算资金账号ID(机构分润使用) 作废
  6615. type: integer
  6616. refercount:
  6617. description: 推荐总人数
  6618. type: integer
  6619. refereeuserid:
  6620. description: 推荐人ID
  6621. type: integer
  6622. refernum:
  6623. description: 推荐码
  6624. type: string
  6625. rootuserid:
  6626. description: 根用户ID
  6627. type: integer
  6628. subaccountlevel:
  6629. description: 子账户层数
  6630. type: integer
  6631. subarealevelpath:
  6632. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6633. type: string
  6634. userid:
  6635. description: 用户ID
  6636. type: integer
  6637. usertype:
  6638. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6639. type: integer
  6640. type: object
  6641. models.Ermcp3SCMiddleGoods:
  6642. properties:
  6643. biztype:
  6644. description: 业务类型 1:套保 2:套利
  6645. type: integer
  6646. contractno:
  6647. description: 合同编号
  6648. type: string
  6649. contracttype:
  6650. description: 合同类型 1:采购 -1:销售
  6651. type: integer
  6652. convertratio:
  6653. description: 折算系数
  6654. type: number
  6655. customername:
  6656. description: 对手手名称
  6657. type: string
  6658. customeruserid:
  6659. description: 对手id
  6660. type: integer
  6661. deliverygoodscode:
  6662. description: 现货品种代码
  6663. type: string
  6664. deliverygoodsid:
  6665. description: 现货品种ID
  6666. type: integer
  6667. deliverygoodsname:
  6668. description: 现货品种名称
  6669. type: string
  6670. enumdicname:
  6671. description: 现货单位名称
  6672. type: string
  6673. middlegoodsid:
  6674. description: 套保品种ID
  6675. type: integer
  6676. middlegoodspricedqty3:
  6677. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6678. type: number
  6679. needhedgeratio:
  6680. description: 套保比例
  6681. type: number
  6682. pricedqty:
  6683. description: 已定价量
  6684. type: number
  6685. relatedmiddlegoodsqty:
  6686. description: 已关联量(套保品种)(期货)
  6687. type: number
  6688. spotcontractid:
  6689. description: 合同编号
  6690. type: string
  6691. unitid:
  6692. description: 现货单位id
  6693. type: integer
  6694. userid:
  6695. description: 用户id
  6696. type: integer
  6697. vatrate:
  6698. description: 增值税率
  6699. type: number
  6700. wrstandardcode:
  6701. description: 现货商品代码
  6702. type: string
  6703. wrstandardid:
  6704. description: 现货商品id
  6705. type: integer
  6706. wrstandardname:
  6707. description: 现货商品名称
  6708. type: string
  6709. type: object
  6710. models.Ermcp3SCMiddleGoodsReport:
  6711. properties:
  6712. begindate:
  6713. description: 开始交易日
  6714. type: string
  6715. contractno:
  6716. description: 合同编号
  6717. type: string
  6718. contracttype:
  6719. description: 合同类型 1:采购 -1:销售
  6720. type: integer
  6721. convertratio:
  6722. description: 折算系数
  6723. type: number
  6724. cycletime:
  6725. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6726. type: string
  6727. cycletype:
  6728. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6729. type: integer
  6730. deliverygoodscode:
  6731. description: 品种代码
  6732. type: string
  6733. deliverygoodsid:
  6734. description: 现货品种ID
  6735. type: integer
  6736. deliverygoodsname:
  6737. description: 品种名称
  6738. type: string
  6739. diffprice:
  6740. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6741. type: number
  6742. diffqty:
  6743. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6744. type: number
  6745. enddate:
  6746. description: 结束交易日
  6747. type: string
  6748. hedgeplanqty:
  6749. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6750. type: number
  6751. matchname:
  6752. description: 交易对手方(个人:用户名称 企业:简称)
  6753. type: string
  6754. matchnickname:
  6755. description: 交易对手方昵称
  6756. type: string
  6757. middlegoodscode:
  6758. description: 套保品种代码
  6759. type: string
  6760. middlegoodsid:
  6761. description: 套保品种ID
  6762. type: integer
  6763. middlegoodsname:
  6764. description: 套保品种名称
  6765. type: string
  6766. middlegoodspricedqty:
  6767. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6768. type: number
  6769. middlegoodspricedqty2:
  6770. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6771. type: number
  6772. middlegoodspricedqty3:
  6773. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6774. type: number
  6775. needhedgeratio:
  6776. description: 套保系数
  6777. type: number
  6778. pricedamount:
  6779. description: 已定价额(现货)
  6780. type: number
  6781. pricedamount2:
  6782. description: 已定价额(现货-基价额)
  6783. type: number
  6784. pricedqty:
  6785. description: 已定价量(现货)
  6786. type: number
  6787. reckondate:
  6788. description: 日照时期(yyyyMMdd)
  6789. type: string
  6790. relatedmiddlegoodsamount:
  6791. description: 已关联额(期货)
  6792. type: number
  6793. relatedmiddlegoodsqty:
  6794. description: 已关联量(套保品种)(期货)
  6795. type: number
  6796. spotcontractid:
  6797. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6798. type: string
  6799. todayavgfutuprice:
  6800. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6801. type: number
  6802. todayavgprice:
  6803. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6804. type: number
  6805. todayavgprice2:
  6806. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6807. type: number
  6808. todaypricedamount:
  6809. description: 今日定价额(现货)
  6810. type: number
  6811. todaypricedamount2:
  6812. description: 今日定价额(现货-基价额)
  6813. type: number
  6814. todaypricedqty:
  6815. description: 今日定价量(现货)
  6816. type: number
  6817. todayrelatedfutureqty:
  6818. description: 今日关联量(期货)
  6819. type: number
  6820. todayrelatedmiddlegoodsamount:
  6821. description: 今日关联额(期货)
  6822. type: number
  6823. todayrelatedmiddlegoodsqty:
  6824. description: 今日关联量(套保品-期货)
  6825. type: number
  6826. updatetime:
  6827. description: 更新时间
  6828. type: string
  6829. userid:
  6830. description: 合同所属用户id
  6831. type: integer
  6832. vatrate:
  6833. description: 增值税率
  6834. type: number
  6835. wrstandardcode:
  6836. description: 商品(品类) 代码
  6837. type: string
  6838. wrstandardid:
  6839. description: 现货商品ID
  6840. type: integer
  6841. wrstandardname:
  6842. description: 商品(品类) 名称
  6843. type: string
  6844. type: object
  6845. models.Ermcp3SellBuyContract:
  6846. properties:
  6847. accountid:
  6848. description: 期货账户id
  6849. type: string
  6850. accountname:
  6851. description: 账户名称
  6852. type: string
  6853. attachment:
  6854. description: 附件
  6855. type: string
  6856. audittime:
  6857. description: 审核时间
  6858. type: string
  6859. bizsubjectid:
  6860. description: 归属业务部门ID - SubjectID
  6861. type: integer
  6862. biztype:
  6863. description: 业务类型 1-套保 2-套利
  6864. type: integer
  6865. brandname:
  6866. description: 品牌名称
  6867. type: string
  6868. contracctstatus:
  6869. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6870. type: integer
  6871. contractmargin:
  6872. description: 合同保证金
  6873. type: number
  6874. contractno:
  6875. description: 合同编号
  6876. type: string
  6877. contracttype:
  6878. description: 合同类型 1-采购, -1-销售
  6879. type: integer
  6880. convertfactor:
  6881. description: 标仓系数(品类)
  6882. type: number
  6883. createtime:
  6884. description: 创建时间
  6885. type: string
  6886. currencyid:
  6887. description: 币种id
  6888. type: integer
  6889. currencyname:
  6890. description: 币种名称
  6891. type: string
  6892. daikaiamount:
  6893. description: 应收(开)票额 | 未收票额
  6894. type: number
  6895. deliveryenddate:
  6896. description: 交割结束日
  6897. type: string
  6898. deliverygoodscode:
  6899. description: 现货品种代码
  6900. type: string
  6901. deliverygoodsid:
  6902. description: 现货商品ID
  6903. type: integer
  6904. deliverygoodsname:
  6905. description: 现货品种名称
  6906. type: string
  6907. deliverystartdate:
  6908. description: 交割开始日
  6909. type: string
  6910. enddate:
  6911. description: 点价结束日
  6912. type: string
  6913. enumdicname:
  6914. description: 单位名称
  6915. type: string
  6916. goodscode:
  6917. description: 点价商品代码
  6918. type: string
  6919. goodsgroupid:
  6920. description: 点价商品组id
  6921. type: integer
  6922. goodsid:
  6923. description: 点价商品ID
  6924. type: integer
  6925. goodsname:
  6926. description: 点价商品名称
  6927. type: string
  6928. invoiceamount:
  6929. description: 已开票额
  6930. type: number
  6931. loanamount:
  6932. description: 贷款总额=已定价额+调整金额
  6933. type: number
  6934. margin:
  6935. description: 保证金
  6936. type: number
  6937. meruserid:
  6938. description: 跟单员id
  6939. type: integer
  6940. meruserlogincode:
  6941. description: 跟单员登录代码
  6942. type: string
  6943. merusername:
  6944. description: 跟单员名称
  6945. type: string
  6946. nickname:
  6947. description: 账户昵称
  6948. type: string
  6949. orireckonrealqty:
  6950. description: 应交收量
  6951. type: number
  6952. payamount:
  6953. description: 已收付额(收款或付款)
  6954. type: number
  6955. preinvoiceamount:
  6956. description: 预收(开)票额
  6957. type: number
  6958. prepayamount:
  6959. description: 预收付额
  6960. type: number
  6961. price:
  6962. description: 价格
  6963. type: number
  6964. pricedamount:
  6965. description: 已定价额
  6966. type: number
  6967. pricedavg:
  6968. description: 已点均价
  6969. type: number
  6970. pricedqty:
  6971. description: 已定价量
  6972. type: number
  6973. pricemove:
  6974. description: 升贴水
  6975. type: number
  6976. pricetype:
  6977. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6978. type: integer
  6979. producttype:
  6980. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6981. type: integer
  6982. qty:
  6983. description: 合同量
  6984. type: number
  6985. reckonadjustamount:
  6986. description: 调整金额
  6987. type: number
  6988. reckonedamount:
  6989. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6990. type: number
  6991. reckonotheramount:
  6992. description: 其它费用
  6993. type: number
  6994. reckonrealqty:
  6995. description: 已交收量
  6996. type: number
  6997. remark:
  6998. description: 备注
  6999. type: string
  7000. saleuserid:
  7001. description: 业务员id
  7002. type: integer
  7003. saleuserlogincode:
  7004. description: 业务员登录代码
  7005. type: string
  7006. saleusername:
  7007. description: 业务员名称
  7008. type: string
  7009. spotcontractid:
  7010. description: 合同ID
  7011. type: string
  7012. spotgoodsbrandid:
  7013. description: 现货品牌ID(DGFactoryItem表的ID)
  7014. type: integer
  7015. spotgoodsdesc:
  7016. description: 商品型号(商品规格)
  7017. type: string
  7018. startdate:
  7019. description: 点价开始日
  7020. type: string
  7021. subjectid:
  7022. description: 交易主体ID
  7023. type: integer
  7024. subjectname:
  7025. description: 交易主体名称
  7026. type: string
  7027. totalamount:
  7028. description: 合计总额
  7029. type: number
  7030. tradeuserid:
  7031. description: 交易员id
  7032. type: integer
  7033. tradeuserlogincode:
  7034. description: 交易员登录代码
  7035. type: string
  7036. tradeusername:
  7037. description: 交易员名称
  7038. type: string
  7039. unpayamount:
  7040. description: 应收付款额(应支付或应收款) | 未付款额
  7041. type: number
  7042. unpricedqty:
  7043. description: 未定价量
  7044. type: number
  7045. unsureqty:
  7046. description: 未确定量 | 未交收量
  7047. type: number
  7048. userid:
  7049. description: 机构ID
  7050. type: integer
  7051. vatrate:
  7052. description: 增值税率
  7053. type: number
  7054. wrstandardcode:
  7055. description: 品类代码
  7056. type: string
  7057. wrstandardid:
  7058. description: 品类ID
  7059. type: integer
  7060. wrstandardname:
  7061. description: 品类名称
  7062. type: string
  7063. type: object
  7064. models.Ermcp3SpotGoodsPrice:
  7065. properties:
  7066. areauserid:
  7067. description: 所属机构id
  7068. type: integer
  7069. brandname:
  7070. description: 品牌名称
  7071. type: string
  7072. currencyid:
  7073. description: 报价货币ID
  7074. type: integer
  7075. currencyname:
  7076. description: 币种名称
  7077. type: string
  7078. deliverygoodscode:
  7079. description: 现货商品代码
  7080. type: string
  7081. deliverygoodsid:
  7082. description: 现货商品id
  7083. type: integer
  7084. deliverygoodsname:
  7085. description: 现货商品名称
  7086. type: string
  7087. enumdicname:
  7088. description: 现货商品单位名称
  7089. type: string
  7090. gbenumdicname:
  7091. description: 品类单位名称
  7092. type: string
  7093. gmunitid:
  7094. description: 品类单位id
  7095. type: integer
  7096. isvalid:
  7097. description: 是否有效 - 0:无效 1:有效
  7098. type: integer
  7099. operateid:
  7100. description: 最后操作人
  7101. type: integer
  7102. operatesrc:
  7103. description: 最后操作来源 - 1:管理端 2:终端
  7104. type: integer
  7105. operatetime:
  7106. description: 最后操作时间
  7107. type: string
  7108. operatorname:
  7109. description: 操作人名称
  7110. type: string
  7111. spotgoodsbrandid:
  7112. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7113. type: integer
  7114. spotgoodsprice:
  7115. description: 现货价格
  7116. type: number
  7117. tradedate:
  7118. description: 交易日(yyyyMMdd)
  7119. type: string
  7120. unitid:
  7121. description: 现货商品单位id
  7122. type: integer
  7123. wrstandardcode:
  7124. description: 品类代码
  7125. type: string
  7126. wrstandardid:
  7127. description: 现货品类ID(通用则为0)
  7128. type: integer
  7129. wrstandardname:
  7130. description: 品类名称
  7131. type: string
  7132. type: object
  7133. models.Ermcp3SpotGoodsPriceLog:
  7134. properties:
  7135. areauserid:
  7136. description: 所属机构id
  7137. type: integer
  7138. brandname:
  7139. description: 品牌名称
  7140. type: string
  7141. currencyid:
  7142. description: 报价货币ID
  7143. type: integer
  7144. deliverygoodscode:
  7145. description: 现货商品代码
  7146. type: string
  7147. deliverygoodsid:
  7148. description: 现货商品id
  7149. type: integer
  7150. deliverygoodsname:
  7151. description: 现货商品名称
  7152. type: string
  7153. enumdicname:
  7154. description: 现货商品单位名称
  7155. type: string
  7156. gbenumdicname:
  7157. description: 品类单位名称
  7158. type: string
  7159. gmunitid:
  7160. description: 品类单位id
  7161. type: integer
  7162. logid:
  7163. description: 日志id
  7164. type: integer
  7165. operateid:
  7166. description: 最后操作人
  7167. type: integer
  7168. operatesrc:
  7169. description: 最后操作来源 - 1:管理端 2:终端
  7170. type: integer
  7171. operatetime:
  7172. description: 最后操作时间
  7173. type: string
  7174. operatorname:
  7175. description: 操作人名称
  7176. type: string
  7177. spotgoodsbrandid:
  7178. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7179. type: integer
  7180. spotgoodsprice:
  7181. description: 现货价格
  7182. type: number
  7183. tradedate:
  7184. description: 交易日(yyyyMMdd)
  7185. type: string
  7186. unitid:
  7187. description: 现货商品单位id
  7188. type: integer
  7189. wrstandardcode:
  7190. description: 品类代码
  7191. type: string
  7192. wrstandardid:
  7193. description: 现货品类ID(通用则为0)
  7194. type: integer
  7195. wrstandardname:
  7196. description: 品类名称
  7197. type: string
  7198. type: object
  7199. models.Ermcp3SubTaaccount:
  7200. properties:
  7201. accountid:
  7202. description: 资金账户ID
  7203. type: integer
  7204. parentaccountcode:
  7205. description: 所属根账号代码(母账号代码)
  7206. type: string
  7207. parentaccountid:
  7208. description: 所属根账号(母账号)
  7209. type: integer
  7210. taname:
  7211. description: 资金账号名称
  7212. type: string
  7213. tradestatus:
  7214. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7215. type: integer
  7216. username:
  7217. description: 交易用户
  7218. type: string
  7219. type: object
  7220. models.Ermcp3TaFutuReDataReport:
  7221. properties:
  7222. accountid:
  7223. description: 交易账户
  7224. type: integer
  7225. accountname:
  7226. description: 交易账号名称
  7227. type: string
  7228. agreeunit:
  7229. description: 商品合约单位
  7230. type: number
  7231. begindate:
  7232. description: 开始交易日
  7233. type: string
  7234. buyorsell:
  7235. description: 持仓方向
  7236. type: integer
  7237. charge:
  7238. description: 手续费
  7239. type: number
  7240. closeavgprice:
  7241. description: 平仓均价
  7242. type: number
  7243. closepl:
  7244. description: 平仓损益
  7245. type: number
  7246. currencyid:
  7247. description: 结算币种ID
  7248. type: integer
  7249. currencyname:
  7250. description: 币种名称
  7251. type: string
  7252. cycletime:
  7253. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7254. type: string
  7255. cycletype:
  7256. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7257. type: integer
  7258. enddate:
  7259. description: 结束交易日
  7260. type: string
  7261. enumdicname:
  7262. description: 单位名称
  7263. type: string
  7264. floatpl:
  7265. description: 浮动损益
  7266. type: number
  7267. goodscode:
  7268. description: 交易合约代码
  7269. type: string
  7270. goodsgroupid:
  7271. description: 交易品种
  7272. type: integer
  7273. goodsgroupname:
  7274. description: 交易品种名称
  7275. type: string
  7276. goodsgroupspotqty:
  7277. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7278. type: number
  7279. goodsid:
  7280. description: 交易合约
  7281. type: integer
  7282. goodsname:
  7283. description: 交易合约名称
  7284. type: string
  7285. goodunitid:
  7286. description: 交易合约单位id
  7287. type: integer
  7288. holdamount:
  7289. description: 期末持仓额
  7290. type: number
  7291. holdqty:
  7292. description: 期末持仓量
  7293. type: number
  7294. lastholdamount:
  7295. description: 当前持仓额
  7296. type: number
  7297. lastprice:
  7298. description: 最新价
  7299. type: number
  7300. middlegoodsid:
  7301. description: 套保品种id
  7302. type: integer
  7303. middlegoodsname:
  7304. description: 套保商品名称
  7305. type: string
  7306. middlegoodsqty:
  7307. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7308. type: number
  7309. middlgoodscode:
  7310. description: 套保商品代码
  7311. type: string
  7312. openamount:
  7313. description: 期末开仓额
  7314. type: number
  7315. openavgprice:
  7316. description: 开仓均价
  7317. type: number
  7318. oriholdamount:
  7319. description: 期初持仓额
  7320. type: number
  7321. oriholdqty:
  7322. description: 期初持仓量
  7323. type: number
  7324. oriopenamount:
  7325. description: 期初开仓额
  7326. type: number
  7327. outergroupcode:
  7328. description: 交易品种代码
  7329. type: string
  7330. qtydecimalplace:
  7331. description: 成交量小数位
  7332. type: integer
  7333. reckondate:
  7334. description: 日照时期(yyyyMMdd)
  7335. type: string
  7336. reckonholdamount:
  7337. description: 结算持仓额
  7338. type: number
  7339. reckonpl:
  7340. description: 结算损益
  7341. type: number
  7342. reckonpl2:
  7343. description: 结算逐笔盈亏
  7344. type: number
  7345. reckonprice:
  7346. description: 结算价
  7347. type: number
  7348. relateduserid:
  7349. description: 账户关联用户ID
  7350. type: integer
  7351. todaycloseamount:
  7352. description: 今平仓额
  7353. type: number
  7354. todaycloseqty:
  7355. description: 今平仓量
  7356. type: number
  7357. todaygoodsgroupspotqty:
  7358. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7359. type: number
  7360. todaymiddlegoodsqty:
  7361. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7362. type: number
  7363. todayopenamount:
  7364. description: 今开仓额
  7365. type: number
  7366. todayopenqty:
  7367. description: 今开仓量
  7368. type: number
  7369. userid:
  7370. description: 账户所属用户ID
  7371. type: integer
  7372. type: object
  7373. models.Ermcp3TradeLinkDetail:
  7374. properties:
  7375. accountid:
  7376. description: 资金账号
  7377. type: integer
  7378. agreeunit:
  7379. description: 合约乘数
  7380. type: number
  7381. areauserid:
  7382. description: 所属机构
  7383. type: string
  7384. bizsubjectid:
  7385. description: 归属业务部门ID - SubjectID
  7386. type: string
  7387. buyorsell:
  7388. description: 方向 - 0:买 1:卖
  7389. type: integer
  7390. channelbuildtype:
  7391. description: 委托单据类型 0:无 1:建仓 2:平仓
  7392. type: integer
  7393. contractno:
  7394. description: 现货编号 (合同编号)
  7395. type: string
  7396. convertratio:
  7397. description: 折算系数
  7398. type: number
  7399. createtime:
  7400. description: 关联时间 | 创建时间
  7401. type: string
  7402. creatorid:
  7403. description: 创建人ID
  7404. type: string
  7405. creatorsrc:
  7406. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7407. type: integer
  7408. enumdicname:
  7409. description: 单位名称
  7410. type: string
  7411. goodscode:
  7412. description: 合约代码
  7413. type: string
  7414. goodsgroupid:
  7415. description: 对冲品种ID[期货合约商品组ID]
  7416. type: integer
  7417. goodsid:
  7418. description: 商品ID
  7419. type: integer
  7420. goodsname:
  7421. description: 合约名称
  7422. type: string
  7423. hedgeflag:
  7424. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7425. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7426. type: integer
  7427. linkdetailid:
  7428. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7429. type: string
  7430. linkstatus:
  7431. description: 关联状态 - 1:成功 2:失败 3:解绑
  7432. type: integer
  7433. middlegoodscode:
  7434. description: 套保品种代码
  7435. type: string
  7436. middlegoodsid:
  7437. description: 套保品种ID
  7438. type: integer
  7439. middlegoodsname:
  7440. description: 套保品种名称
  7441. type: string
  7442. relatedlot:
  7443. description: 关联手数
  7444. type: number
  7445. relatedmode:
  7446. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7447. type: integer
  7448. relatedqty:
  7449. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7450. type: number
  7451. retcode:
  7452. description: 返回码
  7453. type: integer
  7454. saleuserid:
  7455. description: 业务员ID
  7456. type: string
  7457. spotcontractid:
  7458. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7459. type: string
  7460. taname:
  7461. description: 期货账户
  7462. type: string
  7463. tradedate:
  7464. description: 关联交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 期货订单号 | 内部成交单ID
  7468. type: string
  7469. tradelot:
  7470. description: 成交数量 | 成交手数
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradetime:
  7476. description: 期货成交时间
  7477. type: string
  7478. tradetradedate:
  7479. description: 成交交易日(yyyyMMdd)
  7480. type: string
  7481. username:
  7482. description: 用户名称
  7483. type: string
  7484. type: object
  7485. models.Ermcp3Wrstandard:
  7486. properties:
  7487. areauserid:
  7488. description: 所属机构
  7489. type: integer
  7490. cantrade:
  7491. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7492. type: integer
  7493. convertfactor:
  7494. description: 标仓系数
  7495. type: number
  7496. createtime:
  7497. description: 创建时间
  7498. type: string
  7499. creatorid:
  7500. description: 创建人
  7501. type: integer
  7502. deliverygoodsid:
  7503. description: 现货品种ID
  7504. type: integer
  7505. enumdicname:
  7506. description: 品类单位名称
  7507. type: string
  7508. isvalid:
  7509. description: 是否有效 0-无效(停用) 1-有效(正常)
  7510. type: integer
  7511. minivalue:
  7512. description: 最小变动值
  7513. type: integer
  7514. minivaluedp:
  7515. description: 最小变动值小数位
  7516. type: integer
  7517. realminivalue:
  7518. description: 实际最小变动值
  7519. type: integer
  7520. realminivaluedp:
  7521. description: 实际最小变动值小数位
  7522. type: integer
  7523. remark:
  7524. description: 备注
  7525. type: string
  7526. unitid:
  7527. description: 品类单位ID
  7528. type: integer
  7529. updatetime:
  7530. description: 更新时间
  7531. type: string
  7532. wrstandardcode:
  7533. description: 品类代码
  7534. type: string
  7535. wrstandardid:
  7536. description: 品类ID(SEQ_WRSTANDARD)
  7537. type: integer
  7538. wrstandardname:
  7539. description: 品类名称
  7540. type: string
  7541. type: object
  7542. models.Ermcp8HedgeditemReport:
  7543. properties:
  7544. areauserid:
  7545. description: 企业ID
  7546. type: integer
  7547. curprice:
  7548. description: '[当日现货市场价]当前市场价'
  7549. type: number
  7550. cycletime:
  7551. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  7552. 全(0)【原值】
  7553. type: string
  7554. cycletype:
  7555. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  7556. type: integer
  7557. enumdicname:
  7558. description: 单位
  7559. type: string
  7560. exeamount:
  7561. description: '[执行现货金额]执行市价总额'
  7562. type: number
  7563. exeavgprice:
  7564. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7565. type: number
  7566. exeqty:
  7567. description: '[执行数量]执行现货量'
  7568. type: number
  7569. futurehedgepl:
  7570. description: 期货实际损益
  7571. type: number
  7572. futurehedgeplchange:
  7573. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7574. type: number
  7575. futurepl:
  7576. description: 期货套期损益
  7577. type: number
  7578. futureplchange:
  7579. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7580. type: number
  7581. hedgeamount:
  7582. description: '[套期现货金额]套期市价总额'
  7583. type: number
  7584. hedgeditemnum:
  7585. description: 项目编号,模糊查询
  7586. type: string
  7587. hedgeditemstatus:
  7588. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7589. type: integer
  7590. hedgedtype:
  7591. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7592. type: integer
  7593. hedgeqty:
  7594. description: '[套期数量]套期现货量'
  7595. type: number
  7596. oriavgprice:
  7597. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7598. type: number
  7599. orifuturehedgepl:
  7600. description: 期初期货实际损益
  7601. type: number
  7602. orifuturepl:
  7603. description: 期初期货套期损益
  7604. type: number
  7605. orispothedgepl:
  7606. description: 期初现货实际损益
  7607. type: number
  7608. orispotpl:
  7609. description: 期初现货套期损益
  7610. type: number
  7611. planenddate:
  7612. description: 计划结束日期
  7613. type: string
  7614. planstartdate:
  7615. description: 计划开始日期
  7616. type: string
  7617. spothedgepl:
  7618. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7619. type: number
  7620. spothedgeplchange:
  7621. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7622. type: number
  7623. spotpl:
  7624. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7625. type: number
  7626. spotplchange:
  7627. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7628. type: number
  7629. tradeuserid:
  7630. description: 交易用户ID
  7631. type: integer
  7632. unexeqty:
  7633. description: 未执行现货量 = 套期现货量 - 执行现货量
  7634. type: number
  7635. userid:
  7636. description: 用户ID
  7637. type: integer
  7638. wrstandardcode:
  7639. description: 现货品类代码
  7640. type: string
  7641. wrstandardid:
  7642. description: 现货商品ID
  7643. type: integer
  7644. wrstandardname:
  7645. description: '[现货商品]现货品类名称'
  7646. type: string
  7647. required:
  7648. - cycletime
  7649. - cycletype
  7650. - userid
  7651. type: object
  7652. models.ErmcpBizGroupEx:
  7653. properties:
  7654. acclist:
  7655. description: 账号列表
  7656. items:
  7657. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7658. type: array
  7659. bizgroupid:
  7660. description: 业务分组id
  7661. type: integer
  7662. biztype:
  7663. description: 业务类型 1-套保 2-套利
  7664. type: integer
  7665. wrlist:
  7666. description: 现货商品表
  7667. items:
  7668. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7669. type: array
  7670. type: object
  7671. models.ErmcpBizGroupSpotGoods:
  7672. properties:
  7673. areauserid:
  7674. description: 所属机构id
  7675. type: integer
  7676. bizgroupid:
  7677. description: 分组id
  7678. type: integer
  7679. biztype:
  7680. description: 业务类型 1-套保 2-套利
  7681. type: integer
  7682. deliverygoodscode:
  7683. description: 现货商品代码
  7684. type: string
  7685. deliverygoodsid:
  7686. description: 现货商品id
  7687. type: integer
  7688. deliverygoodsname:
  7689. description: 现货商品名称
  7690. type: string
  7691. unitid:
  7692. description: 现货商品单位id
  7693. type: integer
  7694. type: object
  7695. models.ErmcpBizGroupTaAccount:
  7696. properties:
  7697. accountid:
  7698. description: 账号id
  7699. type: integer
  7700. accountname:
  7701. description: 账号名称
  7702. type: string
  7703. areauserid:
  7704. description: 所属机构id
  7705. type: integer
  7706. bizgroupid:
  7707. description: 业务分组id
  7708. type: integer
  7709. ismain:
  7710. description: 是否主账号 1-是 0-否
  7711. type: integer
  7712. type: object
  7713. models.ErmcpDGFactoryItem:
  7714. properties:
  7715. areauserid:
  7716. description: 用户id
  7717. type: integer
  7718. deliverygoodsid:
  7719. description: 现货品种ID
  7720. type: integer
  7721. dgfactoryitemid:
  7722. description: 选择项ID(SEQ_DGFACTORYITEM)
  7723. type: integer
  7724. dgfactoryitemtypeid:
  7725. description: 要素项类型
  7726. type: integer
  7727. dgfactoryitemvalue:
  7728. description: 要素项值(类型为仓库时填写仓库名称)
  7729. type: string
  7730. isvalid:
  7731. description: 是否有效 - 0:无效 1:有效
  7732. type: integer
  7733. orderindex:
  7734. description: 顺序
  7735. type: integer
  7736. warehouseid:
  7737. description: 仓库ID(类型为仓库时填写)
  7738. type: integer
  7739. type: object
  7740. models.ErmcpDeliveryGoods:
  7741. properties:
  7742. agreeunit:
  7743. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7744. type: integer
  7745. areauserid:
  7746. description: 所属机构
  7747. type: integer
  7748. auditflag:
  7749. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7750. type: integer
  7751. categoryid:
  7752. description: 类别ID(SEQ_WRCATEGORY)
  7753. type: integer
  7754. deliverygoodscode:
  7755. description: 现货品种代码
  7756. type: string
  7757. deliverygoodsid:
  7758. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7759. type: integer
  7760. deliverygoodsname:
  7761. description: 现货品种名称
  7762. type: string
  7763. deliverygoodstype:
  7764. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7765. type: integer
  7766. dgstatus:
  7767. description: 品种状态 - 作废 - 0:未激活 1:正常
  7768. type: integer
  7769. enumdicname:
  7770. description: 现货品种单位名称
  7771. type: string
  7772. goodsunitid:
  7773. description: 现货品种单位ID
  7774. type: integer
  7775. isvalid:
  7776. description: 是否有效 - 0:无效 1:有效
  7777. type: integer
  7778. qtydecimalplace:
  7779. description: 成交量小数位
  7780. type: integer
  7781. remark:
  7782. description: 备注
  7783. type: string
  7784. standardqty:
  7785. description: 标准数量(库位数量) [标准品特有]
  7786. type: integer
  7787. standardqtyrange:
  7788. description: 标准数量偏差范围 [标准品特有]
  7789. type: integer
  7790. type: object
  7791. models.ErmcpFuturesCompany:
  7792. properties:
  7793. brokerid:
  7794. description: 经纪公司代码
  7795. type: string
  7796. channeladdress:
  7797. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7798. type: string
  7799. channelid:
  7800. description: 对冲渠道ID
  7801. type: string
  7802. createtime:
  7803. description: 创建时间
  7804. type: string
  7805. creatorid:
  7806. description: 创建人
  7807. type: string
  7808. fcid:
  7809. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7810. type: integer
  7811. fcname:
  7812. description: 期货公司名称
  7813. type: string
  7814. isvalid:
  7815. description: 是否有效 - 0:无效 1:有效
  7816. type: integer
  7817. mhpaddress:
  7818. description: MHP服务地址(IP:Port)
  7819. type: string
  7820. riskrulegroupid:
  7821. description: 风控规则组ID
  7822. type: string
  7823. tradefeetmpid:
  7824. description: 手续费模板ID[TradeConfigTmpType为2]
  7825. type: string
  7826. trademargintmpid:
  7827. description: 保证金模板ID [TradeConfigTmpType为1]
  7828. type: string
  7829. traderatetmpid:
  7830. description: 汇率模板ID[TradeConfigTmpType为3]
  7831. type: string
  7832. updatetime:
  7833. description: 更新时间
  7834. type: string
  7835. updatorid:
  7836. description: 更新人
  7837. type: string
  7838. type: object
  7839. models.ErmcpGGConvertCfg:
  7840. properties:
  7841. convertratio:
  7842. description: 折算系数
  7843. type: number
  7844. destgoodsgroupid:
  7845. description: 目标品种ID
  7846. type: integer
  7847. dstcode:
  7848. description: 目录品种代码
  7849. type: string
  7850. dstexchangecode:
  7851. description: 目标期货交易所
  7852. type: string
  7853. dstname:
  7854. description: 目标品种名称
  7855. type: string
  7856. dstunitid:
  7857. description: 目标品种单位ID
  7858. type: integer
  7859. dstunitidname:
  7860. description: 目标品种单位名称
  7861. type: string
  7862. modifytime:
  7863. description: 修改时间
  7864. type: string
  7865. srccode:
  7866. description: 源品种代码
  7867. type: string
  7868. srcexchangecode:
  7869. description: 源期货交易所
  7870. type: string
  7871. srcgoodsgroupid:
  7872. description: 源品种ID
  7873. type: integer
  7874. srcname:
  7875. description: 源品种名称
  7876. type: string
  7877. srcunitid:
  7878. description: 源品种单位ID
  7879. type: integer
  7880. srcunitidname:
  7881. description: 源品种单位名称
  7882. type: string
  7883. type: object
  7884. models.ErmcpGoods:
  7885. properties:
  7886. agreeunit:
  7887. description: 合约单位
  7888. type: number
  7889. areauserid:
  7890. description: 所属机构
  7891. type: integer
  7892. auditaccountid:
  7893. description: 审核操作员账号
  7894. type: integer
  7895. audittime:
  7896. description: 审核时间
  7897. type: string
  7898. cancelaccountid:
  7899. description: 注销操作员账号
  7900. type: integer
  7901. canceltime:
  7902. description: 注销时间
  7903. type: string
  7904. closepricemode:
  7905. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7906. type: integer
  7907. closepriceparam:
  7908. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7909. type: number
  7910. createtime:
  7911. description: 创建时间
  7912. type: string
  7913. creatorid:
  7914. description: 创建人
  7915. type: integer
  7916. currencyid:
  7917. description: 报价货币ID
  7918. type: integer
  7919. cutmode:
  7920. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7921. type: integer
  7922. decimalplace:
  7923. description: 报价小数位
  7924. type: integer
  7925. delistingdate:
  7926. description: 商品退市时间(状态:退市) -- 已作废
  7927. type: string
  7928. delistingmode:
  7929. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7930. type: integer
  7931. deliveryflag:
  7932. description: 交割标志 - 0:不可交割 1:可交割
  7933. type: integer
  7934. enumdicname:
  7935. description: 单位名称
  7936. type: string
  7937. forceclosemode:
  7938. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7939. type: integer
  7940. forceclosevalue:
  7941. description: 定期强平参数 [收益权]
  7942. type: integer
  7943. goodscode:
  7944. description: 商品代码(内部)
  7945. type: string
  7946. goodscurrencyid:
  7947. description: 合约货币ID
  7948. type: integer
  7949. goodsgroupid:
  7950. description: 所属商品组ID
  7951. type: integer
  7952. goodsid:
  7953. description: 商品ID(自增ID SEQ_GOODS)
  7954. type: integer
  7955. goodsname:
  7956. description: 商品名称
  7957. type: string
  7958. goodsquotetype:
  7959. description: '合约报价类型: 1-直接报价 2-间接报价'
  7960. type: integer
  7961. goodsstatus:
  7962. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7963. type: integer
  7964. goodstradetype:
  7965. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7966. type: integer
  7967. goodunitid:
  7968. description: 报价单位ID
  7969. type: integer
  7970. hasquoter:
  7971. description: 是否有报价商 - 0:无报价商 1:有报价商
  7972. type: integer
  7973. hqprotecttime:
  7974. description: 行情保护时间(秒)
  7975. type: integer
  7976. innerdealmode:
  7977. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7978. type: integer
  7979. isbuylimited:
  7980. description: 是否限制建仓量 - 0:不限制 1:限制
  7981. type: integer
  7982. isvisible:
  7983. description: 游客是否可见 - 0:不可见 1:可见
  7984. type: integer
  7985. lasttradedate:
  7986. description: 最后交易日期(状态:待退市)
  7987. type: string
  7988. listingdate:
  7989. description: 交易开始日期
  7990. type: string
  7991. marketid:
  7992. description: 所属市场ID
  7993. type: integer
  7994. modifierid:
  7995. description: 修改人
  7996. type: integer
  7997. modifystatus:
  7998. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7999. type: integer
  8000. modifytime:
  8001. description: 修改时间
  8002. type: string
  8003. outerdealmode:
  8004. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8005. type: integer
  8006. outgoodscode:
  8007. description: 商品代码(外部)
  8008. type: string
  8009. pictureurl:
  8010. description: 商品图片
  8011. type: string
  8012. qtydecimalplace:
  8013. description: 成交量小数位
  8014. type: integer
  8015. quotegear:
  8016. description: 行情档位(1-10)
  8017. type: integer
  8018. quoteminunit:
  8019. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8020. type: integer
  8021. quoteshowtype:
  8022. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8023. type: integer
  8024. quoteshowtypeinterval:
  8025. description: 行情报价间隔时间(秒)(成交价时为0)
  8026. type: integer
  8027. relatedgoodsid:
  8028. description: 关联参考商品ID
  8029. type: integer
  8030. remark:
  8031. description: 备注
  8032. type: string
  8033. trademode:
  8034. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8035. 21:竞拍-大宗式 22:受托竞价
  8036. type: integer
  8037. required:
  8038. - goodscode
  8039. - goodsid
  8040. - goodsname
  8041. - marketid
  8042. type: object
  8043. models.ErmcpGoodsBrand:
  8044. properties:
  8045. areauserid:
  8046. description: 所属机构
  8047. type: integer
  8048. brandid:
  8049. description: BrandID(SEQ_SPOTGOODSBRAND)
  8050. type: integer
  8051. brandname:
  8052. description: 品牌名称
  8053. type: string
  8054. createtime:
  8055. description: 创建时间
  8056. type: string
  8057. creatorid:
  8058. description: 创建人
  8059. type: integer
  8060. creatorsrc:
  8061. description: 创建人来源 - 1:管理端 2:终端
  8062. type: integer
  8063. deliverygoodsid:
  8064. description: 现货品种ID
  8065. type: integer
  8066. isvalid:
  8067. description: 是否有效 - 0:无效 1:有效
  8068. type: integer
  8069. updatetime:
  8070. description: 更新时间
  8071. type: string
  8072. updatorid:
  8073. description: 更新人
  8074. type: integer
  8075. updatorsrc:
  8076. description: 更新人来源 - 1:管理端 2:终端
  8077. type: integer
  8078. wrstandardid:
  8079. description: 现货商品ID
  8080. type: integer
  8081. type: object
  8082. models.ErmcpGoodsModel:
  8083. properties:
  8084. areauserid:
  8085. description: 所属机构
  8086. type: integer
  8087. convertfactor:
  8088. description: 标仓系数
  8089. type: number
  8090. createtime:
  8091. description: 创建时间
  8092. type: string
  8093. creatorid:
  8094. description: 创建人
  8095. type: integer
  8096. creatorsrc:
  8097. description: 创建人来源 - 1:管理端 2:终端
  8098. type: integer
  8099. deliverygoodsid:
  8100. description: 现货品种ID
  8101. type: integer
  8102. isvalid:
  8103. description: 是否有效 - 0:无效 1:有效
  8104. type: integer
  8105. modelid:
  8106. description: ModelID(SEQ_SPOTGOODSMODEL)
  8107. type: integer
  8108. modelname:
  8109. description: 型号名称
  8110. type: string
  8111. updatetime:
  8112. description: 更新时间
  8113. type: string
  8114. updatorid:
  8115. description: 更新人
  8116. type: integer
  8117. updatorsrc:
  8118. description: 更新人来源 - 1:管理端 2:终端
  8119. type: integer
  8120. wrstandardid:
  8121. description: 现货商品ID
  8122. type: integer
  8123. type: object
  8124. models.ErmcpHisExposure:
  8125. properties:
  8126. needhedgeexposoure:
  8127. description: 应套保敞口
  8128. type: number
  8129. reckondate:
  8130. description: 日照时期(yyyyMMdd)
  8131. type: string
  8132. totalexposure:
  8133. description: 总敞口
  8134. type: number
  8135. type: object
  8136. models.ErmcpLoginTaAccount:
  8137. properties:
  8138. accountid:
  8139. description: 账号id
  8140. type: integer
  8141. accountname:
  8142. description: 账号名称
  8143. type: string
  8144. type: object
  8145. models.ErmcpLoginUser:
  8146. properties:
  8147. acclist:
  8148. description: 关联资金账号
  8149. items:
  8150. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8151. type: array
  8152. accountname:
  8153. description: 用户名称
  8154. type: string
  8155. clientroleid:
  8156. description: 角色id(usertype=2)
  8157. type: integer
  8158. createtime:
  8159. description: 创建时间
  8160. type: string
  8161. logincode:
  8162. description: 登录代码
  8163. type: string
  8164. loginid:
  8165. description: 登录id(LOGINID)
  8166. type: integer
  8167. loginname:
  8168. description: 登录名称(loginaccount表中的accountname字段)
  8169. type: string
  8170. loginstatus:
  8171. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8172. type: integer
  8173. memberuserid:
  8174. description: 所属会员id
  8175. type: integer
  8176. mobile:
  8177. description: 手机号
  8178. type: string
  8179. modifytime:
  8180. description: 修改时间
  8181. type: string
  8182. password:
  8183. description: 密码(不可解密)
  8184. type: string
  8185. rolename:
  8186. description: 角色名称
  8187. type: string
  8188. rolestatus:
  8189. description: 角色状态 1-启用 2-停用
  8190. type: integer
  8191. roletype:
  8192. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8193. type: string
  8194. userid:
  8195. description: 用户id
  8196. type: integer
  8197. usertype:
  8198. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8199. type: integer
  8200. type: object
  8201. models.ErmcpLoginUserEx:
  8202. properties:
  8203. accountstatus:
  8204. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8205. type: integer
  8206. mobile:
  8207. description: 手机号
  8208. type: string
  8209. querytype:
  8210. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8211. type: integer
  8212. roleid:
  8213. description: 角色id(交易账户->用户id)
  8214. type: integer
  8215. rolename:
  8216. description: 角色名称(交易账户->用户名称)
  8217. type: string
  8218. userlist:
  8219. description: 用户列表
  8220. items:
  8221. $ref: '#/definitions/models.ErmcpLoginUser'
  8222. type: array
  8223. usertype:
  8224. description: 用户类型 2-机构 7-企业成员(云平台)
  8225. type: integer
  8226. type: object
  8227. models.ErmcpMiddleGoodsModel:
  8228. properties:
  8229. areauserid:
  8230. description: 机构用户ID
  8231. type: integer
  8232. createtime:
  8233. description: 修改时间
  8234. type: string
  8235. enumdicname:
  8236. description: 单位名称
  8237. type: string
  8238. evaluateratio:
  8239. description: 估价系数
  8240. type: number
  8241. goodsgroupid:
  8242. description: 关联期货品种ID
  8243. type: integer
  8244. goodsunitid:
  8245. description: 单位ID
  8246. type: integer
  8247. isvalid:
  8248. description: 状态 0-无效(停用) 1-有效(正常)
  8249. type: integer
  8250. middlegoodscode:
  8251. description: 套保品种代码
  8252. type: string
  8253. middlegoodsid:
  8254. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8255. type: integer
  8256. middlegoodsname:
  8257. description: 套保品种名称
  8258. type: string
  8259. modifytime:
  8260. description: 修改时间
  8261. type: string
  8262. needarbitrageratio:
  8263. description: 套利比例
  8264. type: number
  8265. needhedgeratio:
  8266. description: 套保比率
  8267. type: number
  8268. qtydecimalplace:
  8269. description: 数量小数位
  8270. type: integer
  8271. relatedgoodsid:
  8272. description: 关联交易商品ID
  8273. type: integer
  8274. relatedgoodstype:
  8275. description: 关联商品类型 - 1:期货合约 2:现货品种
  8276. type: integer
  8277. remark:
  8278. description: 备注
  8279. type: string
  8280. type: object
  8281. models.ErmcpMiddlegoodsRelateGoods:
  8282. properties:
  8283. agreeunit:
  8284. description: 合约乘数
  8285. type: number
  8286. convertratio:
  8287. description: 折算系数
  8288. type: number
  8289. enumdicname:
  8290. description: 单位名称(交易商品)
  8291. type: string
  8292. goodscode:
  8293. description: 交易商品代码
  8294. type: string
  8295. goodsgroupid:
  8296. description: 交易品种id
  8297. type: integer
  8298. goodsid:
  8299. description: 商品Id
  8300. type: integer
  8301. goodsname:
  8302. description: 交易商品名称
  8303. type: string
  8304. goodunitid:
  8305. description: 交易商品单位id
  8306. type: integer
  8307. middlegoodsid:
  8308. description: 套保商品id
  8309. type: integer
  8310. middlegoodsname:
  8311. description: 套保商品名称
  8312. type: string
  8313. middlegoodsswcode:
  8314. description: 套保商品代码
  8315. type: string
  8316. needarbitrageratio:
  8317. description: 应套利比例
  8318. type: number
  8319. needhedgeratio:
  8320. description: 应套保比例
  8321. type: number
  8322. type: object
  8323. models.ErmcpRole:
  8324. properties:
  8325. areauserid:
  8326. description: 所属机构
  8327. type: integer
  8328. autoid:
  8329. description: 角色ID(自增ID)
  8330. type: integer
  8331. modifierid:
  8332. description: 修改人(创建人)
  8333. type: integer
  8334. modifiername:
  8335. description: 修改人名称
  8336. type: string
  8337. modifytime:
  8338. description: 修改时间(创建时间)
  8339. type: string
  8340. rolename:
  8341. description: 角色名称
  8342. type: string
  8343. rolestatus:
  8344. description: 角色状态 - 1:启用 2:停用
  8345. type: integer
  8346. roletype:
  8347. description: 角色类型 - 1- 管理端 2- 交易端
  8348. type: integer
  8349. type: object
  8350. models.ErmcpRoleMenu:
  8351. properties:
  8352. iconame:
  8353. description: 菜单图标
  8354. type: string
  8355. ishadrole:
  8356. description: 是否有权限
  8357. type: boolean
  8358. menutype:
  8359. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8360. type: integer
  8361. parentcode:
  8362. description: 上级资源代码
  8363. type: string
  8364. remark:
  8365. description: 菜单备注
  8366. type: string
  8367. resourcecode:
  8368. description: 菜单代码
  8369. type: string
  8370. resourcelevel:
  8371. description: 级别
  8372. type: integer
  8373. resourcename:
  8374. description: 菜单名称
  8375. type: string
  8376. roleid:
  8377. description: 角色id
  8378. type: integer
  8379. sort:
  8380. description: 排序
  8381. type: integer
  8382. url:
  8383. description: URL
  8384. type: string
  8385. userid:
  8386. description: 用户id
  8387. type: integer
  8388. type: object
  8389. models.ErmcpRoleMenuEx:
  8390. properties:
  8391. menu:
  8392. $ref: '#/definitions/models.ErmcpRoleMenu'
  8393. description: 父级菜单
  8394. subMenu:
  8395. description: 子级菜单
  8396. items:
  8397. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8398. type: array
  8399. type: object
  8400. models.ErmcpTaAccount:
  8401. properties:
  8402. accountid:
  8403. description: 账户id
  8404. type: integer
  8405. accountname:
  8406. description: 账户名称
  8407. type: string
  8408. currencyid:
  8409. description: 币种id
  8410. type: integer
  8411. hedgeaccountcode:
  8412. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8413. type: string
  8414. ismain:
  8415. description: 是否主账户 0-否 1-是
  8416. type: integer
  8417. parentaccountid:
  8418. description: 父账户id
  8419. type: integer
  8420. relateduserid:
  8421. description: 关联userid
  8422. type: integer
  8423. tradefeetmpid:
  8424. description: 手续费模板id
  8425. type: integer
  8426. tradefeetmpname:
  8427. description: 手续费模板名称
  8428. type: string
  8429. trademargintmpid:
  8430. description: 保证金模板id
  8431. type: integer
  8432. trademargintmpname:
  8433. description: 保证金模板名称
  8434. type: string
  8435. traderatetmpid:
  8436. description: 汇率模板id
  8437. type: integer
  8438. traderatetmpname:
  8439. description: 汇率模板名称
  8440. type: string
  8441. tradestatus:
  8442. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8443. type: integer
  8444. userid:
  8445. description: 用户id
  8446. type: integer
  8447. type: object
  8448. models.ErmcpTaAccountEx:
  8449. properties:
  8450. mainAcc:
  8451. $ref: '#/definitions/models.ErmcpTaAccountM'
  8452. description: 主账号
  8453. subacclist:
  8454. description: 子账号列表
  8455. items:
  8456. $ref: '#/definitions/models.ErmcpTaAccount'
  8457. type: array
  8458. type: object
  8459. models.ErmcpTaAccountInfo:
  8460. properties:
  8461. accountid:
  8462. description: 资金账户ID
  8463. type: integer
  8464. accountname:
  8465. description: 账户名称
  8466. type: string
  8467. balance:
  8468. description: 期初余额
  8469. type: number
  8470. capitalbalance:
  8471. description: 本金余额[外部子账户实际出入金余额]
  8472. type: number
  8473. closepl:
  8474. description: 今日平仓盈亏
  8475. type: number
  8476. creditdecrease:
  8477. description: 今日授信减少
  8478. type: number
  8479. creditincrease:
  8480. description: 今日授信增加
  8481. type: number
  8482. curdebt:
  8483. description: 期末欠款
  8484. type: number
  8485. currencyid:
  8486. description: 货币ID
  8487. type: integer
  8488. currentbalance:
  8489. description: 期末余额
  8490. type: number
  8491. freezecharge:
  8492. description: 手续费冻结
  8493. type: number
  8494. freezemargin:
  8495. description: 冻结保证金
  8496. type: number
  8497. fromaccountid:
  8498. description: 所属上级账户
  8499. type: integer
  8500. inamount:
  8501. description: 今日入金金额(包括三方入金)
  8502. type: number
  8503. ismain:
  8504. description: 是否母账号 0:不是母账户 1:是母账户
  8505. type: integer
  8506. mortgagecredit:
  8507. description: 授信金额
  8508. type: number
  8509. oridebt:
  8510. description: 期初欠款
  8511. type: number
  8512. orifreezecharge:
  8513. description: 期初手续费冻结
  8514. type: number
  8515. orifreezemargin:
  8516. description: 期初冻结保证金
  8517. type: number
  8518. orimortgagecredit:
  8519. description: 期初授信金额
  8520. type: number
  8521. oriothercredit:
  8522. description: 期初其它授信金额
  8523. type: number
  8524. oriotherfreezemargin:
  8525. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8526. type: number
  8527. orioutamountfreeze:
  8528. description: 期初出金冻结
  8529. type: number
  8530. oriusedmargin:
  8531. description: 期初占用保证金
  8532. type: number
  8533. othercredit:
  8534. description: 其它授信金额
  8535. type: number
  8536. othercreditdecrease:
  8537. description: 今日其它授信减少
  8538. type: number
  8539. othercreditincrease:
  8540. description: 今日其它授信增加
  8541. type: number
  8542. otherfreezemargin:
  8543. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8544. type: number
  8545. outamount:
  8546. description: 今日出金金额(包括三方出金)
  8547. type: number
  8548. outamountfreeze:
  8549. description: 出金冻结
  8550. type: number
  8551. outthreshold:
  8552. description: 出金阈值
  8553. type: number
  8554. parentaccountid:
  8555. description: 所属根账号
  8556. type: integer
  8557. paycharge:
  8558. description: 今日手续费支出
  8559. type: number
  8560. relateduserid:
  8561. description: 关联用户
  8562. type: integer
  8563. signstatus:
  8564. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8565. type: integer
  8566. sublevelpath:
  8567. description: 账号层级路径(逗号分隔,首尾加逗号)
  8568. type: string
  8569. taaccounttype:
  8570. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8571. type: integer
  8572. thirdinamount:
  8573. description: 今日三方入金
  8574. type: number
  8575. thirdoutamount:
  8576. description: 今日三方出金
  8577. type: number
  8578. tradestatus:
  8579. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8580. type: integer
  8581. transferamount:
  8582. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8583. type: number
  8584. usedmargin:
  8585. description: 占用保证金
  8586. type: number
  8587. userid:
  8588. description: 用户ID
  8589. type: integer
  8590. type: object
  8591. models.ErmcpTaAccountM:
  8592. properties:
  8593. accountid:
  8594. description: 账户id
  8595. type: integer
  8596. accountname:
  8597. description: 账户名称
  8598. type: string
  8599. currencyid:
  8600. description: 币种id
  8601. type: integer
  8602. fcid:
  8603. description: 期货公司id
  8604. type: integer
  8605. fcname:
  8606. description: 期货公司代码
  8607. type: string
  8608. hedgeaccountcode:
  8609. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8610. type: string
  8611. ismain:
  8612. description: 是否主账户 0-否 1-是
  8613. type: integer
  8614. parentaccountid:
  8615. description: 父账户id
  8616. type: integer
  8617. relateduserid:
  8618. description: 关联userid
  8619. type: integer
  8620. tradefeetmpid:
  8621. description: 手续费模板id
  8622. type: integer
  8623. tradefeetmpname:
  8624. description: 手续费模板名称
  8625. type: string
  8626. trademargintmpid:
  8627. description: 保证金模板id
  8628. type: integer
  8629. trademargintmpname:
  8630. description: 保证金模板名称
  8631. type: string
  8632. traderatetmpid:
  8633. description: 汇率模板id
  8634. type: integer
  8635. traderatetmpname:
  8636. description: 汇率模板名称
  8637. type: string
  8638. tradestatus:
  8639. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8640. type: integer
  8641. userid:
  8642. description: 用户id
  8643. type: integer
  8644. type: object
  8645. models.ErmcpTradeConfigTMP:
  8646. properties:
  8647. areauserid:
  8648. description: 所属机构
  8649. type: integer
  8650. basiccurrencyid:
  8651. description: 基本币种ID[汇率] - 目标币种
  8652. type: integer
  8653. mainaccountid:
  8654. description: 主账户ID
  8655. type: integer
  8656. modifierid:
  8657. description: 修改人
  8658. type: integer
  8659. remark:
  8660. description: 备注
  8661. type: string
  8662. tradeconfigtmpid:
  8663. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8664. type: integer
  8665. tradeconfigtmpname:
  8666. description: 交易配置模板名称
  8667. type: string
  8668. tradeconfigtmptype:
  8669. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8670. type: integer
  8671. updatetime:
  8672. description: 更新时间
  8673. type: string
  8674. type: object
  8675. models.Ermcpjrlinkpos:
  8676. properties:
  8677. areauserid:
  8678. description: 所属企业
  8679. type: integer
  8680. averageprice:
  8681. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8682. type: number
  8683. closepl:
  8684. description: 总平仓盈亏 [期货损益]
  8685. type: number
  8686. executeprice:
  8687. description: 执行价 - 1:期货单 为 0
  8688. type: integer
  8689. futurehedgeqty:
  8690. description: 期货套期量
  8691. type: number
  8692. goodsid:
  8693. description: 期货合约
  8694. type: integer
  8695. middlegoodscode:
  8696. description: 套保商品代码
  8697. type: string
  8698. middlegoodsname:
  8699. description: 套保商品名称
  8700. type: string
  8701. netqty:
  8702. description: 净头寸
  8703. type: number
  8704. optioncode:
  8705. description: 期权代码
  8706. type: string
  8707. ordertype:
  8708. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8709. type: integer
  8710. reckonpl:
  8711. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8712. type: number
  8713. spotcontractid:
  8714. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8715. type: string
  8716. todayfutureclosepl:
  8717. description: 今日平仓盈亏
  8718. type: number
  8719. totalbuyamount:
  8720. description: 买金额 [期货]
  8721. type: number
  8722. totalbuyholdamount:
  8723. description: 买持仓总金额[期货]
  8724. type: number
  8725. totalbuyqty:
  8726. description: 买数量
  8727. type: number
  8728. totalcharge:
  8729. description: 手续费
  8730. type: number
  8731. totalpremium:
  8732. description: 权利金 [期权]
  8733. type: number
  8734. totalsellamount:
  8735. description: 卖金额 [期货]
  8736. type: number
  8737. totalsellholdamount:
  8738. description: 卖持仓总金额[期货]
  8739. type: number
  8740. totalsellqty:
  8741. description: 卖数量
  8742. type: number
  8743. updatetime:
  8744. description: 更新时间
  8745. type: string
  8746. required:
  8747. - spotcontractid
  8748. type: object
  8749. models.Ermcppatradelinkdetail:
  8750. properties:
  8751. agreeunit:
  8752. description: 合约乘数
  8753. type: number
  8754. amount:
  8755. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  8756. type: number
  8757. areauserid:
  8758. description: 所属机构
  8759. type: integer
  8760. bizsubjectid:
  8761. description: 归属业务部门ID - SubjectID
  8762. type: integer
  8763. buyorsell:
  8764. description: 方向 - 0:买 1:卖
  8765. type: integer
  8766. convertratio:
  8767. description: 品种系数
  8768. type: number
  8769. createtime:
  8770. description: 创建时间
  8771. type: string
  8772. creatorid:
  8773. description: 创建人ID
  8774. type: integer
  8775. creatorsrc:
  8776. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8777. type: integer
  8778. goodsgroupid:
  8779. description: 对冲品种ID[期货合约商品组ID]
  8780. type: integer
  8781. goodsid:
  8782. description: 商品ID
  8783. type: integer
  8784. hedgeditemid:
  8785. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  8786. type: integer
  8787. hedgeflag:
  8788. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  8789. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  8790. type: integer
  8791. linkdetailid:
  8792. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  8793. type: string
  8794. linkstatus:
  8795. description: 关联状态 - 1:成功 2:失败 3:解绑
  8796. type: integer
  8797. middlegoodsid:
  8798. description: 套保品种ID
  8799. type: integer
  8800. name:
  8801. description: 账户名/子账户
  8802. type: string
  8803. optioncode:
  8804. description: '[期货合约]期权代码 [期权]'
  8805. type: string
  8806. ordertype:
  8807. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8808. type: integer
  8809. relatedlot:
  8810. description: '[数量]关联手数'
  8811. type: number
  8812. relatedmode:
  8813. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8814. type: integer
  8815. relatedqty:
  8816. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8817. type: number
  8818. retcode:
  8819. description: 返回码
  8820. type: integer
  8821. saleuserid:
  8822. description: 业务员ID
  8823. type: integer
  8824. tradedate:
  8825. description: 关联交易日(yyyyMMdd)
  8826. type: string
  8827. tradeid:
  8828. description: '[成交单号]内部成交单ID'
  8829. type: string
  8830. tradelot:
  8831. description: 成交手数
  8832. type: integer
  8833. tradeprice:
  8834. description: '[价格]成交价格'
  8835. type: number
  8836. tradetime:
  8837. description: 日期时间
  8838. type: string
  8839. tradetradedate:
  8840. description: 成交交易日(yyyyMMdd)
  8841. type: string
  8842. required:
  8843. - hedgeditemid
  8844. type: object
  8845. models.Externalexchange:
  8846. properties:
  8847. autoid:
  8848. description: AutoID - SEQ_EXTERNALEXCHANGE
  8849. type: integer
  8850. exchangefullname:
  8851. description: 外部交易所全称
  8852. type: string
  8853. exexchangecode:
  8854. description: 外部交易所代码
  8855. type: string
  8856. exexchangename:
  8857. description: 外部交易所名称(简称)
  8858. type: string
  8859. ismarketprice:
  8860. description: 是否支持市价 - 0:不支持 1:支持
  8861. type: integer
  8862. quotegear:
  8863. description: 行情档位(1-10)
  8864. type: integer
  8865. showbrokerflag:
  8866. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8867. type: integer
  8868. updatetime:
  8869. description: 更新时间
  8870. type: string
  8871. required:
  8872. - autoid
  8873. type: object
  8874. models.Funcmenulist:
  8875. properties:
  8876. iconame:
  8877. description: 菜单图标
  8878. type: string
  8879. menutype:
  8880. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8881. type: integer
  8882. parentcode:
  8883. description: 上级资源代码
  8884. type: string
  8885. remark:
  8886. description: 备注
  8887. type: string
  8888. resourcecode:
  8889. description: 资源代码
  8890. type: string
  8891. resourcelevel:
  8892. description: 级别 1-一级 2-二级 3-三级 4-四级
  8893. type: integer
  8894. resourcename:
  8895. description: 资源名
  8896. type: string
  8897. sort:
  8898. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8899. type: integer
  8900. url:
  8901. description: URL
  8902. type: string
  8903. required:
  8904. - resourcecode
  8905. type: object
  8906. models.Goods:
  8907. properties:
  8908. agreeunit:
  8909. description: 合约单位
  8910. type: number
  8911. areauserid:
  8912. description: 所属机构
  8913. type: integer
  8914. auditaccountid:
  8915. description: 审核操作员账号
  8916. type: integer
  8917. audittime:
  8918. description: 审核时间
  8919. type: string
  8920. cancelaccountid:
  8921. description: 注销操作员账号
  8922. type: integer
  8923. canceltime:
  8924. description: 注销时间
  8925. type: string
  8926. closepricemode:
  8927. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8928. type: integer
  8929. closepriceparam:
  8930. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8931. type: number
  8932. createtime:
  8933. description: 创建时间
  8934. type: string
  8935. creatorid:
  8936. description: 创建人
  8937. type: integer
  8938. currencyid:
  8939. description: 报价货币ID
  8940. type: integer
  8941. cutmode:
  8942. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8943. type: integer
  8944. decimalplace:
  8945. description: 报价小数位
  8946. type: integer
  8947. delistingdate:
  8948. description: 商品退市时间(状态:退市) -- 已作废
  8949. type: string
  8950. delistingmode:
  8951. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8952. type: integer
  8953. deliveryflag:
  8954. description: 交割标志 - 0:不可交割 1:可交割
  8955. type: integer
  8956. forceclosemode:
  8957. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8958. type: integer
  8959. forceclosevalue:
  8960. description: 定期强平参数 [收益权]
  8961. type: integer
  8962. goodscode:
  8963. description: 商品代码(内部)
  8964. type: string
  8965. goodscurrencyid:
  8966. description: 合约货币ID
  8967. type: integer
  8968. goodsgroupid:
  8969. description: 所属商品组ID
  8970. type: integer
  8971. goodsid:
  8972. description: 商品ID(自增ID SEQ_GOODS)
  8973. type: integer
  8974. goodsname:
  8975. description: 商品名称
  8976. type: string
  8977. goodsquotetype:
  8978. description: '合约报价类型: 1-直接报价 2-间接报价'
  8979. type: integer
  8980. goodsstatus:
  8981. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8982. type: integer
  8983. goodstradetype:
  8984. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8985. type: integer
  8986. goodunitid:
  8987. description: 报价单位ID
  8988. type: integer
  8989. hasquoter:
  8990. description: 是否有报价商 - 0:无报价商 1:有报价商
  8991. type: integer
  8992. hqprotecttime:
  8993. description: 行情保护时间(秒)
  8994. type: integer
  8995. innerdealmode:
  8996. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8997. type: integer
  8998. isbuylimited:
  8999. description: 是否限制建仓量 - 0:不限制 1:限制
  9000. type: integer
  9001. isvisible:
  9002. description: 游客是否可见 - 0:不可见 1:可见
  9003. type: integer
  9004. lasttradedate:
  9005. description: 最后交易日期(状态:待退市)
  9006. type: string
  9007. listingdate:
  9008. description: 交易开始日期
  9009. type: string
  9010. marketid:
  9011. description: 所属市场ID
  9012. type: integer
  9013. modifierid:
  9014. description: 修改人
  9015. type: integer
  9016. modifystatus:
  9017. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9018. type: integer
  9019. modifytime:
  9020. description: 修改时间
  9021. type: string
  9022. outerdealmode:
  9023. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9024. type: integer
  9025. outgoodscode:
  9026. description: 商品代码(外部)
  9027. type: string
  9028. pictureurl:
  9029. description: 商品图片
  9030. type: string
  9031. qtydecimalplace:
  9032. description: 成交量小数位
  9033. type: integer
  9034. quotegear:
  9035. description: 行情档位(1-10)
  9036. type: integer
  9037. quoteminunit:
  9038. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9039. type: integer
  9040. quoteshowtype:
  9041. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9042. type: integer
  9043. quoteshowtypeinterval:
  9044. description: 行情报价间隔时间(秒)(成交价时为0)
  9045. type: integer
  9046. remark:
  9047. description: 备注
  9048. type: string
  9049. required:
  9050. - goodscode
  9051. - goodsid
  9052. - goodsname
  9053. - marketid
  9054. type: object
  9055. models.GoodsIDAndName:
  9056. properties:
  9057. goodscode:
  9058. description: 商品代码(内部)
  9059. type: string
  9060. goodsid:
  9061. description: 商品ID(自增ID SEQ_GOODS)
  9062. type: integer
  9063. goodsname:
  9064. description: 商品名称
  9065. type: string
  9066. marketid:
  9067. description: 所属市场ID
  9068. type: integer
  9069. required:
  9070. - goodscode
  9071. - goodsid
  9072. - goodsname
  9073. - marketid
  9074. type: object
  9075. models.Goodsgroup:
  9076. properties:
  9077. agreeunit:
  9078. description: 合约单位
  9079. type: number
  9080. canshort:
  9081. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9082. type: integer
  9083. closepricemode:
  9084. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9085. type: integer
  9086. closepriceparam:
  9087. description: 强平最新价浮动比例 - 方式为2时使用
  9088. type: number
  9089. createtime:
  9090. description: 创建时间
  9091. type: string
  9092. creatorid:
  9093. description: 创建人
  9094. type: integer
  9095. currencyid:
  9096. description: 报价货币ID
  9097. type: integer
  9098. decimalplace:
  9099. description: 报价小数位
  9100. type: integer
  9101. exercisetype:
  9102. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9103. type: integer
  9104. exexchangeid:
  9105. description: 外部交易所ID[通道交易]
  9106. type: integer
  9107. goodsgroupid:
  9108. description: 商品组ID(自增ID)
  9109. type: integer
  9110. goodsgroupname:
  9111. description: 商品组名称
  9112. type: string
  9113. goodsgroupstatus:
  9114. description: 商品组状态 - 1:正常 2:注销
  9115. type: integer
  9116. goodunitid:
  9117. description: 报价单位ID
  9118. type: integer
  9119. innerdealmode:
  9120. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9121. type: integer
  9122. isbuylimited:
  9123. description: 是否限制建仓量 - 0:不限制 1:限制
  9124. type: integer
  9125. marketid:
  9126. description: 所属市场ID
  9127. type: integer
  9128. modifierid:
  9129. description: 修改人
  9130. type: integer
  9131. modifytime:
  9132. description: 修改时间
  9133. type: string
  9134. outerdealmode:
  9135. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9136. type: integer
  9137. outergroupcode:
  9138. description: 外部商品组代码[通道交易]
  9139. type: string
  9140. premiumdecimalplace:
  9141. description: 权利金小数位[场外期权]
  9142. type: integer
  9143. premiumspreadalgorithm:
  9144. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9145. type: integer
  9146. premiumspreadvalue:
  9147. description: 权利金点差值[场外期权]
  9148. type: number
  9149. qtydecimalplace:
  9150. description: 成交量小数位
  9151. type: integer
  9152. quotegear:
  9153. description: 行情档位(1-10)
  9154. type: integer
  9155. quoteminunit:
  9156. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9157. type: integer
  9158. quoterid:
  9159. description: 报价商ID[场外期权]
  9160. type: integer
  9161. quotesourcegroupid:
  9162. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9163. type: integer
  9164. syncgoodsqty:
  9165. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9166. type: integer
  9167. required:
  9168. - goodsgroupid
  9169. - goodsgroupname
  9170. - goodsgroupstatus
  9171. - marketid
  9172. type: object
  9173. models.Goodssortbypreposition:
  9174. properties:
  9175. goodscode:
  9176. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9177. type: string
  9178. goodsgroupcode:
  9179. description: 品种代码
  9180. type: string
  9181. prepositionqty:
  9182. description: 昨持仓量
  9183. type: integer
  9184. sortindex:
  9185. description: 排序
  9186. type: integer
  9187. tradedate:
  9188. description: 交易日
  9189. type: string
  9190. updatetime:
  9191. description: 更新时间
  9192. type: string
  9193. required:
  9194. - goodscode
  9195. - tradedate
  9196. type: object
  9197. models.Hedgeinnerholderdetail:
  9198. properties:
  9199. accountid:
  9200. description: 账号ID
  9201. type: integer
  9202. buyorsell:
  9203. description: 方向 - 0:买 1:卖
  9204. type: integer
  9205. freezeqty:
  9206. description: 冻结数量 - 按单平使用
  9207. type: integer
  9208. goodsid:
  9209. description: 商品ID
  9210. type: integer
  9211. holderamount:
  9212. description: 持仓金额 [商品币种]
  9213. type: number
  9214. holderdays:
  9215. description: 剩余冻结天数
  9216. type: integer
  9217. holderprice:
  9218. description: 持仓价格
  9219. type: number
  9220. holderqty:
  9221. description: 持仓数量
  9222. type: integer
  9223. marketid:
  9224. description: 市场ID
  9225. type: integer
  9226. openprice:
  9227. description: 建仓价格
  9228. type: number
  9229. openqty:
  9230. description: 建仓数量
  9231. type: integer
  9232. parentaccountid:
  9233. description: 所属母账户
  9234. type: integer
  9235. releaseamount:
  9236. description: 释放持仓金额[商品币种]
  9237. type: number
  9238. tradeamount:
  9239. description: 成交金额[账户]
  9240. type: number
  9241. tradedate:
  9242. description: 交易日(yyyyMMdd)
  9243. type: string
  9244. tradeid:
  9245. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9246. type: string
  9247. tradetime:
  9248. description: 交易时间
  9249. type: string
  9250. required:
  9251. - buyorsell
  9252. - tradeid
  9253. type: object
  9254. models.Hedgemarketopenlog:
  9255. properties:
  9256. accountid:
  9257. description: 资金账号[外部母账户]
  9258. type: integer
  9259. fcname:
  9260. description: 期货公司名称
  9261. type: string
  9262. handlestatus:
  9263. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9264. type: integer
  9265. marketid:
  9266. description: 市场ID
  9267. type: integer
  9268. status:
  9269. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9270. type: integer
  9271. tradedate:
  9272. description: 交易日(yyyyMMdd)
  9273. type: string
  9274. updatetime:
  9275. description: 更新时间
  9276. type: string
  9277. required:
  9278. - accountid
  9279. type: object
  9280. models.HsbyBuyMyPayOrder:
  9281. properties:
  9282. agreeunit:
  9283. description: 合约单位
  9284. type: number
  9285. buyaccountid:
  9286. description: 买方账号ID[报价币种]
  9287. type: integer
  9288. buyorderid:
  9289. description: 买方委托单号
  9290. type: string
  9291. createtime:
  9292. description: 创建时间
  9293. type: string
  9294. currencysign:
  9295. description: 货币符号
  9296. type: string
  9297. decimalplace:
  9298. description: 报价小数位
  9299. type: integer
  9300. goodscode:
  9301. description: 商品代码(内部)
  9302. type: string
  9303. goodsid:
  9304. description: 商品ID
  9305. type: integer
  9306. goodsname:
  9307. description: 商品名称
  9308. type: string
  9309. marketid:
  9310. description: 市场ID
  9311. type: integer
  9312. offamount:
  9313. description: 优惠金额
  9314. type: number
  9315. originalamount:
  9316. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9317. type: number
  9318. payamount:
  9319. description: 支付金额 = TradeAmount + TradeCharge
  9320. type: number
  9321. payflag:
  9322. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9323. type: integer
  9324. paylimitedtime:
  9325. description: 支付期限
  9326. type: string
  9327. paytime:
  9328. description: 付款时间
  9329. type: string
  9330. picurls1:
  9331. description: 预售商品介绍图片[多张用逗号分隔]
  9332. type: string
  9333. picurls2:
  9334. description: 挂牌商品介绍图片[多张用逗号分隔]
  9335. type: string
  9336. sellaccountid:
  9337. description: 卖方账号ID[报价币种]
  9338. type: integer
  9339. sellorderid:
  9340. description: 卖方委托单号
  9341. type: string
  9342. tradeamount:
  9343. description: 成交金额
  9344. type: number
  9345. tradecharge:
  9346. description: 成交手续费(买方)
  9347. type: number
  9348. tradedate:
  9349. description: 交易日(yyyyMMdd)
  9350. type: string
  9351. tradeid:
  9352. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9353. type: string
  9354. trademode:
  9355. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9356. 21:竞拍-大宗式 22:受托竞价
  9357. type: integer
  9358. tradeprice:
  9359. description: 成交价格
  9360. type: number
  9361. tradeqty:
  9362. description: 成交数量
  9363. type: integer
  9364. vendorname1:
  9365. description: 预售商品供应商名称
  9366. type: string
  9367. vendorname2:
  9368. description: 挂牌商品供应商名称
  9369. type: string
  9370. required:
  9371. - goodscode
  9372. - goodsname
  9373. - tradeid
  9374. - trademode
  9375. type: object
  9376. models.HsbyBuyMyTradeDetail:
  9377. properties:
  9378. accountid:
  9379. description: 账户ID[报价币种]
  9380. type: integer
  9381. agreeunit:
  9382. description: 合约单位
  9383. type: number
  9384. amount:
  9385. description: 金额 = 价格 * 数量 * 合约单位
  9386. type: number
  9387. buyorsell:
  9388. description: 买卖 - 0:买 1:卖
  9389. type: integer
  9390. currencysign:
  9391. description: 货币符号
  9392. type: string
  9393. decimalplace:
  9394. description: 报价小数位
  9395. type: integer
  9396. goodscode:
  9397. description: 商品代码(内部)
  9398. type: string
  9399. goodsid:
  9400. description: 商品ID
  9401. type: integer
  9402. goodsname:
  9403. description: 商品名称
  9404. type: string
  9405. marketid:
  9406. description: 市场ID
  9407. type: integer
  9408. orderamount:
  9409. description: 委托金额
  9410. type: number
  9411. orderid:
  9412. description: 单号(成交单号)
  9413. type: string
  9414. picurls1:
  9415. description: 预售商品介绍图片[多张用逗号分隔]
  9416. type: string
  9417. picurls2:
  9418. description: 挂牌商品介绍图片[多张用逗号分隔]
  9419. type: string
  9420. price:
  9421. description: 价格
  9422. type: number
  9423. qty:
  9424. description: 数量
  9425. type: integer
  9426. time:
  9427. description: 时间
  9428. type: string
  9429. trademode:
  9430. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9431. 21:竞拍-大宗式 22:受托竞价
  9432. type: integer
  9433. vendorname1:
  9434. description: 预售商品供应商名称
  9435. type: string
  9436. vendorname2:
  9437. description: 挂牌商品供应商名称
  9438. type: string
  9439. required:
  9440. - accountid
  9441. - buyorsell
  9442. - goodscode
  9443. - goodsid
  9444. - goodsname
  9445. - marketid
  9446. - orderid
  9447. - qty
  9448. - time
  9449. - trademode
  9450. type: object
  9451. models.HsbyGoodsOrderDetail:
  9452. properties:
  9453. buyorsell:
  9454. description: 买卖 - 0:买 1:卖
  9455. type: integer
  9456. currencysign:
  9457. description: 货币符号
  9458. type: string
  9459. customername:
  9460. description: 客户名称(企业名称),已脱敏
  9461. type: string
  9462. enableqty:
  9463. description: 可用数量
  9464. type: integer
  9465. goodunit:
  9466. description: 报价单位
  9467. type: string
  9468. orderid:
  9469. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9470. type: string
  9471. orderprice:
  9472. description: 委托价格
  9473. type: number
  9474. ordertime:
  9475. description: 委托时间
  9476. type: string
  9477. required:
  9478. - buyorsell
  9479. - orderid
  9480. - ordertime
  9481. type: object
  9482. models.HsbyListingGoodsDetail:
  9483. properties:
  9484. agreeunit:
  9485. description: 合约单位
  9486. type: number
  9487. buymaxqty:
  9488. description: 购买上限 [71] - 0为不限
  9489. type: integer
  9490. currency:
  9491. description: 货币
  9492. type: string
  9493. currencysign:
  9494. description: 货币符号
  9495. type: string
  9496. decimalplace:
  9497. description: 报价小数位
  9498. type: integer
  9499. desccityid:
  9500. description: 目的地(市)ID
  9501. type: integer
  9502. descprovinceid:
  9503. description: 目的地(省)ID
  9504. type: integer
  9505. goodscode:
  9506. description: 商品代码(内部)
  9507. type: string
  9508. goodsdesc:
  9509. description: 商品详情
  9510. type: string
  9511. goodsid:
  9512. description: 商品ID(自增ID SEQ_GOODS)
  9513. type: integer
  9514. goodsname:
  9515. description: 商品名称
  9516. type: string
  9517. goodsprice:
  9518. description: 商品价格
  9519. type: number
  9520. hotindex:
  9521. description: 景点热度
  9522. type: integer
  9523. last:
  9524. description: 现价
  9525. type: number
  9526. limitdown:
  9527. description: 跌停价
  9528. type: number
  9529. limitup:
  9530. description: 涨停价
  9531. type: number
  9532. lotsize:
  9533. description: 手数最小变动单位
  9534. type: integer
  9535. marketid:
  9536. description: 所属市场ID
  9537. type: integer
  9538. picurls:
  9539. description: 介绍图片[多张用逗号分隔]
  9540. type: string
  9541. quoteminunit:
  9542. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9543. type: integer
  9544. stepvalue:
  9545. description: 价格最小变动单位
  9546. type: number
  9547. trademode:
  9548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9549. 21:竞拍-大宗式 22:受托竞价
  9550. type: integer
  9551. vendorattr:
  9552. description: 供应商附件(多张,逗号分隔)
  9553. type: string
  9554. vendorname:
  9555. description: 供应商名称
  9556. type: string
  9557. vendorphone:
  9558. description: 供应商客服电话
  9559. type: string
  9560. videourls:
  9561. description: 介绍视频[多张用逗号分隔]
  9562. type: string
  9563. required:
  9564. - goodscode
  9565. - goodsid
  9566. - goodsname
  9567. - marketid
  9568. - trademode
  9569. type: object
  9570. models.HsbyMarketGoods:
  9571. properties:
  9572. accountid:
  9573. description: 账户ID[报价币种]
  9574. type: integer
  9575. agreeunit:
  9576. description: 合约单位
  9577. type: number
  9578. buyorsell:
  9579. description: 买卖 - 0:买 1:卖
  9580. type: integer
  9581. categoryid:
  9582. description: 类别ID(WRCATEGORY)
  9583. type: integer
  9584. currency:
  9585. description: 货币
  9586. type: string
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. customername:
  9591. description: 卖家名称
  9592. type: string
  9593. decimalplace:
  9594. description: 报价小数位
  9595. type: integer
  9596. goodscode:
  9597. description: 商品代码(内部)
  9598. type: string
  9599. goodsid:
  9600. description: 商品ID
  9601. type: integer
  9602. goodsname:
  9603. description: 商品名称
  9604. type: string
  9605. goodsprice:
  9606. description: 商品价格
  9607. type: number
  9608. hascoupon:
  9609. description: 是否可用优惠卷
  9610. type: boolean
  9611. hotindex:
  9612. description: 景点热度
  9613. type: integer
  9614. marketid:
  9615. description: 市场ID
  9616. type: integer
  9617. orderid:
  9618. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9619. type: string
  9620. orderprice:
  9621. description: 委托价格
  9622. type: number
  9623. orderstatus:
  9624. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9625. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9626. 16:成交失败违约(荷兰式竞拍专用)
  9627. type: integer
  9628. picurls:
  9629. description: 介绍图片[多张用逗号分隔]
  9630. type: string
  9631. quoteminunit:
  9632. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9633. type: integer
  9634. sellUserID:
  9635. description: 卖方UserID
  9636. type: integer
  9637. trademode:
  9638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9639. 21:竞拍-大宗式 22:受托竞价
  9640. type: integer
  9641. videourls:
  9642. description: 介绍视频[多张用逗号分隔]
  9643. type: string
  9644. required:
  9645. - accountid
  9646. - buyorsell
  9647. - goodscode
  9648. - goodsid
  9649. - goodsname
  9650. - marketid
  9651. - orderid
  9652. - trademode
  9653. type: object
  9654. models.HsbyMarketGoodsDetail:
  9655. properties:
  9656. accountid:
  9657. description: 账户ID[报价币种]
  9658. type: integer
  9659. agreeunit:
  9660. description: 合约单位
  9661. type: number
  9662. buymaxqty:
  9663. description: 购买上限 [71] - 0为不限
  9664. type: integer
  9665. buyorsell:
  9666. description: 买卖 - 0:买 1:卖
  9667. type: integer
  9668. cancelqty:
  9669. description: 撤单数量
  9670. type: integer
  9671. categoryid:
  9672. description: 类别ID(WRCATEGORY)
  9673. type: integer
  9674. currency:
  9675. description: 货币
  9676. type: string
  9677. currencysign:
  9678. description: 货币符号
  9679. type: string
  9680. customername:
  9681. description: 卖家名称
  9682. type: string
  9683. decimalplace:
  9684. description: 报价小数位
  9685. type: integer
  9686. goodscode:
  9687. description: 商品代码(内部)
  9688. type: string
  9689. goodsdesc:
  9690. description: 商品详情
  9691. type: string
  9692. goodsid:
  9693. description: 商品ID
  9694. type: integer
  9695. goodsname:
  9696. description: 商品名称
  9697. type: string
  9698. goodsprice:
  9699. description: 商品价格
  9700. type: number
  9701. hotindex:
  9702. description: 景点热度
  9703. type: integer
  9704. lotsize:
  9705. description: 手数最小变动单位
  9706. type: integer
  9707. marketid:
  9708. description: 市场ID
  9709. type: integer
  9710. orderid:
  9711. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9712. type: string
  9713. orderprice:
  9714. description: 委托价格
  9715. type: number
  9716. orderqty:
  9717. description: 委托数量
  9718. type: integer
  9719. orderstatus:
  9720. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9721. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9722. 16:成交失败违约(荷兰式竞拍专用)
  9723. type: integer
  9724. picurls:
  9725. description: 介绍图片[多张用逗号分隔]
  9726. type: string
  9727. quoteminunit:
  9728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9729. type: integer
  9730. sellUserID:
  9731. description: 卖方UserID
  9732. type: integer
  9733. trademode:
  9734. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9735. 21:竞拍-大宗式 22:受托竞价
  9736. type: integer
  9737. tradeqty:
  9738. description: 成交数量
  9739. type: integer
  9740. vendorattr:
  9741. description: 供应商附件(多张,逗号分隔)
  9742. type: string
  9743. vendorname:
  9744. description: 供应商名称
  9745. type: string
  9746. vendorphone:
  9747. description: 供应商客服电话
  9748. type: string
  9749. videourls:
  9750. description: 介绍视频[多张用逗号分隔]
  9751. type: string
  9752. required:
  9753. - accountid
  9754. - buyorsell
  9755. - goodscode
  9756. - goodsid
  9757. - goodsname
  9758. - marketid
  9759. - orderid
  9760. - orderqty
  9761. - trademode
  9762. type: object
  9763. models.HsbyMarketInfo:
  9764. properties:
  9765. marketid:
  9766. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9767. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9768. type: integer
  9769. marketname:
  9770. description: 市场名称
  9771. type: string
  9772. marketstatus:
  9773. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9774. type: integer
  9775. trademode:
  9776. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9777. 21:竞拍-大宗式 22:受托竞价
  9778. type: integer
  9779. required:
  9780. - marketid
  9781. - marketstatus
  9782. - trademode
  9783. type: object
  9784. models.HsbyMyGoods:
  9785. properties:
  9786. accountid:
  9787. description: 账号Id
  9788. type: integer
  9789. agreeunit:
  9790. description: 合约单位
  9791. type: number
  9792. buyaverageprice:
  9793. description: 持仓均价
  9794. type: number
  9795. buycurholderamount:
  9796. description: 买当前持仓总金额[商品币种]
  9797. type: number
  9798. buycurpositionqty:
  9799. description: 买当前持仓总数量
  9800. type: integer
  9801. buymaxqty:
  9802. description: 购买上限 [71] - 0为不限
  9803. type: integer
  9804. currencysign:
  9805. description: 货币符号
  9806. type: string
  9807. decimalplace:
  9808. description: 报价小数位
  9809. type: integer
  9810. enableqty:
  9811. description: 可用数量
  9812. type: integer
  9813. goodscode:
  9814. description: 商品代码(内部)
  9815. type: string
  9816. goodsid:
  9817. description: 商品Id
  9818. type: integer
  9819. goodsname:
  9820. description: 商品名称
  9821. type: string
  9822. goodsprice:
  9823. description: 商品价格
  9824. type: number
  9825. goodsstatus:
  9826. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9827. type: integer
  9828. last:
  9829. description: 现价(仅使用于挂牌点选)
  9830. type: number
  9831. limitdown:
  9832. description: 跌停价(仅使用于挂牌点选)
  9833. type: number
  9834. limitup:
  9835. description: 涨停价(仅使用于挂牌点选)
  9836. type: number
  9837. lotsize:
  9838. description: 手数最小变动单位
  9839. type: integer
  9840. marketid:
  9841. description: 所属市场ID
  9842. type: integer
  9843. picurls:
  9844. description: 介绍图片[多张用逗号分隔]
  9845. type: string
  9846. quoteminunit:
  9847. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9848. type: integer
  9849. stepvalue:
  9850. description: 价格最小变动单位
  9851. type: number
  9852. trademode:
  9853. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9854. 21:竞拍-大宗式 22:受托竞价
  9855. type: integer
  9856. required:
  9857. - accountid
  9858. - goodscode
  9859. - goodsid
  9860. - goodsname
  9861. - marketid
  9862. - trademode
  9863. type: object
  9864. models.HsbyMyPackage:
  9865. properties:
  9866. accountid:
  9867. description: 账户ID
  9868. type: integer
  9869. address:
  9870. description: 提货人详细地址
  9871. type: string
  9872. agreeunit:
  9873. description: 合约单位
  9874. type: number
  9875. amount:
  9876. description: 提货金额
  9877. type: number
  9878. auditer:
  9879. description: 审核人
  9880. type: integer
  9881. audittime:
  9882. description: 审核时间
  9883. type: string
  9884. averageprice:
  9885. description: 均价
  9886. type: number
  9887. cardnum:
  9888. description: 提货人证件号码
  9889. type: string
  9890. cardtypeid:
  9891. description: 提货人证件类型
  9892. type: integer
  9893. checkremark:
  9894. description: 审核备注
  9895. type: string
  9896. currencysign:
  9897. description: 货币符号
  9898. type: string
  9899. decimalplace:
  9900. description: 报价小数位
  9901. type: integer
  9902. goodscode:
  9903. description: 商品代码(内部)
  9904. type: string
  9905. goodsid:
  9906. description: 商品ID
  9907. type: integer
  9908. goodsname:
  9909. description: 商品名称
  9910. type: string
  9911. handlestatus:
  9912. description: 处理状态
  9913. type: integer
  9914. marketid:
  9915. description: 市场ID
  9916. type: integer
  9917. phonenum:
  9918. description: 提货人联系方式
  9919. type: string
  9920. picurls:
  9921. description: 介绍图片[多张用逗号分隔]
  9922. type: string
  9923. qty:
  9924. description: 提货数量
  9925. type: number
  9926. recivername:
  9927. description: 提货人姓名
  9928. type: string
  9929. reqtime:
  9930. description: 更新时间
  9931. type: string
  9932. takemode:
  9933. description: 提货方式 - 2:自提 3:配送
  9934. type: integer
  9935. takeorderid:
  9936. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9937. type: string
  9938. takeorderstatus:
  9939. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9940. type: integer
  9941. takeremark:
  9942. description: 提货备注
  9943. type: string
  9944. tradedate:
  9945. description: 交易日(yyyyMMdd)
  9946. type: string
  9947. trademode:
  9948. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9949. 21:竞拍-大宗式 22:受托竞价
  9950. type: integer
  9951. userid:
  9952. description: 用户ID
  9953. type: integer
  9954. vendorname:
  9955. description: 供应商名称
  9956. type: string
  9957. required:
  9958. - goodscode
  9959. - goodsname
  9960. - takeorderid
  9961. - trademode
  9962. type: object
  9963. models.HsbyPreGoods:
  9964. properties:
  9965. agreeunit:
  9966. description: 合约单位
  9967. type: number
  9968. currency:
  9969. description: 货币
  9970. type: string
  9971. currencysign:
  9972. description: 货币符号
  9973. type: string
  9974. decimalplace:
  9975. description: 报价小数位
  9976. type: integer
  9977. desccityid:
  9978. description: 目的地(市)
  9979. type: integer
  9980. descprovinceid:
  9981. description: 目的地(省)
  9982. type: integer
  9983. enableqty:
  9984. description: 剩余数量
  9985. type: integer
  9986. goodscode:
  9987. description: 商品代码(内部)
  9988. type: string
  9989. goodsid:
  9990. description: 商品ID(自增ID SEQ_GOODS)
  9991. type: integer
  9992. goodsname:
  9993. description: 商品名称
  9994. type: string
  9995. goodsstatus:
  9996. description: 商品状态- 2:未上市 3:上市
  9997. type: integer
  9998. lasttradedate:
  9999. description: 最后交易日期(状态:待退市)
  10000. type: string
  10001. listingdate:
  10002. description: 交易开始日期
  10003. type: string
  10004. marketid:
  10005. description: 所属市场ID
  10006. type: integer
  10007. picurls:
  10008. description: 介绍图片[多张用逗号分隔]
  10009. type: string
  10010. presaledqty:
  10011. description: 已预售量(预售结束时更新)
  10012. type: integer
  10013. presaleqty:
  10014. description: 预售数量
  10015. type: integer
  10016. quoteminunit:
  10017. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10018. type: integer
  10019. refprice:
  10020. description: 参考价格[一口价]
  10021. type: number
  10022. relatedgoodsid:
  10023. description: 关联交易合约ID
  10024. type: integer
  10025. trademode:
  10026. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10027. 21:竞拍-大宗式 22:受托竞价
  10028. type: integer
  10029. videourls:
  10030. description: 介绍视频[多张用逗号分隔]
  10031. type: string
  10032. required:
  10033. - goodscode
  10034. - goodsid
  10035. - goodsname
  10036. - marketid
  10037. - trademode
  10038. type: object
  10039. models.HsbyPreGoodsDetail:
  10040. properties:
  10041. agreeunit:
  10042. description: 合约单位
  10043. type: number
  10044. buymaxqty:
  10045. description: 购买上限 [71] - 0为不限
  10046. type: integer
  10047. currency:
  10048. description: 货币
  10049. type: string
  10050. currencysign:
  10051. description: 货币符号
  10052. type: string
  10053. customername:
  10054. description: 发行单位
  10055. type: string
  10056. decimalplace:
  10057. description: 报价小数位
  10058. type: integer
  10059. desccityid:
  10060. description: 目的地(市)ID
  10061. type: integer
  10062. descprovinceid:
  10063. description: 目的地(省)ID
  10064. type: integer
  10065. enableqty:
  10066. description: 剩余数量
  10067. type: integer
  10068. goodscode:
  10069. description: 商品代码(内部)
  10070. type: string
  10071. goodsdesc:
  10072. description: 商品详情
  10073. type: string
  10074. goodsid:
  10075. description: 商品ID(自增ID SEQ_GOODS)
  10076. type: integer
  10077. goodsname:
  10078. description: 商品名称
  10079. type: string
  10080. goodsstatus:
  10081. description: 商品状态- 2:未上市 3:上市
  10082. type: integer
  10083. goodunit:
  10084. description: 报价单位
  10085. type: string
  10086. lasttradedate:
  10087. description: 最后交易日期(状态:待退市)
  10088. type: string
  10089. listingdate:
  10090. description: 交易开始日期
  10091. type: string
  10092. lotsize:
  10093. description: 手数最小变动单位
  10094. type: integer
  10095. marketid:
  10096. description: 所属市场ID
  10097. type: integer
  10098. picurls:
  10099. description: 介绍图片[多张用逗号分隔]
  10100. type: string
  10101. presaledqty:
  10102. description: 已预售量(预售结束时更新)
  10103. type: integer
  10104. presaleqty:
  10105. description: 预售数量
  10106. type: integer
  10107. quoteminunit:
  10108. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10109. type: integer
  10110. refprice:
  10111. description: 参考价格[一口价]
  10112. type: number
  10113. relatedgoodsid:
  10114. description: 关联交易合约ID
  10115. type: integer
  10116. stepvalue:
  10117. description: 价格最小变动单位
  10118. type: number
  10119. trademode:
  10120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10121. 21:竞拍-大宗式 22:受托竞价
  10122. type: integer
  10123. vendorattr:
  10124. description: 供应商附件(多张,逗号分隔)
  10125. type: string
  10126. vendorname:
  10127. description: 供应商名称
  10128. type: string
  10129. vendorphone:
  10130. description: 供应商客服电话
  10131. type: string
  10132. videourls:
  10133. description: 介绍视频[多张用逗号分隔]
  10134. type: string
  10135. required:
  10136. - goodscode
  10137. - goodsid
  10138. - goodsname
  10139. - marketid
  10140. - trademode
  10141. type: object
  10142. models.HsbySellCollectionOrder:
  10143. properties:
  10144. agreeunit:
  10145. description: 合约单位
  10146. type: number
  10147. buyaccountid:
  10148. description: 买方账号ID[报价币种]
  10149. type: integer
  10150. buyorderid:
  10151. description: 买方委托单号
  10152. type: string
  10153. createtime:
  10154. description: 创建时间
  10155. type: string
  10156. currencysign:
  10157. description: 货币符号
  10158. type: string
  10159. decimalplace:
  10160. description: 报价小数位
  10161. type: integer
  10162. goodscode:
  10163. description: 商品代码(内部)
  10164. type: string
  10165. goodsid:
  10166. description: 商品ID
  10167. type: integer
  10168. goodsname:
  10169. description: 商品名称
  10170. type: string
  10171. marketid:
  10172. description: 市场ID
  10173. type: integer
  10174. offamount:
  10175. description: 优惠金额
  10176. type: number
  10177. payamount:
  10178. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10179. type: number
  10180. payflag:
  10181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10182. type: integer
  10183. paylimitedtime:
  10184. description: 支付期限
  10185. type: string
  10186. paytime:
  10187. description: 付款时间
  10188. type: string
  10189. picurls:
  10190. description: 商品介绍图片[多张用逗号分隔]
  10191. type: string
  10192. sellaccountid:
  10193. description: 卖方账号ID[报价币种]
  10194. type: integer
  10195. sellorderid:
  10196. description: 卖方委托单号
  10197. type: string
  10198. tradeamount:
  10199. description: 成交金额
  10200. type: number
  10201. tradecharge:
  10202. description: 成交手续费(买方)
  10203. type: number
  10204. tradedate:
  10205. description: 交易日(yyyyMMdd)
  10206. type: string
  10207. tradeid:
  10208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10209. type: string
  10210. trademode:
  10211. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10212. 21:竞拍-大宗式 22:受托竞价
  10213. type: integer
  10214. tradeprice:
  10215. description: 成交价格
  10216. type: number
  10217. tradeqty:
  10218. description: 成交数量
  10219. type: integer
  10220. required:
  10221. - goodscode
  10222. - goodsname
  10223. - tradeid
  10224. - trademode
  10225. type: object
  10226. models.HsbySellMyDetail:
  10227. properties:
  10228. accountid:
  10229. description: 账户ID[报价币种]
  10230. type: integer
  10231. agreeunit:
  10232. description: 合约单位
  10233. type: number
  10234. buyorsell:
  10235. description: 买卖 - 0:买 1:卖
  10236. type: integer
  10237. currencysign:
  10238. description: 货币符号
  10239. type: string
  10240. decimalplace:
  10241. description: 报价小数位
  10242. type: integer
  10243. goodscode:
  10244. description: 商品代码(内部)
  10245. type: string
  10246. goodsid:
  10247. description: 商品ID
  10248. type: integer
  10249. goodsname:
  10250. description: 商品名称
  10251. type: string
  10252. marketid:
  10253. description: 市场ID
  10254. type: integer
  10255. orderid:
  10256. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10257. type: string
  10258. ordertype:
  10259. description: 单据类型:0 - 发布中, 1 - 已完成
  10260. type: integer
  10261. picurls:
  10262. description: 介绍图片[多张用逗号分隔]
  10263. type: string
  10264. price:
  10265. description: 价格
  10266. type: number
  10267. qty:
  10268. description: 数量
  10269. type: integer
  10270. time:
  10271. description: 时间
  10272. type: string
  10273. trademode:
  10274. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10275. 21:竞拍-大宗式 22:受托竞价
  10276. type: integer
  10277. vendorname:
  10278. description: 供应商名称
  10279. type: string
  10280. required:
  10281. - accountid
  10282. - buyorsell
  10283. - goodscode
  10284. - goodsid
  10285. - goodsname
  10286. - marketid
  10287. - orderid
  10288. - time
  10289. - trademode
  10290. type: object
  10291. models.HsbyTopGoods:
  10292. properties:
  10293. agreeunit:
  10294. description: 合约单位
  10295. type: number
  10296. currency:
  10297. description: 货币
  10298. type: string
  10299. currencysign:
  10300. description: 货币符号
  10301. type: string
  10302. decimalplace:
  10303. description: 报价小数位
  10304. type: integer
  10305. desccityid:
  10306. description: 目的地(市)
  10307. type: integer
  10308. descprovinceid:
  10309. description: 目的地(省)
  10310. type: integer
  10311. goodscode:
  10312. description: 商品代码(内部)
  10313. type: string
  10314. goodsid:
  10315. description: 商品ID(自增ID SEQ_GOODS)
  10316. type: integer
  10317. goodsname:
  10318. description: 商品名称
  10319. type: string
  10320. hotindex:
  10321. description: 景点热度
  10322. type: integer
  10323. last:
  10324. description: 现价
  10325. type: number
  10326. marketid:
  10327. description: 所属市场ID
  10328. type: integer
  10329. picurls:
  10330. description: 介绍图片[多张用逗号分隔]
  10331. type: string
  10332. quoteminunit:
  10333. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10334. type: integer
  10335. trademode:
  10336. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10337. 21:竞拍-大宗式 22:受托竞价
  10338. type: integer
  10339. videourls:
  10340. description: 介绍视频[多张用逗号分隔]
  10341. type: string
  10342. required:
  10343. - goodscode
  10344. - goodsid
  10345. - goodsname
  10346. - marketid
  10347. - trademode
  10348. type: object
  10349. models.HybsMyBuyOrderDetail:
  10350. properties:
  10351. accountid:
  10352. description: 账户ID[报价币种]
  10353. type: integer
  10354. agreeunit:
  10355. description: 合约单位
  10356. type: number
  10357. buyorsell:
  10358. description: 买卖 - 0:买 1:卖
  10359. type: integer
  10360. cancelqty:
  10361. description: 撤单数量
  10362. type: integer
  10363. currencysign:
  10364. description: 货币符号
  10365. type: string
  10366. decimalplace:
  10367. description: 报价小数位
  10368. type: integer
  10369. goodscode:
  10370. description: 商品代码(内部)
  10371. type: string
  10372. goodsid:
  10373. description: 商品ID
  10374. type: integer
  10375. goodsname:
  10376. description: 商品名称
  10377. type: string
  10378. listingselecttype:
  10379. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10380. type: integer
  10381. marketid:
  10382. description: 市场ID
  10383. type: integer
  10384. mybuystatus:
  10385. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10386. type: integer
  10387. orderamount:
  10388. description: 委托金额
  10389. type: number
  10390. orderid:
  10391. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10392. type: string
  10393. orderprice:
  10394. description: 委托价格
  10395. type: number
  10396. orderqty:
  10397. description: 委托数量
  10398. type: integer
  10399. orderstatus:
  10400. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10401. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10402. 16:成交失败违约(荷兰式竞拍专用)
  10403. type: integer
  10404. ordertime:
  10405. description: 委托时间
  10406. type: string
  10407. picurls1:
  10408. description: 预售商品介绍图片[多张用逗号分隔]
  10409. type: string
  10410. picurls2:
  10411. description: 挂牌商品介绍图片[多张用逗号分隔]
  10412. type: string
  10413. trademode:
  10414. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10415. 21:竞拍-大宗式 22:受托竞价
  10416. type: integer
  10417. tradeqty:
  10418. description: 成交数量
  10419. type: integer
  10420. vendorname1:
  10421. description: 预售商品供应商名称
  10422. type: string
  10423. vendorname2:
  10424. description: 挂牌商品供应商名称
  10425. type: string
  10426. required:
  10427. - accountid
  10428. - buyorsell
  10429. - goodscode
  10430. - goodsid
  10431. - goodsname
  10432. - marketid
  10433. - orderid
  10434. - orderqty
  10435. - ordertime
  10436. - trademode
  10437. type: object
  10438. models.InternalEnableTradeDetail:
  10439. properties:
  10440. areauserid:
  10441. description: 企业ID
  10442. type: integer
  10443. deliverygoodscode:
  10444. description: 现货品种代码
  10445. type: string
  10446. deliverygoodsid:
  10447. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10448. type: integer
  10449. deliverygoodsname:
  10450. description: 现货品种名称
  10451. type: string
  10452. futurehedgeqty:
  10453. description: '[已关联数量]期货持仓套期量'
  10454. type: number
  10455. goodsid:
  10456. description: 期货合约ID
  10457. type: integer
  10458. hedgeditemnum:
  10459. description: 项目编号
  10460. type: string
  10461. unexehedgeqty:
  10462. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10463. type: number
  10464. unexespotqty:
  10465. description: 未执行现货量
  10466. type: number
  10467. wrstandardcode:
  10468. description: 现货品类代码
  10469. type: string
  10470. wrstandardid:
  10471. description: 现货品类ID(SEQ_WRSTANDARD)
  10472. type: integer
  10473. wrstandardname:
  10474. description: 现货品类名称
  10475. type: string
  10476. required:
  10477. - areauserid
  10478. - goodsid
  10479. type: object
  10480. models.InternalUncorrelatedTradeDetail:
  10481. properties:
  10482. accountid:
  10483. description: 账号ID
  10484. type: integer
  10485. accountname:
  10486. description: 套期主体
  10487. type: string
  10488. agreeunit:
  10489. description: 合约乘数
  10490. type: number
  10491. areauserid:
  10492. description: 所属机构
  10493. type: integer
  10494. bizsubjectid:
  10495. description: 归属业务部门ID - SubjectID
  10496. type: integer
  10497. buyorsell:
  10498. description: 方向 - 0:买 1:卖
  10499. type: integer
  10500. channelbuildtype:
  10501. description: 委托单据类型 0:无 1:建仓 2:平仓
  10502. type: integer
  10503. convertratio:
  10504. description: 品种系数
  10505. type: number
  10506. createtime:
  10507. description: 创建时间
  10508. type: string
  10509. creatorid:
  10510. description: 创建人ID
  10511. type: integer
  10512. creatorsrc:
  10513. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10514. type: integer
  10515. enableqty:
  10516. description: 项目可关联手数 = 成交手数 - 关联数量
  10517. type: number
  10518. goodscode:
  10519. description: 合约代码
  10520. type: string
  10521. goodsgroupid:
  10522. description: 对冲品种ID[期货合约商品组ID]
  10523. type: integer
  10524. goodsid:
  10525. description: 商品ID
  10526. type: integer
  10527. goodsname:
  10528. description: 合约名称
  10529. type: string
  10530. hedgeditemid:
  10531. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10532. type: integer
  10533. hedgeflag:
  10534. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10535. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10536. type: integer
  10537. linkdetailid:
  10538. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10539. type: string
  10540. linkstatus:
  10541. description: 关联状态 - 1:成功 2:失败 3:解绑
  10542. type: integer
  10543. middlegoodsid:
  10544. description: 套保品种ID
  10545. type: integer
  10546. relatedlot:
  10547. description: '[数量]关联手数'
  10548. type: number
  10549. relatedmode:
  10550. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10551. type: integer
  10552. relatedqty:
  10553. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10554. type: number
  10555. retcode:
  10556. description: 返回码
  10557. type: integer
  10558. saleuserid:
  10559. description: 业务员ID
  10560. type: integer
  10561. tradedate:
  10562. description: 关联交易日(yyyyMMdd)
  10563. type: string
  10564. tradeid:
  10565. description: 成交单号
  10566. type: string
  10567. tradelot:
  10568. description: 成交手数
  10569. type: integer
  10570. tradeprice:
  10571. description: 成交价
  10572. type: number
  10573. tradetime:
  10574. description: 成交时间
  10575. type: string
  10576. tradetradedate:
  10577. description: 成交交易日(yyyyMMdd)
  10578. type: string
  10579. type: object
  10580. models.Loginaccount:
  10581. properties:
  10582. accountname:
  10583. description: 账户名称
  10584. type: string
  10585. canoutin:
  10586. description: 是否可出入金 - 0:不可 1:可
  10587. type: integer
  10588. clientroleid:
  10589. description: 终端角色ID
  10590. type: integer
  10591. haslogined:
  10592. description: 是否已登录 - 0:未登录 1:已登录
  10593. type: integer
  10594. hasupdatedpwd:
  10595. description: 是否已更改密码 - 0:未修改 1:已修改
  10596. type: integer
  10597. lastloginip:
  10598. description: 最新登录地址
  10599. type: string
  10600. lastloginmode:
  10601. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10602. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10603. type: integer
  10604. lastloginremark:
  10605. description: 最新登录描述
  10606. type: string
  10607. lastlogintime:
  10608. description: 最新登录时间
  10609. type: string
  10610. logincode:
  10611. description: 登录代码
  10612. type: string
  10613. loginfailnum:
  10614. description: 连续登录失败次数(登录成功时清零)
  10615. type: integer
  10616. loginid:
  10617. description: 登陆账号
  10618. type: integer
  10619. loginport:
  10620. description: 最新登录端口
  10621. type: integer
  10622. loginstatus:
  10623. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10624. type: integer
  10625. loginusertype:
  10626. description: 登录账号类型 - 1:投资者 2:机构交易员
  10627. type: integer
  10628. mobile:
  10629. description: 手机号码(加密存储)
  10630. type: string
  10631. modifierid:
  10632. description: 修改人
  10633. type: integer
  10634. modifysrc:
  10635. description: 审核来源 - 1:管理端 2:终端
  10636. type: integer
  10637. modifytime:
  10638. description: 修改时间
  10639. type: string
  10640. password:
  10641. description: 登陆密码
  10642. type: string
  10643. pwdwrongcount:
  10644. description: 密码错误次数
  10645. type: integer
  10646. relateduserid:
  10647. description: 关联用户ID(机构)
  10648. type: integer
  10649. taaccountrighttype:
  10650. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10651. type: integer
  10652. unfreezetime:
  10653. description: 账户解冻时间
  10654. type: string
  10655. userid:
  10656. description: 用户ID
  10657. type: integer
  10658. required:
  10659. - loginid
  10660. type: object
  10661. models.MainAccountInfo:
  10662. properties:
  10663. accountid:
  10664. description: 账号id
  10665. type: integer
  10666. accountname:
  10667. description: 账号名称(taaccount表中的名称)
  10668. type: string
  10669. appid:
  10670. description: AppID
  10671. type: string
  10672. authcode:
  10673. description: 授权码
  10674. type: string
  10675. brokerid:
  10676. description: 经纪商id
  10677. type: string
  10678. fcid:
  10679. description: 期货公司id
  10680. type: integer
  10681. fcname:
  10682. description: 期货公司代码
  10683. type: string
  10684. hedgeaccountcode:
  10685. description: 外部账号代码(主账号登录代码)
  10686. type: string
  10687. hedgeaccountpwd:
  10688. description: 密码
  10689. type: string
  10690. ismain:
  10691. description: 是否主账号
  10692. type: integer
  10693. relateduserid:
  10694. description: 关联用户id
  10695. type: integer
  10696. userid:
  10697. description: 关联用户id
  10698. type: integer
  10699. type: object
  10700. models.Market:
  10701. properties:
  10702. auctionwrtype:
  10703. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10704. type: integer
  10705. canacceptquote:
  10706. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10707. type: integer
  10708. cangoodsexercise:
  10709. description: '[期权]是否可现货行权- 0:否 1:是'
  10710. type: integer
  10711. cangoodsexercisetype:
  10712. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10713. type: integer
  10714. canmanualquotestrike:
  10715. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10716. type: integer
  10717. canmutistage:
  10718. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10719. type: integer
  10720. canpreexercise:
  10721. description: '[期权]是否可预申报- 0:否 1:是'
  10722. type: integer
  10723. clearinterval:
  10724. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10725. type: integer
  10726. contracttmp:
  10727. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10728. type: string
  10729. exchareaid:
  10730. description: 所属交易所,可以没有
  10731. type: integer
  10732. goodstype:
  10733. description: 商品类型 - 1:交易商品 2:仓单商品
  10734. type: integer
  10735. hasrebate:
  10736. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10737. type: integer
  10738. hastradecredit:
  10739. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10740. type: integer
  10741. haswr:
  10742. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10743. type: integer
  10744. isdeductmargin:
  10745. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10746. type: integer
  10747. isrecordsource:
  10748. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10749. type: integer
  10750. isreleasemargin:
  10751. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10752. type: integer
  10753. marginformula:
  10754. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10755. type: integer
  10756. marginformula2:
  10757. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10758. type: integer
  10759. marketid:
  10760. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10761. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10762. type: integer
  10763. marketname:
  10764. description: 市场名称
  10765. type: string
  10766. marketserviceid:
  10767. description: 市场服务ID
  10768. type: integer
  10769. marketstatus:
  10770. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10771. type: integer
  10772. markettype:
  10773. description: 市场类型- 1:非交易服务 2:交易服务
  10774. type: integer
  10775. matchermode:
  10776. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10777. type: integer
  10778. openmethod:
  10779. description: 开盘模式 - 0 自动 1手动
  10780. type: integer
  10781. otcuserid:
  10782. description: 场外期权做市商[场外期权]
  10783. type: integer
  10784. outersynctime:
  10785. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10786. type: string
  10787. pendingflag:
  10788. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10789. type: integer
  10790. pendingtime:
  10791. description: 待开市时间[通道交易-对冲](HH:mm)
  10792. type: string
  10793. performancetempid:
  10794. description: 履约计划模板ID - 作废
  10795. type: integer
  10796. premiumquotemode:
  10797. description: 权利金报价方式 - 1:自动 2:手动
  10798. type: integer
  10799. rebateratio:
  10800. description: 返利比率[竞价式]
  10801. type: number
  10802. reckonorder:
  10803. description: 结算顺序
  10804. type: integer
  10805. reckonpricealgorithm:
  10806. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10807. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10808. type: integer
  10809. reckonpriceparam:
  10810. description: 结算价参数
  10811. type: integer
  10812. reckontime:
  10813. description: 结算时间[通道交易-对冲](HH:mm)
  10814. type: string
  10815. roleprioritytype:
  10816. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10817. type: integer
  10818. selllistingauditflag:
  10819. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10820. type: integer
  10821. trademarkettype:
  10822. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10823. type: integer
  10824. trademode:
  10825. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10826. 21:竞拍-大宗式 22:受托竞价
  10827. type: integer
  10828. tradeproperty:
  10829. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10830. 8:场外期权
  10831. type: integer
  10832. tradetype:
  10833. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10834. type: integer
  10835. required:
  10836. - marketid
  10837. - marketstatus
  10838. - openmethod
  10839. - reckonpricealgorithm
  10840. - trademode
  10841. - tradeproperty
  10842. type: object
  10843. models.Marketrun:
  10844. properties:
  10845. afternexttradedate:
  10846. description: 下下交易日
  10847. type: string
  10848. clearquoteflag:
  10849. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10850. type: integer
  10851. lastreckondate:
  10852. description: 最新交易日(结算成功)
  10853. type: string
  10854. machinedate:
  10855. description: 机器时间
  10856. type: string
  10857. manualflag:
  10858. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10859. type: integer
  10860. marketid:
  10861. description: 市场ID
  10862. type: integer
  10863. nexttradedate:
  10864. description: 下一交易日
  10865. type: string
  10866. pretradedate:
  10867. description: 上一交易日
  10868. type: string
  10869. reckonflag:
  10870. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10871. type: integer
  10872. runstatus:
  10873. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10874. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10875. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10876. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10877. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10878. 62.今日免清算
  10879. type: integer
  10880. sectionid:
  10881. description: 时间段号[多时段时用]
  10882. type: integer
  10883. tradedate:
  10884. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10885. type: string
  10886. tradedate2:
  10887. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10888. type: string
  10889. updatetime:
  10890. description: 更新时间
  10891. type: string
  10892. required:
  10893. - marketid
  10894. - nexttradedate
  10895. - reckonflag
  10896. - runstatus
  10897. - tradedate
  10898. - tradedate2
  10899. type: object
  10900. models.Messageboard:
  10901. properties:
  10902. contactnum:
  10903. description: 联系电话
  10904. type: string
  10905. createtime:
  10906. description: 创建时间
  10907. type: string
  10908. message:
  10909. description: 留言信息
  10910. type: string
  10911. messageboardid:
  10912. description: 留言簿ID(SEQ_MessageBoard)
  10913. type: integer
  10914. userid:
  10915. description: 用户ID
  10916. type: integer
  10917. required:
  10918. - messageboardid
  10919. type: object
  10920. models.MyCoupon:
  10921. properties:
  10922. accountid:
  10923. description: 资金账户ID
  10924. type: integer
  10925. areauserid:
  10926. description: 所属机构
  10927. type: integer
  10928. conditionvalue:
  10929. description: 条件阈值(可为0)
  10930. type: number
  10931. couponcategroy:
  10932. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10933. type: integer
  10934. couponname:
  10935. description: 优惠券名称
  10936. type: string
  10937. coupontypeid:
  10938. description: 优惠券类型ID
  10939. type: string
  10940. couponvalue:
  10941. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10942. type: number
  10943. curfreezeqty:
  10944. description: 期末冻结数量
  10945. type: integer
  10946. curqty:
  10947. description: 期末数量
  10948. type: integer
  10949. isgeneral:
  10950. description: 是否通用券 - 0:否 1:是
  10951. type: integer
  10952. isunusable:
  10953. description: 是否不可用
  10954. type: boolean
  10955. limitedflag:
  10956. description: 是否指定商品 - 0:不限 1:限制
  10957. type: integer
  10958. limitedgoodsids:
  10959. description: 指定商品IDs[逗号分隔,前后加逗号]
  10960. type: string
  10961. orifreezeqty:
  10962. description: 期初冻结数量
  10963. type: integer
  10964. oriqty:
  10965. description: 期初数量
  10966. type: integer
  10967. reasontype:
  10968. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10969. type: integer
  10970. todaydecrease:
  10971. description: 今日减少
  10972. type: integer
  10973. todayincrease:
  10974. description: 今日增加
  10975. type: integer
  10976. userid:
  10977. description: 用户ID
  10978. type: integer
  10979. userscope:
  10980. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10981. type: string
  10982. required:
  10983. - accountid
  10984. - coupontypeid
  10985. type: object
  10986. models.MyCouponHold:
  10987. properties:
  10988. accountid:
  10989. description: 资金账户ID
  10990. type: integer
  10991. conditionvalue:
  10992. description: 条件阈值(可为0)
  10993. type: number
  10994. couponcategroy:
  10995. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10996. type: integer
  10997. couponholdid:
  10998. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10999. type: string
  11000. couponname:
  11001. description: 优惠券名称
  11002. type: string
  11003. coupontypeid:
  11004. description: 优惠券类型ID - SEQ_COUPONTYPE
  11005. type: string
  11006. couponvalue:
  11007. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11008. type: number
  11009. createtime:
  11010. description: 创建时间
  11011. type: string
  11012. enddate:
  11013. description: 结束日期
  11014. type: string
  11015. giveapplyid:
  11016. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11017. type: integer
  11018. holdstatus:
  11019. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11020. type: integer
  11021. isgeneral:
  11022. description: 是否通用券 - 0:否 1:是
  11023. type: integer
  11024. limitedflag:
  11025. description: 是否指定商品 - 0:不限 1:限制
  11026. type: integer
  11027. limitedgoodsids:
  11028. description: 指定商品IDs[逗号分隔]
  11029. type: string
  11030. qty:
  11031. description: 数量(按1平铺)
  11032. type: integer
  11033. startdate:
  11034. description: 开始日期
  11035. type: string
  11036. userid:
  11037. description: 用户ID
  11038. type: integer
  11039. userscope:
  11040. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11041. type: string
  11042. required:
  11043. - couponholdid
  11044. type: object
  11045. models.MyUsedCoupon:
  11046. properties:
  11047. accountid:
  11048. description: 资金账户ID(买方)
  11049. type: integer
  11050. conditionvalue:
  11051. description: 条件阈值(可为0)
  11052. type: number
  11053. couponcategroy:
  11054. description: 种类 - 1:现金券 2:折扣券
  11055. type: integer
  11056. couponname:
  11057. description: 优惠券名称
  11058. type: string
  11059. coupontypeid:
  11060. description: 优惠券类型ID(买方)
  11061. type: string
  11062. couponvalue:
  11063. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11064. type: number
  11065. createtime:
  11066. description: 创建时间
  11067. type: string
  11068. goodsid:
  11069. description: 商品ID
  11070. type: integer
  11071. handlestatus:
  11072. description: 处理状态
  11073. type: integer
  11074. marketid:
  11075. description: 市场ID
  11076. type: integer
  11077. offamount:
  11078. description: 优惠金额
  11079. type: number
  11080. orderid:
  11081. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11082. type: string
  11083. sellaccountid:
  11084. description: 资金账户ID(卖方)
  11085. type: integer
  11086. tradeamount:
  11087. description: 成交金额
  11088. type: number
  11089. tradeid:
  11090. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11091. type: string
  11092. usedqty:
  11093. description: 使用数量
  11094. type: integer
  11095. required:
  11096. - coupontypeid
  11097. - orderid
  11098. type: object
  11099. models.OperationPrimaryMenu:
  11100. properties:
  11101. Children:
  11102. description: 二级功能菜单
  11103. items:
  11104. $ref: '#/definitions/models.OperationSecondaryMenu'
  11105. type: array
  11106. Key:
  11107. description: 菜单KEY
  11108. type: string
  11109. Label:
  11110. description: 菜单标题
  11111. type: string
  11112. type: object
  11113. models.OperationSecondaryMenu:
  11114. properties:
  11115. Key:
  11116. description: 菜单KEY
  11117. type: string
  11118. Label:
  11119. description: 菜单标题
  11120. type: string
  11121. TabList:
  11122. description: 三级功能菜单
  11123. items:
  11124. $ref: '#/definitions/models.OperationTabMenu'
  11125. type: array
  11126. type: object
  11127. models.OperationTabMenu:
  11128. properties:
  11129. Key:
  11130. description: 菜单KEY
  11131. type: string
  11132. Label:
  11133. description: 菜单标题
  11134. type: string
  11135. type: object
  11136. models.QhjAccountOutInApply:
  11137. properties:
  11138. accountcode:
  11139. description: 资金账号
  11140. type: string
  11141. accountname:
  11142. description: 用户名称(名称)
  11143. type: string
  11144. accountpwd:
  11145. description: 资金密码
  11146. type: string
  11147. accountticket:
  11148. description: 最新账户服务流水号
  11149. type: string
  11150. amount:
  11151. description: 金额
  11152. type: number
  11153. applyremark:
  11154. description: 申请备注
  11155. type: string
  11156. applystatus:
  11157. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11158. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11159. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11160. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11161. type: integer
  11162. auditid:
  11163. description: 审核人
  11164. type: integer
  11165. audittime:
  11166. description: 审核时间
  11167. type: string
  11168. bank_apply_ticket:
  11169. description: 银行申请流水
  11170. type: string
  11171. bankaccountname:
  11172. description: 银行账户名
  11173. type: string
  11174. bankaccountno:
  11175. description: 银行卡号
  11176. type: string
  11177. bankid:
  11178. description: 银行编号
  11179. type: string
  11180. bankticket:
  11181. description: 银行流水
  11182. type: string
  11183. branchbankid:
  11184. description: 银行支行号
  11185. type: string
  11186. branchbankname:
  11187. description: 银行支行名称
  11188. type: string
  11189. capamountout:
  11190. description: 出金(劣后本金) - 外部子账户
  11191. type: number
  11192. certificatephotourl:
  11193. description: 凭证地址
  11194. type: string
  11195. charge:
  11196. description: 手续费
  11197. type: number
  11198. checkerrorflag:
  11199. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11200. type: integer
  11201. currency:
  11202. description: 币种
  11203. type: string
  11204. cusbankid:
  11205. description: 托管银行编号
  11206. type: string
  11207. exchticket:
  11208. description: 银行服务流水号
  11209. type: string
  11210. executetype:
  11211. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11212. 7:外部子账户:入金 8:外部子账户:出金'
  11213. type: integer
  11214. extendinfo:
  11215. description: 扩展信息
  11216. type: string
  11217. extoperateid:
  11218. description: 交易服务流水号
  11219. type: integer
  11220. infamount:
  11221. description: 劣后金额(自有)
  11222. type: number
  11223. logincode:
  11224. description: 登录账号(账号)
  11225. type: string
  11226. netaddr:
  11227. description: 调转网址
  11228. type: string
  11229. priamount:
  11230. description: 优先金额(授信)
  11231. type: number
  11232. reauditid:
  11233. description: 复审人
  11234. type: integer
  11235. reauditremark:
  11236. description: 复审备注
  11237. type: string
  11238. reaudittime:
  11239. description: 复审时间
  11240. type: string
  11241. relatedorderid:
  11242. description: 三方关联ID
  11243. type: string
  11244. remark:
  11245. description: 备注
  11246. type: string
  11247. remark2:
  11248. description: 备注(失败原因)
  11249. type: string
  11250. soucreamount:
  11251. description: 原始出入金金额
  11252. type: number
  11253. soucrecurrencyid:
  11254. description: 原始出入金币种
  11255. type: integer
  11256. tradedate:
  11257. description: 交易日(yyyyMMdd)
  11258. type: string
  11259. updatetime:
  11260. description: 更新时间(申请时间)
  11261. type: string
  11262. userid:
  11263. description: 用户id
  11264. type: integer
  11265. userinfotype:
  11266. description: 账户类型 1-个人 2-企业
  11267. type: integer
  11268. type: object
  11269. models.QhjAgreementChangeLog:
  11270. properties:
  11271. agreementcontent:
  11272. description: 协议内容
  11273. type: string
  11274. agreementfrequency:
  11275. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11276. type: integer
  11277. agreementid:
  11278. description: 协议ID
  11279. type: integer
  11280. agreementname:
  11281. description: 协议名称
  11282. type: string
  11283. agreementno:
  11284. description: 协议编号
  11285. type: string
  11286. agreementtype:
  11287. description: 协议类型 - 1:注册 2:登录 3:交易
  11288. type: integer
  11289. agreementversion:
  11290. description: 协议版本号
  11291. type: integer
  11292. logid:
  11293. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11294. type: integer
  11295. reviserid:
  11296. description: 修改人
  11297. type: integer
  11298. revisersrc:
  11299. description: 修改来源 - 1:管理端 2:终端
  11300. type: integer
  11301. updatetime:
  11302. description: 更新时间
  11303. type: string
  11304. type: object
  11305. models.QhjAgreementConfig:
  11306. properties:
  11307. agreementcontent:
  11308. description: 协议内容
  11309. type: string
  11310. agreementfrequency:
  11311. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11312. type: integer
  11313. agreementid:
  11314. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11315. type: integer
  11316. agreementname:
  11317. description: 协议名称
  11318. type: string
  11319. agreementno:
  11320. description: 协议编号
  11321. type: string
  11322. agreementtype:
  11323. description: 协议类型 - 1:注册 2:登录 3:交易
  11324. type: integer
  11325. agreementversion:
  11326. description: 协议版本号(从1开始每次修改加1)
  11327. type: integer
  11328. createtime:
  11329. description: 创建时间
  11330. type: string
  11331. creatorid:
  11332. description: 创建人
  11333. type: integer
  11334. creatorsrc:
  11335. description: 创建来源 - 1:管理端 2:终端
  11336. type: integer
  11337. isvalid:
  11338. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11339. type: integer
  11340. reviserid:
  11341. description: 修改人
  11342. type: integer
  11343. revisersrc:
  11344. description: 修改来源 - 1:管理端 2:终端
  11345. type: integer
  11346. updatetime:
  11347. description: 更新时间
  11348. type: string
  11349. type: object
  11350. models.QhjAreaFinanceConfig:
  11351. properties:
  11352. additionalratio:
  11353. description: 追加款比例
  11354. type: number
  11355. advanceratio:
  11356. description: 预付款比例
  11357. type: number
  11358. alarmratio:
  11359. description: 告警比例
  11360. type: number
  11361. consumptiondirectreward:
  11362. description: 消费直推奖励值
  11363. type: number
  11364. consumptionenabled:
  11365. description: 是否启用消费奖励 - 0:不启用 1:启用
  11366. type: integer
  11367. consumptionindirectreward:
  11368. description: 消费间推奖励值
  11369. type: number
  11370. consumptionmodel:
  11371. description: 消费奖励方式 - 1:比率 2:固定
  11372. type: integer
  11373. customerservicenum:
  11374. description: 客服电话
  11375. type: string
  11376. dayinterestrate:
  11377. description: 日利率
  11378. type: number
  11379. disableconsumptiontips:
  11380. description: 关闭消费奖励提示
  11381. type: string
  11382. modifierid:
  11383. description: 修改人ID
  11384. type: integer
  11385. modifysrc:
  11386. description: 审核来源 - 1:管理端 2:终端
  11387. type: integer
  11388. modifytime:
  11389. description: 修改时间
  11390. type: string
  11391. promotionvalue:
  11392. description: 推广奖励值(固定)
  11393. type: number
  11394. scoreconfigvalue1:
  11395. description: 提货积分配置1
  11396. type: integer
  11397. scoreconfigvalue2:
  11398. description: 提货积分配置2
  11399. type: integer
  11400. userid:
  11401. description: 机构用户ID其他做市关系,都设置为 1
  11402. type: integer
  11403. username:
  11404. description: 用户名称
  11405. type: string
  11406. type: object
  11407. models.QhjBankAccountSign:
  11408. properties:
  11409. accountcode:
  11410. description: 资金账号
  11411. type: string
  11412. accountname:
  11413. description: 资金账号对应的账号名(UserName)
  11414. type: string
  11415. accountname2:
  11416. description: 资金账号对应的账号名(UserName) - 密文
  11417. type: string
  11418. accounttype:
  11419. description: 账户类型(UserType)
  11420. type: integer
  11421. applicationtime:
  11422. description: 最后一次更新的时间
  11423. type: string
  11424. applyexchticket:
  11425. description: 申请流水
  11426. type: string
  11427. auditid:
  11428. description: 审核人
  11429. type: integer
  11430. audittime:
  11431. description: 审核时间
  11432. type: string
  11433. bankaccountname:
  11434. description: 签约银行卡账号名
  11435. type: string
  11436. bankaccountname2:
  11437. description: 签约银行卡账号名 - 密文
  11438. type: string
  11439. bankaccountno:
  11440. description: 银行卡号
  11441. type: string
  11442. bankaccountno2:
  11443. description: 银行卡号 - 密文
  11444. type: string
  11445. bankaccounttype:
  11446. description: 银行账户类型 - 1-对私; 2-对公
  11447. type: integer
  11448. bankcardtype:
  11449. description: 银行卡类型
  11450. type: integer
  11451. bankchildaccount:
  11452. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11453. type: string
  11454. bankcity:
  11455. description: 开户行城市
  11456. type: string
  11457. bankid:
  11458. description: 签约银行ID
  11459. type: string
  11460. bankname:
  11461. description: 签约银行名称
  11462. type: string
  11463. bankprovince:
  11464. description: 开户行省份
  11465. type: string
  11466. branchbankid:
  11467. description: 签约银行支行号
  11468. type: string
  11469. branchbankname:
  11470. description: 签约银行支行名称
  11471. type: string
  11472. cardno:
  11473. description: 证件号码
  11474. type: string
  11475. cardno2:
  11476. description: 证件号码 - 密文
  11477. type: string
  11478. cardtype:
  11479. description: 证件类型
  11480. type: string
  11481. currency:
  11482. description: 币种
  11483. type: string
  11484. cusbankid:
  11485. description: 托管银行编号
  11486. type: string
  11487. direct:
  11488. description: 方向(可以判断那方先发起的签约)
  11489. type: integer
  11490. exchticket:
  11491. description: 最后一次签约成功的流水号
  11492. type: string
  11493. extendinfo:
  11494. description: 扩展信息(JSON字符串)
  11495. type: string
  11496. mobilephone:
  11497. description: 手机号
  11498. type: string
  11499. mobilephone2:
  11500. description: 手机号 - 密文
  11501. type: string
  11502. netaddr:
  11503. description: 调转网址
  11504. type: string
  11505. relateduserid:
  11506. description: 关联使用者userid
  11507. type: integer
  11508. signstatus:
  11509. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11510. 10:审核拒绝 11:换签待审核
  11511. type: integer
  11512. updatetime:
  11513. description: 更新时间(签解约更新时间)
  11514. type: string
  11515. type: object
  11516. models.QhjBankInfo:
  11517. properties:
  11518. bankid:
  11519. description: 银行ID
  11520. type: string
  11521. bankname:
  11522. description: 银行名称
  11523. type: string
  11524. clearbankno:
  11525. description: 清算系统银行编号
  11526. type: string
  11527. orderindex:
  11528. description: 排序顺序
  11529. type: integer
  11530. status:
  11531. description: 状态 - 0:正常 1:注销
  11532. type: integer
  11533. type: object
  11534. models.QhjBrokerApply:
  11535. properties:
  11536. applicantid:
  11537. description: 申请人
  11538. type: integer
  11539. applysrc:
  11540. description: 申请来源 - 1:管理端 2:终端
  11541. type: integer
  11542. applystatus:
  11543. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11544. type: integer
  11545. applytime:
  11546. description: 申请时间
  11547. type: string
  11548. auditorid:
  11549. description: 审核人
  11550. type: integer
  11551. auditremark:
  11552. description: 审核备注
  11553. type: string
  11554. auditsrc:
  11555. description: 审核来源 - 1:管理端 2:终端
  11556. type: integer
  11557. audittime:
  11558. description: 审核时间
  11559. type: string
  11560. audittradedate:
  11561. description: 审核交易日(yyyyMMdd)
  11562. type: string
  11563. brokerapplyid:
  11564. description: 申请ID(SEQ_BROKERAPPLY)
  11565. type: integer
  11566. cardbackphotourl:
  11567. description: 证件背面图片地址
  11568. type: string
  11569. cardfrontphotourl:
  11570. description: 证件正面图片地址
  11571. type: string
  11572. cardnum:
  11573. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11574. type: string
  11575. customername:
  11576. description: 姓名
  11577. type: string
  11578. logincode:
  11579. description: 登录代码
  11580. type: string
  11581. mobile:
  11582. description: 手机号码
  11583. type: string
  11584. parentuserid:
  11585. description: 所属机构id
  11586. type: integer
  11587. parentusername:
  11588. description: 所属机构名称
  11589. type: string
  11590. refereeuserid:
  11591. description: 推荐人id(经纪人)
  11592. type: integer
  11593. refernum:
  11594. description: 推荐码
  11595. type: string
  11596. remark:
  11597. description: 备注
  11598. type: string
  11599. subarealevelpath:
  11600. description: 层级路径
  11601. type: string
  11602. tradedate:
  11603. description: 交易日(yyyyMMdd)
  11604. type: string
  11605. userid:
  11606. description: 申请人用户ID
  11607. type: integer
  11608. userinfotype:
  11609. description: 用户类型 1-个人 2-企业
  11610. type: integer
  11611. username:
  11612. description: 用户名称
  11613. type: string
  11614. type: object
  11615. models.QhjBrokerApplyEx:
  11616. properties:
  11617. applylist:
  11618. description: 经纪人申请记录(只返回最新一条)
  11619. items:
  11620. $ref: '#/definitions/models.QhjBrokerApply'
  11621. type: array
  11622. canrecommend:
  11623. description: 是否经纪人 0-不是 1-是
  11624. type: integer
  11625. refernum:
  11626. description: 推荐码
  11627. type: string
  11628. userid:
  11629. description: 用户id
  11630. type: integer
  11631. userinfotype:
  11632. description: 用户类型 1-个人 2-企业
  11633. type: integer
  11634. type: object
  11635. models.QhjBrokerRewardLog:
  11636. properties:
  11637. accountid:
  11638. description: 资金账号ID
  11639. type: integer
  11640. createtime:
  11641. description: 创建时间(时间)
  11642. type: string
  11643. handlestatus:
  11644. description: 处理状态
  11645. type: integer
  11646. logid:
  11647. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11648. type: string
  11649. marketid:
  11650. description: 市场ID
  11651. type: integer
  11652. mmaccountid:
  11653. description: 做市商资金账号ID
  11654. type: string
  11655. mmuserid:
  11656. description: 做市商用户ID
  11657. type: string
  11658. rewardamount:
  11659. description: 奖励金额
  11660. type: number
  11661. rewardmodel:
  11662. description: 消费奖励方式 - 1:比率 2:固定
  11663. type: integer
  11664. rewardtype:
  11665. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11666. type: integer
  11667. rewardvalue:
  11668. description: 配置奖励值
  11669. type: number
  11670. srcamount:
  11671. description: 成交金额 [消费奖励] (金额)
  11672. type: number
  11673. srcgoodsid:
  11674. description: 来源商品ID [消费奖励]
  11675. type: string
  11676. srctime:
  11677. description: 来源时间 (成交时间) [消费奖励]
  11678. type: string
  11679. srctradeid:
  11680. description: 来源成交单ID [消费奖励] - 排除提货成交
  11681. type: string
  11682. srcuserid:
  11683. description: 来源用户ID(推广账户)
  11684. type: string
  11685. srcusername:
  11686. description: 推广账户名称
  11687. type: string
  11688. tradedate:
  11689. description: 交易日(yyyyMMdd)
  11690. type: string
  11691. userid:
  11692. description: 经纪人用户ID
  11693. type: integer
  11694. type: object
  11695. models.QhjContract:
  11696. properties:
  11697. contractconfirmtime:
  11698. description: 合同确认时间(时间)
  11699. type: string
  11700. currisklevel:
  11701. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11702. type: integer
  11703. decimalplace:
  11704. description: 商品报价小数位
  11705. type: integer
  11706. enumdicname:
  11707. description: 单位名称
  11708. type: string
  11709. goodscode:
  11710. description: 商品代码
  11711. type: string
  11712. goodsid:
  11713. description: 商品ID [5:融资单]
  11714. type: integer
  11715. goodsname:
  11716. description: 商品名称
  11717. type: string
  11718. goodunitid:
  11719. description: 商品单位id
  11720. type: integer
  11721. initmargin:
  11722. description: 初始保证金(首付款)
  11723. type: number
  11724. lenderamount:
  11725. description: 贷款金额(总额|订单总额)
  11726. type: number
  11727. marginratio:
  11728. description: 保证金比率(首付比例)
  11729. type: number
  11730. payamount:
  11731. description: 已付(已付货款)
  11732. type: number
  11733. reckonrecovermargin:
  11734. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11735. type: number
  11736. recoveredmargin:
  11737. description: 已追缴保证金
  11738. type: number
  11739. remainamount:
  11740. description: 合同剩余金额(融资额)
  11741. type: number
  11742. scfcontractid:
  11743. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11744. type: string
  11745. scfcontractstatus:
  11746. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11747. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11748. type: integer
  11749. scfcontracttype:
  11750. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11751. type: integer
  11752. totalinterest:
  11753. description: 已计总利息(利息)
  11754. type: number
  11755. tradeprice:
  11756. description: 成交价格(成本价格)
  11757. type: number
  11758. userid:
  11759. description: 用户ID
  11760. type: integer
  11761. username:
  11762. description: 用户名称
  11763. type: string
  11764. wrqty:
  11765. description: 仓单数量(数量)
  11766. type: number
  11767. type: object
  11768. models.QhjContractLog:
  11769. properties:
  11770. amount:
  11771. description: 支付金额
  11772. type: number
  11773. amounttype:
  11774. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11775. type: integer
  11776. logid:
  11777. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11778. type: string
  11779. remainamount:
  11780. description: 剩余货款
  11781. type: number
  11782. scfcontractid:
  11783. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11784. type: integer
  11785. updatetime:
  11786. description: 更新时间
  11787. type: string
  11788. type: object
  11789. models.QhjCusBankSignBankEx:
  11790. properties:
  11791. banklst:
  11792. description: 银行列表
  11793. items:
  11794. $ref: '#/definitions/models.QhjBankInfo'
  11795. type: array
  11796. canallot:
  11797. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11798. type: integer
  11799. canallotquery:
  11800. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11801. type: integer
  11802. canbindcard:
  11803. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11804. type: integer
  11805. caninamount:
  11806. description: 是否可入金 - 0:不可 1:可以
  11807. type: integer
  11808. caninamount2:
  11809. description: 是否可入金(网银端) - 0:不可 1:可以
  11810. type: integer
  11811. canmodifybankcard:
  11812. description: 是否可修改银行卡号 - 0:不可 1:可以
  11813. type: integer
  11814. canmodifyphone:
  11815. description: 是否可修改手机号 - 0:不可 1:可以
  11816. type: integer
  11817. canmodifysigninfo:
  11818. description: 是否可修改签约信息 - 0:不可 1:可以
  11819. type: integer
  11820. canoutamount:
  11821. description: 是否可出金 - 0:不可 1:可以
  11822. type: integer
  11823. canoutamount2:
  11824. description: 是否可出金(网银端) - 0:不可 1:可以
  11825. type: integer
  11826. canrelease:
  11827. description: 是否可解约 - 0:不可 1:可以
  11828. type: integer
  11829. canrelease2:
  11830. description: 是否可解约(网银端) - 0:不可 1:可以
  11831. type: integer
  11832. cansign:
  11833. description: 是否可签约 - 0:不可 1:可以
  11834. type: integer
  11835. cansign2:
  11836. description: 是否可签约(网银端) - 0:不可 1:可以
  11837. type: integer
  11838. currency:
  11839. description: 币种
  11840. type: string
  11841. cusbankid:
  11842. description: 托管银行编号(对应清算中心TRAN_NO)
  11843. type: string
  11844. cusbankname:
  11845. description: 银行业务名称
  11846. type: string
  11847. cusbankshortname:
  11848. description: 银行业务简称
  11849. type: string
  11850. exchbankid:
  11851. description: 交易所开户银行ID
  11852. type: string
  11853. exchpaybankaccname:
  11854. description: 交易所支出结算账户户名
  11855. type: string
  11856. exchpaybankaccno:
  11857. description: 交易所支出结算账户
  11858. type: string
  11859. isneedcheck:
  11860. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11861. type: integer
  11862. isneedclear:
  11863. description: 是否需要清算 - 0:不需要 1:需要
  11864. type: integer
  11865. lastcheckstatus:
  11866. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11867. type: integer
  11868. lastchecktime:
  11869. description: 最后对账时间
  11870. type: string
  11871. lastclearstatus:
  11872. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11873. type: integer
  11874. lastcleartime:
  11875. description: 最后清算时间
  11876. type: string
  11877. lastsignintime:
  11878. description: 最后签到时间
  11879. type: string
  11880. lastsignouttime:
  11881. description: 最后签退时间
  11882. type: string
  11883. riskinfo:
  11884. description: 签约风险提示书
  11885. type: string
  11886. signstatus:
  11887. description: 当前签到/签退状态 - 1:签到 2:签退
  11888. type: integer
  11889. tradedate:
  11890. description: 交易日(yyyyMMdd)
  11891. type: string
  11892. updatetime:
  11893. description: 当前签到/签退更新时间
  11894. type: string
  11895. type: object
  11896. models.QhjCustomer:
  11897. properties:
  11898. address:
  11899. description: 通讯地址
  11900. type: string
  11901. attachment1:
  11902. description: 附件1
  11903. type: string
  11904. attachment2:
  11905. description: 附件2
  11906. type: string
  11907. audittime:
  11908. description: 审核时间
  11909. type: string
  11910. cardbackphotourl:
  11911. description: 证件反面图片地址
  11912. type: string
  11913. cardfrontphotourl:
  11914. description: 证件正面图片地址
  11915. type: string
  11916. cardnum:
  11917. description: 证件号码
  11918. type: string
  11919. cardtype:
  11920. description: 证件类型
  11921. type: integer
  11922. cardtypename:
  11923. description: 证件类型名称
  11924. type: string
  11925. cityid:
  11926. description: 市
  11927. type: integer
  11928. cityname:
  11929. description: 城市名称
  11930. type: string
  11931. contactname:
  11932. description: 联系人
  11933. type: string
  11934. countryid:
  11935. description: 国家
  11936. type: integer
  11937. countryname:
  11938. description: 国家名称
  11939. type: string
  11940. createtime:
  11941. description: 创建时间
  11942. type: string
  11943. customername:
  11944. description: 客户名称
  11945. type: string
  11946. districtid:
  11947. description: 区域
  11948. type: integer
  11949. districtname:
  11950. description: 地区名称
  11951. type: string
  11952. email:
  11953. description: 邮件
  11954. type: string
  11955. legalpersonname:
  11956. description: 法人姓名(企业)
  11957. type: string
  11958. logincode:
  11959. description: 登录账号(代码)
  11960. type: string
  11961. memberuserid:
  11962. description: 所属机构ID(所属会员)
  11963. type: integer
  11964. memberusername:
  11965. description: 所属会员名称
  11966. type: string
  11967. mobile:
  11968. description: 手机号码
  11969. type: string
  11970. modifytime:
  11971. description: 修改时间
  11972. type: string
  11973. nickname:
  11974. description: 昵称
  11975. type: string
  11976. parentuserid:
  11977. description: 上级机构(所属机构)
  11978. type: integer
  11979. parentusername:
  11980. description: 所属机构名称
  11981. type: string
  11982. provinceid:
  11983. description: 省
  11984. type: integer
  11985. provincename:
  11986. description: 省名称
  11987. type: string
  11988. proxystatementurl:
  11989. description: 授权委托书
  11990. type: string
  11991. remark:
  11992. description: 备注
  11993. type: string
  11994. status:
  11995. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11996. type: integer
  11997. statusdesc:
  11998. description: 账户状态中文描述
  11999. type: string
  12000. taxpayernum:
  12001. description: 纳税人识别号
  12002. type: string
  12003. telphone:
  12004. description: 联系电话
  12005. type: string
  12006. userid:
  12007. description: 用户ID
  12008. type: integer
  12009. userinfotype:
  12010. description: 客户类型 1-个人 2-企业
  12011. type: integer
  12012. username:
  12013. description: 用户名称
  12014. type: string
  12015. type: object
  12016. models.QhjCustomerSignLog:
  12017. properties:
  12018. agreementcontent:
  12019. description: 协议内容
  12020. type: string
  12021. agreementid:
  12022. description: 协议ID
  12023. type: integer
  12024. agreementname:
  12025. description: 协议名称
  12026. type: string
  12027. agreementno:
  12028. description: 协议编号
  12029. type: string
  12030. agreementtype:
  12031. description: 协议类型 - 1:注册 2:登录 3:交易
  12032. type: integer
  12033. agreementversion:
  12034. description: 协议版本号
  12035. type: integer
  12036. createtime:
  12037. description: 创建时间
  12038. type: string
  12039. goodscode:
  12040. description: 商品代码
  12041. type: string
  12042. goodsid:
  12043. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12044. type: integer
  12045. goodsname:
  12046. description: 商品名称
  12047. type: string
  12048. logid:
  12049. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12050. type: integer
  12051. nodetype:
  12052. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12053. type: integer
  12054. signadressurl:
  12055. description: 签约文件地址
  12056. type: string
  12057. signtimestamp:
  12058. description: 签约状态时间戳
  12059. type: string
  12060. userid:
  12061. description: 客户ID
  12062. type: integer
  12063. username:
  12064. description: 客户名称
  12065. type: string
  12066. type: object
  12067. models.QhjCustomerSignStatus:
  12068. properties:
  12069. createtime:
  12070. description: 创建时间
  12071. type: string
  12072. goodscode:
  12073. description: 商品代码
  12074. type: string
  12075. goodsid:
  12076. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12077. type: integer
  12078. goodsname:
  12079. description: 商品名称
  12080. type: string
  12081. nodetype:
  12082. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12083. type: integer
  12084. signtimestamp:
  12085. description: 签约状态时间戳
  12086. type: string
  12087. tradedate:
  12088. description: 创建交易日(yyyyMMdd)
  12089. type: string
  12090. updatetime:
  12091. description: 更新时间
  12092. type: string
  12093. userid:
  12094. description: 客户ID
  12095. type: integer
  12096. username:
  12097. description: 客户名称
  12098. type: string
  12099. type: object
  12100. models.QhjMgrAccountOutInApply:
  12101. properties:
  12102. accountcode:
  12103. description: 资金账号
  12104. type: string
  12105. accountname:
  12106. description: 用户名称(名称)
  12107. type: string
  12108. accountpwd:
  12109. description: 资金密码
  12110. type: string
  12111. accountticket:
  12112. description: 最新账户服务流水号
  12113. type: string
  12114. amount:
  12115. description: 金额
  12116. type: number
  12117. applyremark:
  12118. description: 申请备注
  12119. type: string
  12120. applystatus:
  12121. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12122. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12123. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12124. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12125. type: integer
  12126. auditid:
  12127. description: 审核人
  12128. type: integer
  12129. audittime:
  12130. description: 审核时间
  12131. type: string
  12132. bank_apply_ticket:
  12133. description: 银行申请流水
  12134. type: string
  12135. bankaccountname:
  12136. description: 银行账户名
  12137. type: string
  12138. bankaccountno:
  12139. description: 银行卡号
  12140. type: string
  12141. bankid:
  12142. description: 银行编号
  12143. type: string
  12144. bankname:
  12145. description: 银行名称
  12146. type: string
  12147. bankticket:
  12148. description: 银行流水
  12149. type: string
  12150. branchbankid:
  12151. description: 银行支行号
  12152. type: string
  12153. branchbankname:
  12154. description: 银行支行名称
  12155. type: string
  12156. capamountout:
  12157. description: 出金(劣后本金) - 外部子账户
  12158. type: number
  12159. certificatephotourl:
  12160. description: 凭证地址
  12161. type: string
  12162. charge:
  12163. description: 手续费
  12164. type: number
  12165. checkerrorflag:
  12166. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12167. type: integer
  12168. currency:
  12169. description: 币种
  12170. type: string
  12171. cusbankid:
  12172. description: 托管银行编号
  12173. type: string
  12174. exchticket:
  12175. description: 银行服务流水号
  12176. type: string
  12177. executetype:
  12178. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12179. 7:外部子账户:入金 8:外部子账户:出金'
  12180. type: integer
  12181. extendinfo:
  12182. description: 扩展信息
  12183. type: string
  12184. extoperateid:
  12185. description: 交易服务流水号
  12186. type: integer
  12187. infamount:
  12188. description: 劣后金额(自有)
  12189. type: number
  12190. logincode:
  12191. description: 登录账号(账号)
  12192. type: string
  12193. netaddr:
  12194. description: 调转网址
  12195. type: string
  12196. priamount:
  12197. description: 优先金额(授信)
  12198. type: number
  12199. reauditid:
  12200. description: 复审人
  12201. type: integer
  12202. reauditremark:
  12203. description: 复审备注
  12204. type: string
  12205. reaudittime:
  12206. description: 复审时间
  12207. type: string
  12208. relatedorderid:
  12209. description: 三方关联ID
  12210. type: string
  12211. remark:
  12212. description: 备注
  12213. type: string
  12214. remark2:
  12215. description: 备注(失败原因)
  12216. type: string
  12217. soucreamount:
  12218. description: 原始出入金金额
  12219. type: number
  12220. soucrecurrencyid:
  12221. description: 原始出入金币种
  12222. type: integer
  12223. tradedate:
  12224. description: 交易日(yyyyMMdd)
  12225. type: string
  12226. updatetime:
  12227. description: 更新时间(申请时间)
  12228. type: string
  12229. userid:
  12230. description: 用户id
  12231. type: integer
  12232. userinfotype:
  12233. description: 账户类型 1-个人 2-企业
  12234. type: integer
  12235. type: object
  12236. models.QhjMgrBrokerApply:
  12237. properties:
  12238. applicantid:
  12239. description: 申请人
  12240. type: integer
  12241. applysrc:
  12242. description: 申请来源 - 1:管理端 2:终端
  12243. type: integer
  12244. applystatus:
  12245. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12246. type: integer
  12247. applytime:
  12248. description: 申请时间
  12249. type: string
  12250. auditorid:
  12251. description: 审核人
  12252. type: integer
  12253. auditremark:
  12254. description: 审核备注
  12255. type: string
  12256. auditsrc:
  12257. description: 审核来源 - 1:管理端 2:终端
  12258. type: integer
  12259. audittime:
  12260. description: 审核时间
  12261. type: string
  12262. audittradedate:
  12263. description: 审核交易日(yyyyMMdd)
  12264. type: string
  12265. brokerapplyid:
  12266. description: 申请ID(SEQ_BROKERAPPLY)
  12267. type: integer
  12268. cardbackphotourl:
  12269. description: 证件背面图片地址
  12270. type: string
  12271. cardfrontphotourl:
  12272. description: 证件正面图片地址
  12273. type: string
  12274. cardnum:
  12275. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12276. type: string
  12277. customername:
  12278. description: 姓名
  12279. type: string
  12280. filterstatus:
  12281. description: 筛选条件
  12282. type: string
  12283. logincode:
  12284. description: 登录代码
  12285. type: string
  12286. mobile:
  12287. description: 手机号码
  12288. type: string
  12289. parentuserid:
  12290. description: 所属机构id
  12291. type: integer
  12292. parentusername:
  12293. description: 所属机构名称
  12294. type: string
  12295. refereeuserid:
  12296. description: 推荐人id(经纪人)
  12297. type: integer
  12298. refernum:
  12299. description: 推荐码
  12300. type: string
  12301. remark:
  12302. description: 备注
  12303. type: string
  12304. subarealevelpath:
  12305. description: 层级路径
  12306. type: string
  12307. tradedate:
  12308. description: 交易日(yyyyMMdd)
  12309. type: string
  12310. userid:
  12311. description: 申请人用户ID
  12312. type: integer
  12313. userinfotype:
  12314. description: 用户类型 1-个人 2-企业
  12315. type: integer
  12316. username:
  12317. description: 用户名称
  12318. type: string
  12319. type: object
  12320. models.QhjMgrBrokerRewardReport:
  12321. properties:
  12322. createtime:
  12323. description: 创建时间(注册时间)
  12324. type: string
  12325. cycletime:
  12326. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12327. type: string
  12328. cycletype:
  12329. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12330. type: integer
  12331. directtotalnum:
  12332. description: 直推总人数【期末】
  12333. type: integer
  12334. indirecttotalnum:
  12335. description: 间推总人数【期末】
  12336. type: integer
  12337. mobile:
  12338. description: 电话号码
  12339. type: string
  12340. refereeuserid:
  12341. description: 推荐人id(经纪人id)
  12342. type: integer
  12343. refereeusername:
  12344. description: 推荐人名称(经纪人) 上级经纪人名称
  12345. type: string
  12346. refernum:
  12347. description: 推荐码
  12348. type: string
  12349. subarealevelpath:
  12350. description: 用户层级路径
  12351. type: string
  12352. todayrewardamount:
  12353. description: 奖励总金额【汇总】
  12354. type: number
  12355. updatetime:
  12356. description: 更新时间
  12357. type: string
  12358. userid:
  12359. description: 经纪人用户ID
  12360. type: integer
  12361. userinfotype:
  12362. description: 用户类型 1-个人 2-企业
  12363. type: integer
  12364. username:
  12365. description: 用户名称
  12366. type: string
  12367. type: object
  12368. models.QhjMgrContract:
  12369. properties:
  12370. contractconfirmtime:
  12371. description: 合同确认时间(时间)
  12372. type: string
  12373. currisklevel:
  12374. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12375. type: integer
  12376. decimalplace:
  12377. description: 商品报价小数位
  12378. type: integer
  12379. enumdicname:
  12380. description: 单位名称
  12381. type: string
  12382. goodscode:
  12383. description: 商品代码
  12384. type: string
  12385. goodsid:
  12386. description: 商品ID [5:融资单]
  12387. type: integer
  12388. goodsname:
  12389. description: 商品名称
  12390. type: string
  12391. goodunitid:
  12392. description: 商品单位id
  12393. type: integer
  12394. initmargin:
  12395. description: 初始保证金(首付款)
  12396. type: number
  12397. lenderamount:
  12398. description: 贷款金额(总额|订单总额)
  12399. type: number
  12400. logincode:
  12401. description: 账号(登录代码)
  12402. type: string
  12403. marginratio:
  12404. description: 保证金比率(首付比例)
  12405. type: number
  12406. mobile:
  12407. description: 电话号码(用户资料里的电话)
  12408. type: string
  12409. payamount:
  12410. description: 已付(已付货款)
  12411. type: number
  12412. reckonrecovermargin:
  12413. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12414. type: number
  12415. recoveredmargin:
  12416. description: 已追缴保证金
  12417. type: number
  12418. remainamount:
  12419. description: 合同剩余金额(融资额)
  12420. type: number
  12421. scfcontractid:
  12422. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12423. type: string
  12424. scfcontractstatus:
  12425. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12426. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12427. type: integer
  12428. scfcontracttype:
  12429. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12430. type: integer
  12431. totalinterest:
  12432. description: 已计总利息(利息)
  12433. type: number
  12434. tradedate:
  12435. description: 交易日
  12436. type: string
  12437. tradeprice:
  12438. description: 成交价格(成本价格)
  12439. type: number
  12440. userid:
  12441. description: 用户ID
  12442. type: integer
  12443. userinfotype:
  12444. description: 用户类型 1-个人 2-企业
  12445. type: integer
  12446. username:
  12447. description: 用户名称
  12448. type: string
  12449. wrqty:
  12450. description: 仓单数量(数量)
  12451. type: number
  12452. type: object
  12453. models.QhjMgrCustomer:
  12454. properties:
  12455. address:
  12456. description: 通讯地址
  12457. type: string
  12458. attachment1:
  12459. description: 附件1
  12460. type: string
  12461. audittime:
  12462. description: 审核时间
  12463. type: string
  12464. birthday:
  12465. description: 生日
  12466. type: string
  12467. brokerid:
  12468. description: 所属客户经理id
  12469. type: integer
  12470. brokername:
  12471. description: 所属客户经理名称
  12472. type: string
  12473. cardbackphotourl:
  12474. description: 证件反面图片地址
  12475. type: string
  12476. cardfrontphotourl:
  12477. description: 证件正面图片地址
  12478. type: string
  12479. cardnum:
  12480. description: 证件号码
  12481. type: string
  12482. cardtype:
  12483. description: 证件类型
  12484. type: integer
  12485. cardtypename:
  12486. description: 证件类型名称
  12487. type: string
  12488. cityid:
  12489. description: 市
  12490. type: integer
  12491. cityname:
  12492. description: 城市名称
  12493. type: string
  12494. contactname:
  12495. description: 联系人
  12496. type: string
  12497. countryid:
  12498. description: 国家
  12499. type: integer
  12500. countryname:
  12501. description: 国家名称
  12502. type: string
  12503. createtime:
  12504. description: 创建时间
  12505. type: string
  12506. customername:
  12507. description: 客户名称
  12508. type: string
  12509. districtid:
  12510. description: 区域
  12511. type: integer
  12512. districtname:
  12513. description: 地区名称
  12514. type: string
  12515. email:
  12516. description: 邮件
  12517. type: string
  12518. legalpersonname:
  12519. description: 法人姓名(企业)
  12520. type: string
  12521. logincode:
  12522. description: 登录账号(代码)
  12523. type: string
  12524. memberuserid:
  12525. description: 所属机构ID(所属会员)
  12526. type: integer
  12527. memberusername:
  12528. description: 所属会员名称
  12529. type: string
  12530. mobile:
  12531. description: 手机号码
  12532. type: string
  12533. modifytime:
  12534. description: 修改时间
  12535. type: string
  12536. nickname:
  12537. description: 昵称
  12538. type: string
  12539. parentuserid:
  12540. description: 上级机构(所属机构)
  12541. type: integer
  12542. parentusername:
  12543. description: 所属机构名称
  12544. type: string
  12545. provinceid:
  12546. description: 省
  12547. type: integer
  12548. provincename:
  12549. description: 省名称
  12550. type: string
  12551. proxystatementurl:
  12552. description: 授权委托书
  12553. type: string
  12554. querytype:
  12555. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12556. type: integer
  12557. remark:
  12558. description: 备注
  12559. type: string
  12560. sex:
  12561. description: 性别 0-女 1-男
  12562. type: integer
  12563. status:
  12564. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12565. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12566. type: integer
  12567. statusdesc:
  12568. description: 账户状态中文描述
  12569. type: string
  12570. taxpayernum:
  12571. description: 纳税人识别号
  12572. type: string
  12573. telphone:
  12574. description: 联系电话
  12575. type: string
  12576. userid:
  12577. description: 用户ID
  12578. type: integer
  12579. userinfotype:
  12580. description: 客户类型 1-个人 2-企业
  12581. type: integer
  12582. username:
  12583. description: 用户名称
  12584. type: string
  12585. type: object
  12586. models.QhjMgrPickGoods:
  12587. properties:
  12588. enumdicname:
  12589. description: 单位名称(提货商品)
  12590. type: string
  12591. goodsid:
  12592. description: 商品id
  12593. type: integer
  12594. imageaddress:
  12595. description: 图片
  12596. type: string
  12597. modifierid:
  12598. description: 修改人
  12599. type: integer
  12600. modifiername:
  12601. description: 修改人名称
  12602. type: string
  12603. modifysrc:
  12604. description: 修改来源 - 1:管理端 2:终端
  12605. type: integer
  12606. pickupgoodsagreeunit:
  12607. description: 合约乘数
  12608. type: number
  12609. pickupgoodsdesc:
  12610. description: 描述
  12611. type: string
  12612. pickupgoodsid:
  12613. description: 提货商品ID
  12614. type: string
  12615. pickupgoodsname:
  12616. description: 提货商品名称
  12617. type: string
  12618. pickupgoodsstatus:
  12619. description: 状态 - 1:正常 2:停用 3:注销
  12620. type: integer
  12621. pickupgoodsunitid:
  12622. description: 单位ID
  12623. type: integer
  12624. pickupratio:
  12625. description: 提货系数
  12626. type: number
  12627. preparedays:
  12628. description: 备货期(天)
  12629. type: integer
  12630. remark:
  12631. description: 备注
  12632. type: string
  12633. updatetime:
  12634. description: 更新时间
  12635. type: string
  12636. type: object
  12637. models.QhjMgrPositionRsp:
  12638. properties:
  12639. accountid:
  12640. description: 账号Id
  12641. type: integer
  12642. accountname:
  12643. description: 用户名称
  12644. type: string
  12645. agreeunit:
  12646. description: 合约乘数
  12647. type: number
  12648. averageprice:
  12649. description: 均价
  12650. type: number
  12651. avialqty:
  12652. description: 可用数量
  12653. type: number
  12654. decimalplace:
  12655. description: 报价小数位
  12656. type: integer
  12657. enumdicname:
  12658. description: 单位名称(商品)
  12659. type: string
  12660. frozenqty:
  12661. description: 冻结数量
  12662. type: number
  12663. goodscode:
  12664. description: 商品代码(内部)
  12665. type: string
  12666. goodsid:
  12667. description: 商品Id
  12668. type: integer
  12669. goodsname:
  12670. description: 商品名称
  12671. type: string
  12672. goodunitid:
  12673. description: 报价单位ID
  12674. type: integer
  12675. holderamount:
  12676. description: 金额
  12677. type: number
  12678. holderqty:
  12679. description: 持有数量
  12680. type: number
  12681. holdertype:
  12682. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12683. type: integer
  12684. logincode:
  12685. description: 登录代码(账户)
  12686. type: string
  12687. marketid:
  12688. description: 市场id
  12689. type: integer
  12690. qtydecimalplace:
  12691. description: 成交量小数位
  12692. type: integer
  12693. trademode:
  12694. description: 交易模式
  12695. type: integer
  12696. userid:
  12697. description: 用户id
  12698. type: integer
  12699. userinfotype:
  12700. description: 账户类型 1-个人 2-企业
  12701. type: integer
  12702. type: object
  12703. models.QhjMgrSubArea:
  12704. properties:
  12705. accountname:
  12706. description: 账户名称(机构名称)
  12707. type: string
  12708. memberuserid:
  12709. description: 所属会员ID
  12710. type: integer
  12711. parenttopuser:
  12712. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12713. type: string
  12714. parentuserid:
  12715. description: 所属机构ID
  12716. type: integer
  12717. rootuserid:
  12718. description: 根用户ID
  12719. type: string
  12720. subaccountlevel:
  12721. description: 子账户层数
  12722. type: integer
  12723. subarealevelpath:
  12724. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12725. type: string
  12726. userid:
  12727. description: 用户ID
  12728. type: integer
  12729. usertype:
  12730. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12731. type: integer
  12732. type: object
  12733. models.QhjMgrTradeDetailRsp:
  12734. properties:
  12735. accountid:
  12736. description: 资金账号
  12737. type: integer
  12738. accountname:
  12739. description: 用户名称
  12740. type: string
  12741. agreeunit:
  12742. description: 合约乘数
  12743. type: number
  12744. buyorsell:
  12745. description: 成交类型(方向) 0:买 1:卖
  12746. type: integer
  12747. decimalplace:
  12748. description: 报价小数位
  12749. type: integer
  12750. enumdicname:
  12751. description: 单位名称(商品)
  12752. type: string
  12753. goodscode:
  12754. description: 商品代码(内部)
  12755. type: string
  12756. goodsid:
  12757. description: 商品id
  12758. type: integer
  12759. goodsname:
  12760. description: 商品名称
  12761. type: string
  12762. goodunitid:
  12763. description: 报价单位ID
  12764. type: integer
  12765. logincode:
  12766. description: 登录代码(账户)
  12767. type: string
  12768. marketid:
  12769. description: 市场id
  12770. type: integer
  12771. orderid:
  12772. description: 关联委托单号
  12773. type: string
  12774. qtydecimalplace:
  12775. description: 成交量小数位
  12776. type: integer
  12777. tradeamount:
  12778. description: 金额
  12779. type: number
  12780. tradedate:
  12781. description: 交易日
  12782. type: string
  12783. tradeid:
  12784. description: 成交单号
  12785. type: string
  12786. trademode:
  12787. description: 交易模式
  12788. type: integer
  12789. tradeprice:
  12790. description: 价格
  12791. type: number
  12792. tradeqty:
  12793. description: 数量
  12794. type: number
  12795. tradetime:
  12796. description: 成交时间
  12797. type: string
  12798. userid:
  12799. description: 用户id
  12800. type: integer
  12801. userinfotype:
  12802. description: 账户类型 1-个人 2-企业
  12803. type: integer
  12804. type: object
  12805. models.QhjMgrTradeOrderDetailRsp:
  12806. properties:
  12807. accountid:
  12808. description: 资金账号
  12809. type: integer
  12810. accountname:
  12811. description: 用户名称
  12812. type: string
  12813. agreeunit:
  12814. description: 合约乘数
  12815. type: number
  12816. amount:
  12817. description: 金额
  12818. type: number
  12819. decimalplace:
  12820. description: 报价小数位
  12821. type: integer
  12822. enumdicname:
  12823. description: 单位名称(商品)
  12824. type: string
  12825. goodscode:
  12826. description: 商品代码(内部)
  12827. type: string
  12828. goodsid:
  12829. description: 商品id
  12830. type: integer
  12831. goodsname:
  12832. description: 商品名称
  12833. type: string
  12834. goodunitid:
  12835. description: 报价单位ID
  12836. type: integer
  12837. logincode:
  12838. description: 登录代码(账户)
  12839. type: string
  12840. marketid:
  12841. description: 市场id
  12842. type: integer
  12843. orderid:
  12844. description: 关联委托单号
  12845. type: string
  12846. orderprice:
  12847. description: 价格
  12848. type: number
  12849. orderqty:
  12850. description: 数量
  12851. type: number
  12852. orderstatus:
  12853. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12854. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12855. 16:成交失败违约(荷兰式竞拍专用)
  12856. type: integer
  12857. ordertime:
  12858. description: 委托时间
  12859. type: string
  12860. qtydecimalplace:
  12861. description: 成交量小数位
  12862. type: integer
  12863. tradedate:
  12864. description: 交易日
  12865. type: string
  12866. trademode:
  12867. description: 交易模式
  12868. type: integer
  12869. userid:
  12870. description: 用户id
  12871. type: integer
  12872. userinfotype:
  12873. description: 账户类型 1-个人 2-企业
  12874. type: integer
  12875. type: object
  12876. models.QhjMgrTradePayOrder:
  12877. properties:
  12878. accountname:
  12879. description: 用户名称
  12880. type: string
  12881. advanceratio:
  12882. description: 首付比率
  12883. type: number
  12884. agreeunit:
  12885. description: 合约乘数
  12886. type: number
  12887. buyaccountid:
  12888. description: 买方账号ID[报价币种]
  12889. type: integer
  12890. buyorderid:
  12891. description: 买方委托单号(关联单号)
  12892. type: string
  12893. createtime:
  12894. description: 创建时间
  12895. type: string
  12896. decimalplace:
  12897. description: 报价小数位
  12898. type: integer
  12899. enumdicname:
  12900. description: 单位名称(商品)
  12901. type: string
  12902. goodscode:
  12903. description: 商品代码(内部)
  12904. type: string
  12905. goodsid:
  12906. description: 商品ID
  12907. type: integer
  12908. goodsname:
  12909. description: 商品名称
  12910. type: string
  12911. goodunitid:
  12912. description: 报价单位ID
  12913. type: integer
  12914. logincode:
  12915. description: 登录代码(账户)
  12916. type: string
  12917. marketid:
  12918. description: 市场id
  12919. type: integer
  12920. offamount:
  12921. description: 优惠金额
  12922. type: number
  12923. operatetype:
  12924. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12925. type: integer
  12926. payamount:
  12927. description: 支付金额(金额)
  12928. type: number
  12929. payflag:
  12930. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12931. type: integer
  12932. paylimitedtime:
  12933. description: 支付期限
  12934. type: string
  12935. paytime:
  12936. description: 付款时间
  12937. type: string
  12938. qtydecimalplace:
  12939. description: 成交量小数位
  12940. type: integer
  12941. sellaccountid:
  12942. description: 卖方账号ID[报价币种]
  12943. type: integer
  12944. sellorderid:
  12945. description: 卖方委托单号
  12946. type: string
  12947. tradeamount:
  12948. description: 成交金额(优惠后金额)
  12949. type: number
  12950. tradecharge:
  12951. description: 成交手续费(买方)
  12952. type: number
  12953. tradedate:
  12954. description: 交易日(yyyyMMdd)
  12955. type: string
  12956. tradeid:
  12957. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12958. type: string
  12959. trademode:
  12960. description: 交易模式
  12961. type: integer
  12962. tradeprice:
  12963. description: 成交价格(价格)
  12964. type: number
  12965. tradeqty:
  12966. description: 成交数量(数量)
  12967. type: number
  12968. tradetime:
  12969. description: 成交时间
  12970. type: string
  12971. userid:
  12972. description: 用户id
  12973. type: integer
  12974. userinfotype:
  12975. description: 账户类型 1-个人 2-企业
  12976. type: integer
  12977. type: object
  12978. models.QhjMyTeamEx:
  12979. properties:
  12980. accountname:
  12981. description: 用户名称
  12982. type: string
  12983. accountstatus:
  12984. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12985. type: integer
  12986. createtime:
  12987. description: 创建时间
  12988. type: string
  12989. mobile:
  12990. description: 手机号码
  12991. type: string
  12992. refereeuserid:
  12993. description: 推荐人id
  12994. type: integer
  12995. refernum:
  12996. description: 推荐码
  12997. type: string
  12998. subList:
  12999. items:
  13000. $ref: '#/definitions/models.QhjMyTeamEx'
  13001. type: array
  13002. userid:
  13003. description: 用户id
  13004. type: integer
  13005. userinfotype:
  13006. description: 用户类型 1-个人 2-企业
  13007. type: integer
  13008. type: object
  13009. models.QhjNodeAgreementConfig:
  13010. properties:
  13011. agreementcontent:
  13012. description: 协议内容
  13013. type: string
  13014. agreementid:
  13015. description: 协议ID
  13016. type: integer
  13017. agreementname:
  13018. description: 协议名称
  13019. type: string
  13020. agreementno:
  13021. description: 协议编号
  13022. type: string
  13023. agreementtype:
  13024. description: 协议类型 - 1:注册 2:登录 3:交易
  13025. type: integer
  13026. agreementversion:
  13027. description: 协议版本号
  13028. type: integer
  13029. configid:
  13030. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13031. type: integer
  13032. createtime:
  13033. description: 创建时间
  13034. type: string
  13035. goodsid:
  13036. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13037. type: integer
  13038. nodetype:
  13039. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13040. type: integer
  13041. type: object
  13042. models.QhjParentAreaList:
  13043. properties:
  13044. accountname:
  13045. description: 账户名称(机构名称)
  13046. type: string
  13047. userid:
  13048. description: 用户ID
  13049. type: integer
  13050. usertype:
  13051. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13052. type: integer
  13053. type: object
  13054. models.QhjPayOrder:
  13055. properties:
  13056. advanceratio:
  13057. description: 首付比率
  13058. type: number
  13059. buyaccountid:
  13060. description: 买方账号ID[报价币种]
  13061. type: integer
  13062. buyorderid:
  13063. description: 买方委托单号
  13064. type: string
  13065. createtime:
  13066. description: 创建时间
  13067. type: string
  13068. decimalplace:
  13069. description: 商品报价小数位
  13070. type: integer
  13071. enumdicname:
  13072. description: 单位名称
  13073. type: string
  13074. goodscode:
  13075. description: 商品代码
  13076. type: string
  13077. goodsid:
  13078. description: 商品ID
  13079. type: integer
  13080. goodsname:
  13081. description: 商品名称
  13082. type: string
  13083. goodunitid:
  13084. description: 商品单位id
  13085. type: integer
  13086. marketid:
  13087. description: 市场ID
  13088. type: integer
  13089. offamount:
  13090. description: 优惠金额
  13091. type: number
  13092. operatetype:
  13093. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13094. type: integer
  13095. payamount:
  13096. description: 支付金额
  13097. type: number
  13098. payflag:
  13099. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13100. type: integer
  13101. paylimitedtime:
  13102. description: 支付期限
  13103. type: string
  13104. paytime:
  13105. description: 付款时间
  13106. type: string
  13107. qtydecimalplace:
  13108. description: 成交量小数位
  13109. type: integer
  13110. sellaccountid:
  13111. description: 卖方账号ID[报价币种]
  13112. type: integer
  13113. sellorderid:
  13114. description: 卖方委托单号
  13115. type: string
  13116. tradeamount:
  13117. description: 成交金额(优惠后金额)
  13118. type: number
  13119. tradecharge:
  13120. description: 成交手续费(买方)
  13121. type: number
  13122. tradedate:
  13123. description: 交易日(yyyyMMdd)
  13124. type: string
  13125. tradeid:
  13126. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13127. type: string
  13128. tradeprice:
  13129. description: 成交价格
  13130. type: number
  13131. tradeqty:
  13132. description: 成交数量
  13133. type: number
  13134. type: object
  13135. models.QhjPickArea:
  13136. properties:
  13137. address:
  13138. description: 详细地址
  13139. type: string
  13140. cityid:
  13141. description: 市
  13142. type: integer
  13143. cityname:
  13144. description: 城市名称
  13145. type: string
  13146. countryid:
  13147. description: 国家
  13148. type: integer
  13149. countryname:
  13150. description: 国家名称
  13151. type: string
  13152. districtid:
  13153. description: 地区
  13154. type: integer
  13155. districtname:
  13156. description: 地区名称
  13157. type: string
  13158. fromuserid:
  13159. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13160. type: integer
  13161. fromusername:
  13162. description: 所属机构名称
  13163. type: string
  13164. provinceid:
  13165. description: 省
  13166. type: integer
  13167. provincename:
  13168. description: 省名称
  13169. type: string
  13170. suborgtype:
  13171. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13172. type: integer
  13173. userid:
  13174. description: 机构用户ID 其他做市关系,都设置为 1
  13175. type: integer
  13176. username:
  13177. description: 机构用户名称(门店门称)
  13178. type: string
  13179. type: object
  13180. models.QhjPickGoods:
  13181. properties:
  13182. enumdicname:
  13183. description: 单位名称(提货商品)
  13184. type: string
  13185. goodsid:
  13186. description: 商品id
  13187. type: integer
  13188. imageaddress:
  13189. description: 图片
  13190. type: string
  13191. modifierid:
  13192. description: 修改人
  13193. type: integer
  13194. modifiername:
  13195. description: 修改人名称
  13196. type: string
  13197. modifysrc:
  13198. description: 修改来源 - 1:管理端 2:终端
  13199. type: integer
  13200. pickupgoodsagreeunit:
  13201. description: 合约乘数
  13202. type: number
  13203. pickupgoodsdesc:
  13204. description: 描述
  13205. type: string
  13206. pickupgoodsid:
  13207. description: 提货商品ID
  13208. type: string
  13209. pickupgoodsname:
  13210. description: 提货商品名称
  13211. type: string
  13212. pickupgoodsstatus:
  13213. description: 状态 - 1:正常 2:停用 3:注销
  13214. type: integer
  13215. pickupgoodsunitid:
  13216. description: 单位ID
  13217. type: integer
  13218. pickupratio:
  13219. description: 提货系数
  13220. type: number
  13221. preparedays:
  13222. description: 备货期(天)
  13223. type: integer
  13224. remark:
  13225. description: 备注
  13226. type: string
  13227. updatetime:
  13228. description: 更新时间
  13229. type: string
  13230. type: object
  13231. models.QhjRSTriggerLog:
  13232. properties:
  13233. accountid:
  13234. description: 用户资金账户
  13235. type: integer
  13236. accountname:
  13237. description: 账号名称(ACCOUNTID对应的名称)
  13238. type: string
  13239. currencyid:
  13240. description: 币种id
  13241. type: integer
  13242. currencyname:
  13243. description: 币种名称
  13244. type: string
  13245. decimalplace:
  13246. description: 商品报价小数位
  13247. type: integer
  13248. enumdicname:
  13249. description: 单位名称
  13250. type: string
  13251. goodscode:
  13252. description: 定投商品代码
  13253. type: string
  13254. goodsid:
  13255. description: 定投商品ID
  13256. type: integer
  13257. goodsname:
  13258. description: 定投商品名称
  13259. type: string
  13260. goodunitid:
  13261. description: 定投商品单位id
  13262. type: integer
  13263. logid:
  13264. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13265. type: string
  13266. logincode:
  13267. description: 账号(登录代码)
  13268. type: string
  13269. qtydecimalplace:
  13270. description: 成交量小数位
  13271. type: integer
  13272. regularlycycle:
  13273. description: 定投频率 - 1:每周 2:每月
  13274. type: integer
  13275. regularlycyclevalue:
  13276. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13277. type: string
  13278. regularlymode:
  13279. description: 定投方式 - 1:按数量 2:按金额
  13280. type: integer
  13281. regularlymodevalue:
  13282. description: 定投方式值 - 数量或金额
  13283. type: number
  13284. regularlystrategyid:
  13285. description: 定投策略ID
  13286. type: integer
  13287. retcode:
  13288. description: 错误码
  13289. type: string
  13290. tradeid:
  13291. description: 成交单ID
  13292. type: string
  13293. triggeramount:
  13294. description: 触发金额
  13295. type: number
  13296. triggerqty:
  13297. description: 触发数量
  13298. type: number
  13299. triggerstatus:
  13300. description: 触发状态 - 1:成功 2:失败
  13301. type: integer
  13302. triggertime:
  13303. description: 触发时间
  13304. type: string
  13305. triggertradedate:
  13306. description: 触发交易日
  13307. type: string
  13308. userid:
  13309. description: 所属用户ID
  13310. type: integer
  13311. userinfotype:
  13312. description: 用户类型 1-个人 2-企业
  13313. type: integer
  13314. username:
  13315. description: 用户名称(userid对应的名称)
  13316. type: string
  13317. type: object
  13318. models.QhjRStrategy:
  13319. properties:
  13320. accountid:
  13321. description: 用户资金账户
  13322. type: integer
  13323. accountname:
  13324. description: 账号名称(ACCOUNTID对应的名称)
  13325. type: string
  13326. currencyid:
  13327. description: 币种id
  13328. type: integer
  13329. currencyname:
  13330. description: 币种名称
  13331. type: string
  13332. decimalplace:
  13333. description: 商品报价小数位
  13334. type: integer
  13335. enumdicname:
  13336. description: 单位名称
  13337. type: string
  13338. goodscode:
  13339. description: 定投商品代码
  13340. type: string
  13341. goodsid:
  13342. description: 定投商品ID
  13343. type: integer
  13344. goodsname:
  13345. description: 定投商品名称
  13346. type: string
  13347. goodunitid:
  13348. description: 定投商品单位id
  13349. type: integer
  13350. lasteffecttradedate:
  13351. description: 最新生效交易日
  13352. type: string
  13353. laststoptradedate:
  13354. description: 最新暂停交易日
  13355. type: string
  13356. lasttriggertradedate:
  13357. description: 最新触发交易日
  13358. type: string
  13359. logincode:
  13360. description: 账号(登录代码)
  13361. type: string
  13362. nexttriggeramount:
  13363. description: 下次触发金额
  13364. type: number
  13365. nexttriggerdate:
  13366. description: 下次触发日期
  13367. type: string
  13368. nexttriggerqty:
  13369. description: 下次触发数量 [按小数位放大值]
  13370. type: number
  13371. qtydecimalplace:
  13372. description: 成交量小数位
  13373. type: integer
  13374. regularlycycle:
  13375. description: 定投频率 - 1:每周 2:每月
  13376. type: integer
  13377. regularlycyclevalue:
  13378. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13379. type: string
  13380. regularlymode:
  13381. description: 定投方式 - 1:按数量 2:按金额
  13382. type: integer
  13383. regularlymodevalue:
  13384. description: 定投方式值 - 数量或金额
  13385. type: number
  13386. regularlystrategyid:
  13387. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13388. type: integer
  13389. regularlystrategystatus:
  13390. description: 策略状态 - 1:正常 2:暂停 3:终止
  13391. type: integer
  13392. remark:
  13393. description: 备注
  13394. type: string
  13395. triggersuccesstimes:
  13396. description: 累计定投成功次数
  13397. type: string
  13398. triggertotalamount:
  13399. description: 累计定投金额(成功)
  13400. type: number
  13401. triggertotalqty:
  13402. description: 累计定投数量(成功) [按小数位放大值]
  13403. type: number
  13404. triggertotaltimes:
  13405. description: 累计定投总次数
  13406. type: string
  13407. updatesrc:
  13408. description: 更新来源 - 1:管理端 2:终端
  13409. type: integer
  13410. updatetime:
  13411. description: 更新时间
  13412. type: string
  13413. updatorid:
  13414. description: 更新人
  13415. type: string
  13416. userid:
  13417. description: 所属用户ID
  13418. type: integer
  13419. userinfotype:
  13420. description: 用户类型 1-个人 2-企业
  13421. type: integer
  13422. username:
  13423. description: 用户名称(userid对应的名称)
  13424. type: string
  13425. type: object
  13426. models.QhjReckonPriceLog:
  13427. properties:
  13428. decimalplace:
  13429. description: 商品报价小数位
  13430. type: integer
  13431. goodscode:
  13432. description: 商品代码
  13433. type: string
  13434. goodsid:
  13435. description: 商品ID
  13436. type: integer
  13437. goodsname:
  13438. description: 商品名称
  13439. type: string
  13440. lastreckonprice:
  13441. description: 上日结算价
  13442. type: number
  13443. nextdnlimitprice:
  13444. description: 下个交易日跌停价
  13445. type: number
  13446. nexttrade:
  13447. description: 下个交易日
  13448. type: string
  13449. nextuplimitprice:
  13450. description: 下个交易日涨停价
  13451. type: number
  13452. reckonprice:
  13453. description: 今日结算价(定投价)
  13454. type: number
  13455. reckontime:
  13456. description: 结算时间
  13457. type: string
  13458. totalholderqty:
  13459. description: 总持仓数
  13460. type: integer
  13461. totalstock:
  13462. description: 总库存
  13463. type: integer
  13464. tradedate:
  13465. description: 交易日
  13466. type: string
  13467. updowncount:
  13468. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13469. type: integer
  13470. updownflag:
  13471. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13472. type: integer
  13473. updownrate:
  13474. description: 今日涨跌幅
  13475. type: number
  13476. updownrate_2d:
  13477. description: 连续两日涨跌幅
  13478. type: number
  13479. updownrate_3d:
  13480. description: 连续三日涨跌幅
  13481. type: number
  13482. type: object
  13483. models.QhjScoreLog:
  13484. properties:
  13485. accountid:
  13486. description: 账户ID
  13487. type: integer
  13488. createtime:
  13489. description: 创建时间(时间)
  13490. type: string
  13491. goodsid:
  13492. description: 商品ID
  13493. type: integer
  13494. hasuploaded:
  13495. description: 是否已同步(千海金) 0:未同步 1;已同步
  13496. type: integer
  13497. logid:
  13498. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13499. type: string
  13500. marketid:
  13501. description: 市场ID
  13502. type: integer
  13503. relatedamount:
  13504. description: 关联金额
  13505. type: number
  13506. relatedorderid:
  13507. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13508. type: string
  13509. scoreconfigvalue1:
  13510. description: 积分配置1
  13511. type: integer
  13512. scoreconfigvalue2:
  13513. description: 积分配置1
  13514. type: integer
  13515. scoretype:
  13516. description: 积分类型 - 1:提货积分
  13517. type: integer
  13518. scorevalue:
  13519. description: 积分
  13520. type: number
  13521. tradedate:
  13522. description: 交易日(yyyyMMdd)
  13523. type: string
  13524. uploadedtime:
  13525. description: 同步时间
  13526. type: string
  13527. userid:
  13528. description: 用户ID
  13529. type: integer
  13530. type: object
  13531. models.QhjSiteColumnDetail:
  13532. properties:
  13533. author:
  13534. description: 作者
  13535. type: string
  13536. brief:
  13537. description: 简介
  13538. type: string
  13539. columnid:
  13540. description: 所属栏目
  13541. type: integer
  13542. context:
  13543. description: 内容
  13544. type: string
  13545. coverimage:
  13546. description: 封面图片
  13547. type: string
  13548. creaedate:
  13549. description: 创建时间
  13550. type: string
  13551. creatorid:
  13552. description: 创建人
  13553. type: integer
  13554. hits:
  13555. description: 点击数
  13556. type: integer
  13557. id:
  13558. description: ID(SEQ_SITE_COLUMNDETAIL)
  13559. type: integer
  13560. isshow:
  13561. description: 是否展示 - 0:不展示 1:展示
  13562. type: integer
  13563. istop:
  13564. description: 是否置顶 - 0:不置 1:置顶
  13565. type: integer
  13566. modifierid:
  13567. description: 操作人
  13568. type: integer
  13569. publishdate:
  13570. description: 发布日期
  13571. type: string
  13572. status:
  13573. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13574. type: integer
  13575. title:
  13576. description: 标题
  13577. type: string
  13578. updatedate:
  13579. description: 修改时间
  13580. type: string
  13581. userid:
  13582. description: 用户ID(默认为0, 核心为为机构用户ID)
  13583. type: integer
  13584. username:
  13585. description: 用户名称
  13586. type: string
  13587. type: object
  13588. models.QhjTeamOrder:
  13589. properties:
  13590. accountid:
  13591. description: 账户ID[报价币种]
  13592. type: integer
  13593. accountname:
  13594. description: 账户名称
  13595. type: string
  13596. agreeunit:
  13597. description: 合约乘数
  13598. type: number
  13599. buyorsell:
  13600. description: 方向 - 0:买 1:卖
  13601. type: integer
  13602. decimalplace:
  13603. description: 报价小数位
  13604. type: integer
  13605. enumdicname:
  13606. description: 单位名称
  13607. type: string
  13608. goodscode:
  13609. description: 商品代码(内部)
  13610. type: string
  13611. goodsid:
  13612. description: 商品ID
  13613. type: integer
  13614. goodsname:
  13615. description: 商品名称
  13616. type: string
  13617. goodunitid:
  13618. description: 报价单位ID
  13619. type: integer
  13620. marketid:
  13621. description: 市场ID
  13622. type: integer
  13623. marketname:
  13624. description: 市场名称
  13625. type: string
  13626. qtydecimalplace:
  13627. description: 成交量小数位
  13628. type: integer
  13629. refereeuserid:
  13630. description: 推荐人ID
  13631. type: integer
  13632. tradeamount:
  13633. description: 成交金额[账户币种,用于所有权]
  13634. type: number
  13635. tradedate:
  13636. description: 交易日(yyyyMMdd)
  13637. type: string
  13638. trademode:
  13639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13640. 21:竞拍-大宗式 22:受托竞价
  13641. type: integer
  13642. tradeprice:
  13643. description: 成交价格
  13644. type: number
  13645. tradeqty:
  13646. description: 成交数量
  13647. type: number
  13648. tradetime:
  13649. description: 成交时间
  13650. type: string
  13651. userid:
  13652. description: 用户ID
  13653. type: integer
  13654. type: object
  13655. models.QhjTradeGoodsPickup:
  13656. properties:
  13657. accountid:
  13658. description: 账户ID
  13659. type: integer
  13660. address:
  13661. description: 提货人详细地址
  13662. type: string
  13663. amount:
  13664. description: 提货金额
  13665. type: number
  13666. artradedate:
  13667. description: 自动收货交易日(yyyyMMdd)
  13668. type: string
  13669. auditer:
  13670. description: 审核人
  13671. type: integer
  13672. auditsrc:
  13673. description: 更新来源 - 1:管理端 2:终端
  13674. type: integer
  13675. audittime:
  13676. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13677. type: string
  13678. audittradedate:
  13679. description: 审核交易日(yyyyMMdd)
  13680. type: string
  13681. cardnum:
  13682. description: 提货人证件号码
  13683. type: string
  13684. cardtypeid:
  13685. description: 提货人证件类型
  13686. type: integer
  13687. checkremark:
  13688. description: 审核备注
  13689. type: string
  13690. cityid:
  13691. description: 市
  13692. type: integer
  13693. cityname:
  13694. description: 城市名称
  13695. type: string
  13696. confirmtime:
  13697. description: 取货时间 或 收货时间
  13698. type: string
  13699. countryid:
  13700. description: 国家
  13701. type: integer
  13702. countryname:
  13703. description: 国家名称
  13704. type: string
  13705. decimalplace:
  13706. description: 商品报价小数位
  13707. type: integer
  13708. districtid:
  13709. description: 地区
  13710. type: integer
  13711. districtname:
  13712. description: 地区名称
  13713. type: string
  13714. enumdicname:
  13715. description: 单位名称(提货商品)
  13716. type: string
  13717. expresscompany:
  13718. description: 物流公司
  13719. type: string
  13720. expressnum:
  13721. description: 物流单号
  13722. type: string
  13723. goodsagreeunit:
  13724. description: 交易商品乘数
  13725. type: number
  13726. goodscode:
  13727. description: 商品代码
  13728. type: string
  13729. goodsid:
  13730. description: 商品ID
  13731. type: integer
  13732. goodsname:
  13733. description: 商品名称
  13734. type: string
  13735. goodsqty:
  13736. description: 交易商品手数(69模式按成交量小数位放大取整)
  13737. type: number
  13738. handlestatus:
  13739. description: 处理状态
  13740. type: integer
  13741. logincode:
  13742. description: 账号(登录代码, 有可能为空)
  13743. type: string
  13744. marketid:
  13745. description: 市场ID
  13746. type: integer
  13747. phonenum:
  13748. description: 提货人联系方式
  13749. type: string
  13750. pickupgoodsagreeunit:
  13751. description: 提货商品合约乘数
  13752. type: number
  13753. pickupgoodsid:
  13754. description: 提货商品ID
  13755. type: string
  13756. pickupgoodsname:
  13757. description: 提货商品名称
  13758. type: string
  13759. pickupgoodsqty:
  13760. description: 提货商品手数(数量)
  13761. type: number
  13762. pickupgoodsunitid:
  13763. description: 单位ID(提货商品)
  13764. type: integer
  13765. pickupratio:
  13766. description: 提货系数
  13767. type: number
  13768. preparedays:
  13769. description: 备货期(天)-提货单明细表
  13770. type: integer
  13771. provinceid:
  13772. description: 省
  13773. type: integer
  13774. provincename:
  13775. description: 省名称
  13776. type: string
  13777. qty:
  13778. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13779. type: number
  13780. qtydecimalplace:
  13781. description: 商品数量小数位
  13782. type: integer
  13783. recivername:
  13784. description: 提货人姓名
  13785. type: string
  13786. reqtime:
  13787. description: 提货申请时间
  13788. type: string
  13789. storeuserid:
  13790. description: 门店用户ID (千海金)
  13791. type: integer
  13792. storeusername:
  13793. description: 门店用户名称
  13794. type: string
  13795. takemode:
  13796. description: 提货方式 - 2:自提 3:配送(邮寄)
  13797. type: integer
  13798. takeorderid:
  13799. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13800. type: string
  13801. takeorderstatus:
  13802. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13803. 7:已拒绝 8:已撤销
  13804. type: integer
  13805. takeremark:
  13806. description: 提货备注
  13807. type: string
  13808. tradedate:
  13809. description: 交易日(yyyyMMdd)
  13810. type: string
  13811. updatetime:
  13812. description: 更新时间
  13813. type: string
  13814. userid:
  13815. description: 用户ID
  13816. type: integer
  13817. userinfotype:
  13818. description: 客户类型 1-个人 2-企业
  13819. type: integer
  13820. username:
  13821. description: 用户名称
  13822. type: string
  13823. type: object
  13824. models.QhjUserNodeCfgAndStatus:
  13825. properties:
  13826. agreementcontent:
  13827. description: 协议内容
  13828. type: string
  13829. agreementid:
  13830. description: 协议ID
  13831. type: integer
  13832. agreementname:
  13833. description: 协议名称
  13834. type: string
  13835. agreementno:
  13836. description: 协议编号
  13837. type: string
  13838. agreementtype:
  13839. description: 协议类型 - 1:注册 2:登录 3:交易
  13840. type: integer
  13841. agreementversion:
  13842. description: 协议版本号
  13843. type: integer
  13844. configid:
  13845. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13846. type: integer
  13847. createtime:
  13848. description: 创建时间
  13849. type: string
  13850. goodsid:
  13851. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13852. type: integer
  13853. nodetype:
  13854. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13855. type: integer
  13856. signtimestamp:
  13857. description: 签约状态时间戳(最近一次)
  13858. type: string
  13859. tradedate:
  13860. description: 签约交易日(yyyyMMdd)
  13861. type: string
  13862. userid:
  13863. description: 客户ID
  13864. type: integer
  13865. type: object
  13866. models.Qhjgoodsex:
  13867. properties:
  13868. canfinance:
  13869. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13870. type: integer
  13871. canregularlybuy:
  13872. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13873. type: integer
  13874. defaulttradeuserid:
  13875. description: 默认交易用户ID
  13876. type: integer
  13877. deliverygoodsid:
  13878. description: 现货品种ID
  13879. type: integer
  13880. goodsid:
  13881. description: 商品ID(自增ID SEQ_GOODS)
  13882. type: integer
  13883. minamount:
  13884. description: 最小购买金额
  13885. type: number
  13886. regularlybuyminamount:
  13887. description: 定投最小金额
  13888. type: number
  13889. regularlybuyminqty:
  13890. description: 定投最小数量
  13891. type: number
  13892. spotgoodsbrandid:
  13893. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13894. type: integer
  13895. visibilityforenterprise:
  13896. description: 企业客户是否可见 - 0:不可见 1:可见
  13897. type: integer
  13898. visibilityforpersonal:
  13899. description: 个人客户是否可见 - 0:不可见 1:可见
  13900. type: integer
  13901. wrstandardid:
  13902. description: 现货商品ID
  13903. type: integer
  13904. type: object
  13905. models.QueryErrorInfosRsp:
  13906. properties:
  13907. description:
  13908. description: 异常描述
  13909. type: string
  13910. errorcode:
  13911. description: 异常代码
  13912. type: string
  13913. errorid:
  13914. description: 异常ID
  13915. type: integer
  13916. modulecode:
  13917. description: 所属模块
  13918. type: string
  13919. operatecode:
  13920. description: 所属操作
  13921. type: string
  13922. rownumber:
  13923. description: 行号
  13924. type: string
  13925. required:
  13926. - errorid
  13927. type: object
  13928. models.QueryHedgeOrderDetailRsp:
  13929. properties:
  13930. accountid:
  13931. description: 账户ID
  13932. type: integer
  13933. buyorsell:
  13934. description: 买卖 - 0:买 1:卖
  13935. type: integer
  13936. cancellogincode:
  13937. description: 撤单人
  13938. type: string
  13939. channelbuildtype:
  13940. description: 开平标志 - 0:无 1:建仓 2:平仓
  13941. type: integer
  13942. channelinnerorderstatus:
  13943. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13944. 9:全部成交
  13945. type: integer
  13946. channeloperatetype:
  13947. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13948. type: integer
  13949. closetype:
  13950. description: 平仓方式 - 0:无 1:平今 2:平昨
  13951. type: integer
  13952. curexchangerate:
  13953. description: 当前汇率
  13954. type: number
  13955. decimalplace:
  13956. description: 商品报价小数位
  13957. type: integer
  13958. exchangefullname:
  13959. description: 外部交易所全称
  13960. type: string
  13961. goodscode:
  13962. description: 商品代码(内部)
  13963. type: string
  13964. goodsid:
  13965. description: 商品ID
  13966. type: integer
  13967. goodsname:
  13968. description: 商品名称
  13969. type: string
  13970. marketid:
  13971. description: 市场ID
  13972. type: integer
  13973. openfreezemargin:
  13974. description: 冻结保证金(冻结交易金额)
  13975. type: number
  13976. orderid:
  13977. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13978. type: string
  13979. orderlogincode:
  13980. description: 委托人
  13981. type: string
  13982. orderprice:
  13983. description: 委托价格(账户)
  13984. type: number
  13985. orderqty:
  13986. description: 委托数量
  13987. type: integer
  13988. ordertime:
  13989. description: 委托时间
  13990. type: string
  13991. pricemode:
  13992. description: '取价方式 - 1:市价 2: 限价'
  13993. type: integer
  13994. tradedate:
  13995. description: 交易日(yyyyMMdd)
  13996. type: string
  13997. tradeqty:
  13998. description: 成交数量
  13999. type: integer
  14000. type: object
  14001. models.QueryHedgeTradeDetailRsp:
  14002. properties:
  14003. accountid:
  14004. description: 账号ID
  14005. type: integer
  14006. buyorsell:
  14007. description: 方向 - 0:买 1:卖
  14008. type: integer
  14009. channelbuildtype:
  14010. description: 委托单据类型 0:无 1:建仓 2:平仓
  14011. type: integer
  14012. closecharge:
  14013. description: 平仓手续费(账户)
  14014. type: number
  14015. closecharge2:
  14016. description: 平仓手续费(商品)
  14017. type: number
  14018. closepl:
  14019. description: 平仓盈亏(账户)
  14020. type: number
  14021. closepl2:
  14022. description: 平仓盈亏(商品)
  14023. type: number
  14024. closepl3:
  14025. description: 平仓盈亏(账户)(逐笔)
  14026. type: number
  14027. closepl4:
  14028. description: 平仓盈亏(商品)(逐笔)
  14029. type: number
  14030. closetype:
  14031. description: 平仓方式 - 0:无 1:平今 2:平昨
  14032. type: integer
  14033. curexchangerate:
  14034. description: 当前汇率
  14035. type: number
  14036. decimalplace:
  14037. description: 商品报价小数位
  14038. type: integer
  14039. exchangefullname:
  14040. description: 外部交易所全称
  14041. type: string
  14042. goodscode:
  14043. description: 商品代码(内部)
  14044. type: string
  14045. goodsid:
  14046. description: 商品ID
  14047. type: integer
  14048. goodsname:
  14049. description: 商品名称
  14050. type: string
  14051. marketid:
  14052. description: 市场ID
  14053. type: integer
  14054. opencharge:
  14055. description: 建仓手续费(账户)
  14056. type: number
  14057. opencharge2:
  14058. description: 建仓手续费(商品)
  14059. type: number
  14060. orderid:
  14061. description: 委托单号
  14062. type: string
  14063. orderlogincode:
  14064. description: 委托人
  14065. type: string
  14066. tradeamount:
  14067. description: 成交金额(账户)
  14068. type: number
  14069. tradedate:
  14070. description: 交易日(yyyyMMdd)
  14071. type: string
  14072. tradeid:
  14073. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14074. type: string
  14075. tradeprice:
  14076. description: 成交价格
  14077. type: number
  14078. tradeqty:
  14079. description: 成交数量
  14080. type: integer
  14081. tradetime:
  14082. description: 成交时间
  14083. type: string
  14084. tradetype:
  14085. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14086. type: integer
  14087. type: object
  14088. models.QuotePrimaryMenu:
  14089. properties:
  14090. Index:
  14091. description: 序号
  14092. type: integer
  14093. Key:
  14094. description: 键名
  14095. type: string
  14096. Name:
  14097. description: 菜单名称
  14098. type: string
  14099. SubMenus:
  14100. description: 子菜单
  14101. items:
  14102. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14103. type: array
  14104. SubTitleType:
  14105. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14106. type: integer
  14107. TradeModes:
  14108. description: 包含市场交易类型
  14109. type: string
  14110. type: object
  14111. models.QuoteSecondaryMenu:
  14112. properties:
  14113. ExExchangeCode:
  14114. description: 外部交易所代码
  14115. type: string
  14116. ExExchangeID:
  14117. description: 外部交易所ID
  14118. type: integer
  14119. GoodsGroupIDs:
  14120. description: 商品组ID列表
  14121. items:
  14122. type: integer
  14123. type: array
  14124. Index:
  14125. description: 序号
  14126. type: integer
  14127. MarketID:
  14128. description: 市场ID
  14129. type: integer
  14130. MenuTitle:
  14131. description: 菜单标题(市场名称或外部交易所名称)
  14132. type: string
  14133. TradeMode:
  14134. description: 交易模式
  14135. type: integer
  14136. type: object
  14137. models.RelatedTaAccount:
  14138. properties:
  14139. accountid:
  14140. description: 资金账户ID
  14141. type: integer
  14142. type: object
  14143. models.RoleMenu:
  14144. properties:
  14145. hasright:
  14146. description: 是否有权限 0-没有权限 1-有权限
  14147. type: integer
  14148. iconame:
  14149. description: 菜单图标
  14150. type: string
  14151. menutype:
  14152. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14153. type: integer
  14154. parentcode:
  14155. description: 上级资源代码
  14156. type: string
  14157. remark:
  14158. description: 菜单备注
  14159. type: string
  14160. resourcecode:
  14161. description: 菜单代码
  14162. type: string
  14163. resourcelevel:
  14164. description: 级别
  14165. type: integer
  14166. resourcename:
  14167. description: 菜单名称
  14168. type: string
  14169. roleid:
  14170. description: 角色id
  14171. type: integer
  14172. sort:
  14173. description: 排序
  14174. type: integer
  14175. subMenu:
  14176. description: 子级菜单(结构同上层一样, swag解析不出来)
  14177. items:
  14178. $ref: '#/definitions/models.RoleMenu'
  14179. type: array
  14180. url:
  14181. description: URL
  14182. type: string
  14183. userid:
  14184. description: 用户id
  14185. type: integer
  14186. type: object
  14187. models.SearchGoods:
  14188. properties:
  14189. goodscode:
  14190. description: 商品代码(内部)
  14191. type: string
  14192. goodsid:
  14193. description: 商品ID(自增ID SEQ_GOODS)
  14194. type: integer
  14195. goodsname:
  14196. description: 商品名称
  14197. type: string
  14198. marketid:
  14199. description: 所属市场ID
  14200. type: integer
  14201. marketname:
  14202. description: 市场名称
  14203. type: string
  14204. trademode:
  14205. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14206. 21:竞拍-大宗式 22:受托竞价
  14207. type: integer
  14208. required:
  14209. - goodscode
  14210. - goodsid
  14211. - goodsname
  14212. - marketid
  14213. - trademode
  14214. type: object
  14215. models.Systemparam:
  14216. properties:
  14217. loginid:
  14218. description: 更新用户账号,登录账号
  14219. type: string
  14220. modifyflag:
  14221. description: 修改标志0 不允许修改 1 允许修改
  14222. type: integer
  14223. paramcode:
  14224. description: 参数代码
  14225. type: string
  14226. paramname:
  14227. description: 参数名
  14228. type: string
  14229. paramtype:
  14230. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14231. type: integer
  14232. paramvalue:
  14233. description: 参数值
  14234. type: string
  14235. paramvalue2:
  14236. description: 参数值(CLOB)
  14237. type: string
  14238. regexpress:
  14239. description: 正则表达式
  14240. type: string
  14241. remark:
  14242. description: 备注
  14243. type: string
  14244. serverip:
  14245. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14246. type: string
  14247. showflag:
  14248. description: 是否显示0 不显示 1 显示
  14249. type: integer
  14250. updatetime:
  14251. description: 更新时间
  14252. type: string
  14253. userid:
  14254. description: 更新用户ID
  14255. type: integer
  14256. required:
  14257. - paramcode
  14258. type: object
  14259. models.Szdz3convertconfig:
  14260. properties:
  14261. canin:
  14262. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14263. type: integer
  14264. canout:
  14265. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14266. type: integer
  14267. converttype:
  14268. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14269. 6:交易转花生米(不设置)
  14270. type: integer
  14271. createtime:
  14272. description: 创建时间
  14273. type: string
  14274. creatorid:
  14275. description: 创建人
  14276. type: integer
  14277. daymaxvalue:
  14278. description: 当日最大转入限制
  14279. type: number
  14280. freezedays:
  14281. description: 冻结天数 [5:花生米转交易]
  14282. type: integer
  14283. innergoodsid:
  14284. description: 内部商品ID[交易]
  14285. type: integer
  14286. inratio:
  14287. description: 目标值
  14288. type: integer
  14289. modifierid:
  14290. description: 修改人
  14291. type: integer
  14292. modifytime:
  14293. description: 修改时间
  14294. type: string
  14295. outergoodscode:
  14296. description: 外部商品代码[JD\PD]
  14297. type: string
  14298. outratio:
  14299. description: 源值
  14300. type: integer
  14301. pddecimalplace:
  14302. description: PD小数位
  14303. type: integer
  14304. timemaxvalue:
  14305. description: 单次最大转入限制
  14306. type: number
  14307. timeminvalue:
  14308. description: 单次最小转入限制
  14309. type: number
  14310. required:
  14311. - converttype
  14312. - innergoodsid
  14313. - outergoodscode
  14314. type: object
  14315. models.Szdz3searchwhitelist:
  14316. properties:
  14317. createtime:
  14318. description: 创建时间
  14319. type: string
  14320. creatorid:
  14321. description: 创建人
  14322. type: integer
  14323. modifierid:
  14324. description: 修改人
  14325. type: integer
  14326. modifytime:
  14327. description: 修改时间
  14328. type: string
  14329. userid:
  14330. description: 用户ID
  14331. type: integer
  14332. required:
  14333. - userid
  14334. type: object
  14335. models.TBGoods:
  14336. properties:
  14337. agreeunit:
  14338. description: 合约乘数
  14339. type: number
  14340. enumdicname:
  14341. description: 单位名称
  14342. type: string
  14343. goodscode:
  14344. description: 商品代码(内部)
  14345. type: string
  14346. goodsid:
  14347. description: 商品ID(自增ID SEQ_GOODS)
  14348. type: integer
  14349. goodsname:
  14350. description: 商品名称
  14351. type: string
  14352. type: object
  14353. models.TBGoodsGroup:
  14354. properties:
  14355. GDLST:
  14356. description: 商品列表
  14357. items:
  14358. $ref: '#/definitions/models.TBGoods'
  14359. type: array
  14360. convertratio:
  14361. description: 折算系数
  14362. type: number
  14363. enumdicname:
  14364. description: 单位名称
  14365. type: string
  14366. exexchangecode:
  14367. description: 交易所代码
  14368. type: string
  14369. exexchangename:
  14370. description: 交易所名称
  14371. type: string
  14372. goodsgroupid:
  14373. description: 商品组ID(自增ID)
  14374. type: integer
  14375. goodsgroupname:
  14376. description: 商品组名称
  14377. type: string
  14378. goodunitid:
  14379. description: 报价单位ID
  14380. type: integer
  14381. type: object
  14382. models.TBMiddleGoods:
  14383. properties:
  14384. GPLST:
  14385. description: 期货品种列表
  14386. items:
  14387. $ref: '#/definitions/models.TBGoodsGroup'
  14388. type: array
  14389. WDLST:
  14390. description: 商品信息列表(现货品类)
  14391. items:
  14392. $ref: '#/definitions/models.TBWrstandard'
  14393. type: array
  14394. areauserid:
  14395. description: 机构用户ID
  14396. type: integer
  14397. enumdicname:
  14398. description: 单位名称
  14399. type: string
  14400. goodsunitid:
  14401. description: 套保品种单位id
  14402. type: integer
  14403. middlegoodscode:
  14404. description: 套保品种代码
  14405. type: string
  14406. middlegoodsid:
  14407. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14408. type: integer
  14409. middlegoodsname:
  14410. description: 套保品种名称
  14411. type: string
  14412. needarbitrageratio:
  14413. description: 套利比率
  14414. type: number
  14415. needhedgeratio:
  14416. description: 套保比率
  14417. type: number
  14418. type: object
  14419. models.TBWrstandard:
  14420. properties:
  14421. convertratio:
  14422. description: 折算系数
  14423. type: number
  14424. deliverygoodsname:
  14425. description: 品种名称
  14426. type: string
  14427. enumdicname:
  14428. description: 单位名称
  14429. type: string
  14430. vatrate:
  14431. description: 增值税率
  14432. type: number
  14433. wrstandardcode:
  14434. description: 现货商品代码
  14435. type: string
  14436. wrstandardid:
  14437. description: 现货商品ID(SEQ_WRSTANDARD)
  14438. type: integer
  14439. wrstandardname:
  14440. description: 现货商品名称
  14441. type: string
  14442. type: object
  14443. models.Taaccount:
  14444. properties:
  14445. accountflag:
  14446. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14447. type: integer
  14448. accountid:
  14449. description: 资金账户ID
  14450. type: integer
  14451. accountname:
  14452. description: 账户名称
  14453. type: string
  14454. balance:
  14455. description: 期初余额
  14456. type: number
  14457. capitalbalance:
  14458. description: 本金余额[外部子账户实际出入金余额]
  14459. type: number
  14460. changeflag:
  14461. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14462. type: integer
  14463. changetime:
  14464. description: 账户状态变更时间
  14465. type: string
  14466. closepl:
  14467. description: 今日平仓盈亏
  14468. type: number
  14469. creditdecrease:
  14470. description: 今日授信减少
  14471. type: number
  14472. creditincrease:
  14473. description: 今日授信增加
  14474. type: number
  14475. curamount:
  14476. description: 总市值(从持仓中统计)
  14477. type: number
  14478. currencyid:
  14479. description: 货币ID
  14480. type: integer
  14481. currentbalance:
  14482. description: 期末余额
  14483. type: number
  14484. freezecharge:
  14485. description: 手续费冻结
  14486. type: number
  14487. freezemargin:
  14488. description: 冻结保证金
  14489. type: number
  14490. fromaccountid:
  14491. description: 所属上级账户
  14492. type: integer
  14493. inamount:
  14494. description: 今日入金金额(包括三方入金)
  14495. type: number
  14496. ismain:
  14497. description: 是否母账号 0:不是母账户 1:是母账户
  14498. type: integer
  14499. ismarketaccount:
  14500. description: 是否机构接单账号 0:不是 1:是
  14501. type: integer
  14502. isreckonaccount:
  14503. description: 是否机构分润账号 0:不是 1:是
  14504. type: integer
  14505. mortgagecredit:
  14506. description: 授信金额
  14507. type: number
  14508. orifreezecharge:
  14509. description: 期初手续费冻结
  14510. type: number
  14511. orifreezemargin:
  14512. description: 期初冻结保证金
  14513. type: number
  14514. orimortgagecredit:
  14515. description: 期初授信金额
  14516. type: number
  14517. oriothercredit:
  14518. description: 期初其它授信金额
  14519. type: number
  14520. oriotherfreezemargin:
  14521. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14522. type: number
  14523. orioutamountfreeze:
  14524. description: 期初出金冻结
  14525. type: number
  14526. oriusedmargin:
  14527. description: 期初占用保证金
  14528. type: number
  14529. othercredit:
  14530. description: 其它授信金额
  14531. type: number
  14532. othercreditdecrease:
  14533. description: 今日其它授信减少
  14534. type: number
  14535. othercreditincrease:
  14536. description: 今日其它授信增加
  14537. type: number
  14538. otherfreezemargin:
  14539. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14540. type: number
  14541. otherincome:
  14542. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14543. type: number
  14544. otherpay:
  14545. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14546. type: number
  14547. outamount:
  14548. description: 今日出金金额(包括三方出金)
  14549. type: number
  14550. outamountfreeze:
  14551. description: 出金冻结
  14552. type: number
  14553. outthreshold:
  14554. description: 出金阈值
  14555. type: number
  14556. parentaccountid:
  14557. description: 所属根账号
  14558. type: integer
  14559. paycharge:
  14560. description: 今日手续费支出
  14561. type: number
  14562. relatedaccountstatus:
  14563. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14564. type: integer
  14565. relateduserid:
  14566. description: 关联用户
  14567. type: integer
  14568. remainamount:
  14569. description: 融资额(从融资合同中统计)
  14570. type: number
  14571. serivcegroup:
  14572. description: 服务分组
  14573. type: integer
  14574. signstatus:
  14575. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14576. type: integer
  14577. sublevelpath:
  14578. description: 账号层级路径(逗号分隔,首尾加逗号)
  14579. type: string
  14580. taaccounttype:
  14581. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14582. type: integer
  14583. thirdinamount:
  14584. description: 今日三方入金
  14585. type: number
  14586. thirdoutamount:
  14587. description: 今日三方出金
  14588. type: number
  14589. tradestatus:
  14590. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14591. type: integer
  14592. tradestatuschangetime:
  14593. description: 激活时间
  14594. type: string
  14595. transferamount:
  14596. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14597. type: number
  14598. usedmargin:
  14599. description: 占用保证金
  14600. type: number
  14601. userid:
  14602. description: 用户ID
  14603. type: integer
  14604. required:
  14605. - accountid
  14606. - userid
  14607. type: object
  14608. models.Tablecolumnconfig:
  14609. properties:
  14610. aligntype:
  14611. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14612. type: integer
  14613. autoid:
  14614. description: AutoID
  14615. type: integer
  14616. columnfield:
  14617. description: 列字段
  14618. type: string
  14619. columntitle:
  14620. description: 列Title
  14621. type: string
  14622. columnwidth:
  14623. description: 列宽
  14624. type: string
  14625. formatterstring:
  14626. description: 格式化字符
  14627. type: string
  14628. formattertype:
  14629. description: 格式化类型
  14630. type: string
  14631. groupname:
  14632. description: 表头分组名称
  14633. type: string
  14634. isshow:
  14635. description: 是否显示 - 0:不显示 1:显示
  14636. type: integer
  14637. needsummary:
  14638. description: 是否需要汇总 - 0:不需要 1:需要
  14639. type: integer
  14640. orderindex:
  14641. description: 顺序
  14642. type: integer
  14643. remark:
  14644. description: 备注
  14645. type: string
  14646. summarytype:
  14647. description: 汇总类型 - 1:加总 2:最后一个
  14648. type: integer
  14649. tablekey:
  14650. description: 列表Key
  14651. type: string
  14652. required:
  14653. - autoid
  14654. type: object
  14655. models.TjmdHolderDetailTradeInfo:
  14656. properties:
  14657. agreeunit:
  14658. description: 合约乘数
  14659. type: number
  14660. buyaccountid:
  14661. description: 买方账户
  14662. type: string
  14663. buyusername:
  14664. description: 买方
  14665. type: string
  14666. delistingdate:
  14667. description: 最后结算日
  14668. type: string
  14669. expiredate:
  14670. description: 到期结算价定价日
  14671. type: string
  14672. exprieprice:
  14673. description: 到期清算价格
  14674. type: string
  14675. goodscode:
  14676. description: 商品代码
  14677. type: string
  14678. goodsid:
  14679. description: 商品ID
  14680. type: integer
  14681. goodsname:
  14682. description: 商品名称(交易标的)
  14683. type: string
  14684. lasttradedate:
  14685. description: 最后交易日
  14686. type: string
  14687. listingdate:
  14688. description: 开始交易日
  14689. type: string
  14690. openprice:
  14691. description: 成交价
  14692. type: number
  14693. openqty:
  14694. description: 交易数量
  14695. type: integer
  14696. sellaccountid:
  14697. description: 卖方账户
  14698. type: string
  14699. sellusername:
  14700. description: 卖方
  14701. type: string
  14702. tradeamount:
  14703. description: 初始名义价值
  14704. type: number
  14705. tradedate:
  14706. description: 成交日期
  14707. type: string
  14708. tradeid:
  14709. description: 成交编号
  14710. type: string
  14711. type: object
  14712. models.TjmdMarketSection:
  14713. properties:
  14714. marketsectionid:
  14715. description: 市场版块ID(SEQ_MARKETSECTION)
  14716. type: integer
  14717. marketsectionname:
  14718. description: 市场版块名称
  14719. type: string
  14720. mlist:
  14721. description: 市场列表(板块下面有多少个市场)
  14722. items:
  14723. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14724. type: array
  14725. orderindex:
  14726. description: 排序
  14727. type: integer
  14728. pictureurl:
  14729. description: 图片url, 规格(90*90)
  14730. type: string
  14731. remark:
  14732. description: 备注
  14733. type: string
  14734. type: object
  14735. models.TjmdMarketSectionConfig:
  14736. properties:
  14737. auctionwrtype:
  14738. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14739. type: integer
  14740. canacceptquote:
  14741. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14742. type: integer
  14743. cangoodsexercise:
  14744. description: '[期权]是否可现货行权- 0:否 1:是'
  14745. type: integer
  14746. cangoodsexercisetype:
  14747. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14748. type: integer
  14749. canmanualquotestrike:
  14750. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14751. type: integer
  14752. canmutistage:
  14753. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14754. type: integer
  14755. canpreexercise:
  14756. description: '[期权]是否可预申报- 0:否 1:是'
  14757. type: integer
  14758. clearinterval:
  14759. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14760. type: integer
  14761. contracttmp:
  14762. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14763. type: string
  14764. exchareaid:
  14765. description: 所属交易所,可以没有
  14766. type: integer
  14767. financemarketid:
  14768. description: 融资回购市场ID [仓单贸易]
  14769. type: integer
  14770. goodstype:
  14771. description: 商品类型 - 1:交易商品 2:仓单商品
  14772. type: integer
  14773. hasrebate:
  14774. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14775. type: integer
  14776. hastradecredit:
  14777. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14778. type: integer
  14779. haswr:
  14780. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14781. type: integer
  14782. isdeductmargin:
  14783. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14784. type: integer
  14785. isrecordsource:
  14786. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14787. type: integer
  14788. isreleasemargin:
  14789. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14790. type: integer
  14791. isupdatereckonprice:
  14792. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14793. type: integer
  14794. listingmode:
  14795. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14796. type: integer
  14797. marginformula:
  14798. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14799. type: integer
  14800. marginformula2:
  14801. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14802. type: integer
  14803. marketid:
  14804. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14805. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14806. type: integer
  14807. marketname:
  14808. description: 市场名称
  14809. type: string
  14810. marketsectionid:
  14811. description: 市场版块ID(SEQ_MARKETSECTION)
  14812. type: integer
  14813. marketserviceid:
  14814. description: 市场服务ID
  14815. type: integer
  14816. marketstatus:
  14817. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14818. type: integer
  14819. markettype:
  14820. description: 市场类型- 1:非交易服务 2:交易服务
  14821. type: integer
  14822. matchermode:
  14823. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14824. type: integer
  14825. nowrquotaflag:
  14826. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14827. type: integer
  14828. openmethod:
  14829. description: 开盘模式 - 0 自动 1手动
  14830. type: integer
  14831. orderindex:
  14832. description: 排序
  14833. type: integer
  14834. otcuserid:
  14835. description: 场外期权做市商[场外期权]
  14836. type: integer
  14837. outersynctime:
  14838. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14839. type: string
  14840. paylaterflag:
  14841. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14842. type: integer
  14843. pendingflag:
  14844. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14845. type: integer
  14846. pendingtime:
  14847. description: 待开市时间[通道交易-对冲](HH:mm)
  14848. type: string
  14849. performancetempid:
  14850. description: 履约计划模板ID - 作废
  14851. type: integer
  14852. premiumquotemode:
  14853. description: 权利金报价方式 - 1:自动 2:手动
  14854. type: integer
  14855. rebateratio:
  14856. description: 返利比率[竞价式]
  14857. type: number
  14858. reckonorder:
  14859. description: 结算顺序
  14860. type: integer
  14861. reckonpricealgorithm:
  14862. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14863. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14864. type: integer
  14865. reckonpriceparam:
  14866. description: 结算价参数
  14867. type: integer
  14868. reckontime:
  14869. description: 结算时间[通道交易-对冲](HH:mm)
  14870. type: string
  14871. roleprioritytype:
  14872. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14873. type: integer
  14874. selllistingauditflag:
  14875. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14876. type: integer
  14877. trademarkettype:
  14878. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14879. type: integer
  14880. trademode:
  14881. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14882. 21:竞拍-大宗式 22:受托竞价
  14883. type: integer
  14884. tradeproperty:
  14885. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14886. 8:场外期权
  14887. type: integer
  14888. tradetype:
  14889. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14890. type: integer
  14891. updatereckonpriceinterval:
  14892. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14893. type: integer
  14894. type: object
  14895. models.TjmdQuoteGoods:
  14896. properties:
  14897. buyqty:
  14898. description: 买量(暂不做, 无值, 保留字段)
  14899. type: number
  14900. decimalplace:
  14901. description: 报价小数位
  14902. type: integer
  14903. goodscode:
  14904. description: 合约代码
  14905. type: string
  14906. goodsgroupid:
  14907. description: 商品组ID(自增ID)
  14908. type: integer
  14909. goodsgroupname:
  14910. description: 商品组名称
  14911. type: string
  14912. goodsid:
  14913. description: 合约id
  14914. type: integer
  14915. goodsname:
  14916. description: 合约名称
  14917. type: string
  14918. refgoodscode:
  14919. description: 标的合约代码
  14920. type: string
  14921. refgoodsid:
  14922. description: 标的合约id
  14923. type: integer
  14924. refgoodsname:
  14925. description: 标的合约名称
  14926. type: string
  14927. sellqty:
  14928. description: 卖量(暂不做, 无值, 保留字段)
  14929. type: number
  14930. type: object
  14931. models.TjmdTodayAccountMargin:
  14932. properties:
  14933. accountid:
  14934. description: 账号ID
  14935. type: integer
  14936. goodsid:
  14937. description: 商品ID
  14938. type: integer
  14939. infoc:
  14940. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14941. description: 配置参数
  14942. marketid:
  14943. description: 市场ID
  14944. type: integer
  14945. type: object
  14946. models.TjmdTradeOrderDetail:
  14947. properties:
  14948. buyorsell:
  14949. description: 买卖方向 0-买 1-卖
  14950. type: integer
  14951. goodsid:
  14952. description: 商品id
  14953. type: integer
  14954. marketmaxsub:
  14955. description: 市价最大偏移范围 [浮动价 - 点差]
  14956. type: number
  14957. orderid:
  14958. description: 委托单号
  14959. type: string
  14960. orderprice:
  14961. description: 委托价格
  14962. type: number
  14963. orderqty:
  14964. description: 委托数量
  14965. type: integer
  14966. pricemode:
  14967. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14968. type: integer
  14969. userid:
  14970. description: 用户id
  14971. type: integer
  14972. username:
  14973. description: 用户名称(已脱敏)
  14974. type: string
  14975. type: object
  14976. models.TjmdTransferApply:
  14977. properties:
  14978. applyid:
  14979. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14980. type: integer
  14981. applystatus:
  14982. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14983. type: integer
  14984. applytime:
  14985. description: 申请时间(时间)
  14986. type: string
  14987. auditremark:
  14988. description: 审核备注(拒绝原因?)
  14989. type: string
  14990. begindate:
  14991. description: 开始交易日(yyyymmdd)
  14992. type: string
  14993. buyorsell:
  14994. description: 买卖 - 0:买 1:卖
  14995. type: integer
  14996. enddate:
  14997. description: 结束交易日(yyyymmdd)
  14998. type: string
  14999. goodscode:
  15000. description: 商品代码
  15001. type: string
  15002. goodsid:
  15003. description: 商品ID
  15004. type: integer
  15005. goodsname:
  15006. description: 商品名称
  15007. type: string
  15008. marketid:
  15009. description: 市场ID
  15010. type: integer
  15011. qty:
  15012. description: 转让数量(数量)
  15013. type: number
  15014. tradeid:
  15015. description: 成交单号(关联持仓)
  15016. type: string
  15017. transferamount:
  15018. description: 转让总金额(金额)
  15019. type: number
  15020. transferprice:
  15021. description: 转让价格(协议价格)
  15022. type: number
  15023. type: object
  15024. models.TradeHolderDetail:
  15025. properties:
  15026. accountid:
  15027. description: 账号ID
  15028. type: integer
  15029. agreeunit:
  15030. description: 合约乘数
  15031. type: number
  15032. buyorsell:
  15033. description: 方向 - 0:买 1:卖
  15034. type: integer
  15035. currencyid:
  15036. description: 商品币种id
  15037. type: integer
  15038. currencyname:
  15039. description: 币种名称
  15040. type: string
  15041. decimalplace:
  15042. description: 商品价格小数位
  15043. type: integer
  15044. enumdicname:
  15045. description: 商品单位名称
  15046. type: string
  15047. expirecycle:
  15048. description: 行权周期(天) - 1:滚动行权时填写
  15049. type: integer
  15050. expiredate:
  15051. description: 行权日(yyyyMMdd) - 到期日
  15052. type: string
  15053. expiretype:
  15054. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15055. type: integer
  15056. freezeqty:
  15057. description: 冻结数量
  15058. type: number
  15059. goodscode:
  15060. description: 商品代码
  15061. type: string
  15062. goodsid:
  15063. description: 商品ID
  15064. type: integer
  15065. goodsname:
  15066. description: 商品名称
  15067. type: string
  15068. goodunitid:
  15069. description: 商品单位id
  15070. type: integer
  15071. holderamount:
  15072. description: 持仓金额
  15073. type: number
  15074. holdercredit:
  15075. description: 持仓授信金额
  15076. type: number
  15077. holderdays:
  15078. description: 剩余冻结天数
  15079. type: integer
  15080. holderprice:
  15081. description: 持仓价格
  15082. type: number
  15083. holderqty:
  15084. description: 持仓数量
  15085. type: number
  15086. isconfirmexercise:
  15087. description: 是否确认行权- 0:否 1:是
  15088. type: integer
  15089. ispreexercise:
  15090. description: 是否预申报- 0:否 1:是 2:不可行权
  15091. type: integer
  15092. marketid:
  15093. description: 市场id
  15094. type: integer
  15095. marketname:
  15096. description: 市场名称
  15097. type: string
  15098. openprice:
  15099. description: 建仓价格
  15100. type: number
  15101. openqty:
  15102. description: 建仓数量
  15103. type: number
  15104. optiontype:
  15105. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15106. type: integer
  15107. preexerciseprice:
  15108. description: 预申报价格
  15109. type: number
  15110. premium:
  15111. description: 权利金
  15112. type: number
  15113. qtydecimalplace:
  15114. description: 商品成交量小数位
  15115. type: integer
  15116. refgoodscode:
  15117. description: 标的合约代码
  15118. type: string
  15119. refgoodsid:
  15120. description: 标的合约id
  15121. type: integer
  15122. releaseamount:
  15123. description: 释放持仓金额
  15124. type: number
  15125. releaseholdercredit:
  15126. description: 释放持仓授信金额
  15127. type: number
  15128. taname:
  15129. description: 资金账号名称
  15130. type: string
  15131. tradeamount:
  15132. description: 成交金额
  15133. type: number
  15134. tradedate:
  15135. description: 交易日(yyyyMMdd)
  15136. type: string
  15137. tradeid:
  15138. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15139. type: string
  15140. trademode:
  15141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15142. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15143. type: integer
  15144. tradeproperty:
  15145. description: 交易属性
  15146. type: integer
  15147. tradetime:
  15148. description: 交易时间
  15149. type: string
  15150. userid:
  15151. description: 用户id
  15152. type: integer
  15153. username:
  15154. description: 用户名称
  15155. type: string
  15156. type: object
  15157. models.UserCollectConfig:
  15158. properties:
  15159. accountstatus:
  15160. description: 账户状态 - 1:正常 2:停用 3:注销
  15161. type: integer
  15162. collectaccountname:
  15163. description: 收款人账户名称
  15164. type: string
  15165. collectaccountno:
  15166. description: 收款人账户
  15167. type: string
  15168. collectbankname:
  15169. description: 收款人开户行
  15170. type: string
  15171. collectbranchbankname:
  15172. description: 收款人开户支行
  15173. type: string
  15174. collectconfigid:
  15175. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15176. type: string
  15177. remark:
  15178. description: 备注
  15179. type: string
  15180. userid:
  15181. description: 收款人用户ID
  15182. type: integer
  15183. type: object
  15184. models.UserReceiveInfo:
  15185. properties:
  15186. address:
  15187. description: 提货人详细地址
  15188. type: string
  15189. autoid:
  15190. description: AutoID
  15191. type: integer
  15192. cardnum:
  15193. description: 证件号码(加密存储)
  15194. type: string
  15195. cardtypeid:
  15196. description: 证件类型
  15197. type: integer
  15198. cityid:
  15199. description: 市
  15200. type: integer
  15201. cityname:
  15202. description: 城市名称
  15203. type: string
  15204. countryid:
  15205. description: 国家
  15206. type: integer
  15207. countryname:
  15208. description: 国家名称
  15209. type: string
  15210. districtid:
  15211. description: 地区
  15212. type: integer
  15213. districtname:
  15214. description: 地区名称
  15215. type: string
  15216. hasencrypt:
  15217. description: 数据是否已加密 - 0:未加密 1:已加密
  15218. type: integer
  15219. isdefault:
  15220. description: 是否默认地址 - 0:否 1:是
  15221. type: integer
  15222. phonenum:
  15223. description: 提货人联系方式(加密存储)
  15224. type: string
  15225. provinceid:
  15226. description: 省
  15227. type: integer
  15228. provincename:
  15229. description: 省名称
  15230. type: string
  15231. receivername:
  15232. description: 提货人姓名
  15233. type: string
  15234. takeremark:
  15235. description: 提货备注
  15236. type: string
  15237. userid:
  15238. description: 用户ID
  15239. type: integer
  15240. type: object
  15241. models.Useraccount:
  15242. properties:
  15243. accountname:
  15244. description: 账户名称(机构名称)
  15245. type: string
  15246. accountstatus:
  15247. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15248. type: integer
  15249. applysrc:
  15250. description: 申请来源 - 1:管理端 2:终端
  15251. type: integer
  15252. auditremark:
  15253. description: 审核备注
  15254. type: string
  15255. auditsrc:
  15256. description: 审核来源 - 1:管理端 2:终端
  15257. type: integer
  15258. audittime:
  15259. description: 审核时间
  15260. type: string
  15261. audituserid:
  15262. description: 审核人
  15263. type: integer
  15264. broker:
  15265. description: 所属经纪人ID
  15266. type: integer
  15267. canceltime:
  15268. description: 销户时间
  15269. type: string
  15270. canceluserid:
  15271. description: 销户人
  15272. type: integer
  15273. canrecommend:
  15274. description: 是否可推荐 - 0:不可 1;可
  15275. type: integer
  15276. createtime:
  15277. description: 创建时间
  15278. type: string
  15279. creatorid:
  15280. description: 创建人
  15281. type: integer
  15282. hasauth:
  15283. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15284. type: integer
  15285. isanonymous:
  15286. description: 是否匿名下单 - 0:否 1:是
  15287. type: integer
  15288. maxinvestornum:
  15289. description: 最大用户数(经纪会员下投资者个数)
  15290. type: integer
  15291. memberuserid:
  15292. description: 所属会员ID
  15293. type: integer
  15294. modifierid:
  15295. description: 修改人
  15296. type: integer
  15297. modifyremark:
  15298. description: 变更备注
  15299. type: string
  15300. modifystatus:
  15301. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15302. type: integer
  15303. modifytime:
  15304. description: 修改时间
  15305. type: string
  15306. parenttopuser:
  15307. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15308. type: string
  15309. parentuserid:
  15310. description: 所属机构ID
  15311. type: integer
  15312. reckonaccountid:
  15313. description: 默认结算资金账号ID(机构分润使用) 作废
  15314. type: integer
  15315. refercount:
  15316. description: 推荐总人数
  15317. type: integer
  15318. refereeuserid:
  15319. description: 推荐人ID
  15320. type: integer
  15321. refernum:
  15322. description: 推荐码
  15323. type: string
  15324. rootuserid:
  15325. description: 根用户ID
  15326. type: integer
  15327. subaccountlevel:
  15328. description: 子账户层数
  15329. type: integer
  15330. subarealevelpath:
  15331. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15332. type: string
  15333. userid:
  15334. description: 用户ID
  15335. type: integer
  15336. usertype:
  15337. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15338. type: integer
  15339. required:
  15340. - userid
  15341. type: object
  15342. models.Userfavoritegoods:
  15343. properties:
  15344. goodsid:
  15345. description: 商品ID
  15346. type: integer
  15347. required:
  15348. - goodsid
  15349. type: object
  15350. models.Userinfo:
  15351. properties:
  15352. address:
  15353. description: 地址
  15354. type: string
  15355. attachment1:
  15356. description: 附件1
  15357. type: string
  15358. attachment2:
  15359. description: 附件2
  15360. type: string
  15361. bankaccount:
  15362. description: 银行帐号 (加密存储)
  15363. type: string
  15364. bankaccountname:
  15365. description: 收款人名称
  15366. type: string
  15367. bankcardfrontphotourl:
  15368. description: 银行卡正面照地址
  15369. type: string
  15370. bankid:
  15371. description: 银行编码
  15372. type: string
  15373. bankname:
  15374. description: 银行名称
  15375. type: string
  15376. biznature:
  15377. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15378. type: integer
  15379. bizscope:
  15380. description: 企业经营范围(企业)
  15381. type: string
  15382. cardbackphotourl:
  15383. description: 证件背面图片地址
  15384. type: string
  15385. cardfrontphotourl:
  15386. description: 证件正面图片地址
  15387. type: string
  15388. cardnum:
  15389. description: 证件号码(加密存储)
  15390. type: string
  15391. cardtypeid:
  15392. description: 证件类型ID
  15393. type: integer
  15394. cityid:
  15395. description: 市
  15396. type: integer
  15397. company:
  15398. description: 公司(个人)
  15399. type: string
  15400. contactname:
  15401. description: 联系人
  15402. type: string
  15403. countryid:
  15404. description: 国家
  15405. type: integer
  15406. createtime:
  15407. description: 创建时间
  15408. type: string
  15409. creatorid:
  15410. description: 创建人
  15411. type: integer
  15412. customername:
  15413. description: 客户名称(企业名称)
  15414. type: string
  15415. districtid:
  15416. description: 地区
  15417. type: integer
  15418. email:
  15419. description: 邮件(加密存储)
  15420. type: string
  15421. fax:
  15422. description: 传真(加密存储)
  15423. type: string
  15424. halfbodyphotourl:
  15425. description: 半身照地址
  15426. type: string
  15427. hasencrypt:
  15428. description: 数据是否已加密 - 0:未加密 1:已加密
  15429. type: integer
  15430. headurl:
  15431. description: 头像地址
  15432. type: string
  15433. legalcardbackphotourl:
  15434. description: 法人身份证背面照地址
  15435. type: string
  15436. legalcardfrontphotourl:
  15437. description: 法人身份证正面照地址
  15438. type: string
  15439. legalpersonname:
  15440. description: 法人姓名(企业)
  15441. type: string
  15442. mobile:
  15443. description: 手机号码(加密存储)
  15444. type: string
  15445. mobile2:
  15446. description: 手机号码[明文-尚志]
  15447. type: string
  15448. modifierid:
  15449. description: 修改人
  15450. type: integer
  15451. modifiertime:
  15452. description: 修改时间
  15453. type: string
  15454. needinvoice:
  15455. description: 是否需要发票 - 0:不需要 1:需要
  15456. type: integer
  15457. nickname:
  15458. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15459. type: string
  15460. openmode:
  15461. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15462. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15463. type: integer
  15464. otherurl:
  15465. description: 其它图片地址[使用分号分隔]
  15466. type: string
  15467. postalcode:
  15468. description: 邮政编码
  15469. type: string
  15470. provinceid:
  15471. description: 省
  15472. type: integer
  15473. qq:
  15474. description: QQ(加密存储
  15475. type: string
  15476. remark:
  15477. description: 备注
  15478. type: string
  15479. sex:
  15480. description: '用户性别 0: 女 1: 男'
  15481. type: integer
  15482. signpdfurl:
  15483. description: 签约pdf文件
  15484. type: string
  15485. telphone:
  15486. description: 联系电话(加密存储)
  15487. type: string
  15488. userid:
  15489. description: 用户ID
  15490. type: integer
  15491. userinfotype:
  15492. description: 用户信息类型 - 1:个人 2:企业
  15493. type: integer
  15494. userstatus:
  15495. description: 用户状态 - 1:正常 2:注销
  15496. type: integer
  15497. usertype:
  15498. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15499. type: integer
  15500. wechat:
  15501. description: 微信(加密存储)
  15502. type: string
  15503. wskhinfo:
  15504. description: 开户申请信息(JSON)
  15505. type: string
  15506. required:
  15507. - userid
  15508. type: object
  15509. models.WRSConverTDetail:
  15510. properties:
  15511. convertratio:
  15512. description: 套保系数
  15513. type: number
  15514. deliverygoodscode:
  15515. description: 现货商品代码
  15516. type: string
  15517. deliverygoodsid:
  15518. description: 现货品种ID
  15519. type: integer
  15520. deliverygoodsname:
  15521. description: 现货商品名称
  15522. type: string
  15523. enumdicname:
  15524. description: 单位名称
  15525. type: string
  15526. goodsunitid:
  15527. description: 套保品种单位id
  15528. type: integer
  15529. middlegoodscode:
  15530. description: 套保品种代码
  15531. type: string
  15532. middlegoodsid:
  15533. description: 套保品种ID
  15534. type: integer
  15535. middlegoodsname:
  15536. description: 套保品种名称
  15537. type: string
  15538. modifytime:
  15539. description: 修改时间
  15540. type: string
  15541. wrstandardid:
  15542. description: 品类ID
  15543. type: integer
  15544. type: object
  15545. models.WRStandardInfo:
  15546. properties:
  15547. areauserid:
  15548. description: 所属机构
  15549. type: integer
  15550. convertfactor:
  15551. description: 标仓系数
  15552. type: number
  15553. createtime:
  15554. description: 创建时间
  15555. type: string
  15556. creatorid:
  15557. description: 创建人
  15558. type: integer
  15559. deliverygoodsid:
  15560. description: 品种ID
  15561. type: integer
  15562. deliverygoodsname:
  15563. description: 交割商品名称
  15564. type: string
  15565. factoryitemjson:
  15566. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15567. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15568. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15569. 逗号分隔'
  15570. type: string
  15571. isvalid:
  15572. description: 是否有效 - 0:无效 1:有效
  15573. type: integer
  15574. minivalue:
  15575. description: 最小变动值
  15576. type: integer
  15577. minivaluedp:
  15578. description: 最小变动值小数位
  15579. type: integer
  15580. realminivalue:
  15581. description: 实际最小变动值
  15582. type: integer
  15583. realminivaluedp:
  15584. description: 实际最小变动值小数位
  15585. type: integer
  15586. remark:
  15587. description: 备注
  15588. type: string
  15589. unitid:
  15590. description: 单位ID
  15591. type: integer
  15592. unitname:
  15593. description: 单位
  15594. type: string
  15595. updatetime:
  15596. description: 更新时间
  15597. type: string
  15598. updatorid:
  15599. description: 更新人
  15600. type: integer
  15601. wrsstatus:
  15602. description: 状态 - 作废 - 0:未激活 1:正常
  15603. type: integer
  15604. wrstandardcode:
  15605. description: 现货品类代码
  15606. type: string
  15607. wrstandardid:
  15608. description: 现货品类ID(SEQ_WRSTANDARD)
  15609. type: integer
  15610. wrstandardname:
  15611. description: 现货品类名称
  15612. type: string
  15613. required:
  15614. - wrstandardid
  15615. type: object
  15616. models.WRTradeBargainApply:
  15617. properties:
  15618. accountid:
  15619. description: 摘牌资金账号
  15620. type: integer
  15621. applyprice:
  15622. description: 申请价格(议价价格)
  15623. type: string
  15624. applyqty:
  15625. description: 摘牌数量(议价数量)
  15626. type: number
  15627. applyremark:
  15628. description: 申请备注
  15629. type: string
  15630. applystatus:
  15631. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15632. type: integer
  15633. applytime:
  15634. description: 申请时间(议价时间)
  15635. type: string
  15636. begindate:
  15637. description: 开始交易日(yyyymmdd)
  15638. type: string
  15639. buyorsell:
  15640. description: 买卖(挂牌类型) - 0:买 1:卖
  15641. type: integer
  15642. confirmremark:
  15643. description: 确认备注
  15644. type: string
  15645. confirmtime:
  15646. description: 确认时间
  15647. type: string
  15648. confirmuserid:
  15649. description: 确认人
  15650. type: integer
  15651. deliverygoodscode:
  15652. description: 品种代码
  15653. type: string
  15654. deliverygoodsid:
  15655. description: 品种ID
  15656. type: integer
  15657. deliverygoodsname:
  15658. description: 品种名称
  15659. type: string
  15660. deliverymonth:
  15661. description: 交收月
  15662. type: string
  15663. enddate:
  15664. description: 结束交易日(yyyymmdd)
  15665. type: string
  15666. enumdicname:
  15667. description: 单位名称
  15668. type: string
  15669. fixedprice:
  15670. description: 挂牌价格
  15671. type: number
  15672. handlestatus:
  15673. description: 处理状态
  15674. type: integer
  15675. marginvalue:
  15676. description: 履约保证金比例
  15677. type: number
  15678. marketid:
  15679. description: 市场ID
  15680. type: integer
  15681. matchaccountid:
  15682. description: 挂牌方资金账号
  15683. type: integer
  15684. matchuserid:
  15685. description: 挂牌方用户id
  15686. type: integer
  15687. matchusername:
  15688. description: 挂牌方用户名称(已脱敏)
  15689. type: string
  15690. minivalue:
  15691. description: 现货商品最小变动值
  15692. type: integer
  15693. optioncompare:
  15694. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15695. type: string
  15696. orderqty:
  15697. description: 挂牌数量
  15698. type: integer
  15699. refprice:
  15700. description: 参考价格
  15701. type: string
  15702. retcode:
  15703. description: 委托返回代码
  15704. type: integer
  15705. templatename:
  15706. description: 履约方式(履约模板名称)
  15707. type: string
  15708. tradedate:
  15709. description: 交易日(yyyyMMdd)
  15710. type: string
  15711. userid:
  15712. description: 摘牌人用户ID(议价人ID)
  15713. type: integer
  15714. username:
  15715. description: 议价人名字(已脱敏)
  15716. type: string
  15717. validtime:
  15718. description: 有效期限
  15719. type: string
  15720. warehouseid:
  15721. description: 仓库ID
  15722. type: integer
  15723. warehousename:
  15724. description: 仓库名称
  15725. type: string
  15726. wrbargainid:
  15727. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15728. type: string
  15729. wrfactortypeid:
  15730. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15731. type: string
  15732. wrfactortypename:
  15733. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15734. type: string
  15735. wrstandardcode:
  15736. description: 现货商品代码
  15737. type: string
  15738. wrstandardid:
  15739. description: 现货商品ID
  15740. type: integer
  15741. wrstandardname:
  15742. description: 商品名称
  15743. type: string
  15744. wrtradeorderid:
  15745. description: 关联委托单ID
  15746. type: string
  15747. wrtypename:
  15748. description: 商品
  15749. type: string
  15750. type: object
  15751. models.Warehouseinfo:
  15752. properties:
  15753. address:
  15754. description: 详细地址
  15755. type: string
  15756. areauserid:
  15757. description: 所属机构
  15758. type: integer
  15759. autoid:
  15760. description: 自增ID
  15761. type: integer
  15762. cityid:
  15763. description: 市
  15764. type: integer
  15765. contactname:
  15766. description: 联系人
  15767. type: string
  15768. contactnum:
  15769. description: 联系电话
  15770. type: string
  15771. countryid:
  15772. description: 国家
  15773. type: integer
  15774. createtime:
  15775. description: 创建时间
  15776. type: string
  15777. districtid:
  15778. description: 区
  15779. type: integer
  15780. hasvideo:
  15781. description: 是否有视频 - 0:无 1:有
  15782. type: integer
  15783. provinceid:
  15784. description: 省
  15785. type: integer
  15786. remark:
  15787. description: 审核备注
  15788. type: string
  15789. videourl:
  15790. description: 视频地址
  15791. type: string
  15792. warehousecode:
  15793. description: 仓库代码
  15794. type: string
  15795. warehousename:
  15796. description: 仓库名称
  15797. type: string
  15798. warehousestatus:
  15799. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15800. type: integer
  15801. warehousetype:
  15802. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15803. type: integer
  15804. required:
  15805. - autoid
  15806. - warehousecode
  15807. type: object
  15808. models.WrAverageTradePrice:
  15809. properties:
  15810. averageprice:
  15811. description: 成交均价
  15812. type: number
  15813. tradedate:
  15814. description: 交易日yyyymm
  15815. type: string
  15816. type: object
  15817. models.WrBrandAndYears:
  15818. properties:
  15819. brandlst:
  15820. description: 品牌列表
  15821. items:
  15822. $ref: '#/definitions/models.DgFactoryItem'
  15823. type: array
  15824. yearslst:
  15825. description: 年份列表
  15826. items:
  15827. $ref: '#/definitions/models.DgFactoryItem'
  15828. type: array
  15829. type: object
  15830. models.WrBsGoodsInfo:
  15831. properties:
  15832. buyorsell:
  15833. description: 买卖方向 0-买 1-卖
  15834. type: integer
  15835. goodsid:
  15836. description: 交易合约ID
  15837. type: integer
  15838. lstitem:
  15839. description: 商品信息项
  15840. items:
  15841. $ref: '#/definitions/models.WrTypeItem'
  15842. type: array
  15843. lststep:
  15844. description: 履约规则
  15845. items:
  15846. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15847. type: array
  15848. type: object
  15849. models.WrBuybackDetail:
  15850. properties:
  15851. buybackamount:
  15852. description: 回购金额
  15853. type: number
  15854. buybackqty:
  15855. description: 回购数量
  15856. type: number
  15857. buybackreleasemargin:
  15858. description: 回购释放保证金
  15859. type: number
  15860. buybacktime:
  15861. description: 回购时间
  15862. type: string
  15863. errordesc:
  15864. description: 错误描述
  15865. type: string
  15866. handlestatus:
  15867. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15868. type: integer
  15869. relatedwrid:
  15870. description: 关联仓单ID
  15871. type: integer
  15872. scfcontractid:
  15873. description: SCF合同ID
  15874. type: string
  15875. scfwrbuybackid:
  15876. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15877. type: integer
  15878. tradedate:
  15879. description: 交易日(yyyyMMdd)
  15880. type: string
  15881. type: object
  15882. models.WrClientAdSpaceConfig:
  15883. properties:
  15884. adspaceid:
  15885. description: 广告位ID
  15886. type: integer
  15887. adspacename:
  15888. description: 广告位名称
  15889. type: string
  15890. adspacetype:
  15891. description: 广告位类型 - 1:固定广告位
  15892. type: integer
  15893. areauserid:
  15894. description: 所属机构ID
  15895. type: integer
  15896. createdate:
  15897. description: 创建时间
  15898. type: string
  15899. imagepath:
  15900. description: 图片
  15901. type: string
  15902. modifierid:
  15903. description: 操作人
  15904. type: integer
  15905. recsize:
  15906. description: 推荐尺寸
  15907. type: string
  15908. title:
  15909. description: 标题
  15910. type: string
  15911. updatedate:
  15912. description: 更新时间
  15913. type: string
  15914. urlcontent:
  15915. description: 链接(地址\商品ID\功能菜单Key\appid)
  15916. type: string
  15917. urltype:
  15918. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15919. type: integer
  15920. type: object
  15921. models.WrDeliveryAvalidHoldLB:
  15922. properties:
  15923. accountid:
  15924. description: 资金账号
  15925. type: integer
  15926. avalidqty:
  15927. description: 数量(可点选数量)
  15928. type: number
  15929. deliverygoodsid:
  15930. description: 品种id
  15931. type: integer
  15932. enumdicname:
  15933. description: 单位名称
  15934. type: string
  15935. goodsid:
  15936. description: x合约商品id
  15937. type: integer
  15938. ladingbillid:
  15939. description: 提单id
  15940. type: string
  15941. pgoodscode:
  15942. description: p商品代码(点价合约)
  15943. type: string
  15944. pgoodsid:
  15945. description: p商品id(点价合约)
  15946. type: integer
  15947. pgoodsname:
  15948. description: p商品名称(点价合约)
  15949. type: string
  15950. pricemove:
  15951. description: 升贴水
  15952. type: number
  15953. subnum:
  15954. description: 提单子id
  15955. type: integer
  15956. userid:
  15957. description: 用户id
  15958. type: integer
  15959. username:
  15960. description: 仓单持有人
  15961. type: string
  15962. warehousecode:
  15963. description: 仓库代码
  15964. type: string
  15965. warehouseid:
  15966. description: 仓库id
  15967. type: integer
  15968. warehousename:
  15969. description: 仓库名称
  15970. type: string
  15971. wrfactortypeid:
  15972. description: 仓单要素id
  15973. type: string
  15974. wrstandardcode:
  15975. description: 品代码
  15976. type: string
  15977. wrstandardid:
  15978. description: 品类d
  15979. type: integer
  15980. wrstandardname:
  15981. description: 品类名称
  15982. type: string
  15983. wrtypename:
  15984. description: 商品
  15985. type: string
  15986. xgoodscode:
  15987. description: x合约代码
  15988. type: string
  15989. xgoodsname:
  15990. description: x合约名称
  15991. type: string
  15992. type: object
  15993. models.WrDeliveryDetail:
  15994. properties:
  15995. accountid:
  15996. description: 账号ID
  15997. type: integer
  15998. averageprice:
  15999. description: 交割均价 = 交割金额 / 交割数量
  16000. type: number
  16001. begindate:
  16002. description: 开始交易日(yyyymmdd)
  16003. type: string
  16004. buyorsell:
  16005. description: 方向 - 0:买 1:卖
  16006. type: integer
  16007. deliveryamount:
  16008. description: 货款金额(X总货款+P总货款)
  16009. type: number
  16010. deliveryid:
  16011. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16012. type: string
  16013. deliveryorderid:
  16014. description: 申报单号
  16015. type: string
  16016. deliverypricemove:
  16017. description: 升贴水(升贴水总额)
  16018. type: number
  16019. deliveryqty:
  16020. description: 交收数量(点选数量)
  16021. type: number
  16022. deliverystatus:
  16023. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16024. type: integer
  16025. deliverytime:
  16026. description: 交割时间
  16027. type: string
  16028. deliverytotalamount:
  16029. description: 交收金额
  16030. type: number
  16031. enddate:
  16032. description: 结束交易日(yyyymmdd)
  16033. type: string
  16034. enumdicname:
  16035. description: 单位名称
  16036. type: string
  16037. matchaccountid:
  16038. description: 对手账号ID
  16039. type: integer
  16040. matchusername:
  16041. description: 对手方名称(仓单持有人)
  16042. type: string
  16043. p1goodsremainamount:
  16044. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16045. type: number
  16046. pdeliverycloseqty:
  16047. description: p合约平仓数量
  16048. type: number
  16049. pdeliveryprice:
  16050. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16051. type: number
  16052. pgoodscode:
  16053. description: 商品代码
  16054. type: string
  16055. pgoodsid:
  16056. description: p点选合约id
  16057. type: integer
  16058. pgoodsname:
  16059. description: 商品名称
  16060. type: string
  16061. ppricemode:
  16062. description: 点价价格方式 - 1:商品价 2:固定值
  16063. type: integer
  16064. tradedate:
  16065. description: 交易日(yyyymmdd)
  16066. type: string
  16067. userid:
  16068. description: 用户id
  16069. type: integer
  16070. username:
  16071. description: 用户名称
  16072. type: string
  16073. warehousename:
  16074. description: 仓库名称
  16075. type: string
  16076. wrfactortypeid:
  16077. description: 仓单要素类型ID
  16078. type: string
  16079. wrtypename:
  16080. description: 商品
  16081. type: string
  16082. xdeliverycloseqty:
  16083. description: 合约数量
  16084. type: number
  16085. xgoodsamount:
  16086. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16087. type: number
  16088. xgoodscode:
  16089. description: 商品代码
  16090. type: string
  16091. xgoodsid:
  16092. description: x交易合约ID
  16093. type: integer
  16094. xgoodsname:
  16095. description: 商品名称
  16096. type: string
  16097. type: object
  16098. models.WrDeliveryGoodsSection:
  16099. properties:
  16100. dglst:
  16101. description: 板块商品列表
  16102. items:
  16103. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16104. type: array
  16105. imagepath:
  16106. description: 图片地址
  16107. type: string
  16108. orderindex:
  16109. description: 排序
  16110. type: integer
  16111. sectionid:
  16112. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16113. = 1的版块1 - 云融指数
  16114. type: integer
  16115. sectionname:
  16116. description: 版块名称
  16117. type: string
  16118. sectiontype:
  16119. description: 版块类型 - 1:指数版块 2:普通版块
  16120. type: integer
  16121. type: object
  16122. models.WrDeliveryGoodsSectionConfig:
  16123. properties:
  16124. deliverygoodscode:
  16125. description: 现货商品代码
  16126. type: string
  16127. deliverygoodsid:
  16128. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16129. type: integer
  16130. deliverygoodsname:
  16131. description: 现货商品名称
  16132. type: string
  16133. orderindex:
  16134. description: 排序
  16135. type: integer
  16136. type: object
  16137. models.WrDraftUserInfo:
  16138. properties:
  16139. address:
  16140. description: 地址
  16141. type: string
  16142. attachment1:
  16143. description: 附件1
  16144. type: string
  16145. attachment2:
  16146. description: 附件2
  16147. type: string
  16148. attachment3:
  16149. description: 附件3
  16150. type: string
  16151. attachment4:
  16152. description: 附件4
  16153. type: string
  16154. attachment5:
  16155. description: 附件5
  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. birthday:
  16173. description: 生日(个人:年月日)
  16174. type: string
  16175. biznature:
  16176. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16177. type: integer
  16178. bizscope:
  16179. description: 企业经营范围(企业)
  16180. type: string
  16181. biztype:
  16182. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16183. type: integer
  16184. cardbackphotourl:
  16185. description: 证件背面图片地址
  16186. type: string
  16187. cardfrontphotourl:
  16188. description: 证件正面图片地址
  16189. type: string
  16190. cardnum:
  16191. description: 证件号码(加密存储)
  16192. type: string
  16193. cardtypeid:
  16194. description: 证件类型ID
  16195. type: integer
  16196. cityid:
  16197. description: 市
  16198. type: integer
  16199. company:
  16200. description: 公司(个人)
  16201. type: string
  16202. contactcardbackphotourl:
  16203. description: 联系人证件背面图片地址
  16204. type: string
  16205. contactcardfrontphotourl:
  16206. description: 联系人证件正面图片地址
  16207. type: string
  16208. contactname:
  16209. description: 联系人
  16210. type: string
  16211. countryid:
  16212. description: 国家
  16213. type: integer
  16214. createtime:
  16215. description: 创建时间
  16216. type: string
  16217. creatorid:
  16218. description: 创建人
  16219. type: integer
  16220. creditquota:
  16221. description: 授信额度(金瑞)
  16222. type: number
  16223. customername:
  16224. description: 客户名称(企业名称)
  16225. type: string
  16226. districtid:
  16227. description: 地区
  16228. type: integer
  16229. email:
  16230. description: 邮件(加密存储)
  16231. type: string
  16232. fax:
  16233. description: 传真(加密存储)
  16234. type: string
  16235. halfbodyphotourl:
  16236. description: 半身照地址
  16237. type: string
  16238. hasencrypt:
  16239. description: 数据是否已加密 - 0:未加密 1:已加密
  16240. type: integer
  16241. headurl:
  16242. description: 头像地址
  16243. type: string
  16244. legalcardbackphotourl:
  16245. description: 法人身份证背面照地址
  16246. type: string
  16247. legalcardfrontphotourl:
  16248. description: 法人身份证正面照地址
  16249. type: string
  16250. legalpersonname:
  16251. description: 法人姓名(企业)
  16252. type: string
  16253. mobile:
  16254. description: 手机号码(加密存储)
  16255. type: string
  16256. mobile2:
  16257. description: 手机号码[明文-尚志]
  16258. type: string
  16259. modifierid:
  16260. description: 修改人
  16261. type: integer
  16262. modifiertime:
  16263. description: 修改时间
  16264. type: string
  16265. needinvoice:
  16266. description: 是否需要发票 - 0:不需要 1:需要
  16267. type: integer
  16268. nickname:
  16269. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16270. type: string
  16271. openmode:
  16272. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16273. 6:苹果手机端注册 7:PC交易端注册"
  16274. type: integer
  16275. otherurl:
  16276. description: 其它图片地址[使用分号分隔]
  16277. type: string
  16278. postalcode:
  16279. description: 邮政编码
  16280. type: string
  16281. provinceid:
  16282. description: 省
  16283. type: integer
  16284. proxystatementurl:
  16285. description: 授权委托书
  16286. type: string
  16287. qq:
  16288. description: QQ(加密存储
  16289. type: string
  16290. remark:
  16291. description: 备注
  16292. type: string
  16293. sex:
  16294. description: '用户性别 0: 女 1: 男'
  16295. type: integer
  16296. signpdfurl:
  16297. description: 签约pdf文件
  16298. type: string
  16299. taxpayernum:
  16300. description: 纳税人识别号
  16301. type: string
  16302. telphone:
  16303. description: 联系电话(加密存储)
  16304. type: string
  16305. userid:
  16306. description: 用户ID
  16307. type: integer
  16308. userinfotype:
  16309. description: 用户信息类型 - 1:个人 2:企业
  16310. type: integer
  16311. userstatus:
  16312. description: 用户状态 - 1:正常 2:注销
  16313. type: integer
  16314. usertype:
  16315. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16316. type: integer
  16317. wechat:
  16318. description: 微信(加密存储)
  16319. type: string
  16320. wskhinfo:
  16321. description: 开户申请信息(JSON)
  16322. type: string
  16323. type: object
  16324. models.WrFAProductDetail:
  16325. properties:
  16326. accountid:
  16327. description: 资金账号
  16328. type: integer
  16329. areauserid:
  16330. description: 金融机构ID
  16331. type: integer
  16332. financingdays:
  16333. description: 天数(天)
  16334. type: integer
  16335. interestminlen:
  16336. description: 最小起息天数
  16337. type: integer
  16338. interestrate:
  16339. description: 利率
  16340. type: number
  16341. interestratemode:
  16342. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16343. type: integer
  16344. interestsettlemode:
  16345. description: 结息方式 - 1:按日结息 3:按月结息
  16346. type: integer
  16347. interestsettlevalue:
  16348. description: 结息方式值
  16349. type: integer
  16350. isautoloan:
  16351. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16352. type: integer
  16353. loantag:
  16354. description: '放款标识: "放款快" 或者为空'
  16355. type: string
  16356. marginratio:
  16357. description: 保证金比率质押率 - [仓单质押]
  16358. type: number
  16359. productdetailid:
  16360. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16361. type: integer
  16362. productid:
  16363. description: 金融产品ID
  16364. type: integer
  16365. productname:
  16366. description: 产品名称
  16367. type: string
  16368. updatetime:
  16369. description: 更新时间
  16370. type: string
  16371. username:
  16372. description: 融出方
  16373. type: string
  16374. type: object
  16375. models.WrFactorTypeInfo:
  16376. properties:
  16377. deliverygoodscode:
  16378. description: 品种代码
  16379. type: string
  16380. deliverygoodsname:
  16381. description: 品种名称
  16382. type: string
  16383. dgfactoryitemid:
  16384. description: 选择项id
  16385. type: integer
  16386. dgfactoryitemtypeid:
  16387. description: 要素选择项ID (1-仓库 2-品牌)
  16388. type: integer
  16389. dgfactoryitemvalue:
  16390. description: 要素项值
  16391. type: string
  16392. itemtypename:
  16393. description: 要素项名称
  16394. type: string
  16395. optioncompare:
  16396. description: 选择比较串
  16397. type: string
  16398. warehouseid:
  16399. description: 仓库id
  16400. type: integer
  16401. wrfactortypeid:
  16402. description: 仓单要素ID
  16403. type: string
  16404. wrfactortypename:
  16405. description: 要素名称
  16406. type: string
  16407. wrfactortypename2:
  16408. description: 要素名称(不含仓库)
  16409. type: string
  16410. wrstandardcode:
  16411. description: 品类代码
  16412. type: string
  16413. wrstandardid:
  16414. description: 品类id
  16415. type: integer
  16416. wrstandardname:
  16417. description: 品类名称
  16418. type: string
  16419. type: object
  16420. models.WrFilterItem:
  16421. properties:
  16422. itemcode:
  16423. description: 代码
  16424. type: string
  16425. itemid:
  16426. description: 项id
  16427. type: integer
  16428. itemname:
  16429. description: 名称
  16430. type: string
  16431. itemtype:
  16432. description: 类型 1-品种 2-品类(商品) 3-仓库
  16433. type: integer
  16434. type: object
  16435. models.WrFinanceBuyApply:
  16436. properties:
  16437. applydate:
  16438. description: 申请时间
  16439. type: string
  16440. applystatus:
  16441. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16442. type: integer
  16443. applyuserid:
  16444. description: 申请人
  16445. type: integer
  16446. auditdate:
  16447. description: 审核时间
  16448. type: string
  16449. auditremark:
  16450. description: 审核备注
  16451. type: string
  16452. audituserid:
  16453. description: 审核人
  16454. type: integer
  16455. buyaccountid:
  16456. description: 买方资金账号
  16457. type: integer
  16458. buyorsell:
  16459. description: 买卖 - 0:买 1:卖
  16460. type: integer
  16461. buyuserid:
  16462. description: 买方用户ID
  16463. type: integer
  16464. buyusername:
  16465. description: 买方名称
  16466. type: string
  16467. buywrtradeorderid:
  16468. description: 融资方买委托单ID
  16469. type: string
  16470. deliverygoodscode:
  16471. description: 品种代码
  16472. type: string
  16473. deliverygoodsid:
  16474. description: 品种ID
  16475. type: integer
  16476. deliverygoodsname:
  16477. description: 品种名称
  16478. type: string
  16479. deliverymonth:
  16480. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16481. type: string
  16482. enumdicname:
  16483. description: 单位名称
  16484. type: string
  16485. financeaccountid:
  16486. description: 融资方资金帐户ID
  16487. type: integer
  16488. financeapplyid:
  16489. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16490. type: string
  16491. financeareauserid:
  16492. description: 融资方用户ID
  16493. type: string
  16494. financename:
  16495. description: 融出方名称
  16496. type: string
  16497. financetype:
  16498. description: 融资类型 1-融资回购
  16499. type: integer
  16500. financingdays:
  16501. description: 天数(天)
  16502. type: integer
  16503. freezebuymargin:
  16504. description: 冻结融资保证金(买方)
  16505. type: number
  16506. handleremark:
  16507. description: 处理备注
  16508. type: string
  16509. handlestatus:
  16510. description: 处理状态
  16511. type: integer
  16512. interestminlen:
  16513. description: 最小起息天数
  16514. type: integer
  16515. interestrate:
  16516. description: 利率
  16517. type: number
  16518. interestratemode:
  16519. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16520. type: integer
  16521. interestsettlemode:
  16522. description: 结息方式 - 1:按日结息 3:按月结息
  16523. type: integer
  16524. interestsettlevalue:
  16525. description: 结息方式值
  16526. type: integer
  16527. isautoloan:
  16528. description: 是否自动放款 - 0:手动 1:自动
  16529. type: integer
  16530. marginratio:
  16531. description: 保证金比率质押率 - [仓单质押]
  16532. type: number
  16533. marketid:
  16534. description: 市场ID
  16535. type: integer
  16536. minivalue:
  16537. description: 现货商品最小变动值
  16538. type: integer
  16539. optioncompare:
  16540. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16541. type: string
  16542. orderqty:
  16543. description: 委托数量(商品数量)
  16544. type: number
  16545. productdetailid:
  16546. description: 产品组合ID
  16547. type: integer
  16548. productid:
  16549. description: 金融产品ID
  16550. type: integer
  16551. productname:
  16552. description: 产品名称
  16553. type: string
  16554. remark:
  16555. description: 备注
  16556. type: string
  16557. scfcontractid:
  16558. description: 仓单回购合同ID
  16559. type: string
  16560. sellaccountid:
  16561. description: 卖方资金账号
  16562. type: integer
  16563. selluserid:
  16564. description: 卖方用户ID
  16565. type: integer
  16566. sellwrtradeorderid:
  16567. description: 卖方委托单ID
  16568. type: string
  16569. tradeamount:
  16570. description: 成交金额(借款金额)
  16571. type: number
  16572. tradedate:
  16573. description: 交易日(yyyyMMdd)
  16574. type: string
  16575. tradeprice:
  16576. description: 成交价格
  16577. type: number
  16578. warehouseid:
  16579. description: 仓库ID
  16580. type: integer
  16581. warehousename:
  16582. description: 仓库名称
  16583. type: string
  16584. wrfactortypeid:
  16585. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16586. type: string
  16587. wrfactortypename:
  16588. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16589. type: string
  16590. wrpricetype:
  16591. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16592. type: integer
  16593. wrstandardcode:
  16594. description: 现货商品代码
  16595. type: string
  16596. wrstandardid:
  16597. description: 现货商品ID
  16598. type: integer
  16599. wrstandardname:
  16600. description: 商品名称
  16601. type: string
  16602. wrtypename:
  16603. description: 商品
  16604. type: string
  16605. type: object
  16606. models.WrFriendApply:
  16607. properties:
  16608. applicantid:
  16609. description: 申请人
  16610. type: integer
  16611. applyname:
  16612. description: 申请人名称
  16613. type: string
  16614. applysrc:
  16615. description: 申请来源 - 1:管理端 2:终端
  16616. type: integer
  16617. applystatus:
  16618. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16619. type: integer
  16620. applytime:
  16621. description: 申请时间
  16622. type: string
  16623. auditname:
  16624. description: 审核人名称
  16625. type: string
  16626. auditorid:
  16627. description: 审核人
  16628. type: integer
  16629. auditremark:
  16630. description: 审核备注
  16631. type: string
  16632. auditsrc:
  16633. description: 审核来源 - 1:管理端 2:终端
  16634. type: integer
  16635. audittime:
  16636. description: 审核时间
  16637. type: string
  16638. friendapplyid:
  16639. description: 申请ID(SEQ_FRIENDAPPLY)
  16640. type: string
  16641. friendname:
  16642. description: 好友名字(已脱敏)
  16643. type: string
  16644. frienduserid:
  16645. description: 好友用户ID
  16646. type: string
  16647. remark:
  16648. description: 备注
  16649. type: string
  16650. userid:
  16651. description: 申请人用户ID
  16652. type: integer
  16653. type: object
  16654. models.WrFtDeliveryGoods:
  16655. properties:
  16656. deliverygoodscode:
  16657. description: 品种代码
  16658. type: string
  16659. deliverygoodsid:
  16660. description: 品种ID
  16661. type: integer
  16662. deliverygoodsname:
  16663. description: 品种名称
  16664. type: string
  16665. wdlst:
  16666. description: 商品列表
  16667. items:
  16668. $ref: '#/definitions/models.WrFtWrstandard'
  16669. type: array
  16670. type: object
  16671. models.WrFtWrstandard:
  16672. properties:
  16673. enumdicname:
  16674. description: 单位名称
  16675. type: string
  16676. minivalue:
  16677. description: 最小变动值
  16678. type: integer
  16679. wrstandardcode:
  16680. description: 现货商品代码
  16681. type: string
  16682. wrstandardid:
  16683. description: 现货商品ID
  16684. type: integer
  16685. wrstandardname:
  16686. description: 商品名称
  16687. type: string
  16688. type: object
  16689. models.WrGoodsInfo:
  16690. properties:
  16691. haswr:
  16692. description: 0:仓单预售 1:仓单贸易
  16693. type: integer
  16694. lstitem:
  16695. description: 商品信息项
  16696. items:
  16697. $ref: '#/definitions/models.WrTypeItem'
  16698. type: array
  16699. lststep:
  16700. description: 履约规则
  16701. items:
  16702. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16703. type: array
  16704. marketid:
  16705. description: 市场id
  16706. type: integer
  16707. type: object
  16708. models.WrGoodsPerformanceStep:
  16709. properties:
  16710. autoid:
  16711. description: AutoID
  16712. type: integer
  16713. isauto:
  16714. description: 是否自动 - 0:不自动 1:自动
  16715. type: integer
  16716. remark:
  16717. description: 备注
  16718. type: string
  16719. stepdate:
  16720. description: 天数信息(T+N)
  16721. type: string
  16722. stepdays:
  16723. description: 距离上一步天数
  16724. type: integer
  16725. stepindex:
  16726. description: 步骤序号
  16727. type: integer
  16728. stepinfo:
  16729. description: 步骤信息(步骤名称+步骤值)
  16730. type: string
  16731. steptypeid:
  16732. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16733. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16734. type: integer
  16735. steptypename:
  16736. description: 步骤名称
  16737. type: string
  16738. stepvalue:
  16739. description: 步骤值
  16740. type: number
  16741. templateid:
  16742. description: 履约计划模板ID
  16743. type: integer
  16744. type: object
  16745. models.WrHoldLB:
  16746. properties:
  16747. accountid:
  16748. description: 持有人帐户ID
  16749. type: integer
  16750. bannerpicurl:
  16751. description: Banner图
  16752. type: string
  16753. createtime:
  16754. description: 创建时间(过户时间)
  16755. type: string
  16756. deliverygoodscode:
  16757. description: 品种代码
  16758. type: string
  16759. deliverygoodsid:
  16760. description: 品种ID
  16761. type: integer
  16762. deliverygoodsname:
  16763. description: 品种名称
  16764. type: string
  16765. enableqty:
  16766. description: 可用数量
  16767. type: number
  16768. enumdicname:
  16769. description: 单位名称
  16770. type: string
  16771. freezerqty:
  16772. description: 冻结数量
  16773. type: number
  16774. ladingbillid:
  16775. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16776. type: string
  16777. minivalue:
  16778. description: 现货商品最小变动值
  16779. type: integer
  16780. optioncompare:
  16781. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16782. type: string
  16783. parentsubnum:
  16784. description: 拆分父子单号
  16785. type: integer
  16786. pledgeqty:
  16787. description: 质押数量
  16788. type: number
  16789. qty:
  16790. description: 数量
  16791. type: number
  16792. subnum:
  16793. description: 提单子单号
  16794. type: integer
  16795. thumurls:
  16796. description: 缩略图
  16797. type: string
  16798. tradedate:
  16799. description: 交易日(yyyyMMdd)
  16800. type: string
  16801. userid:
  16802. description: 持有人ID
  16803. type: integer
  16804. warehouseid:
  16805. description: 仓库ID
  16806. type: integer
  16807. warehousename:
  16808. description: 仓库名称
  16809. type: string
  16810. wrfactortypeid:
  16811. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16812. type: string
  16813. wrfactortypename:
  16814. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16815. type: string
  16816. wrholdeno:
  16817. description: 仓单编号
  16818. type: string
  16819. wrid:
  16820. description: 仓单变更ID
  16821. type: string
  16822. wrstandardcode:
  16823. description: 现货商品代码
  16824. type: string
  16825. wrstandardid:
  16826. description: 现货商品ID
  16827. type: integer
  16828. wrstandardname:
  16829. description: 商品名称
  16830. type: string
  16831. wrtypename:
  16832. description: 商品
  16833. type: string
  16834. type: object
  16835. models.WrMarketTradeConfig:
  16836. properties:
  16837. basisdownratio:
  16838. description: 浮动价基差下限比例(仓单贸易)
  16839. type: number
  16840. basisupratio:
  16841. description: 浮动价基差上限比例(仓单贸易)
  16842. type: number
  16843. buychargealgorithm:
  16844. description: 买方手续费收取方式 1:比率 2:固定
  16845. type: integer
  16846. buychargealgorithm2:
  16847. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16848. type: integer
  16849. buychargealgorithmvalue:
  16850. description: 买方手续费设置值(交易所部分)
  16851. type: number
  16852. buychargealgorithmvalue2:
  16853. description: 买方手续费设置值(会员部分)
  16854. type: number
  16855. buychargealgorithmvalue3:
  16856. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16857. type: number
  16858. buychargealgorithmvalue4:
  16859. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16860. type: number
  16861. buyfirstmarginalgorithm:
  16862. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16863. type: integer
  16864. buyfirstmarginvalue:
  16865. description: 买方出价保证金设置值 - [竞拍]
  16866. type: number
  16867. buymarginalgorithm:
  16868. description: 买方保证金方式 - 1:比率 2:固定
  16869. type: integer
  16870. buymarginvalue:
  16871. description: 买方保证金设置值
  16872. type: number
  16873. buyreleaseratio:
  16874. description: 买方释放比率[2:分步履约]
  16875. type: number
  16876. executemode:
  16877. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16878. type: integer
  16879. executeside:
  16880. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16881. type: integer
  16882. failedchargealgorithm:
  16883. description: 流拍手续费收取方式 1:比率 2:固定
  16884. type: integer
  16885. failedchargevalue:
  16886. description: 流拍手续费设置值
  16887. type: number
  16888. failedchargevalue2:
  16889. description: 流拍卖方手续费设置值
  16890. type: number
  16891. holddays:
  16892. description: 合同期限[2:分步履约]
  16893. type: integer
  16894. listingmode:
  16895. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16896. type: integer
  16897. marketid:
  16898. description: 市场ID-仓单贸易、竞拍、预售
  16899. type: integer
  16900. minqty:
  16901. description: 最小执行量[2:分步履约]
  16902. type: number
  16903. modifierid:
  16904. description: 修改人
  16905. type: integer
  16906. nowrquotaflag:
  16907. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16908. type: integer
  16909. performancetempid:
  16910. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16911. 立即执行(-1)
  16912. type: integer
  16913. performancetempid2:
  16914. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16915. 立即执行
  16916. type: integer
  16917. performancetempid2s:
  16918. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16919. - 履约方式: 立即执行
  16920. type: string
  16921. performancetempids:
  16922. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16923. - 履约方式: 立即执行(-1)
  16924. type: string
  16925. performanceway:
  16926. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16927. type: integer
  16928. sellchargealgorithm:
  16929. description: 卖方手续费收取方式 1:比率 2:固定
  16930. type: integer
  16931. sellchargealgorithm2:
  16932. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16933. type: integer
  16934. sellchargealgorithmvalue:
  16935. description: 卖方手续费设置值(交易所部分)
  16936. type: number
  16937. sellchargealgorithmvalue2:
  16938. description: 卖方手续费设置值(会员部分)
  16939. type: number
  16940. sellchargealgorithmvalue3:
  16941. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16942. type: number
  16943. sellchargealgorithmvalue4:
  16944. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16945. type: number
  16946. sellmarginalgorithm:
  16947. description: 卖方保证金方式 - 1:比率 2:固定
  16948. type: integer
  16949. sellmarginvalue:
  16950. description: 卖方保证金设置值
  16951. type: number
  16952. sellmarginvalue2:
  16953. description: 卖方保证金设置值(无仓单)
  16954. type: number
  16955. sellreleaseratio:
  16956. description: 卖方释放比率[2:分步履约]
  16957. type: number
  16958. updatetime:
  16959. description: 更新时间
  16960. type: string
  16961. type: object
  16962. models.WrOrderDetail:
  16963. properties:
  16964. accountid:
  16965. description: 交易账号(资金账号)
  16966. type: integer
  16967. allfriendsflag:
  16968. description: 是否全好友可见 - 0:否 1:是
  16969. type: integer
  16970. amount:
  16971. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16972. type: number
  16973. bannerpicurl:
  16974. description: Banner图
  16975. type: string
  16976. begindate:
  16977. description: 开始交易日(yyyymmdd)
  16978. type: string
  16979. buyorsell:
  16980. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16981. type: integer
  16982. canbargain:
  16983. description: 是否可议价 - 0:不可 1:可
  16984. type: integer
  16985. cancelqty:
  16986. description: 撤销数量
  16987. type: number
  16988. canpart:
  16989. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16990. type: integer
  16991. delistminqty:
  16992. description: 起摘数量
  16993. type: integer
  16994. deliverygoodscode:
  16995. description: 品种代码
  16996. type: string
  16997. deliverygoodsid:
  16998. description: 品种ID
  16999. type: integer
  17000. deliverygoodsname:
  17001. description: 品种名称
  17002. type: string
  17003. deliverymonth:
  17004. description: 交收月
  17005. type: string
  17006. enddate:
  17007. description: 结束交易日(yyyymmdd)
  17008. type: string
  17009. enumdicname:
  17010. description: 单位名称
  17011. type: string
  17012. fixedprice:
  17013. description: 固定价格 - [挂牌]
  17014. type: number
  17015. freezecharge:
  17016. description: 冻结手续费
  17017. type: number
  17018. freezemargin:
  17019. description: 冻结保证金(保证金)
  17020. type: number
  17021. futupricemove:
  17022. description: 期货升贴水
  17023. type: number
  17024. futushow:
  17025. description: 期货合约/升贴水
  17026. type: string
  17027. goodscode:
  17028. description: 期货合约
  17029. type: string
  17030. goodsid:
  17031. description: 期货商品id
  17032. type: integer
  17033. goodsname:
  17034. description: 商品名称
  17035. type: string
  17036. haswr:
  17037. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17038. type: integer
  17039. isspecified:
  17040. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17041. type: integer
  17042. ladingbillid:
  17043. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17044. type: string
  17045. marginvalue:
  17046. description: 保证金设置值(履约保证金)
  17047. type: number
  17048. marketid:
  17049. description: 市场ID
  17050. type: integer
  17051. matchusername:
  17052. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17053. type: string
  17054. minivalue:
  17055. description: 现货商品最小变动值
  17056. type: integer
  17057. optioncompare:
  17058. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17059. type: string
  17060. orderqty:
  17061. description: 委托数量
  17062. type: number
  17063. ordertime:
  17064. description: 委托时间(挂牌时间)
  17065. type: string
  17066. performancetemplateid:
  17067. description: 履约模板id
  17068. type: integer
  17069. pricemove:
  17070. description: 升贴水(浮动价时填写) - [挂牌]
  17071. type: number
  17072. taname:
  17073. description: 交易用户名称(资金账号名称)
  17074. type: string
  17075. thumurls:
  17076. description: 缩略图
  17077. type: string
  17078. tradedate:
  17079. description: 交易日(yyyyMMdd)
  17080. type: string
  17081. tradeprice:
  17082. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17083. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17084. type: number
  17085. tradeqty:
  17086. description: 成交数量
  17087. type: number
  17088. userid:
  17089. description: 用户ID
  17090. type: integer
  17091. validtime:
  17092. description: 挂牌有效期
  17093. type: string
  17094. validtype:
  17095. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17096. type: integer
  17097. warehouseid:
  17098. description: 仓库ID
  17099. type: integer
  17100. warehousename:
  17101. description: 仓库名称
  17102. type: string
  17103. wrfactortypeid:
  17104. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17105. type: string
  17106. wrfactortypename:
  17107. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17108. type: string
  17109. wrpricetype:
  17110. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17111. type: integer
  17112. wrstandardcode:
  17113. description: 现货商品代码
  17114. type: string
  17115. wrstandardid:
  17116. description: 现货商品ID
  17117. type: integer
  17118. wrstandardname:
  17119. description: 商品名称
  17120. type: string
  17121. wrtradeorderid:
  17122. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17123. type: string
  17124. wrtradeorderstatus:
  17125. 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:撤单解冻贷款失败
  17126. type: integer
  17127. wrtradetype:
  17128. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17129. type: integer
  17130. wrtypename:
  17131. description: 商品
  17132. type: string
  17133. type: object
  17134. models.WrOrderQuote:
  17135. properties:
  17136. bannerpicurl:
  17137. description: Banner图
  17138. type: string
  17139. buyprice:
  17140. description: 买价
  17141. type: number
  17142. buypricemove:
  17143. description: 买升贴水(基差)
  17144. type: number
  17145. buyqty:
  17146. description: 买量
  17147. type: number
  17148. deliverygoodscode:
  17149. description: 品种代码
  17150. type: string
  17151. deliverygoodsid:
  17152. description: 品种id
  17153. type: integer
  17154. deliverygoodsname:
  17155. description: 品种名称
  17156. type: string
  17157. deliverymonth:
  17158. description: 交收月
  17159. type: string
  17160. enumdicname:
  17161. description: 单位名称
  17162. type: string
  17163. goodscode:
  17164. description: 商品合约(浮动价列表才有)
  17165. type: string
  17166. goodsid:
  17167. description: 商品id(浮动价列表才有)
  17168. type: integer
  17169. minivalue:
  17170. description: 现货商品最小变动值
  17171. type: integer
  17172. pictureurls:
  17173. description: 详情图片(逗号分隔)
  17174. type: string
  17175. sellprice:
  17176. description: 卖价
  17177. type: number
  17178. sellpricemove:
  17179. description: 卖升贴水(基差)
  17180. type: number
  17181. sellqty:
  17182. description: 卖量
  17183. type: number
  17184. thumurls:
  17185. description: 缩略图片(1:1)(逗号分隔)
  17186. type: string
  17187. warehousecode:
  17188. description: 仓库代码
  17189. type: string
  17190. warehouseid:
  17191. description: 仓库id
  17192. type: integer
  17193. warehousename:
  17194. description: 仓库名称
  17195. type: string
  17196. wrfactortypeid:
  17197. description: 仓单要素id
  17198. type: string
  17199. wrfactortypename:
  17200. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17201. type: string
  17202. wrgoodsname:
  17203. description: 商品(商品名称+仓库要素名称 拼接)
  17204. type: string
  17205. wrstandardcode:
  17206. description: 商品代码
  17207. type: string
  17208. wrstandardid:
  17209. description: 商品id
  17210. type: integer
  17211. wrstandardname:
  17212. description: 商品名称
  17213. type: string
  17214. type: object
  17215. models.WrOrderQuoteDetail:
  17216. properties:
  17217. buyorsell:
  17218. description: 买卖 - 0:买 1:卖
  17219. type: integer
  17220. delistminqty:
  17221. description: 起摘数量
  17222. type: number
  17223. deliverymonth:
  17224. description: 交收月
  17225. type: string
  17226. enumdicname:
  17227. description: 单位名称
  17228. type: string
  17229. fixedprice:
  17230. description: 买(卖)价
  17231. type: number
  17232. marketid:
  17233. description: 市场id
  17234. type: integer
  17235. minivalue:
  17236. description: 现货商品最小变动值
  17237. type: integer
  17238. orderqty:
  17239. description: 买(卖)量(=委托量-成交量)
  17240. type: number
  17241. ordertime:
  17242. description: 委托时间
  17243. type: string
  17244. pricemove:
  17245. description: 买(卖)升贴水- 基差
  17246. type: number
  17247. userid:
  17248. description: 购买方(销售方)用户ID
  17249. type: integer
  17250. username:
  17251. description: 购买方(销售方)
  17252. type: string
  17253. wrtradeorderid:
  17254. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17255. type: string
  17256. type: object
  17257. models.WrOutInApply:
  17258. properties:
  17259. applyid:
  17260. description: 申请单id
  17261. type: string
  17262. applystatus:
  17263. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17264. 8:已撤销
  17265. type: integer
  17266. applytime:
  17267. description: 申请时间
  17268. type: string
  17269. applytype:
  17270. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17271. type: integer
  17272. bannerpicurl:
  17273. description: Banner图
  17274. type: string
  17275. begindate:
  17276. description: 开始交易日(yyyymmdd)
  17277. type: string
  17278. deliverygoodscode:
  17279. description: 品种代码
  17280. type: string
  17281. deliverygoodsid:
  17282. description: 品种ID
  17283. type: integer
  17284. deliverygoodsname:
  17285. description: 品种名称
  17286. type: string
  17287. enddate:
  17288. description: 结束交易日(yyyymmdd)
  17289. type: string
  17290. enumdicname:
  17291. description: 单位名称
  17292. type: string
  17293. expresscompany:
  17294. description: 物流公司
  17295. type: string
  17296. expressnum:
  17297. description: 物流单号
  17298. type: string
  17299. minivalue:
  17300. description: 现货商品最小变动值
  17301. type: integer
  17302. optioncompare:
  17303. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17304. type: string
  17305. qty:
  17306. description: 数量
  17307. type: integer
  17308. userid:
  17309. description: 用户id
  17310. type: integer
  17311. warehouseid:
  17312. description: 仓库ID
  17313. type: integer
  17314. warehousename:
  17315. description: 仓库名称
  17316. type: string
  17317. wrfactortypeid:
  17318. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17319. type: string
  17320. wrfactortypename:
  17321. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17322. type: string
  17323. wrstandardcode:
  17324. description: 现货商品代码
  17325. type: string
  17326. wrstandardid:
  17327. description: 现货商品ID
  17328. type: integer
  17329. wrstandardname:
  17330. description: 商品名称
  17331. type: string
  17332. wrtypename:
  17333. description: 商品
  17334. type: string
  17335. type: object
  17336. models.WrPerformancePlan:
  17337. properties:
  17338. activatemonth:
  17339. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17340. type: string
  17341. amount:
  17342. description: 履约金额(总金额)
  17343. type: number
  17344. begindate:
  17345. description: 开始交易日(yyyymmdd)
  17346. type: string
  17347. buyaccountid:
  17348. description: 买方账号
  17349. type: integer
  17350. buyerfreezeamount:
  17351. description: 履约冻结(买履约)
  17352. type: number
  17353. buyerfreezeamountremain:
  17354. description: 履约冻结剩余(买履约)
  17355. type: number
  17356. buyorsell:
  17357. description: 买卖方向 0-买 1-卖
  17358. type: integer
  17359. buypaidamount:
  17360. description: 买方已冻/已扣金额 (已付金额)
  17361. type: number
  17362. buyusername:
  17363. description: 买方名字
  17364. type: string
  17365. contractid:
  17366. description: 合同ID
  17367. type: integer
  17368. createtime:
  17369. description: 创建时间
  17370. type: string
  17371. creatorid:
  17372. description: 创建人
  17373. type: integer
  17374. curstepdeadline:
  17375. description: 当前步骤到期时间
  17376. type: string
  17377. curstepid:
  17378. description: 当前步骤ID
  17379. type: string
  17380. curstepname:
  17381. description: 当前步骤名称
  17382. type: string
  17383. deliverygoodscode:
  17384. description: 品种代码
  17385. type: string
  17386. deliverygoodsid:
  17387. description: 品种ID
  17388. type: integer
  17389. deliverygoodsname:
  17390. description: 品种名称
  17391. type: string
  17392. enddate:
  17393. description: 结束交易日(yyyymmdd)
  17394. type: string
  17395. enumdicname:
  17396. description: 单位名称
  17397. type: string
  17398. expressfee:
  17399. description: 运费
  17400. type: number
  17401. expressfeeconfirmed:
  17402. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17403. type: integer
  17404. hasovershort:
  17405. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17406. type: integer
  17407. haswr:
  17408. description: 类型 0-仓单预售 1-仓单贸易
  17409. type: integer
  17410. marketid:
  17411. description: 市场ID
  17412. type: integer
  17413. middleaccountid:
  17414. description: 中间商资金账号ID
  17415. type: integer
  17416. middleuserid:
  17417. description: 中间商用户ID
  17418. type: integer
  17419. minivalue:
  17420. description: 现货商品最小变动值
  17421. type: integer
  17422. optioncompare:
  17423. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17424. type: string
  17425. overshortamount:
  17426. description: 溢短金额
  17427. type: number
  17428. overshortqty:
  17429. description: 溢短数量
  17430. type: number
  17431. paymenttype:
  17432. description: 付款方式 - 1:冻结 2:扣款
  17433. type: integer
  17434. performanceplanid:
  17435. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17436. type: string
  17437. performancestatus:
  17438. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17439. 9:超时待处理 10:超时关闭
  17440. type: integer
  17441. performancetype:
  17442. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17443. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17444. type: integer
  17445. qty:
  17446. description: 履约数量
  17447. type: number
  17448. relatedorderid:
  17449. description: 关联单号(履约类型的关联单号)
  17450. type: string
  17451. remark:
  17452. description: 备注
  17453. type: string
  17454. sellaccountid:
  17455. description: 卖方账号
  17456. type: integer
  17457. sellerfreezeamount:
  17458. description: 履约冻结(卖履约)
  17459. type: number
  17460. sellerfreezeamountremain:
  17461. description: 履约冻结剩余(卖履约)
  17462. type: number
  17463. sellreceivedamount:
  17464. description: 卖方已收金额
  17465. type: number
  17466. sellusername:
  17467. description: 卖方名字
  17468. type: string
  17469. shipremark:
  17470. description: 发货备注[物流单号]
  17471. type: string
  17472. starttime:
  17473. description: 开始时间
  17474. type: string
  17475. steptypeid:
  17476. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17477. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17478. type: integer
  17479. typename:
  17480. description: 履约类型 名称
  17481. type: string
  17482. unpaidamount:
  17483. description: 剩余款(待支付金额)
  17484. type: number
  17485. userid:
  17486. description: 用户id
  17487. type: integer
  17488. warehouseid:
  17489. description: 仓库ID
  17490. type: integer
  17491. warehousename:
  17492. description: 仓库名称
  17493. type: string
  17494. wrfactortypeid:
  17495. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17496. type: string
  17497. wrfactortypename:
  17498. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17499. type: string
  17500. wrstandardcode:
  17501. description: 现货商品代码
  17502. type: string
  17503. wrstandardid:
  17504. description: 现货商品ID
  17505. type: integer
  17506. wrstandardname:
  17507. description: 商品名称
  17508. type: string
  17509. wrtransferuserid:
  17510. description: 仓单受让用户
  17511. type: integer
  17512. wrtypename:
  17513. description: 商品
  17514. type: string
  17515. required:
  17516. - userid
  17517. type: object
  17518. models.WrPerformancePlanStep:
  17519. properties:
  17520. delaydays:
  17521. description: 延期申请天数
  17522. type: integer
  17523. deliverygoodscode:
  17524. description: 品种代码
  17525. type: string
  17526. deliverygoodsid:
  17527. description: 品种ID
  17528. type: integer
  17529. deliverygoodsname:
  17530. description: 品种名称
  17531. type: string
  17532. endtime:
  17533. description: 结束日期
  17534. type: string
  17535. enumdicname:
  17536. description: 单位名称
  17537. type: string
  17538. executeside:
  17539. description: 步骤执行方 - 1:买方 2:卖方
  17540. type: integer
  17541. handlestatus:
  17542. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17543. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17544. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17545. type: integer
  17546. isauto:
  17547. description: 是否自动 - 0:不自动 1:自动
  17548. type: integer
  17549. islastreceivestep:
  17550. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17551. type: integer
  17552. minivalue:
  17553. description: 现货商品最小变动值
  17554. type: integer
  17555. optioncompare:
  17556. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17557. type: string
  17558. overdays:
  17559. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17560. type: integer
  17561. performancestepid:
  17562. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17563. type: string
  17564. planid:
  17565. description: 所属履约计划ID
  17566. type: string
  17567. realamount:
  17568. description: 实际完成金额
  17569. type: number
  17570. relatedorderid:
  17571. description: 关联单号
  17572. type: string
  17573. remaindays:
  17574. description: 剩余天数
  17575. type: integer
  17576. remark:
  17577. description: 错误备注
  17578. type: string
  17579. starttime:
  17580. description: 开始日期
  17581. type: string
  17582. stepamount:
  17583. description: 步骤金额
  17584. type: number
  17585. stepdays:
  17586. description: 距离上一步天数(分钟)
  17587. type: integer
  17588. stepindex:
  17589. description: 步骤序号
  17590. type: integer
  17591. steplanchtype:
  17592. description: 步骤启动类型 - 1:系统自动 2:手动
  17593. type: integer
  17594. stepremark:
  17595. description: 步骤备注
  17596. type: string
  17597. stepstatus:
  17598. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17599. type: integer
  17600. steptypeid:
  17601. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17602. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17603. type: integer
  17604. steptypename:
  17605. description: 步骤名称
  17606. type: string
  17607. stepvalue:
  17608. description: 步骤值
  17609. type: number
  17610. warehouseid:
  17611. description: 仓库ID
  17612. type: integer
  17613. warehousename:
  17614. description: 仓库名称
  17615. type: string
  17616. wrfactortypeid:
  17617. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17618. type: string
  17619. wrfactortypename:
  17620. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17621. type: string
  17622. wrstandardcode:
  17623. description: 现货商品代码
  17624. type: string
  17625. wrstandardid:
  17626. description: 现货商品ID
  17627. type: integer
  17628. wrstandardname:
  17629. description: 商品名称
  17630. type: string
  17631. wrtypename:
  17632. description: 商品
  17633. type: string
  17634. type: object
  17635. models.WrPerformanceStepType:
  17636. properties:
  17637. canauto:
  17638. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17639. type: integer
  17640. steptypeid:
  17641. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17642. type: integer
  17643. steptypename:
  17644. description: 步骤类型名称
  17645. type: string
  17646. type: object
  17647. models.WrPerformanceTemplateEx:
  17648. properties:
  17649. autoid:
  17650. description: AutoID 模板id
  17651. type: integer
  17652. createtime:
  17653. description: 创建时间
  17654. type: string
  17655. creatorid:
  17656. description: 创建人
  17657. type: integer
  17658. lstStep:
  17659. description: 步骤信息列表
  17660. items:
  17661. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17662. type: array
  17663. paymenttype:
  17664. description: 支付方式 - 1:冻结 2:扣款
  17665. type: integer
  17666. takemode:
  17667. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17668. type: integer
  17669. templatename:
  17670. description: 模板名称
  17671. type: string
  17672. templatetype:
  17673. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17674. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17675. type: integer
  17676. userid:
  17677. description: 所属用户
  17678. type: integer
  17679. type: object
  17680. models.WrPosition:
  17681. properties:
  17682. accountid:
  17683. description: 帐户ID
  17684. type: integer
  17685. buyexcuteqty:
  17686. description: 采购履约中数量
  17687. type: number
  17688. creditcurqty:
  17689. description: 授信当前数量(预售仓单:预售当前量)
  17690. type: number
  17691. creditenableqty:
  17692. description: '授信可用数量(预售仓单: 可用数量)'
  17693. type: number
  17694. creditfreezeqty:
  17695. description: '授信冻结数量(预售仓单: 当前数量)'
  17696. type: number
  17697. credittotalqty:
  17698. description: 授信总数量(预售仓单:预售总量)
  17699. type: number
  17700. credittradeqty:
  17701. description: 授信成交数量(预售仓单:成交总量)
  17702. type: number
  17703. deliverygoodscode:
  17704. description: 品种代码
  17705. type: string
  17706. deliverygoodsid:
  17707. description: 品种ID
  17708. type: integer
  17709. deliverygoodsname:
  17710. description: 品种名称
  17711. type: string
  17712. enalbeqty:
  17713. description: 可用数量
  17714. type: number
  17715. enumdicname:
  17716. description: 单位名称
  17717. type: string
  17718. freezeqty:
  17719. description: 总冻结数量
  17720. type: number
  17721. haswr:
  17722. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17723. type: integer
  17724. minivalue:
  17725. description: 现货商品最小变动值
  17726. type: integer
  17727. modifytime:
  17728. description: 修改时间(过户时间)
  17729. type: string
  17730. optioncompare:
  17731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17732. type: string
  17733. pledgeqty:
  17734. description: 质押数量
  17735. type: number
  17736. querytype:
  17737. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17738. type: integer
  17739. sellexcuteqty:
  17740. description: 销售履约中数量
  17741. type: number
  17742. totalqty:
  17743. description: 总数量(库存数量)
  17744. type: number
  17745. warehouseid:
  17746. description: 仓库ID
  17747. type: integer
  17748. warehousename:
  17749. description: 仓库名称
  17750. type: string
  17751. wrfactortypeid:
  17752. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17753. type: string
  17754. wrfactortypename:
  17755. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17756. type: string
  17757. wrpositionid:
  17758. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17759. type: string
  17760. wrpositionno:
  17761. description: 仓单编号
  17762. type: string
  17763. wrstandardcode:
  17764. description: 现货商品代码
  17765. type: string
  17766. wrstandardid:
  17767. description: 现货商品ID
  17768. type: integer
  17769. wrstandardname:
  17770. description: 商品名称
  17771. type: string
  17772. wrtypename:
  17773. description: 商品
  17774. type: string
  17775. wruserid:
  17776. description: 持有人ID
  17777. type: integer
  17778. type: object
  17779. models.WrPreSaleInfo:
  17780. properties:
  17781. bannerpicurl:
  17782. description: Banner图
  17783. type: string
  17784. baseqty:
  17785. description: 中签基数
  17786. type: number
  17787. createtime:
  17788. description: 创建时间
  17789. type: string
  17790. deliverygoodsid:
  17791. description: 现货品种ID
  17792. type: integer
  17793. enddate:
  17794. description: 预售结束日期
  17795. type: string
  17796. enumdicname:
  17797. description: 单位名称
  17798. type: string
  17799. lotteryflag:
  17800. description: 摇号标识 - 0:未摇号 1:已摇号
  17801. type: integer
  17802. lotteryqty:
  17803. description: 摇号总量
  17804. type: number
  17805. luckyqty:
  17806. description: 已中签量
  17807. type: number
  17808. marketid:
  17809. description: 市场ID
  17810. type: integer
  17811. maxbuyqty:
  17812. description: 单人最大申购量
  17813. type: number
  17814. maxluckyqty:
  17815. description: 单人最大中签量
  17816. type: number
  17817. pictureurls:
  17818. description: 详情图片(逗号分隔)
  17819. type: string
  17820. placeqty:
  17821. description: 已配售量
  17822. type: number
  17823. presaleapplyid:
  17824. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17825. example: "0"
  17826. type: string
  17827. presaleqty:
  17828. description: 预售总量
  17829. type: number
  17830. presalestatus:
  17831. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17832. type: integer
  17833. sellaccountid:
  17834. description: 发行方资金账户ID
  17835. type: integer
  17836. selluserid:
  17837. description: 发行方用户ID
  17838. type: integer
  17839. sellwrtradeorderid:
  17840. description: 发行方卖委托单ID
  17841. type: string
  17842. startdate:
  17843. description: 预售开始日期
  17844. type: string
  17845. takestartdate:
  17846. description: 提货开始日期
  17847. type: string
  17848. thumurls:
  17849. description: 缩略图片(1:1)(逗号分隔)
  17850. type: string
  17851. tradedate:
  17852. description: 交易日
  17853. type: string
  17854. unitid:
  17855. description: 单位ID
  17856. type: integer
  17857. unitprice:
  17858. description: 商品单价
  17859. type: number
  17860. username:
  17861. description: 发行方用户名称
  17862. type: string
  17863. warehousecode:
  17864. description: 仓库代码(仓库简称)
  17865. type: string
  17866. warehouseid:
  17867. description: 仓库ID
  17868. type: integer
  17869. warehousename:
  17870. description: 仓库名称
  17871. type: string
  17872. wrfactortypeid:
  17873. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17874. example: "0"
  17875. type: string
  17876. wrstandardid:
  17877. description: 现货商品ID
  17878. type: integer
  17879. wrstandardname:
  17880. description: 现货商品名称
  17881. type: string
  17882. type: object
  17883. models.WrQuoteOrderMyq:
  17884. properties:
  17885. buyorsell:
  17886. description: 买卖 - 0:买 1:卖
  17887. type: integer
  17888. canbargain:
  17889. description: 是否可议价 - 0:不可 1:可
  17890. type: integer
  17891. canpart:
  17892. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17893. type: integer
  17894. delistminqty:
  17895. description: 起摘数量
  17896. type: number
  17897. deliverygoodscode:
  17898. description: 品种代码
  17899. type: string
  17900. deliverygoodsid:
  17901. description: 品种ID
  17902. type: integer
  17903. deliverygoodsname:
  17904. description: 品种名称
  17905. type: string
  17906. deliverymonth:
  17907. description: 交收月
  17908. type: string
  17909. enumdicname:
  17910. description: 单位名称
  17911. type: string
  17912. fixedprice:
  17913. description: 买(卖)价
  17914. type: number
  17915. goodscode:
  17916. description: 商品合约代码
  17917. type: string
  17918. marginflag:
  17919. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17920. type: integer
  17921. marginvalue:
  17922. description: 保证金设置值
  17923. type: number
  17924. minivalue:
  17925. description: 现货商品最小变动值
  17926. type: integer
  17927. orderqty:
  17928. description: 买(卖)量(=委托量-成交量)
  17929. type: number
  17930. ordertime:
  17931. description: 委托时间
  17932. type: string
  17933. performancetemplateid:
  17934. description: 履约模板id
  17935. type: integer
  17936. pricemove:
  17937. description: 买(卖)升贴水- 基差
  17938. type: number
  17939. templatename:
  17940. description: 履约模板名称
  17941. type: string
  17942. userid:
  17943. description: 购买方(销售方)用户ID
  17944. type: integer
  17945. username:
  17946. description: 购买方(销售方)
  17947. type: string
  17948. validtime:
  17949. description: 有效期限
  17950. type: string
  17951. validtype:
  17952. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17953. type: integer
  17954. warehousename:
  17955. description: 仓库名称
  17956. type: string
  17957. wrfactortypeid:
  17958. description: 仓单要素id
  17959. type: string
  17960. wrstandardcode:
  17961. description: 现货商品代码
  17962. type: string
  17963. wrstandardid:
  17964. description: 现货商品ID
  17965. type: integer
  17966. wrstandardname:
  17967. description: 商品名称
  17968. type: string
  17969. wrtradeorderid:
  17970. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17971. type: string
  17972. wrtypename:
  17973. description: 商品
  17974. type: string
  17975. type: object
  17976. models.WrReckonSpotGoodsTradeSum:
  17977. properties:
  17978. begindate:
  17979. description: 开始日期(结果含开始日期) yyyymmdd
  17980. type: string
  17981. enddate:
  17982. description: 结束日期(结果含结束日期) yyyymmdd
  17983. type: string
  17984. istoday:
  17985. description: 是否当日
  17986. type: boolean
  17987. marketid:
  17988. description: 市场ID
  17989. type: integer
  17990. price:
  17991. description: 价格 = 日成交金额 / 日成交数量
  17992. type: string
  17993. reckondate:
  17994. description: 日期 格式 yyyymmdd
  17995. type: string
  17996. tradeamount:
  17997. description: 日成交金额(当日单方向成交金额)
  17998. type: number
  17999. tradeqty:
  18000. description: 日成交数量(当日单方向成交数量)
  18001. type: number
  18002. wrstandardid:
  18003. description: 现货商品ID
  18004. type: integer
  18005. type: object
  18006. models.WrScfContract:
  18007. properties:
  18008. borroweruserid:
  18009. description: 借款用户ID
  18010. type: integer
  18011. buybackwrpositionqty:
  18012. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18013. type: number
  18014. closeinterest:
  18015. description: 已结利息 -> 已结费用
  18016. type: number
  18017. currisklevel:
  18018. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18019. type: integer
  18020. deadline:
  18021. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18022. type: string
  18023. deliverygoodscode:
  18024. description: 品种代码
  18025. type: string
  18026. deliverygoodsid:
  18027. description: 品种ID
  18028. type: integer
  18029. deliverygoodsname:
  18030. description: 品种名称
  18031. type: string
  18032. enumdicname:
  18033. description: 单位名称
  18034. type: string
  18035. financingdays:
  18036. description: 天数(天)
  18037. type: integer
  18038. initmargin:
  18039. description: 保证金 - [仓单回购]
  18040. type: number
  18041. interestamount:
  18042. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18043. type: number
  18044. interestdebt:
  18045. description: 利息欠款(记录负数) -> 费用欠款
  18046. type: number
  18047. interestminlen:
  18048. description: 最小起息天数
  18049. type: integer
  18050. interestrate:
  18051. description: 利率
  18052. type: number
  18053. interestratemode:
  18054. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18055. type: integer
  18056. interestsettlemode:
  18057. description: 结息方式 - 1:按日结息 3:按月结息
  18058. type: integer
  18059. interestsettlevalue:
  18060. description: 结息方式值
  18061. type: integer
  18062. isautoloan:
  18063. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18064. type: integer
  18065. lastcloseinterestday:
  18066. description: 最近结息日(yyyyMMdd)
  18067. type: string
  18068. lenderamount:
  18069. description: 贷款金额 -> 借款金额
  18070. type: number
  18071. lenderuserid:
  18072. description: 贷款方用户ID -> 融出方用户ID
  18073. type: integer
  18074. lenderusername:
  18075. description: 融出方
  18076. type: string
  18077. marginratio:
  18078. description: 保证金比率质押率 - [仓单质押]
  18079. type: number
  18080. marketid:
  18081. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18082. type: integer
  18083. minivalue:
  18084. description: 现货商品最小变动值
  18085. type: integer
  18086. optioncompare:
  18087. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18088. type: string
  18089. pricemove:
  18090. description: 估值升贴水值
  18091. type: number
  18092. productdetailid:
  18093. description: 产品组合ID
  18094. type: integer
  18095. productid:
  18096. description: 金融产品ID
  18097. type: integer
  18098. productname:
  18099. description: 产品名称
  18100. type: string
  18101. remainamount:
  18102. description: 合同剩余金额 -> 剩余金额
  18103. type: number
  18104. remainwrpositionqty:
  18105. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18106. type: number
  18107. remark:
  18108. description: 备注
  18109. type: string
  18110. scfcontractid:
  18111. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18112. type: string
  18113. scfcontractstatus:
  18114. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18115. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18116. type: integer
  18117. scfcontracttype:
  18118. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18119. type: integer
  18120. startinterestday:
  18121. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18122. type: string
  18123. totalinterest:
  18124. description: 已计利息 -> 已计费用
  18125. type: number
  18126. unpaidinterest:
  18127. description: 未结费用
  18128. type: number
  18129. updatetime:
  18130. description: 更新时间
  18131. type: string
  18132. warehouseid:
  18133. description: 仓库ID
  18134. type: integer
  18135. warehousename:
  18136. description: 仓库名称
  18137. type: string
  18138. wrfactortypeid:
  18139. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18140. type: string
  18141. wrfactortypename:
  18142. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18143. type: string
  18144. wrqty:
  18145. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18146. type: number
  18147. wrstandardcode:
  18148. description: 现货商品代码
  18149. type: string
  18150. wrstandardid:
  18151. description: 现货商品ID
  18152. type: integer
  18153. wrstandardname:
  18154. description: 商品名称
  18155. type: string
  18156. wrtypename:
  18157. description: 商品
  18158. type: string
  18159. type: object
  18160. models.WrScfContractInterest:
  18161. properties:
  18162. closeinterest:
  18163. description: 已结利息
  18164. type: number
  18165. closeintereststatus:
  18166. description: 结息状态 - 1:未结 2:已结
  18167. type: integer
  18168. closetime:
  18169. description: 结息时间
  18170. type: string
  18171. closetradedate:
  18172. description: 结息交易日
  18173. type: string
  18174. creatorid:
  18175. description: 操作人ID
  18176. type: integer
  18177. dayrate:
  18178. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18179. type: number
  18180. interest:
  18181. description: 利息
  18182. type: number
  18183. interestamount:
  18184. description: 计息金额
  18185. type: number
  18186. interestday:
  18187. description: 计息日(yyyyMMdd)
  18188. type: string
  18189. scfcontractid:
  18190. description: SCF合同ID
  18191. type: string
  18192. scfcontractinterestid:
  18193. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18194. type: integer
  18195. updatetime:
  18196. description: 更新时间
  18197. type: string
  18198. type: object
  18199. models.WrSearchUser:
  18200. properties:
  18201. userid:
  18202. description: 用户ID
  18203. type: integer
  18204. username:
  18205. description: 用户名称(已脱敏)
  18206. type: string
  18207. username2:
  18208. description: 用户名称(未脱敏)
  18209. type: string
  18210. usertype:
  18211. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18212. type: integer
  18213. required:
  18214. - username
  18215. type: object
  18216. models.WrSiteColumnDetail:
  18217. properties:
  18218. brief:
  18219. description: 简介
  18220. type: string
  18221. context:
  18222. description: 内容
  18223. type: string
  18224. coverimage:
  18225. description: 封面图片
  18226. type: string
  18227. creaedate:
  18228. description: 创建时间
  18229. type: string
  18230. id:
  18231. description: ID(SEQ_SITE_COLUMNDETAIL)
  18232. type: integer
  18233. istop:
  18234. description: 是否置顶 - 0:不置 1:置顶
  18235. type: integer
  18236. publishdate:
  18237. description: 发布日期
  18238. type: string
  18239. title:
  18240. description: 标题
  18241. type: string
  18242. updatedate:
  18243. description: 修改时间
  18244. type: string
  18245. type: object
  18246. models.WrSpecialMatchOrder:
  18247. properties:
  18248. amount:
  18249. description: 金额 = 数量 * 价格
  18250. type: number
  18251. buyorsell:
  18252. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18253. type: integer
  18254. cancelqty:
  18255. description: 撤销数量
  18256. type: number
  18257. deliverygoodscode:
  18258. description: 品种代码
  18259. type: string
  18260. deliverygoodsid:
  18261. description: 品种ID
  18262. type: integer
  18263. deliverygoodsname:
  18264. description: 品种名称
  18265. type: string
  18266. enumdicname:
  18267. description: 单位名称
  18268. type: string
  18269. fixedprice:
  18270. description: 固定价格(价格)
  18271. type: number
  18272. haswr:
  18273. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18274. type: integer
  18275. isspecified:
  18276. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18277. type: integer
  18278. marketid:
  18279. description: 市场ID
  18280. type: integer
  18281. matchuserid:
  18282. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18283. type: integer
  18284. matchusername:
  18285. description: 指定方
  18286. type: string
  18287. minivalue:
  18288. description: 现货商品最小变动值
  18289. type: integer
  18290. optioncompare:
  18291. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18292. type: string
  18293. orderqty:
  18294. description: 委托数量
  18295. type: number
  18296. ordertime:
  18297. description: 委托时间
  18298. type: string
  18299. pricemove:
  18300. description: 升贴水(浮动价时填写) - [挂牌]
  18301. type: number
  18302. tradedate:
  18303. description: 交易日(yyyyMMdd)
  18304. type: string
  18305. tradeprice:
  18306. description: 成交价格
  18307. type: number
  18308. tradeqty:
  18309. description: 成交数量
  18310. type: number
  18311. userid:
  18312. description: 用户ID
  18313. type: integer
  18314. username:
  18315. description: 发起方
  18316. type: string
  18317. warehouseid:
  18318. description: 仓库ID
  18319. type: integer
  18320. warehousename:
  18321. description: 仓库名称
  18322. type: string
  18323. wrfactortypeid:
  18324. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18325. type: string
  18326. wrfactortypename:
  18327. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18328. type: string
  18329. wrpricetype:
  18330. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18331. type: integer
  18332. wrstandardcode:
  18333. description: 现货商品代码
  18334. type: string
  18335. wrstandardid:
  18336. description: 现货商品ID
  18337. type: integer
  18338. wrstandardname:
  18339. description: 商品名称
  18340. type: string
  18341. wrtradeorderid:
  18342. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18343. type: string
  18344. wrtradeorderstatus:
  18345. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18346. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18347. type: integer
  18348. wrtradetype:
  18349. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18350. type: integer
  18351. wrtypename:
  18352. description: 商品
  18353. type: string
  18354. type: object
  18355. models.WrSpotGroupTradeSum:
  18356. properties:
  18357. deliverygoodscode:
  18358. description: 现货品种代码
  18359. type: string
  18360. deliverygoodsid:
  18361. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18362. type: integer
  18363. deliverygoodsname:
  18364. description: 现货品种名称
  18365. type: string
  18366. lastavgprice:
  18367. description: 上上个交易日价格(前2天价格)
  18368. type: string
  18369. lastreckondate:
  18370. description: 上上个交易日(前2天交易日)
  18371. type: string
  18372. reckondate:
  18373. description: 上个交易日(前1天交易日)
  18374. type: string
  18375. todayavgprice:
  18376. description: 上个交易日价格(前1天价格)
  18377. type: string
  18378. updown:
  18379. description: 涨跌
  18380. type: string
  18381. updownratio:
  18382. description: 涨幅(已格式化, 直接显示即可)
  18383. type: string
  18384. type: object
  18385. models.WrSpotGroupTradeSumDetail:
  18386. properties:
  18387. deliverygoodsid:
  18388. description: 现货商品id
  18389. type: integer
  18390. price:
  18391. description: 价格
  18392. type: number
  18393. reckondate:
  18394. description: 日期(yyymmdd, 如:20211031)
  18395. type: string
  18396. type: object
  18397. models.WrSpotGroupTradeSumEx:
  18398. properties:
  18399. lst:
  18400. description: 指数列表
  18401. items:
  18402. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18403. type: array
  18404. prereckondate:
  18405. description: 上上个交易日(yyymmdd)
  18406. type: string
  18407. reckondate:
  18408. description: 上个交易日(yyyymmdd)
  18409. type: string
  18410. type: object
  18411. models.WrStandardFactoryItem:
  18412. properties:
  18413. dgfactoryitemid:
  18414. description: 选择项id
  18415. type: integer
  18416. dgfactoryitemvalue:
  18417. description: 要素项值
  18418. type: string
  18419. warehouseid:
  18420. description: 仓库id
  18421. type: integer
  18422. type: object
  18423. models.WrStandardFactoryItemEx:
  18424. properties:
  18425. dgfactoryitemtypeid:
  18426. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18427. type: integer
  18428. itemlst:
  18429. description: 要素项列表
  18430. items:
  18431. $ref: '#/definitions/models.WrStandardFactoryItem'
  18432. type: array
  18433. itemtypename:
  18434. description: 要素项类型名称
  18435. type: string
  18436. wrstandardid:
  18437. description: 品类
  18438. type: integer
  18439. type: object
  18440. models.WrTradeDetail:
  18441. properties:
  18442. accountid:
  18443. description: 资金账号
  18444. type: integer
  18445. bannerpicurl:
  18446. description: Banner图
  18447. type: string
  18448. begindate:
  18449. description: 开始交易日(yyyymmdd)
  18450. type: string
  18451. buyorsell:
  18452. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18453. type: integer
  18454. chargevalue:
  18455. description: 手续费
  18456. type: number
  18457. deliverygoodscode:
  18458. description: 品种代码
  18459. type: string
  18460. deliverygoodsid:
  18461. description: 品种ID
  18462. type: integer
  18463. deliverygoodsname:
  18464. description: 品种名称
  18465. type: string
  18466. deliverymonth:
  18467. description: 交收月
  18468. type: string
  18469. enddate:
  18470. description: 结束交易日(yyyymmdd)
  18471. type: string
  18472. enumdicname:
  18473. description: 单位名称
  18474. type: string
  18475. haswr:
  18476. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18477. type: integer
  18478. marketid:
  18479. description: 市场ID
  18480. type: integer
  18481. matchaccountid:
  18482. description: 对手账号
  18483. type: integer
  18484. matchusername:
  18485. description: 对手方
  18486. type: string
  18487. minivalue:
  18488. description: 现货商品最小变动值
  18489. type: integer
  18490. optioncompare:
  18491. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18492. type: string
  18493. thumurls:
  18494. description: 缩略图
  18495. type: string
  18496. tradedate:
  18497. description: 交易日(yyyyMMdd)
  18498. type: string
  18499. tradeprice:
  18500. description: 成交价格
  18501. type: number
  18502. tradeqty:
  18503. description: 成交数量
  18504. type: number
  18505. tradetime:
  18506. description: 成交时间
  18507. type: string
  18508. userid:
  18509. description: 用户ID
  18510. type: integer
  18511. warehouseid:
  18512. description: 仓库ID
  18513. type: integer
  18514. warehousename:
  18515. description: 仓库名称
  18516. type: string
  18517. wrfactortypeid:
  18518. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18519. type: string
  18520. wrfactortypename:
  18521. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18522. type: string
  18523. wrstandardcode:
  18524. description: 现货商品代码
  18525. type: string
  18526. wrstandardid:
  18527. description: 现货商品ID
  18528. type: integer
  18529. wrstandardname:
  18530. description: 商品名称
  18531. type: string
  18532. wrtradedetailid:
  18533. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18534. type: string
  18535. wrtradetype:
  18536. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18537. type: integer
  18538. wrtypename:
  18539. description: 商品
  18540. type: string
  18541. type: object
  18542. models.WrTradeOrderDetail:
  18543. properties:
  18544. buyorsell:
  18545. description: 买卖方向 0-买 1-卖
  18546. type: integer
  18547. goodsid:
  18548. description: 商品id
  18549. type: integer
  18550. orderid:
  18551. description: 委托单号
  18552. type: string
  18553. orderprice:
  18554. description: 委托价格
  18555. type: number
  18556. orderqty:
  18557. description: 委托数量
  18558. type: integer
  18559. userid:
  18560. description: 用户id
  18561. type: integer
  18562. username:
  18563. description: 用户名称(已脱敏)
  18564. type: string
  18565. type: object
  18566. models.WrTypeItem:
  18567. properties:
  18568. name:
  18569. description: 名称
  18570. type: string
  18571. value:
  18572. description: 值
  18573. type: string
  18574. type: object
  18575. models.WrUserFriend:
  18576. properties:
  18577. friendname:
  18578. description: 朋友名称(已脱敏)
  18579. type: string
  18580. frienduserid:
  18581. description: 朋友id
  18582. type: integer
  18583. isfriend:
  18584. description: 是否好友 0-不是 1-是
  18585. type: integer
  18586. userid:
  18587. description: 用户id
  18588. type: integer
  18589. type: object
  18590. models.WrUserReceiptInfo:
  18591. properties:
  18592. address:
  18593. description: 地址[发票类型:企业]
  18594. type: string
  18595. autoid:
  18596. description: AutoID
  18597. type: integer
  18598. contactinfo:
  18599. description: 联系方式
  18600. type: string
  18601. idnum:
  18602. description: 身份证号码[发票类型:个人]
  18603. type: string
  18604. isdefault:
  18605. description: 是否默认地址 - 0:否 1:是
  18606. type: integer
  18607. receiptaccount:
  18608. description: 发票帐号[发票类型:企业]
  18609. type: string
  18610. receiptbank:
  18611. description: 发票开户行[发票类型:企业]
  18612. type: string
  18613. receipttype:
  18614. description: 发票类型 - 1:个人 2:企业
  18615. type: integer
  18616. taxpayerid:
  18617. description: 纳税人识别号
  18618. type: string
  18619. userid:
  18620. description: 用户ID
  18621. type: integer
  18622. username:
  18623. description: 户名(个人姓名或企业名称)
  18624. type: string
  18625. type: object
  18626. models.XHBRAND:
  18627. properties:
  18628. brandid:
  18629. description: 品牌id
  18630. type: integer
  18631. brandname:
  18632. description: 品牌名称
  18633. type: string
  18634. isvalid:
  18635. description: 是否有效 0-无效 1-有效
  18636. type: integer
  18637. type: object
  18638. models.XHDeliveryGoods:
  18639. properties:
  18640. areauserid:
  18641. description: 所属机构
  18642. type: integer
  18643. bdlst:
  18644. description: 品牌列表
  18645. items:
  18646. $ref: '#/definitions/models.XHBRAND'
  18647. type: array
  18648. deliverygoodscode:
  18649. description: 现货品种代码
  18650. type: string
  18651. deliverygoodsid:
  18652. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18653. type: integer
  18654. deliverygoodsname:
  18655. description: 现货品种名称
  18656. type: string
  18657. dgstatus:
  18658. description: 品种状态 - 作废 - 0:未激活 1:正常
  18659. type: integer
  18660. filterSubEmpty:
  18661. description: 过滤下级为空的
  18662. type: integer
  18663. isvalid:
  18664. description: 是否有效 - 0:无效 1:有效
  18665. type: integer
  18666. remark:
  18667. description: 备注
  18668. type: string
  18669. unitid:
  18670. description: 单位id(目前看,数据库中是空值)
  18671. type: integer
  18672. wdlst:
  18673. description: 品类(现货商品)列表
  18674. items:
  18675. $ref: '#/definitions/models.XHWrstandard'
  18676. type: array
  18677. type: object
  18678. models.XHMiddleGoods:
  18679. properties:
  18680. GPLST:
  18681. description: 期货品种列表
  18682. items:
  18683. $ref: '#/definitions/models.TBGoodsGroup'
  18684. type: array
  18685. convertratio:
  18686. description: 拆算系数
  18687. type: number
  18688. costratio:
  18689. description: 成本权重
  18690. type: number
  18691. deliverygoodsid:
  18692. description: 现货商品id
  18693. type: integer
  18694. enumdicname:
  18695. description: 单位名称
  18696. type: string
  18697. middlegoodscode:
  18698. description: 套保品种代码
  18699. type: string
  18700. middlegoodsid:
  18701. description: 套保品种id
  18702. type: integer
  18703. middlegoodsname:
  18704. description: 套保品种名称
  18705. type: string
  18706. unitid:
  18707. description: 单位id
  18708. type: integer
  18709. type: object
  18710. models.XHWrstandard:
  18711. properties:
  18712. bannerpicurl:
  18713. description: banner图
  18714. type: string
  18715. deliverygoodsid:
  18716. description: 品种ID
  18717. type: integer
  18718. enumdicname:
  18719. description: 单位名称
  18720. type: string
  18721. mglst:
  18722. description: 套保品列表
  18723. items:
  18724. $ref: '#/definitions/models.XHMiddleGoods'
  18725. type: array
  18726. pictureurls:
  18727. description: 详情图片(逗号分隔)
  18728. type: string
  18729. thumurls:
  18730. description: 缩略图片(1:1)(逗号分隔)
  18731. type: string
  18732. unitid:
  18733. description: 单位id
  18734. type: integer
  18735. vatrate:
  18736. description: 增值税率
  18737. type: number
  18738. wrstandardcode:
  18739. description: 现货商品代码
  18740. type: string
  18741. wrstandardid:
  18742. description: 现货商品ID(SEQ_WRSTANDARD)
  18743. type: integer
  18744. wrstandardname:
  18745. description: 现货商品名称
  18746. type: string
  18747. type: object
  18748. models.XhcpSellBackApplyEx:
  18749. properties:
  18750. applyremark:
  18751. description: 申请备注
  18752. type: string
  18753. expirytype:
  18754. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18755. type: integer
  18756. goodsspec:
  18757. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18758. type: integer
  18759. holeflag:
  18760. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18761. type: integer
  18762. isunopened:
  18763. description: 是否原封 - 1:否 2:是
  18764. type: integer
  18765. mpflag:
  18766. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18767. type: integer
  18768. openflag:
  18769. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18770. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18771. type: integer
  18772. phonenum:
  18773. description: 联系电话
  18774. type: string
  18775. userid:
  18776. description: 所属用户ID
  18777. type: integer
  18778. zpflag:
  18779. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18780. type: integer
  18781. required:
  18782. - userid
  18783. type: object
  18784. models.Xhcpsellbackapply:
  18785. properties:
  18786. applyid:
  18787. description: 申请人
  18788. type: integer
  18789. applyremark:
  18790. description: 申请备注
  18791. type: string
  18792. applysrc:
  18793. description: 申请来源 - 1:管理端 2:终端
  18794. type: integer
  18795. applystatus:
  18796. description: 申请状态 - 1:待确认 2:已处理
  18797. type: integer
  18798. applytime:
  18799. description: 申请时间
  18800. type: string
  18801. auditremark:
  18802. description: 审核备注
  18803. type: string
  18804. auditsrc:
  18805. description: 审核来源 - 1:管理端 2:终端
  18806. type: integer
  18807. expirytype:
  18808. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18809. type: integer
  18810. goodsspec:
  18811. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18812. type: integer
  18813. holeflag:
  18814. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18815. type: integer
  18816. isunopened:
  18817. description: 是否原封 - 1:否 2:是
  18818. type: integer
  18819. mpflag:
  18820. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18821. type: integer
  18822. openflag:
  18823. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18824. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18825. type: integer
  18826. phonenum:
  18827. description: 联系电话
  18828. type: string
  18829. sellbackapplyid:
  18830. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18831. type: string
  18832. userid:
  18833. description: 所属用户ID
  18834. type: integer
  18835. zpflag:
  18836. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18837. type: integer
  18838. required:
  18839. - userid
  18840. type: object
  18841. order.QueryHisTradeDetailRsp:
  18842. properties:
  18843. accountid:
  18844. description: 账户ID[报价币种]
  18845. type: integer
  18846. advanceratio:
  18847. description: 首付比率
  18848. type: number
  18849. buildtype:
  18850. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18851. type: integer
  18852. buyorsell:
  18853. description: 方向 - 0:买 1:卖
  18854. type: integer
  18855. charge:
  18856. description: 手续费
  18857. type: number
  18858. closecharge:
  18859. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18860. type: number
  18861. closeexchagechargevalue:
  18862. description: 平仓交易所手续费设置值
  18863. type: number
  18864. closefeealgorithm:
  18865. description: 平仓手续费收取方式 1:比率 2:固定
  18866. type: integer
  18867. closememberchargevalue:
  18868. description: 平仓会员手续费设置值
  18869. type: number
  18870. closepl:
  18871. description: 平仓盈亏
  18872. type: number
  18873. closepl2:
  18874. description: 平仓盈亏[逐笔]
  18875. type: number
  18876. closeqty:
  18877. description: 平仓数量(先建后平操作 需要记录)
  18878. type: number
  18879. creditamount:
  18880. description: 授信金额
  18881. type: number
  18882. decimalplace:
  18883. description: 商品报价小数位
  18884. type: integer
  18885. enumdicname:
  18886. description: 单位名称
  18887. type: string
  18888. gcaccountid:
  18889. description: 账户ID[合约币种]
  18890. type: integer
  18891. goodscode:
  18892. description: 商品代码
  18893. type: string
  18894. goodsid:
  18895. description: 商品ID
  18896. type: integer
  18897. goodsname:
  18898. description: 商品名称
  18899. type: string
  18900. goodunitid:
  18901. description: 商品单位id
  18902. type: integer
  18903. histradedate:
  18904. description: 历史交易日
  18905. type: string
  18906. intclosepl:
  18907. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18908. type: integer
  18909. isconfirmexercise:
  18910. description: 是否确认行权- 0:否 1:是
  18911. type: integer
  18912. ismain:
  18913. description: 是否主单 - 0:不是 1:是
  18914. type: integer
  18915. ispreexercise:
  18916. description: 是否预申报- 0:否 1:是
  18917. type: integer
  18918. isreckoned:
  18919. description: 是否结算 - 0:未结算 1:已结算
  18920. type: integer
  18921. isvaliddata:
  18922. description: 是否有效 - 0:无效 1:有效
  18923. type: integer
  18924. listingselecttype:
  18925. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18926. type: integer
  18927. marketid:
  18928. description: 市场ID
  18929. type: integer
  18930. marketname:
  18931. description: 市场名称
  18932. type: string
  18933. matchaccountid:
  18934. description: 对手账号id
  18935. type: integer
  18936. memberuserid:
  18937. description: 会员id 个人投资者 需要填写
  18938. type: integer
  18939. opencharge:
  18940. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18941. type: number
  18942. openexchagechargevalue:
  18943. description: 建仓交易所手续费设置值
  18944. type: number
  18945. openfeealgorithm:
  18946. description: 建仓手续费收取方式 1:比率 2:固定
  18947. type: integer
  18948. openmemberchargevalue:
  18949. description: 建仓会员手续费设置值
  18950. type: number
  18951. openqty:
  18952. description: 开仓数量(先建后平操作 需要记录)
  18953. type: number
  18954. optiontype:
  18955. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18956. type: integer
  18957. orderid:
  18958. description: 委托单号
  18959. type: string
  18960. payamount:
  18961. description: 支付金额(付款金额)
  18962. type: number
  18963. performanceplanid:
  18964. description: 履约计划ID[期权]
  18965. type: integer
  18966. performancestatus:
  18967. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18968. type: integer
  18969. preexerciseprice:
  18970. description: 预申报价格
  18971. type: number
  18972. premium:
  18973. description: 权利金 - [持仓单的权利金]
  18974. type: number
  18975. qtydecimalplace:
  18976. description: 商品报价小数位
  18977. type: integer
  18978. recvamount:
  18979. description: 到账金额 = 成交金额 - 手续费
  18980. type: number
  18981. relatedouttradeid:
  18982. description: 关联外部成交单ID
  18983. type: integer
  18984. status:
  18985. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18986. type: integer
  18987. totalamount:
  18988. description: 订单总额 = 成交金额 + 手续费
  18989. type: number
  18990. tradeamount:
  18991. description: 成交金额[账户币种,用于所有权]
  18992. type: number
  18993. tradedate:
  18994. description: 交易日(yyyyMMdd)
  18995. type: string
  18996. tradeid:
  18997. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18998. type: string
  18999. trademode:
  19000. description: 交易模式
  19001. type: integer
  19002. tradeprice:
  19003. description: 成交价格
  19004. type: number
  19005. tradeproperty:
  19006. description: 交易属性
  19007. type: integer
  19008. tradeqty:
  19009. description: 成交数量
  19010. type: number
  19011. tradetime:
  19012. description: 成交时间
  19013. type: string
  19014. tradetype:
  19015. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19016. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19017. type: integer
  19018. required:
  19019. - accountid
  19020. - buyorsell
  19021. - goodsid
  19022. - histradedate
  19023. - marketid
  19024. - memberuserid
  19025. - orderid
  19026. - tradeamount
  19027. - tradedate
  19028. - tradeid
  19029. - tradeprice
  19030. - tradeqty
  19031. - tradetime
  19032. type: object
  19033. order.QueryHisTradeOrderDetailRsp:
  19034. properties:
  19035. accountid:
  19036. description: 账户ID[报价币种]
  19037. type: integer
  19038. buildtype:
  19039. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19040. type: integer
  19041. buyorsell:
  19042. description: 买卖 - 0:买 1:卖
  19043. type: integer
  19044. cancelorderid:
  19045. description: 撤单单号(撤单时填写)
  19046. type: string
  19047. cancelqty:
  19048. description: 撤单数量
  19049. type: number
  19050. clientordertime:
  19051. description: 客户端委托时间
  19052. type: string
  19053. clientticket:
  19054. description: 客户端流水号
  19055. type: string
  19056. clienttype:
  19057. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19058. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19059. type: integer
  19060. closeexchagechargevalue:
  19061. description: 平仓交易所手续费设置值
  19062. type: number
  19063. closefeealgorithm:
  19064. description: 平仓手续费收取方式 1:比率 2:固定
  19065. type: integer
  19066. closefreezecharge:
  19067. description: 平仓冻结手续费(先建后平操作,需要记录)
  19068. type: number
  19069. closememberchargevalue:
  19070. description: 平仓会员手续费设置值
  19071. type: number
  19072. closeqty:
  19073. description: 平仓数量(先建后平操作 需要记录)
  19074. type: number
  19075. closetradeqty:
  19076. description: 平仓成交数量(先建后平操作,需要记录)
  19077. type: number
  19078. closeunfreezecharge:
  19079. description: 平仓解冻手续费(先建后平操作,需要记录)
  19080. type: number
  19081. decimalplace:
  19082. description: 商品报价小数位
  19083. type: integer
  19084. delistingtype:
  19085. description: 摘牌类型 - 1:价格最优 2:点选成交
  19086. type: integer
  19087. enumdicname:
  19088. description: 单位名称
  19089. type: string
  19090. freezecharge:
  19091. description: 冻结手续费
  19092. type: number
  19093. freezemargin:
  19094. description: 冻结保证金(冻结交易金额)
  19095. type: number
  19096. gcaccountid:
  19097. description: 账户ID[合约币种]
  19098. type: integer
  19099. goodscode:
  19100. description: 商品代码
  19101. type: string
  19102. goodsid:
  19103. description: 商品ID
  19104. type: integer
  19105. goodsname:
  19106. description: 商品名称
  19107. type: string
  19108. goodunitid:
  19109. description: 商品单位id
  19110. type: integer
  19111. histradedate:
  19112. description: 历史交易日
  19113. type: string
  19114. isconfirmexercise:
  19115. description: 是否确认行权- 0:否 1:是
  19116. type: integer
  19117. ispreexercise:
  19118. description: 是否预申报- 0:否 1:是
  19119. type: integer
  19120. isvaliddata:
  19121. description: 是否有效 - 0:无效 1:有效
  19122. type: integer
  19123. listingselecttype:
  19124. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19125. type: integer
  19126. marginalgorithm:
  19127. description: 保证金收取方式 1:比率 2:固定
  19128. type: integer
  19129. marginvalue:
  19130. description: 即市保证金设置值
  19131. type: number
  19132. marketid:
  19133. description: 市场ID
  19134. type: integer
  19135. marketmaxsub:
  19136. description: 市价最大偏移范围
  19137. type: number
  19138. marketname:
  19139. description: 市场名称
  19140. type: string
  19141. memberuserid:
  19142. description: 所属会员UserID
  19143. type: integer
  19144. openexchagechargevalue:
  19145. description: 建仓交易所手续费设置值
  19146. type: number
  19147. openfeealgorithm:
  19148. description: 建仓手续费收取方式 1:比率 2:固定
  19149. type: integer
  19150. openfreezecharge:
  19151. description: 开仓冻结手续费(先建后平操作,需要记录)
  19152. type: number
  19153. openmemberchargevalue:
  19154. description: 建仓会员手续费设置值
  19155. type: number
  19156. openqty:
  19157. description: 开仓数量(先建后平操作,需要记录)
  19158. type: number
  19159. opentradeqty:
  19160. description: 开仓成交数量(先建后平操作,需要记录)
  19161. type: number
  19162. openunfreezecharge:
  19163. description: 开仓解冻手续费(先建后平操作,需要记录)
  19164. type: number
  19165. operatetype:
  19166. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19167. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19168. 15:管理端协议转让
  19169. type: integer
  19170. operatorid:
  19171. description: 登录账号(LoginID)
  19172. type: integer
  19173. optiontype:
  19174. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19175. type: integer
  19176. orderid:
  19177. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19178. type: string
  19179. orderprice:
  19180. description: 委托价格
  19181. type: number
  19182. orderqty:
  19183. description: 委托数量
  19184. type: number
  19185. ordersrc:
  19186. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19187. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19188. type: integer
  19189. orderstatus:
  19190. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19191. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19192. 16:成交失败违约(荷兰式竞拍专用)
  19193. type: integer
  19194. ordertime:
  19195. description: 委托时间
  19196. type: string
  19197. preexerciseprice:
  19198. description: 预申报价格
  19199. type: number
  19200. premium:
  19201. description: 权利金
  19202. type: number
  19203. preorderid:
  19204. description: 关联预埋单号(止盈止损单时填写)
  19205. type: string
  19206. pricemode:
  19207. description: '取价方式 - 1:市价 2: 限价'
  19208. type: integer
  19209. qtydecimalplace:
  19210. description: 成交量小数位
  19211. type: integer
  19212. quoteid:
  19213. description: 报价单ID
  19214. type: integer
  19215. relatedid:
  19216. description: 关联单号(交割单)
  19217. type: string
  19218. retcode:
  19219. description: 错误代码
  19220. type: integer
  19221. sessionid:
  19222. description: 会话ID
  19223. type: integer
  19224. tradedate:
  19225. description: 交易日(yyyyMMdd)
  19226. type: string
  19227. trademode:
  19228. description: 交易模式
  19229. type: integer
  19230. tradeproperty:
  19231. description: 交易属性
  19232. type: integer
  19233. tradeqty:
  19234. description: 成交数量
  19235. type: number
  19236. unfreezecharge:
  19237. description: 解冻手续费
  19238. type: number
  19239. unfreezemargin:
  19240. description: 解冻保证金
  19241. type: number
  19242. updatetime:
  19243. description: 更新时间
  19244. type: string
  19245. uuid:
  19246. description: 发起端唯一id
  19247. type: string
  19248. validtime:
  19249. description: 有效期限
  19250. type: string
  19251. validtype:
  19252. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19253. type: integer
  19254. volumetype:
  19255. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19256. type: integer
  19257. required:
  19258. - accountid
  19259. - buildtype
  19260. - buyorsell
  19261. - goodsid
  19262. - histradedate
  19263. - marketid
  19264. - memberuserid
  19265. - operatetype
  19266. - orderid
  19267. - orderqty
  19268. - ordertime
  19269. - pricemode
  19270. - tradedate
  19271. - validtype
  19272. type: object
  19273. order.QueryTradeDetailRsp:
  19274. properties:
  19275. accountid:
  19276. description: 账户ID[报价币种]
  19277. type: integer
  19278. advanceratio:
  19279. description: 首付比率
  19280. type: number
  19281. buildtype:
  19282. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19283. type: integer
  19284. buyorsell:
  19285. description: 方向 - 0:买 1:卖
  19286. type: integer
  19287. charge:
  19288. description: 手续费
  19289. type: number
  19290. closecharge:
  19291. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19292. type: number
  19293. closeexchagechargevalue:
  19294. description: 平仓交易所手续费设置值
  19295. type: number
  19296. closefeealgorithm:
  19297. description: 平仓手续费收取方式 1:比率 2:固定
  19298. type: integer
  19299. closememberchargevalue:
  19300. description: 平仓会员手续费设置值
  19301. type: number
  19302. closepl:
  19303. description: 平仓盈亏
  19304. type: number
  19305. closepl2:
  19306. description: 平仓盈亏[逐笔]
  19307. type: number
  19308. closeqty:
  19309. description: 平仓数量(先建后平操作 需要记录)
  19310. type: number
  19311. creditamount:
  19312. description: 授信金额
  19313. type: number
  19314. decimalplace:
  19315. description: 商品报价小数位
  19316. type: integer
  19317. enumdicname:
  19318. description: 单位名称
  19319. type: string
  19320. gcaccountid:
  19321. description: 账户ID[合约币种]
  19322. type: integer
  19323. goodscode:
  19324. description: 商品代码
  19325. type: string
  19326. goodsid:
  19327. description: 商品ID
  19328. type: integer
  19329. goodsname:
  19330. description: 商品名称
  19331. type: string
  19332. goodunitid:
  19333. description: 商品单位id
  19334. type: integer
  19335. intclosepl:
  19336. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19337. type: integer
  19338. isconfirmexercise:
  19339. description: 是否确认行权- 0:否 1:是
  19340. type: integer
  19341. ismain:
  19342. description: 是否主单 - 0:不是 1:是
  19343. type: integer
  19344. ispreexercise:
  19345. description: 是否预申报- 0:否 1:是
  19346. type: integer
  19347. isreckoned:
  19348. description: 是否结算 - 0:未结算 1:已结算
  19349. type: integer
  19350. listingselecttype:
  19351. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19352. type: integer
  19353. marketid:
  19354. description: 市场ID
  19355. type: integer
  19356. marketname:
  19357. description: 市场名称
  19358. type: string
  19359. matchaccountid:
  19360. description: 对手账号id
  19361. type: integer
  19362. memberuserid:
  19363. description: 会员id 个人投资者 需要填写
  19364. type: integer
  19365. opencharge:
  19366. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19367. type: number
  19368. openexchagechargevalue:
  19369. description: 建仓交易所手续费设置值
  19370. type: number
  19371. openfeealgorithm:
  19372. description: 建仓手续费收取方式 1:比率 2:固定
  19373. type: integer
  19374. openmemberchargevalue:
  19375. description: 建仓会员手续费设置值
  19376. type: number
  19377. openqty:
  19378. description: 开仓数量(先建后平操作 需要记录)
  19379. type: number
  19380. optiontype:
  19381. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19382. type: integer
  19383. orderid:
  19384. description: 委托单号
  19385. type: string
  19386. payamount:
  19387. description: 支付金额(付款金额)
  19388. type: number
  19389. performanceplanid:
  19390. description: 履约计划ID[期权]
  19391. type: integer
  19392. performancestatus:
  19393. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19394. type: integer
  19395. preexerciseprice:
  19396. description: 预申报价格
  19397. type: number
  19398. premium:
  19399. description: 权利金 - [持仓单的权利金]
  19400. type: number
  19401. qtydecimalplace:
  19402. description: 商品报价小数位
  19403. type: integer
  19404. recvamount:
  19405. description: 到账金额 = 成交金额 - 手续费
  19406. type: number
  19407. relatedouttradeid:
  19408. description: 关联外部成交单ID
  19409. type: integer
  19410. status:
  19411. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19412. type: integer
  19413. totalamount:
  19414. description: 订单总额 = 成交金额 + 手续费
  19415. type: number
  19416. tradeamount:
  19417. description: 成交金额[账户币种,用于所有权]
  19418. type: number
  19419. tradedate:
  19420. description: 交易日(yyyyMMdd)
  19421. type: string
  19422. tradeid:
  19423. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19424. type: string
  19425. trademode:
  19426. description: 交易模式
  19427. type: integer
  19428. tradeprice:
  19429. description: 成交价格
  19430. type: number
  19431. tradeproperty:
  19432. description: 交易属性
  19433. type: integer
  19434. tradeqty:
  19435. description: 成交数量
  19436. type: number
  19437. tradetime:
  19438. description: 成交时间
  19439. type: string
  19440. tradetype:
  19441. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19442. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19443. type: integer
  19444. required:
  19445. - accountid
  19446. - buyorsell
  19447. - goodsid
  19448. - marketid
  19449. - memberuserid
  19450. - orderid
  19451. - tradeamount
  19452. - tradedate
  19453. - tradeid
  19454. - tradeprice
  19455. - tradeqty
  19456. - tradetime
  19457. type: object
  19458. order.QueryTradeOrderDetailRsp:
  19459. properties:
  19460. accountid:
  19461. description: 账户ID[报价币种]
  19462. type: integer
  19463. buildtype:
  19464. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19465. type: integer
  19466. buyorsell:
  19467. description: 买卖 - 0:买 1:卖
  19468. type: integer
  19469. cancelorderid:
  19470. description: 撤单单号(撤单时填写)
  19471. type: string
  19472. cancelqty:
  19473. description: 撤单数量
  19474. type: number
  19475. clienttype:
  19476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19477. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19478. type: integer
  19479. closefreezecharge:
  19480. description: 平仓冻结手续费(先建后平操作,需要记录)
  19481. type: number
  19482. closeqty:
  19483. description: 平仓数量(先建后平操作 需要记录)
  19484. type: number
  19485. closetradeqty:
  19486. description: 平仓成交数量(先建后平操作,需要记录)
  19487. type: number
  19488. closeunfreezecharge:
  19489. description: 平仓解冻手续费(先建后平操作,需要记录)
  19490. type: number
  19491. decimalplace:
  19492. description: 商品报价小数位
  19493. type: integer
  19494. delistingtype:
  19495. description: 摘牌类型 - 1:价格最优 2:点选成交
  19496. type: integer
  19497. enableqty:
  19498. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19499. type: number
  19500. enumdicname:
  19501. description: 单位名称
  19502. type: string
  19503. freezecharge:
  19504. description: 冻结手续费
  19505. type: number
  19506. freezemargin:
  19507. description: 冻结保证金(冻结交易金额)
  19508. type: number
  19509. goodscode:
  19510. description: 商品代码
  19511. type: string
  19512. goodsid:
  19513. description: 商品ID
  19514. type: integer
  19515. goodsname:
  19516. description: 商品名称
  19517. type: string
  19518. goodunitid:
  19519. description: 商品单位id
  19520. type: integer
  19521. listingselecttype:
  19522. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19523. type: integer
  19524. marketid:
  19525. description: 市场ID
  19526. type: integer
  19527. marketname:
  19528. description: 市场名称
  19529. type: string
  19530. openfreezecharge:
  19531. description: 开仓冻结手续费(先建后平操作,需要记录)
  19532. type: number
  19533. openqty:
  19534. description: 开仓数量(先建后平操作,需要记录)
  19535. type: number
  19536. opentradeqty:
  19537. description: 开仓成交数量(先建后平操作,需要记录)
  19538. type: number
  19539. openunfreezecharge:
  19540. description: 开仓解冻手续费(先建后平操作,需要记录)
  19541. type: number
  19542. operatetype:
  19543. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19544. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19545. 15:管理端协议转让
  19546. type: integer
  19547. operatorid:
  19548. description: 登录账号(LoginID)
  19549. type: integer
  19550. orderid:
  19551. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19552. type: string
  19553. orderprice:
  19554. description: 委托价格
  19555. type: number
  19556. orderqty:
  19557. description: 委托数量
  19558. type: number
  19559. ordersrc:
  19560. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19561. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19562. type: integer
  19563. orderstatus:
  19564. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19565. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19566. 16:成交失败违约(荷兰式竞拍专用)
  19567. type: integer
  19568. ordertime:
  19569. description: 委托时间
  19570. type: string
  19571. preorderid:
  19572. description: 关联预埋单号(止盈止损单时填写)
  19573. type: string
  19574. pricemode:
  19575. description: '取价方式 - 1:市价 2: 限价'
  19576. type: integer
  19577. qtydecimalplace:
  19578. description: 商品报价小数位
  19579. type: integer
  19580. relatedid:
  19581. description: 关联单号(交割单)
  19582. type: string
  19583. tradedate:
  19584. description: 交易日(yyyyMMdd)
  19585. type: string
  19586. trademode:
  19587. description: 交易模式
  19588. type: integer
  19589. tradeqty:
  19590. description: 成交数量
  19591. type: number
  19592. unfreezecharge:
  19593. description: 解冻手续费
  19594. type: number
  19595. unfreezemargin:
  19596. description: 解冻保证金
  19597. type: number
  19598. validtime:
  19599. description: 有效期限
  19600. type: string
  19601. validtype:
  19602. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19603. type: integer
  19604. volumetype:
  19605. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19606. type: integer
  19607. required:
  19608. - accountid
  19609. - buildtype
  19610. - buyorsell
  19611. - goodsid
  19612. - marketid
  19613. - operatetype
  19614. - orderqty
  19615. - ordertime
  19616. - pricemode
  19617. - tradedate
  19618. - validtype
  19619. type: object
  19620. order.QueryTradePositionRsp:
  19621. properties:
  19622. accountid:
  19623. description: 资金账户
  19624. type: integer
  19625. agreeunit:
  19626. description: 合约单位
  19627. type: number
  19628. averageprice:
  19629. description: 持仓均价
  19630. type: number
  19631. buyorsell:
  19632. description: 方向 - 0:买 1:卖
  19633. type: integer
  19634. closetotalqty:
  19635. description: 平仓总数量
  19636. type: number
  19637. curholderamount:
  19638. description: 当前持仓总金额[商品币种]
  19639. type: number
  19640. curpositionqty:
  19641. description: 当前持仓总数量
  19642. type: number
  19643. currencyid:
  19644. description: 报价货币ID
  19645. type: integer
  19646. curtdposition:
  19647. description: 期末今日头寸
  19648. type: number
  19649. decimalplace:
  19650. description: 报价小数位
  19651. type: integer
  19652. enableqty:
  19653. description: 可用量
  19654. type: number
  19655. fretdposition:
  19656. description: 冻结今日头寸
  19657. type: number
  19658. frozenqty:
  19659. description: 持仓冻结数量
  19660. type: number
  19661. goodscode:
  19662. description: 商品代码
  19663. type: string
  19664. goodsid:
  19665. description: 商品Id
  19666. type: integer
  19667. goodsname:
  19668. description: 商品名称
  19669. type: string
  19670. goodunit:
  19671. description: 报价单位
  19672. type: string
  19673. goodunitid:
  19674. description: 报价单位ID
  19675. type: integer
  19676. holderamount:
  19677. description: 期初持仓总金额[商品币种]
  19678. type: number
  19679. lastprice:
  19680. description: 最新价
  19681. type: number
  19682. marketamount:
  19683. description: 市值
  19684. type: number
  19685. marketid:
  19686. description: 所属市场ID
  19687. type: integer
  19688. openreqqty:
  19689. description: 开仓申请数量(用于比较最大持仓数量)
  19690. type: number
  19691. opentotalqty:
  19692. description: 开仓总数量
  19693. type: number
  19694. otherfrozenqty:
  19695. description: 持仓其他冻结数量(交割冻结)
  19696. type: number
  19697. positionpl:
  19698. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19699. * 合约单位
  19700. type: number
  19701. positionplrate:
  19702. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19703. type: number
  19704. positionqty:
  19705. description: 期初持仓数量
  19706. type: number
  19707. qtydecimalplace:
  19708. description: 成交量小数位
  19709. type: integer
  19710. refgoodscode:
  19711. description: 参考商品代码
  19712. type: string
  19713. refgoodsid:
  19714. description: 参考商品ID
  19715. type: integer
  19716. tnqty:
  19717. description: T+N冻结总量
  19718. type: number
  19719. tnusedqty:
  19720. description: T+N使用量(可以使用T+N的冻结数量)
  19721. type: number
  19722. trademode:
  19723. description: 交易模式
  19724. type: integer
  19725. tradeproperty:
  19726. description: 交易属性
  19727. type: integer
  19728. usedmargin:
  19729. description: 占用保证金[商品币种]
  19730. type: number
  19731. required:
  19732. - goodsid
  19733. type: object
  19734. pb.GoodsMarginCfgStruct:
  19735. properties:
  19736. CustomerTypeID:
  19737. description: 投资者客户类型
  19738. type: integer
  19739. GoodsID:
  19740. description: 商品ID
  19741. type: integer
  19742. IsDefault:
  19743. description: 是否默认标志位
  19744. type: integer
  19745. LockMarginValue:
  19746. description: 锁仓保证金
  19747. type: number
  19748. MarginAlgorithm:
  19749. description: 保证金计算方式
  19750. type: integer
  19751. MarketMarginValue:
  19752. description: 即市保证金值
  19753. type: number
  19754. RealMarginAlgorithm:
  19755. description: 实付保证金计算方式
  19756. type: integer
  19757. RealMarginValue:
  19758. description: 实付比例
  19759. type: number
  19760. ReckonMarginValue:
  19761. description: 结算保证金值
  19762. type: number
  19763. type: object
  19764. quote.HistoryData:
  19765. properties:
  19766. c:
  19767. description: 收盘价
  19768. type: number
  19769. f:
  19770. description: 是否补充数据
  19771. type: boolean
  19772. h:
  19773. description: 最高价
  19774. type: number
  19775. hv:
  19776. description: 持仓量
  19777. type: integer
  19778. l:
  19779. description: 最低价
  19780. type: number
  19781. o:
  19782. description: 开盘价
  19783. type: number
  19784. s:
  19785. description: 结算价,日线周期(包括)以上才有
  19786. type: number
  19787. ts:
  19788. description: 时间
  19789. type: string
  19790. tt:
  19791. description: 总金额
  19792. type: number
  19793. tv:
  19794. description: 总量(成交量)
  19795. type: integer
  19796. type: object
  19797. quote.HistoryTikData:
  19798. properties:
  19799. AV:
  19800. description: 卖量
  19801. type: integer
  19802. Ask:
  19803. description: 卖价
  19804. type: number
  19805. BV:
  19806. description: 买量
  19807. type: integer
  19808. Bid:
  19809. description: 买价
  19810. type: number
  19811. HI:
  19812. description: 单笔持仓
  19813. type: integer
  19814. HV:
  19815. description: 持仓量
  19816. type: integer
  19817. PE:
  19818. description: 现价
  19819. type: number
  19820. TDR:
  19821. description: 交易方向,0:买 1:卖
  19822. type: integer
  19823. TK:
  19824. description: 交易类型
  19825. type: integer
  19826. TS:
  19827. description: 行情时间文本
  19828. type: string
  19829. TT:
  19830. description: 现金额
  19831. type: number
  19832. Vol:
  19833. description: 现量
  19834. type: integer
  19835. type: object
  19836. quote.QueryQuoteDayRsp:
  19837. properties:
  19838. ask:
  19839. description: 卖1
  19840. type: number
  19841. ask2:
  19842. description: 卖2
  19843. type: number
  19844. ask3:
  19845. description: 卖3
  19846. type: number
  19847. ask4:
  19848. description: 卖4
  19849. type: number
  19850. ask5:
  19851. description: 卖5
  19852. type: number
  19853. ask6:
  19854. description: 卖6
  19855. type: number
  19856. ask7:
  19857. description: 卖7
  19858. type: number
  19859. ask8:
  19860. description: 卖8
  19861. type: number
  19862. ask9:
  19863. description: 卖9
  19864. type: number
  19865. ask10:
  19866. description: 卖10
  19867. type: number
  19868. askorderid:
  19869. description: 卖单号1
  19870. type: integer
  19871. askorderid2:
  19872. description: 卖单号2
  19873. type: integer
  19874. askorderid3:
  19875. description: 卖单号3
  19876. type: integer
  19877. askorderid4:
  19878. description: 卖单号4
  19879. type: integer
  19880. askorderid5:
  19881. description: 卖单号5
  19882. type: integer
  19883. askordervolume:
  19884. description: 卖单量1
  19885. type: integer
  19886. askordervolume2:
  19887. description: 卖单量2
  19888. type: integer
  19889. askordervolume3:
  19890. description: 卖单量3
  19891. type: integer
  19892. askordervolume4:
  19893. description: 卖单量4
  19894. type: integer
  19895. askordervolume5:
  19896. description: 卖单量5
  19897. type: integer
  19898. askordervolume6:
  19899. description: 卖单量6
  19900. type: integer
  19901. askordervolume7:
  19902. description: 卖单量7
  19903. type: integer
  19904. askordervolume8:
  19905. description: 卖单量8
  19906. type: integer
  19907. askordervolume9:
  19908. description: 卖单量9
  19909. type: integer
  19910. askordervolume10:
  19911. description: 卖单量10
  19912. type: integer
  19913. askqueueinfo:
  19914. description: 大利市卖港股用
  19915. type: string
  19916. askvolume:
  19917. description: 卖量1
  19918. type: integer
  19919. askvolume2:
  19920. description: 卖量2
  19921. type: integer
  19922. askvolume3:
  19923. description: 卖量3
  19924. type: integer
  19925. askvolume4:
  19926. description: 卖量4
  19927. type: integer
  19928. askvolume5:
  19929. description: 卖量5
  19930. type: integer
  19931. askvolume6:
  19932. description: 卖量6
  19933. type: integer
  19934. askvolume7:
  19935. description: 卖量7
  19936. type: integer
  19937. askvolume8:
  19938. description: 卖量8
  19939. type: integer
  19940. askvolume9:
  19941. description: 卖量9
  19942. type: integer
  19943. askvolume10:
  19944. description: 卖量10
  19945. type: integer
  19946. averageprice:
  19947. description: 均价
  19948. type: number
  19949. bid:
  19950. description: 买1
  19951. type: number
  19952. bid2:
  19953. description: 买2
  19954. type: number
  19955. bid3:
  19956. description: 买3
  19957. type: number
  19958. bid4:
  19959. description: 买4
  19960. type: number
  19961. bid5:
  19962. description: 买5
  19963. type: number
  19964. bid6:
  19965. description: 买6
  19966. type: number
  19967. bid7:
  19968. description: 买7
  19969. type: number
  19970. bid8:
  19971. description: 买8
  19972. type: number
  19973. bid9:
  19974. description: 买9
  19975. type: number
  19976. bid10:
  19977. description: 买10
  19978. type: number
  19979. bidorderid:
  19980. description: 买单号1
  19981. type: integer
  19982. bidorderid2:
  19983. description: 买单号2
  19984. type: integer
  19985. bidorderid3:
  19986. description: 买单号3
  19987. type: integer
  19988. bidorderid4:
  19989. description: 买单号4
  19990. type: integer
  19991. bidorderid5:
  19992. description: 买单号5
  19993. type: integer
  19994. bidordervolume:
  19995. description: 买单量1
  19996. type: integer
  19997. bidordervolume2:
  19998. description: 买单量2
  19999. type: integer
  20000. bidordervolume3:
  20001. description: 买单量3
  20002. type: integer
  20003. bidordervolume4:
  20004. description: 买单量4
  20005. type: integer
  20006. bidordervolume5:
  20007. description: 买单量5
  20008. type: integer
  20009. bidordervolume6:
  20010. description: 买单量6
  20011. type: integer
  20012. bidordervolume7:
  20013. description: 买单量7
  20014. type: integer
  20015. bidordervolume8:
  20016. description: 买单量8
  20017. type: integer
  20018. bidordervolume9:
  20019. description: 买单量9
  20020. type: integer
  20021. bidordervolume10:
  20022. description: 买单量10
  20023. type: integer
  20024. bidqueueinfo:
  20025. description: 大利市买港股用
  20026. type: string
  20027. bidvolume:
  20028. description: 买量1
  20029. type: integer
  20030. bidvolume2:
  20031. description: 买量2
  20032. type: integer
  20033. bidvolume3:
  20034. description: 买量3
  20035. type: integer
  20036. bidvolume4:
  20037. description: 买量4
  20038. type: integer
  20039. bidvolume5:
  20040. description: 买量5
  20041. type: integer
  20042. bidvolume6:
  20043. description: 买量6
  20044. type: integer
  20045. bidvolume7:
  20046. description: 买量7
  20047. type: integer
  20048. bidvolume8:
  20049. description: 买量8
  20050. type: integer
  20051. bidvolume9:
  20052. description: 买量9
  20053. type: integer
  20054. bidvolume10:
  20055. description: 买量10
  20056. type: integer
  20057. calloptionpremiums:
  20058. description: 认购期权1
  20059. type: integer
  20060. calloptionpremiums2:
  20061. description: 认购期权2
  20062. type: integer
  20063. calloptionpremiums3:
  20064. description: 认购期权3
  20065. type: integer
  20066. calloptionpremiums4:
  20067. description: 认购期权4
  20068. type: integer
  20069. calloptionpremiums5:
  20070. description: 认购期权5
  20071. type: integer
  20072. cleartime:
  20073. description: 清盘时间
  20074. type: integer
  20075. exchangecode:
  20076. description: 交易所代码
  20077. type: integer
  20078. exchangedate:
  20079. description: 交易日
  20080. type: integer
  20081. goodscode:
  20082. description: 商品代码
  20083. type: string
  20084. grepmarketprice:
  20085. description: 暗盘价 港股专用
  20086. type: number
  20087. highest:
  20088. description: 最高价
  20089. type: number
  20090. holdincrement:
  20091. description: 单笔持仓
  20092. type: integer
  20093. holdvolume:
  20094. description: 持仓
  20095. type: integer
  20096. iep:
  20097. description: 平衡价 港股专用
  20098. type: number
  20099. iev:
  20100. description: 平衡量 港股专用
  20101. type: number
  20102. inventory:
  20103. description: 库存
  20104. type: integer
  20105. iscleared:
  20106. description: 是否清盘标志
  20107. type: integer
  20108. issettled:
  20109. description: 是否结算标志
  20110. type: integer
  20111. last:
  20112. description: 最新价
  20113. type: number
  20114. lastlot:
  20115. description: 最新成交手数
  20116. type: integer
  20117. lasttime:
  20118. description: 行情时间(只有现价变化行情时间才变化)
  20119. type: string
  20120. lastturnover:
  20121. description: 最新成交金额
  20122. type: number
  20123. lastvolume:
  20124. description: 最新成交量
  20125. type: integer
  20126. limitdown:
  20127. description: 跌停价
  20128. type: number
  20129. limitup:
  20130. description: 涨停价
  20131. type: number
  20132. lowest:
  20133. description: 最低价
  20134. type: number
  20135. nontotalholdervolume:
  20136. description: 非交易持仓量
  20137. type: integer
  20138. nontotallot:
  20139. description: 非交易总手数
  20140. type: integer
  20141. nontotalturnover:
  20142. description: 非交易总金额
  20143. type: integer
  20144. nontotalvolume:
  20145. description: 非交易总量
  20146. type: integer
  20147. opened:
  20148. description: 开盘价
  20149. type: number
  20150. opentime:
  20151. description: 开盘时间
  20152. type: string
  20153. orderid:
  20154. description: 序号
  20155. type: integer
  20156. preclose:
  20157. description: 昨收
  20158. type: number
  20159. preholdvolume:
  20160. description: 昨持仓
  20161. type: integer
  20162. presettle:
  20163. description: 昨结价
  20164. type: number
  20165. publictradetype:
  20166. description: 公共交易标志类型 港股专用
  20167. type: string
  20168. putoptionpremiums:
  20169. description: 认沽期权1
  20170. type: integer
  20171. putoptionpremiums2:
  20172. description: 认沽期权2
  20173. type: integer
  20174. putoptionpremiums3:
  20175. description: 认沽期权3
  20176. type: integer
  20177. putoptionpremiums4:
  20178. description: 认沽期权4
  20179. type: integer
  20180. putoptionpremiums5:
  20181. description: 认沽期权5
  20182. type: integer
  20183. settle:
  20184. description: 结算价
  20185. type: number
  20186. strikeprice:
  20187. description: 发行价
  20188. type: number
  20189. totalaskvolume:
  20190. description: 内盘
  20191. type: integer
  20192. totalbidvolume:
  20193. description: 外盘
  20194. type: integer
  20195. totallot:
  20196. description: 总手数
  20197. type: integer
  20198. totalturnover:
  20199. description: 总金额
  20200. type: number
  20201. totalvolume:
  20202. description: 总量
  20203. type: integer
  20204. utclasttime:
  20205. description: utc的行情时间
  20206. type: string
  20207. type: object
  20208. quote.QueryTSDataRsp:
  20209. properties:
  20210. Count:
  20211. description: 交易日应有数据个数
  20212. type: integer
  20213. decimalPlace:
  20214. description: 小数位
  20215. type: integer
  20216. endTime:
  20217. description: 结束时间
  20218. type: string
  20219. goodsCode:
  20220. description: 商品代码
  20221. type: string
  20222. historyDatas:
  20223. description: 历史数据
  20224. items:
  20225. $ref: '#/definitions/quote.HistoryData'
  20226. type: array
  20227. outGoodsCode:
  20228. description: 外部商品代码
  20229. type: string
  20230. preSettle:
  20231. description: 昨结价
  20232. type: number
  20233. runSteps:
  20234. description: 交易日开休市计划
  20235. items:
  20236. $ref: '#/definitions/quote.TSDataRunStep'
  20237. type: array
  20238. startTime:
  20239. description: 开始时间
  20240. type: string
  20241. tradeDate:
  20242. description: 交易日
  20243. type: string
  20244. type: object
  20245. quote.TSDataRunStep:
  20246. properties:
  20247. end:
  20248. description: 真实结束时间
  20249. type: string
  20250. endflag:
  20251. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20252. type: integer
  20253. endtime:
  20254. description: 结束时间(HH:mm)
  20255. type: string
  20256. endweekday:
  20257. description: 结束周几
  20258. type: integer
  20259. groupid:
  20260. description: 分组ID
  20261. type: integer
  20262. runstep:
  20263. description: 运行阶段 - 2:连续交易
  20264. type: integer
  20265. sectionid:
  20266. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20267. 结束时间=结算时间 结束周几=结算周几
  20268. type: integer
  20269. start:
  20270. description: 真实开始时间
  20271. type: string
  20272. startflag:
  20273. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20274. type: integer
  20275. starttime:
  20276. description: 起始时间(HH:mm)
  20277. type: string
  20278. startweekday:
  20279. description: 起始周几
  20280. type: integer
  20281. tradeweekday:
  20282. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20283. type: integer
  20284. type: object
  20285. szdz.QueryConvertLogRsp:
  20286. properties:
  20287. accountid:
  20288. description: 资金账户ID
  20289. type: integer
  20290. clientticket:
  20291. description: 客户端流水号
  20292. type: string
  20293. converttype:
  20294. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20295. type: integer
  20296. createtime:
  20297. description: 记账时间
  20298. type: string
  20299. daymaxvalue:
  20300. description: 配置当日最大转入限制
  20301. type: number
  20302. daymaxvalue2:
  20303. description: 配置当日最大转入限制(转入)
  20304. type: number
  20305. goodscode:
  20306. description: 商品代码
  20307. type: string
  20308. goodsname:
  20309. description: 商品名称
  20310. type: string
  20311. handlestatus:
  20312. description: 处理状态
  20313. type: integer
  20314. innergoodsid:
  20315. description: 内部商品ID
  20316. type: integer
  20317. inratio:
  20318. description: 配置转入比值
  20319. type: integer
  20320. invalue:
  20321. description: 目标值
  20322. type: number
  20323. logid:
  20324. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20325. type: integer
  20326. mobile:
  20327. description: 手机号码(加密存储)
  20328. type: string
  20329. outergoodscode:
  20330. description: 外部商品代码[JD\PD]
  20331. type: string
  20332. outratio:
  20333. description: 配置转出比值
  20334. type: integer
  20335. outvalue:
  20336. description: 源值
  20337. type: number
  20338. pddecimalplace:
  20339. description: PD小数位
  20340. type: integer
  20341. qty:
  20342. description: 数量
  20343. type: string
  20344. remark:
  20345. description: 备注
  20346. type: string
  20347. sessionid:
  20348. description: 会话ID
  20349. type: integer
  20350. timemaxvalue:
  20351. description: 配置单次最大转入限制
  20352. type: number
  20353. timemaxvalue2:
  20354. description: 配置单次最大转入限制(转入)
  20355. type: number
  20356. timeminvalue:
  20357. description: 配置单次最小数量限制
  20358. type: number
  20359. timeminvalue2:
  20360. description: 配置单次最小数量限制(转入)
  20361. type: number
  20362. tradedate:
  20363. description: 交易日(yyyyMMdd)
  20364. type: string
  20365. userid:
  20366. description: 用户ID
  20367. type: integer
  20368. required:
  20369. - logid
  20370. type: object
  20371. szdz.QueryGoodsPickupRsp:
  20372. properties:
  20373. accountid:
  20374. description: 账户ID
  20375. type: integer
  20376. address:
  20377. description: 提货人详细地址
  20378. type: string
  20379. auditer:
  20380. description: 审核人
  20381. type: integer
  20382. audittime:
  20383. description: 审核时间
  20384. type: string
  20385. cardnum:
  20386. description: 提货人证件号码
  20387. type: string
  20388. cardtypeid:
  20389. description: 提货人证件类型
  20390. type: integer
  20391. checkremark:
  20392. description: 审核备注
  20393. type: string
  20394. goodscode:
  20395. description: 商品代码
  20396. type: string
  20397. goodsid:
  20398. description: 商品ID
  20399. type: integer
  20400. goodsname:
  20401. description: 商品名称
  20402. type: string
  20403. handlestatus:
  20404. description: 处理状态
  20405. type: integer
  20406. marketid:
  20407. description: 市场ID
  20408. type: integer
  20409. phonenum:
  20410. description: 提货人联系方式
  20411. type: string
  20412. qty:
  20413. description: 提货数量
  20414. type: number
  20415. recivername:
  20416. description: 提货人姓名
  20417. type: string
  20418. reqtime:
  20419. description: 更新时间
  20420. type: string
  20421. takemode:
  20422. description: 提货方式 - 2:自提 3:配送
  20423. type: integer
  20424. takeorderid:
  20425. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20426. type: string
  20427. takeorderstatus:
  20428. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20429. type: integer
  20430. takeremark:
  20431. description: 提货备注
  20432. type: string
  20433. tradedate:
  20434. description: 交易日(yyyyMMdd)
  20435. type: string
  20436. userid:
  20437. description: 用户ID
  20438. type: integer
  20439. required:
  20440. - takeorderid
  20441. type: object
  20442. szdz.QueryRecieptOrderRsp:
  20443. properties:
  20444. accountName:
  20445. description: 所属账号名称(已脱敏)
  20446. type: string
  20447. accountid:
  20448. description: 资金账号
  20449. type: integer
  20450. buyorsell:
  20451. description: 方向 - 0:买 1:卖
  20452. type: integer
  20453. enableqty:
  20454. description: 可摘数量
  20455. type: integer
  20456. goodscode:
  20457. description: 商品代码
  20458. type: string
  20459. goodsid:
  20460. description: 商品ID
  20461. type: integer
  20462. goodsname:
  20463. description: 商品名称
  20464. type: string
  20465. orderid:
  20466. description: 委托单号
  20467. type: string
  20468. orderprice:
  20469. description: 委托价格
  20470. type: number
  20471. ordertime:
  20472. description: 委托时间
  20473. type: string
  20474. tradedate:
  20475. description: 交易日(yyyyMMdd)
  20476. type: string
  20477. required:
  20478. - ordertime
  20479. type: object
  20480. szdz.QuerySZDZTradePositionRsp:
  20481. properties:
  20482. accountid:
  20483. description: 账号Id
  20484. type: integer
  20485. agreeunit:
  20486. description: 合约单位
  20487. type: number
  20488. averageprice:
  20489. description: 持仓均价
  20490. type: number
  20491. buyorsell:
  20492. description: 方向 - 0:买 1:卖
  20493. type: integer
  20494. closetotalqty:
  20495. description: 平仓总数量
  20496. type: integer
  20497. curholderamount:
  20498. description: 当前持仓总金额
  20499. type: number
  20500. curpositionqty:
  20501. description: 当前持仓总数量
  20502. type: integer
  20503. currencyid:
  20504. description: 报价货币ID
  20505. type: integer
  20506. curtdposition:
  20507. description: 期末今日头寸
  20508. type: integer
  20509. decimalplace:
  20510. description: 报价小数位
  20511. type: integer
  20512. enableqty:
  20513. description: 可用量
  20514. type: integer
  20515. fretdposition:
  20516. description: 冻结今日头寸
  20517. type: integer
  20518. frozenqty:
  20519. description: 持仓冻结数量
  20520. type: integer
  20521. goodscode:
  20522. description: 商品代码(内部)
  20523. type: string
  20524. goodsid:
  20525. description: 商品Id
  20526. type: integer
  20527. goodsname:
  20528. description: 商品名称
  20529. type: string
  20530. goodunit:
  20531. description: 报价单位
  20532. type: string
  20533. goodunitid:
  20534. description: 报价单位ID
  20535. type: integer
  20536. holderamount:
  20537. description: 期初持仓总金额
  20538. type: number
  20539. marketid:
  20540. description: 市场ID
  20541. type: integer
  20542. openreqqty:
  20543. description: 开仓申请数量
  20544. type: integer
  20545. opentotalqty:
  20546. description: 开仓总数量
  20547. type: integer
  20548. otherfrozenqty:
  20549. description: 持仓其他冻结数量(交割冻结)
  20550. type: integer
  20551. positionqty:
  20552. description: 期初持仓数量
  20553. type: integer
  20554. szdz3freezqty:
  20555. description: 尚志大宗转换冻结总数量
  20556. type: integer
  20557. tnqty:
  20558. description: T+N冻结总量
  20559. type: integer
  20560. tnusedqty:
  20561. description: T+N使用量
  20562. type: integer
  20563. trademode:
  20564. description: 交易模式
  20565. type: integer
  20566. usedmargin:
  20567. description: 占用保证金
  20568. type: number
  20569. type: object
  20570. taaccount.QueryAmountLogRsp:
  20571. properties:
  20572. OPERATETYPENAME:
  20573. description: 资金操作类型名称
  20574. type: string
  20575. accountid:
  20576. description: 资金账户ID
  20577. type: integer
  20578. agoodscode:
  20579. description: 竞拍商品代码
  20580. type: string
  20581. agoodsname:
  20582. description: 竞拍商品名称
  20583. type: string
  20584. amount:
  20585. description: 资金金额
  20586. type: number
  20587. amountadjusttype:
  20588. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20589. type: integer
  20590. autoid:
  20591. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20592. type: integer
  20593. balance:
  20594. description: 期初余额
  20595. type: number
  20596. businesscode:
  20597. description: 业务编号
  20598. type: integer
  20599. createtime:
  20600. description: 发生时间
  20601. type: string
  20602. currencyid:
  20603. description: 币种ID
  20604. type: integer
  20605. currentbalance:
  20606. description: 期末余额(变动后金额)
  20607. type: number
  20608. dgoodscode:
  20609. description: 交割商品代码
  20610. type: string
  20611. dgoodsname:
  20612. description: 交割商品名称
  20613. type: string
  20614. goodscode:
  20615. description: 商品代码
  20616. type: string
  20617. goodsid:
  20618. description: 商品ID
  20619. type: integer
  20620. goodsname:
  20621. description: 商品名称
  20622. type: string
  20623. marketid:
  20624. description: 市场ID
  20625. type: integer
  20626. marketname:
  20627. description: 市场名称
  20628. type: string
  20629. moneyticket:
  20630. description: 资金流水号:银行端流水号
  20631. type: integer
  20632. operatetype:
  20633. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20634. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20635. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20636. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20637. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20638. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20639. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20640. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20641. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20642. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20643. type: integer
  20644. relationorderid:
  20645. description: 关联单号
  20646. type: string
  20647. remark:
  20648. description: 备注
  20649. type: string
  20650. trademode:
  20651. description: 交易模式
  20652. type: integer
  20653. required:
  20654. - accountid
  20655. - amount
  20656. - amountadjusttype
  20657. - autoid
  20658. - balance
  20659. - createtime
  20660. - currentbalance
  20661. - operatetype
  20662. type: object
  20663. taaccount.QueryHisAmountLogRsp:
  20664. properties:
  20665. OPERATETYPENAME:
  20666. description: 资金操作类型名称
  20667. type: string
  20668. accountid:
  20669. description: 资金账户ID
  20670. type: integer
  20671. agoodscode:
  20672. description: 竞拍商品代码
  20673. type: string
  20674. agoodsname:
  20675. description: 竞拍商品名称
  20676. type: string
  20677. amount:
  20678. description: 资金金额
  20679. type: number
  20680. amountadjusttype:
  20681. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20682. type: integer
  20683. autoid:
  20684. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20685. type: integer
  20686. balance:
  20687. description: 期初余额
  20688. type: number
  20689. businesscode:
  20690. description: 业务编号
  20691. type: integer
  20692. createtime:
  20693. description: 发生时间
  20694. type: string
  20695. currencyid:
  20696. description: 币种ID
  20697. type: integer
  20698. currentbalance:
  20699. description: 期末余额(变动后金额)
  20700. type: number
  20701. dgoodscode:
  20702. description: 交割商品代码
  20703. type: string
  20704. dgoodsname:
  20705. description: 交割商品名称
  20706. type: string
  20707. goodscode:
  20708. description: 商品代码
  20709. type: string
  20710. goodsid:
  20711. description: 商品ID
  20712. type: integer
  20713. goodsname:
  20714. description: 商品名称
  20715. type: string
  20716. histradedate:
  20717. description: 历史交易日
  20718. type: string
  20719. isvaliddata:
  20720. description: 是否有效 - 0:无效 1:有效
  20721. type: integer
  20722. marketid:
  20723. description: 市场ID
  20724. type: integer
  20725. marketname:
  20726. description: 市场名称
  20727. type: string
  20728. moneyticket:
  20729. description: 资金流水号:银行端流水号
  20730. type: integer
  20731. operatetype:
  20732. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20733. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20734. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20735. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20736. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20737. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20738. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20739. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20740. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20741. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20742. type: integer
  20743. relationorderid:
  20744. description: 关联单号
  20745. type: string
  20746. remark:
  20747. description: 备注
  20748. type: string
  20749. trademode:
  20750. description: 交易模式
  20751. type: integer
  20752. required:
  20753. - accountid
  20754. - amount
  20755. - amountadjusttype
  20756. - autoid
  20757. - balance
  20758. - createtime
  20759. - currentbalance
  20760. - histradedate
  20761. - operatetype
  20762. type: object
  20763. trade.QueryRecieptOrderRsp:
  20764. properties:
  20765. accountName:
  20766. description: 所属账号名称(已脱敏)
  20767. type: string
  20768. accountid:
  20769. description: 资金账号
  20770. type: integer
  20771. buyorsell:
  20772. description: 方向 - 0:买 1:卖
  20773. type: integer
  20774. enableqty:
  20775. description: 可摘数量
  20776. type: integer
  20777. goodscode:
  20778. description: 商品代码
  20779. type: string
  20780. goodsid:
  20781. description: 商品ID
  20782. type: integer
  20783. goodsname:
  20784. description: 商品名称
  20785. type: string
  20786. orderid:
  20787. description: 委托单号
  20788. type: string
  20789. orderprice:
  20790. description: 委托价格
  20791. type: number
  20792. ordertime:
  20793. description: 委托时间
  20794. type: string
  20795. tradedate:
  20796. description: 交易日(yyyyMMdd)
  20797. type: string
  20798. required:
  20799. - ordertime
  20800. type: object
  20801. user.LoginQueryRsp:
  20802. properties:
  20803. areaRoles:
  20804. description: 所属角色信息
  20805. items:
  20806. $ref: '#/definitions/models.Arearole'
  20807. type: array
  20808. externalExchanges:
  20809. description: 外部交易所
  20810. items:
  20811. $ref: '#/definitions/models.Externalexchange'
  20812. type: array
  20813. goodsgroups:
  20814. description: 商品组
  20815. items:
  20816. $ref: '#/definitions/models.Goodsgroup'
  20817. type: array
  20818. loginAccount:
  20819. $ref: '#/definitions/models.Loginaccount'
  20820. description: 登录账号
  20821. markets:
  20822. description: 市场
  20823. items:
  20824. $ref: '#/definitions/models.Market'
  20825. type: array
  20826. systemParams:
  20827. description: 系统参数
  20828. items:
  20829. $ref: '#/definitions/models.Systemparam'
  20830. type: array
  20831. userAccount:
  20832. $ref: '#/definitions/models.Useraccount'
  20833. description: 用户账号
  20834. userInfo:
  20835. $ref: '#/definitions/models.Userinfo'
  20836. description: 用户信息
  20837. username:
  20838. description: 用户姓名
  20839. type: string
  20840. type: object
  20841. info:
  20842. contact: {}
  20843. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20844. termsOfService: http://www.muchinfo.cn
  20845. title: MTP2.0 查询服务 API
  20846. version: "1.0"
  20847. paths:
  20848. /CPTrade/QueryCPTradeMyBidInfos:
  20849. get:
  20850. parameters:
  20851. - description: 资金账户
  20852. in: query
  20853. name: accountid
  20854. required: true
  20855. type: integer
  20856. - description: 预售市场ID
  20857. in: query
  20858. name: marketid
  20859. type: integer
  20860. - description: 预售商品ID
  20861. in: query
  20862. name: goodsid
  20863. type: integer
  20864. produces:
  20865. - application/json
  20866. responses:
  20867. "200":
  20868. description: OK
  20869. schema:
  20870. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20871. "500":
  20872. description: Internal Server Error
  20873. schema:
  20874. $ref: '#/definitions/app.Response'
  20875. security:
  20876. - ApiKeyAuth: []
  20877. summary: 查询产能预售我的出价信息
  20878. tags:
  20879. - 产能预售
  20880. /CPTrade/QueryCPTradeOrderDetail:
  20881. get:
  20882. parameters:
  20883. - description: 预售商品ID
  20884. in: query
  20885. name: goodsid
  20886. type: integer
  20887. - description: 预售市场ID
  20888. in: query
  20889. name: marketid
  20890. type: integer
  20891. - description: 预售商品ID列表 - 格式:1,2,3
  20892. in: query
  20893. name: goodsids
  20894. type: string
  20895. produces:
  20896. - application/json
  20897. responses:
  20898. "200":
  20899. description: OK
  20900. schema:
  20901. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20902. "500":
  20903. description: Internal Server Error
  20904. schema:
  20905. $ref: '#/definitions/app.Response'
  20906. security:
  20907. - ApiKeyAuth: []
  20908. summary: 查询产能预售委托单信息
  20909. tags:
  20910. - 产能预售
  20911. /CPTrade/QueryMyCPTradeGoods:
  20912. get:
  20913. parameters:
  20914. - description: 资金账户
  20915. in: query
  20916. name: accountid
  20917. required: true
  20918. type: integer
  20919. produces:
  20920. - application/json
  20921. responses:
  20922. "200":
  20923. description: OK
  20924. schema:
  20925. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20926. "500":
  20927. description: Internal Server Error
  20928. schema:
  20929. $ref: '#/definitions/app.Response'
  20930. security:
  20931. - ApiKeyAuth: []
  20932. summary: 查询我的预售信息
  20933. tags:
  20934. - 产能预售
  20935. /CPTrade/QueryPositionCancel:
  20936. get:
  20937. parameters:
  20938. - description: 账户ID
  20939. in: query
  20940. name: userid
  20941. required: true
  20942. type: integer
  20943. - description: 注销ID
  20944. in: query
  20945. name: cancelid
  20946. type: integer
  20947. - description: 资金账户ID
  20948. in: query
  20949. name: accountid
  20950. type: integer
  20951. produces:
  20952. - application/json
  20953. responses:
  20954. "200":
  20955. description: OK
  20956. schema:
  20957. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20958. "500":
  20959. description: Internal Server Error
  20960. schema:
  20961. $ref: '#/definitions/app.Response'
  20962. security:
  20963. - ApiKeyAuth: []
  20964. summary: 查询远期订单注销申请信息
  20965. tags:
  20966. - 产能预售
  20967. /CPTrade/QueryPreasleApply:
  20968. get:
  20969. parameters:
  20970. - description: 账户ID
  20971. in: query
  20972. name: userid
  20973. required: true
  20974. type: integer
  20975. - description: 申请ID
  20976. in: query
  20977. name: applyid
  20978. type: integer
  20979. - description: 资金账户ID
  20980. in: query
  20981. name: accountid
  20982. type: integer
  20983. produces:
  20984. - application/json
  20985. responses:
  20986. "200":
  20987. description: OK
  20988. schema:
  20989. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20990. "500":
  20991. description: Internal Server Error
  20992. schema:
  20993. $ref: '#/definitions/app.Response'
  20994. security:
  20995. - ApiKeyAuth: []
  20996. summary: 查询产能预售申请信息
  20997. tags:
  20998. - 产能预售
  20999. /CPTrade/QueryPresaleGoodsEx:
  21000. get:
  21001. parameters:
  21002. - description: 预售商品ID
  21003. in: query
  21004. name: goodsid
  21005. type: integer
  21006. - description: 预售市场ID
  21007. in: query
  21008. name: marketid
  21009. type: integer
  21010. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21011. in: query
  21012. name: presalemode
  21013. type: integer
  21014. - description: 预售商品ID列表 - 格式:1,2,3
  21015. in: query
  21016. name: goodsids
  21017. type: string
  21018. - description: 预售商品代码
  21019. in: query
  21020. name: goodscode
  21021. type: string
  21022. produces:
  21023. - application/json
  21024. responses:
  21025. "200":
  21026. description: OK
  21027. schema:
  21028. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21029. "500":
  21030. description: Internal Server Error
  21031. schema:
  21032. $ref: '#/definitions/app.Response'
  21033. security:
  21034. - ApiKeyAuth: []
  21035. summary: 查询产能预售商品扩展信息
  21036. tags:
  21037. - 产能预售
  21038. /CPTrade/QueryUserGoodsData:
  21039. get:
  21040. parameters:
  21041. - description: 资金账户ID
  21042. in: query
  21043. name: accountid
  21044. required: true
  21045. type: integer
  21046. produces:
  21047. - application/json
  21048. responses:
  21049. "200":
  21050. description: OK
  21051. schema:
  21052. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21053. "500":
  21054. description: Internal Server Error
  21055. schema:
  21056. $ref: '#/definitions/app.Response'
  21057. security:
  21058. - ApiKeyAuth: []
  21059. summary: 查询远期订单信息
  21060. tags:
  21061. - 产能预售
  21062. /Common/GetAllEnums:
  21063. get:
  21064. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21065. parameters:
  21066. - description: 起始自增ID
  21067. in: query
  21068. name: autoid
  21069. type: integer
  21070. produces:
  21071. - application/json
  21072. responses:
  21073. "200":
  21074. description: OK
  21075. schema:
  21076. $ref: '#/definitions/models.Enumdicitem'
  21077. "500":
  21078. description: Internal Server Error
  21079. schema:
  21080. $ref: '#/definitions/app.Response'
  21081. summary: 获取所有枚举信息
  21082. tags:
  21083. - 通用服务
  21084. /Common/GetClientMenus:
  21085. get:
  21086. parameters:
  21087. - description: 登录账号
  21088. in: query
  21089. name: loginID
  21090. required: true
  21091. type: integer
  21092. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21093. in: query
  21094. name: clientType
  21095. type: integer
  21096. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21097. in: query
  21098. name: name
  21099. type: string
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. items:
  21107. $ref: '#/definitions/common.ClientMenu'
  21108. type: array
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. security:
  21114. - ApiKeyAuth: []
  21115. summary: 获取交易端菜单
  21116. tags:
  21117. - 通用服务
  21118. /Common/GetDivisions:
  21119. get:
  21120. produces:
  21121. - application/json
  21122. responses:
  21123. "200":
  21124. description: OK
  21125. schema:
  21126. $ref: '#/definitions/models.Division'
  21127. "500":
  21128. description: Internal Server Error
  21129. schema:
  21130. $ref: '#/definitions/app.Response'
  21131. summary: 查询区域信息
  21132. tags:
  21133. - 通用服务
  21134. /Common/GetPCWebMenus:
  21135. get:
  21136. parameters:
  21137. - description: 登录账号
  21138. in: query
  21139. name: loginID
  21140. required: true
  21141. type: integer
  21142. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21143. in: query
  21144. name: name
  21145. type: string
  21146. produces:
  21147. - application/json
  21148. responses:
  21149. "200":
  21150. description: OK
  21151. schema:
  21152. items:
  21153. $ref: '#/definitions/common.PCWebMenu'
  21154. type: array
  21155. "500":
  21156. description: Internal Server Error
  21157. schema:
  21158. $ref: '#/definitions/app.Response'
  21159. security:
  21160. - ApiKeyAuth: []
  21161. summary: 获取PCWeb交易端菜单
  21162. tags:
  21163. - 通用服务
  21164. /Common/GetServerTime:
  21165. get:
  21166. produces:
  21167. - application/json
  21168. responses:
  21169. "200":
  21170. description: OK
  21171. schema:
  21172. $ref: '#/definitions/app.Response'
  21173. "500":
  21174. description: Internal Server Error
  21175. schema:
  21176. $ref: '#/definitions/app.Response'
  21177. summary: 获取服务器时间
  21178. tags:
  21179. - 通用服务
  21180. /Common/NoticeReaded:
  21181. post:
  21182. parameters:
  21183. - description: 登录账号
  21184. in: query
  21185. name: loginID
  21186. required: true
  21187. type: integer
  21188. - description: 通知公告ID
  21189. in: query
  21190. name: noticeID
  21191. required: true
  21192. type: integer
  21193. produces:
  21194. - application/json
  21195. responses:
  21196. "200":
  21197. description: OK
  21198. schema:
  21199. $ref: '#/definitions/app.Response'
  21200. "500":
  21201. description: Internal Server Error
  21202. schema:
  21203. $ref: '#/definitions/app.Response'
  21204. security:
  21205. - ApiKeyAuth: []
  21206. summary: 通知公告设置已读请求
  21207. tags:
  21208. - 通用服务
  21209. /Common/QueryErrorInfos:
  21210. get:
  21211. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21212. parameters:
  21213. - description: 起始行号前索引
  21214. in: query
  21215. name: rowNumber
  21216. type: string
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21224. "500":
  21225. description: Internal Server Error
  21226. schema:
  21227. $ref: '#/definitions/app.Response'
  21228. summary: 获取数据库错误信息
  21229. tags:
  21230. - 通用服务
  21231. /Common/QueryImageConfigs:
  21232. get:
  21233. parameters:
  21234. - description: 用户id
  21235. in: query
  21236. name: userId
  21237. type: integer
  21238. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21239. in: query
  21240. name: imageType
  21241. type: integer
  21242. produces:
  21243. - application/json
  21244. responses:
  21245. "200":
  21246. description: OK
  21247. schema:
  21248. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21249. "500":
  21250. description: Internal Server Error
  21251. schema:
  21252. $ref: '#/definitions/app.Response'
  21253. summary: 查询轮播图配置信息
  21254. tags:
  21255. - 通用服务
  21256. /Common/QueryNotice:
  21257. get:
  21258. parameters:
  21259. - description: 页码
  21260. in: query
  21261. name: page
  21262. type: integer
  21263. - description: 每页条数
  21264. in: query
  21265. name: pagesize
  21266. type: integer
  21267. - description: 登录账号
  21268. in: query
  21269. name: loginID
  21270. required: true
  21271. type: integer
  21272. - description: 消息类型 - 1:公告通知 2:系统消息
  21273. in: query
  21274. name: msgType
  21275. type: integer
  21276. - description: 是否只获取未读信息
  21277. in: query
  21278. name: onlyUnRead
  21279. type: boolean
  21280. - description: 自增ID,传入后会返回这个ID后面的记录
  21281. in: query
  21282. name: lastID
  21283. type: integer
  21284. produces:
  21285. - application/json
  21286. responses:
  21287. "200":
  21288. description: OK
  21289. schema:
  21290. $ref: '#/definitions/common.QueryNoticeRsp'
  21291. "500":
  21292. description: Internal Server Error
  21293. schema:
  21294. $ref: '#/definitions/app.Response'
  21295. security:
  21296. - ApiKeyAuth: []
  21297. summary: 通知公告系统消息查询
  21298. tags:
  21299. - 通用服务
  21300. /Common/QueryProvincesAndCities:
  21301. get:
  21302. parameters:
  21303. - description: 省ID
  21304. in: query
  21305. name: provinceID
  21306. type: integer
  21307. produces:
  21308. - application/json
  21309. responses:
  21310. "200":
  21311. description: OK
  21312. schema:
  21313. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21314. "500":
  21315. description: Internal Server Error
  21316. schema:
  21317. $ref: '#/definitions/app.Response'
  21318. summary: 查询省市信息(不包括区)
  21319. tags:
  21320. - 通用服务
  21321. /Common/QueryTableDefine:
  21322. get:
  21323. parameters:
  21324. - description: 表key
  21325. in: query
  21326. name: tableKey
  21327. type: string
  21328. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21329. in: query
  21330. name: tableType
  21331. type: integer
  21332. produces:
  21333. - application/json
  21334. responses:
  21335. "200":
  21336. description: OK
  21337. schema:
  21338. $ref: '#/definitions/common.QueryTableDefineRsp'
  21339. "500":
  21340. description: Internal Server Error
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. summary: 查询交易端列表头信息
  21344. tags:
  21345. - 通用服务
  21346. /Common/QueryTraderMenu:
  21347. get:
  21348. parameters:
  21349. - description: 登录账号
  21350. in: query
  21351. name: loginid
  21352. required: true
  21353. type: integer
  21354. produces:
  21355. - application/json
  21356. responses:
  21357. "200":
  21358. description: OK
  21359. schema:
  21360. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21361. "500":
  21362. description: Internal Server Error
  21363. schema:
  21364. $ref: '#/definitions/app.Response'
  21365. summary: 查询交易端菜单
  21366. tags:
  21367. - 通用服务
  21368. /Delivery/QueryDeliveryRelation:
  21369. get:
  21370. parameters:
  21371. - description: 商品ID
  21372. in: query
  21373. name: goodsid
  21374. type: integer
  21375. - description: 品种ID
  21376. in: query
  21377. name: deliverygoodsid
  21378. type: integer
  21379. - description: 市场ID
  21380. in: query
  21381. name: marketid
  21382. type: integer
  21383. produces:
  21384. - application/json
  21385. responses:
  21386. "200":
  21387. description: OK
  21388. schema:
  21389. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21390. "500":
  21391. description: Internal Server Error
  21392. schema:
  21393. $ref: '#/definitions/app.Response'
  21394. security:
  21395. - ApiKeyAuth: []
  21396. summary: 查询商品交割关系表
  21397. tags:
  21398. - 交割服务
  21399. /Ermcp/GetErmcpGoods:
  21400. get:
  21401. parameters:
  21402. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21403. in: query
  21404. name: userid
  21405. type: integer
  21406. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21407. in: query
  21408. name: lastUpdateTime
  21409. type: string
  21410. produces:
  21411. - application/json
  21412. responses:
  21413. "200":
  21414. description: OK
  21415. schema:
  21416. $ref: '#/definitions/models.ErmcpGoods'
  21417. "500":
  21418. description: Internal Server Error
  21419. schema:
  21420. $ref: '#/definitions/app.Response'
  21421. security:
  21422. - ApiKeyAuth: []
  21423. summary: 查询企业风管期货商品信息
  21424. tags:
  21425. - 企业风险管理(app)
  21426. /Ermcp/GetErmcpGoodsSortByPosition:
  21427. get:
  21428. parameters:
  21429. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21430. in: query
  21431. name: sortIndex
  21432. type: string
  21433. produces:
  21434. - application/json
  21435. responses:
  21436. "200":
  21437. description: OK
  21438. schema:
  21439. $ref: '#/definitions/models.Goodssortbypreposition'
  21440. "500":
  21441. description: Internal Server Error
  21442. schema:
  21443. $ref: '#/definitions/app.Response'
  21444. security:
  21445. - ApiKeyAuth: []
  21446. summary: 查询企业风管期货主力、次主力商品信息
  21447. tags:
  21448. - 企业风险管理(app)
  21449. /Ermcp/GetErmcpOutAccountStatus:
  21450. get:
  21451. parameters:
  21452. - description: 登录账号
  21453. in: query
  21454. name: loginID
  21455. required: true
  21456. type: integer
  21457. produces:
  21458. - application/json
  21459. responses:
  21460. "200":
  21461. description: OK
  21462. schema:
  21463. $ref: '#/definitions/models.Hedgemarketopenlog'
  21464. "500":
  21465. description: Internal Server Error
  21466. schema:
  21467. $ref: '#/definitions/app.Response'
  21468. security:
  21469. - ApiKeyAuth: []
  21470. summary: 获取目标登录账号当前对冲账号在线状态
  21471. tags:
  21472. - 企业风险管理(app)
  21473. /Ermcp/GetErmcpRoleFuncMenuLists:
  21474. get:
  21475. parameters:
  21476. - description: 登录账号
  21477. in: query
  21478. name: loginID
  21479. required: true
  21480. type: integer
  21481. produces:
  21482. - application/json
  21483. responses:
  21484. "200":
  21485. description: OK
  21486. schema:
  21487. $ref: '#/definitions/models.Funcmenulist'
  21488. "500":
  21489. description: Internal Server Error
  21490. schema:
  21491. $ref: '#/definitions/app.Response'
  21492. security:
  21493. - ApiKeyAuth: []
  21494. summary: 获取企业风管终端权限
  21495. tags:
  21496. - 企业风险管理(app)
  21497. /Ermcp/QueryAccMgrBizGroupSet:
  21498. get:
  21499. parameters:
  21500. - description: 用户ID
  21501. in: query
  21502. name: userid
  21503. required: true
  21504. type: integer
  21505. - description: 现货商品id
  21506. in: query
  21507. name: deliverygoodsid
  21508. type: integer
  21509. produces:
  21510. - application/json
  21511. responses:
  21512. "200":
  21513. description: OK
  21514. schema:
  21515. items:
  21516. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21517. type: array
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询业务类型分组(账户管理/账户设置)
  21525. tags:
  21526. - 企业风险管理(app)
  21527. /Ermcp/QueryAccMgrLoginUser:
  21528. get:
  21529. parameters:
  21530. - description: 用户ID
  21531. in: query
  21532. name: userid
  21533. required: true
  21534. type: integer
  21535. - description: 用户类型 2-机构 7-企业成员
  21536. in: query
  21537. name: usertype
  21538. type: integer
  21539. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21540. in: query
  21541. name: querytype
  21542. required: true
  21543. type: integer
  21544. produces:
  21545. - application/json
  21546. responses:
  21547. "200":
  21548. description: OK
  21549. schema:
  21550. items:
  21551. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21552. type: array
  21553. "500":
  21554. description: Internal Server Error
  21555. schema:
  21556. $ref: '#/definitions/app.Response'
  21557. security:
  21558. - ApiKeyAuth: []
  21559. summary: 查询账户管理登录账号(账户管理/登录账号)
  21560. tags:
  21561. - 企业风险管理(app)
  21562. /Ermcp/QueryAccMgrMainAccountInfo:
  21563. get:
  21564. parameters:
  21565. - description: 用户ID
  21566. in: query
  21567. name: userid
  21568. type: integer
  21569. - description: 主账号id
  21570. in: query
  21571. name: accountid
  21572. type: integer
  21573. produces:
  21574. - application/json
  21575. responses:
  21576. "200":
  21577. description: OK
  21578. schema:
  21579. items:
  21580. $ref: '#/definitions/models.MainAccountInfo'
  21581. type: array
  21582. "500":
  21583. description: Internal Server Error
  21584. schema:
  21585. $ref: '#/definitions/app.Response'
  21586. security:
  21587. - ApiKeyAuth: []
  21588. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21589. tags:
  21590. - 企业风险管理(app)
  21591. /Ermcp/QueryAccMgrRole:
  21592. get:
  21593. parameters:
  21594. - description: 用户ID
  21595. in: query
  21596. name: userid
  21597. required: true
  21598. type: integer
  21599. produces:
  21600. - application/json
  21601. responses:
  21602. "200":
  21603. description: OK
  21604. schema:
  21605. items:
  21606. $ref: '#/definitions/models.ErmcpRole'
  21607. type: array
  21608. "500":
  21609. description: Internal Server Error
  21610. schema:
  21611. $ref: '#/definitions/app.Response'
  21612. security:
  21613. - ApiKeyAuth: []
  21614. summary: 查询账户管理角色设置(账户管理/角色设置)
  21615. tags:
  21616. - 企业风险管理(app)
  21617. /Ermcp/QueryAccMgrRoleMenu:
  21618. get:
  21619. parameters:
  21620. - description: 用户ID
  21621. in: query
  21622. name: userid
  21623. required: true
  21624. type: integer
  21625. - description: 角色id(可多个,逗号隔开)
  21626. in: query
  21627. name: roleid
  21628. type: string
  21629. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21630. in: query
  21631. name: menutype
  21632. type: integer
  21633. produces:
  21634. - application/json
  21635. responses:
  21636. "200":
  21637. description: OK
  21638. schema:
  21639. items:
  21640. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21641. type: array
  21642. "500":
  21643. description: Internal Server Error
  21644. schema:
  21645. $ref: '#/definitions/app.Response'
  21646. security:
  21647. - ApiKeyAuth: []
  21648. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21649. tags:
  21650. - 企业风险管理(app)
  21651. /Ermcp/QueryAccMgrTaAccountInfo:
  21652. get:
  21653. parameters:
  21654. - description: 用户ID
  21655. in: query
  21656. name: userid
  21657. required: true
  21658. type: integer
  21659. - description: 账号id
  21660. in: query
  21661. name: accountid
  21662. type: integer
  21663. produces:
  21664. - application/json
  21665. responses:
  21666. "200":
  21667. description: OK
  21668. schema:
  21669. items:
  21670. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21671. type: array
  21672. "500":
  21673. description: Internal Server Error
  21674. schema:
  21675. $ref: '#/definitions/app.Response'
  21676. security:
  21677. - ApiKeyAuth: []
  21678. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21679. tags:
  21680. - 企业风险管理(app)
  21681. /Ermcp/QueryAccMgrTaaccount:
  21682. get:
  21683. parameters:
  21684. - description: 用户ID
  21685. in: query
  21686. name: userid
  21687. required: true
  21688. type: integer
  21689. produces:
  21690. - application/json
  21691. responses:
  21692. "200":
  21693. description: OK
  21694. schema:
  21695. items:
  21696. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21697. type: array
  21698. "500":
  21699. description: Internal Server Error
  21700. schema:
  21701. $ref: '#/definitions/app.Response'
  21702. security:
  21703. - ApiKeyAuth: []
  21704. summary: 查询账户管理期货账号(账户管理/期货账号)
  21705. tags:
  21706. - 企业风险管理(app)
  21707. /Ermcp/QueryAvaildGoodsGroup:
  21708. get:
  21709. parameters:
  21710. - description: 所属机构ID
  21711. in: query
  21712. name: userid
  21713. required: true
  21714. type: integer
  21715. produces:
  21716. - application/json
  21717. responses:
  21718. "200":
  21719. description: OK
  21720. schema:
  21721. items:
  21722. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21723. type: array
  21724. "500":
  21725. description: Internal Server Error
  21726. schema:
  21727. $ref: '#/definitions/app.Response'
  21728. security:
  21729. - ApiKeyAuth: []
  21730. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21731. tags:
  21732. - 企业风险管理(app)
  21733. /Ermcp/QueryBusinessDj:
  21734. get:
  21735. parameters:
  21736. - description: 用户ID
  21737. in: query
  21738. name: UserId
  21739. required: true
  21740. type: integer
  21741. - description: 用户类型 2-机构 7-企业成员
  21742. in: query
  21743. name: usertype
  21744. type: integer
  21745. - description: 现货合同ID, 不填则查所有
  21746. in: query
  21747. name: relatedid
  21748. type: string
  21749. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21750. in: query
  21751. name: applystatus
  21752. type: string
  21753. produces:
  21754. - application/json
  21755. responses:
  21756. "200":
  21757. description: OK
  21758. schema:
  21759. items:
  21760. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21761. type: array
  21762. "500":
  21763. description: Internal Server Error
  21764. schema:
  21765. $ref: '#/definitions/app.Response'
  21766. security:
  21767. - ApiKeyAuth: []
  21768. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21769. tags:
  21770. - 企业风险管理(app)
  21771. /Ermcp/QueryBusinessFp:
  21772. get:
  21773. parameters:
  21774. - description: 用户ID
  21775. in: query
  21776. name: UserId
  21777. required: true
  21778. type: integer
  21779. - description: 用户类型 2-机构 7-企业成员
  21780. in: query
  21781. name: usertype
  21782. type: integer
  21783. - description: 现货合同ID, 不填则查所有
  21784. in: query
  21785. name: relatedid
  21786. type: string
  21787. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21788. in: query
  21789. name: applystatus
  21790. type: string
  21791. produces:
  21792. - application/json
  21793. responses:
  21794. "200":
  21795. description: OK
  21796. schema:
  21797. items:
  21798. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21799. type: array
  21800. "500":
  21801. description: Internal Server Error
  21802. schema:
  21803. $ref: '#/definitions/app.Response'
  21804. security:
  21805. - ApiKeyAuth: []
  21806. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21807. tags:
  21808. - 企业风险管理(app)
  21809. /Ermcp/QueryBusinessJs:
  21810. get:
  21811. parameters:
  21812. - description: 用户ID
  21813. in: query
  21814. name: UserId
  21815. required: true
  21816. type: integer
  21817. - description: 用户类型 2-机构 7-企业成员
  21818. in: query
  21819. name: usertype
  21820. type: integer
  21821. - description: 现货合同ID, 不填则查所有
  21822. in: query
  21823. name: relatedid
  21824. type: string
  21825. - description: 操作申请id
  21826. in: query
  21827. name: operateapplyid
  21828. type: string
  21829. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21830. in: query
  21831. name: applystatus
  21832. type: string
  21833. produces:
  21834. - application/json
  21835. responses:
  21836. "200":
  21837. description: OK
  21838. schema:
  21839. items:
  21840. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21841. type: array
  21842. "500":
  21843. description: Internal Server Error
  21844. schema:
  21845. $ref: '#/definitions/app.Response'
  21846. security:
  21847. - ApiKeyAuth: []
  21848. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21849. tags:
  21850. - 企业风险管理(app)
  21851. /Ermcp/QueryBusinessJsEx:
  21852. get:
  21853. parameters:
  21854. - description: 用户ID
  21855. in: query
  21856. name: UserId
  21857. required: true
  21858. type: integer
  21859. - description: 用户类型 2-机构 7-企业成员
  21860. in: query
  21861. name: usertype
  21862. type: integer
  21863. - description: 现货合同ID, 不填则查所有
  21864. in: query
  21865. name: relatedid
  21866. type: string
  21867. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21868. in: query
  21869. name: applystatus
  21870. type: string
  21871. produces:
  21872. - application/json
  21873. responses:
  21874. "200":
  21875. description: OK
  21876. schema:
  21877. items:
  21878. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21879. type: array
  21880. "500":
  21881. description: Internal Server Error
  21882. schema:
  21883. $ref: '#/definitions/app.Response'
  21884. security:
  21885. - ApiKeyAuth: []
  21886. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21887. tags:
  21888. - 企业风险管理(app)
  21889. /Ermcp/QueryBusinessKx:
  21890. get:
  21891. parameters:
  21892. - description: 用户ID
  21893. in: query
  21894. name: UserId
  21895. required: true
  21896. type: integer
  21897. - description: 用户类型 2-机构 7-企业成员
  21898. in: query
  21899. name: usertype
  21900. type: integer
  21901. - description: 现货合同ID, 不填则查所有
  21902. in: query
  21903. name: relatedid
  21904. type: string
  21905. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21906. in: query
  21907. name: applystatus
  21908. type: string
  21909. produces:
  21910. - application/json
  21911. responses:
  21912. "200":
  21913. description: OK
  21914. schema:
  21915. items:
  21916. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21917. type: array
  21918. "500":
  21919. description: Internal Server Error
  21920. schema:
  21921. $ref: '#/definitions/app.Response'
  21922. security:
  21923. - ApiKeyAuth: []
  21924. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21925. tags:
  21926. - 企业风险管理(app)
  21927. /Ermcp/QueryChangeLog:
  21928. get:
  21929. parameters:
  21930. - description: 合同ID
  21931. in: query
  21932. name: RelatedId
  21933. required: true
  21934. type: string
  21935. produces:
  21936. - application/json
  21937. responses:
  21938. "200":
  21939. description: OK
  21940. schema:
  21941. items:
  21942. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21943. type: array
  21944. "500":
  21945. description: Internal Server Error
  21946. schema:
  21947. $ref: '#/definitions/app.Response'
  21948. security:
  21949. - ApiKeyAuth: []
  21950. summary: 查询变更记录
  21951. tags:
  21952. - 企业风险管理(app)
  21953. /Ermcp/QueryErmcpHisOrderDetails:
  21954. get:
  21955. parameters:
  21956. - description: 资金账户ID
  21957. in: query
  21958. name: accountID
  21959. required: true
  21960. type: integer
  21961. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21962. in: query
  21963. name: startDate
  21964. type: string
  21965. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21966. in: query
  21967. name: endDate
  21968. type: string
  21969. produces:
  21970. - application/json
  21971. responses:
  21972. "200":
  21973. description: OK
  21974. schema:
  21975. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21976. "500":
  21977. description: Internal Server Error
  21978. schema:
  21979. $ref: '#/definitions/app.Response'
  21980. security:
  21981. - ApiKeyAuth: []
  21982. summary: 获取企业风管期货历史委托单信息
  21983. tags:
  21984. - 企业风险管理(app)
  21985. /Ermcp/QueryErmcpHisTradeDetails:
  21986. get:
  21987. parameters:
  21988. - description: 资金账户ID
  21989. in: query
  21990. name: accountID
  21991. required: true
  21992. type: integer
  21993. - description: 商品ID
  21994. in: query
  21995. name: goodsID
  21996. type: integer
  21997. - description: 买卖方向,0:买 1:卖
  21998. in: query
  21999. name: buyOrSell
  22000. type: integer
  22001. - description: 关联委托单号
  22002. in: query
  22003. name: orderID
  22004. type: integer
  22005. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22006. in: query
  22007. name: startDate
  22008. type: string
  22009. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22010. in: query
  22011. name: endDate
  22012. type: string
  22013. produces:
  22014. - application/json
  22015. responses:
  22016. "200":
  22017. description: OK
  22018. schema:
  22019. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22020. "500":
  22021. description: Internal Server Error
  22022. schema:
  22023. $ref: '#/definitions/app.Response'
  22024. security:
  22025. - ApiKeyAuth: []
  22026. summary: 获取企业风管期货历史成交单信息
  22027. tags:
  22028. - 企业风险管理(app)
  22029. /Ermcp/QueryErmcpInnerHolderDetails:
  22030. get:
  22031. parameters:
  22032. - description: 资金账户ID
  22033. in: query
  22034. name: accountID
  22035. required: true
  22036. type: integer
  22037. - description: 商品ID
  22038. in: query
  22039. name: goodsID
  22040. type: integer
  22041. - description: 买卖方向,0:买 1:卖
  22042. in: query
  22043. name: buyOrSell
  22044. type: integer
  22045. produces:
  22046. - application/json
  22047. responses:
  22048. "200":
  22049. description: OK
  22050. schema:
  22051. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22052. "500":
  22053. description: Internal Server Error
  22054. schema:
  22055. $ref: '#/definitions/app.Response'
  22056. security:
  22057. - ApiKeyAuth: []
  22058. summary: 获取企业风管期货内部持仓单信息
  22059. tags:
  22060. - 企业风险管理(app)
  22061. /Ermcp/QueryErmcpOrderDetails:
  22062. get:
  22063. parameters:
  22064. - description: 资金账户ID
  22065. in: query
  22066. name: accountID
  22067. required: true
  22068. type: integer
  22069. produces:
  22070. - application/json
  22071. responses:
  22072. "200":
  22073. description: OK
  22074. schema:
  22075. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22076. "500":
  22077. description: Internal Server Error
  22078. schema:
  22079. $ref: '#/definitions/app.Response'
  22080. security:
  22081. - ApiKeyAuth: []
  22082. summary: 获取企业风管期货委托单信息
  22083. tags:
  22084. - 企业风险管理(app)
  22085. /Ermcp/QueryErmcpTradeDetails:
  22086. get:
  22087. parameters:
  22088. - description: 资金账户ID
  22089. in: query
  22090. name: accountID
  22091. required: true
  22092. type: integer
  22093. - description: 商品ID
  22094. in: query
  22095. name: goodsID
  22096. type: integer
  22097. - description: 买卖方向,0:买 1:卖
  22098. in: query
  22099. name: buyOrSell
  22100. type: integer
  22101. - description: 关联委托单号
  22102. in: query
  22103. name: orderID
  22104. type: integer
  22105. produces:
  22106. - application/json
  22107. responses:
  22108. "200":
  22109. description: OK
  22110. schema:
  22111. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22112. "500":
  22113. description: Internal Server Error
  22114. schema:
  22115. $ref: '#/definitions/app.Response'
  22116. security:
  22117. - ApiKeyAuth: []
  22118. summary: 获取企业风管期货成交单信息
  22119. tags:
  22120. - 企业风险管理(app)
  22121. /Ermcp/QueryErmcpTradePosition:
  22122. get:
  22123. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22124. parameters:
  22125. - description: 资金账户ID
  22126. in: query
  22127. name: accountID
  22128. required: true
  22129. type: integer
  22130. - description: 所属市场ID
  22131. in: query
  22132. name: marketID
  22133. type: integer
  22134. produces:
  22135. - application/json
  22136. responses:
  22137. "200":
  22138. description: OK
  22139. schema:
  22140. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22141. "500":
  22142. description: Internal Server Error
  22143. schema:
  22144. $ref: '#/definitions/app.Response'
  22145. security:
  22146. - ApiKeyAuth: []
  22147. summary: 获取企业风管期货持仓头寸信息
  22148. tags:
  22149. - 企业风险管理(app)
  22150. /Ermcp/QueryExposureDetail:
  22151. get:
  22152. parameters:
  22153. - description: 所属机构ID
  22154. in: query
  22155. name: areaUserId
  22156. required: true
  22157. type: integer
  22158. - description: 套保商品
  22159. in: query
  22160. name: middleGoodsId
  22161. required: true
  22162. type: integer
  22163. produces:
  22164. - application/json
  22165. responses:
  22166. "200":
  22167. description: OK
  22168. schema:
  22169. items:
  22170. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22171. type: array
  22172. "500":
  22173. description: Internal Server Error
  22174. schema:
  22175. $ref: '#/definitions/app.Response'
  22176. security:
  22177. - ApiKeyAuth: []
  22178. summary: 查询敞口现货明细
  22179. tags:
  22180. - 企业风险管理(app)
  22181. /Ermcp/QueryExposureGoods:
  22182. get:
  22183. parameters:
  22184. - description: 套保商品id
  22185. in: query
  22186. name: middlegoodsid
  22187. required: true
  22188. type: integer
  22189. produces:
  22190. - application/json
  22191. responses:
  22192. "200":
  22193. description: OK
  22194. schema:
  22195. items:
  22196. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22197. type: array
  22198. "500":
  22199. description: Internal Server Error
  22200. schema:
  22201. $ref: '#/definitions/app.Response'
  22202. security:
  22203. - ApiKeyAuth: []
  22204. summary: 查询敞口主力合约
  22205. tags:
  22206. - 企业风险管理(app)
  22207. /Ermcp/QueryExposureHedgePosition:
  22208. get:
  22209. parameters:
  22210. - description: 用户id
  22211. in: query
  22212. name: userid
  22213. required: true
  22214. type: integer
  22215. produces:
  22216. - application/json
  22217. responses:
  22218. "200":
  22219. description: OK
  22220. schema:
  22221. items:
  22222. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22223. type: array
  22224. "500":
  22225. description: Internal Server Error
  22226. schema:
  22227. $ref: '#/definitions/app.Response'
  22228. security:
  22229. - ApiKeyAuth: []
  22230. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22231. tags:
  22232. - 企业风险管理(app)
  22233. /Ermcp/QueryExposureHedgePositionDetail:
  22234. get:
  22235. parameters:
  22236. - description: 所属机构ID
  22237. in: query
  22238. name: userid
  22239. required: true
  22240. type: integer
  22241. - description: 商品id
  22242. in: query
  22243. name: goodsId
  22244. required: true
  22245. type: integer
  22246. produces:
  22247. - application/json
  22248. responses:
  22249. "200":
  22250. description: OK
  22251. schema:
  22252. items:
  22253. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22254. type: array
  22255. "500":
  22256. description: Internal Server Error
  22257. schema:
  22258. $ref: '#/definitions/app.Response'
  22259. security:
  22260. - ApiKeyAuth: []
  22261. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22262. tags:
  22263. - 企业风险管理(app)
  22264. /Ermcp/QueryExposureSpot:
  22265. get:
  22266. parameters:
  22267. - description: 所属机构ID
  22268. in: query
  22269. name: areaUserId
  22270. required: true
  22271. type: integer
  22272. produces:
  22273. - application/json
  22274. responses:
  22275. "200":
  22276. description: OK
  22277. schema:
  22278. items:
  22279. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22280. type: array
  22281. "500":
  22282. description: Internal Server Error
  22283. schema:
  22284. $ref: '#/definitions/app.Response'
  22285. security:
  22286. - ApiKeyAuth: []
  22287. summary: 查询敞口现货头寸(敞口/现货头寸)
  22288. tags:
  22289. - 企业风险管理(app)
  22290. /Ermcp/QueryExposureSpotDetail:
  22291. get:
  22292. parameters:
  22293. - description: 所属机构ID
  22294. in: query
  22295. name: areaUserId
  22296. required: true
  22297. type: integer
  22298. - description: 现货品种ID
  22299. in: query
  22300. name: wrstandardId
  22301. required: true
  22302. type: integer
  22303. produces:
  22304. - application/json
  22305. responses:
  22306. "200":
  22307. description: OK
  22308. schema:
  22309. items:
  22310. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22311. type: array
  22312. "500":
  22313. description: Internal Server Error
  22314. schema:
  22315. $ref: '#/definitions/app.Response'
  22316. security:
  22317. - ApiKeyAuth: []
  22318. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22319. tags:
  22320. - 企业风险管理(app)
  22321. /Ermcp/QueryFuturesCompany:
  22322. get:
  22323. produces:
  22324. - application/json
  22325. responses:
  22326. "200":
  22327. description: OK
  22328. schema:
  22329. items:
  22330. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22331. type: array
  22332. "500":
  22333. description: Internal Server Error
  22334. schema:
  22335. $ref: '#/definitions/app.Response'
  22336. security:
  22337. - ApiKeyAuth: []
  22338. summary: 查询期货公司
  22339. tags:
  22340. - 企业风险管理(app)
  22341. /Ermcp/QueryGGConvertConfig:
  22342. get:
  22343. parameters:
  22344. - description: 品种id(不填则查所有)
  22345. in: query
  22346. name: goodsgroupid
  22347. type: integer
  22348. produces:
  22349. - application/json
  22350. responses:
  22351. "200":
  22352. description: OK
  22353. schema:
  22354. items:
  22355. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22356. type: array
  22357. "500":
  22358. description: Internal Server Error
  22359. schema:
  22360. $ref: '#/definitions/app.Response'
  22361. security:
  22362. - ApiKeyAuth: []
  22363. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22364. tags:
  22365. - 企业风险管理(app)
  22366. /Ermcp/QueryGoodsBrand:
  22367. get:
  22368. parameters:
  22369. - description: 用户ID
  22370. in: query
  22371. name: userid
  22372. required: true
  22373. type: integer
  22374. - description: 现货商品ID
  22375. in: query
  22376. name: wrstandardid
  22377. type: integer
  22378. produces:
  22379. - application/json
  22380. responses:
  22381. "200":
  22382. description: OK
  22383. schema:
  22384. items:
  22385. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22386. type: array
  22387. "500":
  22388. description: Internal Server Error
  22389. schema:
  22390. $ref: '#/definitions/app.Response'
  22391. security:
  22392. - ApiKeyAuth: []
  22393. summary: 查询商品品牌
  22394. tags:
  22395. - 企业风险管理(app)
  22396. /Ermcp/QueryGoodsModel:
  22397. get:
  22398. parameters:
  22399. - description: 用户ID
  22400. in: query
  22401. name: userid
  22402. required: true
  22403. type: integer
  22404. produces:
  22405. - application/json
  22406. responses:
  22407. "200":
  22408. description: OK
  22409. schema:
  22410. items:
  22411. $ref: '#/definitions/models.ErmcpGoodsModel'
  22412. type: array
  22413. "500":
  22414. description: Internal Server Error
  22415. schema:
  22416. $ref: '#/definitions/app.Response'
  22417. security:
  22418. - ApiKeyAuth: []
  22419. summary: 查询商品型号
  22420. tags:
  22421. - 企业风险管理(app)
  22422. /Ermcp/QueryHisExposure:
  22423. get:
  22424. parameters:
  22425. - description: 用户id
  22426. in: query
  22427. name: userid
  22428. required: true
  22429. type: integer
  22430. - description: 每个品种记录数
  22431. in: query
  22432. name: lastNum
  22433. required: true
  22434. type: integer
  22435. produces:
  22436. - application/json
  22437. responses:
  22438. "200":
  22439. description: OK
  22440. schema:
  22441. items:
  22442. $ref: '#/definitions/ermcp.HisExposureRsp'
  22443. type: array
  22444. "500":
  22445. description: Internal Server Error
  22446. schema:
  22447. $ref: '#/definitions/app.Response'
  22448. security:
  22449. - ApiKeyAuth: []
  22450. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22451. tags:
  22452. - 企业风险管理(app)
  22453. /Ermcp/QueryMiddleGoods:
  22454. get:
  22455. parameters:
  22456. - description: 所属机构ID
  22457. in: query
  22458. name: userid
  22459. required: true
  22460. type: integer
  22461. - description: 状态 0-停用 1-正常
  22462. in: query
  22463. name: status
  22464. required: true
  22465. type: integer
  22466. produces:
  22467. - application/json
  22468. responses:
  22469. "200":
  22470. description: OK
  22471. schema:
  22472. items:
  22473. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22474. type: array
  22475. "500":
  22476. description: Internal Server Error
  22477. schema:
  22478. $ref: '#/definitions/app.Response'
  22479. security:
  22480. - ApiKeyAuth: []
  22481. summary: 查询套保品种(菜单:套保品种)
  22482. tags:
  22483. - 企业风险管理(app)
  22484. /Ermcp/QueryMiddleGoodsChangeLog:
  22485. get:
  22486. parameters:
  22487. - description: 所属机构ID
  22488. in: query
  22489. name: userid
  22490. required: true
  22491. type: integer
  22492. - description: 套保品种id
  22493. in: query
  22494. name: middlegoodsid
  22495. required: true
  22496. type: integer
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. items:
  22504. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22505. type: array
  22506. "500":
  22507. description: Internal Server Error
  22508. schema:
  22509. $ref: '#/definitions/app.Response'
  22510. security:
  22511. - ApiKeyAuth: []
  22512. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22513. tags:
  22514. - 企业风险管理(app)
  22515. /Ermcp/QueryMiddleGoodsDetail:
  22516. get:
  22517. parameters:
  22518. - description: 所属机构ID
  22519. in: query
  22520. name: userid
  22521. required: true
  22522. type: integer
  22523. - description: 套保品种id
  22524. in: query
  22525. name: middlegoodsid
  22526. type: integer
  22527. produces:
  22528. - application/json
  22529. responses:
  22530. "200":
  22531. description: OK
  22532. schema:
  22533. items:
  22534. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22535. type: array
  22536. "500":
  22537. description: Internal Server Error
  22538. schema:
  22539. $ref: '#/definitions/app.Response'
  22540. security:
  22541. - ApiKeyAuth: []
  22542. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22543. tags:
  22544. - 企业风险管理(app)
  22545. /Ermcp/QueryPendingAuditInfo:
  22546. get:
  22547. parameters:
  22548. - description: 用户ID
  22549. in: query
  22550. name: UserId
  22551. required: true
  22552. type: integer
  22553. produces:
  22554. - application/json
  22555. responses:
  22556. "200":
  22557. description: OK
  22558. schema:
  22559. items:
  22560. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22561. type: array
  22562. "500":
  22563. description: Internal Server Error
  22564. schema:
  22565. $ref: '#/definitions/app.Response'
  22566. security:
  22567. - ApiKeyAuth: []
  22568. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22569. tags:
  22570. - 企业风险管理(app)
  22571. /Ermcp/QueryRealtimeExposure:
  22572. get:
  22573. parameters:
  22574. - description: 所属机构ID
  22575. in: query
  22576. name: userid
  22577. required: true
  22578. type: integer
  22579. produces:
  22580. - application/json
  22581. responses:
  22582. "200":
  22583. description: OK
  22584. schema:
  22585. items:
  22586. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22587. type: array
  22588. "500":
  22589. description: Internal Server Error
  22590. schema:
  22591. $ref: '#/definitions/app.Response'
  22592. security:
  22593. - ApiKeyAuth: []
  22594. summary: 查询实时敞口
  22595. tags:
  22596. - 企业风险管理(app)
  22597. /Ermcp/QueryRealtimeExposurePosition:
  22598. get:
  22599. parameters:
  22600. - description: 用户id
  22601. in: query
  22602. name: userid
  22603. required: true
  22604. type: integer
  22605. - description: 套保商品ID
  22606. in: query
  22607. name: middleGoodsId
  22608. required: true
  22609. type: integer
  22610. produces:
  22611. - application/json
  22612. responses:
  22613. "200":
  22614. description: OK
  22615. schema:
  22616. items:
  22617. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22618. type: array
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22626. tags:
  22627. - 企业风险管理(app)
  22628. /Ermcp/QueryRoleMenu:
  22629. get:
  22630. parameters:
  22631. - description: 登录ID
  22632. in: query
  22633. name: loginid
  22634. required: true
  22635. type: integer
  22636. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22637. in: query
  22638. name: menutype
  22639. type: integer
  22640. produces:
  22641. - application/json
  22642. responses:
  22643. "200":
  22644. description: OK
  22645. schema:
  22646. items:
  22647. $ref: '#/definitions/models.RoleMenu'
  22648. type: array
  22649. "500":
  22650. description: Internal Server Error
  22651. schema:
  22652. $ref: '#/definitions/app.Response'
  22653. security:
  22654. - ApiKeyAuth: []
  22655. summary: 查询角色菜单和权限
  22656. tags:
  22657. - 企业风险管理(app)
  22658. /Ermcp/QueryTradeConfigTMP:
  22659. get:
  22660. parameters:
  22661. - description: 所属机构id
  22662. in: query
  22663. name: areauserid
  22664. type: integer
  22665. produces:
  22666. - application/json
  22667. responses:
  22668. "200":
  22669. description: OK
  22670. schema:
  22671. items:
  22672. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22673. type: array
  22674. "500":
  22675. description: Internal Server Error
  22676. schema:
  22677. $ref: '#/definitions/app.Response'
  22678. security:
  22679. - ApiKeyAuth: []
  22680. summary: 查询交易模板配置
  22681. tags:
  22682. - 企业风险管理(app)
  22683. /Ermcp/QueryUserInfo:
  22684. get:
  22685. parameters:
  22686. - description: 所属机构用户ID
  22687. in: query
  22688. name: MemberUserID
  22689. required: true
  22690. type: integer
  22691. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22692. in: query
  22693. name: queryType
  22694. required: true
  22695. type: integer
  22696. produces:
  22697. - application/json
  22698. responses:
  22699. "200":
  22700. description: OK
  22701. schema:
  22702. items:
  22703. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22704. type: array
  22705. "500":
  22706. description: Internal Server Error
  22707. schema:
  22708. $ref: '#/definitions/app.Response'
  22709. security:
  22710. - ApiKeyAuth: []
  22711. summary: 查询客户资料
  22712. tags:
  22713. - 企业风险管理(app)
  22714. /Ermcp/QueryWarehouseInfo:
  22715. get:
  22716. parameters:
  22717. - description: 用户ID
  22718. in: query
  22719. name: userid
  22720. required: true
  22721. type: integer
  22722. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22723. in: query
  22724. name: status
  22725. type: string
  22726. produces:
  22727. - application/json
  22728. responses:
  22729. "200":
  22730. description: OK
  22731. schema:
  22732. items:
  22733. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22734. type: array
  22735. "500":
  22736. description: Internal Server Error
  22737. schema:
  22738. $ref: '#/definitions/app.Response'
  22739. security:
  22740. - ApiKeyAuth: []
  22741. summary: 查询仓库信息
  22742. tags:
  22743. - 企业风险管理(app)
  22744. /Ermcp3/QryAreaExpourseContractDetail:
  22745. get:
  22746. parameters:
  22747. - description: 用户ID
  22748. in: query
  22749. name: userid
  22750. required: true
  22751. type: integer
  22752. - description: 套保商品id
  22753. in: query
  22754. name: middlegoodsid
  22755. required: true
  22756. type: integer
  22757. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22758. in: query
  22759. name: cycletype
  22760. required: true
  22761. type: integer
  22762. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22763. 全(0)【原值】
  22764. in: query
  22765. name: cycletime
  22766. required: true
  22767. type: string
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. items:
  22775. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22776. type: array
  22777. "500":
  22778. description: Internal Server Error
  22779. schema:
  22780. $ref: '#/definitions/app.Response'
  22781. security:
  22782. - ApiKeyAuth: []
  22783. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22784. tags:
  22785. - 企业风险管理v3(app)
  22786. /Ermcp3/QryAreaExpourseFutuDetail:
  22787. get:
  22788. parameters:
  22789. - description: 用户ID
  22790. in: query
  22791. name: userid
  22792. required: true
  22793. type: integer
  22794. - description: 套保商品id
  22795. in: query
  22796. name: middlegoodsid
  22797. required: true
  22798. type: integer
  22799. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22800. in: query
  22801. name: cycletype
  22802. required: true
  22803. type: integer
  22804. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22805. 全(0)【原值】
  22806. in: query
  22807. name: cycletime
  22808. required: true
  22809. type: string
  22810. produces:
  22811. - application/json
  22812. responses:
  22813. "200":
  22814. description: OK
  22815. schema:
  22816. items:
  22817. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22818. type: array
  22819. "500":
  22820. description: Internal Server Error
  22821. schema:
  22822. $ref: '#/definitions/app.Response'
  22823. security:
  22824. - ApiKeyAuth: []
  22825. summary: 查询敞口期货明细(敞口报表/期货明细)
  22826. tags:
  22827. - 企业风险管理v3(app)
  22828. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22829. get:
  22830. parameters:
  22831. - description: 用户ID
  22832. in: query
  22833. name: userid
  22834. required: true
  22835. type: integer
  22836. - description: 套保商品id
  22837. in: query
  22838. name: middlegoodsid
  22839. required: true
  22840. type: integer
  22841. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22842. in: query
  22843. name: cycletype
  22844. required: true
  22845. type: integer
  22846. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22847. 全(0)【原值】
  22848. in: query
  22849. name: cycletime
  22850. required: true
  22851. type: string
  22852. produces:
  22853. - application/json
  22854. responses:
  22855. "200":
  22856. description: OK
  22857. schema:
  22858. items:
  22859. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22860. type: array
  22861. "500":
  22862. description: Internal Server Error
  22863. schema:
  22864. $ref: '#/definitions/app.Response'
  22865. security:
  22866. - ApiKeyAuth: []
  22867. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22868. tags:
  22869. - 企业风险管理v3(app)
  22870. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22871. get:
  22872. parameters:
  22873. - description: 用户ID
  22874. in: query
  22875. name: userid
  22876. required: true
  22877. type: integer
  22878. - description: 套保商品id
  22879. in: query
  22880. name: middlegoodsid
  22881. required: true
  22882. type: integer
  22883. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22884. in: query
  22885. name: cycletype
  22886. required: true
  22887. type: integer
  22888. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22889. 全(0)【原值】
  22890. in: query
  22891. name: cycletime
  22892. required: true
  22893. type: string
  22894. produces:
  22895. - application/json
  22896. responses:
  22897. "200":
  22898. description: OK
  22899. schema:
  22900. items:
  22901. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22902. type: array
  22903. "500":
  22904. description: Internal Server Error
  22905. schema:
  22906. $ref: '#/definitions/app.Response'
  22907. security:
  22908. - ApiKeyAuth: []
  22909. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22910. tags:
  22911. - 企业风险管理v3(app)
  22912. /Ermcp3/QryAreaExpourseReport:
  22913. get:
  22914. parameters:
  22915. - description: 用户ID
  22916. in: query
  22917. name: userid
  22918. required: true
  22919. type: integer
  22920. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22921. in: query
  22922. name: querytype
  22923. required: true
  22924. type: integer
  22925. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22926. in: query
  22927. name: cycletype
  22928. required: true
  22929. type: integer
  22930. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22931. 全(0)【原值】
  22932. in: query
  22933. name: cycletime
  22934. required: true
  22935. type: string
  22936. produces:
  22937. - application/json
  22938. responses:
  22939. "200":
  22940. description: OK
  22941. schema:
  22942. items:
  22943. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22944. type: array
  22945. "500":
  22946. description: Internal Server Error
  22947. schema:
  22948. $ref: '#/definitions/app.Response'
  22949. security:
  22950. - ApiKeyAuth: []
  22951. summary: 查询敞口报表
  22952. tags:
  22953. - 企业风险管理v3(app)
  22954. /Ermcp3/QryAreaSpotplReport:
  22955. get:
  22956. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22957. parameters:
  22958. - description: 用户ID
  22959. in: query
  22960. name: userid
  22961. required: true
  22962. type: integer
  22963. - description: 查询类型 1-报表 2-报表明细
  22964. in: query
  22965. name: querytype
  22966. required: true
  22967. type: integer
  22968. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22969. in: query
  22970. name: cycletype
  22971. required: true
  22972. type: integer
  22973. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22974. 全(0)【原值】
  22975. in: query
  22976. name: cycletime
  22977. required: true
  22978. type: string
  22979. - description: 现货品种id(明细必填)
  22980. in: query
  22981. name: deliverygoodsid
  22982. type: integer
  22983. - description: 币种id(明细必填)
  22984. in: query
  22985. name: currencyid
  22986. type: integer
  22987. - description: 日/周/月报表汇总维度 1:品种+品类
  22988. in: query
  22989. name: sumflag
  22990. type: integer
  22991. produces:
  22992. - application/json
  22993. responses:
  22994. "200":
  22995. description: OK
  22996. schema:
  22997. items:
  22998. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22999. type: array
  23000. "500":
  23001. description: Internal Server Error
  23002. schema:
  23003. $ref: '#/definitions/app.Response'
  23004. security:
  23005. - ApiKeyAuth: []
  23006. summary: 查询现货报表
  23007. tags:
  23008. - 企业风险管理v3(app)
  23009. /Ermcp3/QryAreaStockReport:
  23010. get:
  23011. parameters:
  23012. - description: 用户ID
  23013. in: query
  23014. name: userid
  23015. required: true
  23016. type: integer
  23017. - description: 查询类型 1-报表 2-报表明细
  23018. in: query
  23019. name: querytype
  23020. required: true
  23021. type: integer
  23022. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23023. in: query
  23024. name: cycletype
  23025. required: true
  23026. type: integer
  23027. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23028. 全(0)【原值】
  23029. in: query
  23030. name: cycletime
  23031. required: true
  23032. type: string
  23033. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23034. in: query
  23035. name: sumfields
  23036. type: string
  23037. - description: 品种ID
  23038. in: query
  23039. name: deliverygoodsid
  23040. type: integer
  23041. - description: 品类ID
  23042. in: query
  23043. name: wrstandardid
  23044. type: integer
  23045. - description: 品牌ID
  23046. in: query
  23047. name: spotgoodsbrandid
  23048. type: integer
  23049. - description: 仓库ID
  23050. in: query
  23051. name: warehouseinfoid
  23052. type: integer
  23053. produces:
  23054. - application/json
  23055. responses:
  23056. "200":
  23057. description: OK
  23058. schema:
  23059. items:
  23060. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23061. type: array
  23062. "500":
  23063. description: Internal Server Error
  23064. schema:
  23065. $ref: '#/definitions/app.Response'
  23066. security:
  23067. - ApiKeyAuth: []
  23068. summary: 查询库存报表
  23069. tags:
  23070. - 企业风险管理v3(app)
  23071. /Ermcp3/QryAreaSumPL:
  23072. get:
  23073. parameters:
  23074. - description: 用户ID
  23075. in: query
  23076. name: userid
  23077. required: true
  23078. type: integer
  23079. - description: 查询类型 1-报表 2-报表明细
  23080. in: query
  23081. name: querytype
  23082. required: true
  23083. type: integer
  23084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23085. in: query
  23086. name: cycletype
  23087. required: true
  23088. type: integer
  23089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23090. 全(0)【原值】
  23091. in: query
  23092. name: cycletime
  23093. required: true
  23094. type: string
  23095. - description: 币种id(明细必填)
  23096. in: query
  23097. name: currencyid
  23098. type: integer
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. items:
  23106. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  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. - 企业风险管理v3(app)
  23117. /Ermcp3/QryFinanceReport:
  23118. get:
  23119. parameters:
  23120. - description: 用户ID
  23121. in: query
  23122. name: userid
  23123. required: true
  23124. type: integer
  23125. - description: 查询类型 1-报表 2-报表明细
  23126. in: query
  23127. name: querytype
  23128. required: true
  23129. type: integer
  23130. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23131. in: query
  23132. name: cycletype
  23133. required: true
  23134. type: integer
  23135. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23136. 全(0)【原值】
  23137. in: query
  23138. name: cycletime
  23139. required: true
  23140. type: string
  23141. - description: 币种id(报表明细必填)
  23142. in: query
  23143. name: currencyid
  23144. type: integer
  23145. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23146. in: query
  23147. name: sumfields
  23148. type: string
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. items:
  23156. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23157. type: array
  23158. "500":
  23159. description: Internal Server Error
  23160. schema:
  23161. $ref: '#/definitions/app.Response'
  23162. security:
  23163. - ApiKeyAuth: []
  23164. summary: 查询财务报表
  23165. tags:
  23166. - 企业风险管理v3(app)
  23167. /Ermcp3/QrySCMiddleGoodsReport:
  23168. get:
  23169. parameters:
  23170. - description: 用户ID
  23171. in: query
  23172. name: userid
  23173. required: true
  23174. type: integer
  23175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23176. in: query
  23177. name: cycletype
  23178. required: true
  23179. type: integer
  23180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23181. 全(0)【原值】
  23182. in: query
  23183. name: cycletime
  23184. required: true
  23185. type: string
  23186. - description: 合同id
  23187. in: query
  23188. name: spotcontractid
  23189. type: integer
  23190. - description: 套保品种id
  23191. in: query
  23192. name: middlegoodsid
  23193. type: integer
  23194. - description: 现货品种id
  23195. in: query
  23196. name: deliverygoodsid
  23197. type: integer
  23198. - description: 现货商品id
  23199. in: query
  23200. name: wrstandardid
  23201. type: integer
  23202. - description: 合同编号(模糊匹配)
  23203. in: query
  23204. name: contractno
  23205. type: string
  23206. produces:
  23207. - application/json
  23208. responses:
  23209. "200":
  23210. description: OK
  23211. schema:
  23212. items:
  23213. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23214. type: array
  23215. "500":
  23216. description: Internal Server Error
  23217. schema:
  23218. $ref: '#/definitions/app.Response'
  23219. security:
  23220. - ApiKeyAuth: []
  23221. summary: 查询定价报表
  23222. tags:
  23223. - 企业风险管理v3(app)
  23224. /Ermcp3/QryTaFutureDataReport:
  23225. get:
  23226. parameters:
  23227. - description: 用户ID
  23228. in: query
  23229. name: userid
  23230. required: true
  23231. type: integer
  23232. - description: 查询类型 1-报表 2-报表明细
  23233. in: query
  23234. name: querytype
  23235. required: true
  23236. type: integer
  23237. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23238. in: query
  23239. name: cycletype
  23240. required: true
  23241. type: integer
  23242. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23243. 全(0)【原值】
  23244. in: query
  23245. name: cycletime
  23246. required: true
  23247. type: string
  23248. - description: 币种id(查明细必填)
  23249. in: query
  23250. name: currencyid
  23251. type: integer
  23252. - description: 品种id(查明细必填)
  23253. in: query
  23254. name: goodsgroupid
  23255. type: integer
  23256. - description: 商品id(查明细必填)
  23257. in: query
  23258. name: goodsid
  23259. type: integer
  23260. - description: 买卖方向(查明细必填)
  23261. in: query
  23262. name: buyorsell
  23263. type: integer
  23264. produces:
  23265. - application/json
  23266. responses:
  23267. "200":
  23268. description: OK
  23269. schema:
  23270. items:
  23271. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23272. type: array
  23273. "500":
  23274. description: Internal Server Error
  23275. schema:
  23276. $ref: '#/definitions/app.Response'
  23277. security:
  23278. - ApiKeyAuth: []
  23279. summary: 查询期货报表
  23280. tags:
  23281. - 企业风险管理v3(app)
  23282. /Ermcp3/QueryAreaStock:
  23283. get:
  23284. parameters:
  23285. - description: 用户ID
  23286. in: query
  23287. name: userid
  23288. required: true
  23289. type: integer
  23290. produces:
  23291. - application/json
  23292. responses:
  23293. "200":
  23294. description: OK
  23295. schema:
  23296. items:
  23297. $ref: '#/definitions/models.Ermcp3AreaStock'
  23298. type: array
  23299. "500":
  23300. description: Internal Server Error
  23301. schema:
  23302. $ref: '#/definitions/app.Response'
  23303. security:
  23304. - ApiKeyAuth: []
  23305. summary: 查询机构库存(库存管理/当前库存)
  23306. tags:
  23307. - 企业风险管理v3(app)
  23308. /Ermcp3/QueryAreaStockApply:
  23309. get:
  23310. parameters:
  23311. - description: 用户ID
  23312. in: query
  23313. name: userid
  23314. required: true
  23315. type: integer
  23316. - description: 用户类型 2-机构 7-企业成员
  23317. in: query
  23318. name: usertype
  23319. type: integer
  23320. - description: 现货商品ID
  23321. in: query
  23322. name: deliverygoodsid
  23323. type: integer
  23324. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23325. in: query
  23326. name: inouttype
  23327. type: string
  23328. - description: 合同ID
  23329. in: query
  23330. name: spotcontractid
  23331. type: integer
  23332. - description: 品类ID
  23333. in: query
  23334. name: wrstandardid
  23335. type: integer
  23336. - description: 品牌ID
  23337. in: query
  23338. name: spotgoodsbrandid
  23339. type: integer
  23340. - description: 仓库ID
  23341. in: query
  23342. name: warehouseinfoid
  23343. type: integer
  23344. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23345. in: query
  23346. name: applystatus
  23347. type: string
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. items:
  23355. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23356. type: array
  23357. "500":
  23358. description: Internal Server Error
  23359. schema:
  23360. $ref: '#/definitions/app.Response'
  23361. security:
  23362. - ApiKeyAuth: []
  23363. summary: 查询库存申请(出入库记录|库存审核)
  23364. tags:
  23365. - 企业风险管理v3(app)
  23366. /Ermcp3/QueryAreaStockApplySum:
  23367. get:
  23368. parameters:
  23369. - description: 合同ID
  23370. in: query
  23371. name: spotcontractid
  23372. required: true
  23373. type: integer
  23374. produces:
  23375. - application/json
  23376. responses:
  23377. "200":
  23378. description: OK
  23379. schema:
  23380. items:
  23381. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23382. type: array
  23383. "500":
  23384. description: Internal Server Error
  23385. schema:
  23386. $ref: '#/definitions/app.Response'
  23387. security:
  23388. - ApiKeyAuth: []
  23389. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23390. tags:
  23391. - 企业风险管理v3(app)
  23392. /Ermcp3/QueryDGFactoryItem:
  23393. get:
  23394. parameters:
  23395. - description: 用户id
  23396. in: query
  23397. name: userid
  23398. type: integer
  23399. - description: 用户类型 2-机构 7-企业成员
  23400. in: query
  23401. name: usertype
  23402. type: integer
  23403. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23404. in: query
  23405. name: dgfactoryitemid
  23406. type: integer
  23407. - description: 现货品种ID
  23408. in: query
  23409. name: deliverygoodsid
  23410. type: integer
  23411. - description: 要素项类型
  23412. in: query
  23413. name: dgfactoryitemtypeid
  23414. type: integer
  23415. - description: 顺序
  23416. in: query
  23417. name: orderindex
  23418. type: integer
  23419. produces:
  23420. - application/json
  23421. responses:
  23422. "200":
  23423. description: OK
  23424. schema:
  23425. items:
  23426. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23427. type: array
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 查询品种要素定义项
  23435. tags:
  23436. - 企业风险管理v3(app)
  23437. /Ermcp3/QueryDeliveryGoods:
  23438. get:
  23439. parameters:
  23440. - description: 用户id
  23441. in: query
  23442. name: userid
  23443. required: true
  23444. type: integer
  23445. - description: 用户类型 2-机构 7-企业成员
  23446. in: query
  23447. name: usertype
  23448. type: integer
  23449. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23450. in: query
  23451. name: excludecfg
  23452. type: integer
  23453. produces:
  23454. - application/json
  23455. responses:
  23456. "200":
  23457. description: OK
  23458. schema:
  23459. items:
  23460. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23461. type: array
  23462. "500":
  23463. description: Internal Server Error
  23464. schema:
  23465. $ref: '#/definitions/app.Response'
  23466. security:
  23467. - ApiKeyAuth: []
  23468. summary: 查询现货商品
  23469. tags:
  23470. - 企业风险管理v3(app)
  23471. /Ermcp3/QueryDeliveryGoodsDetail:
  23472. get:
  23473. parameters:
  23474. - description: 用户id
  23475. in: query
  23476. name: userid
  23477. required: true
  23478. type: integer
  23479. - description: 用户类型 2-机构 7-企业成员
  23480. in: query
  23481. name: usertype
  23482. type: integer
  23483. - description: 现货商品id
  23484. in: query
  23485. name: deliverygoodsid
  23486. type: integer
  23487. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23488. in: query
  23489. name: filtersubempty
  23490. type: integer
  23491. produces:
  23492. - application/json
  23493. responses:
  23494. "200":
  23495. description: OK
  23496. schema:
  23497. items:
  23498. $ref: '#/definitions/models.XHDeliveryGoods'
  23499. type: array
  23500. "500":
  23501. description: Internal Server Error
  23502. schema:
  23503. $ref: '#/definitions/app.Response'
  23504. security:
  23505. - ApiKeyAuth: []
  23506. summary: 查询现货商品详情
  23507. tags:
  23508. - 企业风险管理v3(app)
  23509. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23510. get:
  23511. parameters:
  23512. - description: 合同id
  23513. in: query
  23514. name: spotcontractid
  23515. required: true
  23516. type: string
  23517. produces:
  23518. - application/json
  23519. responses:
  23520. "200":
  23521. description: OK
  23522. schema:
  23523. items:
  23524. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23525. type: array
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. security:
  23531. - ApiKeyAuth: []
  23532. summary: 查询现货合同期现配置信息
  23533. tags:
  23534. - 企业风险管理v3(app)
  23535. /Ermcp3/QueryExposureDetail:
  23536. get:
  23537. parameters:
  23538. - description: 用户id
  23539. in: query
  23540. name: userid
  23541. required: true
  23542. type: integer
  23543. - description: 用户类型 2-机构 7-企业成员
  23544. in: query
  23545. name: usertype
  23546. type: integer
  23547. - description: 套保商品
  23548. in: query
  23549. name: middlegoodsid
  23550. required: true
  23551. type: integer
  23552. produces:
  23553. - application/json
  23554. responses:
  23555. "200":
  23556. description: OK
  23557. schema:
  23558. items:
  23559. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23560. type: array
  23561. "500":
  23562. description: Internal Server Error
  23563. schema:
  23564. $ref: '#/definitions/app.Response'
  23565. security:
  23566. - ApiKeyAuth: []
  23567. summary: 查询敞口现货明细
  23568. tags:
  23569. - 企业风险管理v3(app)
  23570. /Ermcp3/QueryExposureSpot:
  23571. get:
  23572. parameters:
  23573. - description: 用户id
  23574. in: query
  23575. name: userid
  23576. required: true
  23577. type: integer
  23578. - description: 用户类型 2-机构 7-企业成员
  23579. in: query
  23580. name: usertype
  23581. type: integer
  23582. produces:
  23583. - application/json
  23584. responses:
  23585. "200":
  23586. description: OK
  23587. schema:
  23588. items:
  23589. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23590. type: array
  23591. "500":
  23592. description: Internal Server Error
  23593. schema:
  23594. $ref: '#/definitions/app.Response'
  23595. security:
  23596. - ApiKeyAuth: []
  23597. summary: 查询敞口现货头寸(敞口/现货头寸)
  23598. tags:
  23599. - 企业风险管理v3(app)
  23600. /Ermcp3/QueryExposureSpotDetail:
  23601. get:
  23602. parameters:
  23603. - description: 用户id
  23604. in: query
  23605. name: userid
  23606. required: true
  23607. type: integer
  23608. - description: 用户类型 2-机构 7-企业成员
  23609. in: query
  23610. name: usertype
  23611. type: integer
  23612. - description: 现货商品ID
  23613. in: query
  23614. name: wrstandardid
  23615. required: true
  23616. type: integer
  23617. produces:
  23618. - application/json
  23619. responses:
  23620. "200":
  23621. description: OK
  23622. schema:
  23623. items:
  23624. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23625. type: array
  23626. "500":
  23627. description: Internal Server Error
  23628. schema:
  23629. $ref: '#/definitions/app.Response'
  23630. security:
  23631. - ApiKeyAuth: []
  23632. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23633. tags:
  23634. - 企业风险管理v3(app)
  23635. /Ermcp3/QueryGoodsGroup:
  23636. get:
  23637. parameters:
  23638. - description: 用户id
  23639. in: query
  23640. name: userid
  23641. required: true
  23642. type: integer
  23643. - description: 用户类型 2-机构 7-企业成员
  23644. in: query
  23645. name: usertype
  23646. type: integer
  23647. - description: 排除套保品中已关联的商品组 1-排除
  23648. in: query
  23649. name: excludecfg
  23650. type: integer
  23651. produces:
  23652. - application/json
  23653. responses:
  23654. "200":
  23655. description: OK
  23656. schema:
  23657. items:
  23658. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23659. type: array
  23660. "500":
  23661. description: Internal Server Error
  23662. schema:
  23663. $ref: '#/definitions/app.Response'
  23664. security:
  23665. - ApiKeyAuth: []
  23666. summary: 查询期货商品组
  23667. tags:
  23668. - 企业风险管理v3(app)
  23669. /Ermcp3/QueryGoodsWrstandard:
  23670. get:
  23671. parameters:
  23672. - description: 用户id
  23673. in: query
  23674. name: userid
  23675. required: true
  23676. type: integer
  23677. - description: 用户类型 2-机构 7-企业成员
  23678. in: query
  23679. name: usertype
  23680. type: integer
  23681. - description: 现货商品id
  23682. in: query
  23683. name: deliverygoodsid
  23684. type: integer
  23685. produces:
  23686. - application/json
  23687. responses:
  23688. "200":
  23689. description: OK
  23690. schema:
  23691. items:
  23692. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23693. type: array
  23694. "500":
  23695. description: Internal Server Error
  23696. schema:
  23697. $ref: '#/definitions/app.Response'
  23698. security:
  23699. - ApiKeyAuth: []
  23700. summary: 查询商品品类
  23701. tags:
  23702. - 企业风险管理v3(app)
  23703. /Ermcp3/QueryGoodsbrand:
  23704. get:
  23705. parameters:
  23706. - description: 用户id
  23707. in: query
  23708. name: userid
  23709. required: true
  23710. type: integer
  23711. - description: 用户类型 2-机构 7-企业成员
  23712. in: query
  23713. name: usertype
  23714. type: integer
  23715. produces:
  23716. - application/json
  23717. responses:
  23718. "200":
  23719. description: OK
  23720. schema:
  23721. items:
  23722. $ref: '#/definitions/models.Ermcp3Brand'
  23723. type: array
  23724. "500":
  23725. description: Internal Server Error
  23726. schema:
  23727. $ref: '#/definitions/app.Response'
  23728. security:
  23729. - ApiKeyAuth: []
  23730. summary: 查询商品品牌
  23731. tags:
  23732. - 企业风险管理v3(app)
  23733. /Ermcp3/QueryHPMiddleGoods:
  23734. get:
  23735. parameters:
  23736. - description: 用户ID(填登录用户的userid)
  23737. in: query
  23738. name: userid
  23739. required: true
  23740. type: integer
  23741. - description: 买卖方向 0-买 1-卖
  23742. in: query
  23743. name: buyorsell
  23744. required: true
  23745. type: integer
  23746. - description: 商品组id
  23747. in: query
  23748. name: goodsgroupid
  23749. required: true
  23750. type: integer
  23751. - description: 套保计划编号(模糊匹配)
  23752. in: query
  23753. name: hedgeplanno
  23754. type: string
  23755. - description: 现货商品名称(模糊匹配)
  23756. in: query
  23757. name: wrstandardname
  23758. type: string
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. items:
  23766. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23767. type: array
  23768. "500":
  23769. description: Internal Server Error
  23770. schema:
  23771. $ref: '#/definitions/app.Response'
  23772. security:
  23773. - ApiKeyAuth: []
  23774. summary: 查询可关联套保计划
  23775. tags:
  23776. - 企业风险管理v3(app)
  23777. /Ermcp3/QueryHedgePlan:
  23778. get:
  23779. parameters:
  23780. - description: 用户ID
  23781. in: query
  23782. name: userid
  23783. required: true
  23784. type: integer
  23785. - description: 用户类型 2-机构 7-企业成员
  23786. in: query
  23787. name: usertype
  23788. type: integer
  23789. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23790. in: query
  23791. name: hedgeplanstatus
  23792. required: true
  23793. type: string
  23794. produces:
  23795. - application/json
  23796. responses:
  23797. "200":
  23798. description: OK
  23799. schema:
  23800. items:
  23801. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23802. type: array
  23803. "500":
  23804. description: Internal Server Error
  23805. schema:
  23806. $ref: '#/definitions/app.Response'
  23807. security:
  23808. - ApiKeyAuth: []
  23809. summary: 查询套保计划
  23810. tags:
  23811. - 企业风险管理v3(app)
  23812. /Ermcp3/QueryInnerTradeLink:
  23813. get:
  23814. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23815. parameters:
  23816. - description: 外部成交单号
  23817. in: query
  23818. name: outtradeid
  23819. required: true
  23820. type: integer
  23821. produces:
  23822. - application/json
  23823. responses:
  23824. "200":
  23825. description: OK
  23826. schema:
  23827. items:
  23828. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23829. type: array
  23830. "500":
  23831. description: Internal Server Error
  23832. schema:
  23833. $ref: '#/definitions/app.Response'
  23834. security:
  23835. - ApiKeyAuth: []
  23836. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23837. tags:
  23838. - 企业风险管理v3(app)
  23839. /Ermcp3/QueryMiddleGoodsDetail:
  23840. get:
  23841. parameters:
  23842. - description: 用户id
  23843. in: query
  23844. name: userid
  23845. required: true
  23846. type: integer
  23847. - description: 用户类型 2-机构 7-企业成员
  23848. in: query
  23849. name: usertype
  23850. type: integer
  23851. - description: 套保品种id
  23852. in: query
  23853. name: middlegoodsid
  23854. type: integer
  23855. produces:
  23856. - application/json
  23857. responses:
  23858. "200":
  23859. description: OK
  23860. schema:
  23861. items:
  23862. $ref: '#/definitions/models.TBMiddleGoods'
  23863. type: array
  23864. "500":
  23865. description: Internal Server Error
  23866. schema:
  23867. $ref: '#/definitions/app.Response'
  23868. security:
  23869. - ApiKeyAuth: []
  23870. summary: 查询套保品种详情(套保品种/商品详情)
  23871. tags:
  23872. - 企业风险管理v3(app)
  23873. /Ermcp3/QueryOutTradeLink:
  23874. get:
  23875. description: 页面 app 现货->期现关联->外部成交单关联
  23876. parameters:
  23877. - description: 用户ID(填登录用户的userid)
  23878. in: query
  23879. name: userid
  23880. required: true
  23881. type: integer
  23882. - description: 外部订单号(模糊匹配)
  23883. in: query
  23884. name: outtradeid
  23885. type: string
  23886. - description: 合约名称/代码(模糊匹配)
  23887. in: query
  23888. name: goodsname
  23889. type: string
  23890. - description: 关联状态 0-未关联 1-已关联
  23891. in: query
  23892. name: hasinnerorder
  23893. type: integer
  23894. produces:
  23895. - application/json
  23896. responses:
  23897. "200":
  23898. description: OK
  23899. schema:
  23900. items:
  23901. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23902. type: array
  23903. "500":
  23904. description: Internal Server Error
  23905. schema:
  23906. $ref: '#/definitions/app.Response'
  23907. security:
  23908. - ApiKeyAuth: []
  23909. summary: 查询外部成交单关联
  23910. tags:
  23911. - 企业风险管理v3(app)
  23912. /Ermcp3/QueryPaAreaAuditCfg:
  23913. get:
  23914. parameters:
  23915. - description: 用户id
  23916. in: query
  23917. name: userid
  23918. required: true
  23919. type: integer
  23920. produces:
  23921. - application/json
  23922. responses:
  23923. "200":
  23924. description: OK
  23925. schema:
  23926. items:
  23927. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23928. type: array
  23929. "500":
  23930. description: Internal Server Error
  23931. schema:
  23932. $ref: '#/definitions/app.Response'
  23933. security:
  23934. - ApiKeyAuth: []
  23935. summary: 查询审核设置
  23936. tags:
  23937. - 企业风险管理v3(app)
  23938. /Ermcp3/QueryPaAreaSubject:
  23939. get:
  23940. parameters:
  23941. - description: 用户id
  23942. in: query
  23943. name: userid
  23944. required: true
  23945. type: integer
  23946. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23947. in: query
  23948. name: subjectid
  23949. type: integer
  23950. - description: 主体类型 - 1:交易主体 2:业务部门
  23951. in: query
  23952. name: subjecttype
  23953. type: integer
  23954. - description: '主体状态 - 1:正常 2: 停用'
  23955. in: query
  23956. name: subjectstatus
  23957. type: integer
  23958. produces:
  23959. - application/json
  23960. responses:
  23961. "200":
  23962. description: OK
  23963. schema:
  23964. items:
  23965. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23966. type: array
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 查询交易主体
  23974. tags:
  23975. - 企业风险管理v3(app)
  23976. /Ermcp3/QueryPaTradeLink:
  23977. get:
  23978. description: 页面 app 现货->期现关联->期现单据关联
  23979. parameters:
  23980. - description: 用户ID
  23981. in: query
  23982. name: userid
  23983. required: true
  23984. type: integer
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. items:
  23992. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23993. type: array
  23994. "500":
  23995. description: Internal Server Error
  23996. schema:
  23997. $ref: '#/definitions/app.Response'
  23998. security:
  23999. - ApiKeyAuth: []
  24000. summary: 查询期现单据关联
  24001. tags:
  24002. - 企业风险管理v3(app)
  24003. /Ermcp3/QueryPaTradeLinkDetail:
  24004. get:
  24005. description: 页面 app 现货->期现关联->关联记录
  24006. parameters:
  24007. - description: 用户ID(填登录用户的userid)
  24008. in: query
  24009. name: userid
  24010. required: true
  24011. type: integer
  24012. - description: 关联状态 1:成功 2:失败 3:解绑
  24013. in: query
  24014. name: linkstatus
  24015. type: integer
  24016. - description: 期货订单号(模糊匹配)
  24017. in: query
  24018. name: tradeid
  24019. type: string
  24020. - description: 现货编号(模糊匹配)
  24021. in: query
  24022. name: contractno
  24023. type: string
  24024. - description: 期货账户(模糊匹配)
  24025. in: query
  24026. name: taname
  24027. type: string
  24028. produces:
  24029. - application/json
  24030. responses:
  24031. "200":
  24032. description: OK
  24033. schema:
  24034. items:
  24035. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24036. type: array
  24037. "500":
  24038. description: Internal Server Error
  24039. schema:
  24040. $ref: '#/definitions/app.Response'
  24041. security:
  24042. - ApiKeyAuth: []
  24043. summary: 查询期现关联记录
  24044. tags:
  24045. - 企业风险管理v3(app)
  24046. /Ermcp3/QueryParamChangeApp:
  24047. get:
  24048. description: |-
  24049. 原型页面:
  24050. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24051. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24052. parameters:
  24053. - description: 用户ID
  24054. in: query
  24055. name: userid
  24056. required: true
  24057. type: integer
  24058. - description: 现货品种id
  24059. in: query
  24060. name: deliverygoodsid
  24061. type: integer
  24062. - description: 现货商品id
  24063. in: query
  24064. name: wrstandardid
  24065. type: integer
  24066. - description: 套保商品id
  24067. in: query
  24068. name: middlegoodsid
  24069. type: integer
  24070. - description: 操作类型 1:新增 2:修改
  24071. in: query
  24072. name: operatetype
  24073. type: integer
  24074. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24075. in: query
  24076. name: paramchangetype
  24077. type: integer
  24078. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24079. in: query
  24080. name: ftstatus
  24081. type: string
  24082. produces:
  24083. - application/json
  24084. responses:
  24085. "200":
  24086. description: OK
  24087. schema:
  24088. items:
  24089. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24090. type: array
  24091. "500":
  24092. description: Internal Server Error
  24093. schema:
  24094. $ref: '#/definitions/app.Response'
  24095. security:
  24096. - ApiKeyAuth: []
  24097. summary: 查询现货商品参数变更申请(流水)
  24098. tags:
  24099. - 企业风险管理v3(app)
  24100. /Ermcp3/QueryRootUserAccount:
  24101. get:
  24102. parameters:
  24103. - description: 用户ID
  24104. in: query
  24105. name: userid
  24106. required: true
  24107. type: integer
  24108. produces:
  24109. - application/json
  24110. responses:
  24111. "200":
  24112. description: OK
  24113. schema:
  24114. items:
  24115. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24116. type: array
  24117. "500":
  24118. description: Internal Server Error
  24119. schema:
  24120. $ref: '#/definitions/app.Response'
  24121. security:
  24122. - ApiKeyAuth: []
  24123. summary: 查询顶级用户信息
  24124. tags:
  24125. - 企业风险管理v3(app)
  24126. /Ermcp3/QuerySCMiddleGoods:
  24127. get:
  24128. description: |-
  24129. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24130. 现货编号 即 合同编号
  24131. parameters:
  24132. - description: 用户ID(填登录用户的userid)
  24133. in: query
  24134. name: userid
  24135. required: true
  24136. type: integer
  24137. - description: 买卖方向 0-买 1-卖
  24138. in: query
  24139. name: buyorsell
  24140. required: true
  24141. type: integer
  24142. - description: 商品组id
  24143. in: query
  24144. name: goodsgroupid
  24145. required: true
  24146. type: integer
  24147. - description: 业务类型 1:套保 2:套利
  24148. in: query
  24149. name: biztype
  24150. type: integer
  24151. - description: 现货编号(模糊匹配)
  24152. in: query
  24153. name: contractno
  24154. type: string
  24155. - description: 对手方(模糊匹配)
  24156. in: query
  24157. name: customername
  24158. type: string
  24159. - description: 现货商品名称(模糊匹配)
  24160. in: query
  24161. name: wrstandardname
  24162. type: string
  24163. produces:
  24164. - application/json
  24165. responses:
  24166. "200":
  24167. description: OK
  24168. schema:
  24169. items:
  24170. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24171. type: array
  24172. "500":
  24173. description: Internal Server Error
  24174. schema:
  24175. $ref: '#/definitions/app.Response'
  24176. security:
  24177. - ApiKeyAuth: []
  24178. summary: 查询现货订单
  24179. tags:
  24180. - 企业风险管理v3(app)
  24181. /Ermcp3/QuerySpotContract:
  24182. get:
  24183. parameters:
  24184. - description: 用户id(当指定contractid, userid可不填)
  24185. in: query
  24186. name: userid
  24187. required: true
  24188. type: integer
  24189. - description: 用户类型 2-机构 7-企业成员
  24190. in: query
  24191. name: usertype
  24192. type: integer
  24193. - description: 合同类型 1-采购, -1-销售
  24194. in: query
  24195. name: contracttype
  24196. type: integer
  24197. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24198. in: query
  24199. name: querytype
  24200. type: string
  24201. - description: 合同ID(SpotContractId)
  24202. in: query
  24203. name: contractid
  24204. type: string
  24205. - description: 合同编号(模糊匹配)
  24206. in: query
  24207. name: contractno
  24208. type: string
  24209. - description: 商品名称(模糊匹配)
  24210. in: query
  24211. name: wrstandardname
  24212. type: string
  24213. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24214. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24215. in: query
  24216. name: status
  24217. type: string
  24218. - description: 是否只查今日的合同 1-查今日合同
  24219. in: query
  24220. name: istoday
  24221. type: integer
  24222. produces:
  24223. - application/json
  24224. responses:
  24225. "200":
  24226. description: OK
  24227. schema:
  24228. items:
  24229. $ref: '#/definitions/models.Ermcp3Contract'
  24230. type: array
  24231. "500":
  24232. description: Internal Server Error
  24233. schema:
  24234. $ref: '#/definitions/app.Response'
  24235. security:
  24236. - ApiKeyAuth: []
  24237. summary: 查询现货合同
  24238. tags:
  24239. - 企业风险管理v3(app)
  24240. /Ermcp3/QuerySpotContractBS:
  24241. get:
  24242. parameters:
  24243. - description: 用户id
  24244. in: query
  24245. name: userid
  24246. required: true
  24247. type: integer
  24248. - description: 用户类型 2-机构 7-企业成员
  24249. in: query
  24250. name: usertype
  24251. type: integer
  24252. - description: 合同类型 1-采购, -1-销售
  24253. in: query
  24254. name: contracttype
  24255. required: true
  24256. type: integer
  24257. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24258. in: query
  24259. name: querytype
  24260. type: integer
  24261. - description: 合同ID(SpotContractId)
  24262. in: query
  24263. name: contractid
  24264. type: string
  24265. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24266. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24267. in: query
  24268. name: status
  24269. type: string
  24270. - description: 是否只查今日的合同 1-查今日合同
  24271. in: query
  24272. name: istoday
  24273. type: integer
  24274. produces:
  24275. - application/json
  24276. responses:
  24277. "200":
  24278. description: OK
  24279. schema:
  24280. items:
  24281. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24282. type: array
  24283. "500":
  24284. description: Internal Server Error
  24285. schema:
  24286. $ref: '#/definitions/app.Response'
  24287. security:
  24288. - ApiKeyAuth: []
  24289. summary: 查询合同(采购/销售)
  24290. tags:
  24291. - 企业风险管理v3(app)
  24292. /Ermcp3/QuerySpotGoodsPrice:
  24293. get:
  24294. parameters:
  24295. - description: 用户ID
  24296. in: query
  24297. name: userid
  24298. required: true
  24299. type: integer
  24300. produces:
  24301. - application/json
  24302. responses:
  24303. "200":
  24304. description: OK
  24305. schema:
  24306. items:
  24307. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24308. type: array
  24309. "500":
  24310. description: Internal Server Error
  24311. schema:
  24312. $ref: '#/definitions/app.Response'
  24313. security:
  24314. - ApiKeyAuth: []
  24315. summary: 查询现货市价(现货市价)
  24316. tags:
  24317. - 企业风险管理v3(app)
  24318. /Ermcp3/QuerySpotGoodsPriceLog:
  24319. get:
  24320. parameters:
  24321. - description: 用户ID
  24322. in: query
  24323. name: userid
  24324. required: true
  24325. type: integer
  24326. - description: 现货商品ID
  24327. in: query
  24328. name: deliverygoodsid
  24329. required: true
  24330. type: integer
  24331. - description: 品牌ID
  24332. in: query
  24333. name: brandid
  24334. type: integer
  24335. - description: 品类ID
  24336. in: query
  24337. name: wrstandardid
  24338. type: integer
  24339. produces:
  24340. - application/json
  24341. responses:
  24342. "200":
  24343. description: OK
  24344. schema:
  24345. items:
  24346. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24347. type: array
  24348. "500":
  24349. description: Internal Server Error
  24350. schema:
  24351. $ref: '#/definitions/app.Response'
  24352. security:
  24353. - ApiKeyAuth: []
  24354. summary: 查询现货市价详情(现货市价/详情)
  24355. tags:
  24356. - 企业风险管理v3(app)
  24357. /Ermcp3/QuerySubTaaccount:
  24358. get:
  24359. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24360. parameters:
  24361. - description: 母账号id
  24362. in: query
  24363. name: parentaccountid
  24364. type: integer
  24365. - description: 母账号代码
  24366. in: query
  24367. name: parentaccountcode
  24368. type: string
  24369. produces:
  24370. - application/json
  24371. responses:
  24372. "200":
  24373. description: OK
  24374. schema:
  24375. items:
  24376. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24377. type: array
  24378. "500":
  24379. description: Internal Server Error
  24380. schema:
  24381. $ref: '#/definitions/app.Response'
  24382. security:
  24383. - ApiKeyAuth: []
  24384. summary: 查询期货子账户
  24385. tags:
  24386. - 企业风险管理v3(app)
  24387. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24388. get:
  24389. parameters:
  24390. - description: 套期项目ID
  24391. in: query
  24392. name: hedgeditemid
  24393. required: true
  24394. type: integer
  24395. produces:
  24396. - application/json
  24397. responses:
  24398. "200":
  24399. description: OK
  24400. schema:
  24401. items:
  24402. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24403. type: array
  24404. "500":
  24405. description: Internal Server Error
  24406. schema:
  24407. $ref: '#/definitions/app.Response'
  24408. security:
  24409. - ApiKeyAuth: []
  24410. summary: 现货成交明细查询
  24411. tags:
  24412. - 企业风险管理v8
  24413. /Ermcp8/QueryERMCP2HedgedItemspot:
  24414. get:
  24415. parameters:
  24416. - description: 套期项目ID
  24417. in: query
  24418. name: hedgeditemid
  24419. required: true
  24420. type: integer
  24421. produces:
  24422. - application/json
  24423. responses:
  24424. "200":
  24425. description: OK
  24426. schema:
  24427. items:
  24428. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24429. type: array
  24430. "500":
  24431. description: Internal Server Error
  24432. schema:
  24433. $ref: '#/definitions/app.Response'
  24434. security:
  24435. - ApiKeyAuth: []
  24436. summary: 套期计划明细查询
  24437. tags:
  24438. - 企业风险管理v8
  24439. /Ermcp8/QueryERMCPJRLinkPos:
  24440. get:
  24441. parameters:
  24442. - description: 套期项目ID
  24443. in: query
  24444. name: hedgeditemid
  24445. required: true
  24446. type: integer
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. items:
  24454. $ref: '#/definitions/models.Ermcpjrlinkpos'
  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. - 企业风险管理v8
  24465. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24466. get:
  24467. parameters:
  24468. - description: 套期项目ID
  24469. in: query
  24470. name: hedgeditemid
  24471. required: true
  24472. type: integer
  24473. produces:
  24474. - application/json
  24475. responses:
  24476. "200":
  24477. description: OK
  24478. schema:
  24479. items:
  24480. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24481. type: array
  24482. "500":
  24483. description: Internal Server Error
  24484. schema:
  24485. $ref: '#/definitions/app.Response'
  24486. security:
  24487. - ApiKeyAuth: []
  24488. summary: 期货成交单明细查询
  24489. tags:
  24490. - 企业风险管理v8
  24491. /Ermcp8/QueryErmcp2HedgedItem:
  24492. get:
  24493. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24494. parameters:
  24495. - description: 用户ID
  24496. in: query
  24497. name: userid
  24498. required: true
  24499. type: string
  24500. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24501. in: query
  24502. name: hedgedtype
  24503. type: integer
  24504. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24505. in: query
  24506. name: hedgeditemstatus
  24507. type: integer
  24508. produces:
  24509. - application/json
  24510. responses:
  24511. "200":
  24512. description: OK
  24513. schema:
  24514. items:
  24515. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24516. type: array
  24517. "500":
  24518. description: Internal Server Error
  24519. schema:
  24520. $ref: '#/definitions/app.Response'
  24521. security:
  24522. - ApiKeyAuth: []
  24523. summary: 查询被套期项目信息
  24524. tags:
  24525. - 企业风险管理v8
  24526. /Ermcp8/QueryErmcp8HedgeditemReport:
  24527. get:
  24528. parameters:
  24529. - description: 用户ID
  24530. in: query
  24531. name: userid
  24532. required: true
  24533. type: integer
  24534. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24535. in: query
  24536. name: cycletype
  24537. required: true
  24538. type: integer
  24539. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24540. 全(0)【原值】
  24541. in: query
  24542. name: cycletime
  24543. required: true
  24544. type: string
  24545. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24546. in: query
  24547. name: hedgedtype
  24548. type: integer
  24549. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24550. in: query
  24551. name: hedgeditemstatus
  24552. type: integer
  24553. - description: 项目编号,模糊查询
  24554. in: query
  24555. name: hedgeditemnum
  24556. type: string
  24557. - description: 现货商品ID
  24558. in: query
  24559. name: wrstandardid
  24560. type: integer
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. items:
  24568. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  24569. type: array
  24570. "500":
  24571. description: Internal Server Error
  24572. schema:
  24573. $ref: '#/definitions/app.Response'
  24574. security:
  24575. - ApiKeyAuth: []
  24576. summary: 套期项目报表查询
  24577. tags:
  24578. - 企业风险管理v8
  24579. /Ermcp8/QueryInternalEnableTradeDetail:
  24580. get:
  24581. parameters:
  24582. - description: 企业ID
  24583. in: query
  24584. name: areauserid
  24585. required: true
  24586. type: integer
  24587. - description: 期货合约ID
  24588. in: query
  24589. name: goodsid
  24590. required: true
  24591. type: integer
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. items:
  24599. $ref: '#/definitions/models.InternalEnableTradeDetail'
  24600. type: array
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. security:
  24606. - ApiKeyAuth: []
  24607. summary: 内部成交单可关联项目查询
  24608. tags:
  24609. - 企业风险管理v8
  24610. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  24611. get:
  24612. parameters:
  24613. - description: 用户编号
  24614. in: query
  24615. name: userid
  24616. required: true
  24617. type: integer
  24618. - description: 起始日期(格式yyyymmdd)
  24619. in: query
  24620. name: begindate
  24621. type: string
  24622. - description: 终止日期(格式yyyymmdd)
  24623. in: query
  24624. name: enddate
  24625. type: string
  24626. - description: 合约代码
  24627. in: query
  24628. name: goodscode
  24629. type: string
  24630. - description: 合约名称
  24631. in: query
  24632. name: goodsname
  24633. type: string
  24634. - description: 成交单号
  24635. in: query
  24636. name: tradeid
  24637. type: integer
  24638. - description: 方向 - 0:买 1:卖
  24639. in: query
  24640. name: buyorsell
  24641. type: integer
  24642. - description: 套期主体
  24643. in: query
  24644. name: accountname
  24645. type: string
  24646. produces:
  24647. - application/json
  24648. responses:
  24649. "200":
  24650. description: OK
  24651. schema:
  24652. items:
  24653. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  24654. type: array
  24655. "500":
  24656. description: Internal Server Error
  24657. schema:
  24658. $ref: '#/definitions/app.Response'
  24659. security:
  24660. - ApiKeyAuth: []
  24661. summary: 内部未关联成交单查询
  24662. tags:
  24663. - 企业风险管理v8
  24664. /Erms2/QueryArbitrageStrategy:
  24665. get:
  24666. parameters:
  24667. - description: 账户ID
  24668. in: query
  24669. name: userid
  24670. required: true
  24671. type: integer
  24672. - description: 商品组ID(品种ID)
  24673. in: query
  24674. name: goodsgroupid
  24675. type: string
  24676. produces:
  24677. - application/json
  24678. responses:
  24679. "200":
  24680. description: OK
  24681. schema:
  24682. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24690. tags:
  24691. - 风险管理
  24692. /Erms2/QueryInnerTradeDetail:
  24693. get:
  24694. parameters:
  24695. - description: 资金账户
  24696. in: query
  24697. name: accountid
  24698. required: true
  24699. type: integer
  24700. produces:
  24701. - application/json
  24702. responses:
  24703. "200":
  24704. description: OK
  24705. schema:
  24706. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24707. "500":
  24708. description: Internal Server Error
  24709. schema:
  24710. $ref: '#/definitions/app.Response'
  24711. security:
  24712. - ApiKeyAuth: []
  24713. summary: 查询内部成交单信息
  24714. tags:
  24715. - 风险管理
  24716. /Erms2/QuerySpotContract:
  24717. get:
  24718. parameters:
  24719. - description: 策略申请ID
  24720. in: query
  24721. name: asapplyid
  24722. required: true
  24723. type: integer
  24724. - description: 现货合同ID
  24725. in: query
  24726. name: spotcontractid
  24727. type: integer
  24728. produces:
  24729. - application/json
  24730. responses:
  24731. "200":
  24732. description: OK
  24733. schema:
  24734. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24735. "500":
  24736. description: Internal Server Error
  24737. schema:
  24738. $ref: '#/definitions/app.Response'
  24739. security:
  24740. - ApiKeyAuth: []
  24741. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24742. tags:
  24743. - 风险管理
  24744. /Erms3/AddErms2ASApply:
  24745. post:
  24746. parameters:
  24747. - description: 申请参数
  24748. in: body
  24749. name: jsonBody
  24750. required: true
  24751. schema:
  24752. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. $ref: '#/definitions/app.Response'
  24760. "500":
  24761. description: Internal Server Error
  24762. schema:
  24763. $ref: '#/definitions/app.Response'
  24764. security:
  24765. - ApiKeyAuth: []
  24766. summary: 新增期现套利业务申请
  24767. tags:
  24768. - 风险管理v3
  24769. /Erms3/AddErms2SpotTradeApply:
  24770. post:
  24771. parameters:
  24772. - description: 申请参数
  24773. in: body
  24774. name: jsonBody
  24775. required: true
  24776. schema:
  24777. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24778. produces:
  24779. - application/json
  24780. responses:
  24781. "200":
  24782. description: OK
  24783. schema:
  24784. $ref: '#/definitions/app.Response'
  24785. "500":
  24786. description: Internal Server Error
  24787. schema:
  24788. $ref: '#/definitions/app.Response'
  24789. security:
  24790. - ApiKeyAuth: []
  24791. summary: 新增现货贸易业务申请
  24792. tags:
  24793. - 风险管理v3
  24794. /Erms3/AddSpotContractApply:
  24795. post:
  24796. parameters:
  24797. - description: 申请参数
  24798. in: body
  24799. name: jsonBody
  24800. required: true
  24801. schema:
  24802. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24810. "500":
  24811. description: Internal Server Error
  24812. schema:
  24813. $ref: '#/definitions/app.Response'
  24814. security:
  24815. - ApiKeyAuth: []
  24816. summary: 新增现货合同申请
  24817. tags:
  24818. - 风险管理v3
  24819. /Erms3/AddUserInfoApply:
  24820. post:
  24821. parameters:
  24822. - description: 用户信息
  24823. in: body
  24824. name: jsonBody
  24825. required: true
  24826. schema:
  24827. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24828. produces:
  24829. - application/json
  24830. responses:
  24831. "200":
  24832. description: OK
  24833. schema:
  24834. $ref: '#/definitions/app.Response'
  24835. "500":
  24836. description: Internal Server Error
  24837. schema:
  24838. $ref: '#/definitions/app.Response'
  24839. security:
  24840. - ApiKeyAuth: []
  24841. summary: 新增客户申请
  24842. tags:
  24843. - 风险管理v3
  24844. /Erms3/DeleteUserInfoApply:
  24845. get:
  24846. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24847. parameters:
  24848. - description: 用户ID
  24849. in: query
  24850. name: userID
  24851. required: true
  24852. type: integer
  24853. produces:
  24854. - application/json
  24855. responses:
  24856. "200":
  24857. description: OK
  24858. schema:
  24859. $ref: '#/definitions/app.Response'
  24860. "500":
  24861. description: Internal Server Error
  24862. schema:
  24863. $ref: '#/definitions/app.Response'
  24864. security:
  24865. - ApiKeyAuth: []
  24866. summary: 删除客户申请
  24867. tags:
  24868. - 风险管理v3
  24869. /Erms3/ModifyUserInfoApply:
  24870. post:
  24871. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24872. int, "userstate": 2 }'
  24873. parameters:
  24874. - description: 用户信息
  24875. in: body
  24876. name: jsonBody
  24877. required: true
  24878. schema:
  24879. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24880. produces:
  24881. - application/json
  24882. responses:
  24883. "200":
  24884. description: OK
  24885. schema:
  24886. $ref: '#/definitions/app.Response'
  24887. "500":
  24888. description: Internal Server Error
  24889. schema:
  24890. $ref: '#/definitions/app.Response'
  24891. security:
  24892. - ApiKeyAuth: []
  24893. summary: 修改客户申请
  24894. tags:
  24895. - 风险管理v3
  24896. /Erms3/QueryBusinessInfo:
  24897. get:
  24898. parameters:
  24899. - description: 资金账号ID列表,用逗号分隔
  24900. in: query
  24901. name: accountids
  24902. required: true
  24903. type: string
  24904. - description: 状态,0为未结束 1为已结束
  24905. in: query
  24906. name: status
  24907. required: true
  24908. type: integer
  24909. produces:
  24910. - application/json
  24911. responses:
  24912. "200":
  24913. description: OK
  24914. schema:
  24915. items:
  24916. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24917. type: array
  24918. "500":
  24919. description: Internal Server Error
  24920. schema:
  24921. $ref: '#/definitions/app.Response'
  24922. security:
  24923. - ApiKeyAuth: []
  24924. summary: 查询业务表单数据
  24925. tags:
  24926. - 风险管理v3
  24927. /Erms3/QueryPendingAuditContract:
  24928. get:
  24929. parameters:
  24930. - description: 资金账号ID列表,逗号隔开
  24931. in: query
  24932. name: accountids
  24933. required: true
  24934. type: string
  24935. - description: 合同类型 1-采购 -1-销售
  24936. in: query
  24937. name: contracttype
  24938. required: true
  24939. type: integer
  24940. - description: 合同模式 1-普通 2-回购
  24941. in: query
  24942. name: contractmode
  24943. required: true
  24944. type: integer
  24945. produces:
  24946. - application/json
  24947. responses:
  24948. "200":
  24949. description: OK
  24950. schema:
  24951. items:
  24952. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24953. type: array
  24954. "500":
  24955. description: Internal Server Error
  24956. schema:
  24957. $ref: '#/definitions/app.Response'
  24958. security:
  24959. - ApiKeyAuth: []
  24960. summary: 查询待审核合同
  24961. tags:
  24962. - 风险管理v3
  24963. /Erms3/QueryPendingBusiness:
  24964. get:
  24965. parameters:
  24966. - description: 资金账号ID列表,逗号隔开
  24967. in: query
  24968. name: accountids
  24969. required: true
  24970. type: string
  24971. produces:
  24972. - application/json
  24973. responses:
  24974. "200":
  24975. description: OK
  24976. schema:
  24977. items:
  24978. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24979. type: array
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 查询待审核基差贸易业务
  24987. tags:
  24988. - 风险管理v3
  24989. /Erms3/QuerySpotContractAppleForm:
  24990. get:
  24991. parameters:
  24992. - description: 登录账号
  24993. in: query
  24994. name: loginID
  24995. required: true
  24996. type: integer
  24997. produces:
  24998. - application/json
  24999. responses:
  25000. "200":
  25001. description: OK
  25002. schema:
  25003. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  25004. "500":
  25005. description: Internal Server Error
  25006. schema:
  25007. $ref: '#/definitions/app.Response'
  25008. security:
  25009. - ApiKeyAuth: []
  25010. summary: 查询合同申请表单数据
  25011. tags:
  25012. - 风险管理v3
  25013. /Erms3/QuerySpotContractDetail:
  25014. get:
  25015. parameters:
  25016. - description: 资金账号ID列表,用逗号分隔
  25017. in: query
  25018. name: accountids
  25019. required: true
  25020. type: string
  25021. - description: 合同类型,1为采购合同 -1为销售合同
  25022. in: query
  25023. name: contracttype
  25024. required: true
  25025. type: integer
  25026. - description: 合同模式,1为普通合同 2为回购销售合同
  25027. in: query
  25028. name: contractmode
  25029. required: true
  25030. type: integer
  25031. - description: 状态,0为履约中 1为已完成
  25032. in: query
  25033. name: status
  25034. required: true
  25035. type: integer
  25036. produces:
  25037. - application/json
  25038. responses:
  25039. "200":
  25040. description: OK
  25041. schema:
  25042. items:
  25043. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  25044. type: array
  25045. "500":
  25046. description: Internal Server Error
  25047. schema:
  25048. $ref: '#/definitions/app.Response'
  25049. security:
  25050. - ApiKeyAuth: []
  25051. summary: 查询合同详细信息
  25052. tags:
  25053. - 风险管理v3
  25054. /Erms3/QueryUserInfoApplies:
  25055. get:
  25056. parameters:
  25057. - description: 页码
  25058. in: query
  25059. name: page
  25060. type: integer
  25061. - description: 每页条数
  25062. in: query
  25063. name: pagesize
  25064. type: integer
  25065. - description: 客户名称,支持模糊查询
  25066. in: query
  25067. name: userName
  25068. type: string
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  25076. "500":
  25077. description: Internal Server Error
  25078. schema:
  25079. $ref: '#/definitions/app.Response'
  25080. security:
  25081. - ApiKeyAuth: []
  25082. summary: 客户申请信息查询
  25083. tags:
  25084. - 风险管理v3
  25085. /Erms3/QueryUserInfos:
  25086. get:
  25087. parameters:
  25088. - description: 页码
  25089. in: query
  25090. name: page
  25091. type: integer
  25092. - description: 每页条数
  25093. in: query
  25094. name: pagesize
  25095. type: integer
  25096. - description: 客户名称,支持模糊查询
  25097. in: query
  25098. name: userName
  25099. type: string
  25100. produces:
  25101. - application/json
  25102. responses:
  25103. "200":
  25104. description: OK
  25105. schema:
  25106. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  25107. "500":
  25108. description: Internal Server Error
  25109. schema:
  25110. $ref: '#/definitions/app.Response'
  25111. security:
  25112. - ApiKeyAuth: []
  25113. summary: 客户信息查询
  25114. tags:
  25115. - 风险管理v3
  25116. /HSBY/GetHsbyMyCount:
  25117. get:
  25118. description: 说明: 不包括已完成的数量。
  25119. parameters:
  25120. - description: 资金账户列表,格式:1,2,3
  25121. in: query
  25122. name: accountIDs
  25123. required: true
  25124. type: string
  25125. produces:
  25126. - application/json
  25127. responses:
  25128. "200":
  25129. description: OK
  25130. schema:
  25131. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  25132. "500":
  25133. description: Internal Server Error
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. security:
  25137. - ApiKeyAuth: []
  25138. summary: 获取我的订单与包裹数量
  25139. tags:
  25140. - 定制【海商报业】
  25141. /HSBY/QueryClientFixedADConfigs:
  25142. get:
  25143. produces:
  25144. - application/json
  25145. responses:
  25146. "200":
  25147. description: OK
  25148. schema:
  25149. $ref: '#/definitions/models.Clientfixedadconfig'
  25150. "500":
  25151. description: Internal Server Error
  25152. schema:
  25153. $ref: '#/definitions/app.Response'
  25154. security:
  25155. - ApiKeyAuth: []
  25156. summary: 获取终端固定广告配置
  25157. tags:
  25158. - 定制【海商报业】
  25159. /HSBY/QueryHsbyBuyMyTradeDetail:
  25160. get:
  25161. parameters:
  25162. - description: 页码
  25163. in: query
  25164. name: page
  25165. type: integer
  25166. - description: 每页条数
  25167. in: query
  25168. name: pagesize
  25169. type: integer
  25170. - description: 资金账户列表,格式:1,2,3
  25171. in: query
  25172. name: accountIDs
  25173. required: true
  25174. type: string
  25175. produces:
  25176. - application/json
  25177. responses:
  25178. "200":
  25179. description: OK
  25180. schema:
  25181. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  25182. "500":
  25183. description: Internal Server Error
  25184. schema:
  25185. $ref: '#/definitions/app.Response'
  25186. security:
  25187. - ApiKeyAuth: []
  25188. summary: 查询"我的订单 - 已完成"单据信息
  25189. tags:
  25190. - 定制【海商报业】
  25191. /HSBY/QueryHsbyGoodsOrderDetails:
  25192. get:
  25193. description: 说明:查询结果已按委托价格和委托时间排序
  25194. parameters:
  25195. - description: 商品ID
  25196. in: query
  25197. name: goodsID
  25198. required: true
  25199. type: integer
  25200. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  25201. in: query
  25202. name: accountIDs
  25203. type: string
  25204. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  25205. in: query
  25206. name: buyOrSell
  25207. type: integer
  25208. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  25209. in: query
  25210. name: price
  25211. type: number
  25212. - description: 档位,不传则默认为3档
  25213. in: query
  25214. name: speed
  25215. type: integer
  25216. produces:
  25217. - application/json
  25218. responses:
  25219. "200":
  25220. description: OK
  25221. schema:
  25222. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  25230. tags:
  25231. - 定制【海商报业】
  25232. /HSBY/QueryHsbyListingGoodsDetail:
  25233. get:
  25234. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  25235. parameters:
  25236. - description: 商品ID
  25237. in: query
  25238. name: goodsID
  25239. required: true
  25240. type: integer
  25241. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25242. in: query
  25243. name: accountID
  25244. type: integer
  25245. produces:
  25246. - application/json
  25247. responses:
  25248. "200":
  25249. description: OK
  25250. schema:
  25251. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 查询二级市场(挂牌点选)商品信息详情
  25259. tags:
  25260. - 定制【海商报业】
  25261. /HSBY/QueryHsbyMarketGoodsDetail:
  25262. get:
  25263. parameters:
  25264. - description: 委托单号
  25265. in: query
  25266. name: orderID
  25267. required: true
  25268. type: integer
  25269. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25270. in: query
  25271. name: accountID
  25272. type: integer
  25273. produces:
  25274. - application/json
  25275. responses:
  25276. "200":
  25277. description: OK
  25278. schema:
  25279. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25280. "500":
  25281. description: Internal Server Error
  25282. schema:
  25283. $ref: '#/definitions/app.Response'
  25284. security:
  25285. - ApiKeyAuth: []
  25286. summary: 查询三级市场(商城)商品信息详情
  25287. tags:
  25288. - 定制【海商报业】
  25289. /HSBY/QueryHsbyMarketGoodses:
  25290. get:
  25291. parameters:
  25292. - description: 页码
  25293. in: query
  25294. name: page
  25295. type: integer
  25296. - description: 每页条数
  25297. in: query
  25298. name: pagesize
  25299. type: integer
  25300. - description: 市场ID列表,格式:1,2,3
  25301. in: query
  25302. name: marketIDs
  25303. required: true
  25304. type: string
  25305. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25306. in: query
  25307. name: accountID
  25308. required: true
  25309. type: integer
  25310. - description: 类别ID
  25311. in: query
  25312. name: categoryID
  25313. type: integer
  25314. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25315. in: query
  25316. name: goodsIDs
  25317. type: string
  25318. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25319. in: query
  25320. name: couponTypeID
  25321. type: integer
  25322. produces:
  25323. - application/json
  25324. responses:
  25325. "200":
  25326. description: OK
  25327. schema:
  25328. $ref: '#/definitions/models.HsbyMarketGoods'
  25329. "500":
  25330. description: Internal Server Error
  25331. schema:
  25332. $ref: '#/definitions/app.Response'
  25333. security:
  25334. - ApiKeyAuth: []
  25335. summary: 查询特卖商品列表(三级商城)
  25336. tags:
  25337. - 定制【海商报业】
  25338. /HSBY/QueryHsbyMarkets:
  25339. get:
  25340. produces:
  25341. - application/json
  25342. responses:
  25343. "200":
  25344. description: OK
  25345. schema:
  25346. $ref: '#/definitions/models.HsbyMarketInfo'
  25347. "500":
  25348. description: Internal Server Error
  25349. schema:
  25350. $ref: '#/definitions/app.Response'
  25351. security:
  25352. - ApiKeyAuth: []
  25353. summary: 查询海商报业相关市场信息
  25354. tags:
  25355. - 定制【海商报业】
  25356. /HSBY/QueryHsbyMyBuyOrderDetails:
  25357. get:
  25358. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25359. parameters:
  25360. - description: 资金账户列表,格式:1,2,3
  25361. in: query
  25362. name: accountIDs
  25363. required: true
  25364. type: string
  25365. produces:
  25366. - application/json
  25367. responses:
  25368. "200":
  25369. description: OK
  25370. schema:
  25371. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25372. "500":
  25373. description: Internal Server Error
  25374. schema:
  25375. $ref: '#/definitions/app.Response'
  25376. security:
  25377. - ApiKeyAuth: []
  25378. summary: 查询“我的订单”信息
  25379. tags:
  25380. - 定制【海商报业】
  25381. /HSBY/QueryHsbyMyGoods:
  25382. get:
  25383. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25384. parameters:
  25385. - description: 资金账户列表,格式:1,2,3
  25386. in: query
  25387. name: accountIDs
  25388. required: true
  25389. type: string
  25390. produces:
  25391. - application/json
  25392. responses:
  25393. "200":
  25394. description: OK
  25395. schema:
  25396. $ref: '#/definitions/models.HsbyMyGoods'
  25397. "500":
  25398. description: Internal Server Error
  25399. schema:
  25400. $ref: '#/definitions/app.Response'
  25401. security:
  25402. - ApiKeyAuth: []
  25403. summary: 查询“我的商品”信息
  25404. tags:
  25405. - 定制【海商报业】
  25406. /HSBY/QueryHsbyMyPackages:
  25407. get:
  25408. parameters:
  25409. - description: 资金账户列表,格式:1,2,3
  25410. in: query
  25411. name: accountIDs
  25412. required: true
  25413. type: string
  25414. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25415. in: query
  25416. name: takeOrderStatus
  25417. type: integer
  25418. produces:
  25419. - application/json
  25420. responses:
  25421. "200":
  25422. description: OK
  25423. schema:
  25424. $ref: '#/definitions/models.HsbyMyPackage'
  25425. "500":
  25426. description: Internal Server Error
  25427. schema:
  25428. $ref: '#/definitions/app.Response'
  25429. security:
  25430. - ApiKeyAuth: []
  25431. summary: 查询我的包裹信息
  25432. tags:
  25433. - 定制【海商报业】
  25434. /HSBY/QueryHsbyPreGoodsDetail:
  25435. get:
  25436. parameters:
  25437. - description: 商品ID
  25438. in: query
  25439. name: goodsID
  25440. required: true
  25441. type: integer
  25442. - description: 资金账户,主要用于获取预售商品购买上限
  25443. in: query
  25444. name: accountID
  25445. type: integer
  25446. produces:
  25447. - application/json
  25448. responses:
  25449. "200":
  25450. description: OK
  25451. schema:
  25452. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25453. "500":
  25454. description: Internal Server Error
  25455. schema:
  25456. $ref: '#/definitions/app.Response'
  25457. security:
  25458. - ApiKeyAuth: []
  25459. summary: 查询一级市场(预售)商品信息详情
  25460. tags:
  25461. - 定制【海商报业】
  25462. /HSBY/QueryHsbyPreGoodses:
  25463. get:
  25464. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25465. parameters:
  25466. - description: 页码
  25467. in: query
  25468. name: page
  25469. type: integer
  25470. - description: 每页条数
  25471. in: query
  25472. name: pagesize
  25473. type: integer
  25474. - description: 市场ID列表,格式:1,2,3
  25475. in: query
  25476. name: marketIDs
  25477. required: true
  25478. type: string
  25479. - description: 目的地(省)ID
  25480. in: query
  25481. name: descProvinceID
  25482. type: integer
  25483. - description: 目的地(市)ID
  25484. in: query
  25485. name: descCityID
  25486. type: integer
  25487. produces:
  25488. - application/json
  25489. responses:
  25490. "200":
  25491. description: OK
  25492. schema:
  25493. $ref: '#/definitions/models.HsbyPreGoods'
  25494. "500":
  25495. description: Internal Server Error
  25496. schema:
  25497. $ref: '#/definitions/app.Response'
  25498. security:
  25499. - ApiKeyAuth: []
  25500. summary: 查询新品上市商品列表(一级市场预售)
  25501. tags:
  25502. - 定制【海商报业】
  25503. /HSBY/QueryHsbySellMyDetails:
  25504. get:
  25505. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25506. parameters:
  25507. - description: 页码
  25508. in: query
  25509. name: page
  25510. type: integer
  25511. - description: 每页条数
  25512. in: query
  25513. name: pagesize
  25514. type: integer
  25515. - description: 资金账户列表,格式:1,2,3
  25516. in: query
  25517. name: accountIDs
  25518. required: true
  25519. type: string
  25520. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25521. in: query
  25522. name: orderType
  25523. type: integer
  25524. produces:
  25525. - application/json
  25526. responses:
  25527. "200":
  25528. description: OK
  25529. schema:
  25530. $ref: '#/definitions/models.HsbySellMyDetail'
  25531. "500":
  25532. description: Internal Server Error
  25533. schema:
  25534. $ref: '#/definitions/app.Response'
  25535. security:
  25536. - ApiKeyAuth: []
  25537. summary: 查询"我的闲置"单据信息
  25538. tags:
  25539. - 定制【海商报业】
  25540. /HSBY/QueryHsbyTopGoodses:
  25541. get:
  25542. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25543. parameters:
  25544. - description: 页码
  25545. in: query
  25546. name: page
  25547. type: integer
  25548. - description: 每页条数
  25549. in: query
  25550. name: pagesize
  25551. type: integer
  25552. - description: 市场ID列表,格式:1,2,3
  25553. in: query
  25554. name: marketIDs
  25555. required: true
  25556. type: string
  25557. - description: 目的地(省)ID
  25558. in: query
  25559. name: descProvinceID
  25560. type: integer
  25561. - description: 目的地(市)ID
  25562. in: query
  25563. name: descCityID
  25564. type: integer
  25565. produces:
  25566. - application/json
  25567. responses:
  25568. "200":
  25569. description: OK
  25570. schema:
  25571. $ref: '#/definitions/models.HsbyTopGoods'
  25572. "500":
  25573. description: Internal Server Error
  25574. schema:
  25575. $ref: '#/definitions/app.Response'
  25576. security:
  25577. - ApiKeyAuth: []
  25578. summary: 查询热卖商品列表(二级市场挂牌点选)
  25579. tags:
  25580. - 定制【海商报业】
  25581. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25582. get:
  25583. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25584. parameters:
  25585. - description: 商品ID
  25586. in: query
  25587. name: goodsID
  25588. required: true
  25589. type: integer
  25590. produces:
  25591. - application/json
  25592. responses:
  25593. "200":
  25594. description: OK
  25595. schema:
  25596. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25597. "500":
  25598. description: Internal Server Error
  25599. schema:
  25600. $ref: '#/definitions/app.Response'
  25601. security:
  25602. - ApiKeyAuth: []
  25603. summary: 查询游客三级市场(商城)商品信息详情
  25604. tags:
  25605. - 定制【海商报业】
  25606. /HSBY/QueryHsbyVisitorMarketGoodses:
  25607. get:
  25608. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25609. parameters:
  25610. - description: 页码
  25611. in: query
  25612. name: page
  25613. type: integer
  25614. - description: 每页条数
  25615. in: query
  25616. name: pagesize
  25617. type: integer
  25618. - description: 市场ID列表,格式:1,2,3
  25619. in: query
  25620. name: marketIDs
  25621. required: true
  25622. type: string
  25623. - description: 类别ID
  25624. in: query
  25625. name: categoryID
  25626. type: integer
  25627. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25628. in: query
  25629. name: goodsIDs
  25630. type: string
  25631. produces:
  25632. - application/json
  25633. responses:
  25634. "200":
  25635. description: OK
  25636. schema:
  25637. $ref: '#/definitions/models.HsbyMarketGoods'
  25638. "500":
  25639. description: Internal Server Error
  25640. schema:
  25641. $ref: '#/definitions/app.Response'
  25642. security:
  25643. - ApiKeyAuth: []
  25644. summary: 查询游客特卖商品列表(三级商城)
  25645. tags:
  25646. - 定制【海商报业】
  25647. /HSBY/QueryMyCollectionOrders:
  25648. get:
  25649. parameters:
  25650. - description: 页码
  25651. in: query
  25652. name: page
  25653. type: integer
  25654. - description: 每页条数
  25655. in: query
  25656. name: pagesize
  25657. type: integer
  25658. - description: 资金账户,格式:1,2,3
  25659. in: query
  25660. name: accountIDs
  25661. required: true
  25662. type: string
  25663. produces:
  25664. - application/json
  25665. responses:
  25666. "200":
  25667. description: OK
  25668. schema:
  25669. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25670. "500":
  25671. description: Internal Server Error
  25672. schema:
  25673. $ref: '#/definitions/app.Response'
  25674. security:
  25675. - ApiKeyAuth: []
  25676. summary: 我的闲置中收款信息查询
  25677. tags:
  25678. - 定制【海商报业】
  25679. /HSBY/QueryMyCouponHolds:
  25680. get:
  25681. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25682. parameters:
  25683. - description: 资金账户列表,格式:1,2,3
  25684. in: query
  25685. name: accountIDs
  25686. required: true
  25687. type: string
  25688. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25689. in: query
  25690. name: holdStatus
  25691. type: string
  25692. produces:
  25693. - application/json
  25694. responses:
  25695. "200":
  25696. description: OK
  25697. schema:
  25698. $ref: '#/definitions/models.MyCouponHold'
  25699. "500":
  25700. description: Internal Server Error
  25701. schema:
  25702. $ref: '#/definitions/app.Response'
  25703. security:
  25704. - ApiKeyAuth: []
  25705. summary: 我的优惠卷持仓查询
  25706. tags:
  25707. - 定制【海商报业】
  25708. /HSBY/QueryMyCoupons:
  25709. get:
  25710. parameters:
  25711. - description: 资金账户列表,格式:1,2,3
  25712. in: query
  25713. name: accountIDs
  25714. required: true
  25715. type: string
  25716. - description: 商品ID, 一般与sellUserID配套传入
  25717. in: query
  25718. name: goodsID
  25719. type: integer
  25720. - description: 卖方UserID
  25721. in: query
  25722. name: sellUserID
  25723. type: integer
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. $ref: '#/definitions/models.MyCoupon'
  25731. "500":
  25732. description: Internal Server Error
  25733. schema:
  25734. $ref: '#/definitions/app.Response'
  25735. security:
  25736. - ApiKeyAuth: []
  25737. summary: 我的优惠卷查询
  25738. tags:
  25739. - 定制【海商报业】
  25740. /HSBY/QueryMyPayOrders:
  25741. get:
  25742. parameters:
  25743. - description: 页码
  25744. in: query
  25745. name: page
  25746. type: integer
  25747. - description: 每页条数
  25748. in: query
  25749. name: pagesize
  25750. type: integer
  25751. - description: 资金账户列表,格式:1,2,3
  25752. in: query
  25753. name: accountIDs
  25754. required: true
  25755. type: string
  25756. - description: 买方委托单号
  25757. in: query
  25758. name: buyOrderID
  25759. type: integer
  25760. - description: 卖方委托单号
  25761. in: query
  25762. name: sellOrderID
  25763. type: integer
  25764. produces:
  25765. - application/json
  25766. responses:
  25767. "200":
  25768. description: OK
  25769. schema:
  25770. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25771. "500":
  25772. description: Internal Server Error
  25773. schema:
  25774. $ref: '#/definitions/app.Response'
  25775. security:
  25776. - ApiKeyAuth: []
  25777. summary: 获取我的订单中待付款信息
  25778. tags:
  25779. - 定制【海商报业】
  25780. /HSBY/QueryMyUsedCoupon:
  25781. get:
  25782. parameters:
  25783. - description: 资金账户列表,格式:1,2,3
  25784. in: query
  25785. name: accountIDs
  25786. required: true
  25787. type: string
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. $ref: '#/definitions/models.MyUsedCoupon'
  25795. "500":
  25796. description: Internal Server Error
  25797. schema:
  25798. $ref: '#/definitions/app.Response'
  25799. security:
  25800. - ApiKeyAuth: []
  25801. summary: 已使用优惠卷查询
  25802. tags:
  25803. - 定制【海商报业】
  25804. /HSBY/QueryProvincesAndCities:
  25805. get:
  25806. description: 查询结果只包括二级市场商品已关连的省市信息。
  25807. parameters:
  25808. - description: 省ID
  25809. in: query
  25810. name: provinceID
  25811. type: integer
  25812. produces:
  25813. - application/json
  25814. responses:
  25815. "200":
  25816. description: OK
  25817. schema:
  25818. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25819. "500":
  25820. description: Internal Server Error
  25821. schema:
  25822. $ref: '#/definitions/app.Response'
  25823. security:
  25824. - ApiKeyAuth: []
  25825. summary: 查询省市信息(不包括区)
  25826. tags:
  25827. - 定制【海商报业】
  25828. /HSBY/SetHsbyMyPackagesStatus:
  25829. post:
  25830. parameters:
  25831. - description: 提货单号
  25832. in: query
  25833. name: takeOrderID
  25834. required: true
  25835. type: string
  25836. - description: 资金账号
  25837. in: query
  25838. name: accountID
  25839. required: true
  25840. type: integer
  25841. produces:
  25842. - application/json
  25843. responses:
  25844. "200":
  25845. description: OK
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 设置我的包裹已收货状态
  25855. tags:
  25856. - 定制【海商报业】
  25857. /Market/GetAllExExchanges:
  25858. get:
  25859. produces:
  25860. - application/json
  25861. responses:
  25862. "200":
  25863. description: OK
  25864. schema:
  25865. $ref: '#/definitions/models.Goods'
  25866. "500":
  25867. description: Internal Server Error
  25868. schema:
  25869. $ref: '#/definitions/app.Response'
  25870. security:
  25871. - ApiKeyAuth: []
  25872. summary: 获取所有外部交易所信息
  25873. tags:
  25874. - 通用市场
  25875. /Market/QueryGoodsesByLoginID:
  25876. get:
  25877. parameters:
  25878. - description: 登录账号
  25879. in: query
  25880. name: loginID
  25881. required: true
  25882. type: integer
  25883. - description: 市场ID列表,格式:1,2,3
  25884. in: query
  25885. name: marketIDs
  25886. type: string
  25887. produces:
  25888. - application/json
  25889. responses:
  25890. "200":
  25891. description: OK
  25892. schema:
  25893. $ref: '#/definitions/models.Goods'
  25894. "500":
  25895. description: Internal Server Error
  25896. schema:
  25897. $ref: '#/definitions/app.Response'
  25898. security:
  25899. - ApiKeyAuth: []
  25900. summary: 获取登录账号有权限的商品信息
  25901. tags:
  25902. - 通用市场
  25903. /Market/QueryMarketRun:
  25904. get:
  25905. parameters:
  25906. - description: 市场ID,不传返回所有
  25907. in: query
  25908. name: marketID
  25909. type: integer
  25910. produces:
  25911. - application/json
  25912. responses:
  25913. "200":
  25914. description: OK
  25915. schema:
  25916. $ref: '#/definitions/models.Marketrun'
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. security:
  25922. - ApiKeyAuth: []
  25923. summary: 查询市场运行信息
  25924. tags:
  25925. - 通用市场
  25926. /Market/QueryMarketsByLoginID:
  25927. get:
  25928. parameters:
  25929. - description: 登录账号
  25930. in: query
  25931. name: loginID
  25932. required: true
  25933. type: integer
  25934. produces:
  25935. - application/json
  25936. responses:
  25937. "200":
  25938. description: OK
  25939. schema:
  25940. $ref: '#/definitions/models.Market'
  25941. "500":
  25942. description: Internal Server Error
  25943. schema:
  25944. $ref: '#/definitions/app.Response'
  25945. security:
  25946. - ApiKeyAuth: []
  25947. summary: 获取登录账号有权限的市场信息
  25948. tags:
  25949. - 通用市场
  25950. /Order/QueryHisTradeDetail:
  25951. get:
  25952. parameters:
  25953. - description: 资金账户 - 格式:1,2,3
  25954. in: query
  25955. name: accountID
  25956. required: true
  25957. type: string
  25958. - description: 成交单号
  25959. in: query
  25960. name: tradeID
  25961. type: integer
  25962. - description: 委托单号
  25963. in: query
  25964. name: orderID
  25965. type: integer
  25966. - description: 商品ID
  25967. in: query
  25968. name: goodsID
  25969. type: integer
  25970. - description: 交易模式 - 格式:1,2,3
  25971. in: query
  25972. name: tradeMode
  25973. type: string
  25974. - description: 委托单据类型
  25975. in: query
  25976. name: buildType
  25977. type: integer
  25978. - description: 成交类别 - 格式:1,2,3
  25979. in: query
  25980. name: tradeType
  25981. type: string
  25982. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25983. in: query
  25984. name: startDate
  25985. type: string
  25986. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25987. in: query
  25988. name: endDate
  25989. type: string
  25990. produces:
  25991. - application/json
  25992. responses:
  25993. "200":
  25994. description: OK
  25995. schema:
  25996. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 历史成交单查询(合约市场)
  26004. tags:
  26005. - 通用单据
  26006. /Order/QueryHisTradeOrderDetail:
  26007. get:
  26008. parameters:
  26009. - description: 资金账户 - 格式:1,2,3
  26010. in: query
  26011. name: accountID
  26012. required: true
  26013. type: string
  26014. - description: 交易模式 - 格式:1,2,3
  26015. in: query
  26016. name: tradeMode
  26017. type: string
  26018. - description: 委托状态 - 格式:1,2,3
  26019. in: query
  26020. name: orderStatus
  26021. type: string
  26022. - description: 委托单号
  26023. in: query
  26024. name: orderID
  26025. type: integer
  26026. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26027. in: query
  26028. name: startDate
  26029. type: string
  26030. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26031. in: query
  26032. name: endDate
  26033. type: string
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  26041. "500":
  26042. description: Internal Server Error
  26043. schema:
  26044. $ref: '#/definitions/app.Response'
  26045. security:
  26046. - ApiKeyAuth: []
  26047. summary: 历史委托单查询请求(合约市场)
  26048. tags:
  26049. - 通用单据
  26050. /Order/QueryTradeDetail:
  26051. get:
  26052. parameters:
  26053. - description: 资金账户 - 格式:1,2,3
  26054. in: query
  26055. name: accountID
  26056. required: true
  26057. type: string
  26058. - description: 成交单号
  26059. in: query
  26060. name: tradeID
  26061. type: integer
  26062. - description: 委托单号
  26063. in: query
  26064. name: orderID
  26065. type: integer
  26066. - description: 交易模式 - 格式:1,2,3
  26067. in: query
  26068. name: tradeMode
  26069. type: string
  26070. - description: 委托单据类型
  26071. in: query
  26072. name: buildType
  26073. type: integer
  26074. - description: 成交类别 - 格式:1,2,3
  26075. in: query
  26076. name: tradeType
  26077. type: string
  26078. - description: 商品ID
  26079. in: query
  26080. name: goodsID
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. $ref: '#/definitions/order.QueryTradeDetailRsp'
  26089. "500":
  26090. description: Internal Server Error
  26091. schema:
  26092. $ref: '#/definitions/app.Response'
  26093. security:
  26094. - ApiKeyAuth: []
  26095. summary: 成交单查询(合约市场)
  26096. tags:
  26097. - 通用单据
  26098. /Order/QueryTradeHolderDetail:
  26099. get:
  26100. parameters:
  26101. - description: 用户id
  26102. in: query
  26103. name: userid
  26104. type: integer
  26105. - description: 资金账号, 格式 1,2,3
  26106. in: query
  26107. name: accids
  26108. type: string
  26109. - description: 交易模式, 格式 1,2,3
  26110. in: query
  26111. name: trademodes
  26112. type: string
  26113. - description: 市场id, 格式 1,2,3
  26114. in: query
  26115. name: marketids
  26116. type: string
  26117. - description: 商品id
  26118. in: query
  26119. name: goodsid
  26120. type: integer
  26121. - description: 买卖方向 0-买 1-卖
  26122. in: query
  26123. name: buyorsell
  26124. type: integer
  26125. produces:
  26126. - application/json
  26127. responses:
  26128. "200":
  26129. description: OK
  26130. schema:
  26131. items:
  26132. $ref: '#/definitions/models.TradeHolderDetail'
  26133. type: array
  26134. "500":
  26135. description: Internal Server Error
  26136. schema:
  26137. $ref: '#/definitions/app.Response'
  26138. security:
  26139. - ApiKeyAuth: []
  26140. summary: 查询持仓明细
  26141. tags:
  26142. - 通用单据
  26143. /Order/QueryTradeOrderDetail:
  26144. get:
  26145. parameters:
  26146. - description: 资金账户 - 格式:1,2,3
  26147. in: query
  26148. name: accountID
  26149. required: true
  26150. type: string
  26151. - description: 交易模式 - 格式:1,2,3
  26152. in: query
  26153. name: tradeMode
  26154. type: string
  26155. - description: 委托状态 - 格式:1,2,3
  26156. in: query
  26157. name: orderStatus
  26158. type: string
  26159. - description: 委托单号
  26160. in: query
  26161. name: orderID
  26162. type: integer
  26163. produces:
  26164. - application/json
  26165. responses:
  26166. "200":
  26167. description: OK
  26168. schema:
  26169. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  26170. "500":
  26171. description: Internal Server Error
  26172. schema:
  26173. $ref: '#/definitions/app.Response'
  26174. security:
  26175. - ApiKeyAuth: []
  26176. summary: 委托单查询请求(合约市场)
  26177. tags:
  26178. - 通用单据
  26179. /Order/QueryTradePosition:
  26180. get:
  26181. parameters:
  26182. - description: 资金账户 - 格式:1,2,3
  26183. in: query
  26184. name: accountID
  26185. required: true
  26186. type: string
  26187. - description: 交易模式 - 格式:1,2,3
  26188. in: query
  26189. name: tradeMode
  26190. type: string
  26191. produces:
  26192. - application/json
  26193. responses:
  26194. "200":
  26195. description: OK
  26196. schema:
  26197. $ref: '#/definitions/order.QueryTradePositionRsp'
  26198. "500":
  26199. description: Internal Server Error
  26200. schema:
  26201. $ref: '#/definitions/app.Response'
  26202. security:
  26203. - ApiKeyAuth: []
  26204. summary: 持仓汇总查询(合约市场)
  26205. tags:
  26206. - 通用单据
  26207. /Qhj/QueryAccountInOutApply:
  26208. get:
  26209. parameters:
  26210. - description: 用户ID
  26211. in: query
  26212. name: userid
  26213. required: true
  26214. type: integer
  26215. - description: 申请起始日期(格式yyyymmdd)
  26216. in: query
  26217. name: begindate
  26218. type: string
  26219. - description: 申请截止日期(格式yyyymmdd)
  26220. in: query
  26221. name: enddate
  26222. type: string
  26223. - description: 模糊搜索名称
  26224. in: query
  26225. name: likename
  26226. type: string
  26227. produces:
  26228. - application/json
  26229. responses:
  26230. "200":
  26231. description: OK
  26232. schema:
  26233. items:
  26234. $ref: '#/definitions/models.QhjAccountOutInApply'
  26235. type: array
  26236. "500":
  26237. description: Internal Server Error
  26238. schema:
  26239. $ref: '#/definitions/app.Response'
  26240. security:
  26241. - ApiKeyAuth: []
  26242. summary: 查询充值提现
  26243. tags:
  26244. - 大连千海金
  26245. /Qhj/QueryAreaFinanceConfig:
  26246. get:
  26247. parameters:
  26248. - description: 机构用户ID 其他做市关系,都设置为 1
  26249. in: query
  26250. name: userid
  26251. type: integer
  26252. produces:
  26253. - application/json
  26254. responses:
  26255. "200":
  26256. description: OK
  26257. schema:
  26258. items:
  26259. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26260. type: array
  26261. "500":
  26262. description: Internal Server Error
  26263. schema:
  26264. $ref: '#/definitions/app.Response'
  26265. security:
  26266. - ApiKeyAuth: []
  26267. summary: 查询企业配置表
  26268. tags:
  26269. - 大连千海金
  26270. /Qhj/QueryBankAccountSign:
  26271. get:
  26272. parameters:
  26273. - description: 用户ID
  26274. in: query
  26275. name: userid
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. items:
  26285. $ref: '#/definitions/models.QhjBankAccountSign'
  26286. type: array
  26287. "500":
  26288. description: Internal Server Error
  26289. schema:
  26290. $ref: '#/definitions/app.Response'
  26291. security:
  26292. - ApiKeyAuth: []
  26293. summary: 查询签约银行信息(提现账户管理)
  26294. tags:
  26295. - 大连千海金
  26296. /Qhj/QueryBankInfo:
  26297. get:
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. items:
  26305. $ref: '#/definitions/models.QhjBankInfo'
  26306. type: array
  26307. "500":
  26308. description: Internal Server Error
  26309. schema:
  26310. $ref: '#/definitions/app.Response'
  26311. security:
  26312. - ApiKeyAuth: []
  26313. summary: 查询开户行
  26314. tags:
  26315. - 大连千海金
  26316. /Qhj/QueryBrokerApply:
  26317. get:
  26318. parameters:
  26319. - description: 所属机构ID
  26320. in: query
  26321. name: userid
  26322. type: integer
  26323. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26324. in: query
  26325. name: filterstatus
  26326. type: string
  26327. produces:
  26328. - application/json
  26329. responses:
  26330. "200":
  26331. description: OK
  26332. schema:
  26333. items:
  26334. $ref: '#/definitions/models.QhjBrokerApply'
  26335. type: array
  26336. "500":
  26337. description: Internal Server Error
  26338. schema:
  26339. $ref: '#/definitions/app.Response'
  26340. security:
  26341. - ApiKeyAuth: []
  26342. summary: 查询经纪人申请
  26343. tags:
  26344. - 大连千海金
  26345. /Qhj/QueryBrokerApplyEx:
  26346. get:
  26347. parameters:
  26348. - description: 所属机构ID
  26349. in: query
  26350. name: userid
  26351. type: integer
  26352. produces:
  26353. - application/json
  26354. responses:
  26355. "200":
  26356. description: OK
  26357. schema:
  26358. items:
  26359. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26360. type: array
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. security:
  26366. - ApiKeyAuth: []
  26367. summary: 查询经纪人信息和申请记录
  26368. tags:
  26369. - 大连千海金
  26370. /Qhj/QueryBrokerRewardLog:
  26371. get:
  26372. parameters:
  26373. - description: 用户ID
  26374. in: query
  26375. name: userid
  26376. required: true
  26377. type: integer
  26378. - description: 开始交易日(yyyymmdd)
  26379. in: query
  26380. name: begindate
  26381. type: string
  26382. - description: 结束交易日(yyyymmdd)
  26383. in: query
  26384. name: enddate
  26385. type: string
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. items:
  26393. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26394. type: array
  26395. "500":
  26396. description: Internal Server Error
  26397. schema:
  26398. $ref: '#/definitions/app.Response'
  26399. security:
  26400. - ApiKeyAuth: []
  26401. summary: 查询奖励流水(我的奖励)
  26402. tags:
  26403. - 大连千海金
  26404. /Qhj/QueryContract:
  26405. get:
  26406. parameters:
  26407. - description: 用户ID
  26408. in: query
  26409. name: userid
  26410. type: integer
  26411. - description: scf合同id
  26412. in: query
  26413. name: scfcontractid
  26414. type: integer
  26415. produces:
  26416. - application/json
  26417. responses:
  26418. "200":
  26419. description: OK
  26420. schema:
  26421. items:
  26422. $ref: '#/definitions/models.QhjContract'
  26423. type: array
  26424. "500":
  26425. description: Internal Server Error
  26426. schema:
  26427. $ref: '#/definitions/app.Response'
  26428. security:
  26429. - ApiKeyAuth: []
  26430. summary: 查询融资明细(合同)
  26431. tags:
  26432. - 大连千海金
  26433. /Qhj/QueryContractLog:
  26434. get:
  26435. parameters:
  26436. - description: scf合同id
  26437. in: query
  26438. name: scfcontractid
  26439. required: true
  26440. type: integer
  26441. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26442. in: query
  26443. name: amounttype
  26444. type: string
  26445. produces:
  26446. - application/json
  26447. responses:
  26448. "200":
  26449. description: OK
  26450. schema:
  26451. items:
  26452. $ref: '#/definitions/models.QhjContractLog'
  26453. type: array
  26454. "500":
  26455. description: Internal Server Error
  26456. schema:
  26457. $ref: '#/definitions/app.Response'
  26458. security:
  26459. - ApiKeyAuth: []
  26460. summary: 查询融资明细流水(融资明细详情页中的流水)
  26461. tags:
  26462. - 大连千海金
  26463. /Qhj/QueryCusBankSignBank:
  26464. get:
  26465. produces:
  26466. - application/json
  26467. responses:
  26468. "200":
  26469. description: OK
  26470. schema:
  26471. items:
  26472. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26473. type: array
  26474. "500":
  26475. description: Internal Server Error
  26476. schema:
  26477. $ref: '#/definitions/app.Response'
  26478. security:
  26479. - ApiKeyAuth: []
  26480. summary: 查询托管银行
  26481. tags:
  26482. - 大连千海金
  26483. /Qhj/QueryCustomerInfo:
  26484. get:
  26485. parameters:
  26486. - description: 用户ID
  26487. in: query
  26488. name: userid
  26489. required: true
  26490. type: integer
  26491. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26492. in: query
  26493. name: querytype
  26494. required: true
  26495. type: integer
  26496. - description: 客户类型 1-个人 2-企业
  26497. in: query
  26498. name: userinfotype
  26499. type: integer
  26500. - description: 客户名称(模糊匹配)
  26501. in: query
  26502. name: customername
  26503. type: string
  26504. - description: 昵称(模糊匹配)
  26505. in: query
  26506. name: nickname
  26507. type: string
  26508. - description: 是否包含子级 1-包含
  26509. in: query
  26510. name: includesub
  26511. type: integer
  26512. produces:
  26513. - application/json
  26514. responses:
  26515. "200":
  26516. description: OK
  26517. schema:
  26518. items:
  26519. $ref: '#/definitions/models.QhjCustomer'
  26520. type: array
  26521. "500":
  26522. description: Internal Server Error
  26523. schema:
  26524. $ref: '#/definitions/app.Response'
  26525. security:
  26526. - ApiKeyAuth: []
  26527. summary: 查询客户资料
  26528. tags:
  26529. - 大连千海金
  26530. /Qhj/QueryGoodsEx:
  26531. get:
  26532. parameters:
  26533. - description: 商品id
  26534. in: query
  26535. name: goodsid
  26536. type: integer
  26537. produces:
  26538. - application/json
  26539. responses:
  26540. "200":
  26541. description: OK
  26542. schema:
  26543. items:
  26544. $ref: '#/definitions/models.Qhjgoodsex'
  26545. type: array
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. summary: 交易商品扩展表
  26553. tags:
  26554. - 大连千海金
  26555. /Qhj/QueryMyTeam:
  26556. get:
  26557. parameters:
  26558. - description: 用户ID
  26559. in: query
  26560. name: userid
  26561. required: true
  26562. type: integer
  26563. produces:
  26564. - application/json
  26565. responses:
  26566. "200":
  26567. description: OK
  26568. schema:
  26569. items:
  26570. $ref: '#/definitions/models.QhjMyTeamEx'
  26571. type: array
  26572. "500":
  26573. description: Internal Server Error
  26574. schema:
  26575. $ref: '#/definitions/app.Response'
  26576. security:
  26577. - ApiKeyAuth: []
  26578. summary: 查询我的团队
  26579. tags:
  26580. - 大连千海金
  26581. /Qhj/QueryMyTeamOrder:
  26582. get:
  26583. parameters:
  26584. - description: 页码
  26585. in: query
  26586. name: page
  26587. type: integer
  26588. - description: 每页条数
  26589. in: query
  26590. name: pagesize
  26591. type: integer
  26592. - description: 用户ID
  26593. in: query
  26594. name: userid
  26595. required: true
  26596. type: integer
  26597. - description: 交易模式
  26598. in: query
  26599. name: trademode
  26600. type: integer
  26601. - description: 名称(模糊搜索账户)
  26602. in: query
  26603. name: filtername
  26604. type: string
  26605. produces:
  26606. - application/json
  26607. responses:
  26608. "200":
  26609. description: OK
  26610. schema:
  26611. items:
  26612. $ref: '#/definitions/models.QhjTeamOrder'
  26613. type: array
  26614. "500":
  26615. description: Internal Server Error
  26616. schema:
  26617. $ref: '#/definitions/app.Response'
  26618. security:
  26619. - ApiKeyAuth: []
  26620. summary: 查询团队订单(我的团队/团队订单)
  26621. tags:
  26622. - 大连千海金
  26623. /Qhj/QueryParentAreaList:
  26624. get:
  26625. parameters:
  26626. - description: 用户ID
  26627. in: query
  26628. name: userid
  26629. required: true
  26630. type: integer
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. items:
  26638. $ref: '#/definitions/models.QhjParentAreaList'
  26639. type: array
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 查询所属机构列表
  26647. tags:
  26648. - 大连千海金
  26649. /Qhj/QueryPayOrder:
  26650. get:
  26651. parameters:
  26652. - description: 资金账号id
  26653. in: query
  26654. name: accountid
  26655. required: true
  26656. type: integer
  26657. - description: 成交单号
  26658. in: query
  26659. name: tradeid
  26660. type: integer
  26661. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26662. in: query
  26663. name: payflag
  26664. type: string
  26665. produces:
  26666. - application/json
  26667. responses:
  26668. "200":
  26669. description: OK
  26670. schema:
  26671. items:
  26672. $ref: '#/definitions/models.QhjPayOrder'
  26673. type: array
  26674. "500":
  26675. description: Internal Server Error
  26676. schema:
  26677. $ref: '#/definitions/app.Response'
  26678. security:
  26679. - ApiKeyAuth: []
  26680. summary: 查询待付款单据
  26681. tags:
  26682. - 大连千海金
  26683. /Qhj/QueryPickArea:
  26684. get:
  26685. parameters:
  26686. - description: 用户ID
  26687. in: query
  26688. name: userid
  26689. type: integer
  26690. produces:
  26691. - application/json
  26692. responses:
  26693. "200":
  26694. description: OK
  26695. schema:
  26696. items:
  26697. $ref: '#/definitions/models.QhjPickArea'
  26698. type: array
  26699. "500":
  26700. description: Internal Server Error
  26701. schema:
  26702. $ref: '#/definitions/app.Response'
  26703. security:
  26704. - ApiKeyAuth: []
  26705. summary: 查询提货门店
  26706. tags:
  26707. - 大连千海金
  26708. /Qhj/QueryPickGoods:
  26709. get:
  26710. parameters:
  26711. - description: 交易商品id
  26712. in: query
  26713. name: goodsid
  26714. required: true
  26715. type: integer
  26716. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26717. in: query
  26718. name: status
  26719. type: string
  26720. produces:
  26721. - application/json
  26722. responses:
  26723. "200":
  26724. description: OK
  26725. schema:
  26726. items:
  26727. $ref: '#/definitions/models.QhjPickGoods'
  26728. type: array
  26729. "500":
  26730. description: Internal Server Error
  26731. schema:
  26732. $ref: '#/definitions/app.Response'
  26733. security:
  26734. - ApiKeyAuth: []
  26735. summary: 查询提货商品
  26736. tags:
  26737. - 大连千海金
  26738. /Qhj/QueryRSTriggerLog:
  26739. get:
  26740. parameters:
  26741. - description: 用户ID
  26742. in: query
  26743. name: userid
  26744. type: integer
  26745. - description: 定投策略id
  26746. in: query
  26747. name: regularlystrategyid
  26748. type: integer
  26749. - description: 商品id
  26750. in: query
  26751. name: goodsid
  26752. type: integer
  26753. - description: 开始交易日(yyyymmdd)
  26754. in: query
  26755. name: begindate
  26756. type: string
  26757. - description: 结束交易日(yyyymmdd)
  26758. in: query
  26759. name: enddate
  26760. type: string
  26761. - description: 名称(模糊搜索账户)
  26762. in: query
  26763. name: filtername
  26764. type: string
  26765. produces:
  26766. - application/json
  26767. responses:
  26768. "200":
  26769. description: OK
  26770. schema:
  26771. items:
  26772. $ref: '#/definitions/models.QhjRSTriggerLog'
  26773. type: array
  26774. "500":
  26775. description: Internal Server Error
  26776. schema:
  26777. $ref: '#/definitions/app.Response'
  26778. security:
  26779. - ApiKeyAuth: []
  26780. summary: 查询定投记录(定投管理/详情/定投记录)
  26781. tags:
  26782. - 大连千海金
  26783. /Qhj/QueryRStrategy:
  26784. get:
  26785. parameters:
  26786. - description: 用户ID
  26787. in: query
  26788. name: userid
  26789. type: integer
  26790. - description: 商品id
  26791. in: query
  26792. name: goodsid
  26793. type: integer
  26794. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26795. in: query
  26796. name: status
  26797. type: string
  26798. - description: 名称(模糊搜索账户)
  26799. in: query
  26800. name: filtername
  26801. type: string
  26802. produces:
  26803. - application/json
  26804. responses:
  26805. "200":
  26806. description: OK
  26807. schema:
  26808. items:
  26809. $ref: '#/definitions/models.QhjRStrategy'
  26810. type: array
  26811. "500":
  26812. description: Internal Server Error
  26813. schema:
  26814. $ref: '#/definitions/app.Response'
  26815. security:
  26816. - ApiKeyAuth: []
  26817. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26818. tags:
  26819. - 大连千海金
  26820. /Qhj/QueryReckonPriceLog:
  26821. get:
  26822. parameters:
  26823. - description: 商品ID
  26824. in: query
  26825. name: goodsid
  26826. type: integer
  26827. - description: 交易日 格式(yyyymmdd)
  26828. in: query
  26829. name: tradedate
  26830. type: string
  26831. produces:
  26832. - application/json
  26833. responses:
  26834. "200":
  26835. description: OK
  26836. schema:
  26837. items:
  26838. $ref: '#/definitions/models.QhjReckonPriceLog'
  26839. type: array
  26840. "500":
  26841. description: Internal Server Error
  26842. schema:
  26843. $ref: '#/definitions/app.Response'
  26844. security:
  26845. - ApiKeyAuth: []
  26846. summary: 查询定投价(结算价)
  26847. tags:
  26848. - 大连千海金
  26849. /Qhj/QueryScoreLog:
  26850. get:
  26851. parameters:
  26852. - description: 用户ID
  26853. in: query
  26854. name: userid
  26855. required: true
  26856. type: integer
  26857. - description: 开始交易日(yyyymmdd)
  26858. in: query
  26859. name: begindate
  26860. type: string
  26861. - description: 结束交易日(yyyymmdd)
  26862. in: query
  26863. name: enddate
  26864. type: string
  26865. - description: 最近多少条
  26866. in: query
  26867. name: lastnum
  26868. type: integer
  26869. produces:
  26870. - application/json
  26871. responses:
  26872. "200":
  26873. description: OK
  26874. schema:
  26875. items:
  26876. $ref: '#/definitions/models.QhjScoreLog'
  26877. type: array
  26878. "500":
  26879. description: Internal Server Error
  26880. schema:
  26881. $ref: '#/definitions/app.Response'
  26882. security:
  26883. - ApiKeyAuth: []
  26884. summary: 查询积分流水(我的积分)
  26885. tags:
  26886. - 大连千海金
  26887. /Qhj/QuerySiteColumnDetail:
  26888. get:
  26889. parameters:
  26890. - description: 用户ID
  26891. in: query
  26892. name: userid
  26893. required: true
  26894. type: integer
  26895. produces:
  26896. - application/json
  26897. responses:
  26898. "200":
  26899. description: OK
  26900. schema:
  26901. items:
  26902. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26903. type: array
  26904. "500":
  26905. description: Internal Server Error
  26906. schema:
  26907. $ref: '#/definitions/app.Response'
  26908. security:
  26909. - ApiKeyAuth: []
  26910. summary: 查询资讯
  26911. tags:
  26912. - 大连千海金
  26913. /Qhj/QueryTradeGoodsPickup:
  26914. get:
  26915. parameters:
  26916. - description: 用户ID
  26917. in: query
  26918. name: userid
  26919. required: true
  26920. type: integer
  26921. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26922. 7:已拒绝 8:已撤销
  26923. in: query
  26924. name: takeorderstatus
  26925. type: integer
  26926. produces:
  26927. - application/json
  26928. responses:
  26929. "200":
  26930. description: OK
  26931. schema:
  26932. items:
  26933. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26934. type: array
  26935. "500":
  26936. description: Internal Server Error
  26937. schema:
  26938. $ref: '#/definitions/app.Response'
  26939. security:
  26940. - ApiKeyAuth: []
  26941. summary: 查询提货
  26942. tags:
  26943. - 大连千海金
  26944. /Qhj/QueryUserCollectConfig:
  26945. get:
  26946. parameters:
  26947. - description: 用户ID
  26948. in: query
  26949. name: userid
  26950. required: true
  26951. type: integer
  26952. produces:
  26953. - application/json
  26954. responses:
  26955. "200":
  26956. description: OK
  26957. schema:
  26958. items:
  26959. $ref: '#/definitions/models.UserCollectConfig'
  26960. type: array
  26961. "500":
  26962. description: Internal Server Error
  26963. schema:
  26964. $ref: '#/definitions/app.Response'
  26965. security:
  26966. - ApiKeyAuth: []
  26967. summary: 查询提现账户设置
  26968. tags:
  26969. - 大连千海金
  26970. /Qhj/QueryUserReceiveInfo:
  26971. get:
  26972. parameters:
  26973. - description: 用户ID
  26974. in: query
  26975. name: userid
  26976. required: true
  26977. type: integer
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.UserReceiveInfo'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 查询收货地址信息
  26994. tags:
  26995. - 大连千海金
  26996. /QhjMgr/QueryAccountInOutApply:
  26997. get:
  26998. parameters:
  26999. - description: 查询类型 1-提现(出金) 2-充值(出金)
  27000. in: query
  27001. name: querytype
  27002. required: true
  27003. type: integer
  27004. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  27005. in: query
  27006. name: applystatus
  27007. type: integer
  27008. - description: 申请起始日期(格式yyyymmdd)
  27009. in: query
  27010. name: begindate
  27011. type: string
  27012. - description: 申请截止日期(格式yyyymmdd)
  27013. in: query
  27014. name: enddate
  27015. type: string
  27016. - description: 模糊搜索名称
  27017. in: query
  27018. name: likename
  27019. type: string
  27020. produces:
  27021. - application/json
  27022. responses:
  27023. "200":
  27024. description: OK
  27025. schema:
  27026. items:
  27027. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  27028. type: array
  27029. "500":
  27030. description: Internal Server Error
  27031. schema:
  27032. $ref: '#/definitions/app.Response'
  27033. security:
  27034. - ApiKeyAuth: []
  27035. summary: 查询充值提现
  27036. tags:
  27037. - 大连千海金(PCWeb)
  27038. /QhjMgr/QueryBrokerApply:
  27039. get:
  27040. parameters:
  27041. - description: 所属机构ID
  27042. in: query
  27043. name: userid
  27044. type: integer
  27045. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27046. in: query
  27047. name: filterstatus
  27048. type: string
  27049. - description: 名称(模糊匹配)
  27050. in: query
  27051. name: filtername
  27052. type: string
  27053. - description: 是否包含子级 1-包含
  27054. in: query
  27055. name: includesub
  27056. type: integer
  27057. produces:
  27058. - application/json
  27059. responses:
  27060. "200":
  27061. description: OK
  27062. schema:
  27063. items:
  27064. $ref: '#/definitions/models.QhjMgrBrokerApply'
  27065. type: array
  27066. "500":
  27067. description: Internal Server Error
  27068. schema:
  27069. $ref: '#/definitions/app.Response'
  27070. security:
  27071. - ApiKeyAuth: []
  27072. summary: 查询经纪人申请
  27073. tags:
  27074. - 大连千海金(PCWeb)
  27075. /QhjMgr/QueryBrokerRewardReport:
  27076. get:
  27077. parameters:
  27078. - description: 所属机构ID
  27079. in: query
  27080. name: userid
  27081. required: true
  27082. type: integer
  27083. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27084. in: query
  27085. name: cycletype
  27086. required: true
  27087. type: integer
  27088. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  27089. in: query
  27090. name: cycletime
  27091. required: true
  27092. type: string
  27093. - description: 名称(模糊匹配)
  27094. in: query
  27095. name: filtername
  27096. type: string
  27097. - description: 是否包含子级 1-包含
  27098. in: query
  27099. name: includesub
  27100. type: integer
  27101. produces:
  27102. - application/json
  27103. responses:
  27104. "200":
  27105. description: OK
  27106. schema:
  27107. items:
  27108. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  27109. type: array
  27110. "500":
  27111. description: Internal Server Error
  27112. schema:
  27113. $ref: '#/definitions/app.Response'
  27114. security:
  27115. - ApiKeyAuth: []
  27116. summary: 查询经纪人奖励报表(废弃)
  27117. tags:
  27118. - 大连千海金(PCWeb)
  27119. /QhjMgr/QueryContract:
  27120. get:
  27121. parameters:
  27122. - description: 用户ID
  27123. in: query
  27124. name: userid
  27125. type: integer
  27126. - description: 商品id
  27127. in: query
  27128. name: goodsid
  27129. type: integer
  27130. - description: 名称(模糊搜索账户)
  27131. in: query
  27132. name: filtername
  27133. type: string
  27134. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  27135. in: query
  27136. name: risklevel
  27137. type: string
  27138. - description: 开始交易日(yyyymmdd)
  27139. in: query
  27140. name: begindate
  27141. type: string
  27142. - description: 结束交易日(yyyymmdd)
  27143. in: query
  27144. name: enddate
  27145. type: string
  27146. produces:
  27147. - application/json
  27148. responses:
  27149. "200":
  27150. description: OK
  27151. schema:
  27152. items:
  27153. $ref: '#/definitions/models.QhjMgrContract'
  27154. type: array
  27155. "500":
  27156. description: Internal Server Error
  27157. schema:
  27158. $ref: '#/definitions/app.Response'
  27159. security:
  27160. - ApiKeyAuth: []
  27161. summary: 查询融资信息(合同)
  27162. tags:
  27163. - 大连千海金(PCWeb)
  27164. /QhjMgr/QueryCustomerInfo:
  27165. get:
  27166. parameters:
  27167. - description: 用户ID
  27168. in: query
  27169. name: userid
  27170. required: true
  27171. type: integer
  27172. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27173. in: query
  27174. name: querytype
  27175. required: true
  27176. type: integer
  27177. - description: 客户类型 1-个人 2-企业
  27178. in: query
  27179. name: userinfotype
  27180. type: integer
  27181. - description: 客户名称(模糊匹配)
  27182. in: query
  27183. name: customername
  27184. type: string
  27185. - description: 昵称(模糊匹配)
  27186. in: query
  27187. name: nickname
  27188. type: string
  27189. - description: 所属客户经理(模糊匹配)
  27190. in: query
  27191. name: brokername
  27192. type: string
  27193. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  27194. 如0503 -5月3日)
  27195. in: query
  27196. name: birthday
  27197. type: string
  27198. - description: 是否包含子级 1-包含
  27199. in: query
  27200. name: includesub
  27201. type: integer
  27202. produces:
  27203. - application/json
  27204. responses:
  27205. "200":
  27206. description: OK
  27207. schema:
  27208. items:
  27209. $ref: '#/definitions/models.QhjMgrCustomer'
  27210. type: array
  27211. "500":
  27212. description: Internal Server Error
  27213. schema:
  27214. $ref: '#/definitions/app.Response'
  27215. security:
  27216. - ApiKeyAuth: []
  27217. summary: 查询客户资料
  27218. tags:
  27219. - 大连千海金(PCWeb)
  27220. /QhjMgr/QueryPickGoods:
  27221. get:
  27222. parameters:
  27223. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27224. in: query
  27225. name: status
  27226. type: string
  27227. produces:
  27228. - application/json
  27229. responses:
  27230. "200":
  27231. description: OK
  27232. schema:
  27233. items:
  27234. $ref: '#/definitions/models.QhjMgrPickGoods'
  27235. type: array
  27236. "500":
  27237. description: Internal Server Error
  27238. schema:
  27239. $ref: '#/definitions/app.Response'
  27240. security:
  27241. - ApiKeyAuth: []
  27242. summary: 查询提货商品
  27243. tags:
  27244. - 大连千海金(PCWeb)
  27245. /QhjMgr/QuerySubArea:
  27246. get:
  27247. parameters:
  27248. - description: 用户ID
  27249. in: query
  27250. name: userid
  27251. required: true
  27252. type: integer
  27253. produces:
  27254. - application/json
  27255. responses:
  27256. "200":
  27257. description: OK
  27258. schema:
  27259. items:
  27260. $ref: '#/definitions/models.QhjMgrSubArea'
  27261. type: array
  27262. "500":
  27263. description: Internal Server Error
  27264. schema:
  27265. $ref: '#/definitions/app.Response'
  27266. security:
  27267. - ApiKeyAuth: []
  27268. summary: 查询子机构列表
  27269. tags:
  27270. - 大连千海金(PCWeb)
  27271. /QhjMgr/QueryTradeDetail:
  27272. get:
  27273. parameters:
  27274. - description: 用户ID
  27275. in: query
  27276. name: userid
  27277. required: true
  27278. type: integer
  27279. - description: 用户类型 1-个人 2-企业
  27280. in: query
  27281. name: userinfotype
  27282. type: integer
  27283. - description: 交易模式
  27284. in: query
  27285. name: trademode
  27286. type: integer
  27287. - description: 商品id
  27288. in: query
  27289. name: goodsid
  27290. type: integer
  27291. - description: 名称(模糊搜索账户)
  27292. in: query
  27293. name: filtername
  27294. type: string
  27295. - description: 开始交易日(yyyymmdd)
  27296. in: query
  27297. name: begindate
  27298. type: string
  27299. - description: 结束交易日(yyyymmdd)
  27300. in: query
  27301. name: enddate
  27302. type: string
  27303. - description: 是否包含子级 1-包含
  27304. in: query
  27305. name: includesub
  27306. type: integer
  27307. produces:
  27308. - application/json
  27309. responses:
  27310. "200":
  27311. description: OK
  27312. schema:
  27313. items:
  27314. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27315. type: array
  27316. "500":
  27317. description: Internal Server Error
  27318. schema:
  27319. $ref: '#/definitions/app.Response'
  27320. security:
  27321. - ApiKeyAuth: []
  27322. summary: 查询成交明细
  27323. tags:
  27324. - 大连千海金(PCWeb)
  27325. /QhjMgr/QueryTradeOrderDetail:
  27326. get:
  27327. parameters:
  27328. - description: 用户ID
  27329. in: query
  27330. name: userid
  27331. required: true
  27332. type: integer
  27333. - description: 用户类型 1-个人 2-企业
  27334. in: query
  27335. name: userinfotype
  27336. type: integer
  27337. - description: 交易模式
  27338. in: query
  27339. name: trademode
  27340. type: integer
  27341. - description: 商品id
  27342. in: query
  27343. name: goodsid
  27344. type: integer
  27345. - description: 名称(模糊搜索账户)
  27346. in: query
  27347. name: filtername
  27348. type: string
  27349. - description: 开始交易日(yyyymmdd)
  27350. in: query
  27351. name: begindate
  27352. type: string
  27353. - description: 结束交易日(yyyymmdd)
  27354. in: query
  27355. name: enddate
  27356. type: string
  27357. - description: 是否包含子级 1-包含
  27358. in: query
  27359. name: includesub
  27360. type: integer
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. items:
  27368. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27369. type: array
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 查询委托明细
  27377. tags:
  27378. - 大连千海金(PCWeb)
  27379. /QhjMgr/QueryTradePayOrder:
  27380. get:
  27381. parameters:
  27382. - description: 用户ID
  27383. in: query
  27384. name: userid
  27385. required: true
  27386. type: integer
  27387. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27388. in: query
  27389. name: payflag
  27390. type: string
  27391. - description: 用户类型 1-个人 2-企业
  27392. in: query
  27393. name: userinfotype
  27394. type: integer
  27395. - description: 交易模式
  27396. in: query
  27397. name: trademode
  27398. type: integer
  27399. - description: 商品id
  27400. in: query
  27401. name: goodsid
  27402. type: integer
  27403. - description: 名称(模糊搜索账户)
  27404. in: query
  27405. name: filtername
  27406. type: string
  27407. - description: 开始交易日(yyyymmdd)
  27408. in: query
  27409. name: begindate
  27410. type: string
  27411. - description: 结束交易日(yyyymmdd)
  27412. in: query
  27413. name: enddate
  27414. type: string
  27415. - description: 是否包含子级 1-包含
  27416. in: query
  27417. name: includesub
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. items:
  27426. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27427. type: array
  27428. "500":
  27429. description: Internal Server Error
  27430. schema:
  27431. $ref: '#/definitions/app.Response'
  27432. security:
  27433. - ApiKeyAuth: []
  27434. summary: 查询待付款单
  27435. tags:
  27436. - 大连千海金(PCWeb)
  27437. /QhjMgr/QueryTradePosition:
  27438. get:
  27439. parameters:
  27440. - description: 用户ID
  27441. in: query
  27442. name: userid
  27443. required: true
  27444. type: integer
  27445. - description: 用户类型 1-个人 2-企业
  27446. in: query
  27447. name: userinfotype
  27448. type: integer
  27449. - description: 交易模式
  27450. in: query
  27451. name: trademode
  27452. type: integer
  27453. - description: 商品id
  27454. in: query
  27455. name: goodsid
  27456. type: integer
  27457. - description: 名称(模糊搜索账户)
  27458. in: query
  27459. name: filtername
  27460. type: string
  27461. - description: 是否包含子级 1-包含
  27462. in: query
  27463. name: includesub
  27464. type: integer
  27465. produces:
  27466. - application/json
  27467. responses:
  27468. "200":
  27469. description: OK
  27470. schema:
  27471. items:
  27472. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27473. type: array
  27474. "500":
  27475. description: Internal Server Error
  27476. schema:
  27477. $ref: '#/definitions/app.Response'
  27478. security:
  27479. - ApiKeyAuth: []
  27480. summary: 查询持仓汇总
  27481. tags:
  27482. - 大连千海金(PCWeb)
  27483. /QhjSys/QueryAgreementChangeLog:
  27484. get:
  27485. parameters:
  27486. - description: 协议ID
  27487. in: query
  27488. name: agreementid
  27489. type: integer
  27490. - description: 协议版本号
  27491. in: query
  27492. name: agreementversion
  27493. type: integer
  27494. - description: 协议类型 - 1:注册 2:登录 3:交易
  27495. in: query
  27496. name: agreementtype
  27497. type: integer
  27498. - description: 协议编号(模糊匹配)
  27499. in: query
  27500. name: agreementno
  27501. type: string
  27502. - description: 协议名称(模糊匹配)
  27503. in: query
  27504. name: agreementname
  27505. type: string
  27506. produces:
  27507. - application/json
  27508. responses:
  27509. "200":
  27510. description: OK
  27511. schema:
  27512. items:
  27513. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27514. type: array
  27515. "500":
  27516. description: Internal Server Error
  27517. schema:
  27518. $ref: '#/definitions/app.Response'
  27519. security:
  27520. - ApiKeyAuth: []
  27521. summary: 查询协议配置变更流水
  27522. tags:
  27523. - 大连千海金(协议和签约信息)
  27524. /QhjSys/QueryAgreementConfig:
  27525. get:
  27526. parameters:
  27527. - description: 协议ID
  27528. in: query
  27529. name: agreementid
  27530. type: integer
  27531. - description: 协议版本号
  27532. in: query
  27533. name: agreementversion
  27534. type: integer
  27535. - description: 协议类型 - 1:注册 2:登录 3:交易
  27536. in: query
  27537. name: agreementtype
  27538. type: integer
  27539. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27540. in: query
  27541. name: isvalid
  27542. type: integer
  27543. - description: 协议编号(模糊匹配)
  27544. in: query
  27545. name: agreementno
  27546. type: string
  27547. - description: 协议名称(模糊匹配)
  27548. in: query
  27549. name: agreementname
  27550. type: string
  27551. produces:
  27552. - application/json
  27553. responses:
  27554. "200":
  27555. description: OK
  27556. schema:
  27557. items:
  27558. $ref: '#/definitions/models.QhjAgreementConfig'
  27559. type: array
  27560. "500":
  27561. description: Internal Server Error
  27562. schema:
  27563. $ref: '#/definitions/app.Response'
  27564. security:
  27565. - ApiKeyAuth: []
  27566. summary: 查询协议配置
  27567. tags:
  27568. - 大连千海金(协议和签约信息)
  27569. /QhjSys/QueryCustomerSignStatus:
  27570. get:
  27571. parameters:
  27572. - description: 客户ID
  27573. in: query
  27574. name: userid
  27575. type: integer
  27576. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27577. in: query
  27578. name: nodetype
  27579. type: integer
  27580. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27581. in: query
  27582. name: goodsid
  27583. type: integer
  27584. - description: 创建交易日(yyyyMMdd)
  27585. in: query
  27586. name: tradedate
  27587. type: string
  27588. - description: 用户名称(模糊匹配)
  27589. in: query
  27590. name: username
  27591. type: string
  27592. produces:
  27593. - application/json
  27594. responses:
  27595. "200":
  27596. description: OK
  27597. schema:
  27598. items:
  27599. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27600. type: array
  27601. "500":
  27602. description: Internal Server Error
  27603. schema:
  27604. $ref: '#/definitions/app.Response'
  27605. security:
  27606. - ApiKeyAuth: []
  27607. summary: 查询客户协议签约状态
  27608. tags:
  27609. - 大连千海金(协议和签约信息)
  27610. /QhjSys/QueryNodeAgreementConfig:
  27611. get:
  27612. parameters:
  27613. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27614. in: query
  27615. name: configid
  27616. type: integer
  27617. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27618. in: query
  27619. name: nodetype
  27620. type: integer
  27621. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27622. in: query
  27623. name: goodsid
  27624. type: integer
  27625. - description: 协议ID
  27626. in: query
  27627. name: agreementid
  27628. type: integer
  27629. - description: 协议类型 - 1:注册 2:登录 3:交易
  27630. in: query
  27631. name: agreementtype
  27632. type: integer
  27633. - description: 协议版本号
  27634. in: query
  27635. name: agreementversion
  27636. type: integer
  27637. - description: 协议编号(模糊匹配)
  27638. in: query
  27639. name: agreementno
  27640. type: string
  27641. - description: 协议名称(模糊匹配)
  27642. in: query
  27643. name: agreementname
  27644. type: string
  27645. produces:
  27646. - application/json
  27647. responses:
  27648. "200":
  27649. description: OK
  27650. schema:
  27651. items:
  27652. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27653. type: array
  27654. "500":
  27655. description: Internal Server Error
  27656. schema:
  27657. $ref: '#/definitions/app.Response'
  27658. security:
  27659. - ApiKeyAuth: []
  27660. summary: 查询协议节点配置
  27661. tags:
  27662. - 大连千海金(协议和签约信息)
  27663. /QhjSys/QueryQhjCustomerSignLog:
  27664. get:
  27665. parameters:
  27666. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27667. in: query
  27668. name: logid
  27669. type: integer
  27670. - description: 客户ID
  27671. in: query
  27672. name: userid
  27673. type: integer
  27674. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27675. in: query
  27676. name: nodetype
  27677. type: integer
  27678. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27679. in: query
  27680. name: goodsid
  27681. type: integer
  27682. - description: 协议ID
  27683. in: query
  27684. name: agreementid
  27685. type: integer
  27686. - description: 用户名称(模糊匹配)
  27687. in: query
  27688. name: username
  27689. type: string
  27690. - description: 协议编号(模糊匹配)
  27691. in: query
  27692. name: agreementno
  27693. type: string
  27694. - description: 协议名称(模糊匹配)
  27695. in: query
  27696. name: agreementname
  27697. type: string
  27698. produces:
  27699. - application/json
  27700. responses:
  27701. "200":
  27702. description: OK
  27703. schema:
  27704. items:
  27705. $ref: '#/definitions/models.QhjCustomerSignLog'
  27706. type: array
  27707. "500":
  27708. description: Internal Server Error
  27709. schema:
  27710. $ref: '#/definitions/app.Response'
  27711. security:
  27712. - ApiKeyAuth: []
  27713. summary: 查询客户协议签约流水
  27714. tags:
  27715. - 大连千海金(协议和签约信息)
  27716. /QhjSys/QueryUserNodeCfgAndStatus:
  27717. get:
  27718. parameters:
  27719. - description: 客户ID
  27720. in: query
  27721. name: userid
  27722. type: integer
  27723. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27724. in: query
  27725. name: configid
  27726. type: integer
  27727. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27728. in: query
  27729. name: nodetype
  27730. type: string
  27731. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27732. in: query
  27733. name: goodsid
  27734. type: integer
  27735. - description: 协议ID
  27736. in: query
  27737. name: agreementid
  27738. type: integer
  27739. - description: 协议类型 - 1:注册 2:登录 3:交易
  27740. in: query
  27741. name: agreementtype
  27742. type: integer
  27743. - description: 协议版本号
  27744. in: query
  27745. name: agreementversion
  27746. type: integer
  27747. - description: 协议编号(模糊匹配)
  27748. in: query
  27749. name: agreementno
  27750. type: string
  27751. - description: 协议名称(模糊匹配)
  27752. in: query
  27753. name: agreementname
  27754. type: string
  27755. produces:
  27756. - application/json
  27757. responses:
  27758. "200":
  27759. description: OK
  27760. schema:
  27761. items:
  27762. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27763. type: array
  27764. "500":
  27765. description: Internal Server Error
  27766. schema:
  27767. $ref: '#/definitions/app.Response'
  27768. security:
  27769. - ApiKeyAuth: []
  27770. summary: 查询用户协议节点配置和状态
  27771. tags:
  27772. - 大连千海金(协议和签约信息)
  27773. /Quote/QueryHistoryDatas:
  27774. get:
  27775. parameters:
  27776. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27777. 日线 12:周线 13:月线 14:年线'
  27778. in: query
  27779. name: cycleType
  27780. required: true
  27781. type: integer
  27782. - description: 商品代码
  27783. in: query
  27784. name: goodsCode
  27785. required: true
  27786. type: string
  27787. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27788. in: query
  27789. name: startTime
  27790. type: string
  27791. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27792. in: query
  27793. name: endTime
  27794. type: string
  27795. - description: 条数
  27796. in: query
  27797. name: count
  27798. type: integer
  27799. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27800. in: query
  27801. name: isAsc
  27802. type: boolean
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. $ref: '#/definitions/quote.HistoryData'
  27810. "500":
  27811. description: Internal Server Error
  27812. schema:
  27813. $ref: '#/definitions/app.Response'
  27814. security:
  27815. - ApiKeyAuth: []
  27816. summary: 查询行情历史数据
  27817. tags:
  27818. - 行情服务
  27819. /Quote/QueryHistoryTikDatas:
  27820. get:
  27821. parameters:
  27822. - description: 商品代码
  27823. in: query
  27824. name: goodsCode
  27825. required: true
  27826. type: string
  27827. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27828. in: query
  27829. name: startTime
  27830. type: string
  27831. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27832. in: query
  27833. name: endTime
  27834. type: string
  27835. - description: 条数
  27836. in: query
  27837. name: count
  27838. type: integer
  27839. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27840. in: query
  27841. name: isAsc
  27842. type: boolean
  27843. produces:
  27844. - application/json
  27845. responses:
  27846. "200":
  27847. description: OK
  27848. schema:
  27849. $ref: '#/definitions/quote.HistoryTikData'
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. summary: 查询行情Tik数据
  27857. tags:
  27858. - 行情服务
  27859. /Quote/QueryQuoteDay:
  27860. get:
  27861. parameters:
  27862. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27863. in: query
  27864. name: goodsCodes
  27865. type: string
  27866. produces:
  27867. - application/json
  27868. responses:
  27869. "200":
  27870. description: OK
  27871. schema:
  27872. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27873. "500":
  27874. description: Internal Server Error
  27875. schema:
  27876. $ref: '#/definitions/app.Response'
  27877. security:
  27878. - ApiKeyAuth: []
  27879. summary: 获取商品盘面信息
  27880. tags:
  27881. - 行情服务
  27882. /Quote/QueryTSData:
  27883. get:
  27884. parameters:
  27885. - description: 商品代码
  27886. in: query
  27887. name: goodsCode
  27888. required: true
  27889. type: string
  27890. produces:
  27891. - application/json
  27892. responses:
  27893. "200":
  27894. description: OK
  27895. schema:
  27896. $ref: '#/definitions/quote.QueryTSDataRsp'
  27897. "500":
  27898. description: Internal Server Error
  27899. schema:
  27900. $ref: '#/definitions/app.Response'
  27901. security:
  27902. - ApiKeyAuth: []
  27903. summary: 分时图数据查询
  27904. tags:
  27905. - 行情服务
  27906. /SZDZ/QueryConvertConfig:
  27907. get:
  27908. parameters:
  27909. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27910. 6:交易转花生米(不设置)
  27911. in: query
  27912. name: convertType
  27913. type: integer
  27914. - description: 外部商品代码[JD\PD]
  27915. in: query
  27916. name: outerGoodsCode
  27917. type: string
  27918. - description: 内部商品ID列表[交易],格式:1,2,3
  27919. in: query
  27920. name: innerGoodsIDs
  27921. type: string
  27922. produces:
  27923. - application/json
  27924. responses:
  27925. "200":
  27926. description: OK
  27927. schema:
  27928. $ref: '#/definitions/models.Szdz3convertconfig'
  27929. "500":
  27930. description: Internal Server Error
  27931. schema:
  27932. $ref: '#/definitions/app.Response'
  27933. security:
  27934. - ApiKeyAuth: []
  27935. summary: 查询交易系统转换设置
  27936. tags:
  27937. - 定制【尚志大宗】
  27938. /SZDZ/QueryConvertLog:
  27939. get:
  27940. parameters:
  27941. - description: 资金账户 - 格式:1,2,3
  27942. in: query
  27943. name: accountID
  27944. required: true
  27945. type: string
  27946. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27947. in: query
  27948. name: startDate
  27949. type: string
  27950. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27951. in: query
  27952. name: endDate
  27953. type: string
  27954. produces:
  27955. - application/json
  27956. responses:
  27957. "200":
  27958. description: OK
  27959. schema:
  27960. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27961. "500":
  27962. description: Internal Server Error
  27963. schema:
  27964. $ref: '#/definitions/app.Response'
  27965. security:
  27966. - ApiKeyAuth: []
  27967. summary: 交易系统转换流水查询
  27968. tags:
  27969. - 定制【尚志大宗】
  27970. /SZDZ/QueryGoodsPickup:
  27971. get:
  27972. parameters:
  27973. - description: 资金账户 - 格式:1,2,3
  27974. in: query
  27975. name: accountID
  27976. required: true
  27977. type: string
  27978. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27979. in: query
  27980. name: takeOrderStatus
  27981. type: integer
  27982. produces:
  27983. - application/json
  27984. responses:
  27985. "200":
  27986. description: OK
  27987. schema:
  27988. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27989. "500":
  27990. description: Internal Server Error
  27991. schema:
  27992. $ref: '#/definitions/app.Response'
  27993. security:
  27994. - ApiKeyAuth: []
  27995. summary: 商品提货单查询
  27996. tags:
  27997. - 定制【尚志大宗】
  27998. /SZDZ/QueryRecieptOrder:
  27999. get:
  28000. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28001. parameters:
  28002. - description: 页码
  28003. in: query
  28004. name: page
  28005. type: integer
  28006. - description: 每页条数
  28007. in: query
  28008. name: pagesize
  28009. type: integer
  28010. - description: 商品ID
  28011. in: query
  28012. name: goodsID
  28013. required: true
  28014. type: integer
  28015. - description: 所属账户名称
  28016. in: query
  28017. name: accountName
  28018. type: string
  28019. - description: 市场ID
  28020. in: query
  28021. name: marketID
  28022. type: integer
  28023. - description: 方向 - 0:买 1:卖
  28024. in: query
  28025. name: buyorsell
  28026. required: true
  28027. type: integer
  28028. produces:
  28029. - application/json
  28030. responses:
  28031. "200":
  28032. description: OK
  28033. schema:
  28034. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  28035. "500":
  28036. description: Internal Server Error
  28037. schema:
  28038. $ref: '#/definitions/app.Response'
  28039. security:
  28040. - ApiKeyAuth: []
  28041. summary: 点选挂牌委托单据查询(摘牌大厅)
  28042. tags:
  28043. - 定制【尚志大宗】
  28044. /SZDZ/QuerySZDZTradePosition:
  28045. get:
  28046. parameters:
  28047. - description: 资金账户
  28048. in: query
  28049. name: accountID
  28050. required: true
  28051. type: integer
  28052. produces:
  28053. - application/json
  28054. responses:
  28055. "200":
  28056. description: OK
  28057. schema:
  28058. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  28059. "500":
  28060. description: Internal Server Error
  28061. schema:
  28062. $ref: '#/definitions/app.Response'
  28063. security:
  28064. - ApiKeyAuth: []
  28065. summary: 持仓汇总查询(尚志大宗)
  28066. tags:
  28067. - 定制【尚志大宗】
  28068. /SZDZ/SearchWhite:
  28069. get:
  28070. parameters:
  28071. - description: 用户ID
  28072. in: query
  28073. name: userID
  28074. required: true
  28075. type: integer
  28076. produces:
  28077. - application/json
  28078. responses:
  28079. "200":
  28080. description: OK
  28081. schema:
  28082. $ref: '#/definitions/models.Szdz3searchwhitelist'
  28083. "500":
  28084. description: Internal Server Error
  28085. schema:
  28086. $ref: '#/definitions/app.Response'
  28087. security:
  28088. - ApiKeyAuth: []
  28089. summary: 搜索白名单
  28090. tags:
  28091. - 定制【尚志大宗】
  28092. /Search/SearchGoodses:
  28093. get:
  28094. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  28095. parameters:
  28096. - description: 检索内容
  28097. in: query
  28098. name: content
  28099. required: true
  28100. type: string
  28101. - description: 交易模式,格式:1,2,3
  28102. in: query
  28103. name: tradeModes
  28104. type: string
  28105. produces:
  28106. - application/json
  28107. responses:
  28108. "200":
  28109. description: OK
  28110. schema:
  28111. $ref: '#/definitions/models.SearchGoods'
  28112. "500":
  28113. description: Internal Server Error
  28114. schema:
  28115. $ref: '#/definitions/app.Response'
  28116. summary: 检索商品信息
  28117. tags:
  28118. - 检索服务
  28119. /TaAccount/GetTaAccounts:
  28120. get:
  28121. parameters:
  28122. - description: 登录账户
  28123. in: query
  28124. name: loginID
  28125. required: true
  28126. type: integer
  28127. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  28128. in: query
  28129. name: taAccountType
  28130. type: integer
  28131. produces:
  28132. - application/json
  28133. responses:
  28134. "200":
  28135. description: OK
  28136. schema:
  28137. $ref: '#/definitions/models.Taaccount'
  28138. "500":
  28139. description: Internal Server Error
  28140. schema:
  28141. $ref: '#/definitions/app.Response'
  28142. security:
  28143. - ApiKeyAuth: []
  28144. summary: 获取资金账户信息
  28145. tags:
  28146. - 资金账户
  28147. /TaAccount/QueryAmountLog:
  28148. get:
  28149. parameters:
  28150. - description: 页码
  28151. in: query
  28152. name: page
  28153. type: integer
  28154. - description: 每页条数
  28155. in: query
  28156. name: pagesize
  28157. type: integer
  28158. - description: 资金账户 - 格式:1,2,3
  28159. in: query
  28160. name: accountID
  28161. required: true
  28162. type: string
  28163. - description: 资金操作类型 - 格式:1,2,3
  28164. in: query
  28165. name: OperateType
  28166. type: string
  28167. produces:
  28168. - application/json
  28169. responses:
  28170. "200":
  28171. description: OK
  28172. schema:
  28173. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  28174. "500":
  28175. description: Internal Server Error
  28176. schema:
  28177. $ref: '#/definitions/app.Response'
  28178. security:
  28179. - ApiKeyAuth: []
  28180. summary: 资金流水查询(当前)
  28181. tags:
  28182. - 资金账户
  28183. /TaAccount/QueryHisAmountLog:
  28184. get:
  28185. parameters:
  28186. - description: 页码
  28187. in: query
  28188. name: page
  28189. type: integer
  28190. - description: 每页条数
  28191. in: query
  28192. name: pagesize
  28193. type: integer
  28194. - description: 资金账户 - 格式:1,2,3
  28195. in: query
  28196. name: accountID
  28197. required: true
  28198. type: string
  28199. - description: 资金操作类型 - 格式:1,2,3
  28200. in: query
  28201. name: OperateType
  28202. type: string
  28203. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28204. in: query
  28205. name: startDate
  28206. type: string
  28207. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28208. in: query
  28209. name: endDate
  28210. type: string
  28211. produces:
  28212. - application/json
  28213. responses:
  28214. "200":
  28215. description: OK
  28216. schema:
  28217. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  28218. "500":
  28219. description: Internal Server Error
  28220. schema:
  28221. $ref: '#/definitions/app.Response'
  28222. security:
  28223. - ApiKeyAuth: []
  28224. summary: 资金流水查询(历史)
  28225. tags:
  28226. - 资金账户
  28227. /TaAccount/QueryRelatedTaAccount:
  28228. get:
  28229. parameters:
  28230. - description: 关联UserID
  28231. in: query
  28232. name: relateduserid
  28233. required: true
  28234. type: integer
  28235. produces:
  28236. - application/json
  28237. responses:
  28238. "200":
  28239. description: OK
  28240. schema:
  28241. items:
  28242. $ref: '#/definitions/models.RelatedTaAccount'
  28243. type: array
  28244. "500":
  28245. description: Internal Server Error
  28246. schema:
  28247. $ref: '#/definitions/app.Response'
  28248. security:
  28249. - ApiKeyAuth: []
  28250. summary: 查询关联资金账户信息
  28251. tags:
  28252. - 资金账户
  28253. /Tjmd/QueryQuoteGoodsList:
  28254. get:
  28255. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28256. parameters:
  28257. - description: 用户类型
  28258. in: query
  28259. name: usertype
  28260. required: true
  28261. type: integer
  28262. - description: 市场id, 格式 1,2,3
  28263. in: query
  28264. name: marketids
  28265. type: string
  28266. - description: 商品组id
  28267. in: query
  28268. name: goodsgroupid
  28269. type: integer
  28270. - description: 商品id
  28271. in: query
  28272. name: goodsid
  28273. type: integer
  28274. produces:
  28275. - application/json
  28276. responses:
  28277. "200":
  28278. description: OK
  28279. schema:
  28280. items:
  28281. $ref: '#/definitions/models.TjmdQuoteGoods'
  28282. type: array
  28283. "500":
  28284. description: Internal Server Error
  28285. schema:
  28286. $ref: '#/definitions/app.Response'
  28287. security:
  28288. - ApiKeyAuth: []
  28289. summary: 查询掉期报价列表
  28290. tags:
  28291. - 天津麦顿
  28292. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28293. get:
  28294. parameters:
  28295. - description: 成交单号
  28296. in: query
  28297. name: tradeid
  28298. required: true
  28299. type: string
  28300. produces:
  28301. - application/json
  28302. responses:
  28303. "200":
  28304. description: OK
  28305. schema:
  28306. items:
  28307. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28308. type: array
  28309. "500":
  28310. description: Internal Server Error
  28311. schema:
  28312. $ref: '#/definitions/app.Response'
  28313. security:
  28314. - ApiKeyAuth: []
  28315. summary: 掉期商品订单详情(交易确认书)
  28316. tags:
  28317. - 天津麦顿
  28318. /Tjmd/QueryTjmdMarketSection:
  28319. get:
  28320. produces:
  28321. - application/json
  28322. responses:
  28323. "200":
  28324. description: OK
  28325. schema:
  28326. items:
  28327. $ref: '#/definitions/models.TjmdMarketSection'
  28328. type: array
  28329. "500":
  28330. description: Internal Server Error
  28331. schema:
  28332. $ref: '#/definitions/app.Response'
  28333. security:
  28334. - ApiKeyAuth: []
  28335. summary: 查询市场板块
  28336. tags:
  28337. - 天津麦顿
  28338. /Tjmd/QueryTjmdTodayAccountMargin:
  28339. get:
  28340. parameters:
  28341. - description: 市场id
  28342. in: query
  28343. name: marketid
  28344. type: string
  28345. - description: 商品id
  28346. in: query
  28347. name: goodsid
  28348. type: string
  28349. - description: 资金账号
  28350. in: query
  28351. name: accountid
  28352. type: string
  28353. produces:
  28354. - application/json
  28355. responses:
  28356. "200":
  28357. description: OK
  28358. schema:
  28359. items:
  28360. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28361. type: array
  28362. "500":
  28363. description: Internal Server Error
  28364. schema:
  28365. $ref: '#/definitions/app.Response'
  28366. security:
  28367. - ApiKeyAuth: []
  28368. summary: 查询今日账户保证金配置
  28369. tags:
  28370. - 天津麦顿
  28371. /Tjmd/QueryTjmdTradeOrderDetail:
  28372. get:
  28373. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28374. parameters:
  28375. - description: 页码
  28376. in: query
  28377. name: page
  28378. type: integer
  28379. - description: 每页条数
  28380. in: query
  28381. name: pagesize
  28382. type: integer
  28383. - description: 用户id
  28384. in: query
  28385. name: userid
  28386. required: true
  28387. type: integer
  28388. - description: 用户类型
  28389. in: query
  28390. name: usertype
  28391. required: true
  28392. type: integer
  28393. - description: 市场id, 格式 1,2,3
  28394. in: query
  28395. name: marketids
  28396. type: string
  28397. - description: 商品id
  28398. in: query
  28399. name: goodsid
  28400. required: true
  28401. type: integer
  28402. - description: 买卖方向 0-买 1-卖
  28403. in: query
  28404. name: buyorsell
  28405. required: true
  28406. type: integer
  28407. produces:
  28408. - application/json
  28409. responses:
  28410. "200":
  28411. description: OK
  28412. schema:
  28413. items:
  28414. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28415. type: array
  28416. "500":
  28417. description: Internal Server Error
  28418. schema:
  28419. $ref: '#/definitions/app.Response'
  28420. security:
  28421. - ApiKeyAuth: []
  28422. summary: 查询掉期买卖大厅
  28423. tags:
  28424. - 天津麦顿
  28425. /Tjmd/QueryTjmdTransferApply:
  28426. get:
  28427. parameters:
  28428. - description: 类型 1-我的申请 2-对方申请
  28429. in: query
  28430. name: applytype
  28431. required: true
  28432. type: integer
  28433. - description: 市场id, 格式 1,2,3
  28434. in: query
  28435. name: marketids
  28436. type: string
  28437. - description: 资金账号, 格式 25000000001,25000000003
  28438. in: query
  28439. name: accountids
  28440. type: string
  28441. - description: 开始交易日(yyyymmdd)
  28442. in: query
  28443. name: begindate
  28444. type: string
  28445. - description: 结束交易日(yyyymmdd)
  28446. in: query
  28447. name: enddate
  28448. type: string
  28449. produces:
  28450. - application/json
  28451. responses:
  28452. "200":
  28453. description: OK
  28454. schema:
  28455. items:
  28456. $ref: '#/definitions/models.TjmdTransferApply'
  28457. type: array
  28458. "500":
  28459. description: Internal Server Error
  28460. schema:
  28461. $ref: '#/definitions/app.Response'
  28462. security:
  28463. - ApiKeyAuth: []
  28464. summary: 查询掉期协议单
  28465. tags:
  28466. - 天津麦顿
  28467. /Trade/QueryRecieptOrder:
  28468. get:
  28469. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28470. parameters:
  28471. - description: 页码
  28472. in: query
  28473. name: page
  28474. type: integer
  28475. - description: 每页条数
  28476. in: query
  28477. name: pagesize
  28478. type: integer
  28479. - description: 商品ID
  28480. in: query
  28481. name: goodsID
  28482. required: true
  28483. type: integer
  28484. - description: 所属账户名称
  28485. in: query
  28486. name: accountName
  28487. type: string
  28488. - description: 市场ID
  28489. in: query
  28490. name: marketID
  28491. type: integer
  28492. - description: 方向 - 0:买 1:卖
  28493. in: query
  28494. name: buyorsell
  28495. required: true
  28496. type: integer
  28497. produces:
  28498. - application/json
  28499. responses:
  28500. "200":
  28501. description: OK
  28502. schema:
  28503. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28504. "500":
  28505. description: Internal Server Error
  28506. schema:
  28507. $ref: '#/definitions/app.Response'
  28508. security:
  28509. - ApiKeyAuth: []
  28510. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28511. tags:
  28512. - 通用交易
  28513. /User/AddMessageBoard:
  28514. post:
  28515. parameters:
  28516. - description: 用户ID
  28517. in: query
  28518. name: userID
  28519. required: true
  28520. type: integer
  28521. - description: 留言信息
  28522. in: query
  28523. name: message
  28524. required: true
  28525. type: string
  28526. - description: 联系电话
  28527. in: query
  28528. name: contactNum
  28529. required: true
  28530. type: string
  28531. produces:
  28532. - application/json
  28533. responses:
  28534. "200":
  28535. description: OK
  28536. schema:
  28537. $ref: '#/definitions/app.Response'
  28538. "500":
  28539. description: Internal Server Error
  28540. schema:
  28541. $ref: '#/definitions/app.Response'
  28542. security:
  28543. - ApiKeyAuth: []
  28544. summary: 添加用户留言板信息
  28545. tags:
  28546. - 用户信息
  28547. /User/AddUserFavoriteGoods:
  28548. post:
  28549. parameters:
  28550. - description: 用户ID
  28551. in: query
  28552. name: userID
  28553. required: true
  28554. type: integer
  28555. - description: 商品ID
  28556. in: query
  28557. name: goodsID
  28558. required: true
  28559. type: integer
  28560. produces:
  28561. - application/json
  28562. responses:
  28563. "200":
  28564. description: OK
  28565. schema:
  28566. $ref: '#/definitions/app.Response'
  28567. "500":
  28568. description: Internal Server Error
  28569. schema:
  28570. $ref: '#/definitions/app.Response'
  28571. security:
  28572. - ApiKeyAuth: []
  28573. summary: 添加用户商品收藏信息
  28574. tags:
  28575. - 用户信息
  28576. /User/GetLoginID:
  28577. get:
  28578. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28579. parameters:
  28580. - description: 登录代码
  28581. in: query
  28582. name: username
  28583. required: true
  28584. type: string
  28585. produces:
  28586. - application/json
  28587. responses:
  28588. "200":
  28589. description: OK
  28590. schema:
  28591. $ref: '#/definitions/app.Response'
  28592. "500":
  28593. description: Internal Server Error
  28594. schema:
  28595. $ref: '#/definitions/app.Response'
  28596. summary: 获取登录ID
  28597. tags:
  28598. - 用户信息
  28599. /User/GetUserAccount:
  28600. get:
  28601. parameters:
  28602. - description: 用户ID
  28603. in: query
  28604. name: userID
  28605. required: true
  28606. type: integer
  28607. produces:
  28608. - application/json
  28609. responses:
  28610. "200":
  28611. description: OK
  28612. schema:
  28613. $ref: '#/definitions/models.Useraccount'
  28614. "500":
  28615. description: Internal Server Error
  28616. schema:
  28617. $ref: '#/definitions/app.Response'
  28618. security:
  28619. - ApiKeyAuth: []
  28620. summary: 获取用户账号信息
  28621. tags:
  28622. - 用户信息
  28623. /User/GetUserAuthStatus:
  28624. get:
  28625. parameters:
  28626. - description: 用户ID
  28627. in: query
  28628. name: userID
  28629. required: true
  28630. type: integer
  28631. produces:
  28632. - application/json
  28633. responses:
  28634. "200":
  28635. description: OK
  28636. schema:
  28637. $ref: '#/definitions/app.Response'
  28638. "500":
  28639. description: Internal Server Error
  28640. schema:
  28641. $ref: '#/definitions/app.Response'
  28642. security:
  28643. - ApiKeyAuth: []
  28644. summary: 获取用户实名认证状态
  28645. tags:
  28646. - 用户信息
  28647. /User/LoginQuery:
  28648. get:
  28649. parameters:
  28650. - description: 登录账号
  28651. in: query
  28652. name: loginID
  28653. required: true
  28654. type: integer
  28655. produces:
  28656. - application/json
  28657. responses:
  28658. "200":
  28659. description: OK
  28660. schema:
  28661. $ref: '#/definitions/user.LoginQueryRsp'
  28662. "500":
  28663. description: Internal Server Error
  28664. schema:
  28665. $ref: '#/definitions/app.Response'
  28666. security:
  28667. - ApiKeyAuth: []
  28668. summary: 账户登录后信息查询
  28669. tags:
  28670. - 用户信息
  28671. /User/QueryMessageBoard:
  28672. get:
  28673. parameters:
  28674. - description: 用户ID
  28675. in: query
  28676. name: userID
  28677. required: true
  28678. type: integer
  28679. produces:
  28680. - application/json
  28681. responses:
  28682. "200":
  28683. description: OK
  28684. schema:
  28685. $ref: '#/definitions/models.Messageboard'
  28686. "500":
  28687. description: Internal Server Error
  28688. schema:
  28689. $ref: '#/definitions/app.Response'
  28690. security:
  28691. - ApiKeyAuth: []
  28692. summary: 获取用户留言板信息
  28693. tags:
  28694. - 用户信息
  28695. /User/QueryUserFavoriteGoodses:
  28696. get:
  28697. parameters:
  28698. - description: 用户ID
  28699. in: query
  28700. name: userID
  28701. required: true
  28702. type: integer
  28703. produces:
  28704. - application/json
  28705. responses:
  28706. "200":
  28707. description: OK
  28708. schema:
  28709. $ref: '#/definitions/models.Userfavoritegoods'
  28710. "500":
  28711. description: Internal Server Error
  28712. schema:
  28713. $ref: '#/definitions/app.Response'
  28714. security:
  28715. - ApiKeyAuth: []
  28716. summary: 获取用户商品收藏信息
  28717. tags:
  28718. - 用户信息
  28719. /User/QueryUserInfo:
  28720. get:
  28721. parameters:
  28722. - description: 用户ID
  28723. in: query
  28724. name: userID
  28725. required: true
  28726. type: integer
  28727. - description: 是否解密
  28728. in: query
  28729. name: isDecrypt
  28730. type: boolean
  28731. produces:
  28732. - application/json
  28733. responses:
  28734. "200":
  28735. description: OK
  28736. schema:
  28737. $ref: '#/definitions/models.Userinfo'
  28738. "500":
  28739. description: Internal Server Error
  28740. schema:
  28741. $ref: '#/definitions/app.Response'
  28742. security:
  28743. - ApiKeyAuth: []
  28744. summary: 获取用户信息
  28745. tags:
  28746. - 用户信息
  28747. /User/QueryUserReferNum:
  28748. get:
  28749. parameters:
  28750. - description: 用户ID
  28751. in: query
  28752. name: userID
  28753. required: true
  28754. type: integer
  28755. produces:
  28756. - application/json
  28757. responses:
  28758. "200":
  28759. description: OK
  28760. schema:
  28761. $ref: '#/definitions/app.Response'
  28762. "500":
  28763. description: Internal Server Error
  28764. schema:
  28765. $ref: '#/definitions/app.Response'
  28766. summary: 获取用户邀请码
  28767. tags:
  28768. - 用户信息
  28769. /User/RemoveUserFavoriteGoods:
  28770. post:
  28771. parameters:
  28772. - description: 用户ID
  28773. in: query
  28774. name: userID
  28775. required: true
  28776. type: integer
  28777. - description: 商品ID
  28778. in: query
  28779. name: goodsID
  28780. required: true
  28781. type: integer
  28782. produces:
  28783. - application/json
  28784. responses:
  28785. "200":
  28786. description: OK
  28787. schema:
  28788. $ref: '#/definitions/app.Response'
  28789. "500":
  28790. description: Internal Server Error
  28791. schema:
  28792. $ref: '#/definitions/app.Response'
  28793. security:
  28794. - ApiKeyAuth: []
  28795. summary: 移除用户商品收藏信息
  28796. tags:
  28797. - 用户信息
  28798. /User/UpdateUserAccountStatus:
  28799. post:
  28800. parameters:
  28801. - description: 用户ID
  28802. in: query
  28803. name: userID
  28804. required: true
  28805. type: integer
  28806. - description: 账户状态 - 4:正常 6:注销(停用)
  28807. in: query
  28808. name: accountStatus
  28809. required: true
  28810. type: integer
  28811. produces:
  28812. - application/json
  28813. responses:
  28814. "200":
  28815. description: OK
  28816. schema:
  28817. $ref: '#/definitions/app.Response'
  28818. "500":
  28819. description: Internal Server Error
  28820. schema:
  28821. $ref: '#/definitions/app.Response'
  28822. security:
  28823. - ApiKeyAuth: []
  28824. summary: 更新用户状态
  28825. tags:
  28826. - 用户信息
  28827. /WRTrade/GetAllDeliveryGoods:
  28828. get:
  28829. produces:
  28830. - application/json
  28831. responses:
  28832. "200":
  28833. description: OK
  28834. schema:
  28835. $ref: '#/definitions/app.Response'
  28836. "500":
  28837. description: Internal Server Error
  28838. schema:
  28839. $ref: '#/definitions/app.Response'
  28840. security:
  28841. - ApiKeyAuth: []
  28842. summary: 获取带仓单分类的种类信息
  28843. tags:
  28844. - 仓单贸易
  28845. - 仓单贸易
  28846. /WrTrade2/InsertXhcpSellBackApply:
  28847. post:
  28848. parameters:
  28849. - description: 回收申请
  28850. in: body
  28851. name: jsonBody
  28852. required: true
  28853. schema:
  28854. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28855. produces:
  28856. - application/json
  28857. responses:
  28858. "200":
  28859. description: OK
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. "500":
  28863. description: Internal Server Error
  28864. schema:
  28865. $ref: '#/definitions/app.Response'
  28866. security:
  28867. - ApiKeyAuth: []
  28868. summary: 新增回收申请(新会陈皮)
  28869. tags:
  28870. - 仓单贸易v2
  28871. /WrTrade2/QueryDeliveryGoodsSection:
  28872. get:
  28873. produces:
  28874. - application/json
  28875. responses:
  28876. "200":
  28877. description: OK
  28878. schema:
  28879. items:
  28880. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28881. type: array
  28882. "500":
  28883. description: Internal Server Error
  28884. schema:
  28885. $ref: '#/definitions/app.Response'
  28886. security:
  28887. - ApiKeyAuth: []
  28888. summary: 查询板块(分类)
  28889. tags:
  28890. - 仓单贸易v2
  28891. /WrTrade2/QueryFaProductDetail:
  28892. get:
  28893. description: 页面 买卖大厅 -> 选择融资方案
  28894. parameters:
  28895. - description: 仓单要素id
  28896. in: query
  28897. name: wrfactortypeid
  28898. required: true
  28899. type: integer
  28900. produces:
  28901. - application/json
  28902. responses:
  28903. "200":
  28904. description: OK
  28905. schema:
  28906. items:
  28907. $ref: '#/definitions/models.WrFAProductDetail'
  28908. type: array
  28909. "500":
  28910. description: Internal Server Error
  28911. schema:
  28912. $ref: '#/definitions/app.Response'
  28913. security:
  28914. - ApiKeyAuth: []
  28915. summary: 查询融资产品列表
  28916. tags:
  28917. - 仓单贸易v2
  28918. /WrTrade2/QueryFilterItem:
  28919. get:
  28920. parameters:
  28921. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28922. in: query
  28923. name: itype
  28924. required: true
  28925. type: string
  28926. produces:
  28927. - application/json
  28928. responses:
  28929. "200":
  28930. description: OK
  28931. schema:
  28932. items:
  28933. $ref: '#/definitions/models.WrFilterItem'
  28934. type: array
  28935. "500":
  28936. description: Internal Server Error
  28937. schema:
  28938. $ref: '#/definitions/app.Response'
  28939. security:
  28940. - ApiKeyAuth: []
  28941. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28942. tags:
  28943. - 仓单贸易v2
  28944. /WrTrade2/QueryFtDeliveryGoods:
  28945. get:
  28946. produces:
  28947. - application/json
  28948. responses:
  28949. "200":
  28950. description: OK
  28951. schema:
  28952. items:
  28953. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28954. type: array
  28955. "500":
  28956. description: Internal Server Error
  28957. schema:
  28958. $ref: '#/definitions/app.Response'
  28959. security:
  28960. - ApiKeyAuth: []
  28961. summary: 查询品种品类筛选框列表
  28962. tags:
  28963. - 仓单贸易v2
  28964. /WrTrade2/QueryHoldLB:
  28965. get:
  28966. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28967. parameters:
  28968. - description: 资金账号
  28969. in: query
  28970. name: accountid
  28971. required: true
  28972. type: integer
  28973. - description: 仓库id
  28974. in: query
  28975. name: warehouseid
  28976. type: integer
  28977. - description: 品种id
  28978. in: query
  28979. name: deliverygoodsid
  28980. type: integer
  28981. - description: 品类id
  28982. in: query
  28983. name: wrstandardid
  28984. type: integer
  28985. - description: 仓单要素id
  28986. in: query
  28987. name: wrfactortypeid
  28988. type: integer
  28989. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28990. in: query
  28991. name: dgitemname
  28992. type: string
  28993. produces:
  28994. - application/json
  28995. responses:
  28996. "200":
  28997. description: OK
  28998. schema:
  28999. items:
  29000. $ref: '#/definitions/models.WrHoldLB'
  29001. type: array
  29002. "500":
  29003. description: Internal Server Error
  29004. schema:
  29005. $ref: '#/definitions/app.Response'
  29006. security:
  29007. - ApiKeyAuth: []
  29008. summary: 查询仓单持有记录
  29009. tags:
  29010. - 仓单贸易v2
  29011. /WrTrade2/QueryOrderQuote:
  29012. get:
  29013. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  29014. 唯一确定1条记录
  29015. parameters:
  29016. - description: 页码
  29017. in: query
  29018. name: page
  29019. type: integer
  29020. - description: 每页条数
  29021. in: query
  29022. name: pagesize
  29023. type: integer
  29024. - description: 仓单贸易市场id
  29025. in: query
  29026. name: marketid
  29027. type: integer
  29028. - description: 价格方式 - 1:固定价 2-浮动价
  29029. in: query
  29030. name: wrpricetype
  29031. required: true
  29032. type: integer
  29033. - description: 0:仓单预售 1:仓单贸易
  29034. in: query
  29035. name: haswr
  29036. type: integer
  29037. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29038. in: query
  29039. name: dgitemname
  29040. type: string
  29041. - description: 仓库id(筛选条件)
  29042. in: query
  29043. name: warehouseid
  29044. type: integer
  29045. - description: 品种id
  29046. in: query
  29047. name: deliverygoodsid
  29048. type: integer
  29049. - description: 品类id
  29050. in: query
  29051. name: wrstandardid
  29052. type: integer
  29053. - description: 品牌id(dgfactoryitemid)
  29054. in: query
  29055. name: brandid
  29056. type: integer
  29057. - description: 年份id(dgfactoryitemid)
  29058. in: query
  29059. name: yearsid
  29060. type: integer
  29061. - description: 仓单要素id
  29062. in: query
  29063. name: wrfactortypeid
  29064. type: integer
  29065. - description: 交收月(yyyy-mm) 仓单预售填写
  29066. in: query
  29067. name: deliverymonth
  29068. type: string
  29069. produces:
  29070. - application/json
  29071. responses:
  29072. "200":
  29073. description: OK
  29074. schema:
  29075. items:
  29076. $ref: '#/definitions/models.WrOrderQuote'
  29077. type: array
  29078. "500":
  29079. description: Internal Server Error
  29080. schema:
  29081. $ref: '#/definitions/app.Response'
  29082. security:
  29083. - ApiKeyAuth: []
  29084. summary: 查询大厅行情列表
  29085. tags:
  29086. - 仓单贸易v2
  29087. /WrTrade2/QueryOrderQuoteDetail:
  29088. get:
  29089. parameters:
  29090. - description: 页码
  29091. in: query
  29092. name: page
  29093. type: integer
  29094. - description: 每页条数
  29095. in: query
  29096. name: pagesize
  29097. type: integer
  29098. - description: 仓单贸易市场id
  29099. in: query
  29100. name: marketid
  29101. type: integer
  29102. - description: 价格方式 - 1:固定价 2-浮动价
  29103. in: query
  29104. name: wrpricetype
  29105. required: true
  29106. type: integer
  29107. - description: 0:仓单预售 1:仓单贸易
  29108. in: query
  29109. name: haswr
  29110. type: integer
  29111. - description: 仓单要素id
  29112. in: query
  29113. name: wrfactortypeid
  29114. required: true
  29115. type: integer
  29116. - description: 期货商品id(浮动价方式时填)
  29117. in: query
  29118. name: goodsid
  29119. type: integer
  29120. - description: 买卖方向 0-买 1-卖
  29121. in: query
  29122. name: buyorsell
  29123. required: true
  29124. type: integer
  29125. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  29126. in: query
  29127. name: deliverymonth
  29128. type: string
  29129. produces:
  29130. - application/json
  29131. responses:
  29132. "200":
  29133. description: OK
  29134. schema:
  29135. items:
  29136. $ref: '#/definitions/models.WrOrderQuoteDetail'
  29137. type: array
  29138. "500":
  29139. description: Internal Server Error
  29140. schema:
  29141. $ref: '#/definitions/app.Response'
  29142. security:
  29143. - ApiKeyAuth: []
  29144. summary: 查询买卖大厅
  29145. tags:
  29146. - 仓单贸易v2
  29147. /WrTrade2/QueryOrderQuoteMyq:
  29148. get:
  29149. parameters:
  29150. - description: 页码
  29151. in: query
  29152. name: page
  29153. type: integer
  29154. - description: 每页条数
  29155. in: query
  29156. name: pagesize
  29157. type: integer
  29158. - description: 用户id
  29159. in: query
  29160. name: userid
  29161. required: true
  29162. type: integer
  29163. - description: 仓单贸易市场id
  29164. in: query
  29165. name: marketid
  29166. type: integer
  29167. - description: 0:仓单预售 1:仓单贸易
  29168. in: query
  29169. name: haswr
  29170. type: integer
  29171. - description: 买卖方向 0-买 1-卖
  29172. in: query
  29173. name: buyorsell
  29174. required: true
  29175. type: integer
  29176. - description: 品种id
  29177. in: query
  29178. name: deliverygoodsid
  29179. type: integer
  29180. - description: 品类id
  29181. in: query
  29182. name: wrstandardid
  29183. type: integer
  29184. - description: 交收月(yyyy-mm) 仓单预售填写
  29185. in: query
  29186. name: deliverymonth
  29187. type: string
  29188. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29189. in: query
  29190. name: dgitemname
  29191. type: string
  29192. produces:
  29193. - application/json
  29194. responses:
  29195. "200":
  29196. description: OK
  29197. schema:
  29198. items:
  29199. $ref: '#/definitions/models.WrQuoteOrderMyq'
  29200. type: array
  29201. "500":
  29202. description: Internal Server Error
  29203. schema:
  29204. $ref: '#/definitions/app.Response'
  29205. security:
  29206. - ApiKeyAuth: []
  29207. summary: 查询贸易圈挂牌大厅
  29208. tags:
  29209. - 仓单贸易v2
  29210. /WrTrade2/QueryPerformancePlan:
  29211. get:
  29212. parameters:
  29213. - description: 用户id
  29214. in: query
  29215. name: userid
  29216. required: true
  29217. type: integer
  29218. - description: 买卖方向 0-买 1-卖
  29219. in: query
  29220. name: buyorsell
  29221. required: true
  29222. type: integer
  29223. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  29224. 8:释放冻结失败 9:超时待处理 10:超时关闭
  29225. in: query
  29226. name: status
  29227. type: string
  29228. - description: 开始交易日(yyyymmdd)
  29229. in: query
  29230. name: begindate
  29231. type: string
  29232. - description: 结束交易日(yyyymmdd)
  29233. in: query
  29234. name: enddate
  29235. type: string
  29236. produces:
  29237. - application/json
  29238. responses:
  29239. "200":
  29240. description: OK
  29241. schema:
  29242. items:
  29243. $ref: '#/definitions/models.WrPerformancePlan'
  29244. type: array
  29245. "500":
  29246. description: Internal Server Error
  29247. schema:
  29248. $ref: '#/definitions/app.Response'
  29249. security:
  29250. - ApiKeyAuth: []
  29251. summary: 查询履约信息
  29252. tags:
  29253. - 仓单贸易v2
  29254. /WrTrade2/QueryPermancePlanTmp:
  29255. get:
  29256. description: |-
  29257. 返回指定用户的模板和公共模板(用户id为空)
  29258. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29259. parameters:
  29260. - description: 用户id
  29261. in: query
  29262. name: userid
  29263. type: integer
  29264. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29265. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29266. in: query
  29267. name: tmptype
  29268. type: string
  29269. - description: 是否包含公共模板(用户id为空的) 1-包含
  29270. in: query
  29271. name: includepub
  29272. type: integer
  29273. - description: 市场id(天津麦顿指定此参数,其它不用)
  29274. in: query
  29275. name: marketid
  29276. type: integer
  29277. produces:
  29278. - application/json
  29279. responses:
  29280. "200":
  29281. description: OK
  29282. schema:
  29283. items:
  29284. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29285. type: array
  29286. "500":
  29287. description: Internal Server Error
  29288. schema:
  29289. $ref: '#/definitions/app.Response'
  29290. security:
  29291. - ApiKeyAuth: []
  29292. summary: 查询履约模板
  29293. tags:
  29294. - 仓单贸易v2
  29295. /WrTrade2/QuerySiteColumnDetail:
  29296. get:
  29297. parameters:
  29298. - description: 页码
  29299. in: query
  29300. name: page
  29301. type: integer
  29302. - description: 每页条数
  29303. in: query
  29304. name: pagesize
  29305. type: integer
  29306. - description: 所属栏目id
  29307. in: query
  29308. name: columnid
  29309. type: integer
  29310. produces:
  29311. - application/json
  29312. responses:
  29313. "200":
  29314. description: OK
  29315. schema:
  29316. items:
  29317. $ref: '#/definitions/models.WrSiteColumnDetail'
  29318. type: array
  29319. "500":
  29320. description: Internal Server Error
  29321. schema:
  29322. $ref: '#/definitions/app.Response'
  29323. security:
  29324. - ApiKeyAuth: []
  29325. summary: 查询资讯
  29326. tags:
  29327. - 仓单贸易v2
  29328. /WrTrade2/QuerySpotGroupTradeSum:
  29329. get:
  29330. produces:
  29331. - application/json
  29332. responses:
  29333. "200":
  29334. description: OK
  29335. schema:
  29336. items:
  29337. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29338. type: array
  29339. "500":
  29340. description: Internal Server Error
  29341. schema:
  29342. $ref: '#/definitions/app.Response'
  29343. security:
  29344. - ApiKeyAuth: []
  29345. summary: 查询指数
  29346. tags:
  29347. - 仓单贸易v2
  29348. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29349. get:
  29350. description: 查询的结果将会按日期 从小到大 排序
  29351. parameters:
  29352. - description: 现货商品id
  29353. in: query
  29354. name: deliverygoodsid
  29355. required: true
  29356. type: integer
  29357. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29358. in: query
  29359. name: lastnum
  29360. type: integer
  29361. produces:
  29362. - application/json
  29363. responses:
  29364. "200":
  29365. description: OK
  29366. schema:
  29367. items:
  29368. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29369. type: array
  29370. "500":
  29371. description: Internal Server Error
  29372. schema:
  29373. $ref: '#/definitions/app.Response'
  29374. security:
  29375. - ApiKeyAuth: []
  29376. summary: 查询指数详细(价格走势图)
  29377. tags:
  29378. - 仓单贸易v2
  29379. /WrTrade2/QueryWrAverageTradePrice:
  29380. get:
  29381. parameters:
  29382. - description: 页码
  29383. in: query
  29384. name: page
  29385. type: integer
  29386. - description: 每页条数
  29387. in: query
  29388. name: pagesize
  29389. type: integer
  29390. - description: 0:仓单预售 1:仓单贸易
  29391. in: query
  29392. name: haswr
  29393. required: true
  29394. type: integer
  29395. - description: 仓单要素id
  29396. in: query
  29397. name: wrfactortypeid
  29398. required: true
  29399. type: integer
  29400. produces:
  29401. - application/json
  29402. responses:
  29403. "200":
  29404. description: OK
  29405. schema:
  29406. items:
  29407. $ref: '#/definitions/models.WrAverageTradePrice'
  29408. type: array
  29409. "500":
  29410. description: Internal Server Error
  29411. schema:
  29412. $ref: '#/definitions/app.Response'
  29413. security:
  29414. - ApiKeyAuth: []
  29415. summary: 查询成交价(历史走势)
  29416. tags:
  29417. - 仓单贸易v2
  29418. /WrTrade2/QueryWrBrandAndYears:
  29419. get:
  29420. produces:
  29421. - application/json
  29422. responses:
  29423. "200":
  29424. description: OK
  29425. schema:
  29426. items:
  29427. $ref: '#/definitions/models.WrBrandAndYears'
  29428. type: array
  29429. "500":
  29430. description: Internal Server Error
  29431. schema:
  29432. $ref: '#/definitions/app.Response'
  29433. security:
  29434. - ApiKeyAuth: []
  29435. summary: 查询品牌和年份
  29436. tags:
  29437. - 仓单贸易v2
  29438. /WrTrade2/QueryWrBsGoodsInfo:
  29439. get:
  29440. description: 合约交易/买卖大厅/详情
  29441. parameters:
  29442. - description: 商品id
  29443. in: query
  29444. name: goodsid
  29445. required: true
  29446. type: integer
  29447. produces:
  29448. - application/json
  29449. responses:
  29450. "200":
  29451. description: OK
  29452. schema:
  29453. items:
  29454. $ref: '#/definitions/models.WrBsGoodsInfo'
  29455. type: array
  29456. "500":
  29457. description: Internal Server Error
  29458. schema:
  29459. $ref: '#/definitions/app.Response'
  29460. security:
  29461. - ApiKeyAuth: []
  29462. summary: 查询合约交易买卖大厅详情
  29463. tags:
  29464. - 仓单贸易v2
  29465. /WrTrade2/QueryWrBuybackDetail:
  29466. get:
  29467. parameters:
  29468. - description: 融资合同id
  29469. in: query
  29470. name: scfcontractid
  29471. type: integer
  29472. produces:
  29473. - application/json
  29474. responses:
  29475. "200":
  29476. description: OK
  29477. schema:
  29478. items:
  29479. $ref: '#/definitions/models.WrBuybackDetail'
  29480. type: array
  29481. "500":
  29482. description: Internal Server Error
  29483. schema:
  29484. $ref: '#/definitions/app.Response'
  29485. security:
  29486. - ApiKeyAuth: []
  29487. summary: 查询仓单回购明细
  29488. tags:
  29489. - 仓单贸易v2
  29490. /WrTrade2/QueryWrClientAdSpaceConfig:
  29491. get:
  29492. produces:
  29493. - application/json
  29494. responses:
  29495. "200":
  29496. description: OK
  29497. schema:
  29498. items:
  29499. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29500. type: array
  29501. "500":
  29502. description: Internal Server Error
  29503. schema:
  29504. $ref: '#/definitions/app.Response'
  29505. security:
  29506. - ApiKeyAuth: []
  29507. summary: 查询固定广告配置
  29508. tags:
  29509. - 仓单贸易v2
  29510. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29511. get:
  29512. parameters:
  29513. - description: 资金账号
  29514. in: query
  29515. name: accountid
  29516. required: true
  29517. type: integer
  29518. - description: 商品id
  29519. in: query
  29520. name: goodsid
  29521. required: true
  29522. type: integer
  29523. produces:
  29524. - application/json
  29525. responses:
  29526. "200":
  29527. description: OK
  29528. schema:
  29529. items:
  29530. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29531. type: array
  29532. "500":
  29533. description: Internal Server Error
  29534. schema:
  29535. $ref: '#/definitions/app.Response'
  29536. security:
  29537. - ApiKeyAuth: []
  29538. summary: 查询合约交收可点选仓单
  29539. tags:
  29540. - 仓单贸易v2
  29541. /WrTrade2/QueryWrDeliveryDetail:
  29542. get:
  29543. parameters:
  29544. - description: 用户id
  29545. in: query
  29546. name: userid
  29547. required: true
  29548. type: integer
  29549. - description: 资金账号id
  29550. in: query
  29551. name: accountid
  29552. type: integer
  29553. - description: 开始交易日(yyyymmdd)
  29554. in: query
  29555. name: begindate
  29556. type: string
  29557. - description: 结束交易日(yyyymmdd)
  29558. in: query
  29559. name: enddate
  29560. type: string
  29561. produces:
  29562. - application/json
  29563. responses:
  29564. "200":
  29565. description: OK
  29566. schema:
  29567. items:
  29568. $ref: '#/definitions/models.WrDeliveryDetail'
  29569. type: array
  29570. "500":
  29571. description: Internal Server Error
  29572. schema:
  29573. $ref: '#/definitions/app.Response'
  29574. security:
  29575. - ApiKeyAuth: []
  29576. summary: 查询交收
  29577. tags:
  29578. - 仓单贸易v2
  29579. /WrTrade2/QueryWrDraftUserInfo:
  29580. get:
  29581. parameters:
  29582. - description: 用户ID
  29583. in: query
  29584. name: userid
  29585. required: true
  29586. type: integer
  29587. - description: 用户状态 1:正常 2:注销
  29588. in: query
  29589. name: userstatus
  29590. type: integer
  29591. produces:
  29592. - application/json
  29593. responses:
  29594. "200":
  29595. description: OK
  29596. schema:
  29597. items:
  29598. $ref: '#/definitions/models.WrDraftUserInfo'
  29599. type: array
  29600. "500":
  29601. description: Internal Server Error
  29602. schema:
  29603. $ref: '#/definitions/app.Response'
  29604. security:
  29605. - ApiKeyAuth: []
  29606. summary: 查询实名认证信息
  29607. tags:
  29608. - 仓单贸易v2
  29609. /WrTrade2/QueryWrFactorTypeInfo:
  29610. get:
  29611. parameters:
  29612. - description: 仓单要素id
  29613. in: query
  29614. name: wrfactortypeid
  29615. required: true
  29616. type: integer
  29617. produces:
  29618. - application/json
  29619. responses:
  29620. "200":
  29621. description: OK
  29622. schema:
  29623. items:
  29624. $ref: '#/definitions/models.WrFactorTypeInfo'
  29625. type: array
  29626. "500":
  29627. description: Internal Server Error
  29628. schema:
  29629. $ref: '#/definitions/app.Response'
  29630. security:
  29631. - ApiKeyAuth: []
  29632. summary: 查询仓单要素详细信息
  29633. tags:
  29634. - 仓单贸易v2
  29635. /WrTrade2/QueryWrFactorTypeInfoEx:
  29636. get:
  29637. parameters:
  29638. - description: 仓单要素id
  29639. in: query
  29640. name: wrfactortypeid
  29641. required: true
  29642. type: integer
  29643. produces:
  29644. - application/json
  29645. responses:
  29646. "200":
  29647. description: OK
  29648. schema:
  29649. items:
  29650. $ref: '#/definitions/models.WrTypeItem'
  29651. type: array
  29652. "500":
  29653. description: Internal Server Error
  29654. schema:
  29655. $ref: '#/definitions/app.Response'
  29656. security:
  29657. - ApiKeyAuth: []
  29658. summary: 查询仓单要素详细信息列表项
  29659. tags:
  29660. - 仓单贸易v2
  29661. /WrTrade2/QueryWrFinanceBuyApply:
  29662. get:
  29663. description: 页面 融资信息+ / 申请单
  29664. parameters:
  29665. - description: 用户id
  29666. in: query
  29667. name: userid
  29668. required: true
  29669. type: integer
  29670. produces:
  29671. - application/json
  29672. responses:
  29673. "200":
  29674. description: OK
  29675. schema:
  29676. items:
  29677. $ref: '#/definitions/models.WrFinanceBuyApply'
  29678. type: array
  29679. "500":
  29680. description: Internal Server Error
  29681. schema:
  29682. $ref: '#/definitions/app.Response'
  29683. security:
  29684. - ApiKeyAuth: []
  29685. summary: 查询融资购买申请
  29686. tags:
  29687. - 仓单贸易v2
  29688. /WrTrade2/QueryWrFriendApply:
  29689. get:
  29690. parameters:
  29691. - description: 用户id
  29692. in: query
  29693. name: userid
  29694. required: true
  29695. type: integer
  29696. produces:
  29697. - application/json
  29698. responses:
  29699. "200":
  29700. description: OK
  29701. schema:
  29702. items:
  29703. $ref: '#/definitions/models.WrFriendApply'
  29704. type: array
  29705. "500":
  29706. description: Internal Server Error
  29707. schema:
  29708. $ref: '#/definitions/app.Response'
  29709. security:
  29710. - ApiKeyAuth: []
  29711. summary: 查询好友申请记录
  29712. tags:
  29713. - 仓单贸易v2
  29714. /WrTrade2/QueryWrGoodsInfo:
  29715. get:
  29716. parameters:
  29717. - description: 仓单贸易市场id
  29718. in: query
  29719. name: marketid
  29720. type: integer
  29721. - description: 0:仓单预售 1:仓单贸易
  29722. in: query
  29723. name: haswr
  29724. required: true
  29725. type: integer
  29726. - description: 仓单要素id
  29727. in: query
  29728. name: wrfactortypeid
  29729. required: true
  29730. type: integer
  29731. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29732. in: query
  29733. name: tmplateid
  29734. type: integer
  29735. produces:
  29736. - application/json
  29737. responses:
  29738. "200":
  29739. description: OK
  29740. schema:
  29741. items:
  29742. $ref: '#/definitions/models.WrGoodsInfo'
  29743. type: array
  29744. "500":
  29745. description: Internal Server Error
  29746. schema:
  29747. $ref: '#/definitions/app.Response'
  29748. security:
  29749. - ApiKeyAuth: []
  29750. summary: 查询仓单商品信息
  29751. tags:
  29752. - 仓单贸易v2
  29753. /WrTrade2/QueryWrMarketTradeConfig:
  29754. get:
  29755. parameters:
  29756. - description: 市场id
  29757. in: query
  29758. name: marketid
  29759. type: integer
  29760. produces:
  29761. - application/json
  29762. responses:
  29763. "200":
  29764. description: OK
  29765. schema:
  29766. items:
  29767. $ref: '#/definitions/models.WrMarketTradeConfig'
  29768. type: array
  29769. "500":
  29770. description: Internal Server Error
  29771. schema:
  29772. $ref: '#/definitions/app.Response'
  29773. security:
  29774. - ApiKeyAuth: []
  29775. summary: 查询市场交易参数配置
  29776. tags:
  29777. - 仓单贸易v2
  29778. /WrTrade2/QueryWrOrderDetail:
  29779. get:
  29780. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29781. parameters:
  29782. - description: 页码
  29783. in: query
  29784. name: page
  29785. type: integer
  29786. - description: 每页条数
  29787. in: query
  29788. name: pagesize
  29789. type: integer
  29790. - description: 用户id
  29791. in: query
  29792. name: userid
  29793. required: true
  29794. type: integer
  29795. - description: 仓单贸易市场id
  29796. in: query
  29797. name: marketid
  29798. type: integer
  29799. - description: 0:仓单预售 1:仓单贸易
  29800. in: query
  29801. name: haswr
  29802. required: true
  29803. type: integer
  29804. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29805. in: query
  29806. name: bcancel
  29807. type: integer
  29808. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29809. in: query
  29810. name: wrtradetype
  29811. type: integer
  29812. - description: 开始交易日(yyyymmdd)
  29813. in: query
  29814. name: begindate
  29815. type: string
  29816. - description: 结束交易日(yyyymmdd)
  29817. in: query
  29818. name: enddate
  29819. type: string
  29820. produces:
  29821. - application/json
  29822. responses:
  29823. "200":
  29824. description: OK
  29825. schema:
  29826. items:
  29827. $ref: '#/definitions/models.WrOrderDetail'
  29828. type: array
  29829. "500":
  29830. description: Internal Server Error
  29831. schema:
  29832. $ref: '#/definitions/app.Response'
  29833. security:
  29834. - ApiKeyAuth: []
  29835. summary: 查询仓单委托单
  29836. tags:
  29837. - 仓单贸易v2
  29838. /WrTrade2/QueryWrOutInApply:
  29839. get:
  29840. parameters:
  29841. - description: 用户id
  29842. in: query
  29843. name: userid
  29844. required: true
  29845. type: integer
  29846. - description: 开始交易日(yyyymmdd)
  29847. in: query
  29848. name: begindate
  29849. type: string
  29850. - description: 结束交易日(yyyymmdd)
  29851. in: query
  29852. name: enddate
  29853. type: string
  29854. produces:
  29855. - application/json
  29856. responses:
  29857. "200":
  29858. description: OK
  29859. schema:
  29860. items:
  29861. $ref: '#/definitions/models.WrOutInApply'
  29862. type: array
  29863. "500":
  29864. description: Internal Server Error
  29865. schema:
  29866. $ref: '#/definitions/app.Response'
  29867. security:
  29868. - ApiKeyAuth: []
  29869. summary: 查询提货申请
  29870. tags:
  29871. - 仓单贸易v2
  29872. /WrTrade2/QueryWrPerformancePlanStep:
  29873. get:
  29874. parameters:
  29875. - description: 履约计划id(performanceplanid)
  29876. in: query
  29877. name: planid
  29878. required: true
  29879. type: integer
  29880. - description: 当前步骤id
  29881. in: query
  29882. name: curstepid
  29883. type: integer
  29884. produces:
  29885. - application/json
  29886. responses:
  29887. "200":
  29888. description: OK
  29889. schema:
  29890. items:
  29891. $ref: '#/definitions/models.WrPerformancePlanStep'
  29892. type: array
  29893. "500":
  29894. description: Internal Server Error
  29895. schema:
  29896. $ref: '#/definitions/app.Response'
  29897. security:
  29898. - ApiKeyAuth: []
  29899. summary: 查询履约信息详情
  29900. tags:
  29901. - 仓单贸易v2
  29902. /WrTrade2/QueryWrPerformanceStepType:
  29903. get:
  29904. produces:
  29905. - application/json
  29906. responses:
  29907. "200":
  29908. description: OK
  29909. schema:
  29910. items:
  29911. $ref: '#/definitions/models.WrPerformanceStepType'
  29912. type: array
  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/QueryWrPosition:
  29923. get:
  29924. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29925. parameters:
  29926. - description: 用户id
  29927. in: query
  29928. name: userid
  29929. required: true
  29930. type: integer
  29931. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29932. in: query
  29933. name: querytype
  29934. required: true
  29935. type: integer
  29936. - description: 0:仓单预售 1:仓单贸易
  29937. in: query
  29938. name: haswr
  29939. required: true
  29940. type: integer
  29941. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29942. in: query
  29943. name: dgitemname
  29944. type: string
  29945. - description: 仓库id(筛选条件)
  29946. in: query
  29947. name: warehouseid
  29948. type: integer
  29949. - description: 品种id
  29950. in: query
  29951. name: deliverygoodsid
  29952. type: integer
  29953. - description: 品类id
  29954. in: query
  29955. name: wrstandardid
  29956. type: integer
  29957. produces:
  29958. - application/json
  29959. responses:
  29960. "200":
  29961. description: OK
  29962. schema:
  29963. items:
  29964. $ref: '#/definitions/models.WrPosition'
  29965. type: array
  29966. "500":
  29967. description: Internal Server Error
  29968. schema:
  29969. $ref: '#/definitions/app.Response'
  29970. security:
  29971. - ApiKeyAuth: []
  29972. summary: 查询现货(预售)仓单持仓
  29973. tags:
  29974. - 仓单贸易v2
  29975. /WrTrade2/QueryWrPreSaleInfo:
  29976. get:
  29977. parameters:
  29978. - description: 市场id
  29979. in: query
  29980. name: marketid
  29981. type: integer
  29982. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29983. in: query
  29984. name: presalestatus
  29985. type: string
  29986. - description: 摇号标识 - 0:未摇号 1:已摇号
  29987. in: query
  29988. name: lotteryflag
  29989. type: integer
  29990. - description: 最近多少条记录(按创建时间倒序)
  29991. in: query
  29992. name: lastnum
  29993. type: integer
  29994. produces:
  29995. - application/json
  29996. responses:
  29997. "200":
  29998. description: OK
  29999. schema:
  30000. items:
  30001. $ref: '#/definitions/models.WrPreSaleInfo'
  30002. type: array
  30003. "500":
  30004. description: Internal Server Error
  30005. schema:
  30006. $ref: '#/definitions/app.Response'
  30007. security:
  30008. - ApiKeyAuth: []
  30009. summary: 查询新品发布
  30010. tags:
  30011. - 仓单贸易v2
  30012. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  30013. get:
  30014. parameters:
  30015. - description: 市场id
  30016. in: query
  30017. name: marketid
  30018. required: true
  30019. type: integer
  30020. - description: 现货商品id
  30021. in: query
  30022. name: wrstandardid
  30023. required: true
  30024. type: integer
  30025. - description: 开始交易日(yyyymmdd)
  30026. in: query
  30027. name: begindate
  30028. type: string
  30029. - description: 结束交易日(yyyymmdd)
  30030. in: query
  30031. name: enddate
  30032. type: string
  30033. - description: 最近多少条记录(按交易日倒序)
  30034. in: query
  30035. name: lastnum
  30036. type: integer
  30037. - description: 是否今日
  30038. in: query
  30039. name: istoday
  30040. type: boolean
  30041. produces:
  30042. - application/json
  30043. responses:
  30044. "200":
  30045. description: OK
  30046. schema:
  30047. items:
  30048. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  30049. type: array
  30050. "500":
  30051. description: Internal Server Error
  30052. schema:
  30053. $ref: '#/definitions/app.Response'
  30054. security:
  30055. - ApiKeyAuth: []
  30056. summary: 查询价格走势
  30057. tags:
  30058. - 仓单贸易v2
  30059. /WrTrade2/QueryWrScfContract:
  30060. get:
  30061. parameters:
  30062. - description: 用户id
  30063. in: query
  30064. name: userid
  30065. required: true
  30066. type: integer
  30067. - description: 融资合同id
  30068. in: query
  30069. name: scfcontractid
  30070. type: integer
  30071. produces:
  30072. - application/json
  30073. responses:
  30074. "200":
  30075. description: OK
  30076. schema:
  30077. items:
  30078. $ref: '#/definitions/models.WrScfContract'
  30079. type: array
  30080. "500":
  30081. description: Internal Server Error
  30082. schema:
  30083. $ref: '#/definitions/app.Response'
  30084. security:
  30085. - ApiKeyAuth: []
  30086. summary: 查询仓单贸易融资合同
  30087. tags:
  30088. - 仓单贸易v2
  30089. /WrTrade2/QueryWrScfContractInterest:
  30090. get:
  30091. parameters:
  30092. - description: 融资合同id
  30093. in: query
  30094. name: scfcontractid
  30095. type: integer
  30096. produces:
  30097. - application/json
  30098. responses:
  30099. "200":
  30100. description: OK
  30101. schema:
  30102. items:
  30103. $ref: '#/definitions/models.WrScfContractInterest'
  30104. type: array
  30105. "500":
  30106. description: Internal Server Error
  30107. schema:
  30108. $ref: '#/definitions/app.Response'
  30109. security:
  30110. - ApiKeyAuth: []
  30111. summary: 查询融资合同费用明细
  30112. tags:
  30113. - 仓单贸易v2
  30114. /WrTrade2/QueryWrSearchUser:
  30115. get:
  30116. parameters:
  30117. - description: 用户名称(模糊匹配)
  30118. in: query
  30119. name: username
  30120. required: true
  30121. type: string
  30122. produces:
  30123. - application/json
  30124. responses:
  30125. "200":
  30126. description: OK
  30127. schema:
  30128. items:
  30129. $ref: '#/definitions/models.WrSearchUser'
  30130. type: array
  30131. "500":
  30132. description: Internal Server Error
  30133. schema:
  30134. $ref: '#/definitions/app.Response'
  30135. security:
  30136. - ApiKeyAuth: []
  30137. summary: 查询用户
  30138. tags:
  30139. - 仓单贸易v2
  30140. /WrTrade2/QueryWrSpecialMatchOrder:
  30141. get:
  30142. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  30143. parameters:
  30144. - description: 页码
  30145. in: query
  30146. name: page
  30147. type: integer
  30148. - description: 每页条数
  30149. in: query
  30150. name: pagesize
  30151. type: integer
  30152. - description: 用户id
  30153. in: query
  30154. name: userid
  30155. required: true
  30156. type: integer
  30157. - description: 仓单贸易市场id
  30158. in: query
  30159. name: marketid
  30160. type: integer
  30161. - description: 0:仓单预售 1:仓单贸易
  30162. in: query
  30163. name: haswr
  30164. required: true
  30165. type: integer
  30166. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  30167. in: query
  30168. name: isspecified
  30169. type: integer
  30170. produces:
  30171. - application/json
  30172. responses:
  30173. "200":
  30174. description: OK
  30175. schema:
  30176. items:
  30177. $ref: '#/definitions/models.WrSpecialMatchOrder'
  30178. type: array
  30179. "500":
  30180. description: Internal Server Error
  30181. schema:
  30182. $ref: '#/definitions/app.Response'
  30183. security:
  30184. - ApiKeyAuth: []
  30185. summary: 查询指定成交
  30186. tags:
  30187. - 仓单贸易v2
  30188. /WrTrade2/QueryWrStandardFactoryItem:
  30189. get:
  30190. parameters:
  30191. - description: 品类id
  30192. in: query
  30193. name: wrstandardid
  30194. required: true
  30195. type: integer
  30196. produces:
  30197. - application/json
  30198. responses:
  30199. "200":
  30200. description: OK
  30201. schema:
  30202. items:
  30203. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  30204. type: array
  30205. "500":
  30206. description: Internal Server Error
  30207. schema:
  30208. $ref: '#/definitions/app.Response'
  30209. security:
  30210. - ApiKeyAuth: []
  30211. summary: 查询品类要素定义项
  30212. tags:
  30213. - 仓单贸易v2
  30214. /WrTrade2/QueryWrTradeBargainApply:
  30215. get:
  30216. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  30217. 议价->对方议价 填写matchuserid=登录用户id
  30218. parameters:
  30219. - description: 议价人id(摘牌方)
  30220. in: query
  30221. name: userid
  30222. type: integer
  30223. - description: 挂牌方id(查对方议价时,填写此项)
  30224. in: query
  30225. name: matchuserid
  30226. type: integer
  30227. - description: 关联委托单id
  30228. in: query
  30229. name: wrtradeorderid
  30230. type: integer
  30231. - description: 0:仓单预售 1:仓单贸易
  30232. in: query
  30233. name: haswr
  30234. required: true
  30235. type: integer
  30236. - description: 开始交易日(yyyymmdd)
  30237. in: query
  30238. name: begindate
  30239. type: string
  30240. - description: 结束交易日(yyyymmdd)
  30241. in: query
  30242. name: enddate
  30243. type: string
  30244. produces:
  30245. - application/json
  30246. responses:
  30247. "200":
  30248. description: OK
  30249. schema:
  30250. items:
  30251. $ref: '#/definitions/models.WRTradeBargainApply'
  30252. type: array
  30253. "500":
  30254. description: Internal Server Error
  30255. schema:
  30256. $ref: '#/definitions/app.Response'
  30257. security:
  30258. - ApiKeyAuth: []
  30259. summary: 查询议价单
  30260. tags:
  30261. - 仓单贸易v2
  30262. /WrTrade2/QueryWrTradeDetail:
  30263. get:
  30264. parameters:
  30265. - description: 页码
  30266. in: query
  30267. name: page
  30268. type: integer
  30269. - description: 每页条数
  30270. in: query
  30271. name: pagesize
  30272. type: integer
  30273. - description: 用户id
  30274. in: query
  30275. name: userid
  30276. required: true
  30277. type: integer
  30278. - description: 仓单贸易市场id
  30279. in: query
  30280. name: marketid
  30281. type: integer
  30282. - description: 0:仓单预售 1:仓单贸易
  30283. in: query
  30284. name: haswr
  30285. required: true
  30286. type: integer
  30287. - description: 开始交易日(yyyymmdd)
  30288. in: query
  30289. name: begindate
  30290. type: string
  30291. - description: 结束交易日(yyyymmdd)
  30292. in: query
  30293. name: enddate
  30294. type: string
  30295. produces:
  30296. - application/json
  30297. responses:
  30298. "200":
  30299. description: OK
  30300. schema:
  30301. items:
  30302. $ref: '#/definitions/models.WrTradeDetail'
  30303. type: array
  30304. "500":
  30305. description: Internal Server Error
  30306. schema:
  30307. $ref: '#/definitions/app.Response'
  30308. security:
  30309. - ApiKeyAuth: []
  30310. summary: 查询仓单成交明细
  30311. tags:
  30312. - 仓单贸易v2
  30313. /WrTrade2/QueryWrTradeOrderDetail:
  30314. get:
  30315. parameters:
  30316. - description: 页码
  30317. in: query
  30318. name: page
  30319. type: integer
  30320. - description: 每页条数
  30321. in: query
  30322. name: pagesize
  30323. type: integer
  30324. - description: 商品id
  30325. in: query
  30326. name: goodsid
  30327. required: true
  30328. type: integer
  30329. - description: 买卖方向 0-买 1-卖
  30330. in: query
  30331. name: buyorsell
  30332. required: true
  30333. type: integer
  30334. produces:
  30335. - application/json
  30336. responses:
  30337. "200":
  30338. description: OK
  30339. schema:
  30340. items:
  30341. $ref: '#/definitions/models.WrTradeOrderDetail'
  30342. type: array
  30343. "500":
  30344. description: Internal Server Error
  30345. schema:
  30346. $ref: '#/definitions/app.Response'
  30347. security:
  30348. - ApiKeyAuth: []
  30349. summary: 查询合约交易买卖大厅
  30350. tags:
  30351. - 仓单贸易v2
  30352. /WrTrade2/QueryWrUserFriend:
  30353. get:
  30354. parameters:
  30355. - description: 用户id
  30356. in: query
  30357. name: userid
  30358. required: true
  30359. type: integer
  30360. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30361. in: query
  30362. name: newuserid
  30363. type: integer
  30364. produces:
  30365. - application/json
  30366. responses:
  30367. "200":
  30368. description: OK
  30369. schema:
  30370. items:
  30371. $ref: '#/definitions/models.WrUserFriend'
  30372. type: array
  30373. "500":
  30374. description: Internal Server Error
  30375. schema:
  30376. $ref: '#/definitions/app.Response'
  30377. security:
  30378. - ApiKeyAuth: []
  30379. summary: 查询我的朋友
  30380. tags:
  30381. - 仓单贸易v2
  30382. /WrTrade2/QueryWrUserReceiptInfo:
  30383. get:
  30384. parameters:
  30385. - description: 用户id
  30386. in: query
  30387. name: userid
  30388. type: integer
  30389. - description: 发票类型 - 1:个人 2:企业
  30390. in: query
  30391. name: receipttype
  30392. type: integer
  30393. produces:
  30394. - application/json
  30395. responses:
  30396. "200":
  30397. description: OK
  30398. schema:
  30399. items:
  30400. $ref: '#/definitions/models.WrUserReceiptInfo'
  30401. type: array
  30402. "500":
  30403. description: Internal Server Error
  30404. schema:
  30405. $ref: '#/definitions/app.Response'
  30406. security:
  30407. - ApiKeyAuth: []
  30408. summary: 查询发票信息
  30409. tags:
  30410. - 仓单贸易v2
  30411. /WrTrade2/QueryXhcpSellBackApply:
  30412. get:
  30413. parameters:
  30414. - description: 用户ID
  30415. in: query
  30416. name: userid
  30417. required: true
  30418. type: integer
  30419. produces:
  30420. - application/json
  30421. responses:
  30422. "200":
  30423. description: OK
  30424. schema:
  30425. items:
  30426. $ref: '#/definitions/models.Xhcpsellbackapply'
  30427. type: array
  30428. "500":
  30429. description: Internal Server Error
  30430. schema:
  30431. $ref: '#/definitions/app.Response'
  30432. security:
  30433. - ApiKeyAuth: []
  30434. summary: 查询我的回收申请(新会陈皮)
  30435. tags:
  30436. - 仓单贸易v2
  30437. /ZJ/GetBankTip:
  30438. get:
  30439. produces:
  30440. - application/json
  30441. responses:
  30442. "200":
  30443. description: OK
  30444. schema:
  30445. type: string
  30446. "500":
  30447. description: Internal Server Error
  30448. schema:
  30449. $ref: '#/definitions/app.Response'
  30450. summary: 获取中江网银端出入金提示信息
  30451. tags:
  30452. - 中江
  30453. /ZJ/GetCusBankChannels:
  30454. get:
  30455. produces:
  30456. - application/json
  30457. responses:
  30458. "200":
  30459. description: OK
  30460. schema:
  30461. items:
  30462. type: string
  30463. type: array
  30464. "500":
  30465. description: Internal Server Error
  30466. schema:
  30467. $ref: '#/definitions/app.Response'
  30468. summary: 获取中江出入金渠道显示列表
  30469. tags:
  30470. - 中江
  30471. securityDefinitions:
  30472. ApiKeyAuth:
  30473. in: header
  30474. name: Authorization
  30475. type: apiKey
  30476. swagger: "2.0"