swagger.yaml 848 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477
  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. accountName:
  7545. description: 套期主体
  7546. type: string
  7547. areauserid:
  7548. description: 企业ID
  7549. type: integer
  7550. curprice:
  7551. description: '[当日现货市场价]当前市场价'
  7552. type: number
  7553. cycletime:
  7554. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  7555. 全(0)【原值】
  7556. type: string
  7557. cycletype:
  7558. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  7559. type: integer
  7560. enumdicname:
  7561. description: 单位
  7562. type: string
  7563. exeamount:
  7564. description: '[执行现货金额]执行市价总额'
  7565. type: number
  7566. exeavgprice:
  7567. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7568. type: number
  7569. exeqty:
  7570. description: '[执行数量]执行现货量'
  7571. type: number
  7572. futurehedgepl:
  7573. description: 期货实际损益
  7574. type: number
  7575. futurehedgeplchange:
  7576. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7577. type: number
  7578. futurepl:
  7579. description: 期货套期损益
  7580. type: number
  7581. futureplchange:
  7582. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7583. type: number
  7584. hedgeamount:
  7585. description: '[套期现货金额]套期市价总额'
  7586. type: number
  7587. hedgeditemnum:
  7588. description: 项目编号,模糊查询
  7589. type: string
  7590. hedgeditemstatus:
  7591. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7592. type: integer
  7593. hedgedtype:
  7594. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7595. type: integer
  7596. hedgeqty:
  7597. description: '[套期数量]套期现货量'
  7598. type: number
  7599. oriavgprice:
  7600. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7601. type: number
  7602. orifuturehedgepl:
  7603. description: 期初期货实际损益
  7604. type: number
  7605. orifuturepl:
  7606. description: 期初期货套期损益
  7607. type: number
  7608. orispothedgepl:
  7609. description: 期初现货实际损益
  7610. type: number
  7611. orispotpl:
  7612. description: 期初现货套期损益
  7613. type: number
  7614. planenddate:
  7615. description: 计划结束日期
  7616. type: string
  7617. planstartdate:
  7618. description: 计划开始日期
  7619. type: string
  7620. spothedgepl:
  7621. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7622. type: number
  7623. spothedgeplchange:
  7624. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7625. type: number
  7626. spotpl:
  7627. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  7628. type: number
  7629. spotplchange:
  7630. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  7631. type: number
  7632. tradeuserid:
  7633. description: 交易用户ID
  7634. type: integer
  7635. unexeqty:
  7636. description: 未执行现货量 = 套期现货量 - 执行现货量
  7637. type: number
  7638. userid:
  7639. description: 用户ID
  7640. type: integer
  7641. wrstandardcode:
  7642. description: 现货品类代码
  7643. type: string
  7644. wrstandardid:
  7645. description: 现货商品ID
  7646. type: integer
  7647. wrstandardname:
  7648. description: '[现货商品]现货品类名称'
  7649. type: string
  7650. required:
  7651. - cycletime
  7652. - userid
  7653. type: object
  7654. models.ErmcpBizGroupEx:
  7655. properties:
  7656. acclist:
  7657. description: 账号列表
  7658. items:
  7659. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7660. type: array
  7661. bizgroupid:
  7662. description: 业务分组id
  7663. type: integer
  7664. biztype:
  7665. description: 业务类型 1-套保 2-套利
  7666. type: integer
  7667. wrlist:
  7668. description: 现货商品表
  7669. items:
  7670. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7671. type: array
  7672. type: object
  7673. models.ErmcpBizGroupSpotGoods:
  7674. properties:
  7675. areauserid:
  7676. description: 所属机构id
  7677. type: integer
  7678. bizgroupid:
  7679. description: 分组id
  7680. type: integer
  7681. biztype:
  7682. description: 业务类型 1-套保 2-套利
  7683. type: integer
  7684. deliverygoodscode:
  7685. description: 现货商品代码
  7686. type: string
  7687. deliverygoodsid:
  7688. description: 现货商品id
  7689. type: integer
  7690. deliverygoodsname:
  7691. description: 现货商品名称
  7692. type: string
  7693. unitid:
  7694. description: 现货商品单位id
  7695. type: integer
  7696. type: object
  7697. models.ErmcpBizGroupTaAccount:
  7698. properties:
  7699. accountid:
  7700. description: 账号id
  7701. type: integer
  7702. accountname:
  7703. description: 账号名称
  7704. type: string
  7705. areauserid:
  7706. description: 所属机构id
  7707. type: integer
  7708. bizgroupid:
  7709. description: 业务分组id
  7710. type: integer
  7711. ismain:
  7712. description: 是否主账号 1-是 0-否
  7713. type: integer
  7714. type: object
  7715. models.ErmcpDGFactoryItem:
  7716. properties:
  7717. areauserid:
  7718. description: 用户id
  7719. type: integer
  7720. deliverygoodsid:
  7721. description: 现货品种ID
  7722. type: integer
  7723. dgfactoryitemid:
  7724. description: 选择项ID(SEQ_DGFACTORYITEM)
  7725. type: integer
  7726. dgfactoryitemtypeid:
  7727. description: 要素项类型
  7728. type: integer
  7729. dgfactoryitemvalue:
  7730. description: 要素项值(类型为仓库时填写仓库名称)
  7731. type: string
  7732. isvalid:
  7733. description: 是否有效 - 0:无效 1:有效
  7734. type: integer
  7735. orderindex:
  7736. description: 顺序
  7737. type: integer
  7738. warehouseid:
  7739. description: 仓库ID(类型为仓库时填写)
  7740. type: integer
  7741. type: object
  7742. models.ErmcpDeliveryGoods:
  7743. properties:
  7744. agreeunit:
  7745. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7746. type: integer
  7747. areauserid:
  7748. description: 所属机构
  7749. type: integer
  7750. auditflag:
  7751. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7752. type: integer
  7753. categoryid:
  7754. description: 类别ID(SEQ_WRCATEGORY)
  7755. type: integer
  7756. deliverygoodscode:
  7757. description: 现货品种代码
  7758. type: string
  7759. deliverygoodsid:
  7760. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7761. type: integer
  7762. deliverygoodsname:
  7763. description: 现货品种名称
  7764. type: string
  7765. deliverygoodstype:
  7766. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7767. type: integer
  7768. dgstatus:
  7769. description: 品种状态 - 作废 - 0:未激活 1:正常
  7770. type: integer
  7771. enumdicname:
  7772. description: 现货品种单位名称
  7773. type: string
  7774. goodsunitid:
  7775. description: 现货品种单位ID
  7776. type: integer
  7777. isvalid:
  7778. description: 是否有效 - 0:无效 1:有效
  7779. type: integer
  7780. qtydecimalplace:
  7781. description: 成交量小数位
  7782. type: integer
  7783. remark:
  7784. description: 备注
  7785. type: string
  7786. standardqty:
  7787. description: 标准数量(库位数量) [标准品特有]
  7788. type: integer
  7789. standardqtyrange:
  7790. description: 标准数量偏差范围 [标准品特有]
  7791. type: integer
  7792. type: object
  7793. models.ErmcpFuturesCompany:
  7794. properties:
  7795. brokerid:
  7796. description: 经纪公司代码
  7797. type: string
  7798. channeladdress:
  7799. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7800. type: string
  7801. channelid:
  7802. description: 对冲渠道ID
  7803. type: string
  7804. createtime:
  7805. description: 创建时间
  7806. type: string
  7807. creatorid:
  7808. description: 创建人
  7809. type: string
  7810. fcid:
  7811. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7812. type: integer
  7813. fcname:
  7814. description: 期货公司名称
  7815. type: string
  7816. isvalid:
  7817. description: 是否有效 - 0:无效 1:有效
  7818. type: integer
  7819. mhpaddress:
  7820. description: MHP服务地址(IP:Port)
  7821. type: string
  7822. riskrulegroupid:
  7823. description: 风控规则组ID
  7824. type: string
  7825. tradefeetmpid:
  7826. description: 手续费模板ID[TradeConfigTmpType为2]
  7827. type: string
  7828. trademargintmpid:
  7829. description: 保证金模板ID [TradeConfigTmpType为1]
  7830. type: string
  7831. traderatetmpid:
  7832. description: 汇率模板ID[TradeConfigTmpType为3]
  7833. type: string
  7834. updatetime:
  7835. description: 更新时间
  7836. type: string
  7837. updatorid:
  7838. description: 更新人
  7839. type: string
  7840. type: object
  7841. models.ErmcpGGConvertCfg:
  7842. properties:
  7843. convertratio:
  7844. description: 折算系数
  7845. type: number
  7846. destgoodsgroupid:
  7847. description: 目标品种ID
  7848. type: integer
  7849. dstcode:
  7850. description: 目录品种代码
  7851. type: string
  7852. dstexchangecode:
  7853. description: 目标期货交易所
  7854. type: string
  7855. dstname:
  7856. description: 目标品种名称
  7857. type: string
  7858. dstunitid:
  7859. description: 目标品种单位ID
  7860. type: integer
  7861. dstunitidname:
  7862. description: 目标品种单位名称
  7863. type: string
  7864. modifytime:
  7865. description: 修改时间
  7866. type: string
  7867. srccode:
  7868. description: 源品种代码
  7869. type: string
  7870. srcexchangecode:
  7871. description: 源期货交易所
  7872. type: string
  7873. srcgoodsgroupid:
  7874. description: 源品种ID
  7875. type: integer
  7876. srcname:
  7877. description: 源品种名称
  7878. type: string
  7879. srcunitid:
  7880. description: 源品种单位ID
  7881. type: integer
  7882. srcunitidname:
  7883. description: 源品种单位名称
  7884. type: string
  7885. type: object
  7886. models.ErmcpGoods:
  7887. properties:
  7888. agreeunit:
  7889. description: 合约单位
  7890. type: number
  7891. areauserid:
  7892. description: 所属机构
  7893. type: integer
  7894. auditaccountid:
  7895. description: 审核操作员账号
  7896. type: integer
  7897. audittime:
  7898. description: 审核时间
  7899. type: string
  7900. cancelaccountid:
  7901. description: 注销操作员账号
  7902. type: integer
  7903. canceltime:
  7904. description: 注销时间
  7905. type: string
  7906. closepricemode:
  7907. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7908. type: integer
  7909. closepriceparam:
  7910. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7911. type: number
  7912. createtime:
  7913. description: 创建时间
  7914. type: string
  7915. creatorid:
  7916. description: 创建人
  7917. type: integer
  7918. currencyid:
  7919. description: 报价货币ID
  7920. type: integer
  7921. cutmode:
  7922. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7923. type: integer
  7924. decimalplace:
  7925. description: 报价小数位
  7926. type: integer
  7927. delistingdate:
  7928. description: 商品退市时间(状态:退市) -- 已作废
  7929. type: string
  7930. delistingmode:
  7931. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7932. type: integer
  7933. deliveryflag:
  7934. description: 交割标志 - 0:不可交割 1:可交割
  7935. type: integer
  7936. enumdicname:
  7937. description: 单位名称
  7938. type: string
  7939. forceclosemode:
  7940. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7941. type: integer
  7942. forceclosevalue:
  7943. description: 定期强平参数 [收益权]
  7944. type: integer
  7945. goodscode:
  7946. description: 商品代码(内部)
  7947. type: string
  7948. goodscurrencyid:
  7949. description: 合约货币ID
  7950. type: integer
  7951. goodsgroupid:
  7952. description: 所属商品组ID
  7953. type: integer
  7954. goodsid:
  7955. description: 商品ID(自增ID SEQ_GOODS)
  7956. type: integer
  7957. goodsname:
  7958. description: 商品名称
  7959. type: string
  7960. goodsquotetype:
  7961. description: '合约报价类型: 1-直接报价 2-间接报价'
  7962. type: integer
  7963. goodsstatus:
  7964. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7965. type: integer
  7966. goodstradetype:
  7967. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7968. type: integer
  7969. goodunitid:
  7970. description: 报价单位ID
  7971. type: integer
  7972. hasquoter:
  7973. description: 是否有报价商 - 0:无报价商 1:有报价商
  7974. type: integer
  7975. hqprotecttime:
  7976. description: 行情保护时间(秒)
  7977. type: integer
  7978. innerdealmode:
  7979. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7980. type: integer
  7981. isbuylimited:
  7982. description: 是否限制建仓量 - 0:不限制 1:限制
  7983. type: integer
  7984. isvisible:
  7985. description: 游客是否可见 - 0:不可见 1:可见
  7986. type: integer
  7987. lasttradedate:
  7988. description: 最后交易日期(状态:待退市)
  7989. type: string
  7990. listingdate:
  7991. description: 交易开始日期
  7992. type: string
  7993. marketid:
  7994. description: 所属市场ID
  7995. type: integer
  7996. modifierid:
  7997. description: 修改人
  7998. type: integer
  7999. modifystatus:
  8000. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8001. type: integer
  8002. modifytime:
  8003. description: 修改时间
  8004. type: string
  8005. outerdealmode:
  8006. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8007. type: integer
  8008. outgoodscode:
  8009. description: 商品代码(外部)
  8010. type: string
  8011. pictureurl:
  8012. description: 商品图片
  8013. type: string
  8014. qtydecimalplace:
  8015. description: 成交量小数位
  8016. type: integer
  8017. quotegear:
  8018. description: 行情档位(1-10)
  8019. type: integer
  8020. quoteminunit:
  8021. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8022. type: integer
  8023. quoteshowtype:
  8024. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8025. type: integer
  8026. quoteshowtypeinterval:
  8027. description: 行情报价间隔时间(秒)(成交价时为0)
  8028. type: integer
  8029. relatedgoodsid:
  8030. description: 关联参考商品ID
  8031. type: integer
  8032. remark:
  8033. description: 备注
  8034. type: string
  8035. trademode:
  8036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8037. 21:竞拍-大宗式 22:受托竞价
  8038. type: integer
  8039. required:
  8040. - goodscode
  8041. - goodsid
  8042. - goodsname
  8043. - marketid
  8044. type: object
  8045. models.ErmcpGoodsBrand:
  8046. properties:
  8047. areauserid:
  8048. description: 所属机构
  8049. type: integer
  8050. brandid:
  8051. description: BrandID(SEQ_SPOTGOODSBRAND)
  8052. type: integer
  8053. brandname:
  8054. description: 品牌名称
  8055. type: string
  8056. createtime:
  8057. description: 创建时间
  8058. type: string
  8059. creatorid:
  8060. description: 创建人
  8061. type: integer
  8062. creatorsrc:
  8063. description: 创建人来源 - 1:管理端 2:终端
  8064. type: integer
  8065. deliverygoodsid:
  8066. description: 现货品种ID
  8067. type: integer
  8068. isvalid:
  8069. description: 是否有效 - 0:无效 1:有效
  8070. type: integer
  8071. updatetime:
  8072. description: 更新时间
  8073. type: string
  8074. updatorid:
  8075. description: 更新人
  8076. type: integer
  8077. updatorsrc:
  8078. description: 更新人来源 - 1:管理端 2:终端
  8079. type: integer
  8080. wrstandardid:
  8081. description: 现货商品ID
  8082. type: integer
  8083. type: object
  8084. models.ErmcpGoodsModel:
  8085. properties:
  8086. areauserid:
  8087. description: 所属机构
  8088. type: integer
  8089. convertfactor:
  8090. description: 标仓系数
  8091. type: number
  8092. createtime:
  8093. description: 创建时间
  8094. type: string
  8095. creatorid:
  8096. description: 创建人
  8097. type: integer
  8098. creatorsrc:
  8099. description: 创建人来源 - 1:管理端 2:终端
  8100. type: integer
  8101. deliverygoodsid:
  8102. description: 现货品种ID
  8103. type: integer
  8104. isvalid:
  8105. description: 是否有效 - 0:无效 1:有效
  8106. type: integer
  8107. modelid:
  8108. description: ModelID(SEQ_SPOTGOODSMODEL)
  8109. type: integer
  8110. modelname:
  8111. description: 型号名称
  8112. type: string
  8113. updatetime:
  8114. description: 更新时间
  8115. type: string
  8116. updatorid:
  8117. description: 更新人
  8118. type: integer
  8119. updatorsrc:
  8120. description: 更新人来源 - 1:管理端 2:终端
  8121. type: integer
  8122. wrstandardid:
  8123. description: 现货商品ID
  8124. type: integer
  8125. type: object
  8126. models.ErmcpHisExposure:
  8127. properties:
  8128. needhedgeexposoure:
  8129. description: 应套保敞口
  8130. type: number
  8131. reckondate:
  8132. description: 日照时期(yyyyMMdd)
  8133. type: string
  8134. totalexposure:
  8135. description: 总敞口
  8136. type: number
  8137. type: object
  8138. models.ErmcpLoginTaAccount:
  8139. properties:
  8140. accountid:
  8141. description: 账号id
  8142. type: integer
  8143. accountname:
  8144. description: 账号名称
  8145. type: string
  8146. type: object
  8147. models.ErmcpLoginUser:
  8148. properties:
  8149. acclist:
  8150. description: 关联资金账号
  8151. items:
  8152. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8153. type: array
  8154. accountname:
  8155. description: 用户名称
  8156. type: string
  8157. clientroleid:
  8158. description: 角色id(usertype=2)
  8159. type: integer
  8160. createtime:
  8161. description: 创建时间
  8162. type: string
  8163. logincode:
  8164. description: 登录代码
  8165. type: string
  8166. loginid:
  8167. description: 登录id(LOGINID)
  8168. type: integer
  8169. loginname:
  8170. description: 登录名称(loginaccount表中的accountname字段)
  8171. type: string
  8172. loginstatus:
  8173. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8174. type: integer
  8175. memberuserid:
  8176. description: 所属会员id
  8177. type: integer
  8178. mobile:
  8179. description: 手机号
  8180. type: string
  8181. modifytime:
  8182. description: 修改时间
  8183. type: string
  8184. password:
  8185. description: 密码(不可解密)
  8186. type: string
  8187. rolename:
  8188. description: 角色名称
  8189. type: string
  8190. rolestatus:
  8191. description: 角色状态 1-启用 2-停用
  8192. type: integer
  8193. roletype:
  8194. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8195. type: string
  8196. userid:
  8197. description: 用户id
  8198. type: integer
  8199. usertype:
  8200. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8201. type: integer
  8202. type: object
  8203. models.ErmcpLoginUserEx:
  8204. properties:
  8205. accountstatus:
  8206. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8207. type: integer
  8208. mobile:
  8209. description: 手机号
  8210. type: string
  8211. querytype:
  8212. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8213. type: integer
  8214. roleid:
  8215. description: 角色id(交易账户->用户id)
  8216. type: integer
  8217. rolename:
  8218. description: 角色名称(交易账户->用户名称)
  8219. type: string
  8220. userlist:
  8221. description: 用户列表
  8222. items:
  8223. $ref: '#/definitions/models.ErmcpLoginUser'
  8224. type: array
  8225. usertype:
  8226. description: 用户类型 2-机构 7-企业成员(云平台)
  8227. type: integer
  8228. type: object
  8229. models.ErmcpMiddleGoodsModel:
  8230. properties:
  8231. areauserid:
  8232. description: 机构用户ID
  8233. type: integer
  8234. createtime:
  8235. description: 修改时间
  8236. type: string
  8237. enumdicname:
  8238. description: 单位名称
  8239. type: string
  8240. evaluateratio:
  8241. description: 估价系数
  8242. type: number
  8243. goodsgroupid:
  8244. description: 关联期货品种ID
  8245. type: integer
  8246. goodsunitid:
  8247. description: 单位ID
  8248. type: integer
  8249. isvalid:
  8250. description: 状态 0-无效(停用) 1-有效(正常)
  8251. type: integer
  8252. middlegoodscode:
  8253. description: 套保品种代码
  8254. type: string
  8255. middlegoodsid:
  8256. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8257. type: integer
  8258. middlegoodsname:
  8259. description: 套保品种名称
  8260. type: string
  8261. modifytime:
  8262. description: 修改时间
  8263. type: string
  8264. needarbitrageratio:
  8265. description: 套利比例
  8266. type: number
  8267. needhedgeratio:
  8268. description: 套保比率
  8269. type: number
  8270. qtydecimalplace:
  8271. description: 数量小数位
  8272. type: integer
  8273. relatedgoodsid:
  8274. description: 关联交易商品ID
  8275. type: integer
  8276. relatedgoodstype:
  8277. description: 关联商品类型 - 1:期货合约 2:现货品种
  8278. type: integer
  8279. remark:
  8280. description: 备注
  8281. type: string
  8282. type: object
  8283. models.ErmcpMiddlegoodsRelateGoods:
  8284. properties:
  8285. agreeunit:
  8286. description: 合约乘数
  8287. type: number
  8288. convertratio:
  8289. description: 折算系数
  8290. type: number
  8291. enumdicname:
  8292. description: 单位名称(交易商品)
  8293. type: string
  8294. goodscode:
  8295. description: 交易商品代码
  8296. type: string
  8297. goodsgroupid:
  8298. description: 交易品种id
  8299. type: integer
  8300. goodsid:
  8301. description: 商品Id
  8302. type: integer
  8303. goodsname:
  8304. description: 交易商品名称
  8305. type: string
  8306. goodunitid:
  8307. description: 交易商品单位id
  8308. type: integer
  8309. middlegoodsid:
  8310. description: 套保商品id
  8311. type: integer
  8312. middlegoodsname:
  8313. description: 套保商品名称
  8314. type: string
  8315. middlegoodsswcode:
  8316. description: 套保商品代码
  8317. type: string
  8318. needarbitrageratio:
  8319. description: 应套利比例
  8320. type: number
  8321. needhedgeratio:
  8322. description: 应套保比例
  8323. type: number
  8324. type: object
  8325. models.ErmcpRole:
  8326. properties:
  8327. areauserid:
  8328. description: 所属机构
  8329. type: integer
  8330. autoid:
  8331. description: 角色ID(自增ID)
  8332. type: integer
  8333. modifierid:
  8334. description: 修改人(创建人)
  8335. type: integer
  8336. modifiername:
  8337. description: 修改人名称
  8338. type: string
  8339. modifytime:
  8340. description: 修改时间(创建时间)
  8341. type: string
  8342. rolename:
  8343. description: 角色名称
  8344. type: string
  8345. rolestatus:
  8346. description: 角色状态 - 1:启用 2:停用
  8347. type: integer
  8348. roletype:
  8349. description: 角色类型 - 1- 管理端 2- 交易端
  8350. type: integer
  8351. type: object
  8352. models.ErmcpRoleMenu:
  8353. properties:
  8354. iconame:
  8355. description: 菜单图标
  8356. type: string
  8357. ishadrole:
  8358. description: 是否有权限
  8359. type: boolean
  8360. menutype:
  8361. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8362. type: integer
  8363. parentcode:
  8364. description: 上级资源代码
  8365. type: string
  8366. remark:
  8367. description: 菜单备注
  8368. type: string
  8369. resourcecode:
  8370. description: 菜单代码
  8371. type: string
  8372. resourcelevel:
  8373. description: 级别
  8374. type: integer
  8375. resourcename:
  8376. description: 菜单名称
  8377. type: string
  8378. roleid:
  8379. description: 角色id
  8380. type: integer
  8381. sort:
  8382. description: 排序
  8383. type: integer
  8384. url:
  8385. description: URL
  8386. type: string
  8387. userid:
  8388. description: 用户id
  8389. type: integer
  8390. type: object
  8391. models.ErmcpRoleMenuEx:
  8392. properties:
  8393. menu:
  8394. $ref: '#/definitions/models.ErmcpRoleMenu'
  8395. description: 父级菜单
  8396. subMenu:
  8397. description: 子级菜单
  8398. items:
  8399. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8400. type: array
  8401. type: object
  8402. models.ErmcpTaAccount:
  8403. properties:
  8404. accountid:
  8405. description: 账户id
  8406. type: integer
  8407. accountname:
  8408. description: 账户名称
  8409. type: string
  8410. currencyid:
  8411. description: 币种id
  8412. type: integer
  8413. hedgeaccountcode:
  8414. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8415. type: string
  8416. ismain:
  8417. description: 是否主账户 0-否 1-是
  8418. type: integer
  8419. parentaccountid:
  8420. description: 父账户id
  8421. type: integer
  8422. relateduserid:
  8423. description: 关联userid
  8424. type: integer
  8425. tradefeetmpid:
  8426. description: 手续费模板id
  8427. type: integer
  8428. tradefeetmpname:
  8429. description: 手续费模板名称
  8430. type: string
  8431. trademargintmpid:
  8432. description: 保证金模板id
  8433. type: integer
  8434. trademargintmpname:
  8435. description: 保证金模板名称
  8436. type: string
  8437. traderatetmpid:
  8438. description: 汇率模板id
  8439. type: integer
  8440. traderatetmpname:
  8441. description: 汇率模板名称
  8442. type: string
  8443. tradestatus:
  8444. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8445. type: integer
  8446. userid:
  8447. description: 用户id
  8448. type: integer
  8449. type: object
  8450. models.ErmcpTaAccountEx:
  8451. properties:
  8452. mainAcc:
  8453. $ref: '#/definitions/models.ErmcpTaAccountM'
  8454. description: 主账号
  8455. subacclist:
  8456. description: 子账号列表
  8457. items:
  8458. $ref: '#/definitions/models.ErmcpTaAccount'
  8459. type: array
  8460. type: object
  8461. models.ErmcpTaAccountInfo:
  8462. properties:
  8463. accountid:
  8464. description: 资金账户ID
  8465. type: integer
  8466. accountname:
  8467. description: 账户名称
  8468. type: string
  8469. balance:
  8470. description: 期初余额
  8471. type: number
  8472. capitalbalance:
  8473. description: 本金余额[外部子账户实际出入金余额]
  8474. type: number
  8475. closepl:
  8476. description: 今日平仓盈亏
  8477. type: number
  8478. creditdecrease:
  8479. description: 今日授信减少
  8480. type: number
  8481. creditincrease:
  8482. description: 今日授信增加
  8483. type: number
  8484. curdebt:
  8485. description: 期末欠款
  8486. type: number
  8487. currencyid:
  8488. description: 货币ID
  8489. type: integer
  8490. currentbalance:
  8491. description: 期末余额
  8492. type: number
  8493. freezecharge:
  8494. description: 手续费冻结
  8495. type: number
  8496. freezemargin:
  8497. description: 冻结保证金
  8498. type: number
  8499. fromaccountid:
  8500. description: 所属上级账户
  8501. type: integer
  8502. inamount:
  8503. description: 今日入金金额(包括三方入金)
  8504. type: number
  8505. ismain:
  8506. description: 是否母账号 0:不是母账户 1:是母账户
  8507. type: integer
  8508. mortgagecredit:
  8509. description: 授信金额
  8510. type: number
  8511. oridebt:
  8512. description: 期初欠款
  8513. type: number
  8514. orifreezecharge:
  8515. description: 期初手续费冻结
  8516. type: number
  8517. orifreezemargin:
  8518. description: 期初冻结保证金
  8519. type: number
  8520. orimortgagecredit:
  8521. description: 期初授信金额
  8522. type: number
  8523. oriothercredit:
  8524. description: 期初其它授信金额
  8525. type: number
  8526. oriotherfreezemargin:
  8527. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8528. type: number
  8529. orioutamountfreeze:
  8530. description: 期初出金冻结
  8531. type: number
  8532. oriusedmargin:
  8533. description: 期初占用保证金
  8534. type: number
  8535. othercredit:
  8536. description: 其它授信金额
  8537. type: number
  8538. othercreditdecrease:
  8539. description: 今日其它授信减少
  8540. type: number
  8541. othercreditincrease:
  8542. description: 今日其它授信增加
  8543. type: number
  8544. otherfreezemargin:
  8545. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8546. type: number
  8547. outamount:
  8548. description: 今日出金金额(包括三方出金)
  8549. type: number
  8550. outamountfreeze:
  8551. description: 出金冻结
  8552. type: number
  8553. outthreshold:
  8554. description: 出金阈值
  8555. type: number
  8556. parentaccountid:
  8557. description: 所属根账号
  8558. type: integer
  8559. paycharge:
  8560. description: 今日手续费支出
  8561. type: number
  8562. relateduserid:
  8563. description: 关联用户
  8564. type: integer
  8565. signstatus:
  8566. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8567. type: integer
  8568. sublevelpath:
  8569. description: 账号层级路径(逗号分隔,首尾加逗号)
  8570. type: string
  8571. taaccounttype:
  8572. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8573. type: integer
  8574. thirdinamount:
  8575. description: 今日三方入金
  8576. type: number
  8577. thirdoutamount:
  8578. description: 今日三方出金
  8579. type: number
  8580. tradestatus:
  8581. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8582. type: integer
  8583. transferamount:
  8584. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8585. type: number
  8586. usedmargin:
  8587. description: 占用保证金
  8588. type: number
  8589. userid:
  8590. description: 用户ID
  8591. type: integer
  8592. type: object
  8593. models.ErmcpTaAccountM:
  8594. properties:
  8595. accountid:
  8596. description: 账户id
  8597. type: integer
  8598. accountname:
  8599. description: 账户名称
  8600. type: string
  8601. currencyid:
  8602. description: 币种id
  8603. type: integer
  8604. fcid:
  8605. description: 期货公司id
  8606. type: integer
  8607. fcname:
  8608. description: 期货公司代码
  8609. type: string
  8610. hedgeaccountcode:
  8611. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8612. type: string
  8613. ismain:
  8614. description: 是否主账户 0-否 1-是
  8615. type: integer
  8616. parentaccountid:
  8617. description: 父账户id
  8618. type: integer
  8619. relateduserid:
  8620. description: 关联userid
  8621. type: integer
  8622. tradefeetmpid:
  8623. description: 手续费模板id
  8624. type: integer
  8625. tradefeetmpname:
  8626. description: 手续费模板名称
  8627. type: string
  8628. trademargintmpid:
  8629. description: 保证金模板id
  8630. type: integer
  8631. trademargintmpname:
  8632. description: 保证金模板名称
  8633. type: string
  8634. traderatetmpid:
  8635. description: 汇率模板id
  8636. type: integer
  8637. traderatetmpname:
  8638. description: 汇率模板名称
  8639. type: string
  8640. tradestatus:
  8641. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8642. type: integer
  8643. userid:
  8644. description: 用户id
  8645. type: integer
  8646. type: object
  8647. models.ErmcpTradeConfigTMP:
  8648. properties:
  8649. areauserid:
  8650. description: 所属机构
  8651. type: integer
  8652. basiccurrencyid:
  8653. description: 基本币种ID[汇率] - 目标币种
  8654. type: integer
  8655. mainaccountid:
  8656. description: 主账户ID
  8657. type: integer
  8658. modifierid:
  8659. description: 修改人
  8660. type: integer
  8661. remark:
  8662. description: 备注
  8663. type: string
  8664. tradeconfigtmpid:
  8665. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8666. type: integer
  8667. tradeconfigtmpname:
  8668. description: 交易配置模板名称
  8669. type: string
  8670. tradeconfigtmptype:
  8671. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8672. type: integer
  8673. updatetime:
  8674. description: 更新时间
  8675. type: string
  8676. type: object
  8677. models.Ermcpjrlinkpos:
  8678. properties:
  8679. areauserid:
  8680. description: 所属企业
  8681. type: integer
  8682. averageprice:
  8683. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  8684. type: number
  8685. closepl:
  8686. description: 总平仓盈亏 [期货损益]
  8687. type: number
  8688. executeprice:
  8689. description: 执行价 - 1:期货单 为 0
  8690. type: integer
  8691. futurehedgeqty:
  8692. description: 期货套期量
  8693. type: number
  8694. goodsid:
  8695. description: 期货合约
  8696. type: integer
  8697. middlegoodscode:
  8698. description: 套保商品代码
  8699. type: string
  8700. middlegoodsname:
  8701. description: 套保商品名称
  8702. type: string
  8703. netqty:
  8704. description: 净头寸
  8705. type: number
  8706. optioncode:
  8707. description: 期权代码
  8708. type: string
  8709. ordertype:
  8710. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8711. type: integer
  8712. reckonpl:
  8713. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  8714. type: number
  8715. spotcontractid:
  8716. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  8717. type: string
  8718. todayfutureclosepl:
  8719. description: 今日平仓盈亏
  8720. type: number
  8721. totalbuyamount:
  8722. description: 买金额 [期货]
  8723. type: number
  8724. totalbuyholdamount:
  8725. description: 买持仓总金额[期货]
  8726. type: number
  8727. totalbuyqty:
  8728. description: 买数量
  8729. type: number
  8730. totalcharge:
  8731. description: 手续费
  8732. type: number
  8733. totalpremium:
  8734. description: 权利金 [期权]
  8735. type: number
  8736. totalsellamount:
  8737. description: 卖金额 [期货]
  8738. type: number
  8739. totalsellholdamount:
  8740. description: 卖持仓总金额[期货]
  8741. type: number
  8742. totalsellqty:
  8743. description: 卖数量
  8744. type: number
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. required:
  8749. - spotcontractid
  8750. type: object
  8751. models.Ermcppatradelinkdetail:
  8752. properties:
  8753. agreeunit:
  8754. description: 合约乘数
  8755. type: number
  8756. amount:
  8757. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  8758. type: number
  8759. areauserid:
  8760. description: 所属机构
  8761. type: integer
  8762. bizsubjectid:
  8763. description: 归属业务部门ID - SubjectID
  8764. type: integer
  8765. buyorsell:
  8766. description: 方向 - 0:买 1:卖
  8767. type: integer
  8768. convertratio:
  8769. description: 品种系数
  8770. type: number
  8771. createtime:
  8772. description: 创建时间
  8773. type: string
  8774. creatorid:
  8775. description: 创建人ID
  8776. type: integer
  8777. creatorsrc:
  8778. description: 创建人来源 - 1:管理端 2:终端 3:交易
  8779. type: integer
  8780. goodsgroupid:
  8781. description: 对冲品种ID[期货合约商品组ID]
  8782. type: integer
  8783. goodsid:
  8784. description: 商品ID
  8785. type: integer
  8786. hedgeditemid:
  8787. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  8788. type: integer
  8789. hedgeflag:
  8790. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  8791. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  8792. type: integer
  8793. linkdetailid:
  8794. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  8795. type: string
  8796. linkstatus:
  8797. description: 关联状态 - 1:成功 2:失败 3:解绑
  8798. type: integer
  8799. middlegoodsid:
  8800. description: 套保品种ID
  8801. type: integer
  8802. name:
  8803. description: 账户名/子账户
  8804. type: string
  8805. optioncode:
  8806. description: '[期货合约]期权代码 [期权]'
  8807. type: string
  8808. ordertype:
  8809. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  8810. type: integer
  8811. relatedlot:
  8812. description: '[数量]关联手数'
  8813. type: number
  8814. relatedmode:
  8815. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  8816. type: integer
  8817. relatedqty:
  8818. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  8819. type: number
  8820. retcode:
  8821. description: 返回码
  8822. type: integer
  8823. saleuserid:
  8824. description: 业务员ID
  8825. type: integer
  8826. tradedate:
  8827. description: 关联交易日(yyyyMMdd)
  8828. type: string
  8829. tradeid:
  8830. description: '[成交单号]内部成交单ID'
  8831. type: string
  8832. tradelot:
  8833. description: 成交手数
  8834. type: integer
  8835. tradeprice:
  8836. description: '[价格]成交价格'
  8837. type: number
  8838. tradetime:
  8839. description: 日期时间
  8840. type: string
  8841. tradetradedate:
  8842. description: 成交交易日(yyyyMMdd)
  8843. type: string
  8844. required:
  8845. - hedgeditemid
  8846. type: object
  8847. models.Externalexchange:
  8848. properties:
  8849. autoid:
  8850. description: AutoID - SEQ_EXTERNALEXCHANGE
  8851. type: integer
  8852. exchangefullname:
  8853. description: 外部交易所全称
  8854. type: string
  8855. exexchangecode:
  8856. description: 外部交易所代码
  8857. type: string
  8858. exexchangename:
  8859. description: 外部交易所名称(简称)
  8860. type: string
  8861. ismarketprice:
  8862. description: 是否支持市价 - 0:不支持 1:支持
  8863. type: integer
  8864. quotegear:
  8865. description: 行情档位(1-10)
  8866. type: integer
  8867. showbrokerflag:
  8868. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8869. type: integer
  8870. updatetime:
  8871. description: 更新时间
  8872. type: string
  8873. required:
  8874. - autoid
  8875. type: object
  8876. models.Funcmenulist:
  8877. properties:
  8878. iconame:
  8879. description: 菜单图标
  8880. type: string
  8881. menutype:
  8882. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8883. type: integer
  8884. parentcode:
  8885. description: 上级资源代码
  8886. type: string
  8887. remark:
  8888. description: 备注
  8889. type: string
  8890. resourcecode:
  8891. description: 资源代码
  8892. type: string
  8893. resourcelevel:
  8894. description: 级别 1-一级 2-二级 3-三级 4-四级
  8895. type: integer
  8896. resourcename:
  8897. description: 资源名
  8898. type: string
  8899. sort:
  8900. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8901. type: integer
  8902. url:
  8903. description: URL
  8904. type: string
  8905. required:
  8906. - resourcecode
  8907. type: object
  8908. models.Goods:
  8909. properties:
  8910. agreeunit:
  8911. description: 合约单位
  8912. type: number
  8913. areauserid:
  8914. description: 所属机构
  8915. type: integer
  8916. auditaccountid:
  8917. description: 审核操作员账号
  8918. type: integer
  8919. audittime:
  8920. description: 审核时间
  8921. type: string
  8922. cancelaccountid:
  8923. description: 注销操作员账号
  8924. type: integer
  8925. canceltime:
  8926. description: 注销时间
  8927. type: string
  8928. closepricemode:
  8929. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8930. type: integer
  8931. closepriceparam:
  8932. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8933. type: number
  8934. createtime:
  8935. description: 创建时间
  8936. type: string
  8937. creatorid:
  8938. description: 创建人
  8939. type: integer
  8940. currencyid:
  8941. description: 报价货币ID
  8942. type: integer
  8943. cutmode:
  8944. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8945. type: integer
  8946. decimalplace:
  8947. description: 报价小数位
  8948. type: integer
  8949. delistingdate:
  8950. description: 商品退市时间(状态:退市) -- 已作废
  8951. type: string
  8952. delistingmode:
  8953. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8954. type: integer
  8955. deliveryflag:
  8956. description: 交割标志 - 0:不可交割 1:可交割
  8957. type: integer
  8958. forceclosemode:
  8959. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8960. type: integer
  8961. forceclosevalue:
  8962. description: 定期强平参数 [收益权]
  8963. type: integer
  8964. goodscode:
  8965. description: 商品代码(内部)
  8966. type: string
  8967. goodscurrencyid:
  8968. description: 合约货币ID
  8969. type: integer
  8970. goodsgroupid:
  8971. description: 所属商品组ID
  8972. type: integer
  8973. goodsid:
  8974. description: 商品ID(自增ID SEQ_GOODS)
  8975. type: integer
  8976. goodsname:
  8977. description: 商品名称
  8978. type: string
  8979. goodsquotetype:
  8980. description: '合约报价类型: 1-直接报价 2-间接报价'
  8981. type: integer
  8982. goodsstatus:
  8983. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8984. type: integer
  8985. goodstradetype:
  8986. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8987. type: integer
  8988. goodunitid:
  8989. description: 报价单位ID
  8990. type: integer
  8991. hasquoter:
  8992. description: 是否有报价商 - 0:无报价商 1:有报价商
  8993. type: integer
  8994. hqprotecttime:
  8995. description: 行情保护时间(秒)
  8996. type: integer
  8997. innerdealmode:
  8998. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8999. type: integer
  9000. isbuylimited:
  9001. description: 是否限制建仓量 - 0:不限制 1:限制
  9002. type: integer
  9003. isvisible:
  9004. description: 游客是否可见 - 0:不可见 1:可见
  9005. type: integer
  9006. lasttradedate:
  9007. description: 最后交易日期(状态:待退市)
  9008. type: string
  9009. listingdate:
  9010. description: 交易开始日期
  9011. type: string
  9012. marketid:
  9013. description: 所属市场ID
  9014. type: integer
  9015. modifierid:
  9016. description: 修改人
  9017. type: integer
  9018. modifystatus:
  9019. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  9020. type: integer
  9021. modifytime:
  9022. description: 修改时间
  9023. type: string
  9024. outerdealmode:
  9025. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9026. type: integer
  9027. outgoodscode:
  9028. description: 商品代码(外部)
  9029. type: string
  9030. pictureurl:
  9031. description: 商品图片
  9032. type: string
  9033. qtydecimalplace:
  9034. description: 成交量小数位
  9035. type: integer
  9036. quotegear:
  9037. description: 行情档位(1-10)
  9038. type: integer
  9039. quoteminunit:
  9040. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9041. type: integer
  9042. quoteshowtype:
  9043. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  9044. type: integer
  9045. quoteshowtypeinterval:
  9046. description: 行情报价间隔时间(秒)(成交价时为0)
  9047. type: integer
  9048. remark:
  9049. description: 备注
  9050. type: string
  9051. required:
  9052. - goodscode
  9053. - goodsid
  9054. - goodsname
  9055. - marketid
  9056. type: object
  9057. models.GoodsIDAndName:
  9058. properties:
  9059. goodscode:
  9060. description: 商品代码(内部)
  9061. type: string
  9062. goodsid:
  9063. description: 商品ID(自增ID SEQ_GOODS)
  9064. type: integer
  9065. goodsname:
  9066. description: 商品名称
  9067. type: string
  9068. marketid:
  9069. description: 所属市场ID
  9070. type: integer
  9071. required:
  9072. - goodscode
  9073. - goodsid
  9074. - goodsname
  9075. - marketid
  9076. type: object
  9077. models.Goodsgroup:
  9078. properties:
  9079. agreeunit:
  9080. description: 合约单位
  9081. type: number
  9082. canshort:
  9083. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  9084. type: integer
  9085. closepricemode:
  9086. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9087. type: integer
  9088. closepriceparam:
  9089. description: 强平最新价浮动比例 - 方式为2时使用
  9090. type: number
  9091. createtime:
  9092. description: 创建时间
  9093. type: string
  9094. creatorid:
  9095. description: 创建人
  9096. type: integer
  9097. currencyid:
  9098. description: 报价货币ID
  9099. type: integer
  9100. decimalplace:
  9101. description: 报价小数位
  9102. type: integer
  9103. exercisetype:
  9104. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  9105. type: integer
  9106. exexchangeid:
  9107. description: 外部交易所ID[通道交易]
  9108. type: integer
  9109. goodsgroupid:
  9110. description: 商品组ID(自增ID)
  9111. type: integer
  9112. goodsgroupname:
  9113. description: 商品组名称
  9114. type: string
  9115. goodsgroupstatus:
  9116. description: 商品组状态 - 1:正常 2:注销
  9117. type: integer
  9118. goodunitid:
  9119. description: 报价单位ID
  9120. type: integer
  9121. innerdealmode:
  9122. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  9123. type: integer
  9124. isbuylimited:
  9125. description: 是否限制建仓量 - 0:不限制 1:限制
  9126. type: integer
  9127. marketid:
  9128. description: 所属市场ID
  9129. type: integer
  9130. modifierid:
  9131. description: 修改人
  9132. type: integer
  9133. modifytime:
  9134. description: 修改时间
  9135. type: string
  9136. outerdealmode:
  9137. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  9138. type: integer
  9139. outergroupcode:
  9140. description: 外部商品组代码[通道交易]
  9141. type: string
  9142. premiumdecimalplace:
  9143. description: 权利金小数位[场外期权]
  9144. type: integer
  9145. premiumspreadalgorithm:
  9146. description: 权利金点差方式[场外期权] 1:比率 2:固定
  9147. type: integer
  9148. premiumspreadvalue:
  9149. description: 权利金点差值[场外期权]
  9150. type: number
  9151. qtydecimalplace:
  9152. description: 成交量小数位
  9153. type: integer
  9154. quotegear:
  9155. description: 行情档位(1-10)
  9156. type: integer
  9157. quoteminunit:
  9158. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9159. type: integer
  9160. quoterid:
  9161. description: 报价商ID[场外期权]
  9162. type: integer
  9163. quotesourcegroupid:
  9164. description: 所属行情源分组ID[参考行情市场用\通道交易]
  9165. type: integer
  9166. syncgoodsqty:
  9167. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  9168. type: integer
  9169. required:
  9170. - goodsgroupid
  9171. - goodsgroupname
  9172. - goodsgroupstatus
  9173. - marketid
  9174. type: object
  9175. models.Goodssortbypreposition:
  9176. properties:
  9177. goodscode:
  9178. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  9179. type: string
  9180. goodsgroupcode:
  9181. description: 品种代码
  9182. type: string
  9183. prepositionqty:
  9184. description: 昨持仓量
  9185. type: integer
  9186. sortindex:
  9187. description: 排序
  9188. type: integer
  9189. tradedate:
  9190. description: 交易日
  9191. type: string
  9192. updatetime:
  9193. description: 更新时间
  9194. type: string
  9195. required:
  9196. - goodscode
  9197. - tradedate
  9198. type: object
  9199. models.Hedgeinnerholderdetail:
  9200. properties:
  9201. accountid:
  9202. description: 账号ID
  9203. type: integer
  9204. buyorsell:
  9205. description: 方向 - 0:买 1:卖
  9206. type: integer
  9207. freezeqty:
  9208. description: 冻结数量 - 按单平使用
  9209. type: integer
  9210. goodsid:
  9211. description: 商品ID
  9212. type: integer
  9213. holderamount:
  9214. description: 持仓金额 [商品币种]
  9215. type: number
  9216. holderdays:
  9217. description: 剩余冻结天数
  9218. type: integer
  9219. holderprice:
  9220. description: 持仓价格
  9221. type: number
  9222. holderqty:
  9223. description: 持仓数量
  9224. type: integer
  9225. marketid:
  9226. description: 市场ID
  9227. type: integer
  9228. openprice:
  9229. description: 建仓价格
  9230. type: number
  9231. openqty:
  9232. description: 建仓数量
  9233. type: integer
  9234. parentaccountid:
  9235. description: 所属母账户
  9236. type: integer
  9237. releaseamount:
  9238. description: 释放持仓金额[商品币种]
  9239. type: number
  9240. tradeamount:
  9241. description: 成交金额[账户]
  9242. type: number
  9243. tradedate:
  9244. description: 交易日(yyyyMMdd)
  9245. type: string
  9246. tradeid:
  9247. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9248. type: string
  9249. tradetime:
  9250. description: 交易时间
  9251. type: string
  9252. required:
  9253. - buyorsell
  9254. - tradeid
  9255. type: object
  9256. models.Hedgemarketopenlog:
  9257. properties:
  9258. accountid:
  9259. description: 资金账号[外部母账户]
  9260. type: integer
  9261. fcname:
  9262. description: 期货公司名称
  9263. type: string
  9264. handlestatus:
  9265. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  9266. type: integer
  9267. marketid:
  9268. description: 市场ID
  9269. type: integer
  9270. status:
  9271. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  9272. type: integer
  9273. tradedate:
  9274. description: 交易日(yyyyMMdd)
  9275. type: string
  9276. updatetime:
  9277. description: 更新时间
  9278. type: string
  9279. required:
  9280. - accountid
  9281. type: object
  9282. models.HsbyBuyMyPayOrder:
  9283. properties:
  9284. agreeunit:
  9285. description: 合约单位
  9286. type: number
  9287. buyaccountid:
  9288. description: 买方账号ID[报价币种]
  9289. type: integer
  9290. buyorderid:
  9291. description: 买方委托单号
  9292. type: string
  9293. createtime:
  9294. description: 创建时间
  9295. type: string
  9296. currencysign:
  9297. description: 货币符号
  9298. type: string
  9299. decimalplace:
  9300. description: 报价小数位
  9301. type: integer
  9302. goodscode:
  9303. description: 商品代码(内部)
  9304. type: string
  9305. goodsid:
  9306. description: 商品ID
  9307. type: integer
  9308. goodsname:
  9309. description: 商品名称
  9310. type: string
  9311. marketid:
  9312. description: 市场ID
  9313. type: integer
  9314. offamount:
  9315. description: 优惠金额
  9316. type: number
  9317. originalamount:
  9318. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  9319. type: number
  9320. payamount:
  9321. description: 支付金额 = TradeAmount + TradeCharge
  9322. type: number
  9323. payflag:
  9324. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9325. type: integer
  9326. paylimitedtime:
  9327. description: 支付期限
  9328. type: string
  9329. paytime:
  9330. description: 付款时间
  9331. type: string
  9332. picurls1:
  9333. description: 预售商品介绍图片[多张用逗号分隔]
  9334. type: string
  9335. picurls2:
  9336. description: 挂牌商品介绍图片[多张用逗号分隔]
  9337. type: string
  9338. sellaccountid:
  9339. description: 卖方账号ID[报价币种]
  9340. type: integer
  9341. sellorderid:
  9342. description: 卖方委托单号
  9343. type: string
  9344. tradeamount:
  9345. description: 成交金额
  9346. type: number
  9347. tradecharge:
  9348. description: 成交手续费(买方)
  9349. type: number
  9350. tradedate:
  9351. description: 交易日(yyyyMMdd)
  9352. type: string
  9353. tradeid:
  9354. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9355. type: string
  9356. trademode:
  9357. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9358. 21:竞拍-大宗式 22:受托竞价
  9359. type: integer
  9360. tradeprice:
  9361. description: 成交价格
  9362. type: number
  9363. tradeqty:
  9364. description: 成交数量
  9365. type: integer
  9366. vendorname1:
  9367. description: 预售商品供应商名称
  9368. type: string
  9369. vendorname2:
  9370. description: 挂牌商品供应商名称
  9371. type: string
  9372. required:
  9373. - goodscode
  9374. - goodsname
  9375. - tradeid
  9376. - trademode
  9377. type: object
  9378. models.HsbyBuyMyTradeDetail:
  9379. properties:
  9380. accountid:
  9381. description: 账户ID[报价币种]
  9382. type: integer
  9383. agreeunit:
  9384. description: 合约单位
  9385. type: number
  9386. amount:
  9387. description: 金额 = 价格 * 数量 * 合约单位
  9388. type: number
  9389. buyorsell:
  9390. description: 买卖 - 0:买 1:卖
  9391. type: integer
  9392. currencysign:
  9393. description: 货币符号
  9394. type: string
  9395. decimalplace:
  9396. description: 报价小数位
  9397. type: integer
  9398. goodscode:
  9399. description: 商品代码(内部)
  9400. type: string
  9401. goodsid:
  9402. description: 商品ID
  9403. type: integer
  9404. goodsname:
  9405. description: 商品名称
  9406. type: string
  9407. marketid:
  9408. description: 市场ID
  9409. type: integer
  9410. orderamount:
  9411. description: 委托金额
  9412. type: number
  9413. orderid:
  9414. description: 单号(成交单号)
  9415. type: string
  9416. picurls1:
  9417. description: 预售商品介绍图片[多张用逗号分隔]
  9418. type: string
  9419. picurls2:
  9420. description: 挂牌商品介绍图片[多张用逗号分隔]
  9421. type: string
  9422. price:
  9423. description: 价格
  9424. type: number
  9425. qty:
  9426. description: 数量
  9427. type: integer
  9428. time:
  9429. description: 时间
  9430. type: string
  9431. trademode:
  9432. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9433. 21:竞拍-大宗式 22:受托竞价
  9434. type: integer
  9435. vendorname1:
  9436. description: 预售商品供应商名称
  9437. type: string
  9438. vendorname2:
  9439. description: 挂牌商品供应商名称
  9440. type: string
  9441. required:
  9442. - accountid
  9443. - buyorsell
  9444. - goodscode
  9445. - goodsid
  9446. - goodsname
  9447. - marketid
  9448. - orderid
  9449. - qty
  9450. - time
  9451. - trademode
  9452. type: object
  9453. models.HsbyGoodsOrderDetail:
  9454. properties:
  9455. buyorsell:
  9456. description: 买卖 - 0:买 1:卖
  9457. type: integer
  9458. currencysign:
  9459. description: 货币符号
  9460. type: string
  9461. customername:
  9462. description: 客户名称(企业名称),已脱敏
  9463. type: string
  9464. enableqty:
  9465. description: 可用数量
  9466. type: integer
  9467. goodunit:
  9468. description: 报价单位
  9469. type: string
  9470. orderid:
  9471. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9472. type: string
  9473. orderprice:
  9474. description: 委托价格
  9475. type: number
  9476. ordertime:
  9477. description: 委托时间
  9478. type: string
  9479. required:
  9480. - buyorsell
  9481. - orderid
  9482. - ordertime
  9483. type: object
  9484. models.HsbyListingGoodsDetail:
  9485. properties:
  9486. agreeunit:
  9487. description: 合约单位
  9488. type: number
  9489. buymaxqty:
  9490. description: 购买上限 [71] - 0为不限
  9491. type: integer
  9492. currency:
  9493. description: 货币
  9494. type: string
  9495. currencysign:
  9496. description: 货币符号
  9497. type: string
  9498. decimalplace:
  9499. description: 报价小数位
  9500. type: integer
  9501. desccityid:
  9502. description: 目的地(市)ID
  9503. type: integer
  9504. descprovinceid:
  9505. description: 目的地(省)ID
  9506. type: integer
  9507. goodscode:
  9508. description: 商品代码(内部)
  9509. type: string
  9510. goodsdesc:
  9511. description: 商品详情
  9512. type: string
  9513. goodsid:
  9514. description: 商品ID(自增ID SEQ_GOODS)
  9515. type: integer
  9516. goodsname:
  9517. description: 商品名称
  9518. type: string
  9519. goodsprice:
  9520. description: 商品价格
  9521. type: number
  9522. hotindex:
  9523. description: 景点热度
  9524. type: integer
  9525. last:
  9526. description: 现价
  9527. type: number
  9528. limitdown:
  9529. description: 跌停价
  9530. type: number
  9531. limitup:
  9532. description: 涨停价
  9533. type: number
  9534. lotsize:
  9535. description: 手数最小变动单位
  9536. type: integer
  9537. marketid:
  9538. description: 所属市场ID
  9539. type: integer
  9540. picurls:
  9541. description: 介绍图片[多张用逗号分隔]
  9542. type: string
  9543. quoteminunit:
  9544. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9545. type: integer
  9546. stepvalue:
  9547. description: 价格最小变动单位
  9548. type: number
  9549. trademode:
  9550. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9551. 21:竞拍-大宗式 22:受托竞价
  9552. type: integer
  9553. vendorattr:
  9554. description: 供应商附件(多张,逗号分隔)
  9555. type: string
  9556. vendorname:
  9557. description: 供应商名称
  9558. type: string
  9559. vendorphone:
  9560. description: 供应商客服电话
  9561. type: string
  9562. videourls:
  9563. description: 介绍视频[多张用逗号分隔]
  9564. type: string
  9565. required:
  9566. - goodscode
  9567. - goodsid
  9568. - goodsname
  9569. - marketid
  9570. - trademode
  9571. type: object
  9572. models.HsbyMarketGoods:
  9573. properties:
  9574. accountid:
  9575. description: 账户ID[报价币种]
  9576. type: integer
  9577. agreeunit:
  9578. description: 合约单位
  9579. type: number
  9580. buyorsell:
  9581. description: 买卖 - 0:买 1:卖
  9582. type: integer
  9583. categoryid:
  9584. description: 类别ID(WRCATEGORY)
  9585. type: integer
  9586. currency:
  9587. description: 货币
  9588. type: string
  9589. currencysign:
  9590. description: 货币符号
  9591. type: string
  9592. customername:
  9593. description: 卖家名称
  9594. type: string
  9595. decimalplace:
  9596. description: 报价小数位
  9597. type: integer
  9598. goodscode:
  9599. description: 商品代码(内部)
  9600. type: string
  9601. goodsid:
  9602. description: 商品ID
  9603. type: integer
  9604. goodsname:
  9605. description: 商品名称
  9606. type: string
  9607. goodsprice:
  9608. description: 商品价格
  9609. type: number
  9610. hascoupon:
  9611. description: 是否可用优惠卷
  9612. type: boolean
  9613. hotindex:
  9614. description: 景点热度
  9615. type: integer
  9616. marketid:
  9617. description: 市场ID
  9618. type: integer
  9619. orderid:
  9620. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9621. type: string
  9622. orderprice:
  9623. description: 委托价格
  9624. type: number
  9625. orderstatus:
  9626. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9627. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9628. 16:成交失败违约(荷兰式竞拍专用)
  9629. type: integer
  9630. picurls:
  9631. description: 介绍图片[多张用逗号分隔]
  9632. type: string
  9633. quoteminunit:
  9634. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9635. type: integer
  9636. sellUserID:
  9637. description: 卖方UserID
  9638. type: integer
  9639. trademode:
  9640. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9641. 21:竞拍-大宗式 22:受托竞价
  9642. type: integer
  9643. videourls:
  9644. description: 介绍视频[多张用逗号分隔]
  9645. type: string
  9646. required:
  9647. - accountid
  9648. - buyorsell
  9649. - goodscode
  9650. - goodsid
  9651. - goodsname
  9652. - marketid
  9653. - orderid
  9654. - trademode
  9655. type: object
  9656. models.HsbyMarketGoodsDetail:
  9657. properties:
  9658. accountid:
  9659. description: 账户ID[报价币种]
  9660. type: integer
  9661. agreeunit:
  9662. description: 合约单位
  9663. type: number
  9664. buymaxqty:
  9665. description: 购买上限 [71] - 0为不限
  9666. type: integer
  9667. buyorsell:
  9668. description: 买卖 - 0:买 1:卖
  9669. type: integer
  9670. cancelqty:
  9671. description: 撤单数量
  9672. type: integer
  9673. categoryid:
  9674. description: 类别ID(WRCATEGORY)
  9675. type: integer
  9676. currency:
  9677. description: 货币
  9678. type: string
  9679. currencysign:
  9680. description: 货币符号
  9681. type: string
  9682. customername:
  9683. description: 卖家名称
  9684. type: string
  9685. decimalplace:
  9686. description: 报价小数位
  9687. type: integer
  9688. goodscode:
  9689. description: 商品代码(内部)
  9690. type: string
  9691. goodsdesc:
  9692. description: 商品详情
  9693. type: string
  9694. goodsid:
  9695. description: 商品ID
  9696. type: integer
  9697. goodsname:
  9698. description: 商品名称
  9699. type: string
  9700. goodsprice:
  9701. description: 商品价格
  9702. type: number
  9703. hotindex:
  9704. description: 景点热度
  9705. type: integer
  9706. lotsize:
  9707. description: 手数最小变动单位
  9708. type: integer
  9709. marketid:
  9710. description: 市场ID
  9711. type: integer
  9712. orderid:
  9713. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9714. type: string
  9715. orderprice:
  9716. description: 委托价格
  9717. type: number
  9718. orderqty:
  9719. description: 委托数量
  9720. type: integer
  9721. orderstatus:
  9722. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9723. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9724. 16:成交失败违约(荷兰式竞拍专用)
  9725. type: integer
  9726. picurls:
  9727. description: 介绍图片[多张用逗号分隔]
  9728. type: string
  9729. quoteminunit:
  9730. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9731. type: integer
  9732. sellUserID:
  9733. description: 卖方UserID
  9734. type: integer
  9735. trademode:
  9736. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9737. 21:竞拍-大宗式 22:受托竞价
  9738. type: integer
  9739. tradeqty:
  9740. description: 成交数量
  9741. type: integer
  9742. vendorattr:
  9743. description: 供应商附件(多张,逗号分隔)
  9744. type: string
  9745. vendorname:
  9746. description: 供应商名称
  9747. type: string
  9748. vendorphone:
  9749. description: 供应商客服电话
  9750. type: string
  9751. videourls:
  9752. description: 介绍视频[多张用逗号分隔]
  9753. type: string
  9754. required:
  9755. - accountid
  9756. - buyorsell
  9757. - goodscode
  9758. - goodsid
  9759. - goodsname
  9760. - marketid
  9761. - orderid
  9762. - orderqty
  9763. - trademode
  9764. type: object
  9765. models.HsbyMarketInfo:
  9766. properties:
  9767. marketid:
  9768. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9769. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9770. type: integer
  9771. marketname:
  9772. description: 市场名称
  9773. type: string
  9774. marketstatus:
  9775. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9776. type: integer
  9777. trademode:
  9778. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9779. 21:竞拍-大宗式 22:受托竞价
  9780. type: integer
  9781. required:
  9782. - marketid
  9783. - marketstatus
  9784. - trademode
  9785. type: object
  9786. models.HsbyMyGoods:
  9787. properties:
  9788. accountid:
  9789. description: 账号Id
  9790. type: integer
  9791. agreeunit:
  9792. description: 合约单位
  9793. type: number
  9794. buyaverageprice:
  9795. description: 持仓均价
  9796. type: number
  9797. buycurholderamount:
  9798. description: 买当前持仓总金额[商品币种]
  9799. type: number
  9800. buycurpositionqty:
  9801. description: 买当前持仓总数量
  9802. type: integer
  9803. buymaxqty:
  9804. description: 购买上限 [71] - 0为不限
  9805. type: integer
  9806. currencysign:
  9807. description: 货币符号
  9808. type: string
  9809. decimalplace:
  9810. description: 报价小数位
  9811. type: integer
  9812. enableqty:
  9813. description: 可用数量
  9814. type: integer
  9815. goodscode:
  9816. description: 商品代码(内部)
  9817. type: string
  9818. goodsid:
  9819. description: 商品Id
  9820. type: integer
  9821. goodsname:
  9822. description: 商品名称
  9823. type: string
  9824. goodsprice:
  9825. description: 商品价格
  9826. type: number
  9827. goodsstatus:
  9828. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9829. type: integer
  9830. last:
  9831. description: 现价(仅使用于挂牌点选)
  9832. type: number
  9833. limitdown:
  9834. description: 跌停价(仅使用于挂牌点选)
  9835. type: number
  9836. limitup:
  9837. description: 涨停价(仅使用于挂牌点选)
  9838. type: number
  9839. lotsize:
  9840. description: 手数最小变动单位
  9841. type: integer
  9842. marketid:
  9843. description: 所属市场ID
  9844. type: integer
  9845. picurls:
  9846. description: 介绍图片[多张用逗号分隔]
  9847. type: string
  9848. quoteminunit:
  9849. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9850. type: integer
  9851. stepvalue:
  9852. description: 价格最小变动单位
  9853. type: number
  9854. trademode:
  9855. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9856. 21:竞拍-大宗式 22:受托竞价
  9857. type: integer
  9858. required:
  9859. - accountid
  9860. - goodscode
  9861. - goodsid
  9862. - goodsname
  9863. - marketid
  9864. - trademode
  9865. type: object
  9866. models.HsbyMyPackage:
  9867. properties:
  9868. accountid:
  9869. description: 账户ID
  9870. type: integer
  9871. address:
  9872. description: 提货人详细地址
  9873. type: string
  9874. agreeunit:
  9875. description: 合约单位
  9876. type: number
  9877. amount:
  9878. description: 提货金额
  9879. type: number
  9880. auditer:
  9881. description: 审核人
  9882. type: integer
  9883. audittime:
  9884. description: 审核时间
  9885. type: string
  9886. averageprice:
  9887. description: 均价
  9888. type: number
  9889. cardnum:
  9890. description: 提货人证件号码
  9891. type: string
  9892. cardtypeid:
  9893. description: 提货人证件类型
  9894. type: integer
  9895. checkremark:
  9896. description: 审核备注
  9897. type: string
  9898. currencysign:
  9899. description: 货币符号
  9900. type: string
  9901. decimalplace:
  9902. description: 报价小数位
  9903. type: integer
  9904. goodscode:
  9905. description: 商品代码(内部)
  9906. type: string
  9907. goodsid:
  9908. description: 商品ID
  9909. type: integer
  9910. goodsname:
  9911. description: 商品名称
  9912. type: string
  9913. handlestatus:
  9914. description: 处理状态
  9915. type: integer
  9916. marketid:
  9917. description: 市场ID
  9918. type: integer
  9919. phonenum:
  9920. description: 提货人联系方式
  9921. type: string
  9922. picurls:
  9923. description: 介绍图片[多张用逗号分隔]
  9924. type: string
  9925. qty:
  9926. description: 提货数量
  9927. type: number
  9928. recivername:
  9929. description: 提货人姓名
  9930. type: string
  9931. reqtime:
  9932. description: 更新时间
  9933. type: string
  9934. takemode:
  9935. description: 提货方式 - 2:自提 3:配送
  9936. type: integer
  9937. takeorderid:
  9938. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9939. type: string
  9940. takeorderstatus:
  9941. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9942. type: integer
  9943. takeremark:
  9944. description: 提货备注
  9945. type: string
  9946. tradedate:
  9947. description: 交易日(yyyyMMdd)
  9948. type: string
  9949. trademode:
  9950. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9951. 21:竞拍-大宗式 22:受托竞价
  9952. type: integer
  9953. userid:
  9954. description: 用户ID
  9955. type: integer
  9956. vendorname:
  9957. description: 供应商名称
  9958. type: string
  9959. required:
  9960. - goodscode
  9961. - goodsname
  9962. - takeorderid
  9963. - trademode
  9964. type: object
  9965. models.HsbyPreGoods:
  9966. properties:
  9967. agreeunit:
  9968. description: 合约单位
  9969. type: number
  9970. currency:
  9971. description: 货币
  9972. type: string
  9973. currencysign:
  9974. description: 货币符号
  9975. type: string
  9976. decimalplace:
  9977. description: 报价小数位
  9978. type: integer
  9979. desccityid:
  9980. description: 目的地(市)
  9981. type: integer
  9982. descprovinceid:
  9983. description: 目的地(省)
  9984. type: integer
  9985. enableqty:
  9986. description: 剩余数量
  9987. type: integer
  9988. goodscode:
  9989. description: 商品代码(内部)
  9990. type: string
  9991. goodsid:
  9992. description: 商品ID(自增ID SEQ_GOODS)
  9993. type: integer
  9994. goodsname:
  9995. description: 商品名称
  9996. type: string
  9997. goodsstatus:
  9998. description: 商品状态- 2:未上市 3:上市
  9999. type: integer
  10000. lasttradedate:
  10001. description: 最后交易日期(状态:待退市)
  10002. type: string
  10003. listingdate:
  10004. description: 交易开始日期
  10005. type: string
  10006. marketid:
  10007. description: 所属市场ID
  10008. type: integer
  10009. picurls:
  10010. description: 介绍图片[多张用逗号分隔]
  10011. type: string
  10012. presaledqty:
  10013. description: 已预售量(预售结束时更新)
  10014. type: integer
  10015. presaleqty:
  10016. description: 预售数量
  10017. type: integer
  10018. quoteminunit:
  10019. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10020. type: integer
  10021. refprice:
  10022. description: 参考价格[一口价]
  10023. type: number
  10024. relatedgoodsid:
  10025. description: 关联交易合约ID
  10026. type: integer
  10027. trademode:
  10028. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10029. 21:竞拍-大宗式 22:受托竞价
  10030. type: integer
  10031. videourls:
  10032. description: 介绍视频[多张用逗号分隔]
  10033. type: string
  10034. required:
  10035. - goodscode
  10036. - goodsid
  10037. - goodsname
  10038. - marketid
  10039. - trademode
  10040. type: object
  10041. models.HsbyPreGoodsDetail:
  10042. properties:
  10043. agreeunit:
  10044. description: 合约单位
  10045. type: number
  10046. buymaxqty:
  10047. description: 购买上限 [71] - 0为不限
  10048. type: integer
  10049. currency:
  10050. description: 货币
  10051. type: string
  10052. currencysign:
  10053. description: 货币符号
  10054. type: string
  10055. customername:
  10056. description: 发行单位
  10057. type: string
  10058. decimalplace:
  10059. description: 报价小数位
  10060. type: integer
  10061. desccityid:
  10062. description: 目的地(市)ID
  10063. type: integer
  10064. descprovinceid:
  10065. description: 目的地(省)ID
  10066. type: integer
  10067. enableqty:
  10068. description: 剩余数量
  10069. type: integer
  10070. goodscode:
  10071. description: 商品代码(内部)
  10072. type: string
  10073. goodsdesc:
  10074. description: 商品详情
  10075. type: string
  10076. goodsid:
  10077. description: 商品ID(自增ID SEQ_GOODS)
  10078. type: integer
  10079. goodsname:
  10080. description: 商品名称
  10081. type: string
  10082. goodsstatus:
  10083. description: 商品状态- 2:未上市 3:上市
  10084. type: integer
  10085. goodunit:
  10086. description: 报价单位
  10087. type: string
  10088. lasttradedate:
  10089. description: 最后交易日期(状态:待退市)
  10090. type: string
  10091. listingdate:
  10092. description: 交易开始日期
  10093. type: string
  10094. lotsize:
  10095. description: 手数最小变动单位
  10096. type: integer
  10097. marketid:
  10098. description: 所属市场ID
  10099. type: integer
  10100. picurls:
  10101. description: 介绍图片[多张用逗号分隔]
  10102. type: string
  10103. presaledqty:
  10104. description: 已预售量(预售结束时更新)
  10105. type: integer
  10106. presaleqty:
  10107. description: 预售数量
  10108. type: integer
  10109. quoteminunit:
  10110. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10111. type: integer
  10112. refprice:
  10113. description: 参考价格[一口价]
  10114. type: number
  10115. relatedgoodsid:
  10116. description: 关联交易合约ID
  10117. type: integer
  10118. stepvalue:
  10119. description: 价格最小变动单位
  10120. type: number
  10121. trademode:
  10122. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10123. 21:竞拍-大宗式 22:受托竞价
  10124. type: integer
  10125. vendorattr:
  10126. description: 供应商附件(多张,逗号分隔)
  10127. type: string
  10128. vendorname:
  10129. description: 供应商名称
  10130. type: string
  10131. vendorphone:
  10132. description: 供应商客服电话
  10133. type: string
  10134. videourls:
  10135. description: 介绍视频[多张用逗号分隔]
  10136. type: string
  10137. required:
  10138. - goodscode
  10139. - goodsid
  10140. - goodsname
  10141. - marketid
  10142. - trademode
  10143. type: object
  10144. models.HsbySellCollectionOrder:
  10145. properties:
  10146. agreeunit:
  10147. description: 合约单位
  10148. type: number
  10149. buyaccountid:
  10150. description: 买方账号ID[报价币种]
  10151. type: integer
  10152. buyorderid:
  10153. description: 买方委托单号
  10154. type: string
  10155. createtime:
  10156. description: 创建时间
  10157. type: string
  10158. currencysign:
  10159. description: 货币符号
  10160. type: string
  10161. decimalplace:
  10162. description: 报价小数位
  10163. type: integer
  10164. goodscode:
  10165. description: 商品代码(内部)
  10166. type: string
  10167. goodsid:
  10168. description: 商品ID
  10169. type: integer
  10170. goodsname:
  10171. description: 商品名称
  10172. type: string
  10173. marketid:
  10174. description: 市场ID
  10175. type: integer
  10176. offamount:
  10177. description: 优惠金额
  10178. type: number
  10179. payamount:
  10180. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  10181. type: number
  10182. payflag:
  10183. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  10184. type: integer
  10185. paylimitedtime:
  10186. description: 支付期限
  10187. type: string
  10188. paytime:
  10189. description: 付款时间
  10190. type: string
  10191. picurls:
  10192. description: 商品介绍图片[多张用逗号分隔]
  10193. type: string
  10194. sellaccountid:
  10195. description: 卖方账号ID[报价币种]
  10196. type: integer
  10197. sellorderid:
  10198. description: 卖方委托单号
  10199. type: string
  10200. tradeamount:
  10201. description: 成交金额
  10202. type: number
  10203. tradecharge:
  10204. description: 成交手续费(买方)
  10205. type: number
  10206. tradedate:
  10207. description: 交易日(yyyyMMdd)
  10208. type: string
  10209. tradeid:
  10210. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10211. type: string
  10212. trademode:
  10213. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10214. 21:竞拍-大宗式 22:受托竞价
  10215. type: integer
  10216. tradeprice:
  10217. description: 成交价格
  10218. type: number
  10219. tradeqty:
  10220. description: 成交数量
  10221. type: integer
  10222. required:
  10223. - goodscode
  10224. - goodsname
  10225. - tradeid
  10226. - trademode
  10227. type: object
  10228. models.HsbySellMyDetail:
  10229. properties:
  10230. accountid:
  10231. description: 账户ID[报价币种]
  10232. type: integer
  10233. agreeunit:
  10234. description: 合约单位
  10235. type: number
  10236. buyorsell:
  10237. description: 买卖 - 0:买 1:卖
  10238. type: integer
  10239. currencysign:
  10240. description: 货币符号
  10241. type: string
  10242. decimalplace:
  10243. description: 报价小数位
  10244. type: integer
  10245. goodscode:
  10246. description: 商品代码(内部)
  10247. type: string
  10248. goodsid:
  10249. description: 商品ID
  10250. type: integer
  10251. goodsname:
  10252. description: 商品名称
  10253. type: string
  10254. marketid:
  10255. description: 市场ID
  10256. type: integer
  10257. orderid:
  10258. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  10259. type: string
  10260. ordertype:
  10261. description: 单据类型:0 - 发布中, 1 - 已完成
  10262. type: integer
  10263. picurls:
  10264. description: 介绍图片[多张用逗号分隔]
  10265. type: string
  10266. price:
  10267. description: 价格
  10268. type: number
  10269. qty:
  10270. description: 数量
  10271. type: integer
  10272. time:
  10273. description: 时间
  10274. type: string
  10275. trademode:
  10276. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10277. 21:竞拍-大宗式 22:受托竞价
  10278. type: integer
  10279. vendorname:
  10280. description: 供应商名称
  10281. type: string
  10282. required:
  10283. - accountid
  10284. - buyorsell
  10285. - goodscode
  10286. - goodsid
  10287. - goodsname
  10288. - marketid
  10289. - orderid
  10290. - time
  10291. - trademode
  10292. type: object
  10293. models.HsbyTopGoods:
  10294. properties:
  10295. agreeunit:
  10296. description: 合约单位
  10297. type: number
  10298. currency:
  10299. description: 货币
  10300. type: string
  10301. currencysign:
  10302. description: 货币符号
  10303. type: string
  10304. decimalplace:
  10305. description: 报价小数位
  10306. type: integer
  10307. desccityid:
  10308. description: 目的地(市)
  10309. type: integer
  10310. descprovinceid:
  10311. description: 目的地(省)
  10312. type: integer
  10313. goodscode:
  10314. description: 商品代码(内部)
  10315. type: string
  10316. goodsid:
  10317. description: 商品ID(自增ID SEQ_GOODS)
  10318. type: integer
  10319. goodsname:
  10320. description: 商品名称
  10321. type: string
  10322. hotindex:
  10323. description: 景点热度
  10324. type: integer
  10325. last:
  10326. description: 现价
  10327. type: number
  10328. marketid:
  10329. description: 所属市场ID
  10330. type: integer
  10331. picurls:
  10332. description: 介绍图片[多张用逗号分隔]
  10333. type: string
  10334. quoteminunit:
  10335. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10336. type: integer
  10337. trademode:
  10338. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10339. 21:竞拍-大宗式 22:受托竞价
  10340. type: integer
  10341. videourls:
  10342. description: 介绍视频[多张用逗号分隔]
  10343. type: string
  10344. required:
  10345. - goodscode
  10346. - goodsid
  10347. - goodsname
  10348. - marketid
  10349. - trademode
  10350. type: object
  10351. models.HybsMyBuyOrderDetail:
  10352. properties:
  10353. accountid:
  10354. description: 账户ID[报价币种]
  10355. type: integer
  10356. agreeunit:
  10357. description: 合约单位
  10358. type: number
  10359. buyorsell:
  10360. description: 买卖 - 0:买 1:卖
  10361. type: integer
  10362. cancelqty:
  10363. description: 撤单数量
  10364. type: integer
  10365. currencysign:
  10366. description: 货币符号
  10367. type: string
  10368. decimalplace:
  10369. description: 报价小数位
  10370. type: integer
  10371. goodscode:
  10372. description: 商品代码(内部)
  10373. type: string
  10374. goodsid:
  10375. description: 商品ID
  10376. type: integer
  10377. goodsname:
  10378. description: 商品名称
  10379. type: string
  10380. listingselecttype:
  10381. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10382. type: integer
  10383. marketid:
  10384. description: 市场ID
  10385. type: integer
  10386. mybuystatus:
  10387. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  10388. type: integer
  10389. orderamount:
  10390. description: 委托金额
  10391. type: number
  10392. orderid:
  10393. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10394. type: string
  10395. orderprice:
  10396. description: 委托价格
  10397. type: number
  10398. orderqty:
  10399. description: 委托数量
  10400. type: integer
  10401. orderstatus:
  10402. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10403. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10404. 16:成交失败违约(荷兰式竞拍专用)
  10405. type: integer
  10406. ordertime:
  10407. description: 委托时间
  10408. type: string
  10409. picurls1:
  10410. description: 预售商品介绍图片[多张用逗号分隔]
  10411. type: string
  10412. picurls2:
  10413. description: 挂牌商品介绍图片[多张用逗号分隔]
  10414. type: string
  10415. trademode:
  10416. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10417. 21:竞拍-大宗式 22:受托竞价
  10418. type: integer
  10419. tradeqty:
  10420. description: 成交数量
  10421. type: integer
  10422. vendorname1:
  10423. description: 预售商品供应商名称
  10424. type: string
  10425. vendorname2:
  10426. description: 挂牌商品供应商名称
  10427. type: string
  10428. required:
  10429. - accountid
  10430. - buyorsell
  10431. - goodscode
  10432. - goodsid
  10433. - goodsname
  10434. - marketid
  10435. - orderid
  10436. - orderqty
  10437. - ordertime
  10438. - trademode
  10439. type: object
  10440. models.InternalEnableTradeDetail:
  10441. properties:
  10442. areauserid:
  10443. description: 企业ID
  10444. type: integer
  10445. deliverygoodscode:
  10446. description: 现货品种代码
  10447. type: string
  10448. deliverygoodsid:
  10449. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10450. type: integer
  10451. deliverygoodsname:
  10452. description: 现货品种名称
  10453. type: string
  10454. futurehedgeqty:
  10455. description: '[已关联数量]期货持仓套期量'
  10456. type: number
  10457. goodsid:
  10458. description: 期货合约ID
  10459. type: integer
  10460. hedgeditemnum:
  10461. description: 项目编号
  10462. type: string
  10463. unexehedgeqty:
  10464. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10465. type: number
  10466. unexespotqty:
  10467. description: 未执行现货量
  10468. type: number
  10469. wrstandardcode:
  10470. description: 现货品类代码
  10471. type: string
  10472. wrstandardid:
  10473. description: 现货品类ID(SEQ_WRSTANDARD)
  10474. type: integer
  10475. wrstandardname:
  10476. description: 现货品类名称
  10477. type: string
  10478. required:
  10479. - areauserid
  10480. - goodsid
  10481. type: object
  10482. models.InternalUncorrelatedTradeDetail:
  10483. properties:
  10484. accountid:
  10485. description: 账号ID
  10486. type: integer
  10487. accountname:
  10488. description: 套期主体
  10489. type: string
  10490. agreeunit:
  10491. description: 合约乘数
  10492. type: number
  10493. areauserid:
  10494. description: 所属机构
  10495. type: integer
  10496. bizsubjectid:
  10497. description: 归属业务部门ID - SubjectID
  10498. type: integer
  10499. buyorsell:
  10500. description: 方向 - 0:买 1:卖
  10501. type: integer
  10502. channelbuildtype:
  10503. description: 委托单据类型 0:无 1:建仓 2:平仓
  10504. type: integer
  10505. convertratio:
  10506. description: 品种系数
  10507. type: number
  10508. createtime:
  10509. description: 创建时间
  10510. type: string
  10511. creatorid:
  10512. description: 创建人ID
  10513. type: integer
  10514. creatorsrc:
  10515. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10516. type: integer
  10517. enableqty:
  10518. description: 项目可关联手数 = 成交手数 - 关联数量
  10519. type: number
  10520. goodscode:
  10521. description: 合约代码
  10522. type: string
  10523. goodsgroupid:
  10524. description: 对冲品种ID[期货合约商品组ID]
  10525. type: integer
  10526. goodsid:
  10527. description: 商品ID
  10528. type: integer
  10529. goodsname:
  10530. description: 合约名称
  10531. type: string
  10532. hedgeditemid:
  10533. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10534. type: integer
  10535. hedgeflag:
  10536. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10537. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10538. type: integer
  10539. linkdetailid:
  10540. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10541. type: string
  10542. linkstatus:
  10543. description: 关联状态 - 1:成功 2:失败 3:解绑
  10544. type: integer
  10545. middlegoodsid:
  10546. description: 套保品种ID
  10547. type: integer
  10548. relatedlot:
  10549. description: '[数量]关联手数'
  10550. type: number
  10551. relatedmode:
  10552. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10553. type: integer
  10554. relatedqty:
  10555. description: '[套期商品数量]关联数量 = RelatedLot * AgreeUnit * ConvertRatio'
  10556. type: number
  10557. retcode:
  10558. description: 返回码
  10559. type: integer
  10560. saleuserid:
  10561. description: 业务员ID
  10562. type: integer
  10563. tradedate:
  10564. description: 关联交易日(yyyyMMdd)
  10565. type: string
  10566. tradeid:
  10567. description: 成交单号
  10568. type: string
  10569. tradelot:
  10570. description: 成交手数
  10571. type: integer
  10572. tradeprice:
  10573. description: 成交价
  10574. type: number
  10575. tradetime:
  10576. description: 成交时间
  10577. type: string
  10578. tradetradedate:
  10579. description: 成交交易日(yyyyMMdd)
  10580. type: string
  10581. type: object
  10582. models.Loginaccount:
  10583. properties:
  10584. accountname:
  10585. description: 账户名称
  10586. type: string
  10587. canoutin:
  10588. description: 是否可出入金 - 0:不可 1:可
  10589. type: integer
  10590. clientroleid:
  10591. description: 终端角色ID
  10592. type: integer
  10593. haslogined:
  10594. description: 是否已登录 - 0:未登录 1:已登录
  10595. type: integer
  10596. hasupdatedpwd:
  10597. description: 是否已更改密码 - 0:未修改 1:已修改
  10598. type: integer
  10599. lastloginip:
  10600. description: 最新登录地址
  10601. type: string
  10602. lastloginmode:
  10603. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10604. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10605. type: integer
  10606. lastloginremark:
  10607. description: 最新登录描述
  10608. type: string
  10609. lastlogintime:
  10610. description: 最新登录时间
  10611. type: string
  10612. logincode:
  10613. description: 登录代码
  10614. type: string
  10615. loginfailnum:
  10616. description: 连续登录失败次数(登录成功时清零)
  10617. type: integer
  10618. loginid:
  10619. description: 登陆账号
  10620. type: integer
  10621. loginport:
  10622. description: 最新登录端口
  10623. type: integer
  10624. loginstatus:
  10625. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10626. type: integer
  10627. loginusertype:
  10628. description: 登录账号类型 - 1:投资者 2:机构交易员
  10629. type: integer
  10630. mobile:
  10631. description: 手机号码(加密存储)
  10632. type: string
  10633. modifierid:
  10634. description: 修改人
  10635. type: integer
  10636. modifysrc:
  10637. description: 审核来源 - 1:管理端 2:终端
  10638. type: integer
  10639. modifytime:
  10640. description: 修改时间
  10641. type: string
  10642. password:
  10643. description: 登陆密码
  10644. type: string
  10645. pwdwrongcount:
  10646. description: 密码错误次数
  10647. type: integer
  10648. relateduserid:
  10649. description: 关联用户ID(机构)
  10650. type: integer
  10651. taaccountrighttype:
  10652. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  10653. type: integer
  10654. unfreezetime:
  10655. description: 账户解冻时间
  10656. type: string
  10657. userid:
  10658. description: 用户ID
  10659. type: integer
  10660. required:
  10661. - loginid
  10662. type: object
  10663. models.MainAccountInfo:
  10664. properties:
  10665. accountid:
  10666. description: 账号id
  10667. type: integer
  10668. accountname:
  10669. description: 账号名称(taaccount表中的名称)
  10670. type: string
  10671. appid:
  10672. description: AppID
  10673. type: string
  10674. authcode:
  10675. description: 授权码
  10676. type: string
  10677. brokerid:
  10678. description: 经纪商id
  10679. type: string
  10680. fcid:
  10681. description: 期货公司id
  10682. type: integer
  10683. fcname:
  10684. description: 期货公司代码
  10685. type: string
  10686. hedgeaccountcode:
  10687. description: 外部账号代码(主账号登录代码)
  10688. type: string
  10689. hedgeaccountpwd:
  10690. description: 密码
  10691. type: string
  10692. ismain:
  10693. description: 是否主账号
  10694. type: integer
  10695. relateduserid:
  10696. description: 关联用户id
  10697. type: integer
  10698. userid:
  10699. description: 关联用户id
  10700. type: integer
  10701. type: object
  10702. models.Market:
  10703. properties:
  10704. auctionwrtype:
  10705. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  10706. type: integer
  10707. canacceptquote:
  10708. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  10709. type: integer
  10710. cangoodsexercise:
  10711. description: '[期权]是否可现货行权- 0:否 1:是'
  10712. type: integer
  10713. cangoodsexercisetype:
  10714. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  10715. type: integer
  10716. canmanualquotestrike:
  10717. description: 是否可手动报行权价- 0:否 1:是 [期权]
  10718. type: integer
  10719. canmutistage:
  10720. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  10721. type: integer
  10722. canpreexercise:
  10723. description: '[期权]是否可预申报- 0:否 1:是'
  10724. type: integer
  10725. clearinterval:
  10726. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  10727. type: integer
  10728. contracttmp:
  10729. description: 合同模板[荷兰式][竞价式][仓单贸易]
  10730. type: string
  10731. exchareaid:
  10732. description: 所属交易所,可以没有
  10733. type: integer
  10734. goodstype:
  10735. description: 商品类型 - 1:交易商品 2:仓单商品
  10736. type: integer
  10737. hasrebate:
  10738. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  10739. type: integer
  10740. hastradecredit:
  10741. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  10742. type: integer
  10743. haswr:
  10744. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  10745. type: integer
  10746. isdeductmargin:
  10747. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  10748. type: integer
  10749. isrecordsource:
  10750. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  10751. type: integer
  10752. isreleasemargin:
  10753. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  10754. type: integer
  10755. marginformula:
  10756. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10757. type: integer
  10758. marginformula2:
  10759. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  10760. type: integer
  10761. marketid:
  10762. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  10763. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  10764. type: integer
  10765. marketname:
  10766. description: 市场名称
  10767. type: string
  10768. marketserviceid:
  10769. description: 市场服务ID
  10770. type: integer
  10771. marketstatus:
  10772. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  10773. type: integer
  10774. markettype:
  10775. description: 市场类型- 1:非交易服务 2:交易服务
  10776. type: integer
  10777. matchermode:
  10778. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  10779. type: integer
  10780. openmethod:
  10781. description: 开盘模式 - 0 自动 1手动
  10782. type: integer
  10783. otcuserid:
  10784. description: 场外期权做市商[场外期权]
  10785. type: integer
  10786. outersynctime:
  10787. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10788. type: string
  10789. pendingflag:
  10790. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10791. type: integer
  10792. pendingtime:
  10793. description: 待开市时间[通道交易-对冲](HH:mm)
  10794. type: string
  10795. performancetempid:
  10796. description: 履约计划模板ID - 作废
  10797. type: integer
  10798. premiumquotemode:
  10799. description: 权利金报价方式 - 1:自动 2:手动
  10800. type: integer
  10801. rebateratio:
  10802. description: 返利比率[竞价式]
  10803. type: number
  10804. reckonorder:
  10805. description: 结算顺序
  10806. type: integer
  10807. reckonpricealgorithm:
  10808. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10809. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10810. type: integer
  10811. reckonpriceparam:
  10812. description: 结算价参数
  10813. type: integer
  10814. reckontime:
  10815. description: 结算时间[通道交易-对冲](HH:mm)
  10816. type: string
  10817. roleprioritytype:
  10818. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10819. type: integer
  10820. selllistingauditflag:
  10821. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10822. type: integer
  10823. trademarkettype:
  10824. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10825. type: integer
  10826. trademode:
  10827. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10828. 21:竞拍-大宗式 22:受托竞价
  10829. type: integer
  10830. tradeproperty:
  10831. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10832. 8:场外期权
  10833. type: integer
  10834. tradetype:
  10835. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10836. type: integer
  10837. required:
  10838. - marketid
  10839. - marketstatus
  10840. - openmethod
  10841. - reckonpricealgorithm
  10842. - trademode
  10843. - tradeproperty
  10844. type: object
  10845. models.Marketrun:
  10846. properties:
  10847. afternexttradedate:
  10848. description: 下下交易日
  10849. type: string
  10850. clearquoteflag:
  10851. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10852. type: integer
  10853. lastreckondate:
  10854. description: 最新交易日(结算成功)
  10855. type: string
  10856. machinedate:
  10857. description: 机器时间
  10858. type: string
  10859. manualflag:
  10860. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10861. type: integer
  10862. marketid:
  10863. description: 市场ID
  10864. type: integer
  10865. nexttradedate:
  10866. description: 下一交易日
  10867. type: string
  10868. pretradedate:
  10869. description: 上一交易日
  10870. type: string
  10871. reckonflag:
  10872. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10873. type: integer
  10874. runstatus:
  10875. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10876. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10877. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10878. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10879. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10880. 62.今日免清算
  10881. type: integer
  10882. sectionid:
  10883. description: 时间段号[多时段时用]
  10884. type: integer
  10885. tradedate:
  10886. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10887. type: string
  10888. tradedate2:
  10889. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10890. type: string
  10891. updatetime:
  10892. description: 更新时间
  10893. type: string
  10894. required:
  10895. - marketid
  10896. - nexttradedate
  10897. - reckonflag
  10898. - runstatus
  10899. - tradedate
  10900. - tradedate2
  10901. type: object
  10902. models.Messageboard:
  10903. properties:
  10904. contactnum:
  10905. description: 联系电话
  10906. type: string
  10907. createtime:
  10908. description: 创建时间
  10909. type: string
  10910. message:
  10911. description: 留言信息
  10912. type: string
  10913. messageboardid:
  10914. description: 留言簿ID(SEQ_MessageBoard)
  10915. type: integer
  10916. userid:
  10917. description: 用户ID
  10918. type: integer
  10919. required:
  10920. - messageboardid
  10921. type: object
  10922. models.MyCoupon:
  10923. properties:
  10924. accountid:
  10925. description: 资金账户ID
  10926. type: integer
  10927. areauserid:
  10928. description: 所属机构
  10929. type: integer
  10930. conditionvalue:
  10931. description: 条件阈值(可为0)
  10932. type: number
  10933. couponcategroy:
  10934. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10935. type: integer
  10936. couponname:
  10937. description: 优惠券名称
  10938. type: string
  10939. coupontypeid:
  10940. description: 优惠券类型ID
  10941. type: string
  10942. couponvalue:
  10943. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10944. type: number
  10945. curfreezeqty:
  10946. description: 期末冻结数量
  10947. type: integer
  10948. curqty:
  10949. description: 期末数量
  10950. type: integer
  10951. isgeneral:
  10952. description: 是否通用券 - 0:否 1:是
  10953. type: integer
  10954. isunusable:
  10955. description: 是否不可用
  10956. type: boolean
  10957. limitedflag:
  10958. description: 是否指定商品 - 0:不限 1:限制
  10959. type: integer
  10960. limitedgoodsids:
  10961. description: 指定商品IDs[逗号分隔,前后加逗号]
  10962. type: string
  10963. orifreezeqty:
  10964. description: 期初冻结数量
  10965. type: integer
  10966. oriqty:
  10967. description: 期初数量
  10968. type: integer
  10969. reasontype:
  10970. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10971. type: integer
  10972. todaydecrease:
  10973. description: 今日减少
  10974. type: integer
  10975. todayincrease:
  10976. description: 今日增加
  10977. type: integer
  10978. userid:
  10979. description: 用户ID
  10980. type: integer
  10981. userscope:
  10982. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10983. type: string
  10984. required:
  10985. - accountid
  10986. - coupontypeid
  10987. type: object
  10988. models.MyCouponHold:
  10989. properties:
  10990. accountid:
  10991. description: 资金账户ID
  10992. type: integer
  10993. conditionvalue:
  10994. description: 条件阈值(可为0)
  10995. type: number
  10996. couponcategroy:
  10997. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10998. type: integer
  10999. couponholdid:
  11000. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  11001. type: string
  11002. couponname:
  11003. description: 优惠券名称
  11004. type: string
  11005. coupontypeid:
  11006. description: 优惠券类型ID - SEQ_COUPONTYPE
  11007. type: string
  11008. couponvalue:
  11009. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  11010. type: number
  11011. createtime:
  11012. description: 创建时间
  11013. type: string
  11014. enddate:
  11015. description: 结束日期
  11016. type: string
  11017. giveapplyid:
  11018. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  11019. type: integer
  11020. holdstatus:
  11021. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  11022. type: integer
  11023. isgeneral:
  11024. description: 是否通用券 - 0:否 1:是
  11025. type: integer
  11026. limitedflag:
  11027. description: 是否指定商品 - 0:不限 1:限制
  11028. type: integer
  11029. limitedgoodsids:
  11030. description: 指定商品IDs[逗号分隔]
  11031. type: string
  11032. qty:
  11033. description: 数量(按1平铺)
  11034. type: integer
  11035. startdate:
  11036. description: 开始日期
  11037. type: string
  11038. userid:
  11039. description: 用户ID
  11040. type: integer
  11041. userscope:
  11042. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  11043. type: string
  11044. required:
  11045. - couponholdid
  11046. type: object
  11047. models.MyUsedCoupon:
  11048. properties:
  11049. accountid:
  11050. description: 资金账户ID(买方)
  11051. type: integer
  11052. conditionvalue:
  11053. description: 条件阈值(可为0)
  11054. type: number
  11055. couponcategroy:
  11056. description: 种类 - 1:现金券 2:折扣券
  11057. type: integer
  11058. couponname:
  11059. description: 优惠券名称
  11060. type: string
  11061. coupontypeid:
  11062. description: 优惠券类型ID(买方)
  11063. type: string
  11064. couponvalue:
  11065. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  11066. type: number
  11067. createtime:
  11068. description: 创建时间
  11069. type: string
  11070. goodsid:
  11071. description: 商品ID
  11072. type: integer
  11073. handlestatus:
  11074. description: 处理状态
  11075. type: integer
  11076. marketid:
  11077. description: 市场ID
  11078. type: integer
  11079. offamount:
  11080. description: 优惠金额
  11081. type: number
  11082. orderid:
  11083. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11084. type: string
  11085. sellaccountid:
  11086. description: 资金账户ID(卖方)
  11087. type: integer
  11088. tradeamount:
  11089. description: 成交金额
  11090. type: number
  11091. tradeid:
  11092. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11093. type: string
  11094. usedqty:
  11095. description: 使用数量
  11096. type: integer
  11097. required:
  11098. - coupontypeid
  11099. - orderid
  11100. type: object
  11101. models.OperationPrimaryMenu:
  11102. properties:
  11103. Children:
  11104. description: 二级功能菜单
  11105. items:
  11106. $ref: '#/definitions/models.OperationSecondaryMenu'
  11107. type: array
  11108. Key:
  11109. description: 菜单KEY
  11110. type: string
  11111. Label:
  11112. description: 菜单标题
  11113. type: string
  11114. type: object
  11115. models.OperationSecondaryMenu:
  11116. properties:
  11117. Key:
  11118. description: 菜单KEY
  11119. type: string
  11120. Label:
  11121. description: 菜单标题
  11122. type: string
  11123. TabList:
  11124. description: 三级功能菜单
  11125. items:
  11126. $ref: '#/definitions/models.OperationTabMenu'
  11127. type: array
  11128. type: object
  11129. models.OperationTabMenu:
  11130. properties:
  11131. Key:
  11132. description: 菜单KEY
  11133. type: string
  11134. Label:
  11135. description: 菜单标题
  11136. type: string
  11137. type: object
  11138. models.QhjAccountOutInApply:
  11139. properties:
  11140. accountcode:
  11141. description: 资金账号
  11142. type: string
  11143. accountname:
  11144. description: 用户名称(名称)
  11145. type: string
  11146. accountpwd:
  11147. description: 资金密码
  11148. type: string
  11149. accountticket:
  11150. description: 最新账户服务流水号
  11151. type: string
  11152. amount:
  11153. description: 金额
  11154. type: number
  11155. applyremark:
  11156. description: 申请备注
  11157. type: string
  11158. applystatus:
  11159. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11160. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11161. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11162. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11163. type: integer
  11164. auditid:
  11165. description: 审核人
  11166. type: integer
  11167. audittime:
  11168. description: 审核时间
  11169. type: string
  11170. bank_apply_ticket:
  11171. description: 银行申请流水
  11172. type: string
  11173. bankaccountname:
  11174. description: 银行账户名
  11175. type: string
  11176. bankaccountno:
  11177. description: 银行卡号
  11178. type: string
  11179. bankid:
  11180. description: 银行编号
  11181. type: string
  11182. bankticket:
  11183. description: 银行流水
  11184. type: string
  11185. branchbankid:
  11186. description: 银行支行号
  11187. type: string
  11188. branchbankname:
  11189. description: 银行支行名称
  11190. type: string
  11191. capamountout:
  11192. description: 出金(劣后本金) - 外部子账户
  11193. type: number
  11194. certificatephotourl:
  11195. description: 凭证地址
  11196. type: string
  11197. charge:
  11198. description: 手续费
  11199. type: number
  11200. checkerrorflag:
  11201. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11202. type: integer
  11203. currency:
  11204. description: 币种
  11205. type: string
  11206. cusbankid:
  11207. description: 托管银行编号
  11208. type: string
  11209. exchticket:
  11210. description: 银行服务流水号
  11211. type: string
  11212. executetype:
  11213. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11214. 7:外部子账户:入金 8:外部子账户:出金'
  11215. type: integer
  11216. extendinfo:
  11217. description: 扩展信息
  11218. type: string
  11219. extoperateid:
  11220. description: 交易服务流水号
  11221. type: integer
  11222. infamount:
  11223. description: 劣后金额(自有)
  11224. type: number
  11225. logincode:
  11226. description: 登录账号(账号)
  11227. type: string
  11228. netaddr:
  11229. description: 调转网址
  11230. type: string
  11231. priamount:
  11232. description: 优先金额(授信)
  11233. type: number
  11234. reauditid:
  11235. description: 复审人
  11236. type: integer
  11237. reauditremark:
  11238. description: 复审备注
  11239. type: string
  11240. reaudittime:
  11241. description: 复审时间
  11242. type: string
  11243. relatedorderid:
  11244. description: 三方关联ID
  11245. type: string
  11246. remark:
  11247. description: 备注
  11248. type: string
  11249. remark2:
  11250. description: 备注(失败原因)
  11251. type: string
  11252. soucreamount:
  11253. description: 原始出入金金额
  11254. type: number
  11255. soucrecurrencyid:
  11256. description: 原始出入金币种
  11257. type: integer
  11258. tradedate:
  11259. description: 交易日(yyyyMMdd)
  11260. type: string
  11261. updatetime:
  11262. description: 更新时间(申请时间)
  11263. type: string
  11264. userid:
  11265. description: 用户id
  11266. type: integer
  11267. userinfotype:
  11268. description: 账户类型 1-个人 2-企业
  11269. type: integer
  11270. type: object
  11271. models.QhjAgreementChangeLog:
  11272. properties:
  11273. agreementcontent:
  11274. description: 协议内容
  11275. type: string
  11276. agreementfrequency:
  11277. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11278. type: integer
  11279. agreementid:
  11280. description: 协议ID
  11281. type: integer
  11282. agreementname:
  11283. description: 协议名称
  11284. type: string
  11285. agreementno:
  11286. description: 协议编号
  11287. type: string
  11288. agreementtype:
  11289. description: 协议类型 - 1:注册 2:登录 3:交易
  11290. type: integer
  11291. agreementversion:
  11292. description: 协议版本号
  11293. type: integer
  11294. logid:
  11295. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  11296. type: integer
  11297. reviserid:
  11298. description: 修改人
  11299. type: integer
  11300. revisersrc:
  11301. description: 修改来源 - 1:管理端 2:终端
  11302. type: integer
  11303. updatetime:
  11304. description: 更新时间
  11305. type: string
  11306. type: object
  11307. models.QhjAgreementConfig:
  11308. properties:
  11309. agreementcontent:
  11310. description: 协议内容
  11311. type: string
  11312. agreementfrequency:
  11313. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  11314. type: integer
  11315. agreementid:
  11316. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  11317. type: integer
  11318. agreementname:
  11319. description: 协议名称
  11320. type: string
  11321. agreementno:
  11322. description: 协议编号
  11323. type: string
  11324. agreementtype:
  11325. description: 协议类型 - 1:注册 2:登录 3:交易
  11326. type: integer
  11327. agreementversion:
  11328. description: 协议版本号(从1开始每次修改加1)
  11329. type: integer
  11330. createtime:
  11331. description: 创建时间
  11332. type: string
  11333. creatorid:
  11334. description: 创建人
  11335. type: integer
  11336. creatorsrc:
  11337. description: 创建来源 - 1:管理端 2:终端
  11338. type: integer
  11339. isvalid:
  11340. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  11341. type: integer
  11342. reviserid:
  11343. description: 修改人
  11344. type: integer
  11345. revisersrc:
  11346. description: 修改来源 - 1:管理端 2:终端
  11347. type: integer
  11348. updatetime:
  11349. description: 更新时间
  11350. type: string
  11351. type: object
  11352. models.QhjAreaFinanceConfig:
  11353. properties:
  11354. additionalratio:
  11355. description: 追加款比例
  11356. type: number
  11357. advanceratio:
  11358. description: 预付款比例
  11359. type: number
  11360. alarmratio:
  11361. description: 告警比例
  11362. type: number
  11363. consumptiondirectreward:
  11364. description: 消费直推奖励值
  11365. type: number
  11366. consumptionenabled:
  11367. description: 是否启用消费奖励 - 0:不启用 1:启用
  11368. type: integer
  11369. consumptionindirectreward:
  11370. description: 消费间推奖励值
  11371. type: number
  11372. consumptionmodel:
  11373. description: 消费奖励方式 - 1:比率 2:固定
  11374. type: integer
  11375. customerservicenum:
  11376. description: 客服电话
  11377. type: string
  11378. dayinterestrate:
  11379. description: 日利率
  11380. type: number
  11381. disableconsumptiontips:
  11382. description: 关闭消费奖励提示
  11383. type: string
  11384. modifierid:
  11385. description: 修改人ID
  11386. type: integer
  11387. modifysrc:
  11388. description: 审核来源 - 1:管理端 2:终端
  11389. type: integer
  11390. modifytime:
  11391. description: 修改时间
  11392. type: string
  11393. promotionvalue:
  11394. description: 推广奖励值(固定)
  11395. type: number
  11396. scoreconfigvalue1:
  11397. description: 提货积分配置1
  11398. type: integer
  11399. scoreconfigvalue2:
  11400. description: 提货积分配置2
  11401. type: integer
  11402. userid:
  11403. description: 机构用户ID其他做市关系,都设置为 1
  11404. type: integer
  11405. username:
  11406. description: 用户名称
  11407. type: string
  11408. type: object
  11409. models.QhjBankAccountSign:
  11410. properties:
  11411. accountcode:
  11412. description: 资金账号
  11413. type: string
  11414. accountname:
  11415. description: 资金账号对应的账号名(UserName)
  11416. type: string
  11417. accountname2:
  11418. description: 资金账号对应的账号名(UserName) - 密文
  11419. type: string
  11420. accounttype:
  11421. description: 账户类型(UserType)
  11422. type: integer
  11423. applicationtime:
  11424. description: 最后一次更新的时间
  11425. type: string
  11426. applyexchticket:
  11427. description: 申请流水
  11428. type: string
  11429. auditid:
  11430. description: 审核人
  11431. type: integer
  11432. audittime:
  11433. description: 审核时间
  11434. type: string
  11435. bankaccountname:
  11436. description: 签约银行卡账号名
  11437. type: string
  11438. bankaccountname2:
  11439. description: 签约银行卡账号名 - 密文
  11440. type: string
  11441. bankaccountno:
  11442. description: 银行卡号
  11443. type: string
  11444. bankaccountno2:
  11445. description: 银行卡号 - 密文
  11446. type: string
  11447. bankaccounttype:
  11448. description: 银行账户类型 - 1-对私; 2-对公
  11449. type: integer
  11450. bankcardtype:
  11451. description: 银行卡类型
  11452. type: integer
  11453. bankchildaccount:
  11454. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  11455. type: string
  11456. bankcity:
  11457. description: 开户行城市
  11458. type: string
  11459. bankid:
  11460. description: 签约银行ID
  11461. type: string
  11462. bankname:
  11463. description: 签约银行名称
  11464. type: string
  11465. bankprovince:
  11466. description: 开户行省份
  11467. type: string
  11468. branchbankid:
  11469. description: 签约银行支行号
  11470. type: string
  11471. branchbankname:
  11472. description: 签约银行支行名称
  11473. type: string
  11474. cardno:
  11475. description: 证件号码
  11476. type: string
  11477. cardno2:
  11478. description: 证件号码 - 密文
  11479. type: string
  11480. cardtype:
  11481. description: 证件类型
  11482. type: string
  11483. currency:
  11484. description: 币种
  11485. type: string
  11486. cusbankid:
  11487. description: 托管银行编号
  11488. type: string
  11489. direct:
  11490. description: 方向(可以判断那方先发起的签约)
  11491. type: integer
  11492. exchticket:
  11493. description: 最后一次签约成功的流水号
  11494. type: string
  11495. extendinfo:
  11496. description: 扩展信息(JSON字符串)
  11497. type: string
  11498. mobilephone:
  11499. description: 手机号
  11500. type: string
  11501. mobilephone2:
  11502. description: 手机号 - 密文
  11503. type: string
  11504. netaddr:
  11505. description: 调转网址
  11506. type: string
  11507. relateduserid:
  11508. description: 关联使用者userid
  11509. type: integer
  11510. signstatus:
  11511. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  11512. 10:审核拒绝 11:换签待审核
  11513. type: integer
  11514. updatetime:
  11515. description: 更新时间(签解约更新时间)
  11516. type: string
  11517. type: object
  11518. models.QhjBankInfo:
  11519. properties:
  11520. bankid:
  11521. description: 银行ID
  11522. type: string
  11523. bankname:
  11524. description: 银行名称
  11525. type: string
  11526. clearbankno:
  11527. description: 清算系统银行编号
  11528. type: string
  11529. orderindex:
  11530. description: 排序顺序
  11531. type: integer
  11532. status:
  11533. description: 状态 - 0:正常 1:注销
  11534. type: integer
  11535. type: object
  11536. models.QhjBrokerApply:
  11537. properties:
  11538. applicantid:
  11539. description: 申请人
  11540. type: integer
  11541. applysrc:
  11542. description: 申请来源 - 1:管理端 2:终端
  11543. type: integer
  11544. applystatus:
  11545. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11546. type: integer
  11547. applytime:
  11548. description: 申请时间
  11549. type: string
  11550. auditorid:
  11551. description: 审核人
  11552. type: integer
  11553. auditremark:
  11554. description: 审核备注
  11555. type: string
  11556. auditsrc:
  11557. description: 审核来源 - 1:管理端 2:终端
  11558. type: integer
  11559. audittime:
  11560. description: 审核时间
  11561. type: string
  11562. audittradedate:
  11563. description: 审核交易日(yyyyMMdd)
  11564. type: string
  11565. brokerapplyid:
  11566. description: 申请ID(SEQ_BROKERAPPLY)
  11567. type: integer
  11568. cardbackphotourl:
  11569. description: 证件背面图片地址
  11570. type: string
  11571. cardfrontphotourl:
  11572. description: 证件正面图片地址
  11573. type: string
  11574. cardnum:
  11575. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11576. type: string
  11577. customername:
  11578. description: 姓名
  11579. type: string
  11580. logincode:
  11581. description: 登录代码
  11582. type: string
  11583. mobile:
  11584. description: 手机号码
  11585. type: string
  11586. parentuserid:
  11587. description: 所属机构id
  11588. type: integer
  11589. parentusername:
  11590. description: 所属机构名称
  11591. type: string
  11592. refereeuserid:
  11593. description: 推荐人id(经纪人)
  11594. type: integer
  11595. refernum:
  11596. description: 推荐码
  11597. type: string
  11598. remark:
  11599. description: 备注
  11600. type: string
  11601. subarealevelpath:
  11602. description: 层级路径
  11603. type: string
  11604. tradedate:
  11605. description: 交易日(yyyyMMdd)
  11606. type: string
  11607. userid:
  11608. description: 申请人用户ID
  11609. type: integer
  11610. userinfotype:
  11611. description: 用户类型 1-个人 2-企业
  11612. type: integer
  11613. username:
  11614. description: 用户名称
  11615. type: string
  11616. type: object
  11617. models.QhjBrokerApplyEx:
  11618. properties:
  11619. applylist:
  11620. description: 经纪人申请记录(只返回最新一条)
  11621. items:
  11622. $ref: '#/definitions/models.QhjBrokerApply'
  11623. type: array
  11624. canrecommend:
  11625. description: 是否经纪人 0-不是 1-是
  11626. type: integer
  11627. refernum:
  11628. description: 推荐码
  11629. type: string
  11630. userid:
  11631. description: 用户id
  11632. type: integer
  11633. userinfotype:
  11634. description: 用户类型 1-个人 2-企业
  11635. type: integer
  11636. type: object
  11637. models.QhjBrokerRewardLog:
  11638. properties:
  11639. accountid:
  11640. description: 资金账号ID
  11641. type: integer
  11642. createtime:
  11643. description: 创建时间(时间)
  11644. type: string
  11645. handlestatus:
  11646. description: 处理状态
  11647. type: integer
  11648. logid:
  11649. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11650. type: string
  11651. marketid:
  11652. description: 市场ID
  11653. type: integer
  11654. mmaccountid:
  11655. description: 做市商资金账号ID
  11656. type: string
  11657. mmuserid:
  11658. description: 做市商用户ID
  11659. type: string
  11660. rewardamount:
  11661. description: 奖励金额
  11662. type: number
  11663. rewardmodel:
  11664. description: 消费奖励方式 - 1:比率 2:固定
  11665. type: integer
  11666. rewardtype:
  11667. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  11668. type: integer
  11669. rewardvalue:
  11670. description: 配置奖励值
  11671. type: number
  11672. srcamount:
  11673. description: 成交金额 [消费奖励] (金额)
  11674. type: number
  11675. srcgoodsid:
  11676. description: 来源商品ID [消费奖励]
  11677. type: string
  11678. srctime:
  11679. description: 来源时间 (成交时间) [消费奖励]
  11680. type: string
  11681. srctradeid:
  11682. description: 来源成交单ID [消费奖励] - 排除提货成交
  11683. type: string
  11684. srcuserid:
  11685. description: 来源用户ID(推广账户)
  11686. type: string
  11687. srcusername:
  11688. description: 推广账户名称
  11689. type: string
  11690. tradedate:
  11691. description: 交易日(yyyyMMdd)
  11692. type: string
  11693. userid:
  11694. description: 经纪人用户ID
  11695. type: integer
  11696. type: object
  11697. models.QhjContract:
  11698. properties:
  11699. contractconfirmtime:
  11700. description: 合同确认时间(时间)
  11701. type: string
  11702. currisklevel:
  11703. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11704. type: integer
  11705. decimalplace:
  11706. description: 商品报价小数位
  11707. type: integer
  11708. enumdicname:
  11709. description: 单位名称
  11710. type: string
  11711. goodscode:
  11712. description: 商品代码
  11713. type: string
  11714. goodsid:
  11715. description: 商品ID [5:融资单]
  11716. type: integer
  11717. goodsname:
  11718. description: 商品名称
  11719. type: string
  11720. goodunitid:
  11721. description: 商品单位id
  11722. type: integer
  11723. initmargin:
  11724. description: 初始保证金(首付款)
  11725. type: number
  11726. lenderamount:
  11727. description: 贷款金额(总额|订单总额)
  11728. type: number
  11729. marginratio:
  11730. description: 保证金比率(首付比例)
  11731. type: number
  11732. payamount:
  11733. description: 已付(已付货款)
  11734. type: number
  11735. reckonrecovermargin:
  11736. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11737. type: number
  11738. recoveredmargin:
  11739. description: 已追缴保证金
  11740. type: number
  11741. remainamount:
  11742. description: 合同剩余金额(融资额)
  11743. type: number
  11744. scfcontractid:
  11745. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11746. type: string
  11747. scfcontractstatus:
  11748. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11749. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11750. type: integer
  11751. scfcontracttype:
  11752. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11753. type: integer
  11754. totalinterest:
  11755. description: 已计总利息(利息)
  11756. type: number
  11757. tradeprice:
  11758. description: 成交价格(成本价格)
  11759. type: number
  11760. userid:
  11761. description: 用户ID
  11762. type: integer
  11763. username:
  11764. description: 用户名称
  11765. type: string
  11766. wrqty:
  11767. description: 仓单数量(数量)
  11768. type: number
  11769. type: object
  11770. models.QhjContractLog:
  11771. properties:
  11772. amount:
  11773. description: 支付金额
  11774. type: number
  11775. amounttype:
  11776. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  11777. type: integer
  11778. logid:
  11779. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11780. type: string
  11781. remainamount:
  11782. description: 剩余货款
  11783. type: number
  11784. scfcontractid:
  11785. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11786. type: integer
  11787. updatetime:
  11788. description: 更新时间
  11789. type: string
  11790. type: object
  11791. models.QhjCusBankSignBankEx:
  11792. properties:
  11793. banklst:
  11794. description: 银行列表
  11795. items:
  11796. $ref: '#/definitions/models.QhjBankInfo'
  11797. type: array
  11798. canallot:
  11799. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11800. type: integer
  11801. canallotquery:
  11802. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11803. type: integer
  11804. canbindcard:
  11805. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11806. type: integer
  11807. caninamount:
  11808. description: 是否可入金 - 0:不可 1:可以
  11809. type: integer
  11810. caninamount2:
  11811. description: 是否可入金(网银端) - 0:不可 1:可以
  11812. type: integer
  11813. canmodifybankcard:
  11814. description: 是否可修改银行卡号 - 0:不可 1:可以
  11815. type: integer
  11816. canmodifyphone:
  11817. description: 是否可修改手机号 - 0:不可 1:可以
  11818. type: integer
  11819. canmodifysigninfo:
  11820. description: 是否可修改签约信息 - 0:不可 1:可以
  11821. type: integer
  11822. canoutamount:
  11823. description: 是否可出金 - 0:不可 1:可以
  11824. type: integer
  11825. canoutamount2:
  11826. description: 是否可出金(网银端) - 0:不可 1:可以
  11827. type: integer
  11828. canrelease:
  11829. description: 是否可解约 - 0:不可 1:可以
  11830. type: integer
  11831. canrelease2:
  11832. description: 是否可解约(网银端) - 0:不可 1:可以
  11833. type: integer
  11834. cansign:
  11835. description: 是否可签约 - 0:不可 1:可以
  11836. type: integer
  11837. cansign2:
  11838. description: 是否可签约(网银端) - 0:不可 1:可以
  11839. type: integer
  11840. currency:
  11841. description: 币种
  11842. type: string
  11843. cusbankid:
  11844. description: 托管银行编号(对应清算中心TRAN_NO)
  11845. type: string
  11846. cusbankname:
  11847. description: 银行业务名称
  11848. type: string
  11849. cusbankshortname:
  11850. description: 银行业务简称
  11851. type: string
  11852. exchbankid:
  11853. description: 交易所开户银行ID
  11854. type: string
  11855. exchpaybankaccname:
  11856. description: 交易所支出结算账户户名
  11857. type: string
  11858. exchpaybankaccno:
  11859. description: 交易所支出结算账户
  11860. type: string
  11861. isneedcheck:
  11862. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11863. type: integer
  11864. isneedclear:
  11865. description: 是否需要清算 - 0:不需要 1:需要
  11866. type: integer
  11867. lastcheckstatus:
  11868. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11869. type: integer
  11870. lastchecktime:
  11871. description: 最后对账时间
  11872. type: string
  11873. lastclearstatus:
  11874. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11875. type: integer
  11876. lastcleartime:
  11877. description: 最后清算时间
  11878. type: string
  11879. lastsignintime:
  11880. description: 最后签到时间
  11881. type: string
  11882. lastsignouttime:
  11883. description: 最后签退时间
  11884. type: string
  11885. riskinfo:
  11886. description: 签约风险提示书
  11887. type: string
  11888. signstatus:
  11889. description: 当前签到/签退状态 - 1:签到 2:签退
  11890. type: integer
  11891. tradedate:
  11892. description: 交易日(yyyyMMdd)
  11893. type: string
  11894. updatetime:
  11895. description: 当前签到/签退更新时间
  11896. type: string
  11897. type: object
  11898. models.QhjCustomer:
  11899. properties:
  11900. address:
  11901. description: 通讯地址
  11902. type: string
  11903. attachment1:
  11904. description: 附件1
  11905. type: string
  11906. attachment2:
  11907. description: 附件2
  11908. type: string
  11909. audittime:
  11910. description: 审核时间
  11911. type: string
  11912. cardbackphotourl:
  11913. description: 证件反面图片地址
  11914. type: string
  11915. cardfrontphotourl:
  11916. description: 证件正面图片地址
  11917. type: string
  11918. cardnum:
  11919. description: 证件号码
  11920. type: string
  11921. cardtype:
  11922. description: 证件类型
  11923. type: integer
  11924. cardtypename:
  11925. description: 证件类型名称
  11926. type: string
  11927. cityid:
  11928. description: 市
  11929. type: integer
  11930. cityname:
  11931. description: 城市名称
  11932. type: string
  11933. contactname:
  11934. description: 联系人
  11935. type: string
  11936. countryid:
  11937. description: 国家
  11938. type: integer
  11939. countryname:
  11940. description: 国家名称
  11941. type: string
  11942. createtime:
  11943. description: 创建时间
  11944. type: string
  11945. customername:
  11946. description: 客户名称
  11947. type: string
  11948. districtid:
  11949. description: 区域
  11950. type: integer
  11951. districtname:
  11952. description: 地区名称
  11953. type: string
  11954. email:
  11955. description: 邮件
  11956. type: string
  11957. legalpersonname:
  11958. description: 法人姓名(企业)
  11959. type: string
  11960. logincode:
  11961. description: 登录账号(代码)
  11962. type: string
  11963. memberuserid:
  11964. description: 所属机构ID(所属会员)
  11965. type: integer
  11966. memberusername:
  11967. description: 所属会员名称
  11968. type: string
  11969. mobile:
  11970. description: 手机号码
  11971. type: string
  11972. modifytime:
  11973. description: 修改时间
  11974. type: string
  11975. nickname:
  11976. description: 昵称
  11977. type: string
  11978. parentuserid:
  11979. description: 上级机构(所属机构)
  11980. type: integer
  11981. parentusername:
  11982. description: 所属机构名称
  11983. type: string
  11984. provinceid:
  11985. description: 省
  11986. type: integer
  11987. provincename:
  11988. description: 省名称
  11989. type: string
  11990. proxystatementurl:
  11991. description: 授权委托书
  11992. type: string
  11993. remark:
  11994. description: 备注
  11995. type: string
  11996. status:
  11997. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11998. type: integer
  11999. statusdesc:
  12000. description: 账户状态中文描述
  12001. type: string
  12002. taxpayernum:
  12003. description: 纳税人识别号
  12004. type: string
  12005. telphone:
  12006. description: 联系电话
  12007. type: string
  12008. userid:
  12009. description: 用户ID
  12010. type: integer
  12011. userinfotype:
  12012. description: 客户类型 1-个人 2-企业
  12013. type: integer
  12014. username:
  12015. description: 用户名称
  12016. type: string
  12017. type: object
  12018. models.QhjCustomerSignLog:
  12019. properties:
  12020. agreementcontent:
  12021. description: 协议内容
  12022. type: string
  12023. agreementid:
  12024. description: 协议ID
  12025. type: integer
  12026. agreementname:
  12027. description: 协议名称
  12028. type: string
  12029. agreementno:
  12030. description: 协议编号
  12031. type: string
  12032. agreementtype:
  12033. description: 协议类型 - 1:注册 2:登录 3:交易
  12034. type: integer
  12035. agreementversion:
  12036. description: 协议版本号
  12037. type: integer
  12038. createtime:
  12039. description: 创建时间
  12040. type: string
  12041. goodscode:
  12042. description: 商品代码
  12043. type: string
  12044. goodsid:
  12045. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12046. type: integer
  12047. goodsname:
  12048. description: 商品名称
  12049. type: string
  12050. logid:
  12051. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  12052. type: integer
  12053. nodetype:
  12054. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12055. type: integer
  12056. signadressurl:
  12057. description: 签约文件地址
  12058. type: string
  12059. signtimestamp:
  12060. description: 签约状态时间戳
  12061. type: string
  12062. userid:
  12063. description: 客户ID
  12064. type: integer
  12065. username:
  12066. description: 客户名称
  12067. type: string
  12068. type: object
  12069. models.QhjCustomerSignStatus:
  12070. properties:
  12071. createtime:
  12072. description: 创建时间
  12073. type: string
  12074. goodscode:
  12075. description: 商品代码
  12076. type: string
  12077. goodsid:
  12078. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12079. type: integer
  12080. goodsname:
  12081. description: 商品名称
  12082. type: string
  12083. nodetype:
  12084. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  12085. type: integer
  12086. signtimestamp:
  12087. description: 签约状态时间戳
  12088. type: string
  12089. tradedate:
  12090. description: 创建交易日(yyyyMMdd)
  12091. type: string
  12092. updatetime:
  12093. description: 更新时间
  12094. type: string
  12095. userid:
  12096. description: 客户ID
  12097. type: integer
  12098. username:
  12099. description: 客户名称
  12100. type: string
  12101. type: object
  12102. models.QhjMgrAccountOutInApply:
  12103. properties:
  12104. accountcode:
  12105. description: 资金账号
  12106. type: string
  12107. accountname:
  12108. description: 用户名称(名称)
  12109. type: string
  12110. accountpwd:
  12111. description: 资金密码
  12112. type: string
  12113. accountticket:
  12114. description: 最新账户服务流水号
  12115. type: string
  12116. amount:
  12117. description: 金额
  12118. type: number
  12119. applyremark:
  12120. description: 申请备注
  12121. type: string
  12122. applystatus:
  12123. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12124. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12125. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12126. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12127. type: integer
  12128. auditid:
  12129. description: 审核人
  12130. type: integer
  12131. audittime:
  12132. description: 审核时间
  12133. type: string
  12134. bank_apply_ticket:
  12135. description: 银行申请流水
  12136. type: string
  12137. bankaccountname:
  12138. description: 银行账户名
  12139. type: string
  12140. bankaccountno:
  12141. description: 银行卡号
  12142. type: string
  12143. bankid:
  12144. description: 银行编号
  12145. type: string
  12146. bankname:
  12147. description: 银行名称
  12148. type: string
  12149. bankticket:
  12150. description: 银行流水
  12151. type: string
  12152. branchbankid:
  12153. description: 银行支行号
  12154. type: string
  12155. branchbankname:
  12156. description: 银行支行名称
  12157. type: string
  12158. capamountout:
  12159. description: 出金(劣后本金) - 外部子账户
  12160. type: number
  12161. certificatephotourl:
  12162. description: 凭证地址
  12163. type: string
  12164. charge:
  12165. description: 手续费
  12166. type: number
  12167. checkerrorflag:
  12168. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12169. type: integer
  12170. currency:
  12171. description: 币种
  12172. type: string
  12173. cusbankid:
  12174. description: 托管银行编号
  12175. type: string
  12176. exchticket:
  12177. description: 银行服务流水号
  12178. type: string
  12179. executetype:
  12180. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12181. 7:外部子账户:入金 8:外部子账户:出金'
  12182. type: integer
  12183. extendinfo:
  12184. description: 扩展信息
  12185. type: string
  12186. extoperateid:
  12187. description: 交易服务流水号
  12188. type: integer
  12189. infamount:
  12190. description: 劣后金额(自有)
  12191. type: number
  12192. logincode:
  12193. description: 登录账号(账号)
  12194. type: string
  12195. netaddr:
  12196. description: 调转网址
  12197. type: string
  12198. priamount:
  12199. description: 优先金额(授信)
  12200. type: number
  12201. reauditid:
  12202. description: 复审人
  12203. type: integer
  12204. reauditremark:
  12205. description: 复审备注
  12206. type: string
  12207. reaudittime:
  12208. description: 复审时间
  12209. type: string
  12210. relatedorderid:
  12211. description: 三方关联ID
  12212. type: string
  12213. remark:
  12214. description: 备注
  12215. type: string
  12216. remark2:
  12217. description: 备注(失败原因)
  12218. type: string
  12219. soucreamount:
  12220. description: 原始出入金金额
  12221. type: number
  12222. soucrecurrencyid:
  12223. description: 原始出入金币种
  12224. type: integer
  12225. tradedate:
  12226. description: 交易日(yyyyMMdd)
  12227. type: string
  12228. updatetime:
  12229. description: 更新时间(申请时间)
  12230. type: string
  12231. userid:
  12232. description: 用户id
  12233. type: integer
  12234. userinfotype:
  12235. description: 账户类型 1-个人 2-企业
  12236. type: integer
  12237. type: object
  12238. models.QhjMgrBrokerApply:
  12239. properties:
  12240. applicantid:
  12241. description: 申请人
  12242. type: integer
  12243. applysrc:
  12244. description: 申请来源 - 1:管理端 2:终端
  12245. type: integer
  12246. applystatus:
  12247. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12248. type: integer
  12249. applytime:
  12250. description: 申请时间
  12251. type: string
  12252. auditorid:
  12253. description: 审核人
  12254. type: integer
  12255. auditremark:
  12256. description: 审核备注
  12257. type: string
  12258. auditsrc:
  12259. description: 审核来源 - 1:管理端 2:终端
  12260. type: integer
  12261. audittime:
  12262. description: 审核时间
  12263. type: string
  12264. audittradedate:
  12265. description: 审核交易日(yyyyMMdd)
  12266. type: string
  12267. brokerapplyid:
  12268. description: 申请ID(SEQ_BROKERAPPLY)
  12269. type: integer
  12270. cardbackphotourl:
  12271. description: 证件背面图片地址
  12272. type: string
  12273. cardfrontphotourl:
  12274. description: 证件正面图片地址
  12275. type: string
  12276. cardnum:
  12277. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  12278. type: string
  12279. customername:
  12280. description: 姓名
  12281. type: string
  12282. filterstatus:
  12283. description: 筛选条件
  12284. type: string
  12285. logincode:
  12286. description: 登录代码
  12287. type: string
  12288. mobile:
  12289. description: 手机号码
  12290. type: string
  12291. parentuserid:
  12292. description: 所属机构id
  12293. type: integer
  12294. parentusername:
  12295. description: 所属机构名称
  12296. type: string
  12297. refereeuserid:
  12298. description: 推荐人id(经纪人)
  12299. type: integer
  12300. refernum:
  12301. description: 推荐码
  12302. type: string
  12303. remark:
  12304. description: 备注
  12305. type: string
  12306. subarealevelpath:
  12307. description: 层级路径
  12308. type: string
  12309. tradedate:
  12310. description: 交易日(yyyyMMdd)
  12311. type: string
  12312. userid:
  12313. description: 申请人用户ID
  12314. type: integer
  12315. userinfotype:
  12316. description: 用户类型 1-个人 2-企业
  12317. type: integer
  12318. username:
  12319. description: 用户名称
  12320. type: string
  12321. type: object
  12322. models.QhjMgrBrokerRewardReport:
  12323. properties:
  12324. createtime:
  12325. description: 创建时间(注册时间)
  12326. type: string
  12327. cycletime:
  12328. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  12329. type: string
  12330. cycletype:
  12331. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  12332. type: integer
  12333. directtotalnum:
  12334. description: 直推总人数【期末】
  12335. type: integer
  12336. indirecttotalnum:
  12337. description: 间推总人数【期末】
  12338. type: integer
  12339. mobile:
  12340. description: 电话号码
  12341. type: string
  12342. refereeuserid:
  12343. description: 推荐人id(经纪人id)
  12344. type: integer
  12345. refereeusername:
  12346. description: 推荐人名称(经纪人) 上级经纪人名称
  12347. type: string
  12348. refernum:
  12349. description: 推荐码
  12350. type: string
  12351. subarealevelpath:
  12352. description: 用户层级路径
  12353. type: string
  12354. todayrewardamount:
  12355. description: 奖励总金额【汇总】
  12356. type: number
  12357. updatetime:
  12358. description: 更新时间
  12359. type: string
  12360. userid:
  12361. description: 经纪人用户ID
  12362. type: integer
  12363. userinfotype:
  12364. description: 用户类型 1-个人 2-企业
  12365. type: integer
  12366. username:
  12367. description: 用户名称
  12368. type: string
  12369. type: object
  12370. models.QhjMgrContract:
  12371. properties:
  12372. contractconfirmtime:
  12373. description: 合同确认时间(时间)
  12374. type: string
  12375. currisklevel:
  12376. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  12377. type: integer
  12378. decimalplace:
  12379. description: 商品报价小数位
  12380. type: integer
  12381. enumdicname:
  12382. description: 单位名称
  12383. type: string
  12384. goodscode:
  12385. description: 商品代码
  12386. type: string
  12387. goodsid:
  12388. description: 商品ID [5:融资单]
  12389. type: integer
  12390. goodsname:
  12391. description: 商品名称
  12392. type: string
  12393. goodunitid:
  12394. description: 商品单位id
  12395. type: integer
  12396. initmargin:
  12397. description: 初始保证金(首付款)
  12398. type: number
  12399. lenderamount:
  12400. description: 贷款金额(总额|订单总额)
  12401. type: number
  12402. logincode:
  12403. description: 账号(登录代码)
  12404. type: string
  12405. marginratio:
  12406. description: 保证金比率(首付比例)
  12407. type: number
  12408. mobile:
  12409. description: 电话号码(用户资料里的电话)
  12410. type: string
  12411. payamount:
  12412. description: 已付(已付货款)
  12413. type: number
  12414. reckonrecovermargin:
  12415. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  12416. type: number
  12417. recoveredmargin:
  12418. description: 已追缴保证金
  12419. type: number
  12420. remainamount:
  12421. description: 合同剩余金额(融资额)
  12422. type: number
  12423. scfcontractid:
  12424. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  12425. type: string
  12426. scfcontractstatus:
  12427. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  12428. 9:违约结束 10:已注销 11:已关闭 99:未提交
  12429. type: integer
  12430. scfcontracttype:
  12431. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  12432. type: integer
  12433. totalinterest:
  12434. description: 已计总利息(利息)
  12435. type: number
  12436. tradedate:
  12437. description: 交易日
  12438. type: string
  12439. tradeprice:
  12440. description: 成交价格(成本价格)
  12441. type: number
  12442. userid:
  12443. description: 用户ID
  12444. type: integer
  12445. userinfotype:
  12446. description: 用户类型 1-个人 2-企业
  12447. type: integer
  12448. username:
  12449. description: 用户名称
  12450. type: string
  12451. wrqty:
  12452. description: 仓单数量(数量)
  12453. type: number
  12454. type: object
  12455. models.QhjMgrCustomer:
  12456. properties:
  12457. address:
  12458. description: 通讯地址
  12459. type: string
  12460. attachment1:
  12461. description: 附件1
  12462. type: string
  12463. audittime:
  12464. description: 审核时间
  12465. type: string
  12466. birthday:
  12467. description: 生日
  12468. type: string
  12469. brokerid:
  12470. description: 所属客户经理id
  12471. type: integer
  12472. brokername:
  12473. description: 所属客户经理名称
  12474. type: string
  12475. cardbackphotourl:
  12476. description: 证件反面图片地址
  12477. type: string
  12478. cardfrontphotourl:
  12479. description: 证件正面图片地址
  12480. type: string
  12481. cardnum:
  12482. description: 证件号码
  12483. type: string
  12484. cardtype:
  12485. description: 证件类型
  12486. type: integer
  12487. cardtypename:
  12488. description: 证件类型名称
  12489. type: string
  12490. cityid:
  12491. description: 市
  12492. type: integer
  12493. cityname:
  12494. description: 城市名称
  12495. type: string
  12496. contactname:
  12497. description: 联系人
  12498. type: string
  12499. countryid:
  12500. description: 国家
  12501. type: integer
  12502. countryname:
  12503. description: 国家名称
  12504. type: string
  12505. createtime:
  12506. description: 创建时间
  12507. type: string
  12508. customername:
  12509. description: 客户名称
  12510. type: string
  12511. districtid:
  12512. description: 区域
  12513. type: integer
  12514. districtname:
  12515. description: 地区名称
  12516. type: string
  12517. email:
  12518. description: 邮件
  12519. type: string
  12520. legalpersonname:
  12521. description: 法人姓名(企业)
  12522. type: string
  12523. logincode:
  12524. description: 登录账号(代码)
  12525. type: string
  12526. memberuserid:
  12527. description: 所属机构ID(所属会员)
  12528. type: integer
  12529. memberusername:
  12530. description: 所属会员名称
  12531. type: string
  12532. mobile:
  12533. description: 手机号码
  12534. type: string
  12535. modifytime:
  12536. description: 修改时间
  12537. type: string
  12538. nickname:
  12539. description: 昵称
  12540. type: string
  12541. parentuserid:
  12542. description: 上级机构(所属机构)
  12543. type: integer
  12544. parentusername:
  12545. description: 所属机构名称
  12546. type: string
  12547. provinceid:
  12548. description: 省
  12549. type: integer
  12550. provincename:
  12551. description: 省名称
  12552. type: string
  12553. proxystatementurl:
  12554. description: 授权委托书
  12555. type: string
  12556. querytype:
  12557. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  12558. type: integer
  12559. remark:
  12560. description: 备注
  12561. type: string
  12562. sex:
  12563. description: 性别 0-女 1-男
  12564. type: integer
  12565. status:
  12566. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  12567. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  12568. type: integer
  12569. statusdesc:
  12570. description: 账户状态中文描述
  12571. type: string
  12572. taxpayernum:
  12573. description: 纳税人识别号
  12574. type: string
  12575. telphone:
  12576. description: 联系电话
  12577. type: string
  12578. userid:
  12579. description: 用户ID
  12580. type: integer
  12581. userinfotype:
  12582. description: 客户类型 1-个人 2-企业
  12583. type: integer
  12584. username:
  12585. description: 用户名称
  12586. type: string
  12587. type: object
  12588. models.QhjMgrPickGoods:
  12589. properties:
  12590. enumdicname:
  12591. description: 单位名称(提货商品)
  12592. type: string
  12593. goodsid:
  12594. description: 商品id
  12595. type: integer
  12596. imageaddress:
  12597. description: 图片
  12598. type: string
  12599. modifierid:
  12600. description: 修改人
  12601. type: integer
  12602. modifiername:
  12603. description: 修改人名称
  12604. type: string
  12605. modifysrc:
  12606. description: 修改来源 - 1:管理端 2:终端
  12607. type: integer
  12608. pickupgoodsagreeunit:
  12609. description: 合约乘数
  12610. type: number
  12611. pickupgoodsdesc:
  12612. description: 描述
  12613. type: string
  12614. pickupgoodsid:
  12615. description: 提货商品ID
  12616. type: string
  12617. pickupgoodsname:
  12618. description: 提货商品名称
  12619. type: string
  12620. pickupgoodsstatus:
  12621. description: 状态 - 1:正常 2:停用 3:注销
  12622. type: integer
  12623. pickupgoodsunitid:
  12624. description: 单位ID
  12625. type: integer
  12626. pickupratio:
  12627. description: 提货系数
  12628. type: number
  12629. preparedays:
  12630. description: 备货期(天)
  12631. type: integer
  12632. remark:
  12633. description: 备注
  12634. type: string
  12635. updatetime:
  12636. description: 更新时间
  12637. type: string
  12638. type: object
  12639. models.QhjMgrPositionRsp:
  12640. properties:
  12641. accountid:
  12642. description: 账号Id
  12643. type: integer
  12644. accountname:
  12645. description: 用户名称
  12646. type: string
  12647. agreeunit:
  12648. description: 合约乘数
  12649. type: number
  12650. averageprice:
  12651. description: 均价
  12652. type: number
  12653. avialqty:
  12654. description: 可用数量
  12655. type: number
  12656. decimalplace:
  12657. description: 报价小数位
  12658. type: integer
  12659. enumdicname:
  12660. description: 单位名称(商品)
  12661. type: string
  12662. frozenqty:
  12663. description: 冻结数量
  12664. type: number
  12665. goodscode:
  12666. description: 商品代码(内部)
  12667. type: string
  12668. goodsid:
  12669. description: 商品Id
  12670. type: integer
  12671. goodsname:
  12672. description: 商品名称
  12673. type: string
  12674. goodunitid:
  12675. description: 报价单位ID
  12676. type: integer
  12677. holderamount:
  12678. description: 金额
  12679. type: number
  12680. holderqty:
  12681. description: 持有数量
  12682. type: number
  12683. holdertype:
  12684. description: 持仓类别 - 1:单边持仓 2:双边持仓
  12685. type: integer
  12686. logincode:
  12687. description: 登录代码(账户)
  12688. type: string
  12689. marketid:
  12690. description: 市场id
  12691. type: integer
  12692. qtydecimalplace:
  12693. description: 成交量小数位
  12694. type: integer
  12695. trademode:
  12696. description: 交易模式
  12697. type: integer
  12698. userid:
  12699. description: 用户id
  12700. type: integer
  12701. userinfotype:
  12702. description: 账户类型 1-个人 2-企业
  12703. type: integer
  12704. type: object
  12705. models.QhjMgrSubArea:
  12706. properties:
  12707. accountname:
  12708. description: 账户名称(机构名称)
  12709. type: string
  12710. memberuserid:
  12711. description: 所属会员ID
  12712. type: integer
  12713. parenttopuser:
  12714. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12715. type: string
  12716. parentuserid:
  12717. description: 所属机构ID
  12718. type: integer
  12719. rootuserid:
  12720. description: 根用户ID
  12721. type: string
  12722. subaccountlevel:
  12723. description: 子账户层数
  12724. type: integer
  12725. subarealevelpath:
  12726. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12727. type: string
  12728. userid:
  12729. description: 用户ID
  12730. type: integer
  12731. usertype:
  12732. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12733. type: integer
  12734. type: object
  12735. models.QhjMgrTradeDetailRsp:
  12736. properties:
  12737. accountid:
  12738. description: 资金账号
  12739. type: integer
  12740. accountname:
  12741. description: 用户名称
  12742. type: string
  12743. agreeunit:
  12744. description: 合约乘数
  12745. type: number
  12746. buyorsell:
  12747. description: 成交类型(方向) 0:买 1:卖
  12748. type: integer
  12749. decimalplace:
  12750. description: 报价小数位
  12751. type: integer
  12752. enumdicname:
  12753. description: 单位名称(商品)
  12754. type: string
  12755. goodscode:
  12756. description: 商品代码(内部)
  12757. type: string
  12758. goodsid:
  12759. description: 商品id
  12760. type: integer
  12761. goodsname:
  12762. description: 商品名称
  12763. type: string
  12764. goodunitid:
  12765. description: 报价单位ID
  12766. type: integer
  12767. logincode:
  12768. description: 登录代码(账户)
  12769. type: string
  12770. marketid:
  12771. description: 市场id
  12772. type: integer
  12773. orderid:
  12774. description: 关联委托单号
  12775. type: string
  12776. qtydecimalplace:
  12777. description: 成交量小数位
  12778. type: integer
  12779. tradeamount:
  12780. description: 金额
  12781. type: number
  12782. tradedate:
  12783. description: 交易日
  12784. type: string
  12785. tradeid:
  12786. description: 成交单号
  12787. type: string
  12788. trademode:
  12789. description: 交易模式
  12790. type: integer
  12791. tradeprice:
  12792. description: 价格
  12793. type: number
  12794. tradeqty:
  12795. description: 数量
  12796. type: number
  12797. tradetime:
  12798. description: 成交时间
  12799. type: string
  12800. userid:
  12801. description: 用户id
  12802. type: integer
  12803. userinfotype:
  12804. description: 账户类型 1-个人 2-企业
  12805. type: integer
  12806. type: object
  12807. models.QhjMgrTradeOrderDetailRsp:
  12808. properties:
  12809. accountid:
  12810. description: 资金账号
  12811. type: integer
  12812. accountname:
  12813. description: 用户名称
  12814. type: string
  12815. agreeunit:
  12816. description: 合约乘数
  12817. type: number
  12818. amount:
  12819. description: 金额
  12820. type: number
  12821. decimalplace:
  12822. description: 报价小数位
  12823. type: integer
  12824. enumdicname:
  12825. description: 单位名称(商品)
  12826. type: string
  12827. goodscode:
  12828. description: 商品代码(内部)
  12829. type: string
  12830. goodsid:
  12831. description: 商品id
  12832. type: integer
  12833. goodsname:
  12834. description: 商品名称
  12835. type: string
  12836. goodunitid:
  12837. description: 报价单位ID
  12838. type: integer
  12839. logincode:
  12840. description: 登录代码(账户)
  12841. type: string
  12842. marketid:
  12843. description: 市场id
  12844. type: integer
  12845. orderid:
  12846. description: 关联委托单号
  12847. type: string
  12848. orderprice:
  12849. description: 价格
  12850. type: number
  12851. orderqty:
  12852. description: 数量
  12853. type: number
  12854. orderstatus:
  12855. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12856. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12857. 16:成交失败违约(荷兰式竞拍专用)
  12858. type: integer
  12859. ordertime:
  12860. description: 委托时间
  12861. type: string
  12862. qtydecimalplace:
  12863. description: 成交量小数位
  12864. type: integer
  12865. tradedate:
  12866. description: 交易日
  12867. type: string
  12868. trademode:
  12869. description: 交易模式
  12870. type: integer
  12871. userid:
  12872. description: 用户id
  12873. type: integer
  12874. userinfotype:
  12875. description: 账户类型 1-个人 2-企业
  12876. type: integer
  12877. type: object
  12878. models.QhjMgrTradePayOrder:
  12879. properties:
  12880. accountname:
  12881. description: 用户名称
  12882. type: string
  12883. advanceratio:
  12884. description: 首付比率
  12885. type: number
  12886. agreeunit:
  12887. description: 合约乘数
  12888. type: number
  12889. buyaccountid:
  12890. description: 买方账号ID[报价币种]
  12891. type: integer
  12892. buyorderid:
  12893. description: 买方委托单号(关联单号)
  12894. type: string
  12895. createtime:
  12896. description: 创建时间
  12897. type: string
  12898. decimalplace:
  12899. description: 报价小数位
  12900. type: integer
  12901. enumdicname:
  12902. description: 单位名称(商品)
  12903. type: string
  12904. goodscode:
  12905. description: 商品代码(内部)
  12906. type: string
  12907. goodsid:
  12908. description: 商品ID
  12909. type: integer
  12910. goodsname:
  12911. description: 商品名称
  12912. type: string
  12913. goodunitid:
  12914. description: 报价单位ID
  12915. type: integer
  12916. logincode:
  12917. description: 登录代码(账户)
  12918. type: string
  12919. marketid:
  12920. description: 市场id
  12921. type: integer
  12922. offamount:
  12923. description: 优惠金额
  12924. type: number
  12925. operatetype:
  12926. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12927. type: integer
  12928. payamount:
  12929. description: 支付金额(金额)
  12930. type: number
  12931. payflag:
  12932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12933. type: integer
  12934. paylimitedtime:
  12935. description: 支付期限
  12936. type: string
  12937. paytime:
  12938. description: 付款时间
  12939. type: string
  12940. qtydecimalplace:
  12941. description: 成交量小数位
  12942. type: integer
  12943. sellaccountid:
  12944. description: 卖方账号ID[报价币种]
  12945. type: integer
  12946. sellorderid:
  12947. description: 卖方委托单号
  12948. type: string
  12949. tradeamount:
  12950. description: 成交金额(优惠后金额)
  12951. type: number
  12952. tradecharge:
  12953. description: 成交手续费(买方)
  12954. type: number
  12955. tradedate:
  12956. description: 交易日(yyyyMMdd)
  12957. type: string
  12958. tradeid:
  12959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12960. type: string
  12961. trademode:
  12962. description: 交易模式
  12963. type: integer
  12964. tradeprice:
  12965. description: 成交价格(价格)
  12966. type: number
  12967. tradeqty:
  12968. description: 成交数量(数量)
  12969. type: number
  12970. tradetime:
  12971. description: 成交时间
  12972. type: string
  12973. userid:
  12974. description: 用户id
  12975. type: integer
  12976. userinfotype:
  12977. description: 账户类型 1-个人 2-企业
  12978. type: integer
  12979. type: object
  12980. models.QhjMyTeamEx:
  12981. properties:
  12982. accountname:
  12983. description: 用户名称
  12984. type: string
  12985. accountstatus:
  12986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12987. type: integer
  12988. createtime:
  12989. description: 创建时间
  12990. type: string
  12991. mobile:
  12992. description: 手机号码
  12993. type: string
  12994. refereeuserid:
  12995. description: 推荐人id
  12996. type: integer
  12997. refernum:
  12998. description: 推荐码
  12999. type: string
  13000. subList:
  13001. items:
  13002. $ref: '#/definitions/models.QhjMyTeamEx'
  13003. type: array
  13004. userid:
  13005. description: 用户id
  13006. type: integer
  13007. userinfotype:
  13008. description: 用户类型 1-个人 2-企业
  13009. type: integer
  13010. type: object
  13011. models.QhjNodeAgreementConfig:
  13012. properties:
  13013. agreementcontent:
  13014. description: 协议内容
  13015. type: string
  13016. agreementid:
  13017. description: 协议ID
  13018. type: integer
  13019. agreementname:
  13020. description: 协议名称
  13021. type: string
  13022. agreementno:
  13023. description: 协议编号
  13024. type: string
  13025. agreementtype:
  13026. description: 协议类型 - 1:注册 2:登录 3:交易
  13027. type: integer
  13028. agreementversion:
  13029. description: 协议版本号
  13030. type: integer
  13031. configid:
  13032. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13033. type: integer
  13034. createtime:
  13035. description: 创建时间
  13036. type: string
  13037. goodsid:
  13038. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13039. type: integer
  13040. nodetype:
  13041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13042. type: integer
  13043. type: object
  13044. models.QhjParentAreaList:
  13045. properties:
  13046. accountname:
  13047. description: 账户名称(机构名称)
  13048. type: string
  13049. userid:
  13050. description: 用户ID
  13051. type: integer
  13052. usertype:
  13053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13054. type: integer
  13055. type: object
  13056. models.QhjPayOrder:
  13057. properties:
  13058. advanceratio:
  13059. description: 首付比率
  13060. type: number
  13061. buyaccountid:
  13062. description: 买方账号ID[报价币种]
  13063. type: integer
  13064. buyorderid:
  13065. description: 买方委托单号
  13066. type: string
  13067. createtime:
  13068. description: 创建时间
  13069. type: string
  13070. decimalplace:
  13071. description: 商品报价小数位
  13072. type: integer
  13073. enumdicname:
  13074. description: 单位名称
  13075. type: string
  13076. goodscode:
  13077. description: 商品代码
  13078. type: string
  13079. goodsid:
  13080. description: 商品ID
  13081. type: integer
  13082. goodsname:
  13083. description: 商品名称
  13084. type: string
  13085. goodunitid:
  13086. description: 商品单位id
  13087. type: integer
  13088. marketid:
  13089. description: 市场ID
  13090. type: integer
  13091. offamount:
  13092. description: 优惠金额
  13093. type: number
  13094. operatetype:
  13095. description: 买委托操作类型 - 1:正常下单 16:融资买入
  13096. type: integer
  13097. payamount:
  13098. description: 支付金额
  13099. type: number
  13100. payflag:
  13101. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  13102. type: integer
  13103. paylimitedtime:
  13104. description: 支付期限
  13105. type: string
  13106. paytime:
  13107. description: 付款时间
  13108. type: string
  13109. qtydecimalplace:
  13110. description: 成交量小数位
  13111. type: integer
  13112. sellaccountid:
  13113. description: 卖方账号ID[报价币种]
  13114. type: integer
  13115. sellorderid:
  13116. description: 卖方委托单号
  13117. type: string
  13118. tradeamount:
  13119. description: 成交金额(优惠后金额)
  13120. type: number
  13121. tradecharge:
  13122. description: 成交手续费(买方)
  13123. type: number
  13124. tradedate:
  13125. description: 交易日(yyyyMMdd)
  13126. type: string
  13127. tradeid:
  13128. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13129. type: string
  13130. tradeprice:
  13131. description: 成交价格
  13132. type: number
  13133. tradeqty:
  13134. description: 成交数量
  13135. type: number
  13136. type: object
  13137. models.QhjPickArea:
  13138. properties:
  13139. address:
  13140. description: 详细地址
  13141. type: string
  13142. cityid:
  13143. description: 市
  13144. type: integer
  13145. cityname:
  13146. description: 城市名称
  13147. type: string
  13148. countryid:
  13149. description: 国家
  13150. type: integer
  13151. countryname:
  13152. description: 国家名称
  13153. type: string
  13154. districtid:
  13155. description: 地区
  13156. type: integer
  13157. districtname:
  13158. description: 地区名称
  13159. type: string
  13160. fromuserid:
  13161. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  13162. type: integer
  13163. fromusername:
  13164. description: 所属机构名称
  13165. type: string
  13166. provinceid:
  13167. description: 省
  13168. type: integer
  13169. provincename:
  13170. description: 省名称
  13171. type: string
  13172. suborgtype:
  13173. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  13174. type: integer
  13175. userid:
  13176. description: 机构用户ID 其他做市关系,都设置为 1
  13177. type: integer
  13178. username:
  13179. description: 机构用户名称(门店门称)
  13180. type: string
  13181. type: object
  13182. models.QhjPickGoods:
  13183. properties:
  13184. enumdicname:
  13185. description: 单位名称(提货商品)
  13186. type: string
  13187. goodsid:
  13188. description: 商品id
  13189. type: integer
  13190. imageaddress:
  13191. description: 图片
  13192. type: string
  13193. modifierid:
  13194. description: 修改人
  13195. type: integer
  13196. modifiername:
  13197. description: 修改人名称
  13198. type: string
  13199. modifysrc:
  13200. description: 修改来源 - 1:管理端 2:终端
  13201. type: integer
  13202. pickupgoodsagreeunit:
  13203. description: 合约乘数
  13204. type: number
  13205. pickupgoodsdesc:
  13206. description: 描述
  13207. type: string
  13208. pickupgoodsid:
  13209. description: 提货商品ID
  13210. type: string
  13211. pickupgoodsname:
  13212. description: 提货商品名称
  13213. type: string
  13214. pickupgoodsstatus:
  13215. description: 状态 - 1:正常 2:停用 3:注销
  13216. type: integer
  13217. pickupgoodsunitid:
  13218. description: 单位ID
  13219. type: integer
  13220. pickupratio:
  13221. description: 提货系数
  13222. type: number
  13223. preparedays:
  13224. description: 备货期(天)
  13225. type: integer
  13226. remark:
  13227. description: 备注
  13228. type: string
  13229. updatetime:
  13230. description: 更新时间
  13231. type: string
  13232. type: object
  13233. models.QhjRSTriggerLog:
  13234. properties:
  13235. accountid:
  13236. description: 用户资金账户
  13237. type: integer
  13238. accountname:
  13239. description: 账号名称(ACCOUNTID对应的名称)
  13240. type: string
  13241. currencyid:
  13242. description: 币种id
  13243. type: integer
  13244. currencyname:
  13245. description: 币种名称
  13246. type: string
  13247. decimalplace:
  13248. description: 商品报价小数位
  13249. type: integer
  13250. enumdicname:
  13251. description: 单位名称
  13252. type: string
  13253. goodscode:
  13254. description: 定投商品代码
  13255. type: string
  13256. goodsid:
  13257. description: 定投商品ID
  13258. type: integer
  13259. goodsname:
  13260. description: 定投商品名称
  13261. type: string
  13262. goodunitid:
  13263. description: 定投商品单位id
  13264. type: integer
  13265. logid:
  13266. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  13267. type: string
  13268. logincode:
  13269. description: 账号(登录代码)
  13270. type: string
  13271. qtydecimalplace:
  13272. description: 成交量小数位
  13273. type: integer
  13274. regularlycycle:
  13275. description: 定投频率 - 1:每周 2:每月
  13276. type: integer
  13277. regularlycyclevalue:
  13278. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13279. type: string
  13280. regularlymode:
  13281. description: 定投方式 - 1:按数量 2:按金额
  13282. type: integer
  13283. regularlymodevalue:
  13284. description: 定投方式值 - 数量或金额
  13285. type: number
  13286. regularlystrategyid:
  13287. description: 定投策略ID
  13288. type: integer
  13289. retcode:
  13290. description: 错误码
  13291. type: string
  13292. tradeid:
  13293. description: 成交单ID
  13294. type: string
  13295. triggeramount:
  13296. description: 触发金额
  13297. type: number
  13298. triggerqty:
  13299. description: 触发数量
  13300. type: number
  13301. triggerstatus:
  13302. description: 触发状态 - 1:成功 2:失败
  13303. type: integer
  13304. triggertime:
  13305. description: 触发时间
  13306. type: string
  13307. triggertradedate:
  13308. description: 触发交易日
  13309. type: string
  13310. userid:
  13311. description: 所属用户ID
  13312. type: integer
  13313. userinfotype:
  13314. description: 用户类型 1-个人 2-企业
  13315. type: integer
  13316. username:
  13317. description: 用户名称(userid对应的名称)
  13318. type: string
  13319. type: object
  13320. models.QhjRStrategy:
  13321. properties:
  13322. accountid:
  13323. description: 用户资金账户
  13324. type: integer
  13325. accountname:
  13326. description: 账号名称(ACCOUNTID对应的名称)
  13327. type: string
  13328. currencyid:
  13329. description: 币种id
  13330. type: integer
  13331. currencyname:
  13332. description: 币种名称
  13333. type: string
  13334. decimalplace:
  13335. description: 商品报价小数位
  13336. type: integer
  13337. enumdicname:
  13338. description: 单位名称
  13339. type: string
  13340. goodscode:
  13341. description: 定投商品代码
  13342. type: string
  13343. goodsid:
  13344. description: 定投商品ID
  13345. type: integer
  13346. goodsname:
  13347. description: 定投商品名称
  13348. type: string
  13349. goodunitid:
  13350. description: 定投商品单位id
  13351. type: integer
  13352. lasteffecttradedate:
  13353. description: 最新生效交易日
  13354. type: string
  13355. laststoptradedate:
  13356. description: 最新暂停交易日
  13357. type: string
  13358. lasttriggertradedate:
  13359. description: 最新触发交易日
  13360. type: string
  13361. logincode:
  13362. description: 账号(登录代码)
  13363. type: string
  13364. nexttriggeramount:
  13365. description: 下次触发金额
  13366. type: number
  13367. nexttriggerdate:
  13368. description: 下次触发日期
  13369. type: string
  13370. nexttriggerqty:
  13371. description: 下次触发数量 [按小数位放大值]
  13372. type: number
  13373. qtydecimalplace:
  13374. description: 成交量小数位
  13375. type: integer
  13376. regularlycycle:
  13377. description: 定投频率 - 1:每周 2:每月
  13378. type: integer
  13379. regularlycyclevalue:
  13380. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  13381. type: string
  13382. regularlymode:
  13383. description: 定投方式 - 1:按数量 2:按金额
  13384. type: integer
  13385. regularlymodevalue:
  13386. description: 定投方式值 - 数量或金额
  13387. type: number
  13388. regularlystrategyid:
  13389. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  13390. type: integer
  13391. regularlystrategystatus:
  13392. description: 策略状态 - 1:正常 2:暂停 3:终止
  13393. type: integer
  13394. remark:
  13395. description: 备注
  13396. type: string
  13397. triggersuccesstimes:
  13398. description: 累计定投成功次数
  13399. type: string
  13400. triggertotalamount:
  13401. description: 累计定投金额(成功)
  13402. type: number
  13403. triggertotalqty:
  13404. description: 累计定投数量(成功) [按小数位放大值]
  13405. type: number
  13406. triggertotaltimes:
  13407. description: 累计定投总次数
  13408. type: string
  13409. updatesrc:
  13410. description: 更新来源 - 1:管理端 2:终端
  13411. type: integer
  13412. updatetime:
  13413. description: 更新时间
  13414. type: string
  13415. updatorid:
  13416. description: 更新人
  13417. type: string
  13418. userid:
  13419. description: 所属用户ID
  13420. type: integer
  13421. userinfotype:
  13422. description: 用户类型 1-个人 2-企业
  13423. type: integer
  13424. username:
  13425. description: 用户名称(userid对应的名称)
  13426. type: string
  13427. type: object
  13428. models.QhjReckonPriceLog:
  13429. properties:
  13430. decimalplace:
  13431. description: 商品报价小数位
  13432. type: integer
  13433. goodscode:
  13434. description: 商品代码
  13435. type: string
  13436. goodsid:
  13437. description: 商品ID
  13438. type: integer
  13439. goodsname:
  13440. description: 商品名称
  13441. type: string
  13442. lastreckonprice:
  13443. description: 上日结算价
  13444. type: number
  13445. nextdnlimitprice:
  13446. description: 下个交易日跌停价
  13447. type: number
  13448. nexttrade:
  13449. description: 下个交易日
  13450. type: string
  13451. nextuplimitprice:
  13452. description: 下个交易日涨停价
  13453. type: number
  13454. reckonprice:
  13455. description: 今日结算价(定投价)
  13456. type: number
  13457. reckontime:
  13458. description: 结算时间
  13459. type: string
  13460. totalholderqty:
  13461. description: 总持仓数
  13462. type: integer
  13463. totalstock:
  13464. description: 总库存
  13465. type: integer
  13466. tradedate:
  13467. description: 交易日
  13468. type: string
  13469. updowncount:
  13470. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  13471. type: integer
  13472. updownflag:
  13473. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  13474. type: integer
  13475. updownrate:
  13476. description: 今日涨跌幅
  13477. type: number
  13478. updownrate_2d:
  13479. description: 连续两日涨跌幅
  13480. type: number
  13481. updownrate_3d:
  13482. description: 连续三日涨跌幅
  13483. type: number
  13484. type: object
  13485. models.QhjScoreLog:
  13486. properties:
  13487. accountid:
  13488. description: 账户ID
  13489. type: integer
  13490. createtime:
  13491. description: 创建时间(时间)
  13492. type: string
  13493. goodsid:
  13494. description: 商品ID
  13495. type: integer
  13496. hasuploaded:
  13497. description: 是否已同步(千海金) 0:未同步 1;已同步
  13498. type: integer
  13499. logid:
  13500. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13501. type: string
  13502. marketid:
  13503. description: 市场ID
  13504. type: integer
  13505. relatedamount:
  13506. description: 关联金额
  13507. type: number
  13508. relatedorderid:
  13509. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  13510. type: string
  13511. scoreconfigvalue1:
  13512. description: 积分配置1
  13513. type: integer
  13514. scoreconfigvalue2:
  13515. description: 积分配置1
  13516. type: integer
  13517. scoretype:
  13518. description: 积分类型 - 1:提货积分
  13519. type: integer
  13520. scorevalue:
  13521. description: 积分
  13522. type: number
  13523. tradedate:
  13524. description: 交易日(yyyyMMdd)
  13525. type: string
  13526. uploadedtime:
  13527. description: 同步时间
  13528. type: string
  13529. userid:
  13530. description: 用户ID
  13531. type: integer
  13532. type: object
  13533. models.QhjSiteColumnDetail:
  13534. properties:
  13535. author:
  13536. description: 作者
  13537. type: string
  13538. brief:
  13539. description: 简介
  13540. type: string
  13541. columnid:
  13542. description: 所属栏目
  13543. type: integer
  13544. context:
  13545. description: 内容
  13546. type: string
  13547. coverimage:
  13548. description: 封面图片
  13549. type: string
  13550. creaedate:
  13551. description: 创建时间
  13552. type: string
  13553. creatorid:
  13554. description: 创建人
  13555. type: integer
  13556. hits:
  13557. description: 点击数
  13558. type: integer
  13559. id:
  13560. description: ID(SEQ_SITE_COLUMNDETAIL)
  13561. type: integer
  13562. isshow:
  13563. description: 是否展示 - 0:不展示 1:展示
  13564. type: integer
  13565. istop:
  13566. description: 是否置顶 - 0:不置 1:置顶
  13567. type: integer
  13568. modifierid:
  13569. description: 操作人
  13570. type: integer
  13571. publishdate:
  13572. description: 发布日期
  13573. type: string
  13574. status:
  13575. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  13576. type: integer
  13577. title:
  13578. description: 标题
  13579. type: string
  13580. updatedate:
  13581. description: 修改时间
  13582. type: string
  13583. userid:
  13584. description: 用户ID(默认为0, 核心为为机构用户ID)
  13585. type: integer
  13586. username:
  13587. description: 用户名称
  13588. type: string
  13589. type: object
  13590. models.QhjTeamOrder:
  13591. properties:
  13592. accountid:
  13593. description: 账户ID[报价币种]
  13594. type: integer
  13595. accountname:
  13596. description: 账户名称
  13597. type: string
  13598. agreeunit:
  13599. description: 合约乘数
  13600. type: number
  13601. buyorsell:
  13602. description: 方向 - 0:买 1:卖
  13603. type: integer
  13604. decimalplace:
  13605. description: 报价小数位
  13606. type: integer
  13607. enumdicname:
  13608. description: 单位名称
  13609. type: string
  13610. goodscode:
  13611. description: 商品代码(内部)
  13612. type: string
  13613. goodsid:
  13614. description: 商品ID
  13615. type: integer
  13616. goodsname:
  13617. description: 商品名称
  13618. type: string
  13619. goodunitid:
  13620. description: 报价单位ID
  13621. type: integer
  13622. marketid:
  13623. description: 市场ID
  13624. type: integer
  13625. marketname:
  13626. description: 市场名称
  13627. type: string
  13628. qtydecimalplace:
  13629. description: 成交量小数位
  13630. type: integer
  13631. refereeuserid:
  13632. description: 推荐人ID
  13633. type: integer
  13634. tradeamount:
  13635. description: 成交金额[账户币种,用于所有权]
  13636. type: number
  13637. tradedate:
  13638. description: 交易日(yyyyMMdd)
  13639. type: string
  13640. trademode:
  13641. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13642. 21:竞拍-大宗式 22:受托竞价
  13643. type: integer
  13644. tradeprice:
  13645. description: 成交价格
  13646. type: number
  13647. tradeqty:
  13648. description: 成交数量
  13649. type: number
  13650. tradetime:
  13651. description: 成交时间
  13652. type: string
  13653. userid:
  13654. description: 用户ID
  13655. type: integer
  13656. type: object
  13657. models.QhjTradeGoodsPickup:
  13658. properties:
  13659. accountid:
  13660. description: 账户ID
  13661. type: integer
  13662. address:
  13663. description: 提货人详细地址
  13664. type: string
  13665. amount:
  13666. description: 提货金额
  13667. type: number
  13668. artradedate:
  13669. description: 自动收货交易日(yyyyMMdd)
  13670. type: string
  13671. auditer:
  13672. description: 审核人
  13673. type: integer
  13674. auditsrc:
  13675. description: 更新来源 - 1:管理端 2:终端
  13676. type: integer
  13677. audittime:
  13678. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  13679. type: string
  13680. audittradedate:
  13681. description: 审核交易日(yyyyMMdd)
  13682. type: string
  13683. cardnum:
  13684. description: 提货人证件号码
  13685. type: string
  13686. cardtypeid:
  13687. description: 提货人证件类型
  13688. type: integer
  13689. checkremark:
  13690. description: 审核备注
  13691. type: string
  13692. cityid:
  13693. description: 市
  13694. type: integer
  13695. cityname:
  13696. description: 城市名称
  13697. type: string
  13698. confirmtime:
  13699. description: 取货时间 或 收货时间
  13700. type: string
  13701. countryid:
  13702. description: 国家
  13703. type: integer
  13704. countryname:
  13705. description: 国家名称
  13706. type: string
  13707. decimalplace:
  13708. description: 商品报价小数位
  13709. type: integer
  13710. districtid:
  13711. description: 地区
  13712. type: integer
  13713. districtname:
  13714. description: 地区名称
  13715. type: string
  13716. enumdicname:
  13717. description: 单位名称(提货商品)
  13718. type: string
  13719. expresscompany:
  13720. description: 物流公司
  13721. type: string
  13722. expressnum:
  13723. description: 物流单号
  13724. type: string
  13725. goodsagreeunit:
  13726. description: 交易商品乘数
  13727. type: number
  13728. goodscode:
  13729. description: 商品代码
  13730. type: string
  13731. goodsid:
  13732. description: 商品ID
  13733. type: integer
  13734. goodsname:
  13735. description: 商品名称
  13736. type: string
  13737. goodsqty:
  13738. description: 交易商品手数(69模式按成交量小数位放大取整)
  13739. type: number
  13740. handlestatus:
  13741. description: 处理状态
  13742. type: integer
  13743. logincode:
  13744. description: 账号(登录代码, 有可能为空)
  13745. type: string
  13746. marketid:
  13747. description: 市场ID
  13748. type: integer
  13749. phonenum:
  13750. description: 提货人联系方式
  13751. type: string
  13752. pickupgoodsagreeunit:
  13753. description: 提货商品合约乘数
  13754. type: number
  13755. pickupgoodsid:
  13756. description: 提货商品ID
  13757. type: string
  13758. pickupgoodsname:
  13759. description: 提货商品名称
  13760. type: string
  13761. pickupgoodsqty:
  13762. description: 提货商品手数(数量)
  13763. type: number
  13764. pickupgoodsunitid:
  13765. description: 单位ID(提货商品)
  13766. type: integer
  13767. pickupratio:
  13768. description: 提货系数
  13769. type: number
  13770. preparedays:
  13771. description: 备货期(天)-提货单明细表
  13772. type: integer
  13773. provinceid:
  13774. description: 省
  13775. type: integer
  13776. provincename:
  13777. description: 省名称
  13778. type: string
  13779. qty:
  13780. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  13781. type: number
  13782. qtydecimalplace:
  13783. description: 商品数量小数位
  13784. type: integer
  13785. recivername:
  13786. description: 提货人姓名
  13787. type: string
  13788. reqtime:
  13789. description: 提货申请时间
  13790. type: string
  13791. storeuserid:
  13792. description: 门店用户ID (千海金)
  13793. type: integer
  13794. storeusername:
  13795. description: 门店用户名称
  13796. type: string
  13797. takemode:
  13798. description: 提货方式 - 2:自提 3:配送(邮寄)
  13799. type: integer
  13800. takeorderid:
  13801. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13802. type: string
  13803. takeorderstatus:
  13804. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13805. 7:已拒绝 8:已撤销
  13806. type: integer
  13807. takeremark:
  13808. description: 提货备注
  13809. type: string
  13810. tradedate:
  13811. description: 交易日(yyyyMMdd)
  13812. type: string
  13813. updatetime:
  13814. description: 更新时间
  13815. type: string
  13816. userid:
  13817. description: 用户ID
  13818. type: integer
  13819. userinfotype:
  13820. description: 客户类型 1-个人 2-企业
  13821. type: integer
  13822. username:
  13823. description: 用户名称
  13824. type: string
  13825. type: object
  13826. models.QhjUserNodeCfgAndStatus:
  13827. properties:
  13828. agreementcontent:
  13829. description: 协议内容
  13830. type: string
  13831. agreementid:
  13832. description: 协议ID
  13833. type: integer
  13834. agreementname:
  13835. description: 协议名称
  13836. type: string
  13837. agreementno:
  13838. description: 协议编号
  13839. type: string
  13840. agreementtype:
  13841. description: 协议类型 - 1:注册 2:登录 3:交易
  13842. type: integer
  13843. agreementversion:
  13844. description: 协议版本号
  13845. type: integer
  13846. configid:
  13847. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13848. type: integer
  13849. createtime:
  13850. description: 创建时间
  13851. type: string
  13852. goodsid:
  13853. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13854. type: integer
  13855. nodetype:
  13856. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13857. type: integer
  13858. signtimestamp:
  13859. description: 签约状态时间戳(最近一次)
  13860. type: string
  13861. tradedate:
  13862. description: 签约交易日(yyyyMMdd)
  13863. type: string
  13864. userid:
  13865. description: 客户ID
  13866. type: integer
  13867. type: object
  13868. models.Qhjgoodsex:
  13869. properties:
  13870. canfinance:
  13871. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13872. type: integer
  13873. canregularlybuy:
  13874. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13875. type: integer
  13876. defaulttradeuserid:
  13877. description: 默认交易用户ID
  13878. type: integer
  13879. deliverygoodsid:
  13880. description: 现货品种ID
  13881. type: integer
  13882. goodsid:
  13883. description: 商品ID(自增ID SEQ_GOODS)
  13884. type: integer
  13885. minamount:
  13886. description: 最小购买金额
  13887. type: number
  13888. regularlybuyminamount:
  13889. description: 定投最小金额
  13890. type: number
  13891. regularlybuyminqty:
  13892. description: 定投最小数量
  13893. type: number
  13894. spotgoodsbrandid:
  13895. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13896. type: integer
  13897. visibilityforenterprise:
  13898. description: 企业客户是否可见 - 0:不可见 1:可见
  13899. type: integer
  13900. visibilityforpersonal:
  13901. description: 个人客户是否可见 - 0:不可见 1:可见
  13902. type: integer
  13903. wrstandardid:
  13904. description: 现货商品ID
  13905. type: integer
  13906. type: object
  13907. models.QueryErrorInfosRsp:
  13908. properties:
  13909. description:
  13910. description: 异常描述
  13911. type: string
  13912. errorcode:
  13913. description: 异常代码
  13914. type: string
  13915. errorid:
  13916. description: 异常ID
  13917. type: integer
  13918. modulecode:
  13919. description: 所属模块
  13920. type: string
  13921. operatecode:
  13922. description: 所属操作
  13923. type: string
  13924. rownumber:
  13925. description: 行号
  13926. type: string
  13927. required:
  13928. - errorid
  13929. type: object
  13930. models.QueryHedgeOrderDetailRsp:
  13931. properties:
  13932. accountid:
  13933. description: 账户ID
  13934. type: integer
  13935. buyorsell:
  13936. description: 买卖 - 0:买 1:卖
  13937. type: integer
  13938. cancellogincode:
  13939. description: 撤单人
  13940. type: string
  13941. channelbuildtype:
  13942. description: 开平标志 - 0:无 1:建仓 2:平仓
  13943. type: integer
  13944. channelinnerorderstatus:
  13945. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13946. 9:全部成交
  13947. type: integer
  13948. channeloperatetype:
  13949. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13950. type: integer
  13951. closetype:
  13952. description: 平仓方式 - 0:无 1:平今 2:平昨
  13953. type: integer
  13954. curexchangerate:
  13955. description: 当前汇率
  13956. type: number
  13957. decimalplace:
  13958. description: 商品报价小数位
  13959. type: integer
  13960. exchangefullname:
  13961. description: 外部交易所全称
  13962. type: string
  13963. goodscode:
  13964. description: 商品代码(内部)
  13965. type: string
  13966. goodsid:
  13967. description: 商品ID
  13968. type: integer
  13969. goodsname:
  13970. description: 商品名称
  13971. type: string
  13972. marketid:
  13973. description: 市场ID
  13974. type: integer
  13975. openfreezemargin:
  13976. description: 冻结保证金(冻结交易金额)
  13977. type: number
  13978. orderid:
  13979. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13980. type: string
  13981. orderlogincode:
  13982. description: 委托人
  13983. type: string
  13984. orderprice:
  13985. description: 委托价格(账户)
  13986. type: number
  13987. orderqty:
  13988. description: 委托数量
  13989. type: integer
  13990. ordertime:
  13991. description: 委托时间
  13992. type: string
  13993. pricemode:
  13994. description: '取价方式 - 1:市价 2: 限价'
  13995. type: integer
  13996. tradedate:
  13997. description: 交易日(yyyyMMdd)
  13998. type: string
  13999. tradeqty:
  14000. description: 成交数量
  14001. type: integer
  14002. type: object
  14003. models.QueryHedgeTradeDetailRsp:
  14004. properties:
  14005. accountid:
  14006. description: 账号ID
  14007. type: integer
  14008. buyorsell:
  14009. description: 方向 - 0:买 1:卖
  14010. type: integer
  14011. channelbuildtype:
  14012. description: 委托单据类型 0:无 1:建仓 2:平仓
  14013. type: integer
  14014. closecharge:
  14015. description: 平仓手续费(账户)
  14016. type: number
  14017. closecharge2:
  14018. description: 平仓手续费(商品)
  14019. type: number
  14020. closepl:
  14021. description: 平仓盈亏(账户)
  14022. type: number
  14023. closepl2:
  14024. description: 平仓盈亏(商品)
  14025. type: number
  14026. closepl3:
  14027. description: 平仓盈亏(账户)(逐笔)
  14028. type: number
  14029. closepl4:
  14030. description: 平仓盈亏(商品)(逐笔)
  14031. type: number
  14032. closetype:
  14033. description: 平仓方式 - 0:无 1:平今 2:平昨
  14034. type: integer
  14035. curexchangerate:
  14036. description: 当前汇率
  14037. type: number
  14038. decimalplace:
  14039. description: 商品报价小数位
  14040. type: integer
  14041. exchangefullname:
  14042. description: 外部交易所全称
  14043. type: string
  14044. goodscode:
  14045. description: 商品代码(内部)
  14046. type: string
  14047. goodsid:
  14048. description: 商品ID
  14049. type: integer
  14050. goodsname:
  14051. description: 商品名称
  14052. type: string
  14053. marketid:
  14054. description: 市场ID
  14055. type: integer
  14056. opencharge:
  14057. description: 建仓手续费(账户)
  14058. type: number
  14059. opencharge2:
  14060. description: 建仓手续费(商品)
  14061. type: number
  14062. orderid:
  14063. description: 委托单号
  14064. type: string
  14065. orderlogincode:
  14066. description: 委托人
  14067. type: string
  14068. tradeamount:
  14069. description: 成交金额(账户)
  14070. type: number
  14071. tradedate:
  14072. description: 交易日(yyyyMMdd)
  14073. type: string
  14074. tradeid:
  14075. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14076. type: string
  14077. tradeprice:
  14078. description: 成交价格
  14079. type: number
  14080. tradeqty:
  14081. description: 成交数量
  14082. type: integer
  14083. tradetime:
  14084. description: 成交时间
  14085. type: string
  14086. tradetype:
  14087. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  14088. type: integer
  14089. type: object
  14090. models.QuotePrimaryMenu:
  14091. properties:
  14092. Index:
  14093. description: 序号
  14094. type: integer
  14095. Key:
  14096. description: 键名
  14097. type: string
  14098. Name:
  14099. description: 菜单名称
  14100. type: string
  14101. SubMenus:
  14102. description: 子菜单
  14103. items:
  14104. $ref: '#/definitions/models.QuoteSecondaryMenu'
  14105. type: array
  14106. SubTitleType:
  14107. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  14108. type: integer
  14109. TradeModes:
  14110. description: 包含市场交易类型
  14111. type: string
  14112. type: object
  14113. models.QuoteSecondaryMenu:
  14114. properties:
  14115. ExExchangeCode:
  14116. description: 外部交易所代码
  14117. type: string
  14118. ExExchangeID:
  14119. description: 外部交易所ID
  14120. type: integer
  14121. GoodsGroupIDs:
  14122. description: 商品组ID列表
  14123. items:
  14124. type: integer
  14125. type: array
  14126. Index:
  14127. description: 序号
  14128. type: integer
  14129. MarketID:
  14130. description: 市场ID
  14131. type: integer
  14132. MenuTitle:
  14133. description: 菜单标题(市场名称或外部交易所名称)
  14134. type: string
  14135. TradeMode:
  14136. description: 交易模式
  14137. type: integer
  14138. type: object
  14139. models.RelatedTaAccount:
  14140. properties:
  14141. accountid:
  14142. description: 资金账户ID
  14143. type: integer
  14144. type: object
  14145. models.RoleMenu:
  14146. properties:
  14147. hasright:
  14148. description: 是否有权限 0-没有权限 1-有权限
  14149. type: integer
  14150. iconame:
  14151. description: 菜单图标
  14152. type: string
  14153. menutype:
  14154. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  14155. type: integer
  14156. parentcode:
  14157. description: 上级资源代码
  14158. type: string
  14159. remark:
  14160. description: 菜单备注
  14161. type: string
  14162. resourcecode:
  14163. description: 菜单代码
  14164. type: string
  14165. resourcelevel:
  14166. description: 级别
  14167. type: integer
  14168. resourcename:
  14169. description: 菜单名称
  14170. type: string
  14171. roleid:
  14172. description: 角色id
  14173. type: integer
  14174. sort:
  14175. description: 排序
  14176. type: integer
  14177. subMenu:
  14178. description: 子级菜单(结构同上层一样, swag解析不出来)
  14179. items:
  14180. $ref: '#/definitions/models.RoleMenu'
  14181. type: array
  14182. url:
  14183. description: URL
  14184. type: string
  14185. userid:
  14186. description: 用户id
  14187. type: integer
  14188. type: object
  14189. models.SearchGoods:
  14190. properties:
  14191. goodscode:
  14192. description: 商品代码(内部)
  14193. type: string
  14194. goodsid:
  14195. description: 商品ID(自增ID SEQ_GOODS)
  14196. type: integer
  14197. goodsname:
  14198. description: 商品名称
  14199. type: string
  14200. marketid:
  14201. description: 所属市场ID
  14202. type: integer
  14203. marketname:
  14204. description: 市场名称
  14205. type: string
  14206. trademode:
  14207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14208. 21:竞拍-大宗式 22:受托竞价
  14209. type: integer
  14210. required:
  14211. - goodscode
  14212. - goodsid
  14213. - goodsname
  14214. - marketid
  14215. - trademode
  14216. type: object
  14217. models.Systemparam:
  14218. properties:
  14219. loginid:
  14220. description: 更新用户账号,登录账号
  14221. type: string
  14222. modifyflag:
  14223. description: 修改标志0 不允许修改 1 允许修改
  14224. type: integer
  14225. paramcode:
  14226. description: 参数代码
  14227. type: string
  14228. paramname:
  14229. description: 参数名
  14230. type: string
  14231. paramtype:
  14232. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  14233. type: integer
  14234. paramvalue:
  14235. description: 参数值
  14236. type: string
  14237. paramvalue2:
  14238. description: 参数值(CLOB)
  14239. type: string
  14240. regexpress:
  14241. description: 正则表达式
  14242. type: string
  14243. remark:
  14244. description: 备注
  14245. type: string
  14246. serverip:
  14247. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  14248. type: string
  14249. showflag:
  14250. description: 是否显示0 不显示 1 显示
  14251. type: integer
  14252. updatetime:
  14253. description: 更新时间
  14254. type: string
  14255. userid:
  14256. description: 更新用户ID
  14257. type: integer
  14258. required:
  14259. - paramcode
  14260. type: object
  14261. models.Szdz3convertconfig:
  14262. properties:
  14263. canin:
  14264. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  14265. type: integer
  14266. canout:
  14267. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  14268. type: integer
  14269. converttype:
  14270. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14271. 6:交易转花生米(不设置)
  14272. type: integer
  14273. createtime:
  14274. description: 创建时间
  14275. type: string
  14276. creatorid:
  14277. description: 创建人
  14278. type: integer
  14279. daymaxvalue:
  14280. description: 当日最大转入限制
  14281. type: number
  14282. freezedays:
  14283. description: 冻结天数 [5:花生米转交易]
  14284. type: integer
  14285. innergoodsid:
  14286. description: 内部商品ID[交易]
  14287. type: integer
  14288. inratio:
  14289. description: 目标值
  14290. type: integer
  14291. modifierid:
  14292. description: 修改人
  14293. type: integer
  14294. modifytime:
  14295. description: 修改时间
  14296. type: string
  14297. outergoodscode:
  14298. description: 外部商品代码[JD\PD]
  14299. type: string
  14300. outratio:
  14301. description: 源值
  14302. type: integer
  14303. pddecimalplace:
  14304. description: PD小数位
  14305. type: integer
  14306. timemaxvalue:
  14307. description: 单次最大转入限制
  14308. type: number
  14309. timeminvalue:
  14310. description: 单次最小转入限制
  14311. type: number
  14312. required:
  14313. - converttype
  14314. - innergoodsid
  14315. - outergoodscode
  14316. type: object
  14317. models.Szdz3searchwhitelist:
  14318. properties:
  14319. createtime:
  14320. description: 创建时间
  14321. type: string
  14322. creatorid:
  14323. description: 创建人
  14324. type: integer
  14325. modifierid:
  14326. description: 修改人
  14327. type: integer
  14328. modifytime:
  14329. description: 修改时间
  14330. type: string
  14331. userid:
  14332. description: 用户ID
  14333. type: integer
  14334. required:
  14335. - userid
  14336. type: object
  14337. models.TBGoods:
  14338. properties:
  14339. agreeunit:
  14340. description: 合约乘数
  14341. type: number
  14342. enumdicname:
  14343. description: 单位名称
  14344. type: string
  14345. goodscode:
  14346. description: 商品代码(内部)
  14347. type: string
  14348. goodsid:
  14349. description: 商品ID(自增ID SEQ_GOODS)
  14350. type: integer
  14351. goodsname:
  14352. description: 商品名称
  14353. type: string
  14354. type: object
  14355. models.TBGoodsGroup:
  14356. properties:
  14357. GDLST:
  14358. description: 商品列表
  14359. items:
  14360. $ref: '#/definitions/models.TBGoods'
  14361. type: array
  14362. convertratio:
  14363. description: 折算系数
  14364. type: number
  14365. enumdicname:
  14366. description: 单位名称
  14367. type: string
  14368. exexchangecode:
  14369. description: 交易所代码
  14370. type: string
  14371. exexchangename:
  14372. description: 交易所名称
  14373. type: string
  14374. goodsgroupid:
  14375. description: 商品组ID(自增ID)
  14376. type: integer
  14377. goodsgroupname:
  14378. description: 商品组名称
  14379. type: string
  14380. goodunitid:
  14381. description: 报价单位ID
  14382. type: integer
  14383. type: object
  14384. models.TBMiddleGoods:
  14385. properties:
  14386. GPLST:
  14387. description: 期货品种列表
  14388. items:
  14389. $ref: '#/definitions/models.TBGoodsGroup'
  14390. type: array
  14391. WDLST:
  14392. description: 商品信息列表(现货品类)
  14393. items:
  14394. $ref: '#/definitions/models.TBWrstandard'
  14395. type: array
  14396. areauserid:
  14397. description: 机构用户ID
  14398. type: integer
  14399. enumdicname:
  14400. description: 单位名称
  14401. type: string
  14402. goodsunitid:
  14403. description: 套保品种单位id
  14404. type: integer
  14405. middlegoodscode:
  14406. description: 套保品种代码
  14407. type: string
  14408. middlegoodsid:
  14409. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  14410. type: integer
  14411. middlegoodsname:
  14412. description: 套保品种名称
  14413. type: string
  14414. needarbitrageratio:
  14415. description: 套利比率
  14416. type: number
  14417. needhedgeratio:
  14418. description: 套保比率
  14419. type: number
  14420. type: object
  14421. models.TBWrstandard:
  14422. properties:
  14423. convertratio:
  14424. description: 折算系数
  14425. type: number
  14426. deliverygoodsname:
  14427. description: 品种名称
  14428. type: string
  14429. enumdicname:
  14430. description: 单位名称
  14431. type: string
  14432. vatrate:
  14433. description: 增值税率
  14434. type: number
  14435. wrstandardcode:
  14436. description: 现货商品代码
  14437. type: string
  14438. wrstandardid:
  14439. description: 现货商品ID(SEQ_WRSTANDARD)
  14440. type: integer
  14441. wrstandardname:
  14442. description: 现货商品名称
  14443. type: string
  14444. type: object
  14445. models.Taaccount:
  14446. properties:
  14447. accountflag:
  14448. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  14449. type: integer
  14450. accountid:
  14451. description: 资金账户ID
  14452. type: integer
  14453. accountname:
  14454. description: 账户名称
  14455. type: string
  14456. balance:
  14457. description: 期初余额
  14458. type: number
  14459. capitalbalance:
  14460. description: 本金余额[外部子账户实际出入金余额]
  14461. type: number
  14462. changeflag:
  14463. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  14464. type: integer
  14465. changetime:
  14466. description: 账户状态变更时间
  14467. type: string
  14468. closepl:
  14469. description: 今日平仓盈亏
  14470. type: number
  14471. creditdecrease:
  14472. description: 今日授信减少
  14473. type: number
  14474. creditincrease:
  14475. description: 今日授信增加
  14476. type: number
  14477. curamount:
  14478. description: 总市值(从持仓中统计)
  14479. type: number
  14480. currencyid:
  14481. description: 货币ID
  14482. type: integer
  14483. currentbalance:
  14484. description: 期末余额
  14485. type: number
  14486. freezecharge:
  14487. description: 手续费冻结
  14488. type: number
  14489. freezemargin:
  14490. description: 冻结保证金
  14491. type: number
  14492. fromaccountid:
  14493. description: 所属上级账户
  14494. type: integer
  14495. inamount:
  14496. description: 今日入金金额(包括三方入金)
  14497. type: number
  14498. ismain:
  14499. description: 是否母账号 0:不是母账户 1:是母账户
  14500. type: integer
  14501. ismarketaccount:
  14502. description: 是否机构接单账号 0:不是 1:是
  14503. type: integer
  14504. isreckonaccount:
  14505. description: 是否机构分润账号 0:不是 1:是
  14506. type: integer
  14507. mortgagecredit:
  14508. description: 授信金额
  14509. type: number
  14510. orifreezecharge:
  14511. description: 期初手续费冻结
  14512. type: number
  14513. orifreezemargin:
  14514. description: 期初冻结保证金
  14515. type: number
  14516. orimortgagecredit:
  14517. description: 期初授信金额
  14518. type: number
  14519. oriothercredit:
  14520. description: 期初其它授信金额
  14521. type: number
  14522. oriotherfreezemargin:
  14523. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  14524. type: number
  14525. orioutamountfreeze:
  14526. description: 期初出金冻结
  14527. type: number
  14528. oriusedmargin:
  14529. description: 期初占用保证金
  14530. type: number
  14531. othercredit:
  14532. description: 其它授信金额
  14533. type: number
  14534. othercreditdecrease:
  14535. description: 今日其它授信减少
  14536. type: number
  14537. othercreditincrease:
  14538. description: 今日其它授信增加
  14539. type: number
  14540. otherfreezemargin:
  14541. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  14542. type: number
  14543. otherincome:
  14544. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  14545. type: number
  14546. otherpay:
  14547. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  14548. type: number
  14549. outamount:
  14550. description: 今日出金金额(包括三方出金)
  14551. type: number
  14552. outamountfreeze:
  14553. description: 出金冻结
  14554. type: number
  14555. outthreshold:
  14556. description: 出金阈值
  14557. type: number
  14558. parentaccountid:
  14559. description: 所属根账号
  14560. type: integer
  14561. paycharge:
  14562. description: 今日手续费支出
  14563. type: number
  14564. relatedaccountstatus:
  14565. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  14566. type: integer
  14567. relateduserid:
  14568. description: 关联用户
  14569. type: integer
  14570. remainamount:
  14571. description: 融资额(从融资合同中统计)
  14572. type: number
  14573. serivcegroup:
  14574. description: 服务分组
  14575. type: integer
  14576. signstatus:
  14577. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14578. type: integer
  14579. sublevelpath:
  14580. description: 账号层级路径(逗号分隔,首尾加逗号)
  14581. type: string
  14582. taaccounttype:
  14583. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  14584. type: integer
  14585. thirdinamount:
  14586. description: 今日三方入金
  14587. type: number
  14588. thirdoutamount:
  14589. description: 今日三方出金
  14590. type: number
  14591. tradestatus:
  14592. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  14593. type: integer
  14594. tradestatuschangetime:
  14595. description: 激活时间
  14596. type: string
  14597. transferamount:
  14598. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  14599. type: number
  14600. usedmargin:
  14601. description: 占用保证金
  14602. type: number
  14603. userid:
  14604. description: 用户ID
  14605. type: integer
  14606. required:
  14607. - accountid
  14608. - userid
  14609. type: object
  14610. models.Tablecolumnconfig:
  14611. properties:
  14612. aligntype:
  14613. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  14614. type: integer
  14615. autoid:
  14616. description: AutoID
  14617. type: integer
  14618. columnfield:
  14619. description: 列字段
  14620. type: string
  14621. columntitle:
  14622. description: 列Title
  14623. type: string
  14624. columnwidth:
  14625. description: 列宽
  14626. type: string
  14627. formatterstring:
  14628. description: 格式化字符
  14629. type: string
  14630. formattertype:
  14631. description: 格式化类型
  14632. type: string
  14633. groupname:
  14634. description: 表头分组名称
  14635. type: string
  14636. isshow:
  14637. description: 是否显示 - 0:不显示 1:显示
  14638. type: integer
  14639. needsummary:
  14640. description: 是否需要汇总 - 0:不需要 1:需要
  14641. type: integer
  14642. orderindex:
  14643. description: 顺序
  14644. type: integer
  14645. remark:
  14646. description: 备注
  14647. type: string
  14648. summarytype:
  14649. description: 汇总类型 - 1:加总 2:最后一个
  14650. type: integer
  14651. tablekey:
  14652. description: 列表Key
  14653. type: string
  14654. required:
  14655. - autoid
  14656. type: object
  14657. models.TjmdHolderDetailTradeInfo:
  14658. properties:
  14659. agreeunit:
  14660. description: 合约乘数
  14661. type: number
  14662. buyaccountid:
  14663. description: 买方账户
  14664. type: string
  14665. buyusername:
  14666. description: 买方
  14667. type: string
  14668. delistingdate:
  14669. description: 最后结算日
  14670. type: string
  14671. expiredate:
  14672. description: 到期结算价定价日
  14673. type: string
  14674. exprieprice:
  14675. description: 到期清算价格
  14676. type: string
  14677. goodscode:
  14678. description: 商品代码
  14679. type: string
  14680. goodsid:
  14681. description: 商品ID
  14682. type: integer
  14683. goodsname:
  14684. description: 商品名称(交易标的)
  14685. type: string
  14686. lasttradedate:
  14687. description: 最后交易日
  14688. type: string
  14689. listingdate:
  14690. description: 开始交易日
  14691. type: string
  14692. openprice:
  14693. description: 成交价
  14694. type: number
  14695. openqty:
  14696. description: 交易数量
  14697. type: integer
  14698. sellaccountid:
  14699. description: 卖方账户
  14700. type: string
  14701. sellusername:
  14702. description: 卖方
  14703. type: string
  14704. tradeamount:
  14705. description: 初始名义价值
  14706. type: number
  14707. tradedate:
  14708. description: 成交日期
  14709. type: string
  14710. tradeid:
  14711. description: 成交编号
  14712. type: string
  14713. type: object
  14714. models.TjmdMarketSection:
  14715. properties:
  14716. marketsectionid:
  14717. description: 市场版块ID(SEQ_MARKETSECTION)
  14718. type: integer
  14719. marketsectionname:
  14720. description: 市场版块名称
  14721. type: string
  14722. mlist:
  14723. description: 市场列表(板块下面有多少个市场)
  14724. items:
  14725. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  14726. type: array
  14727. orderindex:
  14728. description: 排序
  14729. type: integer
  14730. pictureurl:
  14731. description: 图片url, 规格(90*90)
  14732. type: string
  14733. remark:
  14734. description: 备注
  14735. type: string
  14736. type: object
  14737. models.TjmdMarketSectionConfig:
  14738. properties:
  14739. auctionwrtype:
  14740. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  14741. type: integer
  14742. canacceptquote:
  14743. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  14744. type: integer
  14745. cangoodsexercise:
  14746. description: '[期权]是否可现货行权- 0:否 1:是'
  14747. type: integer
  14748. cangoodsexercisetype:
  14749. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  14750. type: integer
  14751. canmanualquotestrike:
  14752. description: 是否可手动报行权价- 0:否 1:是 [期权]
  14753. type: integer
  14754. canmutistage:
  14755. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  14756. type: integer
  14757. canpreexercise:
  14758. description: '[期权]是否可预申报- 0:否 1:是'
  14759. type: integer
  14760. clearinterval:
  14761. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  14762. type: integer
  14763. contracttmp:
  14764. description: 合同模板[荷兰式][竞价式][仓单贸易]
  14765. type: string
  14766. exchareaid:
  14767. description: 所属交易所,可以没有
  14768. type: integer
  14769. financemarketid:
  14770. description: 融资回购市场ID [仓单贸易]
  14771. type: integer
  14772. goodstype:
  14773. description: 商品类型 - 1:交易商品 2:仓单商品
  14774. type: integer
  14775. hasrebate:
  14776. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  14777. type: integer
  14778. hastradecredit:
  14779. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  14780. type: integer
  14781. haswr:
  14782. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  14783. type: integer
  14784. isdeductmargin:
  14785. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  14786. type: integer
  14787. isrecordsource:
  14788. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14789. type: integer
  14790. isreleasemargin:
  14791. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14792. type: integer
  14793. isupdatereckonprice:
  14794. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14795. type: integer
  14796. listingmode:
  14797. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14798. type: integer
  14799. marginformula:
  14800. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14801. type: integer
  14802. marginformula2:
  14803. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14804. type: integer
  14805. marketid:
  14806. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14807. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14808. type: integer
  14809. marketname:
  14810. description: 市场名称
  14811. type: string
  14812. marketsectionid:
  14813. description: 市场版块ID(SEQ_MARKETSECTION)
  14814. type: integer
  14815. marketserviceid:
  14816. description: 市场服务ID
  14817. type: integer
  14818. marketstatus:
  14819. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14820. type: integer
  14821. markettype:
  14822. description: 市场类型- 1:非交易服务 2:交易服务
  14823. type: integer
  14824. matchermode:
  14825. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14826. type: integer
  14827. nowrquotaflag:
  14828. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14829. type: integer
  14830. openmethod:
  14831. description: 开盘模式 - 0 自动 1手动
  14832. type: integer
  14833. orderindex:
  14834. description: 排序
  14835. type: integer
  14836. otcuserid:
  14837. description: 场外期权做市商[场外期权]
  14838. type: integer
  14839. outersynctime:
  14840. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14841. type: string
  14842. paylaterflag:
  14843. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14844. type: integer
  14845. pendingflag:
  14846. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14847. type: integer
  14848. pendingtime:
  14849. description: 待开市时间[通道交易-对冲](HH:mm)
  14850. type: string
  14851. performancetempid:
  14852. description: 履约计划模板ID - 作废
  14853. type: integer
  14854. premiumquotemode:
  14855. description: 权利金报价方式 - 1:自动 2:手动
  14856. type: integer
  14857. rebateratio:
  14858. description: 返利比率[竞价式]
  14859. type: number
  14860. reckonorder:
  14861. description: 结算顺序
  14862. type: integer
  14863. reckonpricealgorithm:
  14864. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14865. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14866. type: integer
  14867. reckonpriceparam:
  14868. description: 结算价参数
  14869. type: integer
  14870. reckontime:
  14871. description: 结算时间[通道交易-对冲](HH:mm)
  14872. type: string
  14873. roleprioritytype:
  14874. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14875. type: integer
  14876. selllistingauditflag:
  14877. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14878. type: integer
  14879. trademarkettype:
  14880. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14881. type: integer
  14882. trademode:
  14883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14884. 21:竞拍-大宗式 22:受托竞价
  14885. type: integer
  14886. tradeproperty:
  14887. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14888. 8:场外期权
  14889. type: integer
  14890. tradetype:
  14891. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14892. type: integer
  14893. updatereckonpriceinterval:
  14894. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14895. type: integer
  14896. type: object
  14897. models.TjmdQuoteGoods:
  14898. properties:
  14899. buyqty:
  14900. description: 买量(暂不做, 无值, 保留字段)
  14901. type: number
  14902. decimalplace:
  14903. description: 报价小数位
  14904. type: integer
  14905. goodscode:
  14906. description: 合约代码
  14907. type: string
  14908. goodsgroupid:
  14909. description: 商品组ID(自增ID)
  14910. type: integer
  14911. goodsgroupname:
  14912. description: 商品组名称
  14913. type: string
  14914. goodsid:
  14915. description: 合约id
  14916. type: integer
  14917. goodsname:
  14918. description: 合约名称
  14919. type: string
  14920. refgoodscode:
  14921. description: 标的合约代码
  14922. type: string
  14923. refgoodsid:
  14924. description: 标的合约id
  14925. type: integer
  14926. refgoodsname:
  14927. description: 标的合约名称
  14928. type: string
  14929. sellqty:
  14930. description: 卖量(暂不做, 无值, 保留字段)
  14931. type: number
  14932. type: object
  14933. models.TjmdTodayAccountMargin:
  14934. properties:
  14935. accountid:
  14936. description: 账号ID
  14937. type: integer
  14938. goodsid:
  14939. description: 商品ID
  14940. type: integer
  14941. infoc:
  14942. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14943. description: 配置参数
  14944. marketid:
  14945. description: 市场ID
  14946. type: integer
  14947. type: object
  14948. models.TjmdTradeOrderDetail:
  14949. properties:
  14950. buyorsell:
  14951. description: 买卖方向 0-买 1-卖
  14952. type: integer
  14953. goodsid:
  14954. description: 商品id
  14955. type: integer
  14956. marketmaxsub:
  14957. description: 市价最大偏移范围 [浮动价 - 点差]
  14958. type: number
  14959. orderid:
  14960. description: 委托单号
  14961. type: string
  14962. orderprice:
  14963. description: 委托价格
  14964. type: number
  14965. orderqty:
  14966. description: 委托数量
  14967. type: integer
  14968. pricemode:
  14969. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14970. type: integer
  14971. userid:
  14972. description: 用户id
  14973. type: integer
  14974. username:
  14975. description: 用户名称(已脱敏)
  14976. type: string
  14977. type: object
  14978. models.TjmdTransferApply:
  14979. properties:
  14980. applyid:
  14981. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14982. type: integer
  14983. applystatus:
  14984. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14985. type: integer
  14986. applytime:
  14987. description: 申请时间(时间)
  14988. type: string
  14989. auditremark:
  14990. description: 审核备注(拒绝原因?)
  14991. type: string
  14992. begindate:
  14993. description: 开始交易日(yyyymmdd)
  14994. type: string
  14995. buyorsell:
  14996. description: 买卖 - 0:买 1:卖
  14997. type: integer
  14998. enddate:
  14999. description: 结束交易日(yyyymmdd)
  15000. type: string
  15001. goodscode:
  15002. description: 商品代码
  15003. type: string
  15004. goodsid:
  15005. description: 商品ID
  15006. type: integer
  15007. goodsname:
  15008. description: 商品名称
  15009. type: string
  15010. marketid:
  15011. description: 市场ID
  15012. type: integer
  15013. qty:
  15014. description: 转让数量(数量)
  15015. type: number
  15016. tradeid:
  15017. description: 成交单号(关联持仓)
  15018. type: string
  15019. transferamount:
  15020. description: 转让总金额(金额)
  15021. type: number
  15022. transferprice:
  15023. description: 转让价格(协议价格)
  15024. type: number
  15025. type: object
  15026. models.TradeHolderDetail:
  15027. properties:
  15028. accountid:
  15029. description: 账号ID
  15030. type: integer
  15031. agreeunit:
  15032. description: 合约乘数
  15033. type: number
  15034. buyorsell:
  15035. description: 方向 - 0:买 1:卖
  15036. type: integer
  15037. currencyid:
  15038. description: 商品币种id
  15039. type: integer
  15040. currencyname:
  15041. description: 币种名称
  15042. type: string
  15043. decimalplace:
  15044. description: 商品价格小数位
  15045. type: integer
  15046. enumdicname:
  15047. description: 商品单位名称
  15048. type: string
  15049. expirecycle:
  15050. description: 行权周期(天) - 1:滚动行权时填写
  15051. type: integer
  15052. expiredate:
  15053. description: 行权日(yyyyMMdd) - 到期日
  15054. type: string
  15055. expiretype:
  15056. description: 行权日类型 - 1:滚动行权 2:固定日行权
  15057. type: integer
  15058. freezeqty:
  15059. description: 冻结数量
  15060. type: number
  15061. goodscode:
  15062. description: 商品代码
  15063. type: string
  15064. goodsid:
  15065. description: 商品ID
  15066. type: integer
  15067. goodsname:
  15068. description: 商品名称
  15069. type: string
  15070. goodunitid:
  15071. description: 商品单位id
  15072. type: integer
  15073. holderamount:
  15074. description: 持仓金额
  15075. type: number
  15076. holdercredit:
  15077. description: 持仓授信金额
  15078. type: number
  15079. holderdays:
  15080. description: 剩余冻结天数
  15081. type: integer
  15082. holderprice:
  15083. description: 持仓价格
  15084. type: number
  15085. holderqty:
  15086. description: 持仓数量
  15087. type: number
  15088. isconfirmexercise:
  15089. description: 是否确认行权- 0:否 1:是
  15090. type: integer
  15091. ispreexercise:
  15092. description: 是否预申报- 0:否 1:是 2:不可行权
  15093. type: integer
  15094. marketid:
  15095. description: 市场id
  15096. type: integer
  15097. marketname:
  15098. description: 市场名称
  15099. type: string
  15100. openprice:
  15101. description: 建仓价格
  15102. type: number
  15103. openqty:
  15104. description: 建仓数量
  15105. type: number
  15106. optiontype:
  15107. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  15108. type: integer
  15109. preexerciseprice:
  15110. description: 预申报价格
  15111. type: number
  15112. premium:
  15113. description: 权利金
  15114. type: number
  15115. qtydecimalplace:
  15116. description: 商品成交量小数位
  15117. type: integer
  15118. refgoodscode:
  15119. description: 标的合约代码
  15120. type: string
  15121. refgoodsid:
  15122. description: 标的合约id
  15123. type: integer
  15124. releaseamount:
  15125. description: 释放持仓金额
  15126. type: number
  15127. releaseholdercredit:
  15128. description: 释放持仓授信金额
  15129. type: number
  15130. taname:
  15131. description: 资金账号名称
  15132. type: string
  15133. tradeamount:
  15134. description: 成交金额
  15135. type: number
  15136. tradedate:
  15137. description: 交易日(yyyyMMdd)
  15138. type: string
  15139. tradeid:
  15140. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15141. type: string
  15142. trademode:
  15143. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15144. 21:竞拍-大宗式 22:受托竞价 46:掉期
  15145. type: integer
  15146. tradeproperty:
  15147. description: 交易属性
  15148. type: integer
  15149. tradetime:
  15150. description: 交易时间
  15151. type: string
  15152. userid:
  15153. description: 用户id
  15154. type: integer
  15155. username:
  15156. description: 用户名称
  15157. type: string
  15158. type: object
  15159. models.UserCollectConfig:
  15160. properties:
  15161. accountstatus:
  15162. description: 账户状态 - 1:正常 2:停用 3:注销
  15163. type: integer
  15164. collectaccountname:
  15165. description: 收款人账户名称
  15166. type: string
  15167. collectaccountno:
  15168. description: 收款人账户
  15169. type: string
  15170. collectbankname:
  15171. description: 收款人开户行
  15172. type: string
  15173. collectbranchbankname:
  15174. description: 收款人开户支行
  15175. type: string
  15176. collectconfigid:
  15177. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  15178. type: string
  15179. remark:
  15180. description: 备注
  15181. type: string
  15182. userid:
  15183. description: 收款人用户ID
  15184. type: integer
  15185. type: object
  15186. models.UserReceiveInfo:
  15187. properties:
  15188. address:
  15189. description: 提货人详细地址
  15190. type: string
  15191. autoid:
  15192. description: AutoID
  15193. type: integer
  15194. cardnum:
  15195. description: 证件号码(加密存储)
  15196. type: string
  15197. cardtypeid:
  15198. description: 证件类型
  15199. type: integer
  15200. cityid:
  15201. description: 市
  15202. type: integer
  15203. cityname:
  15204. description: 城市名称
  15205. type: string
  15206. countryid:
  15207. description: 国家
  15208. type: integer
  15209. countryname:
  15210. description: 国家名称
  15211. type: string
  15212. districtid:
  15213. description: 地区
  15214. type: integer
  15215. districtname:
  15216. description: 地区名称
  15217. type: string
  15218. hasencrypt:
  15219. description: 数据是否已加密 - 0:未加密 1:已加密
  15220. type: integer
  15221. isdefault:
  15222. description: 是否默认地址 - 0:否 1:是
  15223. type: integer
  15224. phonenum:
  15225. description: 提货人联系方式(加密存储)
  15226. type: string
  15227. provinceid:
  15228. description: 省
  15229. type: integer
  15230. provincename:
  15231. description: 省名称
  15232. type: string
  15233. receivername:
  15234. description: 提货人姓名
  15235. type: string
  15236. takeremark:
  15237. description: 提货备注
  15238. type: string
  15239. userid:
  15240. description: 用户ID
  15241. type: integer
  15242. type: object
  15243. models.Useraccount:
  15244. properties:
  15245. accountname:
  15246. description: 账户名称(机构名称)
  15247. type: string
  15248. accountstatus:
  15249. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  15250. type: integer
  15251. applysrc:
  15252. description: 申请来源 - 1:管理端 2:终端
  15253. type: integer
  15254. auditremark:
  15255. description: 审核备注
  15256. type: string
  15257. auditsrc:
  15258. description: 审核来源 - 1:管理端 2:终端
  15259. type: integer
  15260. audittime:
  15261. description: 审核时间
  15262. type: string
  15263. audituserid:
  15264. description: 审核人
  15265. type: integer
  15266. broker:
  15267. description: 所属经纪人ID
  15268. type: integer
  15269. canceltime:
  15270. description: 销户时间
  15271. type: string
  15272. canceluserid:
  15273. description: 销户人
  15274. type: integer
  15275. canrecommend:
  15276. description: 是否可推荐 - 0:不可 1;可
  15277. type: integer
  15278. createtime:
  15279. description: 创建时间
  15280. type: string
  15281. creatorid:
  15282. description: 创建人
  15283. type: integer
  15284. hasauth:
  15285. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  15286. type: integer
  15287. isanonymous:
  15288. description: 是否匿名下单 - 0:否 1:是
  15289. type: integer
  15290. maxinvestornum:
  15291. description: 最大用户数(经纪会员下投资者个数)
  15292. type: integer
  15293. memberuserid:
  15294. description: 所属会员ID
  15295. type: integer
  15296. modifierid:
  15297. description: 修改人
  15298. type: integer
  15299. modifyremark:
  15300. description: 变更备注
  15301. type: string
  15302. modifystatus:
  15303. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  15304. type: integer
  15305. modifytime:
  15306. description: 修改时间
  15307. type: string
  15308. parenttopuser:
  15309. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  15310. type: string
  15311. parentuserid:
  15312. description: 所属机构ID
  15313. type: integer
  15314. reckonaccountid:
  15315. description: 默认结算资金账号ID(机构分润使用) 作废
  15316. type: integer
  15317. refercount:
  15318. description: 推荐总人数
  15319. type: integer
  15320. refereeuserid:
  15321. description: 推荐人ID
  15322. type: integer
  15323. refernum:
  15324. description: 推荐码
  15325. type: string
  15326. rootuserid:
  15327. description: 根用户ID
  15328. type: integer
  15329. subaccountlevel:
  15330. description: 子账户层数
  15331. type: integer
  15332. subarealevelpath:
  15333. description: 子机构层级路径(逗号分隔,首尾加逗号)
  15334. type: string
  15335. userid:
  15336. description: 用户ID
  15337. type: integer
  15338. usertype:
  15339. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  15340. type: integer
  15341. required:
  15342. - userid
  15343. type: object
  15344. models.Userfavoritegoods:
  15345. properties:
  15346. goodsid:
  15347. description: 商品ID
  15348. type: integer
  15349. required:
  15350. - goodsid
  15351. type: object
  15352. models.Userinfo:
  15353. properties:
  15354. address:
  15355. description: 地址
  15356. type: string
  15357. attachment1:
  15358. description: 附件1
  15359. type: string
  15360. attachment2:
  15361. description: 附件2
  15362. type: string
  15363. bankaccount:
  15364. description: 银行帐号 (加密存储)
  15365. type: string
  15366. bankaccountname:
  15367. description: 收款人名称
  15368. type: string
  15369. bankcardfrontphotourl:
  15370. description: 银行卡正面照地址
  15371. type: string
  15372. bankid:
  15373. description: 银行编码
  15374. type: string
  15375. bankname:
  15376. description: 银行名称
  15377. type: string
  15378. biznature:
  15379. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15380. type: integer
  15381. bizscope:
  15382. description: 企业经营范围(企业)
  15383. type: string
  15384. cardbackphotourl:
  15385. description: 证件背面图片地址
  15386. type: string
  15387. cardfrontphotourl:
  15388. description: 证件正面图片地址
  15389. type: string
  15390. cardnum:
  15391. description: 证件号码(加密存储)
  15392. type: string
  15393. cardtypeid:
  15394. description: 证件类型ID
  15395. type: integer
  15396. cityid:
  15397. description: 市
  15398. type: integer
  15399. company:
  15400. description: 公司(个人)
  15401. type: string
  15402. contactname:
  15403. description: 联系人
  15404. type: string
  15405. countryid:
  15406. description: 国家
  15407. type: integer
  15408. createtime:
  15409. description: 创建时间
  15410. type: string
  15411. creatorid:
  15412. description: 创建人
  15413. type: integer
  15414. customername:
  15415. description: 客户名称(企业名称)
  15416. type: string
  15417. districtid:
  15418. description: 地区
  15419. type: integer
  15420. email:
  15421. description: 邮件(加密存储)
  15422. type: string
  15423. fax:
  15424. description: 传真(加密存储)
  15425. type: string
  15426. halfbodyphotourl:
  15427. description: 半身照地址
  15428. type: string
  15429. hasencrypt:
  15430. description: 数据是否已加密 - 0:未加密 1:已加密
  15431. type: integer
  15432. headurl:
  15433. description: 头像地址
  15434. type: string
  15435. legalcardbackphotourl:
  15436. description: 法人身份证背面照地址
  15437. type: string
  15438. legalcardfrontphotourl:
  15439. description: 法人身份证正面照地址
  15440. type: string
  15441. legalpersonname:
  15442. description: 法人姓名(企业)
  15443. type: string
  15444. mobile:
  15445. description: 手机号码(加密存储)
  15446. type: string
  15447. mobile2:
  15448. description: 手机号码[明文-尚志]
  15449. type: string
  15450. modifierid:
  15451. description: 修改人
  15452. type: integer
  15453. modifiertime:
  15454. description: 修改时间
  15455. type: string
  15456. needinvoice:
  15457. description: 是否需要发票 - 0:不需要 1:需要
  15458. type: integer
  15459. nickname:
  15460. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15461. type: string
  15462. openmode:
  15463. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  15464. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  15465. type: integer
  15466. otherurl:
  15467. description: 其它图片地址[使用分号分隔]
  15468. type: string
  15469. postalcode:
  15470. description: 邮政编码
  15471. type: string
  15472. provinceid:
  15473. description: 省
  15474. type: integer
  15475. qq:
  15476. description: QQ(加密存储
  15477. type: string
  15478. remark:
  15479. description: 备注
  15480. type: string
  15481. sex:
  15482. description: '用户性别 0: 女 1: 男'
  15483. type: integer
  15484. signpdfurl:
  15485. description: 签约pdf文件
  15486. type: string
  15487. telphone:
  15488. description: 联系电话(加密存储)
  15489. type: string
  15490. userid:
  15491. description: 用户ID
  15492. type: integer
  15493. userinfotype:
  15494. description: 用户信息类型 - 1:个人 2:企业
  15495. type: integer
  15496. userstatus:
  15497. description: 用户状态 - 1:正常 2:注销
  15498. type: integer
  15499. usertype:
  15500. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  15501. type: integer
  15502. wechat:
  15503. description: 微信(加密存储)
  15504. type: string
  15505. wskhinfo:
  15506. description: 开户申请信息(JSON)
  15507. type: string
  15508. required:
  15509. - userid
  15510. type: object
  15511. models.WRSConverTDetail:
  15512. properties:
  15513. convertratio:
  15514. description: 套保系数
  15515. type: number
  15516. deliverygoodscode:
  15517. description: 现货商品代码
  15518. type: string
  15519. deliverygoodsid:
  15520. description: 现货品种ID
  15521. type: integer
  15522. deliverygoodsname:
  15523. description: 现货商品名称
  15524. type: string
  15525. enumdicname:
  15526. description: 单位名称
  15527. type: string
  15528. goodsunitid:
  15529. description: 套保品种单位id
  15530. type: integer
  15531. middlegoodscode:
  15532. description: 套保品种代码
  15533. type: string
  15534. middlegoodsid:
  15535. description: 套保品种ID
  15536. type: integer
  15537. middlegoodsname:
  15538. description: 套保品种名称
  15539. type: string
  15540. modifytime:
  15541. description: 修改时间
  15542. type: string
  15543. wrstandardid:
  15544. description: 品类ID
  15545. type: integer
  15546. type: object
  15547. models.WRStandardInfo:
  15548. properties:
  15549. areauserid:
  15550. description: 所属机构
  15551. type: integer
  15552. convertfactor:
  15553. description: 标仓系数
  15554. type: number
  15555. createtime:
  15556. description: 创建时间
  15557. type: string
  15558. creatorid:
  15559. description: 创建人
  15560. type: integer
  15561. deliverygoodsid:
  15562. description: 品种ID
  15563. type: integer
  15564. deliverygoodsname:
  15565. description: 交割商品名称
  15566. type: string
  15567. factoryitemjson:
  15568. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  15569. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  15570. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  15571. 逗号分隔'
  15572. type: string
  15573. isvalid:
  15574. description: 是否有效 - 0:无效 1:有效
  15575. type: integer
  15576. minivalue:
  15577. description: 最小变动值
  15578. type: integer
  15579. minivaluedp:
  15580. description: 最小变动值小数位
  15581. type: integer
  15582. realminivalue:
  15583. description: 实际最小变动值
  15584. type: integer
  15585. realminivaluedp:
  15586. description: 实际最小变动值小数位
  15587. type: integer
  15588. remark:
  15589. description: 备注
  15590. type: string
  15591. unitid:
  15592. description: 单位ID
  15593. type: integer
  15594. unitname:
  15595. description: 单位
  15596. type: string
  15597. updatetime:
  15598. description: 更新时间
  15599. type: string
  15600. updatorid:
  15601. description: 更新人
  15602. type: integer
  15603. wrsstatus:
  15604. description: 状态 - 作废 - 0:未激活 1:正常
  15605. type: integer
  15606. wrstandardcode:
  15607. description: 现货品类代码
  15608. type: string
  15609. wrstandardid:
  15610. description: 现货品类ID(SEQ_WRSTANDARD)
  15611. type: integer
  15612. wrstandardname:
  15613. description: 现货品类名称
  15614. type: string
  15615. required:
  15616. - wrstandardid
  15617. type: object
  15618. models.WRTradeBargainApply:
  15619. properties:
  15620. accountid:
  15621. description: 摘牌资金账号
  15622. type: integer
  15623. applyprice:
  15624. description: 申请价格(议价价格)
  15625. type: string
  15626. applyqty:
  15627. description: 摘牌数量(议价数量)
  15628. type: number
  15629. applyremark:
  15630. description: 申请备注
  15631. type: string
  15632. applystatus:
  15633. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  15634. type: integer
  15635. applytime:
  15636. description: 申请时间(议价时间)
  15637. type: string
  15638. begindate:
  15639. description: 开始交易日(yyyymmdd)
  15640. type: string
  15641. buyorsell:
  15642. description: 买卖(挂牌类型) - 0:买 1:卖
  15643. type: integer
  15644. confirmremark:
  15645. description: 确认备注
  15646. type: string
  15647. confirmtime:
  15648. description: 确认时间
  15649. type: string
  15650. confirmuserid:
  15651. description: 确认人
  15652. type: integer
  15653. deliverygoodscode:
  15654. description: 品种代码
  15655. type: string
  15656. deliverygoodsid:
  15657. description: 品种ID
  15658. type: integer
  15659. deliverygoodsname:
  15660. description: 品种名称
  15661. type: string
  15662. deliverymonth:
  15663. description: 交收月
  15664. type: string
  15665. enddate:
  15666. description: 结束交易日(yyyymmdd)
  15667. type: string
  15668. enumdicname:
  15669. description: 单位名称
  15670. type: string
  15671. fixedprice:
  15672. description: 挂牌价格
  15673. type: number
  15674. handlestatus:
  15675. description: 处理状态
  15676. type: integer
  15677. marginvalue:
  15678. description: 履约保证金比例
  15679. type: number
  15680. marketid:
  15681. description: 市场ID
  15682. type: integer
  15683. matchaccountid:
  15684. description: 挂牌方资金账号
  15685. type: integer
  15686. matchuserid:
  15687. description: 挂牌方用户id
  15688. type: integer
  15689. matchusername:
  15690. description: 挂牌方用户名称(已脱敏)
  15691. type: string
  15692. minivalue:
  15693. description: 现货商品最小变动值
  15694. type: integer
  15695. optioncompare:
  15696. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15697. type: string
  15698. orderqty:
  15699. description: 挂牌数量
  15700. type: integer
  15701. refprice:
  15702. description: 参考价格
  15703. type: string
  15704. retcode:
  15705. description: 委托返回代码
  15706. type: integer
  15707. templatename:
  15708. description: 履约方式(履约模板名称)
  15709. type: string
  15710. tradedate:
  15711. description: 交易日(yyyyMMdd)
  15712. type: string
  15713. userid:
  15714. description: 摘牌人用户ID(议价人ID)
  15715. type: integer
  15716. username:
  15717. description: 议价人名字(已脱敏)
  15718. type: string
  15719. validtime:
  15720. description: 有效期限
  15721. type: string
  15722. warehouseid:
  15723. description: 仓库ID
  15724. type: integer
  15725. warehousename:
  15726. description: 仓库名称
  15727. type: string
  15728. wrbargainid:
  15729. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  15730. type: string
  15731. wrfactortypeid:
  15732. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15733. type: string
  15734. wrfactortypename:
  15735. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15736. type: string
  15737. wrstandardcode:
  15738. description: 现货商品代码
  15739. type: string
  15740. wrstandardid:
  15741. description: 现货商品ID
  15742. type: integer
  15743. wrstandardname:
  15744. description: 商品名称
  15745. type: string
  15746. wrtradeorderid:
  15747. description: 关联委托单ID
  15748. type: string
  15749. wrtypename:
  15750. description: 商品
  15751. type: string
  15752. type: object
  15753. models.Warehouseinfo:
  15754. properties:
  15755. address:
  15756. description: 详细地址
  15757. type: string
  15758. areauserid:
  15759. description: 所属机构
  15760. type: integer
  15761. autoid:
  15762. description: 自增ID
  15763. type: integer
  15764. cityid:
  15765. description: 市
  15766. type: integer
  15767. contactname:
  15768. description: 联系人
  15769. type: string
  15770. contactnum:
  15771. description: 联系电话
  15772. type: string
  15773. countryid:
  15774. description: 国家
  15775. type: integer
  15776. createtime:
  15777. description: 创建时间
  15778. type: string
  15779. districtid:
  15780. description: 区
  15781. type: integer
  15782. hasvideo:
  15783. description: 是否有视频 - 0:无 1:有
  15784. type: integer
  15785. provinceid:
  15786. description: 省
  15787. type: integer
  15788. remark:
  15789. description: 审核备注
  15790. type: string
  15791. videourl:
  15792. description: 视频地址
  15793. type: string
  15794. warehousecode:
  15795. description: 仓库代码
  15796. type: string
  15797. warehousename:
  15798. description: 仓库名称
  15799. type: string
  15800. warehousestatus:
  15801. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15802. type: integer
  15803. warehousetype:
  15804. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15805. type: integer
  15806. required:
  15807. - autoid
  15808. - warehousecode
  15809. type: object
  15810. models.WrAverageTradePrice:
  15811. properties:
  15812. averageprice:
  15813. description: 成交均价
  15814. type: number
  15815. tradedate:
  15816. description: 交易日yyyymm
  15817. type: string
  15818. type: object
  15819. models.WrBrandAndYears:
  15820. properties:
  15821. brandlst:
  15822. description: 品牌列表
  15823. items:
  15824. $ref: '#/definitions/models.DgFactoryItem'
  15825. type: array
  15826. yearslst:
  15827. description: 年份列表
  15828. items:
  15829. $ref: '#/definitions/models.DgFactoryItem'
  15830. type: array
  15831. type: object
  15832. models.WrBsGoodsInfo:
  15833. properties:
  15834. buyorsell:
  15835. description: 买卖方向 0-买 1-卖
  15836. type: integer
  15837. goodsid:
  15838. description: 交易合约ID
  15839. type: integer
  15840. lstitem:
  15841. description: 商品信息项
  15842. items:
  15843. $ref: '#/definitions/models.WrTypeItem'
  15844. type: array
  15845. lststep:
  15846. description: 履约规则
  15847. items:
  15848. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15849. type: array
  15850. type: object
  15851. models.WrBuybackDetail:
  15852. properties:
  15853. buybackamount:
  15854. description: 回购金额
  15855. type: number
  15856. buybackqty:
  15857. description: 回购数量
  15858. type: number
  15859. buybackreleasemargin:
  15860. description: 回购释放保证金
  15861. type: number
  15862. buybacktime:
  15863. description: 回购时间
  15864. type: string
  15865. errordesc:
  15866. description: 错误描述
  15867. type: string
  15868. handlestatus:
  15869. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15870. type: integer
  15871. relatedwrid:
  15872. description: 关联仓单ID
  15873. type: integer
  15874. scfcontractid:
  15875. description: SCF合同ID
  15876. type: string
  15877. scfwrbuybackid:
  15878. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15879. type: integer
  15880. tradedate:
  15881. description: 交易日(yyyyMMdd)
  15882. type: string
  15883. type: object
  15884. models.WrClientAdSpaceConfig:
  15885. properties:
  15886. adspaceid:
  15887. description: 广告位ID
  15888. type: integer
  15889. adspacename:
  15890. description: 广告位名称
  15891. type: string
  15892. adspacetype:
  15893. description: 广告位类型 - 1:固定广告位
  15894. type: integer
  15895. areauserid:
  15896. description: 所属机构ID
  15897. type: integer
  15898. createdate:
  15899. description: 创建时间
  15900. type: string
  15901. imagepath:
  15902. description: 图片
  15903. type: string
  15904. modifierid:
  15905. description: 操作人
  15906. type: integer
  15907. recsize:
  15908. description: 推荐尺寸
  15909. type: string
  15910. title:
  15911. description: 标题
  15912. type: string
  15913. updatedate:
  15914. description: 更新时间
  15915. type: string
  15916. urlcontent:
  15917. description: 链接(地址\商品ID\功能菜单Key\appid)
  15918. type: string
  15919. urltype:
  15920. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15921. type: integer
  15922. type: object
  15923. models.WrDeliveryAvalidHoldLB:
  15924. properties:
  15925. accountid:
  15926. description: 资金账号
  15927. type: integer
  15928. avalidqty:
  15929. description: 数量(可点选数量)
  15930. type: number
  15931. deliverygoodsid:
  15932. description: 品种id
  15933. type: integer
  15934. enumdicname:
  15935. description: 单位名称
  15936. type: string
  15937. goodsid:
  15938. description: x合约商品id
  15939. type: integer
  15940. ladingbillid:
  15941. description: 提单id
  15942. type: string
  15943. pgoodscode:
  15944. description: p商品代码(点价合约)
  15945. type: string
  15946. pgoodsid:
  15947. description: p商品id(点价合约)
  15948. type: integer
  15949. pgoodsname:
  15950. description: p商品名称(点价合约)
  15951. type: string
  15952. pricemove:
  15953. description: 升贴水
  15954. type: number
  15955. subnum:
  15956. description: 提单子id
  15957. type: integer
  15958. userid:
  15959. description: 用户id
  15960. type: integer
  15961. username:
  15962. description: 仓单持有人
  15963. type: string
  15964. warehousecode:
  15965. description: 仓库代码
  15966. type: string
  15967. warehouseid:
  15968. description: 仓库id
  15969. type: integer
  15970. warehousename:
  15971. description: 仓库名称
  15972. type: string
  15973. wrfactortypeid:
  15974. description: 仓单要素id
  15975. type: string
  15976. wrstandardcode:
  15977. description: 品代码
  15978. type: string
  15979. wrstandardid:
  15980. description: 品类d
  15981. type: integer
  15982. wrstandardname:
  15983. description: 品类名称
  15984. type: string
  15985. wrtypename:
  15986. description: 商品
  15987. type: string
  15988. xgoodscode:
  15989. description: x合约代码
  15990. type: string
  15991. xgoodsname:
  15992. description: x合约名称
  15993. type: string
  15994. type: object
  15995. models.WrDeliveryDetail:
  15996. properties:
  15997. accountid:
  15998. description: 账号ID
  15999. type: integer
  16000. averageprice:
  16001. description: 交割均价 = 交割金额 / 交割数量
  16002. type: number
  16003. begindate:
  16004. description: 开始交易日(yyyymmdd)
  16005. type: string
  16006. buyorsell:
  16007. description: 方向 - 0:买 1:卖
  16008. type: integer
  16009. deliveryamount:
  16010. description: 货款金额(X总货款+P总货款)
  16011. type: number
  16012. deliveryid:
  16013. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  16014. type: string
  16015. deliveryorderid:
  16016. description: 申报单号
  16017. type: string
  16018. deliverypricemove:
  16019. description: 升贴水(升贴水总额)
  16020. type: number
  16021. deliveryqty:
  16022. description: 交收数量(点选数量)
  16023. type: number
  16024. deliverystatus:
  16025. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  16026. type: integer
  16027. deliverytime:
  16028. description: 交割时间
  16029. type: string
  16030. deliverytotalamount:
  16031. description: 交收金额
  16032. type: number
  16033. enddate:
  16034. description: 结束交易日(yyyymmdd)
  16035. type: string
  16036. enumdicname:
  16037. description: 单位名称
  16038. type: string
  16039. matchaccountid:
  16040. description: 对手账号ID
  16041. type: integer
  16042. matchusername:
  16043. description: 对手方名称(仓单持有人)
  16044. type: string
  16045. p1goodsremainamount:
  16046. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  16047. type: number
  16048. pdeliverycloseqty:
  16049. description: p合约平仓数量
  16050. type: number
  16051. pdeliveryprice:
  16052. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  16053. type: number
  16054. pgoodscode:
  16055. description: 商品代码
  16056. type: string
  16057. pgoodsid:
  16058. description: p点选合约id
  16059. type: integer
  16060. pgoodsname:
  16061. description: 商品名称
  16062. type: string
  16063. ppricemode:
  16064. description: 点价价格方式 - 1:商品价 2:固定值
  16065. type: integer
  16066. tradedate:
  16067. description: 交易日(yyyymmdd)
  16068. type: string
  16069. userid:
  16070. description: 用户id
  16071. type: integer
  16072. username:
  16073. description: 用户名称
  16074. type: string
  16075. warehousename:
  16076. description: 仓库名称
  16077. type: string
  16078. wrfactortypeid:
  16079. description: 仓单要素类型ID
  16080. type: string
  16081. wrtypename:
  16082. description: 商品
  16083. type: string
  16084. xdeliverycloseqty:
  16085. description: 合约数量
  16086. type: number
  16087. xgoodsamount:
  16088. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  16089. type: number
  16090. xgoodscode:
  16091. description: 商品代码
  16092. type: string
  16093. xgoodsid:
  16094. description: x交易合约ID
  16095. type: integer
  16096. xgoodsname:
  16097. description: 商品名称
  16098. type: string
  16099. type: object
  16100. models.WrDeliveryGoodsSection:
  16101. properties:
  16102. dglst:
  16103. description: 板块商品列表
  16104. items:
  16105. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  16106. type: array
  16107. imagepath:
  16108. description: 图片地址
  16109. type: string
  16110. orderindex:
  16111. description: 排序
  16112. type: integer
  16113. sectionid:
  16114. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  16115. = 1的版块1 - 云融指数
  16116. type: integer
  16117. sectionname:
  16118. description: 版块名称
  16119. type: string
  16120. sectiontype:
  16121. description: 版块类型 - 1:指数版块 2:普通版块
  16122. type: integer
  16123. type: object
  16124. models.WrDeliveryGoodsSectionConfig:
  16125. properties:
  16126. deliverygoodscode:
  16127. description: 现货商品代码
  16128. type: string
  16129. deliverygoodsid:
  16130. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16131. type: integer
  16132. deliverygoodsname:
  16133. description: 现货商品名称
  16134. type: string
  16135. orderindex:
  16136. description: 排序
  16137. type: integer
  16138. type: object
  16139. models.WrDraftUserInfo:
  16140. properties:
  16141. address:
  16142. description: 地址
  16143. type: string
  16144. attachment1:
  16145. description: 附件1
  16146. type: string
  16147. attachment2:
  16148. description: 附件2
  16149. type: string
  16150. attachment3:
  16151. description: 附件3
  16152. type: string
  16153. attachment4:
  16154. description: 附件4
  16155. type: string
  16156. attachment5:
  16157. description: 附件5
  16158. type: string
  16159. bankaccount:
  16160. description: 银行帐号 (加密存储)
  16161. type: string
  16162. bankaccountname:
  16163. description: 收款人名称
  16164. type: string
  16165. bankcardfrontphotourl:
  16166. description: 银行卡正面照地址
  16167. type: string
  16168. bankid:
  16169. description: 银行编码
  16170. type: string
  16171. bankname:
  16172. description: 银行名称
  16173. type: string
  16174. birthday:
  16175. description: 生日(个人:年月日)
  16176. type: string
  16177. biznature:
  16178. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  16179. type: integer
  16180. bizscope:
  16181. description: 企业经营范围(企业)
  16182. type: string
  16183. biztype:
  16184. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  16185. type: integer
  16186. cardbackphotourl:
  16187. description: 证件背面图片地址
  16188. type: string
  16189. cardfrontphotourl:
  16190. description: 证件正面图片地址
  16191. type: string
  16192. cardnum:
  16193. description: 证件号码(加密存储)
  16194. type: string
  16195. cardtypeid:
  16196. description: 证件类型ID
  16197. type: integer
  16198. cityid:
  16199. description: 市
  16200. type: integer
  16201. company:
  16202. description: 公司(个人)
  16203. type: string
  16204. contactcardbackphotourl:
  16205. description: 联系人证件背面图片地址
  16206. type: string
  16207. contactcardfrontphotourl:
  16208. description: 联系人证件正面图片地址
  16209. type: string
  16210. contactname:
  16211. description: 联系人
  16212. type: string
  16213. countryid:
  16214. description: 国家
  16215. type: integer
  16216. createtime:
  16217. description: 创建时间
  16218. type: string
  16219. creatorid:
  16220. description: 创建人
  16221. type: integer
  16222. creditquota:
  16223. description: 授信额度(金瑞)
  16224. type: number
  16225. customername:
  16226. description: 客户名称(企业名称)
  16227. type: string
  16228. districtid:
  16229. description: 地区
  16230. type: integer
  16231. email:
  16232. description: 邮件(加密存储)
  16233. type: string
  16234. fax:
  16235. description: 传真(加密存储)
  16236. type: string
  16237. halfbodyphotourl:
  16238. description: 半身照地址
  16239. type: string
  16240. hasencrypt:
  16241. description: 数据是否已加密 - 0:未加密 1:已加密
  16242. type: integer
  16243. headurl:
  16244. description: 头像地址
  16245. type: string
  16246. legalcardbackphotourl:
  16247. description: 法人身份证背面照地址
  16248. type: string
  16249. legalcardfrontphotourl:
  16250. description: 法人身份证正面照地址
  16251. type: string
  16252. legalpersonname:
  16253. description: 法人姓名(企业)
  16254. type: string
  16255. mobile:
  16256. description: 手机号码(加密存储)
  16257. type: string
  16258. mobile2:
  16259. description: 手机号码[明文-尚志]
  16260. type: string
  16261. modifierid:
  16262. description: 修改人
  16263. type: integer
  16264. modifiertime:
  16265. description: 修改时间
  16266. type: string
  16267. needinvoice:
  16268. description: 是否需要发票 - 0:不需要 1:需要
  16269. type: integer
  16270. nickname:
  16271. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  16272. type: string
  16273. openmode:
  16274. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  16275. 6:苹果手机端注册 7:PC交易端注册"
  16276. type: integer
  16277. otherurl:
  16278. description: 其它图片地址[使用分号分隔]
  16279. type: string
  16280. postalcode:
  16281. description: 邮政编码
  16282. type: string
  16283. provinceid:
  16284. description: 省
  16285. type: integer
  16286. proxystatementurl:
  16287. description: 授权委托书
  16288. type: string
  16289. qq:
  16290. description: QQ(加密存储
  16291. type: string
  16292. remark:
  16293. description: 备注
  16294. type: string
  16295. sex:
  16296. description: '用户性别 0: 女 1: 男'
  16297. type: integer
  16298. signpdfurl:
  16299. description: 签约pdf文件
  16300. type: string
  16301. taxpayernum:
  16302. description: 纳税人识别号
  16303. type: string
  16304. telphone:
  16305. description: 联系电话(加密存储)
  16306. type: string
  16307. userid:
  16308. description: 用户ID
  16309. type: integer
  16310. userinfotype:
  16311. description: 用户信息类型 - 1:个人 2:企业
  16312. type: integer
  16313. userstatus:
  16314. description: 用户状态 - 1:正常 2:注销
  16315. type: integer
  16316. usertype:
  16317. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  16318. type: integer
  16319. wechat:
  16320. description: 微信(加密存储)
  16321. type: string
  16322. wskhinfo:
  16323. description: 开户申请信息(JSON)
  16324. type: string
  16325. type: object
  16326. models.WrFAProductDetail:
  16327. properties:
  16328. accountid:
  16329. description: 资金账号
  16330. type: integer
  16331. areauserid:
  16332. description: 金融机构ID
  16333. type: integer
  16334. financingdays:
  16335. description: 天数(天)
  16336. type: integer
  16337. interestminlen:
  16338. description: 最小起息天数
  16339. type: integer
  16340. interestrate:
  16341. description: 利率
  16342. type: number
  16343. interestratemode:
  16344. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16345. type: integer
  16346. interestsettlemode:
  16347. description: 结息方式 - 1:按日结息 3:按月结息
  16348. type: integer
  16349. interestsettlevalue:
  16350. description: 结息方式值
  16351. type: integer
  16352. isautoloan:
  16353. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  16354. type: integer
  16355. loantag:
  16356. description: '放款标识: "放款快" 或者为空'
  16357. type: string
  16358. marginratio:
  16359. description: 保证金比率质押率 - [仓单质押]
  16360. type: number
  16361. productdetailid:
  16362. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  16363. type: integer
  16364. productid:
  16365. description: 金融产品ID
  16366. type: integer
  16367. productname:
  16368. description: 产品名称
  16369. type: string
  16370. updatetime:
  16371. description: 更新时间
  16372. type: string
  16373. username:
  16374. description: 融出方
  16375. type: string
  16376. type: object
  16377. models.WrFactorTypeInfo:
  16378. properties:
  16379. deliverygoodscode:
  16380. description: 品种代码
  16381. type: string
  16382. deliverygoodsname:
  16383. description: 品种名称
  16384. type: string
  16385. dgfactoryitemid:
  16386. description: 选择项id
  16387. type: integer
  16388. dgfactoryitemtypeid:
  16389. description: 要素选择项ID (1-仓库 2-品牌)
  16390. type: integer
  16391. dgfactoryitemvalue:
  16392. description: 要素项值
  16393. type: string
  16394. itemtypename:
  16395. description: 要素项名称
  16396. type: string
  16397. optioncompare:
  16398. description: 选择比较串
  16399. type: string
  16400. warehouseid:
  16401. description: 仓库id
  16402. type: integer
  16403. wrfactortypeid:
  16404. description: 仓单要素ID
  16405. type: string
  16406. wrfactortypename:
  16407. description: 要素名称
  16408. type: string
  16409. wrfactortypename2:
  16410. description: 要素名称(不含仓库)
  16411. type: string
  16412. wrstandardcode:
  16413. description: 品类代码
  16414. type: string
  16415. wrstandardid:
  16416. description: 品类id
  16417. type: integer
  16418. wrstandardname:
  16419. description: 品类名称
  16420. type: string
  16421. type: object
  16422. models.WrFilterItem:
  16423. properties:
  16424. itemcode:
  16425. description: 代码
  16426. type: string
  16427. itemid:
  16428. description: 项id
  16429. type: integer
  16430. itemname:
  16431. description: 名称
  16432. type: string
  16433. itemtype:
  16434. description: 类型 1-品种 2-品类(商品) 3-仓库
  16435. type: integer
  16436. type: object
  16437. models.WrFinanceBuyApply:
  16438. properties:
  16439. applydate:
  16440. description: 申请时间
  16441. type: string
  16442. applystatus:
  16443. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  16444. type: integer
  16445. applyuserid:
  16446. description: 申请人
  16447. type: integer
  16448. auditdate:
  16449. description: 审核时间
  16450. type: string
  16451. auditremark:
  16452. description: 审核备注
  16453. type: string
  16454. audituserid:
  16455. description: 审核人
  16456. type: integer
  16457. buyaccountid:
  16458. description: 买方资金账号
  16459. type: integer
  16460. buyorsell:
  16461. description: 买卖 - 0:买 1:卖
  16462. type: integer
  16463. buyuserid:
  16464. description: 买方用户ID
  16465. type: integer
  16466. buyusername:
  16467. description: 买方名称
  16468. type: string
  16469. buywrtradeorderid:
  16470. description: 融资方买委托单ID
  16471. type: string
  16472. deliverygoodscode:
  16473. description: 品种代码
  16474. type: string
  16475. deliverygoodsid:
  16476. description: 品种ID
  16477. type: integer
  16478. deliverygoodsname:
  16479. description: 品种名称
  16480. type: string
  16481. deliverymonth:
  16482. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  16483. type: string
  16484. enumdicname:
  16485. description: 单位名称
  16486. type: string
  16487. financeaccountid:
  16488. description: 融资方资金帐户ID
  16489. type: integer
  16490. financeapplyid:
  16491. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16492. type: string
  16493. financeareauserid:
  16494. description: 融资方用户ID
  16495. type: string
  16496. financename:
  16497. description: 融出方名称
  16498. type: string
  16499. financetype:
  16500. description: 融资类型 1-融资回购
  16501. type: integer
  16502. financingdays:
  16503. description: 天数(天)
  16504. type: integer
  16505. freezebuymargin:
  16506. description: 冻结融资保证金(买方)
  16507. type: number
  16508. handleremark:
  16509. description: 处理备注
  16510. type: string
  16511. handlestatus:
  16512. description: 处理状态
  16513. type: integer
  16514. interestminlen:
  16515. description: 最小起息天数
  16516. type: integer
  16517. interestrate:
  16518. description: 利率
  16519. type: number
  16520. interestratemode:
  16521. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16522. type: integer
  16523. interestsettlemode:
  16524. description: 结息方式 - 1:按日结息 3:按月结息
  16525. type: integer
  16526. interestsettlevalue:
  16527. description: 结息方式值
  16528. type: integer
  16529. isautoloan:
  16530. description: 是否自动放款 - 0:手动 1:自动
  16531. type: integer
  16532. marginratio:
  16533. description: 保证金比率质押率 - [仓单质押]
  16534. type: number
  16535. marketid:
  16536. description: 市场ID
  16537. type: integer
  16538. minivalue:
  16539. description: 现货商品最小变动值
  16540. type: integer
  16541. optioncompare:
  16542. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16543. type: string
  16544. orderqty:
  16545. description: 委托数量(商品数量)
  16546. type: number
  16547. productdetailid:
  16548. description: 产品组合ID
  16549. type: integer
  16550. productid:
  16551. description: 金融产品ID
  16552. type: integer
  16553. productname:
  16554. description: 产品名称
  16555. type: string
  16556. remark:
  16557. description: 备注
  16558. type: string
  16559. scfcontractid:
  16560. description: 仓单回购合同ID
  16561. type: string
  16562. sellaccountid:
  16563. description: 卖方资金账号
  16564. type: integer
  16565. selluserid:
  16566. description: 卖方用户ID
  16567. type: integer
  16568. sellwrtradeorderid:
  16569. description: 卖方委托单ID
  16570. type: string
  16571. tradeamount:
  16572. description: 成交金额(借款金额)
  16573. type: number
  16574. tradedate:
  16575. description: 交易日(yyyyMMdd)
  16576. type: string
  16577. tradeprice:
  16578. description: 成交价格
  16579. type: number
  16580. warehouseid:
  16581. description: 仓库ID
  16582. type: integer
  16583. warehousename:
  16584. description: 仓库名称
  16585. type: string
  16586. wrfactortypeid:
  16587. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16588. type: string
  16589. wrfactortypename:
  16590. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16591. type: string
  16592. wrpricetype:
  16593. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  16594. type: integer
  16595. wrstandardcode:
  16596. description: 现货商品代码
  16597. type: string
  16598. wrstandardid:
  16599. description: 现货商品ID
  16600. type: integer
  16601. wrstandardname:
  16602. description: 商品名称
  16603. type: string
  16604. wrtypename:
  16605. description: 商品
  16606. type: string
  16607. type: object
  16608. models.WrFriendApply:
  16609. properties:
  16610. applicantid:
  16611. description: 申请人
  16612. type: integer
  16613. applyname:
  16614. description: 申请人名称
  16615. type: string
  16616. applysrc:
  16617. description: 申请来源 - 1:管理端 2:终端
  16618. type: integer
  16619. applystatus:
  16620. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  16621. type: integer
  16622. applytime:
  16623. description: 申请时间
  16624. type: string
  16625. auditname:
  16626. description: 审核人名称
  16627. type: string
  16628. auditorid:
  16629. description: 审核人
  16630. type: integer
  16631. auditremark:
  16632. description: 审核备注
  16633. type: string
  16634. auditsrc:
  16635. description: 审核来源 - 1:管理端 2:终端
  16636. type: integer
  16637. audittime:
  16638. description: 审核时间
  16639. type: string
  16640. friendapplyid:
  16641. description: 申请ID(SEQ_FRIENDAPPLY)
  16642. type: string
  16643. friendname:
  16644. description: 好友名字(已脱敏)
  16645. type: string
  16646. frienduserid:
  16647. description: 好友用户ID
  16648. type: string
  16649. remark:
  16650. description: 备注
  16651. type: string
  16652. userid:
  16653. description: 申请人用户ID
  16654. type: integer
  16655. type: object
  16656. models.WrFtDeliveryGoods:
  16657. properties:
  16658. deliverygoodscode:
  16659. description: 品种代码
  16660. type: string
  16661. deliverygoodsid:
  16662. description: 品种ID
  16663. type: integer
  16664. deliverygoodsname:
  16665. description: 品种名称
  16666. type: string
  16667. wdlst:
  16668. description: 商品列表
  16669. items:
  16670. $ref: '#/definitions/models.WrFtWrstandard'
  16671. type: array
  16672. type: object
  16673. models.WrFtWrstandard:
  16674. properties:
  16675. enumdicname:
  16676. description: 单位名称
  16677. type: string
  16678. minivalue:
  16679. description: 最小变动值
  16680. type: integer
  16681. wrstandardcode:
  16682. description: 现货商品代码
  16683. type: string
  16684. wrstandardid:
  16685. description: 现货商品ID
  16686. type: integer
  16687. wrstandardname:
  16688. description: 商品名称
  16689. type: string
  16690. type: object
  16691. models.WrGoodsInfo:
  16692. properties:
  16693. haswr:
  16694. description: 0:仓单预售 1:仓单贸易
  16695. type: integer
  16696. lstitem:
  16697. description: 商品信息项
  16698. items:
  16699. $ref: '#/definitions/models.WrTypeItem'
  16700. type: array
  16701. lststep:
  16702. description: 履约规则
  16703. items:
  16704. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16705. type: array
  16706. marketid:
  16707. description: 市场id
  16708. type: integer
  16709. type: object
  16710. models.WrGoodsPerformanceStep:
  16711. properties:
  16712. autoid:
  16713. description: AutoID
  16714. type: integer
  16715. isauto:
  16716. description: 是否自动 - 0:不自动 1:自动
  16717. type: integer
  16718. remark:
  16719. description: 备注
  16720. type: string
  16721. stepdate:
  16722. description: 天数信息(T+N)
  16723. type: string
  16724. stepdays:
  16725. description: 距离上一步天数
  16726. type: integer
  16727. stepindex:
  16728. description: 步骤序号
  16729. type: integer
  16730. stepinfo:
  16731. description: 步骤信息(步骤名称+步骤值)
  16732. type: string
  16733. steptypeid:
  16734. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16735. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16736. type: integer
  16737. steptypename:
  16738. description: 步骤名称
  16739. type: string
  16740. stepvalue:
  16741. description: 步骤值
  16742. type: number
  16743. templateid:
  16744. description: 履约计划模板ID
  16745. type: integer
  16746. type: object
  16747. models.WrHoldLB:
  16748. properties:
  16749. accountid:
  16750. description: 持有人帐户ID
  16751. type: integer
  16752. bannerpicurl:
  16753. description: Banner图
  16754. type: string
  16755. createtime:
  16756. description: 创建时间(过户时间)
  16757. type: string
  16758. deliverygoodscode:
  16759. description: 品种代码
  16760. type: string
  16761. deliverygoodsid:
  16762. description: 品种ID
  16763. type: integer
  16764. deliverygoodsname:
  16765. description: 品种名称
  16766. type: string
  16767. enableqty:
  16768. description: 可用数量
  16769. type: number
  16770. enumdicname:
  16771. description: 单位名称
  16772. type: string
  16773. freezerqty:
  16774. description: 冻结数量
  16775. type: number
  16776. ladingbillid:
  16777. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16778. type: string
  16779. minivalue:
  16780. description: 现货商品最小变动值
  16781. type: integer
  16782. optioncompare:
  16783. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16784. type: string
  16785. parentsubnum:
  16786. description: 拆分父子单号
  16787. type: integer
  16788. pledgeqty:
  16789. description: 质押数量
  16790. type: number
  16791. qty:
  16792. description: 数量
  16793. type: number
  16794. subnum:
  16795. description: 提单子单号
  16796. type: integer
  16797. thumurls:
  16798. description: 缩略图
  16799. type: string
  16800. tradedate:
  16801. description: 交易日(yyyyMMdd)
  16802. type: string
  16803. userid:
  16804. description: 持有人ID
  16805. type: integer
  16806. warehouseid:
  16807. description: 仓库ID
  16808. type: integer
  16809. warehousename:
  16810. description: 仓库名称
  16811. type: string
  16812. wrfactortypeid:
  16813. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16814. type: string
  16815. wrfactortypename:
  16816. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16817. type: string
  16818. wrholdeno:
  16819. description: 仓单编号
  16820. type: string
  16821. wrid:
  16822. description: 仓单变更ID
  16823. type: string
  16824. wrstandardcode:
  16825. description: 现货商品代码
  16826. type: string
  16827. wrstandardid:
  16828. description: 现货商品ID
  16829. type: integer
  16830. wrstandardname:
  16831. description: 商品名称
  16832. type: string
  16833. wrtypename:
  16834. description: 商品
  16835. type: string
  16836. type: object
  16837. models.WrMarketTradeConfig:
  16838. properties:
  16839. basisdownratio:
  16840. description: 浮动价基差下限比例(仓单贸易)
  16841. type: number
  16842. basisupratio:
  16843. description: 浮动价基差上限比例(仓单贸易)
  16844. type: number
  16845. buychargealgorithm:
  16846. description: 买方手续费收取方式 1:比率 2:固定
  16847. type: integer
  16848. buychargealgorithm2:
  16849. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16850. type: integer
  16851. buychargealgorithmvalue:
  16852. description: 买方手续费设置值(交易所部分)
  16853. type: number
  16854. buychargealgorithmvalue2:
  16855. description: 买方手续费设置值(会员部分)
  16856. type: number
  16857. buychargealgorithmvalue3:
  16858. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16859. type: number
  16860. buychargealgorithmvalue4:
  16861. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16862. type: number
  16863. buyfirstmarginalgorithm:
  16864. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16865. type: integer
  16866. buyfirstmarginvalue:
  16867. description: 买方出价保证金设置值 - [竞拍]
  16868. type: number
  16869. buymarginalgorithm:
  16870. description: 买方保证金方式 - 1:比率 2:固定
  16871. type: integer
  16872. buymarginvalue:
  16873. description: 买方保证金设置值
  16874. type: number
  16875. buyreleaseratio:
  16876. description: 买方释放比率[2:分步履约]
  16877. type: number
  16878. executemode:
  16879. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16880. type: integer
  16881. executeside:
  16882. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16883. type: integer
  16884. failedchargealgorithm:
  16885. description: 流拍手续费收取方式 1:比率 2:固定
  16886. type: integer
  16887. failedchargevalue:
  16888. description: 流拍手续费设置值
  16889. type: number
  16890. failedchargevalue2:
  16891. description: 流拍卖方手续费设置值
  16892. type: number
  16893. holddays:
  16894. description: 合同期限[2:分步履约]
  16895. type: integer
  16896. listingmode:
  16897. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16898. type: integer
  16899. marketid:
  16900. description: 市场ID-仓单贸易、竞拍、预售
  16901. type: integer
  16902. minqty:
  16903. description: 最小执行量[2:分步履约]
  16904. type: number
  16905. modifierid:
  16906. description: 修改人
  16907. type: integer
  16908. nowrquotaflag:
  16909. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16910. type: integer
  16911. performancetempid:
  16912. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16913. 立即执行(-1)
  16914. type: integer
  16915. performancetempid2:
  16916. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16917. 立即执行
  16918. type: integer
  16919. performancetempid2s:
  16920. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16921. - 履约方式: 立即执行
  16922. type: string
  16923. performancetempids:
  16924. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16925. - 履约方式: 立即执行(-1)
  16926. type: string
  16927. performanceway:
  16928. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16929. type: integer
  16930. sellchargealgorithm:
  16931. description: 卖方手续费收取方式 1:比率 2:固定
  16932. type: integer
  16933. sellchargealgorithm2:
  16934. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16935. type: integer
  16936. sellchargealgorithmvalue:
  16937. description: 卖方手续费设置值(交易所部分)
  16938. type: number
  16939. sellchargealgorithmvalue2:
  16940. description: 卖方手续费设置值(会员部分)
  16941. type: number
  16942. sellchargealgorithmvalue3:
  16943. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16944. type: number
  16945. sellchargealgorithmvalue4:
  16946. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16947. type: number
  16948. sellmarginalgorithm:
  16949. description: 卖方保证金方式 - 1:比率 2:固定
  16950. type: integer
  16951. sellmarginvalue:
  16952. description: 卖方保证金设置值
  16953. type: number
  16954. sellmarginvalue2:
  16955. description: 卖方保证金设置值(无仓单)
  16956. type: number
  16957. sellreleaseratio:
  16958. description: 卖方释放比率[2:分步履约]
  16959. type: number
  16960. updatetime:
  16961. description: 更新时间
  16962. type: string
  16963. type: object
  16964. models.WrOrderDetail:
  16965. properties:
  16966. accountid:
  16967. description: 交易账号(资金账号)
  16968. type: integer
  16969. allfriendsflag:
  16970. description: 是否全好友可见 - 0:否 1:是
  16971. type: integer
  16972. amount:
  16973. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16974. type: number
  16975. bannerpicurl:
  16976. description: Banner图
  16977. type: string
  16978. begindate:
  16979. description: 开始交易日(yyyymmdd)
  16980. type: string
  16981. buyorsell:
  16982. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16983. type: integer
  16984. canbargain:
  16985. description: 是否可议价 - 0:不可 1:可
  16986. type: integer
  16987. cancelqty:
  16988. description: 撤销数量
  16989. type: number
  16990. canpart:
  16991. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16992. type: integer
  16993. delistminqty:
  16994. description: 起摘数量
  16995. type: integer
  16996. deliverygoodscode:
  16997. description: 品种代码
  16998. type: string
  16999. deliverygoodsid:
  17000. description: 品种ID
  17001. type: integer
  17002. deliverygoodsname:
  17003. description: 品种名称
  17004. type: string
  17005. deliverymonth:
  17006. description: 交收月
  17007. type: string
  17008. enddate:
  17009. description: 结束交易日(yyyymmdd)
  17010. type: string
  17011. enumdicname:
  17012. description: 单位名称
  17013. type: string
  17014. fixedprice:
  17015. description: 固定价格 - [挂牌]
  17016. type: number
  17017. freezecharge:
  17018. description: 冻结手续费
  17019. type: number
  17020. freezemargin:
  17021. description: 冻结保证金(保证金)
  17022. type: number
  17023. futupricemove:
  17024. description: 期货升贴水
  17025. type: number
  17026. futushow:
  17027. description: 期货合约/升贴水
  17028. type: string
  17029. goodscode:
  17030. description: 期货合约
  17031. type: string
  17032. goodsid:
  17033. description: 期货商品id
  17034. type: integer
  17035. goodsname:
  17036. description: 商品名称
  17037. type: string
  17038. haswr:
  17039. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17040. type: integer
  17041. isspecified:
  17042. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  17043. type: integer
  17044. ladingbillid:
  17045. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  17046. type: string
  17047. marginvalue:
  17048. description: 保证金设置值(履约保证金)
  17049. type: number
  17050. marketid:
  17051. description: 市场ID
  17052. type: integer
  17053. matchusername:
  17054. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  17055. type: string
  17056. minivalue:
  17057. description: 现货商品最小变动值
  17058. type: integer
  17059. optioncompare:
  17060. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17061. type: string
  17062. orderqty:
  17063. description: 委托数量
  17064. type: number
  17065. ordertime:
  17066. description: 委托时间(挂牌时间)
  17067. type: string
  17068. performancetemplateid:
  17069. description: 履约模板id
  17070. type: integer
  17071. pricemove:
  17072. description: 升贴水(浮动价时填写) - [挂牌]
  17073. type: number
  17074. taname:
  17075. description: 交易用户名称(资金账号名称)
  17076. type: string
  17077. thumurls:
  17078. description: 缩略图
  17079. type: string
  17080. tradedate:
  17081. description: 交易日(yyyyMMdd)
  17082. type: string
  17083. tradeprice:
  17084. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17085. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17086. type: number
  17087. tradeqty:
  17088. description: 成交数量
  17089. type: number
  17090. userid:
  17091. description: 用户ID
  17092. type: integer
  17093. validtime:
  17094. description: 挂牌有效期
  17095. type: string
  17096. validtype:
  17097. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17098. type: integer
  17099. warehouseid:
  17100. description: 仓库ID
  17101. type: integer
  17102. warehousename:
  17103. description: 仓库名称
  17104. type: string
  17105. wrfactortypeid:
  17106. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17107. type: string
  17108. wrfactortypename:
  17109. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17110. type: string
  17111. wrpricetype:
  17112. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17113. type: integer
  17114. wrstandardcode:
  17115. description: 现货商品代码
  17116. type: string
  17117. wrstandardid:
  17118. description: 现货商品ID
  17119. type: integer
  17120. wrstandardname:
  17121. description: 商品名称
  17122. type: string
  17123. wrtradeorderid:
  17124. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17125. type: string
  17126. wrtradeorderstatus:
  17127. 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:撤单解冻贷款失败
  17128. type: integer
  17129. wrtradetype:
  17130. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17131. type: integer
  17132. wrtypename:
  17133. description: 商品
  17134. type: string
  17135. type: object
  17136. models.WrOrderQuote:
  17137. properties:
  17138. bannerpicurl:
  17139. description: Banner图
  17140. type: string
  17141. buyprice:
  17142. description: 买价
  17143. type: number
  17144. buypricemove:
  17145. description: 买升贴水(基差)
  17146. type: number
  17147. buyqty:
  17148. description: 买量
  17149. type: number
  17150. deliverygoodscode:
  17151. description: 品种代码
  17152. type: string
  17153. deliverygoodsid:
  17154. description: 品种id
  17155. type: integer
  17156. deliverygoodsname:
  17157. description: 品种名称
  17158. type: string
  17159. deliverymonth:
  17160. description: 交收月
  17161. type: string
  17162. enumdicname:
  17163. description: 单位名称
  17164. type: string
  17165. goodscode:
  17166. description: 商品合约(浮动价列表才有)
  17167. type: string
  17168. goodsid:
  17169. description: 商品id(浮动价列表才有)
  17170. type: integer
  17171. minivalue:
  17172. description: 现货商品最小变动值
  17173. type: integer
  17174. pictureurls:
  17175. description: 详情图片(逗号分隔)
  17176. type: string
  17177. sellprice:
  17178. description: 卖价
  17179. type: number
  17180. sellpricemove:
  17181. description: 卖升贴水(基差)
  17182. type: number
  17183. sellqty:
  17184. description: 卖量
  17185. type: number
  17186. thumurls:
  17187. description: 缩略图片(1:1)(逗号分隔)
  17188. type: string
  17189. warehousecode:
  17190. description: 仓库代码
  17191. type: string
  17192. warehouseid:
  17193. description: 仓库id
  17194. type: integer
  17195. warehousename:
  17196. description: 仓库名称
  17197. type: string
  17198. wrfactortypeid:
  17199. description: 仓单要素id
  17200. type: string
  17201. wrfactortypename:
  17202. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17203. type: string
  17204. wrgoodsname:
  17205. description: 商品(商品名称+仓库要素名称 拼接)
  17206. type: string
  17207. wrstandardcode:
  17208. description: 商品代码
  17209. type: string
  17210. wrstandardid:
  17211. description: 商品id
  17212. type: integer
  17213. wrstandardname:
  17214. description: 商品名称
  17215. type: string
  17216. type: object
  17217. models.WrOrderQuoteDetail:
  17218. properties:
  17219. buyorsell:
  17220. description: 买卖 - 0:买 1:卖
  17221. type: integer
  17222. delistminqty:
  17223. description: 起摘数量
  17224. type: number
  17225. deliverymonth:
  17226. description: 交收月
  17227. type: string
  17228. enumdicname:
  17229. description: 单位名称
  17230. type: string
  17231. fixedprice:
  17232. description: 买(卖)价
  17233. type: number
  17234. marketid:
  17235. description: 市场id
  17236. type: integer
  17237. minivalue:
  17238. description: 现货商品最小变动值
  17239. type: integer
  17240. orderqty:
  17241. description: 买(卖)量(=委托量-成交量)
  17242. type: number
  17243. ordertime:
  17244. description: 委托时间
  17245. type: string
  17246. pricemove:
  17247. description: 买(卖)升贴水- 基差
  17248. type: number
  17249. userid:
  17250. description: 购买方(销售方)用户ID
  17251. type: integer
  17252. username:
  17253. description: 购买方(销售方)
  17254. type: string
  17255. wrtradeorderid:
  17256. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17257. type: string
  17258. type: object
  17259. models.WrOutInApply:
  17260. properties:
  17261. applyid:
  17262. description: 申请单id
  17263. type: string
  17264. applystatus:
  17265. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  17266. 8:已撤销
  17267. type: integer
  17268. applytime:
  17269. description: 申请时间
  17270. type: string
  17271. applytype:
  17272. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  17273. type: integer
  17274. bannerpicurl:
  17275. description: Banner图
  17276. type: string
  17277. begindate:
  17278. description: 开始交易日(yyyymmdd)
  17279. type: string
  17280. deliverygoodscode:
  17281. description: 品种代码
  17282. type: string
  17283. deliverygoodsid:
  17284. description: 品种ID
  17285. type: integer
  17286. deliverygoodsname:
  17287. description: 品种名称
  17288. type: string
  17289. enddate:
  17290. description: 结束交易日(yyyymmdd)
  17291. type: string
  17292. enumdicname:
  17293. description: 单位名称
  17294. type: string
  17295. expresscompany:
  17296. description: 物流公司
  17297. type: string
  17298. expressnum:
  17299. description: 物流单号
  17300. type: string
  17301. minivalue:
  17302. description: 现货商品最小变动值
  17303. type: integer
  17304. optioncompare:
  17305. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17306. type: string
  17307. qty:
  17308. description: 数量
  17309. type: integer
  17310. userid:
  17311. description: 用户id
  17312. type: integer
  17313. warehouseid:
  17314. description: 仓库ID
  17315. type: integer
  17316. warehousename:
  17317. description: 仓库名称
  17318. type: string
  17319. wrfactortypeid:
  17320. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17321. type: string
  17322. wrfactortypename:
  17323. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17324. type: string
  17325. wrstandardcode:
  17326. description: 现货商品代码
  17327. type: string
  17328. wrstandardid:
  17329. description: 现货商品ID
  17330. type: integer
  17331. wrstandardname:
  17332. description: 商品名称
  17333. type: string
  17334. wrtypename:
  17335. description: 商品
  17336. type: string
  17337. type: object
  17338. models.WrPerformancePlan:
  17339. properties:
  17340. activatemonth:
  17341. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  17342. type: string
  17343. amount:
  17344. description: 履约金额(总金额)
  17345. type: number
  17346. begindate:
  17347. description: 开始交易日(yyyymmdd)
  17348. type: string
  17349. buyaccountid:
  17350. description: 买方账号
  17351. type: integer
  17352. buyerfreezeamount:
  17353. description: 履约冻结(买履约)
  17354. type: number
  17355. buyerfreezeamountremain:
  17356. description: 履约冻结剩余(买履约)
  17357. type: number
  17358. buyorsell:
  17359. description: 买卖方向 0-买 1-卖
  17360. type: integer
  17361. buypaidamount:
  17362. description: 买方已冻/已扣金额 (已付金额)
  17363. type: number
  17364. buyusername:
  17365. description: 买方名字
  17366. type: string
  17367. contractid:
  17368. description: 合同ID
  17369. type: integer
  17370. createtime:
  17371. description: 创建时间
  17372. type: string
  17373. creatorid:
  17374. description: 创建人
  17375. type: integer
  17376. curstepdeadline:
  17377. description: 当前步骤到期时间
  17378. type: string
  17379. curstepid:
  17380. description: 当前步骤ID
  17381. type: string
  17382. curstepname:
  17383. description: 当前步骤名称
  17384. type: string
  17385. deliverygoodscode:
  17386. description: 品种代码
  17387. type: string
  17388. deliverygoodsid:
  17389. description: 品种ID
  17390. type: integer
  17391. deliverygoodsname:
  17392. description: 品种名称
  17393. type: string
  17394. enddate:
  17395. description: 结束交易日(yyyymmdd)
  17396. type: string
  17397. enumdicname:
  17398. description: 单位名称
  17399. type: string
  17400. expressfee:
  17401. description: 运费
  17402. type: number
  17403. expressfeeconfirmed:
  17404. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  17405. type: integer
  17406. hasovershort:
  17407. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  17408. type: integer
  17409. haswr:
  17410. description: 类型 0-仓单预售 1-仓单贸易
  17411. type: integer
  17412. marketid:
  17413. description: 市场ID
  17414. type: integer
  17415. middleaccountid:
  17416. description: 中间商资金账号ID
  17417. type: integer
  17418. middleuserid:
  17419. description: 中间商用户ID
  17420. type: integer
  17421. minivalue:
  17422. description: 现货商品最小变动值
  17423. type: integer
  17424. optioncompare:
  17425. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17426. type: string
  17427. overshortamount:
  17428. description: 溢短金额
  17429. type: number
  17430. overshortqty:
  17431. description: 溢短数量
  17432. type: number
  17433. paymenttype:
  17434. description: 付款方式 - 1:冻结 2:扣款
  17435. type: integer
  17436. performanceplanid:
  17437. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  17438. type: string
  17439. performancestatus:
  17440. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  17441. 9:超时待处理 10:超时关闭
  17442. type: integer
  17443. performancetype:
  17444. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  17445. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  17446. type: integer
  17447. qty:
  17448. description: 履约数量
  17449. type: number
  17450. relatedorderid:
  17451. description: 关联单号(履约类型的关联单号)
  17452. type: string
  17453. remark:
  17454. description: 备注
  17455. type: string
  17456. sellaccountid:
  17457. description: 卖方账号
  17458. type: integer
  17459. sellerfreezeamount:
  17460. description: 履约冻结(卖履约)
  17461. type: number
  17462. sellerfreezeamountremain:
  17463. description: 履约冻结剩余(卖履约)
  17464. type: number
  17465. sellreceivedamount:
  17466. description: 卖方已收金额
  17467. type: number
  17468. sellusername:
  17469. description: 卖方名字
  17470. type: string
  17471. shipremark:
  17472. description: 发货备注[物流单号]
  17473. type: string
  17474. starttime:
  17475. description: 开始时间
  17476. type: string
  17477. steptypeid:
  17478. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17479. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17480. type: integer
  17481. typename:
  17482. description: 履约类型 名称
  17483. type: string
  17484. unpaidamount:
  17485. description: 剩余款(待支付金额)
  17486. type: number
  17487. userid:
  17488. description: 用户id
  17489. type: integer
  17490. warehouseid:
  17491. description: 仓库ID
  17492. type: integer
  17493. warehousename:
  17494. description: 仓库名称
  17495. type: string
  17496. wrfactortypeid:
  17497. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17498. type: string
  17499. wrfactortypename:
  17500. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17501. type: string
  17502. wrstandardcode:
  17503. description: 现货商品代码
  17504. type: string
  17505. wrstandardid:
  17506. description: 现货商品ID
  17507. type: integer
  17508. wrstandardname:
  17509. description: 商品名称
  17510. type: string
  17511. wrtransferuserid:
  17512. description: 仓单受让用户
  17513. type: integer
  17514. wrtypename:
  17515. description: 商品
  17516. type: string
  17517. required:
  17518. - userid
  17519. type: object
  17520. models.WrPerformancePlanStep:
  17521. properties:
  17522. delaydays:
  17523. description: 延期申请天数
  17524. type: integer
  17525. deliverygoodscode:
  17526. description: 品种代码
  17527. type: string
  17528. deliverygoodsid:
  17529. description: 品种ID
  17530. type: integer
  17531. deliverygoodsname:
  17532. description: 品种名称
  17533. type: string
  17534. endtime:
  17535. description: 结束日期
  17536. type: string
  17537. enumdicname:
  17538. description: 单位名称
  17539. type: string
  17540. executeside:
  17541. description: 步骤执行方 - 1:买方 2:卖方
  17542. type: integer
  17543. handlestatus:
  17544. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  17545. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  17546. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  17547. type: integer
  17548. isauto:
  17549. description: 是否自动 - 0:不自动 1:自动
  17550. type: integer
  17551. islastreceivestep:
  17552. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  17553. type: integer
  17554. minivalue:
  17555. description: 现货商品最小变动值
  17556. type: integer
  17557. optioncompare:
  17558. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17559. type: string
  17560. overdays:
  17561. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  17562. type: integer
  17563. performancestepid:
  17564. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  17565. type: string
  17566. planid:
  17567. description: 所属履约计划ID
  17568. type: string
  17569. realamount:
  17570. description: 实际完成金额
  17571. type: number
  17572. relatedorderid:
  17573. description: 关联单号
  17574. type: string
  17575. remaindays:
  17576. description: 剩余天数
  17577. type: integer
  17578. remark:
  17579. description: 错误备注
  17580. type: string
  17581. starttime:
  17582. description: 开始日期
  17583. type: string
  17584. stepamount:
  17585. description: 步骤金额
  17586. type: number
  17587. stepdays:
  17588. description: 距离上一步天数(分钟)
  17589. type: integer
  17590. stepindex:
  17591. description: 步骤序号
  17592. type: integer
  17593. steplanchtype:
  17594. description: 步骤启动类型 - 1:系统自动 2:手动
  17595. type: integer
  17596. stepremark:
  17597. description: 步骤备注
  17598. type: string
  17599. stepstatus:
  17600. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  17601. type: integer
  17602. steptypeid:
  17603. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  17604. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  17605. type: integer
  17606. steptypename:
  17607. description: 步骤名称
  17608. type: string
  17609. stepvalue:
  17610. description: 步骤值
  17611. type: number
  17612. warehouseid:
  17613. description: 仓库ID
  17614. type: integer
  17615. warehousename:
  17616. description: 仓库名称
  17617. type: string
  17618. wrfactortypeid:
  17619. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17620. type: string
  17621. wrfactortypename:
  17622. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17623. type: string
  17624. wrstandardcode:
  17625. description: 现货商品代码
  17626. type: string
  17627. wrstandardid:
  17628. description: 现货商品ID
  17629. type: integer
  17630. wrstandardname:
  17631. description: 商品名称
  17632. type: string
  17633. wrtypename:
  17634. description: 商品
  17635. type: string
  17636. type: object
  17637. models.WrPerformanceStepType:
  17638. properties:
  17639. canauto:
  17640. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  17641. type: integer
  17642. steptypeid:
  17643. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  17644. type: integer
  17645. steptypename:
  17646. description: 步骤类型名称
  17647. type: string
  17648. type: object
  17649. models.WrPerformanceTemplateEx:
  17650. properties:
  17651. autoid:
  17652. description: AutoID 模板id
  17653. type: integer
  17654. createtime:
  17655. description: 创建时间
  17656. type: string
  17657. creatorid:
  17658. description: 创建人
  17659. type: integer
  17660. lstStep:
  17661. description: 步骤信息列表
  17662. items:
  17663. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17664. type: array
  17665. paymenttype:
  17666. description: 支付方式 - 1:冻结 2:扣款
  17667. type: integer
  17668. takemode:
  17669. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  17670. type: integer
  17671. templatename:
  17672. description: 模板名称
  17673. type: string
  17674. templatetype:
  17675. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  17676. (无仓单) 5:挂牌期权 6:竞拍-降价式
  17677. type: integer
  17678. userid:
  17679. description: 所属用户
  17680. type: integer
  17681. type: object
  17682. models.WrPosition:
  17683. properties:
  17684. accountid:
  17685. description: 帐户ID
  17686. type: integer
  17687. buyexcuteqty:
  17688. description: 采购履约中数量
  17689. type: number
  17690. creditcurqty:
  17691. description: 授信当前数量(预售仓单:预售当前量)
  17692. type: number
  17693. creditenableqty:
  17694. description: '授信可用数量(预售仓单: 可用数量)'
  17695. type: number
  17696. creditfreezeqty:
  17697. description: '授信冻结数量(预售仓单: 当前数量)'
  17698. type: number
  17699. credittotalqty:
  17700. description: 授信总数量(预售仓单:预售总量)
  17701. type: number
  17702. credittradeqty:
  17703. description: 授信成交数量(预售仓单:成交总量)
  17704. type: number
  17705. deliverygoodscode:
  17706. description: 品种代码
  17707. type: string
  17708. deliverygoodsid:
  17709. description: 品种ID
  17710. type: integer
  17711. deliverygoodsname:
  17712. description: 品种名称
  17713. type: string
  17714. enalbeqty:
  17715. description: 可用数量
  17716. type: number
  17717. enumdicname:
  17718. description: 单位名称
  17719. type: string
  17720. freezeqty:
  17721. description: 总冻结数量
  17722. type: number
  17723. haswr:
  17724. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17725. type: integer
  17726. minivalue:
  17727. description: 现货商品最小变动值
  17728. type: integer
  17729. modifytime:
  17730. description: 修改时间(过户时间)
  17731. type: string
  17732. optioncompare:
  17733. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17734. type: string
  17735. pledgeqty:
  17736. description: 质押数量
  17737. type: number
  17738. querytype:
  17739. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  17740. type: integer
  17741. sellexcuteqty:
  17742. description: 销售履约中数量
  17743. type: number
  17744. totalqty:
  17745. description: 总数量(库存数量)
  17746. type: number
  17747. warehouseid:
  17748. description: 仓库ID
  17749. type: integer
  17750. warehousename:
  17751. description: 仓库名称
  17752. type: string
  17753. wrfactortypeid:
  17754. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17755. type: string
  17756. wrfactortypename:
  17757. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17758. type: string
  17759. wrpositionid:
  17760. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  17761. type: string
  17762. wrpositionno:
  17763. description: 仓单编号
  17764. type: string
  17765. wrstandardcode:
  17766. description: 现货商品代码
  17767. type: string
  17768. wrstandardid:
  17769. description: 现货商品ID
  17770. type: integer
  17771. wrstandardname:
  17772. description: 商品名称
  17773. type: string
  17774. wrtypename:
  17775. description: 商品
  17776. type: string
  17777. wruserid:
  17778. description: 持有人ID
  17779. type: integer
  17780. type: object
  17781. models.WrPreSaleInfo:
  17782. properties:
  17783. bannerpicurl:
  17784. description: Banner图
  17785. type: string
  17786. baseqty:
  17787. description: 中签基数
  17788. type: number
  17789. createtime:
  17790. description: 创建时间
  17791. type: string
  17792. deliverygoodsid:
  17793. description: 现货品种ID
  17794. type: integer
  17795. enddate:
  17796. description: 预售结束日期
  17797. type: string
  17798. enumdicname:
  17799. description: 单位名称
  17800. type: string
  17801. lotteryflag:
  17802. description: 摇号标识 - 0:未摇号 1:已摇号
  17803. type: integer
  17804. lotteryqty:
  17805. description: 摇号总量
  17806. type: number
  17807. luckyqty:
  17808. description: 已中签量
  17809. type: number
  17810. marketid:
  17811. description: 市场ID
  17812. type: integer
  17813. maxbuyqty:
  17814. description: 单人最大申购量
  17815. type: number
  17816. maxluckyqty:
  17817. description: 单人最大中签量
  17818. type: number
  17819. pictureurls:
  17820. description: 详情图片(逗号分隔)
  17821. type: string
  17822. placeqty:
  17823. description: 已配售量
  17824. type: number
  17825. presaleapplyid:
  17826. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17827. example: "0"
  17828. type: string
  17829. presaleqty:
  17830. description: 预售总量
  17831. type: number
  17832. presalestatus:
  17833. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17834. type: integer
  17835. sellaccountid:
  17836. description: 发行方资金账户ID
  17837. type: integer
  17838. selluserid:
  17839. description: 发行方用户ID
  17840. type: integer
  17841. sellwrtradeorderid:
  17842. description: 发行方卖委托单ID
  17843. type: string
  17844. startdate:
  17845. description: 预售开始日期
  17846. type: string
  17847. takestartdate:
  17848. description: 提货开始日期
  17849. type: string
  17850. thumurls:
  17851. description: 缩略图片(1:1)(逗号分隔)
  17852. type: string
  17853. tradedate:
  17854. description: 交易日
  17855. type: string
  17856. unitid:
  17857. description: 单位ID
  17858. type: integer
  17859. unitprice:
  17860. description: 商品单价
  17861. type: number
  17862. username:
  17863. description: 发行方用户名称
  17864. type: string
  17865. warehousecode:
  17866. description: 仓库代码(仓库简称)
  17867. type: string
  17868. warehouseid:
  17869. description: 仓库ID
  17870. type: integer
  17871. warehousename:
  17872. description: 仓库名称
  17873. type: string
  17874. wrfactortypeid:
  17875. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17876. example: "0"
  17877. type: string
  17878. wrstandardid:
  17879. description: 现货商品ID
  17880. type: integer
  17881. wrstandardname:
  17882. description: 现货商品名称
  17883. type: string
  17884. type: object
  17885. models.WrQuoteOrderMyq:
  17886. properties:
  17887. buyorsell:
  17888. description: 买卖 - 0:买 1:卖
  17889. type: integer
  17890. canbargain:
  17891. description: 是否可议价 - 0:不可 1:可
  17892. type: integer
  17893. canpart:
  17894. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17895. type: integer
  17896. delistminqty:
  17897. description: 起摘数量
  17898. type: number
  17899. deliverygoodscode:
  17900. description: 品种代码
  17901. type: string
  17902. deliverygoodsid:
  17903. description: 品种ID
  17904. type: integer
  17905. deliverygoodsname:
  17906. description: 品种名称
  17907. type: string
  17908. deliverymonth:
  17909. description: 交收月
  17910. type: string
  17911. enumdicname:
  17912. description: 单位名称
  17913. type: string
  17914. fixedprice:
  17915. description: 买(卖)价
  17916. type: number
  17917. goodscode:
  17918. description: 商品合约代码
  17919. type: string
  17920. marginflag:
  17921. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17922. type: integer
  17923. marginvalue:
  17924. description: 保证金设置值
  17925. type: number
  17926. minivalue:
  17927. description: 现货商品最小变动值
  17928. type: integer
  17929. orderqty:
  17930. description: 买(卖)量(=委托量-成交量)
  17931. type: number
  17932. ordertime:
  17933. description: 委托时间
  17934. type: string
  17935. performancetemplateid:
  17936. description: 履约模板id
  17937. type: integer
  17938. pricemove:
  17939. description: 买(卖)升贴水- 基差
  17940. type: number
  17941. templatename:
  17942. description: 履约模板名称
  17943. type: string
  17944. userid:
  17945. description: 购买方(销售方)用户ID
  17946. type: integer
  17947. username:
  17948. description: 购买方(销售方)
  17949. type: string
  17950. validtime:
  17951. description: 有效期限
  17952. type: string
  17953. validtype:
  17954. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17955. type: integer
  17956. warehousename:
  17957. description: 仓库名称
  17958. type: string
  17959. wrfactortypeid:
  17960. description: 仓单要素id
  17961. type: string
  17962. wrstandardcode:
  17963. description: 现货商品代码
  17964. type: string
  17965. wrstandardid:
  17966. description: 现货商品ID
  17967. type: integer
  17968. wrstandardname:
  17969. description: 商品名称
  17970. type: string
  17971. wrtradeorderid:
  17972. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17973. type: string
  17974. wrtypename:
  17975. description: 商品
  17976. type: string
  17977. type: object
  17978. models.WrReckonSpotGoodsTradeSum:
  17979. properties:
  17980. begindate:
  17981. description: 开始日期(结果含开始日期) yyyymmdd
  17982. type: string
  17983. enddate:
  17984. description: 结束日期(结果含结束日期) yyyymmdd
  17985. type: string
  17986. istoday:
  17987. description: 是否当日
  17988. type: boolean
  17989. marketid:
  17990. description: 市场ID
  17991. type: integer
  17992. price:
  17993. description: 价格 = 日成交金额 / 日成交数量
  17994. type: string
  17995. reckondate:
  17996. description: 日期 格式 yyyymmdd
  17997. type: string
  17998. tradeamount:
  17999. description: 日成交金额(当日单方向成交金额)
  18000. type: number
  18001. tradeqty:
  18002. description: 日成交数量(当日单方向成交数量)
  18003. type: number
  18004. wrstandardid:
  18005. description: 现货商品ID
  18006. type: integer
  18007. type: object
  18008. models.WrScfContract:
  18009. properties:
  18010. borroweruserid:
  18011. description: 借款用户ID
  18012. type: integer
  18013. buybackwrpositionqty:
  18014. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  18015. type: number
  18016. closeinterest:
  18017. description: 已结利息 -> 已结费用
  18018. type: number
  18019. currisklevel:
  18020. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  18021. type: integer
  18022. deadline:
  18023. description: 截止日期(yyyyMMdd) -> 借款到期时间
  18024. type: string
  18025. deliverygoodscode:
  18026. description: 品种代码
  18027. type: string
  18028. deliverygoodsid:
  18029. description: 品种ID
  18030. type: integer
  18031. deliverygoodsname:
  18032. description: 品种名称
  18033. type: string
  18034. enumdicname:
  18035. description: 单位名称
  18036. type: string
  18037. financingdays:
  18038. description: 天数(天)
  18039. type: integer
  18040. initmargin:
  18041. description: 保证金 - [仓单回购]
  18042. type: number
  18043. interestamount:
  18044. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  18045. type: number
  18046. interestdebt:
  18047. description: 利息欠款(记录负数) -> 费用欠款
  18048. type: number
  18049. interestminlen:
  18050. description: 最小起息天数
  18051. type: integer
  18052. interestrate:
  18053. description: 利率
  18054. type: number
  18055. interestratemode:
  18056. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18057. type: integer
  18058. interestsettlemode:
  18059. description: 结息方式 - 1:按日结息 3:按月结息
  18060. type: integer
  18061. interestsettlevalue:
  18062. description: 结息方式值
  18063. type: integer
  18064. isautoloan:
  18065. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  18066. type: integer
  18067. lastcloseinterestday:
  18068. description: 最近结息日(yyyyMMdd)
  18069. type: string
  18070. lenderamount:
  18071. description: 贷款金额 -> 借款金额
  18072. type: number
  18073. lenderuserid:
  18074. description: 贷款方用户ID -> 融出方用户ID
  18075. type: integer
  18076. lenderusername:
  18077. description: 融出方
  18078. type: string
  18079. marginratio:
  18080. description: 保证金比率质押率 - [仓单质押]
  18081. type: number
  18082. marketid:
  18083. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  18084. type: integer
  18085. minivalue:
  18086. description: 现货商品最小变动值
  18087. type: integer
  18088. optioncompare:
  18089. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18090. type: string
  18091. pricemove:
  18092. description: 估值升贴水值
  18093. type: number
  18094. productdetailid:
  18095. description: 产品组合ID
  18096. type: integer
  18097. productid:
  18098. description: 金融产品ID
  18099. type: integer
  18100. productname:
  18101. description: 产品名称
  18102. type: string
  18103. remainamount:
  18104. description: 合同剩余金额 -> 剩余金额
  18105. type: number
  18106. remainwrpositionqty:
  18107. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  18108. type: number
  18109. remark:
  18110. description: 备注
  18111. type: string
  18112. scfcontractid:
  18113. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  18114. type: string
  18115. scfcontractstatus:
  18116. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  18117. 9:违约结束 10:已注销 11:已关闭 99:未提交
  18118. type: integer
  18119. scfcontracttype:
  18120. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  18121. type: integer
  18122. startinterestday:
  18123. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  18124. type: string
  18125. totalinterest:
  18126. description: 已计利息 -> 已计费用
  18127. type: number
  18128. unpaidinterest:
  18129. description: 未结费用
  18130. type: number
  18131. updatetime:
  18132. description: 更新时间
  18133. type: string
  18134. warehouseid:
  18135. description: 仓库ID
  18136. type: integer
  18137. warehousename:
  18138. description: 仓库名称
  18139. type: string
  18140. wrfactortypeid:
  18141. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18142. type: string
  18143. wrfactortypename:
  18144. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18145. type: string
  18146. wrqty:
  18147. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  18148. type: number
  18149. wrstandardcode:
  18150. description: 现货商品代码
  18151. type: string
  18152. wrstandardid:
  18153. description: 现货商品ID
  18154. type: integer
  18155. wrstandardname:
  18156. description: 商品名称
  18157. type: string
  18158. wrtypename:
  18159. description: 商品
  18160. type: string
  18161. type: object
  18162. models.WrScfContractInterest:
  18163. properties:
  18164. closeinterest:
  18165. description: 已结利息
  18166. type: number
  18167. closeintereststatus:
  18168. description: 结息状态 - 1:未结 2:已结
  18169. type: integer
  18170. closetime:
  18171. description: 结息时间
  18172. type: string
  18173. closetradedate:
  18174. description: 结息交易日
  18175. type: string
  18176. creatorid:
  18177. description: 操作人ID
  18178. type: integer
  18179. dayrate:
  18180. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  18181. type: number
  18182. interest:
  18183. description: 利息
  18184. type: number
  18185. interestamount:
  18186. description: 计息金额
  18187. type: number
  18188. interestday:
  18189. description: 计息日(yyyyMMdd)
  18190. type: string
  18191. scfcontractid:
  18192. description: SCF合同ID
  18193. type: string
  18194. scfcontractinterestid:
  18195. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  18196. type: integer
  18197. updatetime:
  18198. description: 更新时间
  18199. type: string
  18200. type: object
  18201. models.WrSearchUser:
  18202. properties:
  18203. userid:
  18204. description: 用户ID
  18205. type: integer
  18206. username:
  18207. description: 用户名称(已脱敏)
  18208. type: string
  18209. username2:
  18210. description: 用户名称(未脱敏)
  18211. type: string
  18212. usertype:
  18213. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18214. type: integer
  18215. required:
  18216. - username
  18217. type: object
  18218. models.WrSiteColumnDetail:
  18219. properties:
  18220. brief:
  18221. description: 简介
  18222. type: string
  18223. context:
  18224. description: 内容
  18225. type: string
  18226. coverimage:
  18227. description: 封面图片
  18228. type: string
  18229. creaedate:
  18230. description: 创建时间
  18231. type: string
  18232. id:
  18233. description: ID(SEQ_SITE_COLUMNDETAIL)
  18234. type: integer
  18235. istop:
  18236. description: 是否置顶 - 0:不置 1:置顶
  18237. type: integer
  18238. publishdate:
  18239. description: 发布日期
  18240. type: string
  18241. title:
  18242. description: 标题
  18243. type: string
  18244. updatedate:
  18245. description: 修改时间
  18246. type: string
  18247. type: object
  18248. models.WrSpecialMatchOrder:
  18249. properties:
  18250. amount:
  18251. description: 金额 = 数量 * 价格
  18252. type: number
  18253. buyorsell:
  18254. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18255. type: integer
  18256. cancelqty:
  18257. description: 撤销数量
  18258. type: number
  18259. deliverygoodscode:
  18260. description: 品种代码
  18261. type: string
  18262. deliverygoodsid:
  18263. description: 品种ID
  18264. type: integer
  18265. deliverygoodsname:
  18266. description: 品种名称
  18267. type: string
  18268. enumdicname:
  18269. description: 单位名称
  18270. type: string
  18271. fixedprice:
  18272. description: 固定价格(价格)
  18273. type: number
  18274. haswr:
  18275. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18276. type: integer
  18277. isspecified:
  18278. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  18279. type: integer
  18280. marketid:
  18281. description: 市场ID
  18282. type: integer
  18283. matchuserid:
  18284. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  18285. type: integer
  18286. matchusername:
  18287. description: 指定方
  18288. type: string
  18289. minivalue:
  18290. description: 现货商品最小变动值
  18291. type: integer
  18292. optioncompare:
  18293. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18294. type: string
  18295. orderqty:
  18296. description: 委托数量
  18297. type: number
  18298. ordertime:
  18299. description: 委托时间
  18300. type: string
  18301. pricemove:
  18302. description: 升贴水(浮动价时填写) - [挂牌]
  18303. type: number
  18304. tradedate:
  18305. description: 交易日(yyyyMMdd)
  18306. type: string
  18307. tradeprice:
  18308. description: 成交价格
  18309. type: number
  18310. tradeqty:
  18311. description: 成交数量
  18312. type: number
  18313. userid:
  18314. description: 用户ID
  18315. type: integer
  18316. username:
  18317. description: 发起方
  18318. type: string
  18319. warehouseid:
  18320. description: 仓库ID
  18321. type: integer
  18322. warehousename:
  18323. description: 仓库名称
  18324. type: string
  18325. wrfactortypeid:
  18326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18327. type: string
  18328. wrfactortypename:
  18329. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18330. type: string
  18331. wrpricetype:
  18332. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18333. type: integer
  18334. wrstandardcode:
  18335. description: 现货商品代码
  18336. type: string
  18337. wrstandardid:
  18338. description: 现货商品ID
  18339. type: integer
  18340. wrstandardname:
  18341. description: 商品名称
  18342. type: string
  18343. wrtradeorderid:
  18344. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18345. type: string
  18346. wrtradeorderstatus:
  18347. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  18348. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  18349. type: integer
  18350. wrtradetype:
  18351. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18352. type: integer
  18353. wrtypename:
  18354. description: 商品
  18355. type: string
  18356. type: object
  18357. models.WrSpotGroupTradeSum:
  18358. properties:
  18359. deliverygoodscode:
  18360. description: 现货品种代码
  18361. type: string
  18362. deliverygoodsid:
  18363. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18364. type: integer
  18365. deliverygoodsname:
  18366. description: 现货品种名称
  18367. type: string
  18368. lastavgprice:
  18369. description: 上上个交易日价格(前2天价格)
  18370. type: string
  18371. lastreckondate:
  18372. description: 上上个交易日(前2天交易日)
  18373. type: string
  18374. reckondate:
  18375. description: 上个交易日(前1天交易日)
  18376. type: string
  18377. todayavgprice:
  18378. description: 上个交易日价格(前1天价格)
  18379. type: string
  18380. updown:
  18381. description: 涨跌
  18382. type: string
  18383. updownratio:
  18384. description: 涨幅(已格式化, 直接显示即可)
  18385. type: string
  18386. type: object
  18387. models.WrSpotGroupTradeSumDetail:
  18388. properties:
  18389. deliverygoodsid:
  18390. description: 现货商品id
  18391. type: integer
  18392. price:
  18393. description: 价格
  18394. type: number
  18395. reckondate:
  18396. description: 日期(yyymmdd, 如:20211031)
  18397. type: string
  18398. type: object
  18399. models.WrSpotGroupTradeSumEx:
  18400. properties:
  18401. lst:
  18402. description: 指数列表
  18403. items:
  18404. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  18405. type: array
  18406. prereckondate:
  18407. description: 上上个交易日(yyymmdd)
  18408. type: string
  18409. reckondate:
  18410. description: 上个交易日(yyyymmdd)
  18411. type: string
  18412. type: object
  18413. models.WrStandardFactoryItem:
  18414. properties:
  18415. dgfactoryitemid:
  18416. description: 选择项id
  18417. type: integer
  18418. dgfactoryitemvalue:
  18419. description: 要素项值
  18420. type: string
  18421. warehouseid:
  18422. description: 仓库id
  18423. type: integer
  18424. type: object
  18425. models.WrStandardFactoryItemEx:
  18426. properties:
  18427. dgfactoryitemtypeid:
  18428. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  18429. type: integer
  18430. itemlst:
  18431. description: 要素项列表
  18432. items:
  18433. $ref: '#/definitions/models.WrStandardFactoryItem'
  18434. type: array
  18435. itemtypename:
  18436. description: 要素项类型名称
  18437. type: string
  18438. wrstandardid:
  18439. description: 品类
  18440. type: integer
  18441. type: object
  18442. models.WrTradeDetail:
  18443. properties:
  18444. accountid:
  18445. description: 资金账号
  18446. type: integer
  18447. bannerpicurl:
  18448. description: Banner图
  18449. type: string
  18450. begindate:
  18451. description: 开始交易日(yyyymmdd)
  18452. type: string
  18453. buyorsell:
  18454. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18455. type: integer
  18456. chargevalue:
  18457. description: 手续费
  18458. type: number
  18459. deliverygoodscode:
  18460. description: 品种代码
  18461. type: string
  18462. deliverygoodsid:
  18463. description: 品种ID
  18464. type: integer
  18465. deliverygoodsname:
  18466. description: 品种名称
  18467. type: string
  18468. deliverymonth:
  18469. description: 交收月
  18470. type: string
  18471. enddate:
  18472. description: 结束交易日(yyyymmdd)
  18473. type: string
  18474. enumdicname:
  18475. description: 单位名称
  18476. type: string
  18477. haswr:
  18478. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18479. type: integer
  18480. marketid:
  18481. description: 市场ID
  18482. type: integer
  18483. matchaccountid:
  18484. description: 对手账号
  18485. type: integer
  18486. matchusername:
  18487. description: 对手方
  18488. type: string
  18489. minivalue:
  18490. description: 现货商品最小变动值
  18491. type: integer
  18492. optioncompare:
  18493. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18494. type: string
  18495. thumurls:
  18496. description: 缩略图
  18497. type: string
  18498. tradedate:
  18499. description: 交易日(yyyyMMdd)
  18500. type: string
  18501. tradeprice:
  18502. description: 成交价格
  18503. type: number
  18504. tradeqty:
  18505. description: 成交数量
  18506. type: number
  18507. tradetime:
  18508. description: 成交时间
  18509. type: string
  18510. userid:
  18511. description: 用户ID
  18512. type: integer
  18513. warehouseid:
  18514. description: 仓库ID
  18515. type: integer
  18516. warehousename:
  18517. description: 仓库名称
  18518. type: string
  18519. wrfactortypeid:
  18520. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18521. type: string
  18522. wrfactortypename:
  18523. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18524. type: string
  18525. wrstandardcode:
  18526. description: 现货商品代码
  18527. type: string
  18528. wrstandardid:
  18529. description: 现货商品ID
  18530. type: integer
  18531. wrstandardname:
  18532. description: 商品名称
  18533. type: string
  18534. wrtradedetailid:
  18535. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  18536. type: string
  18537. wrtradetype:
  18538. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18539. type: integer
  18540. wrtypename:
  18541. description: 商品
  18542. type: string
  18543. type: object
  18544. models.WrTradeOrderDetail:
  18545. properties:
  18546. buyorsell:
  18547. description: 买卖方向 0-买 1-卖
  18548. type: integer
  18549. goodsid:
  18550. description: 商品id
  18551. type: integer
  18552. orderid:
  18553. description: 委托单号
  18554. type: string
  18555. orderprice:
  18556. description: 委托价格
  18557. type: number
  18558. orderqty:
  18559. description: 委托数量
  18560. type: integer
  18561. userid:
  18562. description: 用户id
  18563. type: integer
  18564. username:
  18565. description: 用户名称(已脱敏)
  18566. type: string
  18567. type: object
  18568. models.WrTypeItem:
  18569. properties:
  18570. name:
  18571. description: 名称
  18572. type: string
  18573. value:
  18574. description: 值
  18575. type: string
  18576. type: object
  18577. models.WrUserFriend:
  18578. properties:
  18579. friendname:
  18580. description: 朋友名称(已脱敏)
  18581. type: string
  18582. frienduserid:
  18583. description: 朋友id
  18584. type: integer
  18585. isfriend:
  18586. description: 是否好友 0-不是 1-是
  18587. type: integer
  18588. userid:
  18589. description: 用户id
  18590. type: integer
  18591. type: object
  18592. models.WrUserReceiptInfo:
  18593. properties:
  18594. address:
  18595. description: 地址[发票类型:企业]
  18596. type: string
  18597. autoid:
  18598. description: AutoID
  18599. type: integer
  18600. contactinfo:
  18601. description: 联系方式
  18602. type: string
  18603. idnum:
  18604. description: 身份证号码[发票类型:个人]
  18605. type: string
  18606. isdefault:
  18607. description: 是否默认地址 - 0:否 1:是
  18608. type: integer
  18609. receiptaccount:
  18610. description: 发票帐号[发票类型:企业]
  18611. type: string
  18612. receiptbank:
  18613. description: 发票开户行[发票类型:企业]
  18614. type: string
  18615. receipttype:
  18616. description: 发票类型 - 1:个人 2:企业
  18617. type: integer
  18618. taxpayerid:
  18619. description: 纳税人识别号
  18620. type: string
  18621. userid:
  18622. description: 用户ID
  18623. type: integer
  18624. username:
  18625. description: 户名(个人姓名或企业名称)
  18626. type: string
  18627. type: object
  18628. models.XHBRAND:
  18629. properties:
  18630. brandid:
  18631. description: 品牌id
  18632. type: integer
  18633. brandname:
  18634. description: 品牌名称
  18635. type: string
  18636. isvalid:
  18637. description: 是否有效 0-无效 1-有效
  18638. type: integer
  18639. type: object
  18640. models.XHDeliveryGoods:
  18641. properties:
  18642. areauserid:
  18643. description: 所属机构
  18644. type: integer
  18645. bdlst:
  18646. description: 品牌列表
  18647. items:
  18648. $ref: '#/definitions/models.XHBRAND'
  18649. type: array
  18650. deliverygoodscode:
  18651. description: 现货品种代码
  18652. type: string
  18653. deliverygoodsid:
  18654. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18655. type: integer
  18656. deliverygoodsname:
  18657. description: 现货品种名称
  18658. type: string
  18659. dgstatus:
  18660. description: 品种状态 - 作废 - 0:未激活 1:正常
  18661. type: integer
  18662. filterSubEmpty:
  18663. description: 过滤下级为空的
  18664. type: integer
  18665. isvalid:
  18666. description: 是否有效 - 0:无效 1:有效
  18667. type: integer
  18668. remark:
  18669. description: 备注
  18670. type: string
  18671. unitid:
  18672. description: 单位id(目前看,数据库中是空值)
  18673. type: integer
  18674. wdlst:
  18675. description: 品类(现货商品)列表
  18676. items:
  18677. $ref: '#/definitions/models.XHWrstandard'
  18678. type: array
  18679. type: object
  18680. models.XHMiddleGoods:
  18681. properties:
  18682. GPLST:
  18683. description: 期货品种列表
  18684. items:
  18685. $ref: '#/definitions/models.TBGoodsGroup'
  18686. type: array
  18687. convertratio:
  18688. description: 拆算系数
  18689. type: number
  18690. costratio:
  18691. description: 成本权重
  18692. type: number
  18693. deliverygoodsid:
  18694. description: 现货商品id
  18695. type: integer
  18696. enumdicname:
  18697. description: 单位名称
  18698. type: string
  18699. middlegoodscode:
  18700. description: 套保品种代码
  18701. type: string
  18702. middlegoodsid:
  18703. description: 套保品种id
  18704. type: integer
  18705. middlegoodsname:
  18706. description: 套保品种名称
  18707. type: string
  18708. unitid:
  18709. description: 单位id
  18710. type: integer
  18711. type: object
  18712. models.XHWrstandard:
  18713. properties:
  18714. bannerpicurl:
  18715. description: banner图
  18716. type: string
  18717. deliverygoodsid:
  18718. description: 品种ID
  18719. type: integer
  18720. enumdicname:
  18721. description: 单位名称
  18722. type: string
  18723. mglst:
  18724. description: 套保品列表
  18725. items:
  18726. $ref: '#/definitions/models.XHMiddleGoods'
  18727. type: array
  18728. pictureurls:
  18729. description: 详情图片(逗号分隔)
  18730. type: string
  18731. thumurls:
  18732. description: 缩略图片(1:1)(逗号分隔)
  18733. type: string
  18734. unitid:
  18735. description: 单位id
  18736. type: integer
  18737. vatrate:
  18738. description: 增值税率
  18739. type: number
  18740. wrstandardcode:
  18741. description: 现货商品代码
  18742. type: string
  18743. wrstandardid:
  18744. description: 现货商品ID(SEQ_WRSTANDARD)
  18745. type: integer
  18746. wrstandardname:
  18747. description: 现货商品名称
  18748. type: string
  18749. type: object
  18750. models.XhcpSellBackApplyEx:
  18751. properties:
  18752. applyremark:
  18753. description: 申请备注
  18754. type: string
  18755. expirytype:
  18756. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18757. type: integer
  18758. goodsspec:
  18759. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18760. type: integer
  18761. holeflag:
  18762. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18763. type: integer
  18764. isunopened:
  18765. description: 是否原封 - 1:否 2:是
  18766. type: integer
  18767. mpflag:
  18768. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18769. type: integer
  18770. openflag:
  18771. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18772. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18773. type: integer
  18774. phonenum:
  18775. description: 联系电话
  18776. type: string
  18777. userid:
  18778. description: 所属用户ID
  18779. type: integer
  18780. zpflag:
  18781. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18782. type: integer
  18783. required:
  18784. - userid
  18785. type: object
  18786. models.Xhcpsellbackapply:
  18787. properties:
  18788. applyid:
  18789. description: 申请人
  18790. type: integer
  18791. applyremark:
  18792. description: 申请备注
  18793. type: string
  18794. applysrc:
  18795. description: 申请来源 - 1:管理端 2:终端
  18796. type: integer
  18797. applystatus:
  18798. description: 申请状态 - 1:待确认 2:已处理
  18799. type: integer
  18800. applytime:
  18801. description: 申请时间
  18802. type: string
  18803. auditremark:
  18804. description: 审核备注
  18805. type: string
  18806. auditsrc:
  18807. description: 审核来源 - 1:管理端 2:终端
  18808. type: integer
  18809. expirytype:
  18810. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  18811. type: integer
  18812. goodsspec:
  18813. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  18814. type: integer
  18815. holeflag:
  18816. description: 是否破洞[原封] - 1:无破洞 2:破洞
  18817. type: integer
  18818. isunopened:
  18819. description: 是否原封 - 1:否 2:是
  18820. type: integer
  18821. mpflag:
  18822. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  18823. type: integer
  18824. openflag:
  18825. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  18826. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  18827. type: integer
  18828. phonenum:
  18829. description: 联系电话
  18830. type: string
  18831. sellbackapplyid:
  18832. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  18833. type: string
  18834. userid:
  18835. description: 所属用户ID
  18836. type: integer
  18837. zpflag:
  18838. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  18839. type: integer
  18840. required:
  18841. - userid
  18842. type: object
  18843. order.QueryHisTradeDetailRsp:
  18844. properties:
  18845. accountid:
  18846. description: 账户ID[报价币种]
  18847. type: integer
  18848. advanceratio:
  18849. description: 首付比率
  18850. type: number
  18851. buildtype:
  18852. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18853. type: integer
  18854. buyorsell:
  18855. description: 方向 - 0:买 1:卖
  18856. type: integer
  18857. charge:
  18858. description: 手续费
  18859. type: number
  18860. closecharge:
  18861. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18862. type: number
  18863. closeexchagechargevalue:
  18864. description: 平仓交易所手续费设置值
  18865. type: number
  18866. closefeealgorithm:
  18867. description: 平仓手续费收取方式 1:比率 2:固定
  18868. type: integer
  18869. closememberchargevalue:
  18870. description: 平仓会员手续费设置值
  18871. type: number
  18872. closepl:
  18873. description: 平仓盈亏
  18874. type: number
  18875. closepl2:
  18876. description: 平仓盈亏[逐笔]
  18877. type: number
  18878. closeqty:
  18879. description: 平仓数量(先建后平操作 需要记录)
  18880. type: number
  18881. creditamount:
  18882. description: 授信金额
  18883. type: number
  18884. decimalplace:
  18885. description: 商品报价小数位
  18886. type: integer
  18887. enumdicname:
  18888. description: 单位名称
  18889. type: string
  18890. gcaccountid:
  18891. description: 账户ID[合约币种]
  18892. type: integer
  18893. goodscode:
  18894. description: 商品代码
  18895. type: string
  18896. goodsid:
  18897. description: 商品ID
  18898. type: integer
  18899. goodsname:
  18900. description: 商品名称
  18901. type: string
  18902. goodunitid:
  18903. description: 商品单位id
  18904. type: integer
  18905. histradedate:
  18906. description: 历史交易日
  18907. type: string
  18908. intclosepl:
  18909. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18910. type: integer
  18911. isconfirmexercise:
  18912. description: 是否确认行权- 0:否 1:是
  18913. type: integer
  18914. ismain:
  18915. description: 是否主单 - 0:不是 1:是
  18916. type: integer
  18917. ispreexercise:
  18918. description: 是否预申报- 0:否 1:是
  18919. type: integer
  18920. isreckoned:
  18921. description: 是否结算 - 0:未结算 1:已结算
  18922. type: integer
  18923. isvaliddata:
  18924. description: 是否有效 - 0:无效 1:有效
  18925. type: integer
  18926. listingselecttype:
  18927. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18928. type: integer
  18929. marketid:
  18930. description: 市场ID
  18931. type: integer
  18932. marketname:
  18933. description: 市场名称
  18934. type: string
  18935. matchaccountid:
  18936. description: 对手账号id
  18937. type: integer
  18938. memberuserid:
  18939. description: 会员id 个人投资者 需要填写
  18940. type: integer
  18941. opencharge:
  18942. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18943. type: number
  18944. openexchagechargevalue:
  18945. description: 建仓交易所手续费设置值
  18946. type: number
  18947. openfeealgorithm:
  18948. description: 建仓手续费收取方式 1:比率 2:固定
  18949. type: integer
  18950. openmemberchargevalue:
  18951. description: 建仓会员手续费设置值
  18952. type: number
  18953. openqty:
  18954. description: 开仓数量(先建后平操作 需要记录)
  18955. type: number
  18956. optiontype:
  18957. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18958. type: integer
  18959. orderid:
  18960. description: 委托单号
  18961. type: string
  18962. payamount:
  18963. description: 支付金额(付款金额)
  18964. type: number
  18965. performanceplanid:
  18966. description: 履约计划ID[期权]
  18967. type: integer
  18968. performancestatus:
  18969. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18970. type: integer
  18971. preexerciseprice:
  18972. description: 预申报价格
  18973. type: number
  18974. premium:
  18975. description: 权利金 - [持仓单的权利金]
  18976. type: number
  18977. qtydecimalplace:
  18978. description: 商品报价小数位
  18979. type: integer
  18980. recvamount:
  18981. description: 到账金额 = 成交金额 - 手续费
  18982. type: number
  18983. relatedouttradeid:
  18984. description: 关联外部成交单ID
  18985. type: integer
  18986. status:
  18987. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18988. type: integer
  18989. totalamount:
  18990. description: 订单总额 = 成交金额 + 手续费
  18991. type: number
  18992. tradeamount:
  18993. description: 成交金额[账户币种,用于所有权]
  18994. type: number
  18995. tradedate:
  18996. description: 交易日(yyyyMMdd)
  18997. type: string
  18998. tradeid:
  18999. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19000. type: string
  19001. trademode:
  19002. description: 交易模式
  19003. type: integer
  19004. tradeprice:
  19005. description: 成交价格
  19006. type: number
  19007. tradeproperty:
  19008. description: 交易属性
  19009. type: integer
  19010. tradeqty:
  19011. description: 成交数量
  19012. type: number
  19013. tradetime:
  19014. description: 成交时间
  19015. type: string
  19016. tradetype:
  19017. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19018. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19019. type: integer
  19020. required:
  19021. - accountid
  19022. - buyorsell
  19023. - goodsid
  19024. - histradedate
  19025. - marketid
  19026. - memberuserid
  19027. - orderid
  19028. - tradeamount
  19029. - tradedate
  19030. - tradeid
  19031. - tradeprice
  19032. - tradeqty
  19033. - tradetime
  19034. type: object
  19035. order.QueryHisTradeOrderDetailRsp:
  19036. properties:
  19037. accountid:
  19038. description: 账户ID[报价币种]
  19039. type: integer
  19040. buildtype:
  19041. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19042. type: integer
  19043. buyorsell:
  19044. description: 买卖 - 0:买 1:卖
  19045. type: integer
  19046. cancelorderid:
  19047. description: 撤单单号(撤单时填写)
  19048. type: string
  19049. cancelqty:
  19050. description: 撤单数量
  19051. type: number
  19052. clientordertime:
  19053. description: 客户端委托时间
  19054. type: string
  19055. clientticket:
  19056. description: 客户端流水号
  19057. type: string
  19058. clienttype:
  19059. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19060. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19061. type: integer
  19062. closeexchagechargevalue:
  19063. description: 平仓交易所手续费设置值
  19064. type: number
  19065. closefeealgorithm:
  19066. description: 平仓手续费收取方式 1:比率 2:固定
  19067. type: integer
  19068. closefreezecharge:
  19069. description: 平仓冻结手续费(先建后平操作,需要记录)
  19070. type: number
  19071. closememberchargevalue:
  19072. description: 平仓会员手续费设置值
  19073. type: number
  19074. closeqty:
  19075. description: 平仓数量(先建后平操作 需要记录)
  19076. type: number
  19077. closetradeqty:
  19078. description: 平仓成交数量(先建后平操作,需要记录)
  19079. type: number
  19080. closeunfreezecharge:
  19081. description: 平仓解冻手续费(先建后平操作,需要记录)
  19082. type: number
  19083. decimalplace:
  19084. description: 商品报价小数位
  19085. type: integer
  19086. delistingtype:
  19087. description: 摘牌类型 - 1:价格最优 2:点选成交
  19088. type: integer
  19089. enumdicname:
  19090. description: 单位名称
  19091. type: string
  19092. freezecharge:
  19093. description: 冻结手续费
  19094. type: number
  19095. freezemargin:
  19096. description: 冻结保证金(冻结交易金额)
  19097. type: number
  19098. gcaccountid:
  19099. description: 账户ID[合约币种]
  19100. type: integer
  19101. goodscode:
  19102. description: 商品代码
  19103. type: string
  19104. goodsid:
  19105. description: 商品ID
  19106. type: integer
  19107. goodsname:
  19108. description: 商品名称
  19109. type: string
  19110. goodunitid:
  19111. description: 商品单位id
  19112. type: integer
  19113. histradedate:
  19114. description: 历史交易日
  19115. type: string
  19116. isconfirmexercise:
  19117. description: 是否确认行权- 0:否 1:是
  19118. type: integer
  19119. ispreexercise:
  19120. description: 是否预申报- 0:否 1:是
  19121. type: integer
  19122. isvaliddata:
  19123. description: 是否有效 - 0:无效 1:有效
  19124. type: integer
  19125. listingselecttype:
  19126. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19127. type: integer
  19128. marginalgorithm:
  19129. description: 保证金收取方式 1:比率 2:固定
  19130. type: integer
  19131. marginvalue:
  19132. description: 即市保证金设置值
  19133. type: number
  19134. marketid:
  19135. description: 市场ID
  19136. type: integer
  19137. marketmaxsub:
  19138. description: 市价最大偏移范围
  19139. type: number
  19140. marketname:
  19141. description: 市场名称
  19142. type: string
  19143. memberuserid:
  19144. description: 所属会员UserID
  19145. type: integer
  19146. openexchagechargevalue:
  19147. description: 建仓交易所手续费设置值
  19148. type: number
  19149. openfeealgorithm:
  19150. description: 建仓手续费收取方式 1:比率 2:固定
  19151. type: integer
  19152. openfreezecharge:
  19153. description: 开仓冻结手续费(先建后平操作,需要记录)
  19154. type: number
  19155. openmemberchargevalue:
  19156. description: 建仓会员手续费设置值
  19157. type: number
  19158. openqty:
  19159. description: 开仓数量(先建后平操作,需要记录)
  19160. type: number
  19161. opentradeqty:
  19162. description: 开仓成交数量(先建后平操作,需要记录)
  19163. type: number
  19164. openunfreezecharge:
  19165. description: 开仓解冻手续费(先建后平操作,需要记录)
  19166. type: number
  19167. operatetype:
  19168. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19169. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19170. 15:管理端协议转让
  19171. type: integer
  19172. operatorid:
  19173. description: 登录账号(LoginID)
  19174. type: integer
  19175. optiontype:
  19176. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19177. type: integer
  19178. orderid:
  19179. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19180. type: string
  19181. orderprice:
  19182. description: 委托价格
  19183. type: number
  19184. orderqty:
  19185. description: 委托数量
  19186. type: number
  19187. ordersrc:
  19188. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19189. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19190. type: integer
  19191. orderstatus:
  19192. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19193. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19194. 16:成交失败违约(荷兰式竞拍专用)
  19195. type: integer
  19196. ordertime:
  19197. description: 委托时间
  19198. type: string
  19199. preexerciseprice:
  19200. description: 预申报价格
  19201. type: number
  19202. premium:
  19203. description: 权利金
  19204. type: number
  19205. preorderid:
  19206. description: 关联预埋单号(止盈止损单时填写)
  19207. type: string
  19208. pricemode:
  19209. description: '取价方式 - 1:市价 2: 限价'
  19210. type: integer
  19211. qtydecimalplace:
  19212. description: 成交量小数位
  19213. type: integer
  19214. quoteid:
  19215. description: 报价单ID
  19216. type: integer
  19217. relatedid:
  19218. description: 关联单号(交割单)
  19219. type: string
  19220. retcode:
  19221. description: 错误代码
  19222. type: integer
  19223. sessionid:
  19224. description: 会话ID
  19225. type: integer
  19226. tradedate:
  19227. description: 交易日(yyyyMMdd)
  19228. type: string
  19229. trademode:
  19230. description: 交易模式
  19231. type: integer
  19232. tradeproperty:
  19233. description: 交易属性
  19234. type: integer
  19235. tradeqty:
  19236. description: 成交数量
  19237. type: number
  19238. unfreezecharge:
  19239. description: 解冻手续费
  19240. type: number
  19241. unfreezemargin:
  19242. description: 解冻保证金
  19243. type: number
  19244. updatetime:
  19245. description: 更新时间
  19246. type: string
  19247. uuid:
  19248. description: 发起端唯一id
  19249. type: string
  19250. validtime:
  19251. description: 有效期限
  19252. type: string
  19253. validtype:
  19254. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19255. type: integer
  19256. volumetype:
  19257. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19258. type: integer
  19259. required:
  19260. - accountid
  19261. - buildtype
  19262. - buyorsell
  19263. - goodsid
  19264. - histradedate
  19265. - marketid
  19266. - memberuserid
  19267. - operatetype
  19268. - orderid
  19269. - orderqty
  19270. - ordertime
  19271. - pricemode
  19272. - tradedate
  19273. - validtype
  19274. type: object
  19275. order.QueryTradeDetailRsp:
  19276. properties:
  19277. accountid:
  19278. description: 账户ID[报价币种]
  19279. type: integer
  19280. advanceratio:
  19281. description: 首付比率
  19282. type: number
  19283. buildtype:
  19284. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  19285. type: integer
  19286. buyorsell:
  19287. description: 方向 - 0:买 1:卖
  19288. type: integer
  19289. charge:
  19290. description: 手续费
  19291. type: number
  19292. closecharge:
  19293. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19294. type: number
  19295. closeexchagechargevalue:
  19296. description: 平仓交易所手续费设置值
  19297. type: number
  19298. closefeealgorithm:
  19299. description: 平仓手续费收取方式 1:比率 2:固定
  19300. type: integer
  19301. closememberchargevalue:
  19302. description: 平仓会员手续费设置值
  19303. type: number
  19304. closepl:
  19305. description: 平仓盈亏
  19306. type: number
  19307. closepl2:
  19308. description: 平仓盈亏[逐笔]
  19309. type: number
  19310. closeqty:
  19311. description: 平仓数量(先建后平操作 需要记录)
  19312. type: number
  19313. creditamount:
  19314. description: 授信金额
  19315. type: number
  19316. decimalplace:
  19317. description: 商品报价小数位
  19318. type: integer
  19319. enumdicname:
  19320. description: 单位名称
  19321. type: string
  19322. gcaccountid:
  19323. description: 账户ID[合约币种]
  19324. type: integer
  19325. goodscode:
  19326. description: 商品代码
  19327. type: string
  19328. goodsid:
  19329. description: 商品ID
  19330. type: integer
  19331. goodsname:
  19332. description: 商品名称
  19333. type: string
  19334. goodunitid:
  19335. description: 商品单位id
  19336. type: integer
  19337. intclosepl:
  19338. description: 整型盈亏(用于交易结算试算平衡-收益权)
  19339. type: integer
  19340. isconfirmexercise:
  19341. description: 是否确认行权- 0:否 1:是
  19342. type: integer
  19343. ismain:
  19344. description: 是否主单 - 0:不是 1:是
  19345. type: integer
  19346. ispreexercise:
  19347. description: 是否预申报- 0:否 1:是
  19348. type: integer
  19349. isreckoned:
  19350. description: 是否结算 - 0:未结算 1:已结算
  19351. type: integer
  19352. listingselecttype:
  19353. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19354. type: integer
  19355. marketid:
  19356. description: 市场ID
  19357. type: integer
  19358. marketname:
  19359. description: 市场名称
  19360. type: string
  19361. matchaccountid:
  19362. description: 对手账号id
  19363. type: integer
  19364. memberuserid:
  19365. description: 会员id 个人投资者 需要填写
  19366. type: integer
  19367. opencharge:
  19368. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  19369. type: number
  19370. openexchagechargevalue:
  19371. description: 建仓交易所手续费设置值
  19372. type: number
  19373. openfeealgorithm:
  19374. description: 建仓手续费收取方式 1:比率 2:固定
  19375. type: integer
  19376. openmemberchargevalue:
  19377. description: 建仓会员手续费设置值
  19378. type: number
  19379. openqty:
  19380. description: 开仓数量(先建后平操作 需要记录)
  19381. type: number
  19382. optiontype:
  19383. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19384. type: integer
  19385. orderid:
  19386. description: 委托单号
  19387. type: string
  19388. payamount:
  19389. description: 支付金额(付款金额)
  19390. type: number
  19391. performanceplanid:
  19392. description: 履约计划ID[期权]
  19393. type: integer
  19394. performancestatus:
  19395. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  19396. type: integer
  19397. preexerciseprice:
  19398. description: 预申报价格
  19399. type: number
  19400. premium:
  19401. description: 权利金 - [持仓单的权利金]
  19402. type: number
  19403. qtydecimalplace:
  19404. description: 商品报价小数位
  19405. type: integer
  19406. recvamount:
  19407. description: 到账金额 = 成交金额 - 手续费
  19408. type: number
  19409. relatedouttradeid:
  19410. description: 关联外部成交单ID
  19411. type: integer
  19412. status:
  19413. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  19414. type: integer
  19415. totalamount:
  19416. description: 订单总额 = 成交金额 + 手续费
  19417. type: number
  19418. tradeamount:
  19419. description: 成交金额[账户币种,用于所有权]
  19420. type: number
  19421. tradedate:
  19422. description: 交易日(yyyyMMdd)
  19423. type: string
  19424. tradeid:
  19425. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19426. type: string
  19427. trademode:
  19428. description: 交易模式
  19429. type: integer
  19430. tradeprice:
  19431. description: 成交价格
  19432. type: number
  19433. tradeproperty:
  19434. description: 交易属性
  19435. type: integer
  19436. tradeqty:
  19437. description: 成交数量
  19438. type: number
  19439. tradetime:
  19440. description: 成交时间
  19441. type: string
  19442. tradetype:
  19443. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  19444. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  19445. type: integer
  19446. required:
  19447. - accountid
  19448. - buyorsell
  19449. - goodsid
  19450. - marketid
  19451. - memberuserid
  19452. - orderid
  19453. - tradeamount
  19454. - tradedate
  19455. - tradeid
  19456. - tradeprice
  19457. - tradeqty
  19458. - tradetime
  19459. type: object
  19460. order.QueryTradeOrderDetailRsp:
  19461. properties:
  19462. accountid:
  19463. description: 账户ID[报价币种]
  19464. type: integer
  19465. buildtype:
  19466. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  19467. type: integer
  19468. buyorsell:
  19469. description: 买卖 - 0:买 1:卖
  19470. type: integer
  19471. cancelorderid:
  19472. description: 撤单单号(撤单时填写)
  19473. type: string
  19474. cancelqty:
  19475. description: 撤单数量
  19476. type: number
  19477. clienttype:
  19478. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  19479. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  19480. type: integer
  19481. closefreezecharge:
  19482. description: 平仓冻结手续费(先建后平操作,需要记录)
  19483. type: number
  19484. closeqty:
  19485. description: 平仓数量(先建后平操作 需要记录)
  19486. type: number
  19487. closetradeqty:
  19488. description: 平仓成交数量(先建后平操作,需要记录)
  19489. type: number
  19490. closeunfreezecharge:
  19491. description: 平仓解冻手续费(先建后平操作,需要记录)
  19492. type: number
  19493. decimalplace:
  19494. description: 商品报价小数位
  19495. type: integer
  19496. delistingtype:
  19497. description: 摘牌类型 - 1:价格最优 2:点选成交
  19498. type: integer
  19499. enableqty:
  19500. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  19501. type: number
  19502. enumdicname:
  19503. description: 单位名称
  19504. type: string
  19505. freezecharge:
  19506. description: 冻结手续费
  19507. type: number
  19508. freezemargin:
  19509. description: 冻结保证金(冻结交易金额)
  19510. type: number
  19511. goodscode:
  19512. description: 商品代码
  19513. type: string
  19514. goodsid:
  19515. description: 商品ID
  19516. type: integer
  19517. goodsname:
  19518. description: 商品名称
  19519. type: string
  19520. goodunitid:
  19521. description: 商品单位id
  19522. type: integer
  19523. listingselecttype:
  19524. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  19525. type: integer
  19526. marketid:
  19527. description: 市场ID
  19528. type: integer
  19529. marketname:
  19530. description: 市场名称
  19531. type: string
  19532. openfreezecharge:
  19533. description: 开仓冻结手续费(先建后平操作,需要记录)
  19534. type: number
  19535. openqty:
  19536. description: 开仓数量(先建后平操作,需要记录)
  19537. type: number
  19538. opentradeqty:
  19539. description: 开仓成交数量(先建后平操作,需要记录)
  19540. type: number
  19541. openunfreezecharge:
  19542. description: 开仓解冻手续费(先建后平操作,需要记录)
  19543. type: number
  19544. operatetype:
  19545. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  19546. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  19547. 15:管理端协议转让
  19548. type: integer
  19549. operatorid:
  19550. description: 登录账号(LoginID)
  19551. type: integer
  19552. orderid:
  19553. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19554. type: string
  19555. orderprice:
  19556. description: 委托价格
  19557. type: number
  19558. orderqty:
  19559. description: 委托数量
  19560. type: number
  19561. ordersrc:
  19562. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  19563. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  19564. type: integer
  19565. orderstatus:
  19566. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  19567. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  19568. 16:成交失败违约(荷兰式竞拍专用)
  19569. type: integer
  19570. ordertime:
  19571. description: 委托时间
  19572. type: string
  19573. preorderid:
  19574. description: 关联预埋单号(止盈止损单时填写)
  19575. type: string
  19576. pricemode:
  19577. description: '取价方式 - 1:市价 2: 限价'
  19578. type: integer
  19579. qtydecimalplace:
  19580. description: 商品报价小数位
  19581. type: integer
  19582. relatedid:
  19583. description: 关联单号(交割单)
  19584. type: string
  19585. tradedate:
  19586. description: 交易日(yyyyMMdd)
  19587. type: string
  19588. trademode:
  19589. description: 交易模式
  19590. type: integer
  19591. tradeqty:
  19592. description: 成交数量
  19593. type: number
  19594. unfreezecharge:
  19595. description: 解冻手续费
  19596. type: number
  19597. unfreezemargin:
  19598. description: 解冻保证金
  19599. type: number
  19600. validtime:
  19601. description: 有效期限
  19602. type: string
  19603. validtype:
  19604. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  19605. type: integer
  19606. volumetype:
  19607. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  19608. type: integer
  19609. required:
  19610. - accountid
  19611. - buildtype
  19612. - buyorsell
  19613. - goodsid
  19614. - marketid
  19615. - operatetype
  19616. - orderqty
  19617. - ordertime
  19618. - pricemode
  19619. - tradedate
  19620. - validtype
  19621. type: object
  19622. order.QueryTradePositionRsp:
  19623. properties:
  19624. accountid:
  19625. description: 资金账户
  19626. type: integer
  19627. agreeunit:
  19628. description: 合约单位
  19629. type: number
  19630. averageprice:
  19631. description: 持仓均价
  19632. type: number
  19633. buyorsell:
  19634. description: 方向 - 0:买 1:卖
  19635. type: integer
  19636. closetotalqty:
  19637. description: 平仓总数量
  19638. type: number
  19639. curholderamount:
  19640. description: 当前持仓总金额[商品币种]
  19641. type: number
  19642. curpositionqty:
  19643. description: 当前持仓总数量
  19644. type: number
  19645. currencyid:
  19646. description: 报价货币ID
  19647. type: integer
  19648. curtdposition:
  19649. description: 期末今日头寸
  19650. type: number
  19651. decimalplace:
  19652. description: 报价小数位
  19653. type: integer
  19654. enableqty:
  19655. description: 可用量
  19656. type: number
  19657. fretdposition:
  19658. description: 冻结今日头寸
  19659. type: number
  19660. frozenqty:
  19661. description: 持仓冻结数量
  19662. type: number
  19663. goodscode:
  19664. description: 商品代码
  19665. type: string
  19666. goodsid:
  19667. description: 商品Id
  19668. type: integer
  19669. goodsname:
  19670. description: 商品名称
  19671. type: string
  19672. goodunit:
  19673. description: 报价单位
  19674. type: string
  19675. goodunitid:
  19676. description: 报价单位ID
  19677. type: integer
  19678. holderamount:
  19679. description: 期初持仓总金额[商品币种]
  19680. type: number
  19681. lastprice:
  19682. description: 最新价
  19683. type: number
  19684. marketamount:
  19685. description: 市值
  19686. type: number
  19687. marketid:
  19688. description: 所属市场ID
  19689. type: integer
  19690. openreqqty:
  19691. description: 开仓申请数量(用于比较最大持仓数量)
  19692. type: number
  19693. opentotalqty:
  19694. description: 开仓总数量
  19695. type: number
  19696. otherfrozenqty:
  19697. description: 持仓其他冻结数量(交割冻结)
  19698. type: number
  19699. positionpl:
  19700. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  19701. * 合约单位
  19702. type: number
  19703. positionplrate:
  19704. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  19705. type: number
  19706. positionqty:
  19707. description: 期初持仓数量
  19708. type: number
  19709. qtydecimalplace:
  19710. description: 成交量小数位
  19711. type: integer
  19712. refgoodscode:
  19713. description: 参考商品代码
  19714. type: string
  19715. refgoodsid:
  19716. description: 参考商品ID
  19717. type: integer
  19718. tnqty:
  19719. description: T+N冻结总量
  19720. type: number
  19721. tnusedqty:
  19722. description: T+N使用量(可以使用T+N的冻结数量)
  19723. type: number
  19724. trademode:
  19725. description: 交易模式
  19726. type: integer
  19727. tradeproperty:
  19728. description: 交易属性
  19729. type: integer
  19730. usedmargin:
  19731. description: 占用保证金[商品币种]
  19732. type: number
  19733. required:
  19734. - goodsid
  19735. type: object
  19736. pb.GoodsMarginCfgStruct:
  19737. properties:
  19738. CustomerTypeID:
  19739. description: 投资者客户类型
  19740. type: integer
  19741. GoodsID:
  19742. description: 商品ID
  19743. type: integer
  19744. IsDefault:
  19745. description: 是否默认标志位
  19746. type: integer
  19747. LockMarginValue:
  19748. description: 锁仓保证金
  19749. type: number
  19750. MarginAlgorithm:
  19751. description: 保证金计算方式
  19752. type: integer
  19753. MarketMarginValue:
  19754. description: 即市保证金值
  19755. type: number
  19756. RealMarginAlgorithm:
  19757. description: 实付保证金计算方式
  19758. type: integer
  19759. RealMarginValue:
  19760. description: 实付比例
  19761. type: number
  19762. ReckonMarginValue:
  19763. description: 结算保证金值
  19764. type: number
  19765. type: object
  19766. quote.HistoryData:
  19767. properties:
  19768. c:
  19769. description: 收盘价
  19770. type: number
  19771. f:
  19772. description: 是否补充数据
  19773. type: boolean
  19774. h:
  19775. description: 最高价
  19776. type: number
  19777. hv:
  19778. description: 持仓量
  19779. type: integer
  19780. l:
  19781. description: 最低价
  19782. type: number
  19783. o:
  19784. description: 开盘价
  19785. type: number
  19786. s:
  19787. description: 结算价,日线周期(包括)以上才有
  19788. type: number
  19789. ts:
  19790. description: 时间
  19791. type: string
  19792. tt:
  19793. description: 总金额
  19794. type: number
  19795. tv:
  19796. description: 总量(成交量)
  19797. type: integer
  19798. type: object
  19799. quote.HistoryTikData:
  19800. properties:
  19801. AV:
  19802. description: 卖量
  19803. type: integer
  19804. Ask:
  19805. description: 卖价
  19806. type: number
  19807. BV:
  19808. description: 买量
  19809. type: integer
  19810. Bid:
  19811. description: 买价
  19812. type: number
  19813. HI:
  19814. description: 单笔持仓
  19815. type: integer
  19816. HV:
  19817. description: 持仓量
  19818. type: integer
  19819. PE:
  19820. description: 现价
  19821. type: number
  19822. TDR:
  19823. description: 交易方向,0:买 1:卖
  19824. type: integer
  19825. TK:
  19826. description: 交易类型
  19827. type: integer
  19828. TS:
  19829. description: 行情时间文本
  19830. type: string
  19831. TT:
  19832. description: 现金额
  19833. type: number
  19834. Vol:
  19835. description: 现量
  19836. type: integer
  19837. type: object
  19838. quote.QueryQuoteDayRsp:
  19839. properties:
  19840. ask:
  19841. description: 卖1
  19842. type: number
  19843. ask2:
  19844. description: 卖2
  19845. type: number
  19846. ask3:
  19847. description: 卖3
  19848. type: number
  19849. ask4:
  19850. description: 卖4
  19851. type: number
  19852. ask5:
  19853. description: 卖5
  19854. type: number
  19855. ask6:
  19856. description: 卖6
  19857. type: number
  19858. ask7:
  19859. description: 卖7
  19860. type: number
  19861. ask8:
  19862. description: 卖8
  19863. type: number
  19864. ask9:
  19865. description: 卖9
  19866. type: number
  19867. ask10:
  19868. description: 卖10
  19869. type: number
  19870. askorderid:
  19871. description: 卖单号1
  19872. type: integer
  19873. askorderid2:
  19874. description: 卖单号2
  19875. type: integer
  19876. askorderid3:
  19877. description: 卖单号3
  19878. type: integer
  19879. askorderid4:
  19880. description: 卖单号4
  19881. type: integer
  19882. askorderid5:
  19883. description: 卖单号5
  19884. type: integer
  19885. askordervolume:
  19886. description: 卖单量1
  19887. type: integer
  19888. askordervolume2:
  19889. description: 卖单量2
  19890. type: integer
  19891. askordervolume3:
  19892. description: 卖单量3
  19893. type: integer
  19894. askordervolume4:
  19895. description: 卖单量4
  19896. type: integer
  19897. askordervolume5:
  19898. description: 卖单量5
  19899. type: integer
  19900. askordervolume6:
  19901. description: 卖单量6
  19902. type: integer
  19903. askordervolume7:
  19904. description: 卖单量7
  19905. type: integer
  19906. askordervolume8:
  19907. description: 卖单量8
  19908. type: integer
  19909. askordervolume9:
  19910. description: 卖单量9
  19911. type: integer
  19912. askordervolume10:
  19913. description: 卖单量10
  19914. type: integer
  19915. askqueueinfo:
  19916. description: 大利市卖港股用
  19917. type: string
  19918. askvolume:
  19919. description: 卖量1
  19920. type: integer
  19921. askvolume2:
  19922. description: 卖量2
  19923. type: integer
  19924. askvolume3:
  19925. description: 卖量3
  19926. type: integer
  19927. askvolume4:
  19928. description: 卖量4
  19929. type: integer
  19930. askvolume5:
  19931. description: 卖量5
  19932. type: integer
  19933. askvolume6:
  19934. description: 卖量6
  19935. type: integer
  19936. askvolume7:
  19937. description: 卖量7
  19938. type: integer
  19939. askvolume8:
  19940. description: 卖量8
  19941. type: integer
  19942. askvolume9:
  19943. description: 卖量9
  19944. type: integer
  19945. askvolume10:
  19946. description: 卖量10
  19947. type: integer
  19948. averageprice:
  19949. description: 均价
  19950. type: number
  19951. bid:
  19952. description: 买1
  19953. type: number
  19954. bid2:
  19955. description: 买2
  19956. type: number
  19957. bid3:
  19958. description: 买3
  19959. type: number
  19960. bid4:
  19961. description: 买4
  19962. type: number
  19963. bid5:
  19964. description: 买5
  19965. type: number
  19966. bid6:
  19967. description: 买6
  19968. type: number
  19969. bid7:
  19970. description: 买7
  19971. type: number
  19972. bid8:
  19973. description: 买8
  19974. type: number
  19975. bid9:
  19976. description: 买9
  19977. type: number
  19978. bid10:
  19979. description: 买10
  19980. type: number
  19981. bidorderid:
  19982. description: 买单号1
  19983. type: integer
  19984. bidorderid2:
  19985. description: 买单号2
  19986. type: integer
  19987. bidorderid3:
  19988. description: 买单号3
  19989. type: integer
  19990. bidorderid4:
  19991. description: 买单号4
  19992. type: integer
  19993. bidorderid5:
  19994. description: 买单号5
  19995. type: integer
  19996. bidordervolume:
  19997. description: 买单量1
  19998. type: integer
  19999. bidordervolume2:
  20000. description: 买单量2
  20001. type: integer
  20002. bidordervolume3:
  20003. description: 买单量3
  20004. type: integer
  20005. bidordervolume4:
  20006. description: 买单量4
  20007. type: integer
  20008. bidordervolume5:
  20009. description: 买单量5
  20010. type: integer
  20011. bidordervolume6:
  20012. description: 买单量6
  20013. type: integer
  20014. bidordervolume7:
  20015. description: 买单量7
  20016. type: integer
  20017. bidordervolume8:
  20018. description: 买单量8
  20019. type: integer
  20020. bidordervolume9:
  20021. description: 买单量9
  20022. type: integer
  20023. bidordervolume10:
  20024. description: 买单量10
  20025. type: integer
  20026. bidqueueinfo:
  20027. description: 大利市买港股用
  20028. type: string
  20029. bidvolume:
  20030. description: 买量1
  20031. type: integer
  20032. bidvolume2:
  20033. description: 买量2
  20034. type: integer
  20035. bidvolume3:
  20036. description: 买量3
  20037. type: integer
  20038. bidvolume4:
  20039. description: 买量4
  20040. type: integer
  20041. bidvolume5:
  20042. description: 买量5
  20043. type: integer
  20044. bidvolume6:
  20045. description: 买量6
  20046. type: integer
  20047. bidvolume7:
  20048. description: 买量7
  20049. type: integer
  20050. bidvolume8:
  20051. description: 买量8
  20052. type: integer
  20053. bidvolume9:
  20054. description: 买量9
  20055. type: integer
  20056. bidvolume10:
  20057. description: 买量10
  20058. type: integer
  20059. calloptionpremiums:
  20060. description: 认购期权1
  20061. type: integer
  20062. calloptionpremiums2:
  20063. description: 认购期权2
  20064. type: integer
  20065. calloptionpremiums3:
  20066. description: 认购期权3
  20067. type: integer
  20068. calloptionpremiums4:
  20069. description: 认购期权4
  20070. type: integer
  20071. calloptionpremiums5:
  20072. description: 认购期权5
  20073. type: integer
  20074. cleartime:
  20075. description: 清盘时间
  20076. type: integer
  20077. exchangecode:
  20078. description: 交易所代码
  20079. type: integer
  20080. exchangedate:
  20081. description: 交易日
  20082. type: integer
  20083. goodscode:
  20084. description: 商品代码
  20085. type: string
  20086. grepmarketprice:
  20087. description: 暗盘价 港股专用
  20088. type: number
  20089. highest:
  20090. description: 最高价
  20091. type: number
  20092. holdincrement:
  20093. description: 单笔持仓
  20094. type: integer
  20095. holdvolume:
  20096. description: 持仓
  20097. type: integer
  20098. iep:
  20099. description: 平衡价 港股专用
  20100. type: number
  20101. iev:
  20102. description: 平衡量 港股专用
  20103. type: number
  20104. inventory:
  20105. description: 库存
  20106. type: integer
  20107. iscleared:
  20108. description: 是否清盘标志
  20109. type: integer
  20110. issettled:
  20111. description: 是否结算标志
  20112. type: integer
  20113. last:
  20114. description: 最新价
  20115. type: number
  20116. lastlot:
  20117. description: 最新成交手数
  20118. type: integer
  20119. lasttime:
  20120. description: 行情时间(只有现价变化行情时间才变化)
  20121. type: string
  20122. lastturnover:
  20123. description: 最新成交金额
  20124. type: number
  20125. lastvolume:
  20126. description: 最新成交量
  20127. type: integer
  20128. limitdown:
  20129. description: 跌停价
  20130. type: number
  20131. limitup:
  20132. description: 涨停价
  20133. type: number
  20134. lowest:
  20135. description: 最低价
  20136. type: number
  20137. nontotalholdervolume:
  20138. description: 非交易持仓量
  20139. type: integer
  20140. nontotallot:
  20141. description: 非交易总手数
  20142. type: integer
  20143. nontotalturnover:
  20144. description: 非交易总金额
  20145. type: integer
  20146. nontotalvolume:
  20147. description: 非交易总量
  20148. type: integer
  20149. opened:
  20150. description: 开盘价
  20151. type: number
  20152. opentime:
  20153. description: 开盘时间
  20154. type: string
  20155. orderid:
  20156. description: 序号
  20157. type: integer
  20158. preclose:
  20159. description: 昨收
  20160. type: number
  20161. preholdvolume:
  20162. description: 昨持仓
  20163. type: integer
  20164. presettle:
  20165. description: 昨结价
  20166. type: number
  20167. publictradetype:
  20168. description: 公共交易标志类型 港股专用
  20169. type: string
  20170. putoptionpremiums:
  20171. description: 认沽期权1
  20172. type: integer
  20173. putoptionpremiums2:
  20174. description: 认沽期权2
  20175. type: integer
  20176. putoptionpremiums3:
  20177. description: 认沽期权3
  20178. type: integer
  20179. putoptionpremiums4:
  20180. description: 认沽期权4
  20181. type: integer
  20182. putoptionpremiums5:
  20183. description: 认沽期权5
  20184. type: integer
  20185. settle:
  20186. description: 结算价
  20187. type: number
  20188. strikeprice:
  20189. description: 发行价
  20190. type: number
  20191. totalaskvolume:
  20192. description: 内盘
  20193. type: integer
  20194. totalbidvolume:
  20195. description: 外盘
  20196. type: integer
  20197. totallot:
  20198. description: 总手数
  20199. type: integer
  20200. totalturnover:
  20201. description: 总金额
  20202. type: number
  20203. totalvolume:
  20204. description: 总量
  20205. type: integer
  20206. utclasttime:
  20207. description: utc的行情时间
  20208. type: string
  20209. type: object
  20210. quote.QueryTSDataRsp:
  20211. properties:
  20212. Count:
  20213. description: 交易日应有数据个数
  20214. type: integer
  20215. decimalPlace:
  20216. description: 小数位
  20217. type: integer
  20218. endTime:
  20219. description: 结束时间
  20220. type: string
  20221. goodsCode:
  20222. description: 商品代码
  20223. type: string
  20224. historyDatas:
  20225. description: 历史数据
  20226. items:
  20227. $ref: '#/definitions/quote.HistoryData'
  20228. type: array
  20229. outGoodsCode:
  20230. description: 外部商品代码
  20231. type: string
  20232. preSettle:
  20233. description: 昨结价
  20234. type: number
  20235. runSteps:
  20236. description: 交易日开休市计划
  20237. items:
  20238. $ref: '#/definitions/quote.TSDataRunStep'
  20239. type: array
  20240. startTime:
  20241. description: 开始时间
  20242. type: string
  20243. tradeDate:
  20244. description: 交易日
  20245. type: string
  20246. type: object
  20247. quote.TSDataRunStep:
  20248. properties:
  20249. end:
  20250. description: 真实结束时间
  20251. type: string
  20252. endflag:
  20253. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  20254. type: integer
  20255. endtime:
  20256. description: 结束时间(HH:mm)
  20257. type: string
  20258. endweekday:
  20259. description: 结束周几
  20260. type: integer
  20261. groupid:
  20262. description: 分组ID
  20263. type: integer
  20264. runstep:
  20265. description: 运行阶段 - 2:连续交易
  20266. type: integer
  20267. sectionid:
  20268. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  20269. 结束时间=结算时间 结束周几=结算周几
  20270. type: integer
  20271. start:
  20272. description: 真实开始时间
  20273. type: string
  20274. startflag:
  20275. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  20276. type: integer
  20277. starttime:
  20278. description: 起始时间(HH:mm)
  20279. type: string
  20280. startweekday:
  20281. description: 起始周几
  20282. type: integer
  20283. tradeweekday:
  20284. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  20285. type: integer
  20286. type: object
  20287. szdz.QueryConvertLogRsp:
  20288. properties:
  20289. accountid:
  20290. description: 资金账户ID
  20291. type: integer
  20292. clientticket:
  20293. description: 客户端流水号
  20294. type: string
  20295. converttype:
  20296. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  20297. type: integer
  20298. createtime:
  20299. description: 记账时间
  20300. type: string
  20301. daymaxvalue:
  20302. description: 配置当日最大转入限制
  20303. type: number
  20304. daymaxvalue2:
  20305. description: 配置当日最大转入限制(转入)
  20306. type: number
  20307. goodscode:
  20308. description: 商品代码
  20309. type: string
  20310. goodsname:
  20311. description: 商品名称
  20312. type: string
  20313. handlestatus:
  20314. description: 处理状态
  20315. type: integer
  20316. innergoodsid:
  20317. description: 内部商品ID
  20318. type: integer
  20319. inratio:
  20320. description: 配置转入比值
  20321. type: integer
  20322. invalue:
  20323. description: 目标值
  20324. type: number
  20325. logid:
  20326. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  20327. type: integer
  20328. mobile:
  20329. description: 手机号码(加密存储)
  20330. type: string
  20331. outergoodscode:
  20332. description: 外部商品代码[JD\PD]
  20333. type: string
  20334. outratio:
  20335. description: 配置转出比值
  20336. type: integer
  20337. outvalue:
  20338. description: 源值
  20339. type: number
  20340. pddecimalplace:
  20341. description: PD小数位
  20342. type: integer
  20343. qty:
  20344. description: 数量
  20345. type: string
  20346. remark:
  20347. description: 备注
  20348. type: string
  20349. sessionid:
  20350. description: 会话ID
  20351. type: integer
  20352. timemaxvalue:
  20353. description: 配置单次最大转入限制
  20354. type: number
  20355. timemaxvalue2:
  20356. description: 配置单次最大转入限制(转入)
  20357. type: number
  20358. timeminvalue:
  20359. description: 配置单次最小数量限制
  20360. type: number
  20361. timeminvalue2:
  20362. description: 配置单次最小数量限制(转入)
  20363. type: number
  20364. tradedate:
  20365. description: 交易日(yyyyMMdd)
  20366. type: string
  20367. userid:
  20368. description: 用户ID
  20369. type: integer
  20370. required:
  20371. - logid
  20372. type: object
  20373. szdz.QueryGoodsPickupRsp:
  20374. properties:
  20375. accountid:
  20376. description: 账户ID
  20377. type: integer
  20378. address:
  20379. description: 提货人详细地址
  20380. type: string
  20381. auditer:
  20382. description: 审核人
  20383. type: integer
  20384. audittime:
  20385. description: 审核时间
  20386. type: string
  20387. cardnum:
  20388. description: 提货人证件号码
  20389. type: string
  20390. cardtypeid:
  20391. description: 提货人证件类型
  20392. type: integer
  20393. checkremark:
  20394. description: 审核备注
  20395. type: string
  20396. goodscode:
  20397. description: 商品代码
  20398. type: string
  20399. goodsid:
  20400. description: 商品ID
  20401. type: integer
  20402. goodsname:
  20403. description: 商品名称
  20404. type: string
  20405. handlestatus:
  20406. description: 处理状态
  20407. type: integer
  20408. marketid:
  20409. description: 市场ID
  20410. type: integer
  20411. phonenum:
  20412. description: 提货人联系方式
  20413. type: string
  20414. qty:
  20415. description: 提货数量
  20416. type: number
  20417. recivername:
  20418. description: 提货人姓名
  20419. type: string
  20420. reqtime:
  20421. description: 更新时间
  20422. type: string
  20423. takemode:
  20424. description: 提货方式 - 2:自提 3:配送
  20425. type: integer
  20426. takeorderid:
  20427. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  20428. type: string
  20429. takeorderstatus:
  20430. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  20431. type: integer
  20432. takeremark:
  20433. description: 提货备注
  20434. type: string
  20435. tradedate:
  20436. description: 交易日(yyyyMMdd)
  20437. type: string
  20438. userid:
  20439. description: 用户ID
  20440. type: integer
  20441. required:
  20442. - takeorderid
  20443. type: object
  20444. szdz.QueryRecieptOrderRsp:
  20445. properties:
  20446. accountName:
  20447. description: 所属账号名称(已脱敏)
  20448. type: string
  20449. accountid:
  20450. description: 资金账号
  20451. type: integer
  20452. buyorsell:
  20453. description: 方向 - 0:买 1:卖
  20454. type: integer
  20455. enableqty:
  20456. description: 可摘数量
  20457. type: integer
  20458. goodscode:
  20459. description: 商品代码
  20460. type: string
  20461. goodsid:
  20462. description: 商品ID
  20463. type: integer
  20464. goodsname:
  20465. description: 商品名称
  20466. type: string
  20467. orderid:
  20468. description: 委托单号
  20469. type: string
  20470. orderprice:
  20471. description: 委托价格
  20472. type: number
  20473. ordertime:
  20474. description: 委托时间
  20475. type: string
  20476. tradedate:
  20477. description: 交易日(yyyyMMdd)
  20478. type: string
  20479. required:
  20480. - ordertime
  20481. type: object
  20482. szdz.QuerySZDZTradePositionRsp:
  20483. properties:
  20484. accountid:
  20485. description: 账号Id
  20486. type: integer
  20487. agreeunit:
  20488. description: 合约单位
  20489. type: number
  20490. averageprice:
  20491. description: 持仓均价
  20492. type: number
  20493. buyorsell:
  20494. description: 方向 - 0:买 1:卖
  20495. type: integer
  20496. closetotalqty:
  20497. description: 平仓总数量
  20498. type: integer
  20499. curholderamount:
  20500. description: 当前持仓总金额
  20501. type: number
  20502. curpositionqty:
  20503. description: 当前持仓总数量
  20504. type: integer
  20505. currencyid:
  20506. description: 报价货币ID
  20507. type: integer
  20508. curtdposition:
  20509. description: 期末今日头寸
  20510. type: integer
  20511. decimalplace:
  20512. description: 报价小数位
  20513. type: integer
  20514. enableqty:
  20515. description: 可用量
  20516. type: integer
  20517. fretdposition:
  20518. description: 冻结今日头寸
  20519. type: integer
  20520. frozenqty:
  20521. description: 持仓冻结数量
  20522. type: integer
  20523. goodscode:
  20524. description: 商品代码(内部)
  20525. type: string
  20526. goodsid:
  20527. description: 商品Id
  20528. type: integer
  20529. goodsname:
  20530. description: 商品名称
  20531. type: string
  20532. goodunit:
  20533. description: 报价单位
  20534. type: string
  20535. goodunitid:
  20536. description: 报价单位ID
  20537. type: integer
  20538. holderamount:
  20539. description: 期初持仓总金额
  20540. type: number
  20541. marketid:
  20542. description: 市场ID
  20543. type: integer
  20544. openreqqty:
  20545. description: 开仓申请数量
  20546. type: integer
  20547. opentotalqty:
  20548. description: 开仓总数量
  20549. type: integer
  20550. otherfrozenqty:
  20551. description: 持仓其他冻结数量(交割冻结)
  20552. type: integer
  20553. positionqty:
  20554. description: 期初持仓数量
  20555. type: integer
  20556. szdz3freezqty:
  20557. description: 尚志大宗转换冻结总数量
  20558. type: integer
  20559. tnqty:
  20560. description: T+N冻结总量
  20561. type: integer
  20562. tnusedqty:
  20563. description: T+N使用量
  20564. type: integer
  20565. trademode:
  20566. description: 交易模式
  20567. type: integer
  20568. usedmargin:
  20569. description: 占用保证金
  20570. type: number
  20571. type: object
  20572. taaccount.QueryAmountLogRsp:
  20573. properties:
  20574. OPERATETYPENAME:
  20575. description: 资金操作类型名称
  20576. type: string
  20577. accountid:
  20578. description: 资金账户ID
  20579. type: integer
  20580. agoodscode:
  20581. description: 竞拍商品代码
  20582. type: string
  20583. agoodsname:
  20584. description: 竞拍商品名称
  20585. type: string
  20586. amount:
  20587. description: 资金金额
  20588. type: number
  20589. amountadjusttype:
  20590. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20591. type: integer
  20592. autoid:
  20593. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20594. type: integer
  20595. balance:
  20596. description: 期初余额
  20597. type: number
  20598. businesscode:
  20599. description: 业务编号
  20600. type: integer
  20601. createtime:
  20602. description: 发生时间
  20603. type: string
  20604. currencyid:
  20605. description: 币种ID
  20606. type: integer
  20607. currentbalance:
  20608. description: 期末余额(变动后金额)
  20609. type: number
  20610. dgoodscode:
  20611. description: 交割商品代码
  20612. type: string
  20613. dgoodsname:
  20614. description: 交割商品名称
  20615. type: string
  20616. goodscode:
  20617. description: 商品代码
  20618. type: string
  20619. goodsid:
  20620. description: 商品ID
  20621. type: integer
  20622. goodsname:
  20623. description: 商品名称
  20624. type: string
  20625. marketid:
  20626. description: 市场ID
  20627. type: integer
  20628. marketname:
  20629. description: 市场名称
  20630. type: string
  20631. moneyticket:
  20632. description: 资金流水号:银行端流水号
  20633. type: integer
  20634. operatetype:
  20635. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20636. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20637. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20638. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20639. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20640. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20641. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20642. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20643. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20644. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20645. type: integer
  20646. relationorderid:
  20647. description: 关联单号
  20648. type: string
  20649. remark:
  20650. description: 备注
  20651. type: string
  20652. trademode:
  20653. description: 交易模式
  20654. type: integer
  20655. required:
  20656. - accountid
  20657. - amount
  20658. - amountadjusttype
  20659. - autoid
  20660. - balance
  20661. - createtime
  20662. - currentbalance
  20663. - operatetype
  20664. type: object
  20665. taaccount.QueryHisAmountLogRsp:
  20666. properties:
  20667. OPERATETYPENAME:
  20668. description: 资金操作类型名称
  20669. type: string
  20670. accountid:
  20671. description: 资金账户ID
  20672. type: integer
  20673. agoodscode:
  20674. description: 竞拍商品代码
  20675. type: string
  20676. agoodsname:
  20677. description: 竞拍商品名称
  20678. type: string
  20679. amount:
  20680. description: 资金金额
  20681. type: number
  20682. amountadjusttype:
  20683. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  20684. type: integer
  20685. autoid:
  20686. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  20687. type: integer
  20688. balance:
  20689. description: 期初余额
  20690. type: number
  20691. businesscode:
  20692. description: 业务编号
  20693. type: integer
  20694. createtime:
  20695. description: 发生时间
  20696. type: string
  20697. currencyid:
  20698. description: 币种ID
  20699. type: integer
  20700. currentbalance:
  20701. description: 期末余额(变动后金额)
  20702. type: number
  20703. dgoodscode:
  20704. description: 交割商品代码
  20705. type: string
  20706. dgoodsname:
  20707. description: 交割商品名称
  20708. type: string
  20709. goodscode:
  20710. description: 商品代码
  20711. type: string
  20712. goodsid:
  20713. description: 商品ID
  20714. type: integer
  20715. goodsname:
  20716. description: 商品名称
  20717. type: string
  20718. histradedate:
  20719. description: 历史交易日
  20720. type: string
  20721. isvaliddata:
  20722. description: 是否有效 - 0:无效 1:有效
  20723. type: integer
  20724. marketid:
  20725. description: 市场ID
  20726. type: integer
  20727. marketname:
  20728. description: 市场名称
  20729. type: string
  20730. moneyticket:
  20731. description: 资金流水号:银行端流水号
  20732. type: integer
  20733. operatetype:
  20734. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  20735. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  20736. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  20737. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  20738. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  20739. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  20740. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  20741. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  20742. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  20743. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  20744. type: integer
  20745. relationorderid:
  20746. description: 关联单号
  20747. type: string
  20748. remark:
  20749. description: 备注
  20750. type: string
  20751. trademode:
  20752. description: 交易模式
  20753. type: integer
  20754. required:
  20755. - accountid
  20756. - amount
  20757. - amountadjusttype
  20758. - autoid
  20759. - balance
  20760. - createtime
  20761. - currentbalance
  20762. - histradedate
  20763. - operatetype
  20764. type: object
  20765. trade.QueryRecieptOrderRsp:
  20766. properties:
  20767. accountName:
  20768. description: 所属账号名称(已脱敏)
  20769. type: string
  20770. accountid:
  20771. description: 资金账号
  20772. type: integer
  20773. buyorsell:
  20774. description: 方向 - 0:买 1:卖
  20775. type: integer
  20776. enableqty:
  20777. description: 可摘数量
  20778. type: integer
  20779. goodscode:
  20780. description: 商品代码
  20781. type: string
  20782. goodsid:
  20783. description: 商品ID
  20784. type: integer
  20785. goodsname:
  20786. description: 商品名称
  20787. type: string
  20788. orderid:
  20789. description: 委托单号
  20790. type: string
  20791. orderprice:
  20792. description: 委托价格
  20793. type: number
  20794. ordertime:
  20795. description: 委托时间
  20796. type: string
  20797. tradedate:
  20798. description: 交易日(yyyyMMdd)
  20799. type: string
  20800. required:
  20801. - ordertime
  20802. type: object
  20803. user.LoginQueryRsp:
  20804. properties:
  20805. areaRoles:
  20806. description: 所属角色信息
  20807. items:
  20808. $ref: '#/definitions/models.Arearole'
  20809. type: array
  20810. externalExchanges:
  20811. description: 外部交易所
  20812. items:
  20813. $ref: '#/definitions/models.Externalexchange'
  20814. type: array
  20815. goodsgroups:
  20816. description: 商品组
  20817. items:
  20818. $ref: '#/definitions/models.Goodsgroup'
  20819. type: array
  20820. loginAccount:
  20821. $ref: '#/definitions/models.Loginaccount'
  20822. description: 登录账号
  20823. markets:
  20824. description: 市场
  20825. items:
  20826. $ref: '#/definitions/models.Market'
  20827. type: array
  20828. systemParams:
  20829. description: 系统参数
  20830. items:
  20831. $ref: '#/definitions/models.Systemparam'
  20832. type: array
  20833. userAccount:
  20834. $ref: '#/definitions/models.Useraccount'
  20835. description: 用户账号
  20836. userInfo:
  20837. $ref: '#/definitions/models.Userinfo'
  20838. description: 用户信息
  20839. username:
  20840. description: 用户姓名
  20841. type: string
  20842. type: object
  20843. info:
  20844. contact: {}
  20845. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  20846. termsOfService: http://www.muchinfo.cn
  20847. title: MTP2.0 查询服务 API
  20848. version: "1.0"
  20849. paths:
  20850. /CPTrade/QueryCPTradeMyBidInfos:
  20851. get:
  20852. parameters:
  20853. - description: 资金账户
  20854. in: query
  20855. name: accountid
  20856. required: true
  20857. type: integer
  20858. - description: 预售市场ID
  20859. in: query
  20860. name: marketid
  20861. type: integer
  20862. - description: 预售商品ID
  20863. in: query
  20864. name: goodsid
  20865. type: integer
  20866. produces:
  20867. - application/json
  20868. responses:
  20869. "200":
  20870. description: OK
  20871. schema:
  20872. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  20873. "500":
  20874. description: Internal Server Error
  20875. schema:
  20876. $ref: '#/definitions/app.Response'
  20877. security:
  20878. - ApiKeyAuth: []
  20879. summary: 查询产能预售我的出价信息
  20880. tags:
  20881. - 产能预售
  20882. /CPTrade/QueryCPTradeOrderDetail:
  20883. get:
  20884. parameters:
  20885. - description: 预售商品ID
  20886. in: query
  20887. name: goodsid
  20888. type: integer
  20889. - description: 预售市场ID
  20890. in: query
  20891. name: marketid
  20892. type: integer
  20893. - description: 预售商品ID列表 - 格式:1,2,3
  20894. in: query
  20895. name: goodsids
  20896. type: string
  20897. produces:
  20898. - application/json
  20899. responses:
  20900. "200":
  20901. description: OK
  20902. schema:
  20903. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20904. "500":
  20905. description: Internal Server Error
  20906. schema:
  20907. $ref: '#/definitions/app.Response'
  20908. security:
  20909. - ApiKeyAuth: []
  20910. summary: 查询产能预售委托单信息
  20911. tags:
  20912. - 产能预售
  20913. /CPTrade/QueryMyCPTradeGoods:
  20914. get:
  20915. parameters:
  20916. - description: 资金账户
  20917. in: query
  20918. name: accountid
  20919. required: true
  20920. type: integer
  20921. produces:
  20922. - application/json
  20923. responses:
  20924. "200":
  20925. description: OK
  20926. schema:
  20927. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20928. "500":
  20929. description: Internal Server Error
  20930. schema:
  20931. $ref: '#/definitions/app.Response'
  20932. security:
  20933. - ApiKeyAuth: []
  20934. summary: 查询我的预售信息
  20935. tags:
  20936. - 产能预售
  20937. /CPTrade/QueryPositionCancel:
  20938. get:
  20939. parameters:
  20940. - description: 账户ID
  20941. in: query
  20942. name: userid
  20943. required: true
  20944. type: integer
  20945. - description: 注销ID
  20946. in: query
  20947. name: cancelid
  20948. type: integer
  20949. - description: 资金账户ID
  20950. in: query
  20951. name: accountid
  20952. type: integer
  20953. produces:
  20954. - application/json
  20955. responses:
  20956. "200":
  20957. description: OK
  20958. schema:
  20959. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20960. "500":
  20961. description: Internal Server Error
  20962. schema:
  20963. $ref: '#/definitions/app.Response'
  20964. security:
  20965. - ApiKeyAuth: []
  20966. summary: 查询远期订单注销申请信息
  20967. tags:
  20968. - 产能预售
  20969. /CPTrade/QueryPreasleApply:
  20970. get:
  20971. parameters:
  20972. - description: 账户ID
  20973. in: query
  20974. name: userid
  20975. required: true
  20976. type: integer
  20977. - description: 申请ID
  20978. in: query
  20979. name: applyid
  20980. type: integer
  20981. - description: 资金账户ID
  20982. in: query
  20983. name: accountid
  20984. type: integer
  20985. produces:
  20986. - application/json
  20987. responses:
  20988. "200":
  20989. description: OK
  20990. schema:
  20991. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20992. "500":
  20993. description: Internal Server Error
  20994. schema:
  20995. $ref: '#/definitions/app.Response'
  20996. security:
  20997. - ApiKeyAuth: []
  20998. summary: 查询产能预售申请信息
  20999. tags:
  21000. - 产能预售
  21001. /CPTrade/QueryPresaleGoodsEx:
  21002. get:
  21003. parameters:
  21004. - description: 预售商品ID
  21005. in: query
  21006. name: goodsid
  21007. type: integer
  21008. - description: 预售市场ID
  21009. in: query
  21010. name: marketid
  21011. type: integer
  21012. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  21013. in: query
  21014. name: presalemode
  21015. type: integer
  21016. - description: 预售商品ID列表 - 格式:1,2,3
  21017. in: query
  21018. name: goodsids
  21019. type: string
  21020. - description: 预售商品代码
  21021. in: query
  21022. name: goodscode
  21023. type: string
  21024. produces:
  21025. - application/json
  21026. responses:
  21027. "200":
  21028. description: OK
  21029. schema:
  21030. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  21031. "500":
  21032. description: Internal Server Error
  21033. schema:
  21034. $ref: '#/definitions/app.Response'
  21035. security:
  21036. - ApiKeyAuth: []
  21037. summary: 查询产能预售商品扩展信息
  21038. tags:
  21039. - 产能预售
  21040. /CPTrade/QueryUserGoodsData:
  21041. get:
  21042. parameters:
  21043. - description: 资金账户ID
  21044. in: query
  21045. name: accountid
  21046. required: true
  21047. type: integer
  21048. produces:
  21049. - application/json
  21050. responses:
  21051. "200":
  21052. description: OK
  21053. schema:
  21054. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  21055. "500":
  21056. description: Internal Server Error
  21057. schema:
  21058. $ref: '#/definitions/app.Response'
  21059. security:
  21060. - ApiKeyAuth: []
  21061. summary: 查询远期订单信息
  21062. tags:
  21063. - 产能预售
  21064. /Common/GetAllEnums:
  21065. get:
  21066. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  21067. parameters:
  21068. - description: 起始自增ID
  21069. in: query
  21070. name: autoid
  21071. type: integer
  21072. produces:
  21073. - application/json
  21074. responses:
  21075. "200":
  21076. description: OK
  21077. schema:
  21078. $ref: '#/definitions/models.Enumdicitem'
  21079. "500":
  21080. description: Internal Server Error
  21081. schema:
  21082. $ref: '#/definitions/app.Response'
  21083. summary: 获取所有枚举信息
  21084. tags:
  21085. - 通用服务
  21086. /Common/GetClientMenus:
  21087. get:
  21088. parameters:
  21089. - description: 登录账号
  21090. in: query
  21091. name: loginID
  21092. required: true
  21093. type: integer
  21094. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  21095. in: query
  21096. name: clientType
  21097. type: integer
  21098. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  21099. in: query
  21100. name: name
  21101. type: string
  21102. produces:
  21103. - application/json
  21104. responses:
  21105. "200":
  21106. description: OK
  21107. schema:
  21108. items:
  21109. $ref: '#/definitions/common.ClientMenu'
  21110. type: array
  21111. "500":
  21112. description: Internal Server Error
  21113. schema:
  21114. $ref: '#/definitions/app.Response'
  21115. security:
  21116. - ApiKeyAuth: []
  21117. summary: 获取交易端菜单
  21118. tags:
  21119. - 通用服务
  21120. /Common/GetDivisions:
  21121. get:
  21122. produces:
  21123. - application/json
  21124. responses:
  21125. "200":
  21126. description: OK
  21127. schema:
  21128. $ref: '#/definitions/models.Division'
  21129. "500":
  21130. description: Internal Server Error
  21131. schema:
  21132. $ref: '#/definitions/app.Response'
  21133. summary: 查询区域信息
  21134. tags:
  21135. - 通用服务
  21136. /Common/GetPCWebMenus:
  21137. get:
  21138. parameters:
  21139. - description: 登录账号
  21140. in: query
  21141. name: loginID
  21142. required: true
  21143. type: integer
  21144. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  21145. in: query
  21146. name: name
  21147. type: string
  21148. produces:
  21149. - application/json
  21150. responses:
  21151. "200":
  21152. description: OK
  21153. schema:
  21154. items:
  21155. $ref: '#/definitions/common.PCWebMenu'
  21156. type: array
  21157. "500":
  21158. description: Internal Server Error
  21159. schema:
  21160. $ref: '#/definitions/app.Response'
  21161. security:
  21162. - ApiKeyAuth: []
  21163. summary: 获取PCWeb交易端菜单
  21164. tags:
  21165. - 通用服务
  21166. /Common/GetServerTime:
  21167. get:
  21168. produces:
  21169. - application/json
  21170. responses:
  21171. "200":
  21172. description: OK
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. "500":
  21176. description: Internal Server Error
  21177. schema:
  21178. $ref: '#/definitions/app.Response'
  21179. summary: 获取服务器时间
  21180. tags:
  21181. - 通用服务
  21182. /Common/NoticeReaded:
  21183. post:
  21184. parameters:
  21185. - description: 登录账号
  21186. in: query
  21187. name: loginID
  21188. required: true
  21189. type: integer
  21190. - description: 通知公告ID
  21191. in: query
  21192. name: noticeID
  21193. required: true
  21194. type: integer
  21195. produces:
  21196. - application/json
  21197. responses:
  21198. "200":
  21199. description: OK
  21200. schema:
  21201. $ref: '#/definitions/app.Response'
  21202. "500":
  21203. description: Internal Server Error
  21204. schema:
  21205. $ref: '#/definitions/app.Response'
  21206. security:
  21207. - ApiKeyAuth: []
  21208. summary: 通知公告设置已读请求
  21209. tags:
  21210. - 通用服务
  21211. /Common/QueryErrorInfos:
  21212. get:
  21213. description: 如果传入rowNumber,则返回此rowNumber后的数据
  21214. parameters:
  21215. - description: 起始行号前索引
  21216. in: query
  21217. name: rowNumber
  21218. type: string
  21219. produces:
  21220. - application/json
  21221. responses:
  21222. "200":
  21223. description: OK
  21224. schema:
  21225. $ref: '#/definitions/models.QueryErrorInfosRsp'
  21226. "500":
  21227. description: Internal Server Error
  21228. schema:
  21229. $ref: '#/definitions/app.Response'
  21230. summary: 获取数据库错误信息
  21231. tags:
  21232. - 通用服务
  21233. /Common/QueryImageConfigs:
  21234. get:
  21235. parameters:
  21236. - description: 用户id
  21237. in: query
  21238. name: userId
  21239. type: integer
  21240. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  21241. in: query
  21242. name: imageType
  21243. type: integer
  21244. produces:
  21245. - application/json
  21246. responses:
  21247. "200":
  21248. description: OK
  21249. schema:
  21250. $ref: '#/definitions/common.QueryImageConfigsRsp'
  21251. "500":
  21252. description: Internal Server Error
  21253. schema:
  21254. $ref: '#/definitions/app.Response'
  21255. summary: 查询轮播图配置信息
  21256. tags:
  21257. - 通用服务
  21258. /Common/QueryNotice:
  21259. get:
  21260. parameters:
  21261. - description: 页码
  21262. in: query
  21263. name: page
  21264. type: integer
  21265. - description: 每页条数
  21266. in: query
  21267. name: pagesize
  21268. type: integer
  21269. - description: 登录账号
  21270. in: query
  21271. name: loginID
  21272. required: true
  21273. type: integer
  21274. - description: 消息类型 - 1:公告通知 2:系统消息
  21275. in: query
  21276. name: msgType
  21277. type: integer
  21278. - description: 是否只获取未读信息
  21279. in: query
  21280. name: onlyUnRead
  21281. type: boolean
  21282. - description: 自增ID,传入后会返回这个ID后面的记录
  21283. in: query
  21284. name: lastID
  21285. type: integer
  21286. produces:
  21287. - application/json
  21288. responses:
  21289. "200":
  21290. description: OK
  21291. schema:
  21292. $ref: '#/definitions/common.QueryNoticeRsp'
  21293. "500":
  21294. description: Internal Server Error
  21295. schema:
  21296. $ref: '#/definitions/app.Response'
  21297. security:
  21298. - ApiKeyAuth: []
  21299. summary: 通知公告系统消息查询
  21300. tags:
  21301. - 通用服务
  21302. /Common/QueryProvincesAndCities:
  21303. get:
  21304. parameters:
  21305. - description: 省ID
  21306. in: query
  21307. name: provinceID
  21308. type: integer
  21309. produces:
  21310. - application/json
  21311. responses:
  21312. "200":
  21313. description: OK
  21314. schema:
  21315. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  21316. "500":
  21317. description: Internal Server Error
  21318. schema:
  21319. $ref: '#/definitions/app.Response'
  21320. summary: 查询省市信息(不包括区)
  21321. tags:
  21322. - 通用服务
  21323. /Common/QueryTableDefine:
  21324. get:
  21325. parameters:
  21326. - description: 表key
  21327. in: query
  21328. name: tableKey
  21329. type: string
  21330. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  21331. in: query
  21332. name: tableType
  21333. type: integer
  21334. produces:
  21335. - application/json
  21336. responses:
  21337. "200":
  21338. description: OK
  21339. schema:
  21340. $ref: '#/definitions/common.QueryTableDefineRsp'
  21341. "500":
  21342. description: Internal Server Error
  21343. schema:
  21344. $ref: '#/definitions/app.Response'
  21345. summary: 查询交易端列表头信息
  21346. tags:
  21347. - 通用服务
  21348. /Common/QueryTraderMenu:
  21349. get:
  21350. parameters:
  21351. - description: 登录账号
  21352. in: query
  21353. name: loginid
  21354. required: true
  21355. type: integer
  21356. produces:
  21357. - application/json
  21358. responses:
  21359. "200":
  21360. description: OK
  21361. schema:
  21362. $ref: '#/definitions/common.QueryTraderMenuRsp'
  21363. "500":
  21364. description: Internal Server Error
  21365. schema:
  21366. $ref: '#/definitions/app.Response'
  21367. summary: 查询交易端菜单
  21368. tags:
  21369. - 通用服务
  21370. /Delivery/QueryDeliveryRelation:
  21371. get:
  21372. parameters:
  21373. - description: 商品ID
  21374. in: query
  21375. name: goodsid
  21376. type: integer
  21377. - description: 品种ID
  21378. in: query
  21379. name: deliverygoodsid
  21380. type: integer
  21381. - description: 市场ID
  21382. in: query
  21383. name: marketid
  21384. type: integer
  21385. produces:
  21386. - application/json
  21387. responses:
  21388. "200":
  21389. description: OK
  21390. schema:
  21391. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  21392. "500":
  21393. description: Internal Server Error
  21394. schema:
  21395. $ref: '#/definitions/app.Response'
  21396. security:
  21397. - ApiKeyAuth: []
  21398. summary: 查询商品交割关系表
  21399. tags:
  21400. - 交割服务
  21401. /Ermcp/GetErmcpGoods:
  21402. get:
  21403. parameters:
  21404. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  21405. in: query
  21406. name: userid
  21407. type: integer
  21408. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  21409. in: query
  21410. name: lastUpdateTime
  21411. type: string
  21412. produces:
  21413. - application/json
  21414. responses:
  21415. "200":
  21416. description: OK
  21417. schema:
  21418. $ref: '#/definitions/models.ErmcpGoods'
  21419. "500":
  21420. description: Internal Server Error
  21421. schema:
  21422. $ref: '#/definitions/app.Response'
  21423. security:
  21424. - ApiKeyAuth: []
  21425. summary: 查询企业风管期货商品信息
  21426. tags:
  21427. - 企业风险管理(app)
  21428. /Ermcp/GetErmcpGoodsSortByPosition:
  21429. get:
  21430. parameters:
  21431. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  21432. in: query
  21433. name: sortIndex
  21434. type: string
  21435. produces:
  21436. - application/json
  21437. responses:
  21438. "200":
  21439. description: OK
  21440. schema:
  21441. $ref: '#/definitions/models.Goodssortbypreposition'
  21442. "500":
  21443. description: Internal Server Error
  21444. schema:
  21445. $ref: '#/definitions/app.Response'
  21446. security:
  21447. - ApiKeyAuth: []
  21448. summary: 查询企业风管期货主力、次主力商品信息
  21449. tags:
  21450. - 企业风险管理(app)
  21451. /Ermcp/GetErmcpOutAccountStatus:
  21452. get:
  21453. parameters:
  21454. - description: 登录账号
  21455. in: query
  21456. name: loginID
  21457. required: true
  21458. type: integer
  21459. produces:
  21460. - application/json
  21461. responses:
  21462. "200":
  21463. description: OK
  21464. schema:
  21465. $ref: '#/definitions/models.Hedgemarketopenlog'
  21466. "500":
  21467. description: Internal Server Error
  21468. schema:
  21469. $ref: '#/definitions/app.Response'
  21470. security:
  21471. - ApiKeyAuth: []
  21472. summary: 获取目标登录账号当前对冲账号在线状态
  21473. tags:
  21474. - 企业风险管理(app)
  21475. /Ermcp/GetErmcpRoleFuncMenuLists:
  21476. get:
  21477. parameters:
  21478. - description: 登录账号
  21479. in: query
  21480. name: loginID
  21481. required: true
  21482. type: integer
  21483. produces:
  21484. - application/json
  21485. responses:
  21486. "200":
  21487. description: OK
  21488. schema:
  21489. $ref: '#/definitions/models.Funcmenulist'
  21490. "500":
  21491. description: Internal Server Error
  21492. schema:
  21493. $ref: '#/definitions/app.Response'
  21494. security:
  21495. - ApiKeyAuth: []
  21496. summary: 获取企业风管终端权限
  21497. tags:
  21498. - 企业风险管理(app)
  21499. /Ermcp/QueryAccMgrBizGroupSet:
  21500. get:
  21501. parameters:
  21502. - description: 用户ID
  21503. in: query
  21504. name: userid
  21505. required: true
  21506. type: integer
  21507. - description: 现货商品id
  21508. in: query
  21509. name: deliverygoodsid
  21510. type: integer
  21511. produces:
  21512. - application/json
  21513. responses:
  21514. "200":
  21515. description: OK
  21516. schema:
  21517. items:
  21518. $ref: '#/definitions/models.ErmcpBizGroupEx'
  21519. type: array
  21520. "500":
  21521. description: Internal Server Error
  21522. schema:
  21523. $ref: '#/definitions/app.Response'
  21524. security:
  21525. - ApiKeyAuth: []
  21526. summary: 查询业务类型分组(账户管理/账户设置)
  21527. tags:
  21528. - 企业风险管理(app)
  21529. /Ermcp/QueryAccMgrLoginUser:
  21530. get:
  21531. parameters:
  21532. - description: 用户ID
  21533. in: query
  21534. name: userid
  21535. required: true
  21536. type: integer
  21537. - description: 用户类型 2-机构 7-企业成员
  21538. in: query
  21539. name: usertype
  21540. type: integer
  21541. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  21542. in: query
  21543. name: querytype
  21544. required: true
  21545. type: integer
  21546. produces:
  21547. - application/json
  21548. responses:
  21549. "200":
  21550. description: OK
  21551. schema:
  21552. items:
  21553. $ref: '#/definitions/models.ErmcpLoginUserEx'
  21554. type: array
  21555. "500":
  21556. description: Internal Server Error
  21557. schema:
  21558. $ref: '#/definitions/app.Response'
  21559. security:
  21560. - ApiKeyAuth: []
  21561. summary: 查询账户管理登录账号(账户管理/登录账号)
  21562. tags:
  21563. - 企业风险管理(app)
  21564. /Ermcp/QueryAccMgrMainAccountInfo:
  21565. get:
  21566. parameters:
  21567. - description: 用户ID
  21568. in: query
  21569. name: userid
  21570. type: integer
  21571. - description: 主账号id
  21572. in: query
  21573. name: accountid
  21574. type: integer
  21575. produces:
  21576. - application/json
  21577. responses:
  21578. "200":
  21579. description: OK
  21580. schema:
  21581. items:
  21582. $ref: '#/definitions/models.MainAccountInfo'
  21583. type: array
  21584. "500":
  21585. description: Internal Server Error
  21586. schema:
  21587. $ref: '#/definitions/app.Response'
  21588. security:
  21589. - ApiKeyAuth: []
  21590. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  21591. tags:
  21592. - 企业风险管理(app)
  21593. /Ermcp/QueryAccMgrRole:
  21594. get:
  21595. parameters:
  21596. - description: 用户ID
  21597. in: query
  21598. name: userid
  21599. required: true
  21600. type: integer
  21601. produces:
  21602. - application/json
  21603. responses:
  21604. "200":
  21605. description: OK
  21606. schema:
  21607. items:
  21608. $ref: '#/definitions/models.ErmcpRole'
  21609. type: array
  21610. "500":
  21611. description: Internal Server Error
  21612. schema:
  21613. $ref: '#/definitions/app.Response'
  21614. security:
  21615. - ApiKeyAuth: []
  21616. summary: 查询账户管理角色设置(账户管理/角色设置)
  21617. tags:
  21618. - 企业风险管理(app)
  21619. /Ermcp/QueryAccMgrRoleMenu:
  21620. get:
  21621. parameters:
  21622. - description: 用户ID
  21623. in: query
  21624. name: userid
  21625. required: true
  21626. type: integer
  21627. - description: 角色id(可多个,逗号隔开)
  21628. in: query
  21629. name: roleid
  21630. type: string
  21631. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  21632. in: query
  21633. name: menutype
  21634. type: integer
  21635. produces:
  21636. - application/json
  21637. responses:
  21638. "200":
  21639. description: OK
  21640. schema:
  21641. items:
  21642. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  21643. type: array
  21644. "500":
  21645. description: Internal Server Error
  21646. schema:
  21647. $ref: '#/definitions/app.Response'
  21648. security:
  21649. - ApiKeyAuth: []
  21650. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  21651. tags:
  21652. - 企业风险管理(app)
  21653. /Ermcp/QueryAccMgrTaAccountInfo:
  21654. get:
  21655. parameters:
  21656. - description: 用户ID
  21657. in: query
  21658. name: userid
  21659. required: true
  21660. type: integer
  21661. - description: 账号id
  21662. in: query
  21663. name: accountid
  21664. type: integer
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. items:
  21672. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  21673. type: array
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询账户管理授信(账户管理/账户设置/授信)
  21681. tags:
  21682. - 企业风险管理(app)
  21683. /Ermcp/QueryAccMgrTaaccount:
  21684. get:
  21685. parameters:
  21686. - description: 用户ID
  21687. in: query
  21688. name: userid
  21689. required: true
  21690. type: integer
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. items:
  21698. $ref: '#/definitions/models.ErmcpTaAccountEx'
  21699. type: array
  21700. "500":
  21701. description: Internal Server Error
  21702. schema:
  21703. $ref: '#/definitions/app.Response'
  21704. security:
  21705. - ApiKeyAuth: []
  21706. summary: 查询账户管理期货账号(账户管理/期货账号)
  21707. tags:
  21708. - 企业风险管理(app)
  21709. /Ermcp/QueryAvaildGoodsGroup:
  21710. get:
  21711. parameters:
  21712. - description: 所属机构ID
  21713. in: query
  21714. name: userid
  21715. required: true
  21716. type: integer
  21717. produces:
  21718. - application/json
  21719. responses:
  21720. "200":
  21721. description: OK
  21722. schema:
  21723. items:
  21724. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  21725. type: array
  21726. "500":
  21727. description: Internal Server Error
  21728. schema:
  21729. $ref: '#/definitions/app.Response'
  21730. security:
  21731. - ApiKeyAuth: []
  21732. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  21733. tags:
  21734. - 企业风险管理(app)
  21735. /Ermcp/QueryBusinessDj:
  21736. get:
  21737. parameters:
  21738. - description: 用户ID
  21739. in: query
  21740. name: UserId
  21741. required: true
  21742. type: integer
  21743. - description: 用户类型 2-机构 7-企业成员
  21744. in: query
  21745. name: usertype
  21746. type: integer
  21747. - description: 现货合同ID, 不填则查所有
  21748. in: query
  21749. name: relatedid
  21750. type: string
  21751. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21752. in: query
  21753. name: applystatus
  21754. type: string
  21755. produces:
  21756. - application/json
  21757. responses:
  21758. "200":
  21759. description: OK
  21760. schema:
  21761. items:
  21762. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  21763. type: array
  21764. "500":
  21765. description: Internal Server Error
  21766. schema:
  21767. $ref: '#/definitions/app.Response'
  21768. security:
  21769. - ApiKeyAuth: []
  21770. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  21771. tags:
  21772. - 企业风险管理(app)
  21773. /Ermcp/QueryBusinessFp:
  21774. get:
  21775. parameters:
  21776. - description: 用户ID
  21777. in: query
  21778. name: UserId
  21779. required: true
  21780. type: integer
  21781. - description: 用户类型 2-机构 7-企业成员
  21782. in: query
  21783. name: usertype
  21784. type: integer
  21785. - description: 现货合同ID, 不填则查所有
  21786. in: query
  21787. name: relatedid
  21788. type: string
  21789. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21790. in: query
  21791. name: applystatus
  21792. type: string
  21793. produces:
  21794. - application/json
  21795. responses:
  21796. "200":
  21797. description: OK
  21798. schema:
  21799. items:
  21800. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  21801. type: array
  21802. "500":
  21803. description: Internal Server Error
  21804. schema:
  21805. $ref: '#/definitions/app.Response'
  21806. security:
  21807. - ApiKeyAuth: []
  21808. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  21809. tags:
  21810. - 企业风险管理(app)
  21811. /Ermcp/QueryBusinessJs:
  21812. get:
  21813. parameters:
  21814. - description: 用户ID
  21815. in: query
  21816. name: UserId
  21817. required: true
  21818. type: integer
  21819. - description: 用户类型 2-机构 7-企业成员
  21820. in: query
  21821. name: usertype
  21822. type: integer
  21823. - description: 现货合同ID, 不填则查所有
  21824. in: query
  21825. name: relatedid
  21826. type: string
  21827. - description: 操作申请id
  21828. in: query
  21829. name: operateapplyid
  21830. type: string
  21831. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21832. in: query
  21833. name: applystatus
  21834. type: string
  21835. produces:
  21836. - application/json
  21837. responses:
  21838. "200":
  21839. description: OK
  21840. schema:
  21841. items:
  21842. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  21843. type: array
  21844. "500":
  21845. description: Internal Server Error
  21846. schema:
  21847. $ref: '#/definitions/app.Response'
  21848. security:
  21849. - ApiKeyAuth: []
  21850. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  21851. tags:
  21852. - 企业风险管理(app)
  21853. /Ermcp/QueryBusinessJsEx:
  21854. get:
  21855. parameters:
  21856. - description: 用户ID
  21857. in: query
  21858. name: UserId
  21859. required: true
  21860. type: integer
  21861. - description: 用户类型 2-机构 7-企业成员
  21862. in: query
  21863. name: usertype
  21864. type: integer
  21865. - description: 现货合同ID, 不填则查所有
  21866. in: query
  21867. name: relatedid
  21868. type: string
  21869. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21870. in: query
  21871. name: applystatus
  21872. type: string
  21873. produces:
  21874. - application/json
  21875. responses:
  21876. "200":
  21877. description: OK
  21878. schema:
  21879. items:
  21880. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  21881. type: array
  21882. "500":
  21883. description: Internal Server Error
  21884. schema:
  21885. $ref: '#/definitions/app.Response'
  21886. security:
  21887. - ApiKeyAuth: []
  21888. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  21889. tags:
  21890. - 企业风险管理(app)
  21891. /Ermcp/QueryBusinessKx:
  21892. get:
  21893. parameters:
  21894. - description: 用户ID
  21895. in: query
  21896. name: UserId
  21897. required: true
  21898. type: integer
  21899. - description: 用户类型 2-机构 7-企业成员
  21900. in: query
  21901. name: usertype
  21902. type: integer
  21903. - description: 现货合同ID, 不填则查所有
  21904. in: query
  21905. name: relatedid
  21906. type: string
  21907. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21908. in: query
  21909. name: applystatus
  21910. type: string
  21911. produces:
  21912. - application/json
  21913. responses:
  21914. "200":
  21915. description: OK
  21916. schema:
  21917. items:
  21918. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21919. type: array
  21920. "500":
  21921. description: Internal Server Error
  21922. schema:
  21923. $ref: '#/definitions/app.Response'
  21924. security:
  21925. - ApiKeyAuth: []
  21926. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21927. tags:
  21928. - 企业风险管理(app)
  21929. /Ermcp/QueryChangeLog:
  21930. get:
  21931. parameters:
  21932. - description: 合同ID
  21933. in: query
  21934. name: RelatedId
  21935. required: true
  21936. type: string
  21937. produces:
  21938. - application/json
  21939. responses:
  21940. "200":
  21941. description: OK
  21942. schema:
  21943. items:
  21944. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21945. type: array
  21946. "500":
  21947. description: Internal Server Error
  21948. schema:
  21949. $ref: '#/definitions/app.Response'
  21950. security:
  21951. - ApiKeyAuth: []
  21952. summary: 查询变更记录
  21953. tags:
  21954. - 企业风险管理(app)
  21955. /Ermcp/QueryErmcpHisOrderDetails:
  21956. get:
  21957. parameters:
  21958. - description: 资金账户ID
  21959. in: query
  21960. name: accountID
  21961. required: true
  21962. type: integer
  21963. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21964. in: query
  21965. name: startDate
  21966. type: string
  21967. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21968. in: query
  21969. name: endDate
  21970. type: string
  21971. produces:
  21972. - application/json
  21973. responses:
  21974. "200":
  21975. description: OK
  21976. schema:
  21977. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21978. "500":
  21979. description: Internal Server Error
  21980. schema:
  21981. $ref: '#/definitions/app.Response'
  21982. security:
  21983. - ApiKeyAuth: []
  21984. summary: 获取企业风管期货历史委托单信息
  21985. tags:
  21986. - 企业风险管理(app)
  21987. /Ermcp/QueryErmcpHisTradeDetails:
  21988. get:
  21989. parameters:
  21990. - description: 资金账户ID
  21991. in: query
  21992. name: accountID
  21993. required: true
  21994. type: integer
  21995. - description: 商品ID
  21996. in: query
  21997. name: goodsID
  21998. type: integer
  21999. - description: 买卖方向,0:买 1:卖
  22000. in: query
  22001. name: buyOrSell
  22002. type: integer
  22003. - description: 关联委托单号
  22004. in: query
  22005. name: orderID
  22006. type: integer
  22007. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22008. in: query
  22009. name: startDate
  22010. type: string
  22011. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22012. in: query
  22013. name: endDate
  22014. type: string
  22015. produces:
  22016. - application/json
  22017. responses:
  22018. "200":
  22019. description: OK
  22020. schema:
  22021. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22022. "500":
  22023. description: Internal Server Error
  22024. schema:
  22025. $ref: '#/definitions/app.Response'
  22026. security:
  22027. - ApiKeyAuth: []
  22028. summary: 获取企业风管期货历史成交单信息
  22029. tags:
  22030. - 企业风险管理(app)
  22031. /Ermcp/QueryErmcpInnerHolderDetails:
  22032. get:
  22033. parameters:
  22034. - description: 资金账户ID
  22035. in: query
  22036. name: accountID
  22037. required: true
  22038. type: integer
  22039. - description: 商品ID
  22040. in: query
  22041. name: goodsID
  22042. type: integer
  22043. - description: 买卖方向,0:买 1:卖
  22044. in: query
  22045. name: buyOrSell
  22046. type: integer
  22047. produces:
  22048. - application/json
  22049. responses:
  22050. "200":
  22051. description: OK
  22052. schema:
  22053. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  22054. "500":
  22055. description: Internal Server Error
  22056. schema:
  22057. $ref: '#/definitions/app.Response'
  22058. security:
  22059. - ApiKeyAuth: []
  22060. summary: 获取企业风管期货内部持仓单信息
  22061. tags:
  22062. - 企业风险管理(app)
  22063. /Ermcp/QueryErmcpOrderDetails:
  22064. get:
  22065. parameters:
  22066. - description: 资金账户ID
  22067. in: query
  22068. name: accountID
  22069. required: true
  22070. type: integer
  22071. produces:
  22072. - application/json
  22073. responses:
  22074. "200":
  22075. description: OK
  22076. schema:
  22077. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  22078. "500":
  22079. description: Internal Server Error
  22080. schema:
  22081. $ref: '#/definitions/app.Response'
  22082. security:
  22083. - ApiKeyAuth: []
  22084. summary: 获取企业风管期货委托单信息
  22085. tags:
  22086. - 企业风险管理(app)
  22087. /Ermcp/QueryErmcpTradeDetails:
  22088. get:
  22089. parameters:
  22090. - description: 资金账户ID
  22091. in: query
  22092. name: accountID
  22093. required: true
  22094. type: integer
  22095. - description: 商品ID
  22096. in: query
  22097. name: goodsID
  22098. type: integer
  22099. - description: 买卖方向,0:买 1:卖
  22100. in: query
  22101. name: buyOrSell
  22102. type: integer
  22103. - description: 关联委托单号
  22104. in: query
  22105. name: orderID
  22106. type: integer
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  22114. "500":
  22115. description: Internal Server Error
  22116. schema:
  22117. $ref: '#/definitions/app.Response'
  22118. security:
  22119. - ApiKeyAuth: []
  22120. summary: 获取企业风管期货成交单信息
  22121. tags:
  22122. - 企业风险管理(app)
  22123. /Ermcp/QueryErmcpTradePosition:
  22124. get:
  22125. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  22126. parameters:
  22127. - description: 资金账户ID
  22128. in: query
  22129. name: accountID
  22130. required: true
  22131. type: integer
  22132. - description: 所属市场ID
  22133. in: query
  22134. name: marketID
  22135. type: integer
  22136. produces:
  22137. - application/json
  22138. responses:
  22139. "200":
  22140. description: OK
  22141. schema:
  22142. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  22143. "500":
  22144. description: Internal Server Error
  22145. schema:
  22146. $ref: '#/definitions/app.Response'
  22147. security:
  22148. - ApiKeyAuth: []
  22149. summary: 获取企业风管期货持仓头寸信息
  22150. tags:
  22151. - 企业风险管理(app)
  22152. /Ermcp/QueryExposureDetail:
  22153. get:
  22154. parameters:
  22155. - description: 所属机构ID
  22156. in: query
  22157. name: areaUserId
  22158. required: true
  22159. type: integer
  22160. - description: 套保商品
  22161. in: query
  22162. name: middleGoodsId
  22163. required: true
  22164. type: integer
  22165. produces:
  22166. - application/json
  22167. responses:
  22168. "200":
  22169. description: OK
  22170. schema:
  22171. items:
  22172. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  22173. type: array
  22174. "500":
  22175. description: Internal Server Error
  22176. schema:
  22177. $ref: '#/definitions/app.Response'
  22178. security:
  22179. - ApiKeyAuth: []
  22180. summary: 查询敞口现货明细
  22181. tags:
  22182. - 企业风险管理(app)
  22183. /Ermcp/QueryExposureGoods:
  22184. get:
  22185. parameters:
  22186. - description: 套保商品id
  22187. in: query
  22188. name: middlegoodsid
  22189. required: true
  22190. type: integer
  22191. produces:
  22192. - application/json
  22193. responses:
  22194. "200":
  22195. description: OK
  22196. schema:
  22197. items:
  22198. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  22199. type: array
  22200. "500":
  22201. description: Internal Server Error
  22202. schema:
  22203. $ref: '#/definitions/app.Response'
  22204. security:
  22205. - ApiKeyAuth: []
  22206. summary: 查询敞口主力合约
  22207. tags:
  22208. - 企业风险管理(app)
  22209. /Ermcp/QueryExposureHedgePosition:
  22210. get:
  22211. parameters:
  22212. - description: 用户id
  22213. in: query
  22214. name: userid
  22215. required: true
  22216. type: integer
  22217. produces:
  22218. - application/json
  22219. responses:
  22220. "200":
  22221. description: OK
  22222. schema:
  22223. items:
  22224. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  22225. type: array
  22226. "500":
  22227. description: Internal Server Error
  22228. schema:
  22229. $ref: '#/definitions/app.Response'
  22230. security:
  22231. - ApiKeyAuth: []
  22232. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  22233. tags:
  22234. - 企业风险管理(app)
  22235. /Ermcp/QueryExposureHedgePositionDetail:
  22236. get:
  22237. parameters:
  22238. - description: 所属机构ID
  22239. in: query
  22240. name: userid
  22241. required: true
  22242. type: integer
  22243. - description: 商品id
  22244. in: query
  22245. name: goodsId
  22246. required: true
  22247. type: integer
  22248. produces:
  22249. - application/json
  22250. responses:
  22251. "200":
  22252. description: OK
  22253. schema:
  22254. items:
  22255. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  22256. type: array
  22257. "500":
  22258. description: Internal Server Error
  22259. schema:
  22260. $ref: '#/definitions/app.Response'
  22261. security:
  22262. - ApiKeyAuth: []
  22263. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  22264. tags:
  22265. - 企业风险管理(app)
  22266. /Ermcp/QueryExposureSpot:
  22267. get:
  22268. parameters:
  22269. - description: 所属机构ID
  22270. in: query
  22271. name: areaUserId
  22272. required: true
  22273. type: integer
  22274. produces:
  22275. - application/json
  22276. responses:
  22277. "200":
  22278. description: OK
  22279. schema:
  22280. items:
  22281. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  22282. type: array
  22283. "500":
  22284. description: Internal Server Error
  22285. schema:
  22286. $ref: '#/definitions/app.Response'
  22287. security:
  22288. - ApiKeyAuth: []
  22289. summary: 查询敞口现货头寸(敞口/现货头寸)
  22290. tags:
  22291. - 企业风险管理(app)
  22292. /Ermcp/QueryExposureSpotDetail:
  22293. get:
  22294. parameters:
  22295. - description: 所属机构ID
  22296. in: query
  22297. name: areaUserId
  22298. required: true
  22299. type: integer
  22300. - description: 现货品种ID
  22301. in: query
  22302. name: wrstandardId
  22303. required: true
  22304. type: integer
  22305. produces:
  22306. - application/json
  22307. responses:
  22308. "200":
  22309. description: OK
  22310. schema:
  22311. items:
  22312. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  22313. type: array
  22314. "500":
  22315. description: Internal Server Error
  22316. schema:
  22317. $ref: '#/definitions/app.Response'
  22318. security:
  22319. - ApiKeyAuth: []
  22320. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22321. tags:
  22322. - 企业风险管理(app)
  22323. /Ermcp/QueryFuturesCompany:
  22324. get:
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.ErmcpFuturesCompany'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询期货公司
  22341. tags:
  22342. - 企业风险管理(app)
  22343. /Ermcp/QueryGGConvertConfig:
  22344. get:
  22345. parameters:
  22346. - description: 品种id(不填则查所有)
  22347. in: query
  22348. name: goodsgroupid
  22349. type: integer
  22350. produces:
  22351. - application/json
  22352. responses:
  22353. "200":
  22354. description: OK
  22355. schema:
  22356. items:
  22357. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  22358. type: array
  22359. "500":
  22360. description: Internal Server Error
  22361. schema:
  22362. $ref: '#/definitions/app.Response'
  22363. security:
  22364. - ApiKeyAuth: []
  22365. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  22366. tags:
  22367. - 企业风险管理(app)
  22368. /Ermcp/QueryGoodsBrand:
  22369. get:
  22370. parameters:
  22371. - description: 用户ID
  22372. in: query
  22373. name: userid
  22374. required: true
  22375. type: integer
  22376. - description: 现货商品ID
  22377. in: query
  22378. name: wrstandardid
  22379. type: integer
  22380. produces:
  22381. - application/json
  22382. responses:
  22383. "200":
  22384. description: OK
  22385. schema:
  22386. items:
  22387. $ref: '#/definitions/models.ErmcpGoodsBrand'
  22388. type: array
  22389. "500":
  22390. description: Internal Server Error
  22391. schema:
  22392. $ref: '#/definitions/app.Response'
  22393. security:
  22394. - ApiKeyAuth: []
  22395. summary: 查询商品品牌
  22396. tags:
  22397. - 企业风险管理(app)
  22398. /Ermcp/QueryGoodsModel:
  22399. get:
  22400. parameters:
  22401. - description: 用户ID
  22402. in: query
  22403. name: userid
  22404. required: true
  22405. type: integer
  22406. produces:
  22407. - application/json
  22408. responses:
  22409. "200":
  22410. description: OK
  22411. schema:
  22412. items:
  22413. $ref: '#/definitions/models.ErmcpGoodsModel'
  22414. type: array
  22415. "500":
  22416. description: Internal Server Error
  22417. schema:
  22418. $ref: '#/definitions/app.Response'
  22419. security:
  22420. - ApiKeyAuth: []
  22421. summary: 查询商品型号
  22422. tags:
  22423. - 企业风险管理(app)
  22424. /Ermcp/QueryHisExposure:
  22425. get:
  22426. parameters:
  22427. - description: 用户id
  22428. in: query
  22429. name: userid
  22430. required: true
  22431. type: integer
  22432. - description: 每个品种记录数
  22433. in: query
  22434. name: lastNum
  22435. required: true
  22436. type: integer
  22437. produces:
  22438. - application/json
  22439. responses:
  22440. "200":
  22441. description: OK
  22442. schema:
  22443. items:
  22444. $ref: '#/definitions/ermcp.HisExposureRsp'
  22445. type: array
  22446. "500":
  22447. description: Internal Server Error
  22448. schema:
  22449. $ref: '#/definitions/app.Response'
  22450. security:
  22451. - ApiKeyAuth: []
  22452. summary: 查询历史敞口(菜单:敞口/历史敞口)
  22453. tags:
  22454. - 企业风险管理(app)
  22455. /Ermcp/QueryMiddleGoods:
  22456. get:
  22457. parameters:
  22458. - description: 所属机构ID
  22459. in: query
  22460. name: userid
  22461. required: true
  22462. type: integer
  22463. - description: 状态 0-停用 1-正常
  22464. in: query
  22465. name: status
  22466. required: true
  22467. type: integer
  22468. produces:
  22469. - application/json
  22470. responses:
  22471. "200":
  22472. description: OK
  22473. schema:
  22474. items:
  22475. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  22476. type: array
  22477. "500":
  22478. description: Internal Server Error
  22479. schema:
  22480. $ref: '#/definitions/app.Response'
  22481. security:
  22482. - ApiKeyAuth: []
  22483. summary: 查询套保品种(菜单:套保品种)
  22484. tags:
  22485. - 企业风险管理(app)
  22486. /Ermcp/QueryMiddleGoodsChangeLog:
  22487. get:
  22488. parameters:
  22489. - description: 所属机构ID
  22490. in: query
  22491. name: userid
  22492. required: true
  22493. type: integer
  22494. - description: 套保品种id
  22495. in: query
  22496. name: middlegoodsid
  22497. required: true
  22498. type: integer
  22499. produces:
  22500. - application/json
  22501. responses:
  22502. "200":
  22503. description: OK
  22504. schema:
  22505. items:
  22506. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  22507. type: array
  22508. "500":
  22509. description: Internal Server Error
  22510. schema:
  22511. $ref: '#/definitions/app.Response'
  22512. security:
  22513. - ApiKeyAuth: []
  22514. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  22515. tags:
  22516. - 企业风险管理(app)
  22517. /Ermcp/QueryMiddleGoodsDetail:
  22518. get:
  22519. parameters:
  22520. - description: 所属机构ID
  22521. in: query
  22522. name: userid
  22523. required: true
  22524. type: integer
  22525. - description: 套保品种id
  22526. in: query
  22527. name: middlegoodsid
  22528. type: integer
  22529. produces:
  22530. - application/json
  22531. responses:
  22532. "200":
  22533. description: OK
  22534. schema:
  22535. items:
  22536. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  22537. type: array
  22538. "500":
  22539. description: Internal Server Error
  22540. schema:
  22541. $ref: '#/definitions/app.Response'
  22542. security:
  22543. - ApiKeyAuth: []
  22544. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  22545. tags:
  22546. - 企业风险管理(app)
  22547. /Ermcp/QueryPendingAuditInfo:
  22548. get:
  22549. parameters:
  22550. - description: 用户ID
  22551. in: query
  22552. name: UserId
  22553. required: true
  22554. type: integer
  22555. produces:
  22556. - application/json
  22557. responses:
  22558. "200":
  22559. description: OK
  22560. schema:
  22561. items:
  22562. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  22563. type: array
  22564. "500":
  22565. description: Internal Server Error
  22566. schema:
  22567. $ref: '#/definitions/app.Response'
  22568. security:
  22569. - ApiKeyAuth: []
  22570. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  22571. tags:
  22572. - 企业风险管理(app)
  22573. /Ermcp/QueryRealtimeExposure:
  22574. get:
  22575. parameters:
  22576. - description: 所属机构ID
  22577. in: query
  22578. name: userid
  22579. required: true
  22580. type: integer
  22581. produces:
  22582. - application/json
  22583. responses:
  22584. "200":
  22585. description: OK
  22586. schema:
  22587. items:
  22588. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  22589. type: array
  22590. "500":
  22591. description: Internal Server Error
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. security:
  22595. - ApiKeyAuth: []
  22596. summary: 查询实时敞口
  22597. tags:
  22598. - 企业风险管理(app)
  22599. /Ermcp/QueryRealtimeExposurePosition:
  22600. get:
  22601. parameters:
  22602. - description: 用户id
  22603. in: query
  22604. name: userid
  22605. required: true
  22606. type: integer
  22607. - description: 套保商品ID
  22608. in: query
  22609. name: middleGoodsId
  22610. required: true
  22611. type: integer
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. items:
  22619. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  22620. type: array
  22621. "500":
  22622. description: Internal Server Error
  22623. schema:
  22624. $ref: '#/definitions/app.Response'
  22625. security:
  22626. - ApiKeyAuth: []
  22627. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  22628. tags:
  22629. - 企业风险管理(app)
  22630. /Ermcp/QueryRoleMenu:
  22631. get:
  22632. parameters:
  22633. - description: 登录ID
  22634. in: query
  22635. name: loginid
  22636. required: true
  22637. type: integer
  22638. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  22639. in: query
  22640. name: menutype
  22641. type: integer
  22642. produces:
  22643. - application/json
  22644. responses:
  22645. "200":
  22646. description: OK
  22647. schema:
  22648. items:
  22649. $ref: '#/definitions/models.RoleMenu'
  22650. type: array
  22651. "500":
  22652. description: Internal Server Error
  22653. schema:
  22654. $ref: '#/definitions/app.Response'
  22655. security:
  22656. - ApiKeyAuth: []
  22657. summary: 查询角色菜单和权限
  22658. tags:
  22659. - 企业风险管理(app)
  22660. /Ermcp/QueryTradeConfigTMP:
  22661. get:
  22662. parameters:
  22663. - description: 所属机构id
  22664. in: query
  22665. name: areauserid
  22666. type: integer
  22667. produces:
  22668. - application/json
  22669. responses:
  22670. "200":
  22671. description: OK
  22672. schema:
  22673. items:
  22674. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  22675. type: array
  22676. "500":
  22677. description: Internal Server Error
  22678. schema:
  22679. $ref: '#/definitions/app.Response'
  22680. security:
  22681. - ApiKeyAuth: []
  22682. summary: 查询交易模板配置
  22683. tags:
  22684. - 企业风险管理(app)
  22685. /Ermcp/QueryUserInfo:
  22686. get:
  22687. parameters:
  22688. - description: 所属机构用户ID
  22689. in: query
  22690. name: MemberUserID
  22691. required: true
  22692. type: integer
  22693. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  22694. in: query
  22695. name: queryType
  22696. required: true
  22697. type: integer
  22698. produces:
  22699. - application/json
  22700. responses:
  22701. "200":
  22702. description: OK
  22703. schema:
  22704. items:
  22705. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  22706. type: array
  22707. "500":
  22708. description: Internal Server Error
  22709. schema:
  22710. $ref: '#/definitions/app.Response'
  22711. security:
  22712. - ApiKeyAuth: []
  22713. summary: 查询客户资料
  22714. tags:
  22715. - 企业风险管理(app)
  22716. /Ermcp/QueryWarehouseInfo:
  22717. get:
  22718. parameters:
  22719. - description: 用户ID
  22720. in: query
  22721. name: userid
  22722. required: true
  22723. type: integer
  22724. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  22725. in: query
  22726. name: status
  22727. type: string
  22728. produces:
  22729. - application/json
  22730. responses:
  22731. "200":
  22732. description: OK
  22733. schema:
  22734. items:
  22735. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  22736. type: array
  22737. "500":
  22738. description: Internal Server Error
  22739. schema:
  22740. $ref: '#/definitions/app.Response'
  22741. security:
  22742. - ApiKeyAuth: []
  22743. summary: 查询仓库信息
  22744. tags:
  22745. - 企业风险管理(app)
  22746. /Ermcp3/QryAreaExpourseContractDetail:
  22747. get:
  22748. parameters:
  22749. - description: 用户ID
  22750. in: query
  22751. name: userid
  22752. required: true
  22753. type: integer
  22754. - description: 套保商品id
  22755. in: query
  22756. name: middlegoodsid
  22757. required: true
  22758. type: integer
  22759. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22760. in: query
  22761. name: cycletype
  22762. required: true
  22763. type: integer
  22764. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22765. 全(0)【原值】
  22766. in: query
  22767. name: cycletime
  22768. required: true
  22769. type: string
  22770. produces:
  22771. - application/json
  22772. responses:
  22773. "200":
  22774. description: OK
  22775. schema:
  22776. items:
  22777. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  22778. type: array
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. security:
  22784. - ApiKeyAuth: []
  22785. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  22786. tags:
  22787. - 企业风险管理v3(app)
  22788. /Ermcp3/QryAreaExpourseFutuDetail:
  22789. get:
  22790. parameters:
  22791. - description: 用户ID
  22792. in: query
  22793. name: userid
  22794. required: true
  22795. type: integer
  22796. - description: 套保商品id
  22797. in: query
  22798. name: middlegoodsid
  22799. required: true
  22800. type: integer
  22801. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22802. in: query
  22803. name: cycletype
  22804. required: true
  22805. type: integer
  22806. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22807. 全(0)【原值】
  22808. in: query
  22809. name: cycletime
  22810. required: true
  22811. type: string
  22812. produces:
  22813. - application/json
  22814. responses:
  22815. "200":
  22816. description: OK
  22817. schema:
  22818. items:
  22819. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  22820. type: array
  22821. "500":
  22822. description: Internal Server Error
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. security:
  22826. - ApiKeyAuth: []
  22827. summary: 查询敞口期货明细(敞口报表/期货明细)
  22828. tags:
  22829. - 企业风险管理v3(app)
  22830. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  22831. get:
  22832. parameters:
  22833. - description: 用户ID
  22834. in: query
  22835. name: userid
  22836. required: true
  22837. type: integer
  22838. - description: 套保商品id
  22839. in: query
  22840. name: middlegoodsid
  22841. required: true
  22842. type: integer
  22843. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22844. in: query
  22845. name: cycletype
  22846. required: true
  22847. type: integer
  22848. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22849. 全(0)【原值】
  22850. in: query
  22851. name: cycletime
  22852. required: true
  22853. type: string
  22854. produces:
  22855. - application/json
  22856. responses:
  22857. "200":
  22858. description: OK
  22859. schema:
  22860. items:
  22861. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  22862. type: array
  22863. "500":
  22864. description: Internal Server Error
  22865. schema:
  22866. $ref: '#/definitions/app.Response'
  22867. security:
  22868. - ApiKeyAuth: []
  22869. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  22870. tags:
  22871. - 企业风险管理v3(app)
  22872. /Ermcp3/QryAreaExpourseParamChLogDetail:
  22873. get:
  22874. parameters:
  22875. - description: 用户ID
  22876. in: query
  22877. name: userid
  22878. required: true
  22879. type: integer
  22880. - description: 套保商品id
  22881. in: query
  22882. name: middlegoodsid
  22883. required: true
  22884. type: integer
  22885. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22886. in: query
  22887. name: cycletype
  22888. required: true
  22889. type: integer
  22890. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22891. 全(0)【原值】
  22892. in: query
  22893. name: cycletime
  22894. required: true
  22895. type: string
  22896. produces:
  22897. - application/json
  22898. responses:
  22899. "200":
  22900. description: OK
  22901. schema:
  22902. items:
  22903. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22904. type: array
  22905. "500":
  22906. description: Internal Server Error
  22907. schema:
  22908. $ref: '#/definitions/app.Response'
  22909. security:
  22910. - ApiKeyAuth: []
  22911. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22912. tags:
  22913. - 企业风险管理v3(app)
  22914. /Ermcp3/QryAreaExpourseReport:
  22915. get:
  22916. parameters:
  22917. - description: 用户ID
  22918. in: query
  22919. name: userid
  22920. required: true
  22921. type: integer
  22922. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22923. in: query
  22924. name: querytype
  22925. required: true
  22926. type: integer
  22927. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22928. in: query
  22929. name: cycletype
  22930. required: true
  22931. type: integer
  22932. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22933. 全(0)【原值】
  22934. in: query
  22935. name: cycletime
  22936. required: true
  22937. type: string
  22938. produces:
  22939. - application/json
  22940. responses:
  22941. "200":
  22942. description: OK
  22943. schema:
  22944. items:
  22945. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22946. type: array
  22947. "500":
  22948. description: Internal Server Error
  22949. schema:
  22950. $ref: '#/definitions/app.Response'
  22951. security:
  22952. - ApiKeyAuth: []
  22953. summary: 查询敞口报表
  22954. tags:
  22955. - 企业风险管理v3(app)
  22956. /Ermcp3/QryAreaSpotplReport:
  22957. get:
  22958. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22959. parameters:
  22960. - description: 用户ID
  22961. in: query
  22962. name: userid
  22963. required: true
  22964. type: integer
  22965. - description: 查询类型 1-报表 2-报表明细
  22966. in: query
  22967. name: querytype
  22968. required: true
  22969. type: integer
  22970. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22971. in: query
  22972. name: cycletype
  22973. required: true
  22974. type: integer
  22975. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22976. 全(0)【原值】
  22977. in: query
  22978. name: cycletime
  22979. required: true
  22980. type: string
  22981. - description: 现货品种id(明细必填)
  22982. in: query
  22983. name: deliverygoodsid
  22984. type: integer
  22985. - description: 币种id(明细必填)
  22986. in: query
  22987. name: currencyid
  22988. type: integer
  22989. - description: 日/周/月报表汇总维度 1:品种+品类
  22990. in: query
  22991. name: sumflag
  22992. type: integer
  22993. produces:
  22994. - application/json
  22995. responses:
  22996. "200":
  22997. description: OK
  22998. schema:
  22999. items:
  23000. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  23001. type: array
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询现货报表
  23009. tags:
  23010. - 企业风险管理v3(app)
  23011. /Ermcp3/QryAreaStockReport:
  23012. get:
  23013. parameters:
  23014. - description: 用户ID
  23015. in: query
  23016. name: userid
  23017. required: true
  23018. type: integer
  23019. - description: 查询类型 1-报表 2-报表明细
  23020. in: query
  23021. name: querytype
  23022. required: true
  23023. type: integer
  23024. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23025. in: query
  23026. name: cycletype
  23027. required: true
  23028. type: integer
  23029. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23030. 全(0)【原值】
  23031. in: query
  23032. name: cycletime
  23033. required: true
  23034. type: string
  23035. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  23036. in: query
  23037. name: sumfields
  23038. type: string
  23039. - description: 品种ID
  23040. in: query
  23041. name: deliverygoodsid
  23042. type: integer
  23043. - description: 品类ID
  23044. in: query
  23045. name: wrstandardid
  23046. type: integer
  23047. - description: 品牌ID
  23048. in: query
  23049. name: spotgoodsbrandid
  23050. type: integer
  23051. - description: 仓库ID
  23052. in: query
  23053. name: warehouseinfoid
  23054. type: integer
  23055. produces:
  23056. - application/json
  23057. responses:
  23058. "200":
  23059. description: OK
  23060. schema:
  23061. items:
  23062. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  23063. type: array
  23064. "500":
  23065. description: Internal Server Error
  23066. schema:
  23067. $ref: '#/definitions/app.Response'
  23068. security:
  23069. - ApiKeyAuth: []
  23070. summary: 查询库存报表
  23071. tags:
  23072. - 企业风险管理v3(app)
  23073. /Ermcp3/QryAreaSumPL:
  23074. get:
  23075. parameters:
  23076. - description: 用户ID
  23077. in: query
  23078. name: userid
  23079. required: true
  23080. type: integer
  23081. - description: 查询类型 1-报表 2-报表明细
  23082. in: query
  23083. name: querytype
  23084. required: true
  23085. type: integer
  23086. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23087. in: query
  23088. name: cycletype
  23089. required: true
  23090. type: integer
  23091. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23092. 全(0)【原值】
  23093. in: query
  23094. name: cycletime
  23095. required: true
  23096. type: string
  23097. - description: 币种id(明细必填)
  23098. in: query
  23099. name: currencyid
  23100. type: integer
  23101. produces:
  23102. - application/json
  23103. responses:
  23104. "200":
  23105. description: OK
  23106. schema:
  23107. items:
  23108. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  23109. type: array
  23110. "500":
  23111. description: Internal Server Error
  23112. schema:
  23113. $ref: '#/definitions/app.Response'
  23114. security:
  23115. - ApiKeyAuth: []
  23116. summary: 查询汇总损益表
  23117. tags:
  23118. - 企业风险管理v3(app)
  23119. /Ermcp3/QryFinanceReport:
  23120. get:
  23121. parameters:
  23122. - description: 用户ID
  23123. in: query
  23124. name: userid
  23125. required: true
  23126. type: integer
  23127. - description: 查询类型 1-报表 2-报表明细
  23128. in: query
  23129. name: querytype
  23130. required: true
  23131. type: integer
  23132. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23133. in: query
  23134. name: cycletype
  23135. required: true
  23136. type: integer
  23137. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23138. 全(0)【原值】
  23139. in: query
  23140. name: cycletime
  23141. required: true
  23142. type: string
  23143. - description: 币种id(报表明细必填)
  23144. in: query
  23145. name: currencyid
  23146. type: integer
  23147. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  23148. in: query
  23149. name: sumfields
  23150. type: string
  23151. produces:
  23152. - application/json
  23153. responses:
  23154. "200":
  23155. description: OK
  23156. schema:
  23157. items:
  23158. $ref: '#/definitions/models.Ermcp3FinanceReport'
  23159. type: array
  23160. "500":
  23161. description: Internal Server Error
  23162. schema:
  23163. $ref: '#/definitions/app.Response'
  23164. security:
  23165. - ApiKeyAuth: []
  23166. summary: 查询财务报表
  23167. tags:
  23168. - 企业风险管理v3(app)
  23169. /Ermcp3/QrySCMiddleGoodsReport:
  23170. get:
  23171. parameters:
  23172. - description: 用户ID
  23173. in: query
  23174. name: userid
  23175. required: true
  23176. type: integer
  23177. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23178. in: query
  23179. name: cycletype
  23180. required: true
  23181. type: integer
  23182. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23183. 全(0)【原值】
  23184. in: query
  23185. name: cycletime
  23186. required: true
  23187. type: string
  23188. - description: 合同id
  23189. in: query
  23190. name: spotcontractid
  23191. type: integer
  23192. - description: 套保品种id
  23193. in: query
  23194. name: middlegoodsid
  23195. type: integer
  23196. - description: 现货品种id
  23197. in: query
  23198. name: deliverygoodsid
  23199. type: integer
  23200. - description: 现货商品id
  23201. in: query
  23202. name: wrstandardid
  23203. type: integer
  23204. - description: 合同编号(模糊匹配)
  23205. in: query
  23206. name: contractno
  23207. type: string
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. items:
  23215. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  23216. type: array
  23217. "500":
  23218. description: Internal Server Error
  23219. schema:
  23220. $ref: '#/definitions/app.Response'
  23221. security:
  23222. - ApiKeyAuth: []
  23223. summary: 查询定价报表
  23224. tags:
  23225. - 企业风险管理v3(app)
  23226. /Ermcp3/QryTaFutureDataReport:
  23227. get:
  23228. parameters:
  23229. - description: 用户ID
  23230. in: query
  23231. name: userid
  23232. required: true
  23233. type: integer
  23234. - description: 查询类型 1-报表 2-报表明细
  23235. in: query
  23236. name: querytype
  23237. required: true
  23238. type: integer
  23239. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23240. in: query
  23241. name: cycletype
  23242. required: true
  23243. type: integer
  23244. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  23245. 全(0)【原值】
  23246. in: query
  23247. name: cycletime
  23248. required: true
  23249. type: string
  23250. - description: 币种id(查明细必填)
  23251. in: query
  23252. name: currencyid
  23253. type: integer
  23254. - description: 品种id(查明细必填)
  23255. in: query
  23256. name: goodsgroupid
  23257. type: integer
  23258. - description: 商品id(查明细必填)
  23259. in: query
  23260. name: goodsid
  23261. type: integer
  23262. - description: 买卖方向(查明细必填)
  23263. in: query
  23264. name: buyorsell
  23265. type: integer
  23266. produces:
  23267. - application/json
  23268. responses:
  23269. "200":
  23270. description: OK
  23271. schema:
  23272. items:
  23273. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  23274. type: array
  23275. "500":
  23276. description: Internal Server Error
  23277. schema:
  23278. $ref: '#/definitions/app.Response'
  23279. security:
  23280. - ApiKeyAuth: []
  23281. summary: 查询期货报表
  23282. tags:
  23283. - 企业风险管理v3(app)
  23284. /Ermcp3/QueryAreaStock:
  23285. get:
  23286. parameters:
  23287. - description: 用户ID
  23288. in: query
  23289. name: userid
  23290. required: true
  23291. type: integer
  23292. produces:
  23293. - application/json
  23294. responses:
  23295. "200":
  23296. description: OK
  23297. schema:
  23298. items:
  23299. $ref: '#/definitions/models.Ermcp3AreaStock'
  23300. type: array
  23301. "500":
  23302. description: Internal Server Error
  23303. schema:
  23304. $ref: '#/definitions/app.Response'
  23305. security:
  23306. - ApiKeyAuth: []
  23307. summary: 查询机构库存(库存管理/当前库存)
  23308. tags:
  23309. - 企业风险管理v3(app)
  23310. /Ermcp3/QueryAreaStockApply:
  23311. get:
  23312. parameters:
  23313. - description: 用户ID
  23314. in: query
  23315. name: userid
  23316. required: true
  23317. type: integer
  23318. - description: 用户类型 2-机构 7-企业成员
  23319. in: query
  23320. name: usertype
  23321. type: integer
  23322. - description: 现货商品ID
  23323. in: query
  23324. name: deliverygoodsid
  23325. type: integer
  23326. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  23327. in: query
  23328. name: inouttype
  23329. type: string
  23330. - description: 合同ID
  23331. in: query
  23332. name: spotcontractid
  23333. type: integer
  23334. - description: 品类ID
  23335. in: query
  23336. name: wrstandardid
  23337. type: integer
  23338. - description: 品牌ID
  23339. in: query
  23340. name: spotgoodsbrandid
  23341. type: integer
  23342. - description: 仓库ID
  23343. in: query
  23344. name: warehouseinfoid
  23345. type: integer
  23346. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23347. in: query
  23348. name: applystatus
  23349. type: string
  23350. produces:
  23351. - application/json
  23352. responses:
  23353. "200":
  23354. description: OK
  23355. schema:
  23356. items:
  23357. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  23358. type: array
  23359. "500":
  23360. description: Internal Server Error
  23361. schema:
  23362. $ref: '#/definitions/app.Response'
  23363. security:
  23364. - ApiKeyAuth: []
  23365. summary: 查询库存申请(出入库记录|库存审核)
  23366. tags:
  23367. - 企业风险管理v3(app)
  23368. /Ermcp3/QueryAreaStockApplySum:
  23369. get:
  23370. parameters:
  23371. - description: 合同ID
  23372. in: query
  23373. name: spotcontractid
  23374. required: true
  23375. type: integer
  23376. produces:
  23377. - application/json
  23378. responses:
  23379. "200":
  23380. description: OK
  23381. schema:
  23382. items:
  23383. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  23384. type: array
  23385. "500":
  23386. description: Internal Server Error
  23387. schema:
  23388. $ref: '#/definitions/app.Response'
  23389. security:
  23390. - ApiKeyAuth: []
  23391. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  23392. tags:
  23393. - 企业风险管理v3(app)
  23394. /Ermcp3/QueryDGFactoryItem:
  23395. get:
  23396. parameters:
  23397. - description: 用户id
  23398. in: query
  23399. name: userid
  23400. type: integer
  23401. - description: 用户类型 2-机构 7-企业成员
  23402. in: query
  23403. name: usertype
  23404. type: integer
  23405. - description: 选择项ID(SEQ_DGFACTORYITEM)
  23406. in: query
  23407. name: dgfactoryitemid
  23408. type: integer
  23409. - description: 现货品种ID
  23410. in: query
  23411. name: deliverygoodsid
  23412. type: integer
  23413. - description: 要素项类型
  23414. in: query
  23415. name: dgfactoryitemtypeid
  23416. type: integer
  23417. - description: 顺序
  23418. in: query
  23419. name: orderindex
  23420. type: integer
  23421. produces:
  23422. - application/json
  23423. responses:
  23424. "200":
  23425. description: OK
  23426. schema:
  23427. items:
  23428. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  23429. type: array
  23430. "500":
  23431. description: Internal Server Error
  23432. schema:
  23433. $ref: '#/definitions/app.Response'
  23434. security:
  23435. - ApiKeyAuth: []
  23436. summary: 查询品种要素定义项
  23437. tags:
  23438. - 企业风险管理v3(app)
  23439. /Ermcp3/QueryDeliveryGoods:
  23440. get:
  23441. parameters:
  23442. - description: 用户id
  23443. in: query
  23444. name: userid
  23445. required: true
  23446. type: integer
  23447. - description: 用户类型 2-机构 7-企业成员
  23448. in: query
  23449. name: usertype
  23450. type: integer
  23451. - description: 排除已配置的业务类型商品 1-套保 2-套利
  23452. in: query
  23453. name: excludecfg
  23454. type: integer
  23455. produces:
  23456. - application/json
  23457. responses:
  23458. "200":
  23459. description: OK
  23460. schema:
  23461. items:
  23462. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  23463. type: array
  23464. "500":
  23465. description: Internal Server Error
  23466. schema:
  23467. $ref: '#/definitions/app.Response'
  23468. security:
  23469. - ApiKeyAuth: []
  23470. summary: 查询现货商品
  23471. tags:
  23472. - 企业风险管理v3(app)
  23473. /Ermcp3/QueryDeliveryGoodsDetail:
  23474. get:
  23475. parameters:
  23476. - description: 用户id
  23477. in: query
  23478. name: userid
  23479. required: true
  23480. type: integer
  23481. - description: 用户类型 2-机构 7-企业成员
  23482. in: query
  23483. name: usertype
  23484. type: integer
  23485. - description: 现货商品id
  23486. in: query
  23487. name: deliverygoodsid
  23488. type: integer
  23489. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  23490. in: query
  23491. name: filtersubempty
  23492. type: integer
  23493. produces:
  23494. - application/json
  23495. responses:
  23496. "200":
  23497. description: OK
  23498. schema:
  23499. items:
  23500. $ref: '#/definitions/models.XHDeliveryGoods'
  23501. type: array
  23502. "500":
  23503. description: Internal Server Error
  23504. schema:
  23505. $ref: '#/definitions/app.Response'
  23506. security:
  23507. - ApiKeyAuth: []
  23508. summary: 查询现货商品详情
  23509. tags:
  23510. - 企业风险管理v3(app)
  23511. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  23512. get:
  23513. parameters:
  23514. - description: 合同id
  23515. in: query
  23516. name: spotcontractid
  23517. required: true
  23518. type: string
  23519. produces:
  23520. - application/json
  23521. responses:
  23522. "200":
  23523. description: OK
  23524. schema:
  23525. items:
  23526. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  23527. type: array
  23528. "500":
  23529. description: Internal Server Error
  23530. schema:
  23531. $ref: '#/definitions/app.Response'
  23532. security:
  23533. - ApiKeyAuth: []
  23534. summary: 查询现货合同期现配置信息
  23535. tags:
  23536. - 企业风险管理v3(app)
  23537. /Ermcp3/QueryExposureDetail:
  23538. get:
  23539. parameters:
  23540. - description: 用户id
  23541. in: query
  23542. name: userid
  23543. required: true
  23544. type: integer
  23545. - description: 用户类型 2-机构 7-企业成员
  23546. in: query
  23547. name: usertype
  23548. type: integer
  23549. - description: 套保商品
  23550. in: query
  23551. name: middlegoodsid
  23552. required: true
  23553. type: integer
  23554. produces:
  23555. - application/json
  23556. responses:
  23557. "200":
  23558. description: OK
  23559. schema:
  23560. items:
  23561. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  23562. type: array
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 查询敞口现货明细
  23570. tags:
  23571. - 企业风险管理v3(app)
  23572. /Ermcp3/QueryExposureSpot:
  23573. get:
  23574. parameters:
  23575. - description: 用户id
  23576. in: query
  23577. name: userid
  23578. required: true
  23579. type: integer
  23580. - description: 用户类型 2-机构 7-企业成员
  23581. in: query
  23582. name: usertype
  23583. type: integer
  23584. produces:
  23585. - application/json
  23586. responses:
  23587. "200":
  23588. description: OK
  23589. schema:
  23590. items:
  23591. $ref: '#/definitions/models.Ermcp3AreaSpot'
  23592. type: array
  23593. "500":
  23594. description: Internal Server Error
  23595. schema:
  23596. $ref: '#/definitions/app.Response'
  23597. security:
  23598. - ApiKeyAuth: []
  23599. summary: 查询敞口现货头寸(敞口/现货头寸)
  23600. tags:
  23601. - 企业风险管理v3(app)
  23602. /Ermcp3/QueryExposureSpotDetail:
  23603. get:
  23604. parameters:
  23605. - description: 用户id
  23606. in: query
  23607. name: userid
  23608. required: true
  23609. type: integer
  23610. - description: 用户类型 2-机构 7-企业成员
  23611. in: query
  23612. name: usertype
  23613. type: integer
  23614. - description: 现货商品ID
  23615. in: query
  23616. name: wrstandardid
  23617. required: true
  23618. type: integer
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. items:
  23626. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  23627. type: array
  23628. "500":
  23629. description: Internal Server Error
  23630. schema:
  23631. $ref: '#/definitions/app.Response'
  23632. security:
  23633. - ApiKeyAuth: []
  23634. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  23635. tags:
  23636. - 企业风险管理v3(app)
  23637. /Ermcp3/QueryGoodsGroup:
  23638. get:
  23639. parameters:
  23640. - description: 用户id
  23641. in: query
  23642. name: userid
  23643. required: true
  23644. type: integer
  23645. - description: 用户类型 2-机构 7-企业成员
  23646. in: query
  23647. name: usertype
  23648. type: integer
  23649. - description: 排除套保品中已关联的商品组 1-排除
  23650. in: query
  23651. name: excludecfg
  23652. type: integer
  23653. produces:
  23654. - application/json
  23655. responses:
  23656. "200":
  23657. description: OK
  23658. schema:
  23659. items:
  23660. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  23661. type: array
  23662. "500":
  23663. description: Internal Server Error
  23664. schema:
  23665. $ref: '#/definitions/app.Response'
  23666. security:
  23667. - ApiKeyAuth: []
  23668. summary: 查询期货商品组
  23669. tags:
  23670. - 企业风险管理v3(app)
  23671. /Ermcp3/QueryGoodsWrstandard:
  23672. get:
  23673. parameters:
  23674. - description: 用户id
  23675. in: query
  23676. name: userid
  23677. required: true
  23678. type: integer
  23679. - description: 用户类型 2-机构 7-企业成员
  23680. in: query
  23681. name: usertype
  23682. type: integer
  23683. - description: 现货商品id
  23684. in: query
  23685. name: deliverygoodsid
  23686. type: integer
  23687. produces:
  23688. - application/json
  23689. responses:
  23690. "200":
  23691. description: OK
  23692. schema:
  23693. items:
  23694. $ref: '#/definitions/models.Ermcp3Wrstandard'
  23695. type: array
  23696. "500":
  23697. description: Internal Server Error
  23698. schema:
  23699. $ref: '#/definitions/app.Response'
  23700. security:
  23701. - ApiKeyAuth: []
  23702. summary: 查询商品品类
  23703. tags:
  23704. - 企业风险管理v3(app)
  23705. /Ermcp3/QueryGoodsbrand:
  23706. get:
  23707. parameters:
  23708. - description: 用户id
  23709. in: query
  23710. name: userid
  23711. required: true
  23712. type: integer
  23713. - description: 用户类型 2-机构 7-企业成员
  23714. in: query
  23715. name: usertype
  23716. type: integer
  23717. produces:
  23718. - application/json
  23719. responses:
  23720. "200":
  23721. description: OK
  23722. schema:
  23723. items:
  23724. $ref: '#/definitions/models.Ermcp3Brand'
  23725. type: array
  23726. "500":
  23727. description: Internal Server Error
  23728. schema:
  23729. $ref: '#/definitions/app.Response'
  23730. security:
  23731. - ApiKeyAuth: []
  23732. summary: 查询商品品牌
  23733. tags:
  23734. - 企业风险管理v3(app)
  23735. /Ermcp3/QueryHPMiddleGoods:
  23736. get:
  23737. parameters:
  23738. - description: 用户ID(填登录用户的userid)
  23739. in: query
  23740. name: userid
  23741. required: true
  23742. type: integer
  23743. - description: 买卖方向 0-买 1-卖
  23744. in: query
  23745. name: buyorsell
  23746. required: true
  23747. type: integer
  23748. - description: 商品组id
  23749. in: query
  23750. name: goodsgroupid
  23751. required: true
  23752. type: integer
  23753. - description: 套保计划编号(模糊匹配)
  23754. in: query
  23755. name: hedgeplanno
  23756. type: string
  23757. - description: 现货商品名称(模糊匹配)
  23758. in: query
  23759. name: wrstandardname
  23760. type: string
  23761. produces:
  23762. - application/json
  23763. responses:
  23764. "200":
  23765. description: OK
  23766. schema:
  23767. items:
  23768. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  23769. type: array
  23770. "500":
  23771. description: Internal Server Error
  23772. schema:
  23773. $ref: '#/definitions/app.Response'
  23774. security:
  23775. - ApiKeyAuth: []
  23776. summary: 查询可关联套保计划
  23777. tags:
  23778. - 企业风险管理v3(app)
  23779. /Ermcp3/QueryHedgePlan:
  23780. get:
  23781. parameters:
  23782. - description: 用户ID
  23783. in: query
  23784. name: userid
  23785. required: true
  23786. type: integer
  23787. - description: 用户类型 2-机构 7-企业成员
  23788. in: query
  23789. name: usertype
  23790. type: integer
  23791. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23792. in: query
  23793. name: hedgeplanstatus
  23794. required: true
  23795. type: string
  23796. produces:
  23797. - application/json
  23798. responses:
  23799. "200":
  23800. description: OK
  23801. schema:
  23802. items:
  23803. $ref: '#/definitions/models.Ermcp3HedgePlan'
  23804. type: array
  23805. "500":
  23806. description: Internal Server Error
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. security:
  23810. - ApiKeyAuth: []
  23811. summary: 查询套保计划
  23812. tags:
  23813. - 企业风险管理v3(app)
  23814. /Ermcp3/QueryInnerTradeLink:
  23815. get:
  23816. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  23817. parameters:
  23818. - description: 外部成交单号
  23819. in: query
  23820. name: outtradeid
  23821. required: true
  23822. type: integer
  23823. produces:
  23824. - application/json
  23825. responses:
  23826. "200":
  23827. description: OK
  23828. schema:
  23829. items:
  23830. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  23831. type: array
  23832. "500":
  23833. description: Internal Server Error
  23834. schema:
  23835. $ref: '#/definitions/app.Response'
  23836. security:
  23837. - ApiKeyAuth: []
  23838. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  23839. tags:
  23840. - 企业风险管理v3(app)
  23841. /Ermcp3/QueryMiddleGoodsDetail:
  23842. get:
  23843. parameters:
  23844. - description: 用户id
  23845. in: query
  23846. name: userid
  23847. required: true
  23848. type: integer
  23849. - description: 用户类型 2-机构 7-企业成员
  23850. in: query
  23851. name: usertype
  23852. type: integer
  23853. - description: 套保品种id
  23854. in: query
  23855. name: middlegoodsid
  23856. type: integer
  23857. produces:
  23858. - application/json
  23859. responses:
  23860. "200":
  23861. description: OK
  23862. schema:
  23863. items:
  23864. $ref: '#/definitions/models.TBMiddleGoods'
  23865. type: array
  23866. "500":
  23867. description: Internal Server Error
  23868. schema:
  23869. $ref: '#/definitions/app.Response'
  23870. security:
  23871. - ApiKeyAuth: []
  23872. summary: 查询套保品种详情(套保品种/商品详情)
  23873. tags:
  23874. - 企业风险管理v3(app)
  23875. /Ermcp3/QueryOutTradeLink:
  23876. get:
  23877. description: 页面 app 现货->期现关联->外部成交单关联
  23878. parameters:
  23879. - description: 用户ID(填登录用户的userid)
  23880. in: query
  23881. name: userid
  23882. required: true
  23883. type: integer
  23884. - description: 外部订单号(模糊匹配)
  23885. in: query
  23886. name: outtradeid
  23887. type: string
  23888. - description: 合约名称/代码(模糊匹配)
  23889. in: query
  23890. name: goodsname
  23891. type: string
  23892. - description: 关联状态 0-未关联 1-已关联
  23893. in: query
  23894. name: hasinnerorder
  23895. type: integer
  23896. produces:
  23897. - application/json
  23898. responses:
  23899. "200":
  23900. description: OK
  23901. schema:
  23902. items:
  23903. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23904. type: array
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 查询外部成交单关联
  23912. tags:
  23913. - 企业风险管理v3(app)
  23914. /Ermcp3/QueryPaAreaAuditCfg:
  23915. get:
  23916. parameters:
  23917. - description: 用户id
  23918. in: query
  23919. name: userid
  23920. required: true
  23921. type: integer
  23922. produces:
  23923. - application/json
  23924. responses:
  23925. "200":
  23926. description: OK
  23927. schema:
  23928. items:
  23929. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23930. type: array
  23931. "500":
  23932. description: Internal Server Error
  23933. schema:
  23934. $ref: '#/definitions/app.Response'
  23935. security:
  23936. - ApiKeyAuth: []
  23937. summary: 查询审核设置
  23938. tags:
  23939. - 企业风险管理v3(app)
  23940. /Ermcp3/QueryPaAreaSubject:
  23941. get:
  23942. parameters:
  23943. - description: 用户id
  23944. in: query
  23945. name: userid
  23946. required: true
  23947. type: integer
  23948. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23949. in: query
  23950. name: subjectid
  23951. type: integer
  23952. - description: 主体类型 - 1:交易主体 2:业务部门
  23953. in: query
  23954. name: subjecttype
  23955. type: integer
  23956. - description: '主体状态 - 1:正常 2: 停用'
  23957. in: query
  23958. name: subjectstatus
  23959. type: integer
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. items:
  23967. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23968. type: array
  23969. "500":
  23970. description: Internal Server Error
  23971. schema:
  23972. $ref: '#/definitions/app.Response'
  23973. security:
  23974. - ApiKeyAuth: []
  23975. summary: 查询交易主体
  23976. tags:
  23977. - 企业风险管理v3(app)
  23978. /Ermcp3/QueryPaTradeLink:
  23979. get:
  23980. description: 页面 app 现货->期现关联->期现单据关联
  23981. parameters:
  23982. - description: 用户ID
  23983. in: query
  23984. name: userid
  23985. required: true
  23986. type: integer
  23987. produces:
  23988. - application/json
  23989. responses:
  23990. "200":
  23991. description: OK
  23992. schema:
  23993. items:
  23994. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23995. type: array
  23996. "500":
  23997. description: Internal Server Error
  23998. schema:
  23999. $ref: '#/definitions/app.Response'
  24000. security:
  24001. - ApiKeyAuth: []
  24002. summary: 查询期现单据关联
  24003. tags:
  24004. - 企业风险管理v3(app)
  24005. /Ermcp3/QueryPaTradeLinkDetail:
  24006. get:
  24007. description: 页面 app 现货->期现关联->关联记录
  24008. parameters:
  24009. - description: 用户ID(填登录用户的userid)
  24010. in: query
  24011. name: userid
  24012. required: true
  24013. type: integer
  24014. - description: 关联状态 1:成功 2:失败 3:解绑
  24015. in: query
  24016. name: linkstatus
  24017. type: integer
  24018. - description: 期货订单号(模糊匹配)
  24019. in: query
  24020. name: tradeid
  24021. type: string
  24022. - description: 现货编号(模糊匹配)
  24023. in: query
  24024. name: contractno
  24025. type: string
  24026. - description: 期货账户(模糊匹配)
  24027. in: query
  24028. name: taname
  24029. type: string
  24030. produces:
  24031. - application/json
  24032. responses:
  24033. "200":
  24034. description: OK
  24035. schema:
  24036. items:
  24037. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  24038. type: array
  24039. "500":
  24040. description: Internal Server Error
  24041. schema:
  24042. $ref: '#/definitions/app.Response'
  24043. security:
  24044. - ApiKeyAuth: []
  24045. summary: 查询期现关联记录
  24046. tags:
  24047. - 企业风险管理v3(app)
  24048. /Ermcp3/QueryParamChangeApp:
  24049. get:
  24050. description: |-
  24051. 原型页面:
  24052. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  24053. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  24054. parameters:
  24055. - description: 用户ID
  24056. in: query
  24057. name: userid
  24058. required: true
  24059. type: integer
  24060. - description: 现货品种id
  24061. in: query
  24062. name: deliverygoodsid
  24063. type: integer
  24064. - description: 现货商品id
  24065. in: query
  24066. name: wrstandardid
  24067. type: integer
  24068. - description: 套保商品id
  24069. in: query
  24070. name: middlegoodsid
  24071. type: integer
  24072. - description: 操作类型 1:新增 2:修改
  24073. in: query
  24074. name: operatetype
  24075. type: integer
  24076. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  24077. in: query
  24078. name: paramchangetype
  24079. type: integer
  24080. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24081. in: query
  24082. name: ftstatus
  24083. type: string
  24084. produces:
  24085. - application/json
  24086. responses:
  24087. "200":
  24088. description: OK
  24089. schema:
  24090. items:
  24091. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  24092. type: array
  24093. "500":
  24094. description: Internal Server Error
  24095. schema:
  24096. $ref: '#/definitions/app.Response'
  24097. security:
  24098. - ApiKeyAuth: []
  24099. summary: 查询现货商品参数变更申请(流水)
  24100. tags:
  24101. - 企业风险管理v3(app)
  24102. /Ermcp3/QueryRootUserAccount:
  24103. get:
  24104. parameters:
  24105. - description: 用户ID
  24106. in: query
  24107. name: userid
  24108. required: true
  24109. type: integer
  24110. produces:
  24111. - application/json
  24112. responses:
  24113. "200":
  24114. description: OK
  24115. schema:
  24116. items:
  24117. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  24118. type: array
  24119. "500":
  24120. description: Internal Server Error
  24121. schema:
  24122. $ref: '#/definitions/app.Response'
  24123. security:
  24124. - ApiKeyAuth: []
  24125. summary: 查询顶级用户信息
  24126. tags:
  24127. - 企业风险管理v3(app)
  24128. /Ermcp3/QuerySCMiddleGoods:
  24129. get:
  24130. description: |-
  24131. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  24132. 现货编号 即 合同编号
  24133. parameters:
  24134. - description: 用户ID(填登录用户的userid)
  24135. in: query
  24136. name: userid
  24137. required: true
  24138. type: integer
  24139. - description: 买卖方向 0-买 1-卖
  24140. in: query
  24141. name: buyorsell
  24142. required: true
  24143. type: integer
  24144. - description: 商品组id
  24145. in: query
  24146. name: goodsgroupid
  24147. required: true
  24148. type: integer
  24149. - description: 业务类型 1:套保 2:套利
  24150. in: query
  24151. name: biztype
  24152. type: integer
  24153. - description: 现货编号(模糊匹配)
  24154. in: query
  24155. name: contractno
  24156. type: string
  24157. - description: 对手方(模糊匹配)
  24158. in: query
  24159. name: customername
  24160. type: string
  24161. - description: 现货商品名称(模糊匹配)
  24162. in: query
  24163. name: wrstandardname
  24164. type: string
  24165. produces:
  24166. - application/json
  24167. responses:
  24168. "200":
  24169. description: OK
  24170. schema:
  24171. items:
  24172. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  24173. type: array
  24174. "500":
  24175. description: Internal Server Error
  24176. schema:
  24177. $ref: '#/definitions/app.Response'
  24178. security:
  24179. - ApiKeyAuth: []
  24180. summary: 查询现货订单
  24181. tags:
  24182. - 企业风险管理v3(app)
  24183. /Ermcp3/QuerySpotContract:
  24184. get:
  24185. parameters:
  24186. - description: 用户id(当指定contractid, userid可不填)
  24187. in: query
  24188. name: userid
  24189. required: true
  24190. type: integer
  24191. - description: 用户类型 2-机构 7-企业成员
  24192. in: query
  24193. name: usertype
  24194. type: integer
  24195. - description: 合同类型 1-采购, -1-销售
  24196. in: query
  24197. name: contracttype
  24198. type: integer
  24199. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  24200. in: query
  24201. name: querytype
  24202. type: string
  24203. - description: 合同ID(SpotContractId)
  24204. in: query
  24205. name: contractid
  24206. type: string
  24207. - description: 合同编号(模糊匹配)
  24208. in: query
  24209. name: contractno
  24210. type: string
  24211. - description: 商品名称(模糊匹配)
  24212. in: query
  24213. name: wrstandardname
  24214. type: string
  24215. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24216. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24217. in: query
  24218. name: status
  24219. type: string
  24220. - description: 是否只查今日的合同 1-查今日合同
  24221. in: query
  24222. name: istoday
  24223. type: integer
  24224. produces:
  24225. - application/json
  24226. responses:
  24227. "200":
  24228. description: OK
  24229. schema:
  24230. items:
  24231. $ref: '#/definitions/models.Ermcp3Contract'
  24232. type: array
  24233. "500":
  24234. description: Internal Server Error
  24235. schema:
  24236. $ref: '#/definitions/app.Response'
  24237. security:
  24238. - ApiKeyAuth: []
  24239. summary: 查询现货合同
  24240. tags:
  24241. - 企业风险管理v3(app)
  24242. /Ermcp3/QuerySpotContractBS:
  24243. get:
  24244. parameters:
  24245. - description: 用户id
  24246. in: query
  24247. name: userid
  24248. required: true
  24249. type: integer
  24250. - description: 用户类型 2-机构 7-企业成员
  24251. in: query
  24252. name: usertype
  24253. type: integer
  24254. - description: 合同类型 1-采购, -1-销售
  24255. in: query
  24256. name: contracttype
  24257. required: true
  24258. type: integer
  24259. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  24260. in: query
  24261. name: querytype
  24262. type: integer
  24263. - description: 合同ID(SpotContractId)
  24264. in: query
  24265. name: contractid
  24266. type: string
  24267. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  24268. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24269. in: query
  24270. name: status
  24271. type: string
  24272. - description: 是否只查今日的合同 1-查今日合同
  24273. in: query
  24274. name: istoday
  24275. type: integer
  24276. produces:
  24277. - application/json
  24278. responses:
  24279. "200":
  24280. description: OK
  24281. schema:
  24282. items:
  24283. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  24284. type: array
  24285. "500":
  24286. description: Internal Server Error
  24287. schema:
  24288. $ref: '#/definitions/app.Response'
  24289. security:
  24290. - ApiKeyAuth: []
  24291. summary: 查询合同(采购/销售)
  24292. tags:
  24293. - 企业风险管理v3(app)
  24294. /Ermcp3/QuerySpotGoodsPrice:
  24295. get:
  24296. parameters:
  24297. - description: 用户ID
  24298. in: query
  24299. name: userid
  24300. required: true
  24301. type: integer
  24302. produces:
  24303. - application/json
  24304. responses:
  24305. "200":
  24306. description: OK
  24307. schema:
  24308. items:
  24309. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  24310. type: array
  24311. "500":
  24312. description: Internal Server Error
  24313. schema:
  24314. $ref: '#/definitions/app.Response'
  24315. security:
  24316. - ApiKeyAuth: []
  24317. summary: 查询现货市价(现货市价)
  24318. tags:
  24319. - 企业风险管理v3(app)
  24320. /Ermcp3/QuerySpotGoodsPriceLog:
  24321. get:
  24322. parameters:
  24323. - description: 用户ID
  24324. in: query
  24325. name: userid
  24326. required: true
  24327. type: integer
  24328. - description: 现货商品ID
  24329. in: query
  24330. name: deliverygoodsid
  24331. required: true
  24332. type: integer
  24333. - description: 品牌ID
  24334. in: query
  24335. name: brandid
  24336. type: integer
  24337. - description: 品类ID
  24338. in: query
  24339. name: wrstandardid
  24340. type: integer
  24341. produces:
  24342. - application/json
  24343. responses:
  24344. "200":
  24345. description: OK
  24346. schema:
  24347. items:
  24348. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  24349. type: array
  24350. "500":
  24351. description: Internal Server Error
  24352. schema:
  24353. $ref: '#/definitions/app.Response'
  24354. security:
  24355. - ApiKeyAuth: []
  24356. summary: 查询现货市价详情(现货市价/详情)
  24357. tags:
  24358. - 企业风险管理v3(app)
  24359. /Ermcp3/QuerySubTaaccount:
  24360. get:
  24361. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  24362. parameters:
  24363. - description: 母账号id
  24364. in: query
  24365. name: parentaccountid
  24366. type: integer
  24367. - description: 母账号代码
  24368. in: query
  24369. name: parentaccountcode
  24370. type: string
  24371. produces:
  24372. - application/json
  24373. responses:
  24374. "200":
  24375. description: OK
  24376. schema:
  24377. items:
  24378. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  24379. type: array
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 查询期货子账户
  24387. tags:
  24388. - 企业风险管理v3(app)
  24389. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  24390. get:
  24391. parameters:
  24392. - description: 套期项目ID
  24393. in: query
  24394. name: hedgeditemid
  24395. required: true
  24396. type: integer
  24397. produces:
  24398. - application/json
  24399. responses:
  24400. "200":
  24401. description: OK
  24402. schema:
  24403. items:
  24404. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  24405. type: array
  24406. "500":
  24407. description: Internal Server Error
  24408. schema:
  24409. $ref: '#/definitions/app.Response'
  24410. security:
  24411. - ApiKeyAuth: []
  24412. summary: 现货成交明细查询
  24413. tags:
  24414. - 企业风险管理v8
  24415. /Ermcp8/QueryERMCP2HedgedItemspot:
  24416. get:
  24417. parameters:
  24418. - description: 套期项目ID
  24419. in: query
  24420. name: hedgeditemid
  24421. required: true
  24422. type: integer
  24423. produces:
  24424. - application/json
  24425. responses:
  24426. "200":
  24427. description: OK
  24428. schema:
  24429. items:
  24430. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  24431. type: array
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 套期计划明细查询
  24439. tags:
  24440. - 企业风险管理v8
  24441. /Ermcp8/QueryERMCPJRLinkPos:
  24442. get:
  24443. parameters:
  24444. - description: 套期项目ID
  24445. in: query
  24446. name: hedgeditemid
  24447. required: true
  24448. type: integer
  24449. produces:
  24450. - application/json
  24451. responses:
  24452. "200":
  24453. description: OK
  24454. schema:
  24455. items:
  24456. $ref: '#/definitions/models.Ermcpjrlinkpos'
  24457. type: array
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 期货持仓明细查询
  24465. tags:
  24466. - 企业风险管理v8
  24467. /Ermcp8/QueryERMCPPatradeLinkDetail:
  24468. get:
  24469. parameters:
  24470. - description: 套期项目ID
  24471. in: query
  24472. name: hedgeditemid
  24473. required: true
  24474. type: integer
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. items:
  24482. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  24483. type: array
  24484. "500":
  24485. description: Internal Server Error
  24486. schema:
  24487. $ref: '#/definitions/app.Response'
  24488. security:
  24489. - ApiKeyAuth: []
  24490. summary: 期货成交单明细查询
  24491. tags:
  24492. - 企业风险管理v8
  24493. /Ermcp8/QueryErmcp2HedgedItem:
  24494. get:
  24495. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  24496. parameters:
  24497. - description: 用户ID
  24498. in: query
  24499. name: userid
  24500. required: true
  24501. type: string
  24502. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24503. in: query
  24504. name: hedgedtype
  24505. type: integer
  24506. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24507. in: query
  24508. name: hedgeditemstatus
  24509. type: integer
  24510. produces:
  24511. - application/json
  24512. responses:
  24513. "200":
  24514. description: OK
  24515. schema:
  24516. items:
  24517. $ref: '#/definitions/models.Ermcp2hedgeditem'
  24518. type: array
  24519. "500":
  24520. description: Internal Server Error
  24521. schema:
  24522. $ref: '#/definitions/app.Response'
  24523. security:
  24524. - ApiKeyAuth: []
  24525. summary: 查询被套期项目信息
  24526. tags:
  24527. - 企业风险管理v8
  24528. /Ermcp8/QueryErmcp8HedgeditemReport:
  24529. get:
  24530. parameters:
  24531. - description: 用户ID
  24532. in: query
  24533. name: userid
  24534. required: true
  24535. type: integer
  24536. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24537. in: query
  24538. name: cycletype
  24539. type: integer
  24540. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24541. 全(0)【原值】
  24542. in: query
  24543. name: cycletime
  24544. required: true
  24545. type: string
  24546. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  24547. in: query
  24548. name: hedgedtype
  24549. type: integer
  24550. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  24551. in: query
  24552. name: hedgeditemstatus
  24553. type: integer
  24554. - description: 项目编号,模糊查询
  24555. in: query
  24556. name: hedgeditemnum
  24557. type: string
  24558. - description: 现货商品ID
  24559. in: query
  24560. name: wrstandardid
  24561. type: integer
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 套期项目报表查询
  24578. tags:
  24579. - 企业风险管理v8
  24580. /Ermcp8/QueryInternalEnableTradeDetail:
  24581. get:
  24582. parameters:
  24583. - description: 企业ID
  24584. in: query
  24585. name: areauserid
  24586. required: true
  24587. type: integer
  24588. - description: 期货合约ID
  24589. in: query
  24590. name: goodsid
  24591. required: true
  24592. type: integer
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. items:
  24600. $ref: '#/definitions/models.InternalEnableTradeDetail'
  24601. type: array
  24602. "500":
  24603. description: Internal Server Error
  24604. schema:
  24605. $ref: '#/definitions/app.Response'
  24606. security:
  24607. - ApiKeyAuth: []
  24608. summary: 内部成交单可关联项目查询
  24609. tags:
  24610. - 企业风险管理v8
  24611. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  24612. get:
  24613. parameters:
  24614. - description: 用户编号
  24615. in: query
  24616. name: userid
  24617. required: true
  24618. type: integer
  24619. - description: 起始日期(格式yyyymmdd)
  24620. in: query
  24621. name: begindate
  24622. type: string
  24623. - description: 终止日期(格式yyyymmdd)
  24624. in: query
  24625. name: enddate
  24626. type: string
  24627. - description: 合约代码
  24628. in: query
  24629. name: goodscode
  24630. type: string
  24631. - description: 合约名称
  24632. in: query
  24633. name: goodsname
  24634. type: string
  24635. - description: 成交单号
  24636. in: query
  24637. name: tradeid
  24638. type: integer
  24639. - description: 方向 - 0:买 1:卖
  24640. in: query
  24641. name: buyorsell
  24642. type: integer
  24643. - description: 套期主体
  24644. in: query
  24645. name: accountname
  24646. type: string
  24647. produces:
  24648. - application/json
  24649. responses:
  24650. "200":
  24651. description: OK
  24652. schema:
  24653. items:
  24654. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  24655. type: array
  24656. "500":
  24657. description: Internal Server Error
  24658. schema:
  24659. $ref: '#/definitions/app.Response'
  24660. security:
  24661. - ApiKeyAuth: []
  24662. summary: 内部未关联成交单查询
  24663. tags:
  24664. - 企业风险管理v8
  24665. /Erms2/QueryArbitrageStrategy:
  24666. get:
  24667. parameters:
  24668. - description: 账户ID
  24669. in: query
  24670. name: userid
  24671. required: true
  24672. type: integer
  24673. - description: 商品组ID(品种ID)
  24674. in: query
  24675. name: goodsgroupid
  24676. type: string
  24677. produces:
  24678. - application/json
  24679. responses:
  24680. "200":
  24681. description: OK
  24682. schema:
  24683. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  24684. "500":
  24685. description: Internal Server Error
  24686. schema:
  24687. $ref: '#/definitions/app.Response'
  24688. security:
  24689. - ApiKeyAuth: []
  24690. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  24691. tags:
  24692. - 风险管理
  24693. /Erms2/QueryInnerTradeDetail:
  24694. get:
  24695. parameters:
  24696. - description: 资金账户
  24697. in: query
  24698. name: accountid
  24699. required: true
  24700. type: integer
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  24708. "500":
  24709. description: Internal Server Error
  24710. schema:
  24711. $ref: '#/definitions/app.Response'
  24712. security:
  24713. - ApiKeyAuth: []
  24714. summary: 查询内部成交单信息
  24715. tags:
  24716. - 风险管理
  24717. /Erms2/QuerySpotContract:
  24718. get:
  24719. parameters:
  24720. - description: 策略申请ID
  24721. in: query
  24722. name: asapplyid
  24723. required: true
  24724. type: integer
  24725. - description: 现货合同ID
  24726. in: query
  24727. name: spotcontractid
  24728. type: integer
  24729. produces:
  24730. - application/json
  24731. responses:
  24732. "200":
  24733. description: OK
  24734. schema:
  24735. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  24736. "500":
  24737. description: Internal Server Error
  24738. schema:
  24739. $ref: '#/definitions/app.Response'
  24740. security:
  24741. - ApiKeyAuth: []
  24742. summary: 查询现货合同表信息(指定策略ID、未结束的)
  24743. tags:
  24744. - 风险管理
  24745. /Erms3/AddErms2ASApply:
  24746. post:
  24747. parameters:
  24748. - description: 申请参数
  24749. in: body
  24750. name: jsonBody
  24751. required: true
  24752. schema:
  24753. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  24754. produces:
  24755. - application/json
  24756. responses:
  24757. "200":
  24758. description: OK
  24759. schema:
  24760. $ref: '#/definitions/app.Response'
  24761. "500":
  24762. description: Internal Server Error
  24763. schema:
  24764. $ref: '#/definitions/app.Response'
  24765. security:
  24766. - ApiKeyAuth: []
  24767. summary: 新增期现套利业务申请
  24768. tags:
  24769. - 风险管理v3
  24770. /Erms3/AddErms2SpotTradeApply:
  24771. post:
  24772. parameters:
  24773. - description: 申请参数
  24774. in: body
  24775. name: jsonBody
  24776. required: true
  24777. schema:
  24778. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  24779. produces:
  24780. - application/json
  24781. responses:
  24782. "200":
  24783. description: OK
  24784. schema:
  24785. $ref: '#/definitions/app.Response'
  24786. "500":
  24787. description: Internal Server Error
  24788. schema:
  24789. $ref: '#/definitions/app.Response'
  24790. security:
  24791. - ApiKeyAuth: []
  24792. summary: 新增现货贸易业务申请
  24793. tags:
  24794. - 风险管理v3
  24795. /Erms3/AddSpotContractApply:
  24796. post:
  24797. parameters:
  24798. - description: 申请参数
  24799. in: body
  24800. name: jsonBody
  24801. required: true
  24802. schema:
  24803. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  24804. produces:
  24805. - application/json
  24806. responses:
  24807. "200":
  24808. description: OK
  24809. schema:
  24810. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  24811. "500":
  24812. description: Internal Server Error
  24813. schema:
  24814. $ref: '#/definitions/app.Response'
  24815. security:
  24816. - ApiKeyAuth: []
  24817. summary: 新增现货合同申请
  24818. tags:
  24819. - 风险管理v3
  24820. /Erms3/AddUserInfoApply:
  24821. post:
  24822. parameters:
  24823. - description: 用户信息
  24824. in: body
  24825. name: jsonBody
  24826. required: true
  24827. schema:
  24828. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. $ref: '#/definitions/app.Response'
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 新增客户申请
  24843. tags:
  24844. - 风险管理v3
  24845. /Erms3/DeleteUserInfoApply:
  24846. get:
  24847. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  24848. parameters:
  24849. - description: 用户ID
  24850. in: query
  24851. name: userID
  24852. required: true
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. $ref: '#/definitions/app.Response'
  24861. "500":
  24862. description: Internal Server Error
  24863. schema:
  24864. $ref: '#/definitions/app.Response'
  24865. security:
  24866. - ApiKeyAuth: []
  24867. summary: 删除客户申请
  24868. tags:
  24869. - 风险管理v3
  24870. /Erms3/ModifyUserInfoApply:
  24871. post:
  24872. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  24873. int, "userstate": 2 }'
  24874. parameters:
  24875. - description: 用户信息
  24876. in: body
  24877. name: jsonBody
  24878. required: true
  24879. schema:
  24880. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  24881. produces:
  24882. - application/json
  24883. responses:
  24884. "200":
  24885. description: OK
  24886. schema:
  24887. $ref: '#/definitions/app.Response'
  24888. "500":
  24889. description: Internal Server Error
  24890. schema:
  24891. $ref: '#/definitions/app.Response'
  24892. security:
  24893. - ApiKeyAuth: []
  24894. summary: 修改客户申请
  24895. tags:
  24896. - 风险管理v3
  24897. /Erms3/QueryBusinessInfo:
  24898. get:
  24899. parameters:
  24900. - description: 资金账号ID列表,用逗号分隔
  24901. in: query
  24902. name: accountids
  24903. required: true
  24904. type: string
  24905. - description: 状态,0为未结束 1为已结束
  24906. in: query
  24907. name: status
  24908. required: true
  24909. type: integer
  24910. produces:
  24911. - application/json
  24912. responses:
  24913. "200":
  24914. description: OK
  24915. schema:
  24916. items:
  24917. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  24918. type: array
  24919. "500":
  24920. description: Internal Server Error
  24921. schema:
  24922. $ref: '#/definitions/app.Response'
  24923. security:
  24924. - ApiKeyAuth: []
  24925. summary: 查询业务表单数据
  24926. tags:
  24927. - 风险管理v3
  24928. /Erms3/QueryPendingAuditContract:
  24929. get:
  24930. parameters:
  24931. - description: 资金账号ID列表,逗号隔开
  24932. in: query
  24933. name: accountids
  24934. required: true
  24935. type: string
  24936. - description: 合同类型 1-采购 -1-销售
  24937. in: query
  24938. name: contracttype
  24939. required: true
  24940. type: integer
  24941. - description: 合同模式 1-普通 2-回购
  24942. in: query
  24943. name: contractmode
  24944. required: true
  24945. type: integer
  24946. produces:
  24947. - application/json
  24948. responses:
  24949. "200":
  24950. description: OK
  24951. schema:
  24952. items:
  24953. $ref: '#/definitions/erms3.QryAuditContractRsp'
  24954. type: array
  24955. "500":
  24956. description: Internal Server Error
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. security:
  24960. - ApiKeyAuth: []
  24961. summary: 查询待审核合同
  24962. tags:
  24963. - 风险管理v3
  24964. /Erms3/QueryPendingBusiness:
  24965. get:
  24966. parameters:
  24967. - description: 资金账号ID列表,逗号隔开
  24968. in: query
  24969. name: accountids
  24970. required: true
  24971. type: string
  24972. produces:
  24973. - application/json
  24974. responses:
  24975. "200":
  24976. description: OK
  24977. schema:
  24978. items:
  24979. $ref: '#/definitions/erms3.QryPendingBizRsp'
  24980. type: array
  24981. "500":
  24982. description: Internal Server Error
  24983. schema:
  24984. $ref: '#/definitions/app.Response'
  24985. security:
  24986. - ApiKeyAuth: []
  24987. summary: 查询待审核基差贸易业务
  24988. tags:
  24989. - 风险管理v3
  24990. /Erms3/QuerySpotContractAppleForm:
  24991. get:
  24992. parameters:
  24993. - description: 登录账号
  24994. in: query
  24995. name: loginID
  24996. required: true
  24997. type: integer
  24998. produces:
  24999. - application/json
  25000. responses:
  25001. "200":
  25002. description: OK
  25003. schema:
  25004. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  25005. "500":
  25006. description: Internal Server Error
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. security:
  25010. - ApiKeyAuth: []
  25011. summary: 查询合同申请表单数据
  25012. tags:
  25013. - 风险管理v3
  25014. /Erms3/QuerySpotContractDetail:
  25015. get:
  25016. parameters:
  25017. - description: 资金账号ID列表,用逗号分隔
  25018. in: query
  25019. name: accountids
  25020. required: true
  25021. type: string
  25022. - description: 合同类型,1为采购合同 -1为销售合同
  25023. in: query
  25024. name: contracttype
  25025. required: true
  25026. type: integer
  25027. - description: 合同模式,1为普通合同 2为回购销售合同
  25028. in: query
  25029. name: contractmode
  25030. required: true
  25031. type: integer
  25032. - description: 状态,0为履约中 1为已完成
  25033. in: query
  25034. name: status
  25035. required: true
  25036. type: integer
  25037. produces:
  25038. - application/json
  25039. responses:
  25040. "200":
  25041. description: OK
  25042. schema:
  25043. items:
  25044. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  25045. type: array
  25046. "500":
  25047. description: Internal Server Error
  25048. schema:
  25049. $ref: '#/definitions/app.Response'
  25050. security:
  25051. - ApiKeyAuth: []
  25052. summary: 查询合同详细信息
  25053. tags:
  25054. - 风险管理v3
  25055. /Erms3/QueryUserInfoApplies:
  25056. get:
  25057. parameters:
  25058. - description: 页码
  25059. in: query
  25060. name: page
  25061. type: integer
  25062. - description: 每页条数
  25063. in: query
  25064. name: pagesize
  25065. type: integer
  25066. - description: 客户名称,支持模糊查询
  25067. in: query
  25068. name: userName
  25069. type: string
  25070. produces:
  25071. - application/json
  25072. responses:
  25073. "200":
  25074. description: OK
  25075. schema:
  25076. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  25077. "500":
  25078. description: Internal Server Error
  25079. schema:
  25080. $ref: '#/definitions/app.Response'
  25081. security:
  25082. - ApiKeyAuth: []
  25083. summary: 客户申请信息查询
  25084. tags:
  25085. - 风险管理v3
  25086. /Erms3/QueryUserInfos:
  25087. get:
  25088. parameters:
  25089. - description: 页码
  25090. in: query
  25091. name: page
  25092. type: integer
  25093. - description: 每页条数
  25094. in: query
  25095. name: pagesize
  25096. type: integer
  25097. - description: 客户名称,支持模糊查询
  25098. in: query
  25099. name: userName
  25100. type: string
  25101. produces:
  25102. - application/json
  25103. responses:
  25104. "200":
  25105. description: OK
  25106. schema:
  25107. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  25108. "500":
  25109. description: Internal Server Error
  25110. schema:
  25111. $ref: '#/definitions/app.Response'
  25112. security:
  25113. - ApiKeyAuth: []
  25114. summary: 客户信息查询
  25115. tags:
  25116. - 风险管理v3
  25117. /HSBY/GetHsbyMyCount:
  25118. get:
  25119. description: 说明: 不包括已完成的数量。
  25120. parameters:
  25121. - description: 资金账户列表,格式:1,2,3
  25122. in: query
  25123. name: accountIDs
  25124. required: true
  25125. type: string
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  25133. "500":
  25134. description: Internal Server Error
  25135. schema:
  25136. $ref: '#/definitions/app.Response'
  25137. security:
  25138. - ApiKeyAuth: []
  25139. summary: 获取我的订单与包裹数量
  25140. tags:
  25141. - 定制【海商报业】
  25142. /HSBY/QueryClientFixedADConfigs:
  25143. get:
  25144. produces:
  25145. - application/json
  25146. responses:
  25147. "200":
  25148. description: OK
  25149. schema:
  25150. $ref: '#/definitions/models.Clientfixedadconfig'
  25151. "500":
  25152. description: Internal Server Error
  25153. schema:
  25154. $ref: '#/definitions/app.Response'
  25155. security:
  25156. - ApiKeyAuth: []
  25157. summary: 获取终端固定广告配置
  25158. tags:
  25159. - 定制【海商报业】
  25160. /HSBY/QueryHsbyBuyMyTradeDetail:
  25161. get:
  25162. parameters:
  25163. - description: 页码
  25164. in: query
  25165. name: page
  25166. type: integer
  25167. - description: 每页条数
  25168. in: query
  25169. name: pagesize
  25170. type: integer
  25171. - description: 资金账户列表,格式:1,2,3
  25172. in: query
  25173. name: accountIDs
  25174. required: true
  25175. type: string
  25176. produces:
  25177. - application/json
  25178. responses:
  25179. "200":
  25180. description: OK
  25181. schema:
  25182. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  25183. "500":
  25184. description: Internal Server Error
  25185. schema:
  25186. $ref: '#/definitions/app.Response'
  25187. security:
  25188. - ApiKeyAuth: []
  25189. summary: 查询"我的订单 - 已完成"单据信息
  25190. tags:
  25191. - 定制【海商报业】
  25192. /HSBY/QueryHsbyGoodsOrderDetails:
  25193. get:
  25194. description: 说明:查询结果已按委托价格和委托时间排序
  25195. parameters:
  25196. - description: 商品ID
  25197. in: query
  25198. name: goodsID
  25199. required: true
  25200. type: integer
  25201. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  25202. in: query
  25203. name: accountIDs
  25204. type: string
  25205. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  25206. in: query
  25207. name: buyOrSell
  25208. type: integer
  25209. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  25210. in: query
  25211. name: price
  25212. type: number
  25213. - description: 档位,不传则默认为3档
  25214. in: query
  25215. name: speed
  25216. type: integer
  25217. produces:
  25218. - application/json
  25219. responses:
  25220. "200":
  25221. description: OK
  25222. schema:
  25223. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  25224. "500":
  25225. description: Internal Server Error
  25226. schema:
  25227. $ref: '#/definitions/app.Response'
  25228. security:
  25229. - ApiKeyAuth: []
  25230. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  25231. tags:
  25232. - 定制【海商报业】
  25233. /HSBY/QueryHsbyListingGoodsDetail:
  25234. get:
  25235. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  25236. parameters:
  25237. - description: 商品ID
  25238. in: query
  25239. name: goodsID
  25240. required: true
  25241. type: integer
  25242. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  25243. in: query
  25244. name: accountID
  25245. type: integer
  25246. produces:
  25247. - application/json
  25248. responses:
  25249. "200":
  25250. description: OK
  25251. schema:
  25252. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  25253. "500":
  25254. description: Internal Server Error
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. security:
  25258. - ApiKeyAuth: []
  25259. summary: 查询二级市场(挂牌点选)商品信息详情
  25260. tags:
  25261. - 定制【海商报业】
  25262. /HSBY/QueryHsbyMarketGoodsDetail:
  25263. get:
  25264. parameters:
  25265. - description: 委托单号
  25266. in: query
  25267. name: orderID
  25268. required: true
  25269. type: integer
  25270. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  25271. in: query
  25272. name: accountID
  25273. type: integer
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25281. "500":
  25282. description: Internal Server Error
  25283. schema:
  25284. $ref: '#/definitions/app.Response'
  25285. security:
  25286. - ApiKeyAuth: []
  25287. summary: 查询三级市场(商城)商品信息详情
  25288. tags:
  25289. - 定制【海商报业】
  25290. /HSBY/QueryHsbyMarketGoodses:
  25291. get:
  25292. parameters:
  25293. - description: 页码
  25294. in: query
  25295. name: page
  25296. type: integer
  25297. - description: 每页条数
  25298. in: query
  25299. name: pagesize
  25300. type: integer
  25301. - description: 市场ID列表,格式:1,2,3
  25302. in: query
  25303. name: marketIDs
  25304. required: true
  25305. type: string
  25306. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  25307. in: query
  25308. name: accountID
  25309. required: true
  25310. type: integer
  25311. - description: 类别ID
  25312. in: query
  25313. name: categoryID
  25314. type: integer
  25315. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25316. in: query
  25317. name: goodsIDs
  25318. type: string
  25319. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  25320. in: query
  25321. name: couponTypeID
  25322. type: integer
  25323. produces:
  25324. - application/json
  25325. responses:
  25326. "200":
  25327. description: OK
  25328. schema:
  25329. $ref: '#/definitions/models.HsbyMarketGoods'
  25330. "500":
  25331. description: Internal Server Error
  25332. schema:
  25333. $ref: '#/definitions/app.Response'
  25334. security:
  25335. - ApiKeyAuth: []
  25336. summary: 查询特卖商品列表(三级商城)
  25337. tags:
  25338. - 定制【海商报业】
  25339. /HSBY/QueryHsbyMarkets:
  25340. get:
  25341. produces:
  25342. - application/json
  25343. responses:
  25344. "200":
  25345. description: OK
  25346. schema:
  25347. $ref: '#/definitions/models.HsbyMarketInfo'
  25348. "500":
  25349. description: Internal Server Error
  25350. schema:
  25351. $ref: '#/definitions/app.Response'
  25352. security:
  25353. - ApiKeyAuth: []
  25354. summary: 查询海商报业相关市场信息
  25355. tags:
  25356. - 定制【海商报业】
  25357. /HSBY/QueryHsbyMyBuyOrderDetails:
  25358. get:
  25359. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  25360. parameters:
  25361. - description: 资金账户列表,格式:1,2,3
  25362. in: query
  25363. name: accountIDs
  25364. required: true
  25365. type: string
  25366. produces:
  25367. - application/json
  25368. responses:
  25369. "200":
  25370. description: OK
  25371. schema:
  25372. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  25373. "500":
  25374. description: Internal Server Error
  25375. schema:
  25376. $ref: '#/definitions/app.Response'
  25377. security:
  25378. - ApiKeyAuth: []
  25379. summary: 查询“我的订单”信息
  25380. tags:
  25381. - 定制【海商报业】
  25382. /HSBY/QueryHsbyMyGoods:
  25383. get:
  25384. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  25385. parameters:
  25386. - description: 资金账户列表,格式:1,2,3
  25387. in: query
  25388. name: accountIDs
  25389. required: true
  25390. type: string
  25391. produces:
  25392. - application/json
  25393. responses:
  25394. "200":
  25395. description: OK
  25396. schema:
  25397. $ref: '#/definitions/models.HsbyMyGoods'
  25398. "500":
  25399. description: Internal Server Error
  25400. schema:
  25401. $ref: '#/definitions/app.Response'
  25402. security:
  25403. - ApiKeyAuth: []
  25404. summary: 查询“我的商品”信息
  25405. tags:
  25406. - 定制【海商报业】
  25407. /HSBY/QueryHsbyMyPackages:
  25408. get:
  25409. parameters:
  25410. - description: 资金账户列表,格式:1,2,3
  25411. in: query
  25412. name: accountIDs
  25413. required: true
  25414. type: string
  25415. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25416. in: query
  25417. name: takeOrderStatus
  25418. type: integer
  25419. produces:
  25420. - application/json
  25421. responses:
  25422. "200":
  25423. description: OK
  25424. schema:
  25425. $ref: '#/definitions/models.HsbyMyPackage'
  25426. "500":
  25427. description: Internal Server Error
  25428. schema:
  25429. $ref: '#/definitions/app.Response'
  25430. security:
  25431. - ApiKeyAuth: []
  25432. summary: 查询我的包裹信息
  25433. tags:
  25434. - 定制【海商报业】
  25435. /HSBY/QueryHsbyPreGoodsDetail:
  25436. get:
  25437. parameters:
  25438. - description: 商品ID
  25439. in: query
  25440. name: goodsID
  25441. required: true
  25442. type: integer
  25443. - description: 资金账户,主要用于获取预售商品购买上限
  25444. in: query
  25445. name: accountID
  25446. type: integer
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  25454. "500":
  25455. description: Internal Server Error
  25456. schema:
  25457. $ref: '#/definitions/app.Response'
  25458. security:
  25459. - ApiKeyAuth: []
  25460. summary: 查询一级市场(预售)商品信息详情
  25461. tags:
  25462. - 定制【海商报业】
  25463. /HSBY/QueryHsbyPreGoodses:
  25464. get:
  25465. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  25466. parameters:
  25467. - description: 页码
  25468. in: query
  25469. name: page
  25470. type: integer
  25471. - description: 每页条数
  25472. in: query
  25473. name: pagesize
  25474. type: integer
  25475. - description: 市场ID列表,格式:1,2,3
  25476. in: query
  25477. name: marketIDs
  25478. required: true
  25479. type: string
  25480. - description: 目的地(省)ID
  25481. in: query
  25482. name: descProvinceID
  25483. type: integer
  25484. - description: 目的地(市)ID
  25485. in: query
  25486. name: descCityID
  25487. type: integer
  25488. produces:
  25489. - application/json
  25490. responses:
  25491. "200":
  25492. description: OK
  25493. schema:
  25494. $ref: '#/definitions/models.HsbyPreGoods'
  25495. "500":
  25496. description: Internal Server Error
  25497. schema:
  25498. $ref: '#/definitions/app.Response'
  25499. security:
  25500. - ApiKeyAuth: []
  25501. summary: 查询新品上市商品列表(一级市场预售)
  25502. tags:
  25503. - 定制【海商报业】
  25504. /HSBY/QueryHsbySellMyDetails:
  25505. get:
  25506. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  25507. parameters:
  25508. - description: 页码
  25509. in: query
  25510. name: page
  25511. type: integer
  25512. - description: 每页条数
  25513. in: query
  25514. name: pagesize
  25515. type: integer
  25516. - description: 资金账户列表,格式:1,2,3
  25517. in: query
  25518. name: accountIDs
  25519. required: true
  25520. type: string
  25521. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  25522. in: query
  25523. name: orderType
  25524. type: integer
  25525. produces:
  25526. - application/json
  25527. responses:
  25528. "200":
  25529. description: OK
  25530. schema:
  25531. $ref: '#/definitions/models.HsbySellMyDetail'
  25532. "500":
  25533. description: Internal Server Error
  25534. schema:
  25535. $ref: '#/definitions/app.Response'
  25536. security:
  25537. - ApiKeyAuth: []
  25538. summary: 查询"我的闲置"单据信息
  25539. tags:
  25540. - 定制【海商报业】
  25541. /HSBY/QueryHsbyTopGoodses:
  25542. get:
  25543. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  25544. parameters:
  25545. - description: 页码
  25546. in: query
  25547. name: page
  25548. type: integer
  25549. - description: 每页条数
  25550. in: query
  25551. name: pagesize
  25552. type: integer
  25553. - description: 市场ID列表,格式:1,2,3
  25554. in: query
  25555. name: marketIDs
  25556. required: true
  25557. type: string
  25558. - description: 目的地(省)ID
  25559. in: query
  25560. name: descProvinceID
  25561. type: integer
  25562. - description: 目的地(市)ID
  25563. in: query
  25564. name: descCityID
  25565. type: integer
  25566. produces:
  25567. - application/json
  25568. responses:
  25569. "200":
  25570. description: OK
  25571. schema:
  25572. $ref: '#/definitions/models.HsbyTopGoods'
  25573. "500":
  25574. description: Internal Server Error
  25575. schema:
  25576. $ref: '#/definitions/app.Response'
  25577. security:
  25578. - ApiKeyAuth: []
  25579. summary: 查询热卖商品列表(二级市场挂牌点选)
  25580. tags:
  25581. - 定制【海商报业】
  25582. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  25583. get:
  25584. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  25585. parameters:
  25586. - description: 商品ID
  25587. in: query
  25588. name: goodsID
  25589. required: true
  25590. type: integer
  25591. produces:
  25592. - application/json
  25593. responses:
  25594. "200":
  25595. description: OK
  25596. schema:
  25597. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  25598. "500":
  25599. description: Internal Server Error
  25600. schema:
  25601. $ref: '#/definitions/app.Response'
  25602. security:
  25603. - ApiKeyAuth: []
  25604. summary: 查询游客三级市场(商城)商品信息详情
  25605. tags:
  25606. - 定制【海商报业】
  25607. /HSBY/QueryHsbyVisitorMarketGoodses:
  25608. get:
  25609. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  25610. parameters:
  25611. - description: 页码
  25612. in: query
  25613. name: page
  25614. type: integer
  25615. - description: 每页条数
  25616. in: query
  25617. name: pagesize
  25618. type: integer
  25619. - description: 市场ID列表,格式:1,2,3
  25620. in: query
  25621. name: marketIDs
  25622. required: true
  25623. type: string
  25624. - description: 类别ID
  25625. in: query
  25626. name: categoryID
  25627. type: integer
  25628. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  25629. in: query
  25630. name: goodsIDs
  25631. type: string
  25632. produces:
  25633. - application/json
  25634. responses:
  25635. "200":
  25636. description: OK
  25637. schema:
  25638. $ref: '#/definitions/models.HsbyMarketGoods'
  25639. "500":
  25640. description: Internal Server Error
  25641. schema:
  25642. $ref: '#/definitions/app.Response'
  25643. security:
  25644. - ApiKeyAuth: []
  25645. summary: 查询游客特卖商品列表(三级商城)
  25646. tags:
  25647. - 定制【海商报业】
  25648. /HSBY/QueryMyCollectionOrders:
  25649. get:
  25650. parameters:
  25651. - description: 页码
  25652. in: query
  25653. name: page
  25654. type: integer
  25655. - description: 每页条数
  25656. in: query
  25657. name: pagesize
  25658. type: integer
  25659. - description: 资金账户,格式:1,2,3
  25660. in: query
  25661. name: accountIDs
  25662. required: true
  25663. type: string
  25664. produces:
  25665. - application/json
  25666. responses:
  25667. "200":
  25668. description: OK
  25669. schema:
  25670. $ref: '#/definitions/models.HsbySellCollectionOrder'
  25671. "500":
  25672. description: Internal Server Error
  25673. schema:
  25674. $ref: '#/definitions/app.Response'
  25675. security:
  25676. - ApiKeyAuth: []
  25677. summary: 我的闲置中收款信息查询
  25678. tags:
  25679. - 定制【海商报业】
  25680. /HSBY/QueryMyCouponHolds:
  25681. get:
  25682. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  25683. parameters:
  25684. - description: 资金账户列表,格式:1,2,3
  25685. in: query
  25686. name: accountIDs
  25687. required: true
  25688. type: string
  25689. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  25690. in: query
  25691. name: holdStatus
  25692. type: string
  25693. produces:
  25694. - application/json
  25695. responses:
  25696. "200":
  25697. description: OK
  25698. schema:
  25699. $ref: '#/definitions/models.MyCouponHold'
  25700. "500":
  25701. description: Internal Server Error
  25702. schema:
  25703. $ref: '#/definitions/app.Response'
  25704. security:
  25705. - ApiKeyAuth: []
  25706. summary: 我的优惠卷持仓查询
  25707. tags:
  25708. - 定制【海商报业】
  25709. /HSBY/QueryMyCoupons:
  25710. get:
  25711. parameters:
  25712. - description: 资金账户列表,格式:1,2,3
  25713. in: query
  25714. name: accountIDs
  25715. required: true
  25716. type: string
  25717. - description: 商品ID, 一般与sellUserID配套传入
  25718. in: query
  25719. name: goodsID
  25720. type: integer
  25721. - description: 卖方UserID
  25722. in: query
  25723. name: sellUserID
  25724. type: integer
  25725. produces:
  25726. - application/json
  25727. responses:
  25728. "200":
  25729. description: OK
  25730. schema:
  25731. $ref: '#/definitions/models.MyCoupon'
  25732. "500":
  25733. description: Internal Server Error
  25734. schema:
  25735. $ref: '#/definitions/app.Response'
  25736. security:
  25737. - ApiKeyAuth: []
  25738. summary: 我的优惠卷查询
  25739. tags:
  25740. - 定制【海商报业】
  25741. /HSBY/QueryMyPayOrders:
  25742. get:
  25743. parameters:
  25744. - description: 页码
  25745. in: query
  25746. name: page
  25747. type: integer
  25748. - description: 每页条数
  25749. in: query
  25750. name: pagesize
  25751. type: integer
  25752. - description: 资金账户列表,格式:1,2,3
  25753. in: query
  25754. name: accountIDs
  25755. required: true
  25756. type: string
  25757. - description: 买方委托单号
  25758. in: query
  25759. name: buyOrderID
  25760. type: integer
  25761. - description: 卖方委托单号
  25762. in: query
  25763. name: sellOrderID
  25764. type: integer
  25765. produces:
  25766. - application/json
  25767. responses:
  25768. "200":
  25769. description: OK
  25770. schema:
  25771. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  25772. "500":
  25773. description: Internal Server Error
  25774. schema:
  25775. $ref: '#/definitions/app.Response'
  25776. security:
  25777. - ApiKeyAuth: []
  25778. summary: 获取我的订单中待付款信息
  25779. tags:
  25780. - 定制【海商报业】
  25781. /HSBY/QueryMyUsedCoupon:
  25782. get:
  25783. parameters:
  25784. - description: 资金账户列表,格式:1,2,3
  25785. in: query
  25786. name: accountIDs
  25787. required: true
  25788. type: string
  25789. produces:
  25790. - application/json
  25791. responses:
  25792. "200":
  25793. description: OK
  25794. schema:
  25795. $ref: '#/definitions/models.MyUsedCoupon'
  25796. "500":
  25797. description: Internal Server Error
  25798. schema:
  25799. $ref: '#/definitions/app.Response'
  25800. security:
  25801. - ApiKeyAuth: []
  25802. summary: 已使用优惠卷查询
  25803. tags:
  25804. - 定制【海商报业】
  25805. /HSBY/QueryProvincesAndCities:
  25806. get:
  25807. description: 查询结果只包括二级市场商品已关连的省市信息。
  25808. parameters:
  25809. - description: 省ID
  25810. in: query
  25811. name: provinceID
  25812. type: integer
  25813. produces:
  25814. - application/json
  25815. responses:
  25816. "200":
  25817. description: OK
  25818. schema:
  25819. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  25820. "500":
  25821. description: Internal Server Error
  25822. schema:
  25823. $ref: '#/definitions/app.Response'
  25824. security:
  25825. - ApiKeyAuth: []
  25826. summary: 查询省市信息(不包括区)
  25827. tags:
  25828. - 定制【海商报业】
  25829. /HSBY/SetHsbyMyPackagesStatus:
  25830. post:
  25831. parameters:
  25832. - description: 提货单号
  25833. in: query
  25834. name: takeOrderID
  25835. required: true
  25836. type: string
  25837. - description: 资金账号
  25838. in: query
  25839. name: accountID
  25840. required: true
  25841. type: integer
  25842. produces:
  25843. - application/json
  25844. responses:
  25845. "200":
  25846. description: OK
  25847. schema:
  25848. $ref: '#/definitions/app.Response'
  25849. "500":
  25850. description: Internal Server Error
  25851. schema:
  25852. $ref: '#/definitions/app.Response'
  25853. security:
  25854. - ApiKeyAuth: []
  25855. summary: 设置我的包裹已收货状态
  25856. tags:
  25857. - 定制【海商报业】
  25858. /Market/GetAllExExchanges:
  25859. get:
  25860. produces:
  25861. - application/json
  25862. responses:
  25863. "200":
  25864. description: OK
  25865. schema:
  25866. $ref: '#/definitions/models.Goods'
  25867. "500":
  25868. description: Internal Server Error
  25869. schema:
  25870. $ref: '#/definitions/app.Response'
  25871. security:
  25872. - ApiKeyAuth: []
  25873. summary: 获取所有外部交易所信息
  25874. tags:
  25875. - 通用市场
  25876. /Market/QueryGoodsesByLoginID:
  25877. get:
  25878. parameters:
  25879. - description: 登录账号
  25880. in: query
  25881. name: loginID
  25882. required: true
  25883. type: integer
  25884. - description: 市场ID列表,格式:1,2,3
  25885. in: query
  25886. name: marketIDs
  25887. type: string
  25888. produces:
  25889. - application/json
  25890. responses:
  25891. "200":
  25892. description: OK
  25893. schema:
  25894. $ref: '#/definitions/models.Goods'
  25895. "500":
  25896. description: Internal Server Error
  25897. schema:
  25898. $ref: '#/definitions/app.Response'
  25899. security:
  25900. - ApiKeyAuth: []
  25901. summary: 获取登录账号有权限的商品信息
  25902. tags:
  25903. - 通用市场
  25904. /Market/QueryMarketRun:
  25905. get:
  25906. parameters:
  25907. - description: 市场ID,不传返回所有
  25908. in: query
  25909. name: marketID
  25910. type: integer
  25911. produces:
  25912. - application/json
  25913. responses:
  25914. "200":
  25915. description: OK
  25916. schema:
  25917. $ref: '#/definitions/models.Marketrun'
  25918. "500":
  25919. description: Internal Server Error
  25920. schema:
  25921. $ref: '#/definitions/app.Response'
  25922. security:
  25923. - ApiKeyAuth: []
  25924. summary: 查询市场运行信息
  25925. tags:
  25926. - 通用市场
  25927. /Market/QueryMarketsByLoginID:
  25928. get:
  25929. parameters:
  25930. - description: 登录账号
  25931. in: query
  25932. name: loginID
  25933. required: true
  25934. type: integer
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. $ref: '#/definitions/models.Market'
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 获取登录账号有权限的市场信息
  25949. tags:
  25950. - 通用市场
  25951. /Order/QueryHisTradeDetail:
  25952. get:
  25953. parameters:
  25954. - description: 资金账户 - 格式:1,2,3
  25955. in: query
  25956. name: accountID
  25957. required: true
  25958. type: string
  25959. - description: 成交单号
  25960. in: query
  25961. name: tradeID
  25962. type: integer
  25963. - description: 委托单号
  25964. in: query
  25965. name: orderID
  25966. type: integer
  25967. - description: 商品ID
  25968. in: query
  25969. name: goodsID
  25970. type: integer
  25971. - description: 交易模式 - 格式:1,2,3
  25972. in: query
  25973. name: tradeMode
  25974. type: string
  25975. - description: 委托单据类型
  25976. in: query
  25977. name: buildType
  25978. type: integer
  25979. - description: 成交类别 - 格式:1,2,3
  25980. in: query
  25981. name: tradeType
  25982. type: string
  25983. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25984. in: query
  25985. name: startDate
  25986. type: string
  25987. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25988. in: query
  25989. name: endDate
  25990. type: string
  25991. produces:
  25992. - application/json
  25993. responses:
  25994. "200":
  25995. description: OK
  25996. schema:
  25997. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  25998. "500":
  25999. description: Internal Server Error
  26000. schema:
  26001. $ref: '#/definitions/app.Response'
  26002. security:
  26003. - ApiKeyAuth: []
  26004. summary: 历史成交单查询(合约市场)
  26005. tags:
  26006. - 通用单据
  26007. /Order/QueryHisTradeOrderDetail:
  26008. get:
  26009. parameters:
  26010. - description: 资金账户 - 格式:1,2,3
  26011. in: query
  26012. name: accountID
  26013. required: true
  26014. type: string
  26015. - description: 交易模式 - 格式:1,2,3
  26016. in: query
  26017. name: tradeMode
  26018. type: string
  26019. - description: 委托状态 - 格式:1,2,3
  26020. in: query
  26021. name: orderStatus
  26022. type: string
  26023. - description: 委托单号
  26024. in: query
  26025. name: orderID
  26026. type: integer
  26027. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26028. in: query
  26029. name: startDate
  26030. type: string
  26031. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26032. in: query
  26033. name: endDate
  26034. type: string
  26035. produces:
  26036. - application/json
  26037. responses:
  26038. "200":
  26039. description: OK
  26040. schema:
  26041. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  26042. "500":
  26043. description: Internal Server Error
  26044. schema:
  26045. $ref: '#/definitions/app.Response'
  26046. security:
  26047. - ApiKeyAuth: []
  26048. summary: 历史委托单查询请求(合约市场)
  26049. tags:
  26050. - 通用单据
  26051. /Order/QueryTradeDetail:
  26052. get:
  26053. parameters:
  26054. - description: 资金账户 - 格式:1,2,3
  26055. in: query
  26056. name: accountID
  26057. required: true
  26058. type: string
  26059. - description: 成交单号
  26060. in: query
  26061. name: tradeID
  26062. type: integer
  26063. - description: 委托单号
  26064. in: query
  26065. name: orderID
  26066. type: integer
  26067. - description: 交易模式 - 格式:1,2,3
  26068. in: query
  26069. name: tradeMode
  26070. type: string
  26071. - description: 委托单据类型
  26072. in: query
  26073. name: buildType
  26074. type: integer
  26075. - description: 成交类别 - 格式:1,2,3
  26076. in: query
  26077. name: tradeType
  26078. type: string
  26079. - description: 商品ID
  26080. in: query
  26081. name: goodsID
  26082. type: integer
  26083. produces:
  26084. - application/json
  26085. responses:
  26086. "200":
  26087. description: OK
  26088. schema:
  26089. $ref: '#/definitions/order.QueryTradeDetailRsp'
  26090. "500":
  26091. description: Internal Server Error
  26092. schema:
  26093. $ref: '#/definitions/app.Response'
  26094. security:
  26095. - ApiKeyAuth: []
  26096. summary: 成交单查询(合约市场)
  26097. tags:
  26098. - 通用单据
  26099. /Order/QueryTradeHolderDetail:
  26100. get:
  26101. parameters:
  26102. - description: 用户id
  26103. in: query
  26104. name: userid
  26105. type: integer
  26106. - description: 资金账号, 格式 1,2,3
  26107. in: query
  26108. name: accids
  26109. type: string
  26110. - description: 交易模式, 格式 1,2,3
  26111. in: query
  26112. name: trademodes
  26113. type: string
  26114. - description: 市场id, 格式 1,2,3
  26115. in: query
  26116. name: marketids
  26117. type: string
  26118. - description: 商品id
  26119. in: query
  26120. name: goodsid
  26121. type: integer
  26122. - description: 买卖方向 0-买 1-卖
  26123. in: query
  26124. name: buyorsell
  26125. type: integer
  26126. produces:
  26127. - application/json
  26128. responses:
  26129. "200":
  26130. description: OK
  26131. schema:
  26132. items:
  26133. $ref: '#/definitions/models.TradeHolderDetail'
  26134. type: array
  26135. "500":
  26136. description: Internal Server Error
  26137. schema:
  26138. $ref: '#/definitions/app.Response'
  26139. security:
  26140. - ApiKeyAuth: []
  26141. summary: 查询持仓明细
  26142. tags:
  26143. - 通用单据
  26144. /Order/QueryTradeOrderDetail:
  26145. get:
  26146. parameters:
  26147. - description: 资金账户 - 格式:1,2,3
  26148. in: query
  26149. name: accountID
  26150. required: true
  26151. type: string
  26152. - description: 交易模式 - 格式:1,2,3
  26153. in: query
  26154. name: tradeMode
  26155. type: string
  26156. - description: 委托状态 - 格式:1,2,3
  26157. in: query
  26158. name: orderStatus
  26159. type: string
  26160. - description: 委托单号
  26161. in: query
  26162. name: orderID
  26163. type: integer
  26164. produces:
  26165. - application/json
  26166. responses:
  26167. "200":
  26168. description: OK
  26169. schema:
  26170. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  26171. "500":
  26172. description: Internal Server Error
  26173. schema:
  26174. $ref: '#/definitions/app.Response'
  26175. security:
  26176. - ApiKeyAuth: []
  26177. summary: 委托单查询请求(合约市场)
  26178. tags:
  26179. - 通用单据
  26180. /Order/QueryTradePosition:
  26181. get:
  26182. parameters:
  26183. - description: 资金账户 - 格式:1,2,3
  26184. in: query
  26185. name: accountID
  26186. required: true
  26187. type: string
  26188. - description: 交易模式 - 格式:1,2,3
  26189. in: query
  26190. name: tradeMode
  26191. type: string
  26192. produces:
  26193. - application/json
  26194. responses:
  26195. "200":
  26196. description: OK
  26197. schema:
  26198. $ref: '#/definitions/order.QueryTradePositionRsp'
  26199. "500":
  26200. description: Internal Server Error
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. security:
  26204. - ApiKeyAuth: []
  26205. summary: 持仓汇总查询(合约市场)
  26206. tags:
  26207. - 通用单据
  26208. /Qhj/QueryAccountInOutApply:
  26209. get:
  26210. parameters:
  26211. - description: 用户ID
  26212. in: query
  26213. name: userid
  26214. required: true
  26215. type: integer
  26216. - description: 申请起始日期(格式yyyymmdd)
  26217. in: query
  26218. name: begindate
  26219. type: string
  26220. - description: 申请截止日期(格式yyyymmdd)
  26221. in: query
  26222. name: enddate
  26223. type: string
  26224. - description: 模糊搜索名称
  26225. in: query
  26226. name: likename
  26227. type: string
  26228. produces:
  26229. - application/json
  26230. responses:
  26231. "200":
  26232. description: OK
  26233. schema:
  26234. items:
  26235. $ref: '#/definitions/models.QhjAccountOutInApply'
  26236. type: array
  26237. "500":
  26238. description: Internal Server Error
  26239. schema:
  26240. $ref: '#/definitions/app.Response'
  26241. security:
  26242. - ApiKeyAuth: []
  26243. summary: 查询充值提现
  26244. tags:
  26245. - 大连千海金
  26246. /Qhj/QueryAreaFinanceConfig:
  26247. get:
  26248. parameters:
  26249. - description: 机构用户ID 其他做市关系,都设置为 1
  26250. in: query
  26251. name: userid
  26252. type: integer
  26253. produces:
  26254. - application/json
  26255. responses:
  26256. "200":
  26257. description: OK
  26258. schema:
  26259. items:
  26260. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  26261. type: array
  26262. "500":
  26263. description: Internal Server Error
  26264. schema:
  26265. $ref: '#/definitions/app.Response'
  26266. security:
  26267. - ApiKeyAuth: []
  26268. summary: 查询企业配置表
  26269. tags:
  26270. - 大连千海金
  26271. /Qhj/QueryBankAccountSign:
  26272. get:
  26273. parameters:
  26274. - description: 用户ID
  26275. in: query
  26276. name: userid
  26277. required: true
  26278. type: integer
  26279. produces:
  26280. - application/json
  26281. responses:
  26282. "200":
  26283. description: OK
  26284. schema:
  26285. items:
  26286. $ref: '#/definitions/models.QhjBankAccountSign'
  26287. type: array
  26288. "500":
  26289. description: Internal Server Error
  26290. schema:
  26291. $ref: '#/definitions/app.Response'
  26292. security:
  26293. - ApiKeyAuth: []
  26294. summary: 查询签约银行信息(提现账户管理)
  26295. tags:
  26296. - 大连千海金
  26297. /Qhj/QueryBankInfo:
  26298. get:
  26299. produces:
  26300. - application/json
  26301. responses:
  26302. "200":
  26303. description: OK
  26304. schema:
  26305. items:
  26306. $ref: '#/definitions/models.QhjBankInfo'
  26307. type: array
  26308. "500":
  26309. description: Internal Server Error
  26310. schema:
  26311. $ref: '#/definitions/app.Response'
  26312. security:
  26313. - ApiKeyAuth: []
  26314. summary: 查询开户行
  26315. tags:
  26316. - 大连千海金
  26317. /Qhj/QueryBrokerApply:
  26318. get:
  26319. parameters:
  26320. - description: 所属机构ID
  26321. in: query
  26322. name: userid
  26323. type: integer
  26324. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26325. in: query
  26326. name: filterstatus
  26327. type: string
  26328. produces:
  26329. - application/json
  26330. responses:
  26331. "200":
  26332. description: OK
  26333. schema:
  26334. items:
  26335. $ref: '#/definitions/models.QhjBrokerApply'
  26336. type: array
  26337. "500":
  26338. description: Internal Server Error
  26339. schema:
  26340. $ref: '#/definitions/app.Response'
  26341. security:
  26342. - ApiKeyAuth: []
  26343. summary: 查询经纪人申请
  26344. tags:
  26345. - 大连千海金
  26346. /Qhj/QueryBrokerApplyEx:
  26347. get:
  26348. parameters:
  26349. - description: 所属机构ID
  26350. in: query
  26351. name: userid
  26352. type: integer
  26353. produces:
  26354. - application/json
  26355. responses:
  26356. "200":
  26357. description: OK
  26358. schema:
  26359. items:
  26360. $ref: '#/definitions/models.QhjBrokerApplyEx'
  26361. type: array
  26362. "500":
  26363. description: Internal Server Error
  26364. schema:
  26365. $ref: '#/definitions/app.Response'
  26366. security:
  26367. - ApiKeyAuth: []
  26368. summary: 查询经纪人信息和申请记录
  26369. tags:
  26370. - 大连千海金
  26371. /Qhj/QueryBrokerRewardLog:
  26372. get:
  26373. parameters:
  26374. - description: 用户ID
  26375. in: query
  26376. name: userid
  26377. required: true
  26378. type: integer
  26379. - description: 开始交易日(yyyymmdd)
  26380. in: query
  26381. name: begindate
  26382. type: string
  26383. - description: 结束交易日(yyyymmdd)
  26384. in: query
  26385. name: enddate
  26386. type: string
  26387. produces:
  26388. - application/json
  26389. responses:
  26390. "200":
  26391. description: OK
  26392. schema:
  26393. items:
  26394. $ref: '#/definitions/models.QhjBrokerRewardLog'
  26395. type: array
  26396. "500":
  26397. description: Internal Server Error
  26398. schema:
  26399. $ref: '#/definitions/app.Response'
  26400. security:
  26401. - ApiKeyAuth: []
  26402. summary: 查询奖励流水(我的奖励)
  26403. tags:
  26404. - 大连千海金
  26405. /Qhj/QueryContract:
  26406. get:
  26407. parameters:
  26408. - description: 用户ID
  26409. in: query
  26410. name: userid
  26411. type: integer
  26412. - description: scf合同id
  26413. in: query
  26414. name: scfcontractid
  26415. type: integer
  26416. produces:
  26417. - application/json
  26418. responses:
  26419. "200":
  26420. description: OK
  26421. schema:
  26422. items:
  26423. $ref: '#/definitions/models.QhjContract'
  26424. type: array
  26425. "500":
  26426. description: Internal Server Error
  26427. schema:
  26428. $ref: '#/definitions/app.Response'
  26429. security:
  26430. - ApiKeyAuth: []
  26431. summary: 查询融资明细(合同)
  26432. tags:
  26433. - 大连千海金
  26434. /Qhj/QueryContractLog:
  26435. get:
  26436. parameters:
  26437. - description: scf合同id
  26438. in: query
  26439. name: scfcontractid
  26440. required: true
  26441. type: integer
  26442. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  26443. in: query
  26444. name: amounttype
  26445. type: string
  26446. produces:
  26447. - application/json
  26448. responses:
  26449. "200":
  26450. description: OK
  26451. schema:
  26452. items:
  26453. $ref: '#/definitions/models.QhjContractLog'
  26454. type: array
  26455. "500":
  26456. description: Internal Server Error
  26457. schema:
  26458. $ref: '#/definitions/app.Response'
  26459. security:
  26460. - ApiKeyAuth: []
  26461. summary: 查询融资明细流水(融资明细详情页中的流水)
  26462. tags:
  26463. - 大连千海金
  26464. /Qhj/QueryCusBankSignBank:
  26465. get:
  26466. produces:
  26467. - application/json
  26468. responses:
  26469. "200":
  26470. description: OK
  26471. schema:
  26472. items:
  26473. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  26474. type: array
  26475. "500":
  26476. description: Internal Server Error
  26477. schema:
  26478. $ref: '#/definitions/app.Response'
  26479. security:
  26480. - ApiKeyAuth: []
  26481. summary: 查询托管银行
  26482. tags:
  26483. - 大连千海金
  26484. /Qhj/QueryCustomerInfo:
  26485. get:
  26486. parameters:
  26487. - description: 用户ID
  26488. in: query
  26489. name: userid
  26490. required: true
  26491. type: integer
  26492. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26493. in: query
  26494. name: querytype
  26495. required: true
  26496. type: integer
  26497. - description: 客户类型 1-个人 2-企业
  26498. in: query
  26499. name: userinfotype
  26500. type: integer
  26501. - description: 客户名称(模糊匹配)
  26502. in: query
  26503. name: customername
  26504. type: string
  26505. - description: 昵称(模糊匹配)
  26506. in: query
  26507. name: nickname
  26508. type: string
  26509. - description: 是否包含子级 1-包含
  26510. in: query
  26511. name: includesub
  26512. type: integer
  26513. produces:
  26514. - application/json
  26515. responses:
  26516. "200":
  26517. description: OK
  26518. schema:
  26519. items:
  26520. $ref: '#/definitions/models.QhjCustomer'
  26521. type: array
  26522. "500":
  26523. description: Internal Server Error
  26524. schema:
  26525. $ref: '#/definitions/app.Response'
  26526. security:
  26527. - ApiKeyAuth: []
  26528. summary: 查询客户资料
  26529. tags:
  26530. - 大连千海金
  26531. /Qhj/QueryGoodsEx:
  26532. get:
  26533. parameters:
  26534. - description: 商品id
  26535. in: query
  26536. name: goodsid
  26537. type: integer
  26538. produces:
  26539. - application/json
  26540. responses:
  26541. "200":
  26542. description: OK
  26543. schema:
  26544. items:
  26545. $ref: '#/definitions/models.Qhjgoodsex'
  26546. type: array
  26547. "500":
  26548. description: Internal Server Error
  26549. schema:
  26550. $ref: '#/definitions/app.Response'
  26551. security:
  26552. - ApiKeyAuth: []
  26553. summary: 交易商品扩展表
  26554. tags:
  26555. - 大连千海金
  26556. /Qhj/QueryMyTeam:
  26557. get:
  26558. parameters:
  26559. - description: 用户ID
  26560. in: query
  26561. name: userid
  26562. required: true
  26563. type: integer
  26564. produces:
  26565. - application/json
  26566. responses:
  26567. "200":
  26568. description: OK
  26569. schema:
  26570. items:
  26571. $ref: '#/definitions/models.QhjMyTeamEx'
  26572. type: array
  26573. "500":
  26574. description: Internal Server Error
  26575. schema:
  26576. $ref: '#/definitions/app.Response'
  26577. security:
  26578. - ApiKeyAuth: []
  26579. summary: 查询我的团队
  26580. tags:
  26581. - 大连千海金
  26582. /Qhj/QueryMyTeamOrder:
  26583. get:
  26584. parameters:
  26585. - description: 页码
  26586. in: query
  26587. name: page
  26588. type: integer
  26589. - description: 每页条数
  26590. in: query
  26591. name: pagesize
  26592. type: integer
  26593. - description: 用户ID
  26594. in: query
  26595. name: userid
  26596. required: true
  26597. type: integer
  26598. - description: 交易模式
  26599. in: query
  26600. name: trademode
  26601. type: integer
  26602. - description: 名称(模糊搜索账户)
  26603. in: query
  26604. name: filtername
  26605. type: string
  26606. produces:
  26607. - application/json
  26608. responses:
  26609. "200":
  26610. description: OK
  26611. schema:
  26612. items:
  26613. $ref: '#/definitions/models.QhjTeamOrder'
  26614. type: array
  26615. "500":
  26616. description: Internal Server Error
  26617. schema:
  26618. $ref: '#/definitions/app.Response'
  26619. security:
  26620. - ApiKeyAuth: []
  26621. summary: 查询团队订单(我的团队/团队订单)
  26622. tags:
  26623. - 大连千海金
  26624. /Qhj/QueryParentAreaList:
  26625. get:
  26626. parameters:
  26627. - description: 用户ID
  26628. in: query
  26629. name: userid
  26630. required: true
  26631. type: integer
  26632. produces:
  26633. - application/json
  26634. responses:
  26635. "200":
  26636. description: OK
  26637. schema:
  26638. items:
  26639. $ref: '#/definitions/models.QhjParentAreaList'
  26640. type: array
  26641. "500":
  26642. description: Internal Server Error
  26643. schema:
  26644. $ref: '#/definitions/app.Response'
  26645. security:
  26646. - ApiKeyAuth: []
  26647. summary: 查询所属机构列表
  26648. tags:
  26649. - 大连千海金
  26650. /Qhj/QueryPayOrder:
  26651. get:
  26652. parameters:
  26653. - description: 资金账号id
  26654. in: query
  26655. name: accountid
  26656. required: true
  26657. type: integer
  26658. - description: 成交单号
  26659. in: query
  26660. name: tradeid
  26661. type: integer
  26662. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26663. in: query
  26664. name: payflag
  26665. type: string
  26666. produces:
  26667. - application/json
  26668. responses:
  26669. "200":
  26670. description: OK
  26671. schema:
  26672. items:
  26673. $ref: '#/definitions/models.QhjPayOrder'
  26674. type: array
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. security:
  26680. - ApiKeyAuth: []
  26681. summary: 查询待付款单据
  26682. tags:
  26683. - 大连千海金
  26684. /Qhj/QueryPickArea:
  26685. get:
  26686. parameters:
  26687. - description: 用户ID
  26688. in: query
  26689. name: userid
  26690. type: integer
  26691. produces:
  26692. - application/json
  26693. responses:
  26694. "200":
  26695. description: OK
  26696. schema:
  26697. items:
  26698. $ref: '#/definitions/models.QhjPickArea'
  26699. type: array
  26700. "500":
  26701. description: Internal Server Error
  26702. schema:
  26703. $ref: '#/definitions/app.Response'
  26704. security:
  26705. - ApiKeyAuth: []
  26706. summary: 查询提货门店
  26707. tags:
  26708. - 大连千海金
  26709. /Qhj/QueryPickGoods:
  26710. get:
  26711. parameters:
  26712. - description: 交易商品id
  26713. in: query
  26714. name: goodsid
  26715. required: true
  26716. type: integer
  26717. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26718. in: query
  26719. name: status
  26720. type: string
  26721. produces:
  26722. - application/json
  26723. responses:
  26724. "200":
  26725. description: OK
  26726. schema:
  26727. items:
  26728. $ref: '#/definitions/models.QhjPickGoods'
  26729. type: array
  26730. "500":
  26731. description: Internal Server Error
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. security:
  26735. - ApiKeyAuth: []
  26736. summary: 查询提货商品
  26737. tags:
  26738. - 大连千海金
  26739. /Qhj/QueryRSTriggerLog:
  26740. get:
  26741. parameters:
  26742. - description: 用户ID
  26743. in: query
  26744. name: userid
  26745. type: integer
  26746. - description: 定投策略id
  26747. in: query
  26748. name: regularlystrategyid
  26749. type: integer
  26750. - description: 商品id
  26751. in: query
  26752. name: goodsid
  26753. type: integer
  26754. - description: 开始交易日(yyyymmdd)
  26755. in: query
  26756. name: begindate
  26757. type: string
  26758. - description: 结束交易日(yyyymmdd)
  26759. in: query
  26760. name: enddate
  26761. type: string
  26762. - description: 名称(模糊搜索账户)
  26763. in: query
  26764. name: filtername
  26765. type: string
  26766. produces:
  26767. - application/json
  26768. responses:
  26769. "200":
  26770. description: OK
  26771. schema:
  26772. items:
  26773. $ref: '#/definitions/models.QhjRSTriggerLog'
  26774. type: array
  26775. "500":
  26776. description: Internal Server Error
  26777. schema:
  26778. $ref: '#/definitions/app.Response'
  26779. security:
  26780. - ApiKeyAuth: []
  26781. summary: 查询定投记录(定投管理/详情/定投记录)
  26782. tags:
  26783. - 大连千海金
  26784. /Qhj/QueryRStrategy:
  26785. get:
  26786. parameters:
  26787. - description: 用户ID
  26788. in: query
  26789. name: userid
  26790. type: integer
  26791. - description: 商品id
  26792. in: query
  26793. name: goodsid
  26794. type: integer
  26795. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  26796. in: query
  26797. name: status
  26798. type: string
  26799. - description: 名称(模糊搜索账户)
  26800. in: query
  26801. name: filtername
  26802. type: string
  26803. produces:
  26804. - application/json
  26805. responses:
  26806. "200":
  26807. description: OK
  26808. schema:
  26809. items:
  26810. $ref: '#/definitions/models.QhjRStrategy'
  26811. type: array
  26812. "500":
  26813. description: Internal Server Error
  26814. schema:
  26815. $ref: '#/definitions/app.Response'
  26816. security:
  26817. - ApiKeyAuth: []
  26818. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  26819. tags:
  26820. - 大连千海金
  26821. /Qhj/QueryReckonPriceLog:
  26822. get:
  26823. parameters:
  26824. - description: 商品ID
  26825. in: query
  26826. name: goodsid
  26827. type: integer
  26828. - description: 交易日 格式(yyyymmdd)
  26829. in: query
  26830. name: tradedate
  26831. type: string
  26832. produces:
  26833. - application/json
  26834. responses:
  26835. "200":
  26836. description: OK
  26837. schema:
  26838. items:
  26839. $ref: '#/definitions/models.QhjReckonPriceLog'
  26840. type: array
  26841. "500":
  26842. description: Internal Server Error
  26843. schema:
  26844. $ref: '#/definitions/app.Response'
  26845. security:
  26846. - ApiKeyAuth: []
  26847. summary: 查询定投价(结算价)
  26848. tags:
  26849. - 大连千海金
  26850. /Qhj/QueryScoreLog:
  26851. get:
  26852. parameters:
  26853. - description: 用户ID
  26854. in: query
  26855. name: userid
  26856. required: true
  26857. type: integer
  26858. - description: 开始交易日(yyyymmdd)
  26859. in: query
  26860. name: begindate
  26861. type: string
  26862. - description: 结束交易日(yyyymmdd)
  26863. in: query
  26864. name: enddate
  26865. type: string
  26866. - description: 最近多少条
  26867. in: query
  26868. name: lastnum
  26869. type: integer
  26870. produces:
  26871. - application/json
  26872. responses:
  26873. "200":
  26874. description: OK
  26875. schema:
  26876. items:
  26877. $ref: '#/definitions/models.QhjScoreLog'
  26878. type: array
  26879. "500":
  26880. description: Internal Server Error
  26881. schema:
  26882. $ref: '#/definitions/app.Response'
  26883. security:
  26884. - ApiKeyAuth: []
  26885. summary: 查询积分流水(我的积分)
  26886. tags:
  26887. - 大连千海金
  26888. /Qhj/QuerySiteColumnDetail:
  26889. get:
  26890. parameters:
  26891. - description: 用户ID
  26892. in: query
  26893. name: userid
  26894. required: true
  26895. type: integer
  26896. produces:
  26897. - application/json
  26898. responses:
  26899. "200":
  26900. description: OK
  26901. schema:
  26902. items:
  26903. $ref: '#/definitions/models.QhjSiteColumnDetail'
  26904. type: array
  26905. "500":
  26906. description: Internal Server Error
  26907. schema:
  26908. $ref: '#/definitions/app.Response'
  26909. security:
  26910. - ApiKeyAuth: []
  26911. summary: 查询资讯
  26912. tags:
  26913. - 大连千海金
  26914. /Qhj/QueryTradeGoodsPickup:
  26915. get:
  26916. parameters:
  26917. - description: 用户ID
  26918. in: query
  26919. name: userid
  26920. required: true
  26921. type: integer
  26922. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  26923. 7:已拒绝 8:已撤销
  26924. in: query
  26925. name: takeorderstatus
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 查询提货
  26943. tags:
  26944. - 大连千海金
  26945. /Qhj/QueryUserCollectConfig:
  26946. get:
  26947. parameters:
  26948. - description: 用户ID
  26949. in: query
  26950. name: userid
  26951. required: true
  26952. type: integer
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. items:
  26960. $ref: '#/definitions/models.UserCollectConfig'
  26961. type: array
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 查询提现账户设置
  26969. tags:
  26970. - 大连千海金
  26971. /Qhj/QueryUserReceiveInfo:
  26972. get:
  26973. parameters:
  26974. - description: 用户ID
  26975. in: query
  26976. name: userid
  26977. required: true
  26978. type: integer
  26979. produces:
  26980. - application/json
  26981. responses:
  26982. "200":
  26983. description: OK
  26984. schema:
  26985. items:
  26986. $ref: '#/definitions/models.UserReceiveInfo'
  26987. type: array
  26988. "500":
  26989. description: Internal Server Error
  26990. schema:
  26991. $ref: '#/definitions/app.Response'
  26992. security:
  26993. - ApiKeyAuth: []
  26994. summary: 查询收货地址信息
  26995. tags:
  26996. - 大连千海金
  26997. /QhjMgr/QueryAccountInOutApply:
  26998. get:
  26999. parameters:
  27000. - description: 查询类型 1-提现(出金) 2-充值(出金)
  27001. in: query
  27002. name: querytype
  27003. required: true
  27004. type: integer
  27005. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  27006. in: query
  27007. name: applystatus
  27008. type: integer
  27009. - description: 申请起始日期(格式yyyymmdd)
  27010. in: query
  27011. name: begindate
  27012. type: string
  27013. - description: 申请截止日期(格式yyyymmdd)
  27014. in: query
  27015. name: enddate
  27016. type: string
  27017. - description: 模糊搜索名称
  27018. in: query
  27019. name: likename
  27020. type: string
  27021. produces:
  27022. - application/json
  27023. responses:
  27024. "200":
  27025. description: OK
  27026. schema:
  27027. items:
  27028. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  27029. type: array
  27030. "500":
  27031. description: Internal Server Error
  27032. schema:
  27033. $ref: '#/definitions/app.Response'
  27034. security:
  27035. - ApiKeyAuth: []
  27036. summary: 查询充值提现
  27037. tags:
  27038. - 大连千海金(PCWeb)
  27039. /QhjMgr/QueryBrokerApply:
  27040. get:
  27041. parameters:
  27042. - description: 所属机构ID
  27043. in: query
  27044. name: userid
  27045. type: integer
  27046. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27047. in: query
  27048. name: filterstatus
  27049. type: string
  27050. - description: 名称(模糊匹配)
  27051. in: query
  27052. name: filtername
  27053. type: string
  27054. - description: 是否包含子级 1-包含
  27055. in: query
  27056. name: includesub
  27057. type: integer
  27058. produces:
  27059. - application/json
  27060. responses:
  27061. "200":
  27062. description: OK
  27063. schema:
  27064. items:
  27065. $ref: '#/definitions/models.QhjMgrBrokerApply'
  27066. type: array
  27067. "500":
  27068. description: Internal Server Error
  27069. schema:
  27070. $ref: '#/definitions/app.Response'
  27071. security:
  27072. - ApiKeyAuth: []
  27073. summary: 查询经纪人申请
  27074. tags:
  27075. - 大连千海金(PCWeb)
  27076. /QhjMgr/QueryBrokerRewardReport:
  27077. get:
  27078. parameters:
  27079. - description: 所属机构ID
  27080. in: query
  27081. name: userid
  27082. required: true
  27083. type: integer
  27084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27085. in: query
  27086. name: cycletype
  27087. required: true
  27088. type: integer
  27089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  27090. in: query
  27091. name: cycletime
  27092. required: true
  27093. type: string
  27094. - description: 名称(模糊匹配)
  27095. in: query
  27096. name: filtername
  27097. type: string
  27098. - description: 是否包含子级 1-包含
  27099. in: query
  27100. name: includesub
  27101. type: integer
  27102. produces:
  27103. - application/json
  27104. responses:
  27105. "200":
  27106. description: OK
  27107. schema:
  27108. items:
  27109. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  27110. type: array
  27111. "500":
  27112. description: Internal Server Error
  27113. schema:
  27114. $ref: '#/definitions/app.Response'
  27115. security:
  27116. - ApiKeyAuth: []
  27117. summary: 查询经纪人奖励报表(废弃)
  27118. tags:
  27119. - 大连千海金(PCWeb)
  27120. /QhjMgr/QueryContract:
  27121. get:
  27122. parameters:
  27123. - description: 用户ID
  27124. in: query
  27125. name: userid
  27126. type: integer
  27127. - description: 商品id
  27128. in: query
  27129. name: goodsid
  27130. type: integer
  27131. - description: 名称(模糊搜索账户)
  27132. in: query
  27133. name: filtername
  27134. type: string
  27135. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  27136. in: query
  27137. name: risklevel
  27138. type: string
  27139. - description: 开始交易日(yyyymmdd)
  27140. in: query
  27141. name: begindate
  27142. type: string
  27143. - description: 结束交易日(yyyymmdd)
  27144. in: query
  27145. name: enddate
  27146. type: string
  27147. produces:
  27148. - application/json
  27149. responses:
  27150. "200":
  27151. description: OK
  27152. schema:
  27153. items:
  27154. $ref: '#/definitions/models.QhjMgrContract'
  27155. type: array
  27156. "500":
  27157. description: Internal Server Error
  27158. schema:
  27159. $ref: '#/definitions/app.Response'
  27160. security:
  27161. - ApiKeyAuth: []
  27162. summary: 查询融资信息(合同)
  27163. tags:
  27164. - 大连千海金(PCWeb)
  27165. /QhjMgr/QueryCustomerInfo:
  27166. get:
  27167. parameters:
  27168. - description: 用户ID
  27169. in: query
  27170. name: userid
  27171. required: true
  27172. type: integer
  27173. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  27174. in: query
  27175. name: querytype
  27176. required: true
  27177. type: integer
  27178. - description: 客户类型 1-个人 2-企业
  27179. in: query
  27180. name: userinfotype
  27181. type: integer
  27182. - description: 客户名称(模糊匹配)
  27183. in: query
  27184. name: customername
  27185. type: string
  27186. - description: 昵称(模糊匹配)
  27187. in: query
  27188. name: nickname
  27189. type: string
  27190. - description: 所属客户经理(模糊匹配)
  27191. in: query
  27192. name: brokername
  27193. type: string
  27194. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  27195. 如0503 -5月3日)
  27196. in: query
  27197. name: birthday
  27198. type: string
  27199. - description: 是否包含子级 1-包含
  27200. in: query
  27201. name: includesub
  27202. type: integer
  27203. produces:
  27204. - application/json
  27205. responses:
  27206. "200":
  27207. description: OK
  27208. schema:
  27209. items:
  27210. $ref: '#/definitions/models.QhjMgrCustomer'
  27211. type: array
  27212. "500":
  27213. description: Internal Server Error
  27214. schema:
  27215. $ref: '#/definitions/app.Response'
  27216. security:
  27217. - ApiKeyAuth: []
  27218. summary: 查询客户资料
  27219. tags:
  27220. - 大连千海金(PCWeb)
  27221. /QhjMgr/QueryPickGoods:
  27222. get:
  27223. parameters:
  27224. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  27225. in: query
  27226. name: status
  27227. type: string
  27228. produces:
  27229. - application/json
  27230. responses:
  27231. "200":
  27232. description: OK
  27233. schema:
  27234. items:
  27235. $ref: '#/definitions/models.QhjMgrPickGoods'
  27236. type: array
  27237. "500":
  27238. description: Internal Server Error
  27239. schema:
  27240. $ref: '#/definitions/app.Response'
  27241. security:
  27242. - ApiKeyAuth: []
  27243. summary: 查询提货商品
  27244. tags:
  27245. - 大连千海金(PCWeb)
  27246. /QhjMgr/QuerySubArea:
  27247. get:
  27248. parameters:
  27249. - description: 用户ID
  27250. in: query
  27251. name: userid
  27252. required: true
  27253. type: integer
  27254. produces:
  27255. - application/json
  27256. responses:
  27257. "200":
  27258. description: OK
  27259. schema:
  27260. items:
  27261. $ref: '#/definitions/models.QhjMgrSubArea'
  27262. type: array
  27263. "500":
  27264. description: Internal Server Error
  27265. schema:
  27266. $ref: '#/definitions/app.Response'
  27267. security:
  27268. - ApiKeyAuth: []
  27269. summary: 查询子机构列表
  27270. tags:
  27271. - 大连千海金(PCWeb)
  27272. /QhjMgr/QueryTradeDetail:
  27273. get:
  27274. parameters:
  27275. - description: 用户ID
  27276. in: query
  27277. name: userid
  27278. required: true
  27279. type: integer
  27280. - description: 用户类型 1-个人 2-企业
  27281. in: query
  27282. name: userinfotype
  27283. type: integer
  27284. - description: 交易模式
  27285. in: query
  27286. name: trademode
  27287. type: integer
  27288. - description: 商品id
  27289. in: query
  27290. name: goodsid
  27291. type: integer
  27292. - description: 名称(模糊搜索账户)
  27293. in: query
  27294. name: filtername
  27295. type: string
  27296. - description: 开始交易日(yyyymmdd)
  27297. in: query
  27298. name: begindate
  27299. type: string
  27300. - description: 结束交易日(yyyymmdd)
  27301. in: query
  27302. name: enddate
  27303. type: string
  27304. - description: 是否包含子级 1-包含
  27305. in: query
  27306. name: includesub
  27307. type: integer
  27308. produces:
  27309. - application/json
  27310. responses:
  27311. "200":
  27312. description: OK
  27313. schema:
  27314. items:
  27315. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  27316. type: array
  27317. "500":
  27318. description: Internal Server Error
  27319. schema:
  27320. $ref: '#/definitions/app.Response'
  27321. security:
  27322. - ApiKeyAuth: []
  27323. summary: 查询成交明细
  27324. tags:
  27325. - 大连千海金(PCWeb)
  27326. /QhjMgr/QueryTradeOrderDetail:
  27327. get:
  27328. parameters:
  27329. - description: 用户ID
  27330. in: query
  27331. name: userid
  27332. required: true
  27333. type: integer
  27334. - description: 用户类型 1-个人 2-企业
  27335. in: query
  27336. name: userinfotype
  27337. type: integer
  27338. - description: 交易模式
  27339. in: query
  27340. name: trademode
  27341. type: integer
  27342. - description: 商品id
  27343. in: query
  27344. name: goodsid
  27345. type: integer
  27346. - description: 名称(模糊搜索账户)
  27347. in: query
  27348. name: filtername
  27349. type: string
  27350. - description: 开始交易日(yyyymmdd)
  27351. in: query
  27352. name: begindate
  27353. type: string
  27354. - description: 结束交易日(yyyymmdd)
  27355. in: query
  27356. name: enddate
  27357. type: string
  27358. - description: 是否包含子级 1-包含
  27359. in: query
  27360. name: includesub
  27361. type: integer
  27362. produces:
  27363. - application/json
  27364. responses:
  27365. "200":
  27366. description: OK
  27367. schema:
  27368. items:
  27369. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  27370. type: array
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 查询委托明细
  27378. tags:
  27379. - 大连千海金(PCWeb)
  27380. /QhjMgr/QueryTradePayOrder:
  27381. get:
  27382. parameters:
  27383. - description: 用户ID
  27384. in: query
  27385. name: userid
  27386. required: true
  27387. type: integer
  27388. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  27389. in: query
  27390. name: payflag
  27391. type: string
  27392. - description: 用户类型 1-个人 2-企业
  27393. in: query
  27394. name: userinfotype
  27395. type: integer
  27396. - description: 交易模式
  27397. in: query
  27398. name: trademode
  27399. type: integer
  27400. - description: 商品id
  27401. in: query
  27402. name: goodsid
  27403. type: integer
  27404. - description: 名称(模糊搜索账户)
  27405. in: query
  27406. name: filtername
  27407. type: string
  27408. - description: 开始交易日(yyyymmdd)
  27409. in: query
  27410. name: begindate
  27411. type: string
  27412. - description: 结束交易日(yyyymmdd)
  27413. in: query
  27414. name: enddate
  27415. type: string
  27416. - description: 是否包含子级 1-包含
  27417. in: query
  27418. name: includesub
  27419. type: integer
  27420. produces:
  27421. - application/json
  27422. responses:
  27423. "200":
  27424. description: OK
  27425. schema:
  27426. items:
  27427. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  27428. type: array
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. summary: 查询待付款单
  27436. tags:
  27437. - 大连千海金(PCWeb)
  27438. /QhjMgr/QueryTradePosition:
  27439. get:
  27440. parameters:
  27441. - description: 用户ID
  27442. in: query
  27443. name: userid
  27444. required: true
  27445. type: integer
  27446. - description: 用户类型 1-个人 2-企业
  27447. in: query
  27448. name: userinfotype
  27449. type: integer
  27450. - description: 交易模式
  27451. in: query
  27452. name: trademode
  27453. type: integer
  27454. - description: 商品id
  27455. in: query
  27456. name: goodsid
  27457. type: integer
  27458. - description: 名称(模糊搜索账户)
  27459. in: query
  27460. name: filtername
  27461. type: string
  27462. - description: 是否包含子级 1-包含
  27463. in: query
  27464. name: includesub
  27465. type: integer
  27466. produces:
  27467. - application/json
  27468. responses:
  27469. "200":
  27470. description: OK
  27471. schema:
  27472. items:
  27473. $ref: '#/definitions/models.QhjMgrPositionRsp'
  27474. type: array
  27475. "500":
  27476. description: Internal Server Error
  27477. schema:
  27478. $ref: '#/definitions/app.Response'
  27479. security:
  27480. - ApiKeyAuth: []
  27481. summary: 查询持仓汇总
  27482. tags:
  27483. - 大连千海金(PCWeb)
  27484. /QhjSys/QueryAgreementChangeLog:
  27485. get:
  27486. parameters:
  27487. - description: 协议ID
  27488. in: query
  27489. name: agreementid
  27490. type: integer
  27491. - description: 协议版本号
  27492. in: query
  27493. name: agreementversion
  27494. type: integer
  27495. - description: 协议类型 - 1:注册 2:登录 3:交易
  27496. in: query
  27497. name: agreementtype
  27498. type: integer
  27499. - description: 协议编号(模糊匹配)
  27500. in: query
  27501. name: agreementno
  27502. type: string
  27503. - description: 协议名称(模糊匹配)
  27504. in: query
  27505. name: agreementname
  27506. type: string
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. items:
  27514. $ref: '#/definitions/models.QhjAgreementChangeLog'
  27515. type: array
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询协议配置变更流水
  27523. tags:
  27524. - 大连千海金(协议和签约信息)
  27525. /QhjSys/QueryAgreementConfig:
  27526. get:
  27527. parameters:
  27528. - description: 协议ID
  27529. in: query
  27530. name: agreementid
  27531. type: integer
  27532. - description: 协议版本号
  27533. in: query
  27534. name: agreementversion
  27535. type: integer
  27536. - description: 协议类型 - 1:注册 2:登录 3:交易
  27537. in: query
  27538. name: agreementtype
  27539. type: integer
  27540. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  27541. in: query
  27542. name: isvalid
  27543. type: integer
  27544. - description: 协议编号(模糊匹配)
  27545. in: query
  27546. name: agreementno
  27547. type: string
  27548. - description: 协议名称(模糊匹配)
  27549. in: query
  27550. name: agreementname
  27551. type: string
  27552. produces:
  27553. - application/json
  27554. responses:
  27555. "200":
  27556. description: OK
  27557. schema:
  27558. items:
  27559. $ref: '#/definitions/models.QhjAgreementConfig'
  27560. type: array
  27561. "500":
  27562. description: Internal Server Error
  27563. schema:
  27564. $ref: '#/definitions/app.Response'
  27565. security:
  27566. - ApiKeyAuth: []
  27567. summary: 查询协议配置
  27568. tags:
  27569. - 大连千海金(协议和签约信息)
  27570. /QhjSys/QueryCustomerSignStatus:
  27571. get:
  27572. parameters:
  27573. - description: 客户ID
  27574. in: query
  27575. name: userid
  27576. type: integer
  27577. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  27578. in: query
  27579. name: nodetype
  27580. type: integer
  27581. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27582. in: query
  27583. name: goodsid
  27584. type: integer
  27585. - description: 创建交易日(yyyyMMdd)
  27586. in: query
  27587. name: tradedate
  27588. type: string
  27589. - description: 用户名称(模糊匹配)
  27590. in: query
  27591. name: username
  27592. type: string
  27593. produces:
  27594. - application/json
  27595. responses:
  27596. "200":
  27597. description: OK
  27598. schema:
  27599. items:
  27600. $ref: '#/definitions/models.QhjCustomerSignStatus'
  27601. type: array
  27602. "500":
  27603. description: Internal Server Error
  27604. schema:
  27605. $ref: '#/definitions/app.Response'
  27606. security:
  27607. - ApiKeyAuth: []
  27608. summary: 查询客户协议签约状态
  27609. tags:
  27610. - 大连千海金(协议和签约信息)
  27611. /QhjSys/QueryNodeAgreementConfig:
  27612. get:
  27613. parameters:
  27614. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27615. in: query
  27616. name: configid
  27617. type: integer
  27618. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27619. in: query
  27620. name: nodetype
  27621. type: integer
  27622. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27623. in: query
  27624. name: goodsid
  27625. type: integer
  27626. - description: 协议ID
  27627. in: query
  27628. name: agreementid
  27629. type: integer
  27630. - description: 协议类型 - 1:注册 2:登录 3:交易
  27631. in: query
  27632. name: agreementtype
  27633. type: integer
  27634. - description: 协议版本号
  27635. in: query
  27636. name: agreementversion
  27637. type: integer
  27638. - description: 协议编号(模糊匹配)
  27639. in: query
  27640. name: agreementno
  27641. type: string
  27642. - description: 协议名称(模糊匹配)
  27643. in: query
  27644. name: agreementname
  27645. type: string
  27646. produces:
  27647. - application/json
  27648. responses:
  27649. "200":
  27650. description: OK
  27651. schema:
  27652. items:
  27653. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  27654. type: array
  27655. "500":
  27656. description: Internal Server Error
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. security:
  27660. - ApiKeyAuth: []
  27661. summary: 查询协议节点配置
  27662. tags:
  27663. - 大连千海金(协议和签约信息)
  27664. /QhjSys/QueryQhjCustomerSignLog:
  27665. get:
  27666. parameters:
  27667. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  27668. in: query
  27669. name: logid
  27670. type: integer
  27671. - description: 客户ID
  27672. in: query
  27673. name: userid
  27674. type: integer
  27675. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27676. in: query
  27677. name: nodetype
  27678. type: integer
  27679. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27680. in: query
  27681. name: goodsid
  27682. type: integer
  27683. - description: 协议ID
  27684. in: query
  27685. name: agreementid
  27686. type: integer
  27687. - description: 用户名称(模糊匹配)
  27688. in: query
  27689. name: username
  27690. type: string
  27691. - description: 协议编号(模糊匹配)
  27692. in: query
  27693. name: agreementno
  27694. type: string
  27695. - description: 协议名称(模糊匹配)
  27696. in: query
  27697. name: agreementname
  27698. type: string
  27699. produces:
  27700. - application/json
  27701. responses:
  27702. "200":
  27703. description: OK
  27704. schema:
  27705. items:
  27706. $ref: '#/definitions/models.QhjCustomerSignLog'
  27707. type: array
  27708. "500":
  27709. description: Internal Server Error
  27710. schema:
  27711. $ref: '#/definitions/app.Response'
  27712. security:
  27713. - ApiKeyAuth: []
  27714. summary: 查询客户协议签约流水
  27715. tags:
  27716. - 大连千海金(协议和签约信息)
  27717. /QhjSys/QueryUserNodeCfgAndStatus:
  27718. get:
  27719. parameters:
  27720. - description: 客户ID
  27721. in: query
  27722. name: userid
  27723. type: integer
  27724. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  27725. in: query
  27726. name: configid
  27727. type: integer
  27728. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  27729. in: query
  27730. name: nodetype
  27731. type: string
  27732. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  27733. in: query
  27734. name: goodsid
  27735. type: integer
  27736. - description: 协议ID
  27737. in: query
  27738. name: agreementid
  27739. type: integer
  27740. - description: 协议类型 - 1:注册 2:登录 3:交易
  27741. in: query
  27742. name: agreementtype
  27743. type: integer
  27744. - description: 协议版本号
  27745. in: query
  27746. name: agreementversion
  27747. type: integer
  27748. - description: 协议编号(模糊匹配)
  27749. in: query
  27750. name: agreementno
  27751. type: string
  27752. - description: 协议名称(模糊匹配)
  27753. in: query
  27754. name: agreementname
  27755. type: string
  27756. produces:
  27757. - application/json
  27758. responses:
  27759. "200":
  27760. description: OK
  27761. schema:
  27762. items:
  27763. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  27764. type: array
  27765. "500":
  27766. description: Internal Server Error
  27767. schema:
  27768. $ref: '#/definitions/app.Response'
  27769. security:
  27770. - ApiKeyAuth: []
  27771. summary: 查询用户协议节点配置和状态
  27772. tags:
  27773. - 大连千海金(协议和签约信息)
  27774. /Quote/QueryHistoryDatas:
  27775. get:
  27776. parameters:
  27777. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  27778. 日线 12:周线 13:月线 14:年线'
  27779. in: query
  27780. name: cycleType
  27781. required: true
  27782. type: integer
  27783. - description: 商品代码
  27784. in: query
  27785. name: goodsCode
  27786. required: true
  27787. type: string
  27788. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27789. in: query
  27790. name: startTime
  27791. type: string
  27792. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27793. in: query
  27794. name: endTime
  27795. type: string
  27796. - description: 条数
  27797. in: query
  27798. name: count
  27799. type: integer
  27800. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27801. in: query
  27802. name: isAsc
  27803. type: boolean
  27804. produces:
  27805. - application/json
  27806. responses:
  27807. "200":
  27808. description: OK
  27809. schema:
  27810. $ref: '#/definitions/quote.HistoryData'
  27811. "500":
  27812. description: Internal Server Error
  27813. schema:
  27814. $ref: '#/definitions/app.Response'
  27815. security:
  27816. - ApiKeyAuth: []
  27817. summary: 查询行情历史数据
  27818. tags:
  27819. - 行情服务
  27820. /Quote/QueryHistoryTikDatas:
  27821. get:
  27822. parameters:
  27823. - description: 商品代码
  27824. in: query
  27825. name: goodsCode
  27826. required: true
  27827. type: string
  27828. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  27829. in: query
  27830. name: startTime
  27831. type: string
  27832. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  27833. in: query
  27834. name: endTime
  27835. type: string
  27836. - description: 条数
  27837. in: query
  27838. name: count
  27839. type: integer
  27840. - description: 是否按时间顺序排序(默认为时间倒序排序)
  27841. in: query
  27842. name: isAsc
  27843. type: boolean
  27844. produces:
  27845. - application/json
  27846. responses:
  27847. "200":
  27848. description: OK
  27849. schema:
  27850. $ref: '#/definitions/quote.HistoryTikData'
  27851. "500":
  27852. description: Internal Server Error
  27853. schema:
  27854. $ref: '#/definitions/app.Response'
  27855. security:
  27856. - ApiKeyAuth: []
  27857. summary: 查询行情Tik数据
  27858. tags:
  27859. - 行情服务
  27860. /Quote/QueryQuoteDay:
  27861. get:
  27862. parameters:
  27863. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  27864. in: query
  27865. name: goodsCodes
  27866. type: string
  27867. produces:
  27868. - application/json
  27869. responses:
  27870. "200":
  27871. description: OK
  27872. schema:
  27873. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  27874. "500":
  27875. description: Internal Server Error
  27876. schema:
  27877. $ref: '#/definitions/app.Response'
  27878. security:
  27879. - ApiKeyAuth: []
  27880. summary: 获取商品盘面信息
  27881. tags:
  27882. - 行情服务
  27883. /Quote/QueryTSData:
  27884. get:
  27885. parameters:
  27886. - description: 商品代码
  27887. in: query
  27888. name: goodsCode
  27889. required: true
  27890. type: string
  27891. produces:
  27892. - application/json
  27893. responses:
  27894. "200":
  27895. description: OK
  27896. schema:
  27897. $ref: '#/definitions/quote.QueryTSDataRsp'
  27898. "500":
  27899. description: Internal Server Error
  27900. schema:
  27901. $ref: '#/definitions/app.Response'
  27902. security:
  27903. - ApiKeyAuth: []
  27904. summary: 分时图数据查询
  27905. tags:
  27906. - 行情服务
  27907. /SZDZ/QueryConvertConfig:
  27908. get:
  27909. parameters:
  27910. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  27911. 6:交易转花生米(不设置)
  27912. in: query
  27913. name: convertType
  27914. type: integer
  27915. - description: 外部商品代码[JD\PD]
  27916. in: query
  27917. name: outerGoodsCode
  27918. type: string
  27919. - description: 内部商品ID列表[交易],格式:1,2,3
  27920. in: query
  27921. name: innerGoodsIDs
  27922. type: string
  27923. produces:
  27924. - application/json
  27925. responses:
  27926. "200":
  27927. description: OK
  27928. schema:
  27929. $ref: '#/definitions/models.Szdz3convertconfig'
  27930. "500":
  27931. description: Internal Server Error
  27932. schema:
  27933. $ref: '#/definitions/app.Response'
  27934. security:
  27935. - ApiKeyAuth: []
  27936. summary: 查询交易系统转换设置
  27937. tags:
  27938. - 定制【尚志大宗】
  27939. /SZDZ/QueryConvertLog:
  27940. get:
  27941. parameters:
  27942. - description: 资金账户 - 格式:1,2,3
  27943. in: query
  27944. name: accountID
  27945. required: true
  27946. type: string
  27947. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27948. in: query
  27949. name: startDate
  27950. type: string
  27951. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  27952. in: query
  27953. name: endDate
  27954. type: string
  27955. produces:
  27956. - application/json
  27957. responses:
  27958. "200":
  27959. description: OK
  27960. schema:
  27961. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  27962. "500":
  27963. description: Internal Server Error
  27964. schema:
  27965. $ref: '#/definitions/app.Response'
  27966. security:
  27967. - ApiKeyAuth: []
  27968. summary: 交易系统转换流水查询
  27969. tags:
  27970. - 定制【尚志大宗】
  27971. /SZDZ/QueryGoodsPickup:
  27972. get:
  27973. parameters:
  27974. - description: 资金账户 - 格式:1,2,3
  27975. in: query
  27976. name: accountID
  27977. required: true
  27978. type: string
  27979. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  27980. in: query
  27981. name: takeOrderStatus
  27982. type: integer
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  27990. "500":
  27991. description: Internal Server Error
  27992. schema:
  27993. $ref: '#/definitions/app.Response'
  27994. security:
  27995. - ApiKeyAuth: []
  27996. summary: 商品提货单查询
  27997. tags:
  27998. - 定制【尚志大宗】
  27999. /SZDZ/QueryRecieptOrder:
  28000. get:
  28001. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28002. parameters:
  28003. - description: 页码
  28004. in: query
  28005. name: page
  28006. type: integer
  28007. - description: 每页条数
  28008. in: query
  28009. name: pagesize
  28010. type: integer
  28011. - description: 商品ID
  28012. in: query
  28013. name: goodsID
  28014. required: true
  28015. type: integer
  28016. - description: 所属账户名称
  28017. in: query
  28018. name: accountName
  28019. type: string
  28020. - description: 市场ID
  28021. in: query
  28022. name: marketID
  28023. type: integer
  28024. - description: 方向 - 0:买 1:卖
  28025. in: query
  28026. name: buyorsell
  28027. required: true
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  28036. "500":
  28037. description: Internal Server Error
  28038. schema:
  28039. $ref: '#/definitions/app.Response'
  28040. security:
  28041. - ApiKeyAuth: []
  28042. summary: 点选挂牌委托单据查询(摘牌大厅)
  28043. tags:
  28044. - 定制【尚志大宗】
  28045. /SZDZ/QuerySZDZTradePosition:
  28046. get:
  28047. parameters:
  28048. - description: 资金账户
  28049. in: query
  28050. name: accountID
  28051. required: true
  28052. type: integer
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  28060. "500":
  28061. description: Internal Server Error
  28062. schema:
  28063. $ref: '#/definitions/app.Response'
  28064. security:
  28065. - ApiKeyAuth: []
  28066. summary: 持仓汇总查询(尚志大宗)
  28067. tags:
  28068. - 定制【尚志大宗】
  28069. /SZDZ/SearchWhite:
  28070. get:
  28071. parameters:
  28072. - description: 用户ID
  28073. in: query
  28074. name: userID
  28075. required: true
  28076. type: integer
  28077. produces:
  28078. - application/json
  28079. responses:
  28080. "200":
  28081. description: OK
  28082. schema:
  28083. $ref: '#/definitions/models.Szdz3searchwhitelist'
  28084. "500":
  28085. description: Internal Server Error
  28086. schema:
  28087. $ref: '#/definitions/app.Response'
  28088. security:
  28089. - ApiKeyAuth: []
  28090. summary: 搜索白名单
  28091. tags:
  28092. - 定制【尚志大宗】
  28093. /Search/SearchGoodses:
  28094. get:
  28095. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  28096. parameters:
  28097. - description: 检索内容
  28098. in: query
  28099. name: content
  28100. required: true
  28101. type: string
  28102. - description: 交易模式,格式:1,2,3
  28103. in: query
  28104. name: tradeModes
  28105. type: string
  28106. produces:
  28107. - application/json
  28108. responses:
  28109. "200":
  28110. description: OK
  28111. schema:
  28112. $ref: '#/definitions/models.SearchGoods'
  28113. "500":
  28114. description: Internal Server Error
  28115. schema:
  28116. $ref: '#/definitions/app.Response'
  28117. summary: 检索商品信息
  28118. tags:
  28119. - 检索服务
  28120. /TaAccount/GetTaAccounts:
  28121. get:
  28122. parameters:
  28123. - description: 登录账户
  28124. in: query
  28125. name: loginID
  28126. required: true
  28127. type: integer
  28128. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  28129. in: query
  28130. name: taAccountType
  28131. type: integer
  28132. produces:
  28133. - application/json
  28134. responses:
  28135. "200":
  28136. description: OK
  28137. schema:
  28138. $ref: '#/definitions/models.Taaccount'
  28139. "500":
  28140. description: Internal Server Error
  28141. schema:
  28142. $ref: '#/definitions/app.Response'
  28143. security:
  28144. - ApiKeyAuth: []
  28145. summary: 获取资金账户信息
  28146. tags:
  28147. - 资金账户
  28148. /TaAccount/QueryAmountLog:
  28149. get:
  28150. parameters:
  28151. - description: 页码
  28152. in: query
  28153. name: page
  28154. type: integer
  28155. - description: 每页条数
  28156. in: query
  28157. name: pagesize
  28158. type: integer
  28159. - description: 资金账户 - 格式:1,2,3
  28160. in: query
  28161. name: accountID
  28162. required: true
  28163. type: string
  28164. - description: 资金操作类型 - 格式:1,2,3
  28165. in: query
  28166. name: OperateType
  28167. type: string
  28168. produces:
  28169. - application/json
  28170. responses:
  28171. "200":
  28172. description: OK
  28173. schema:
  28174. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. summary: 资金流水查询(当前)
  28182. tags:
  28183. - 资金账户
  28184. /TaAccount/QueryHisAmountLog:
  28185. get:
  28186. parameters:
  28187. - description: 页码
  28188. in: query
  28189. name: page
  28190. type: integer
  28191. - description: 每页条数
  28192. in: query
  28193. name: pagesize
  28194. type: integer
  28195. - description: 资金账户 - 格式:1,2,3
  28196. in: query
  28197. name: accountID
  28198. required: true
  28199. type: string
  28200. - description: 资金操作类型 - 格式:1,2,3
  28201. in: query
  28202. name: OperateType
  28203. type: string
  28204. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28205. in: query
  28206. name: startDate
  28207. type: string
  28208. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28209. in: query
  28210. name: endDate
  28211. type: string
  28212. produces:
  28213. - application/json
  28214. responses:
  28215. "200":
  28216. description: OK
  28217. schema:
  28218. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  28219. "500":
  28220. description: Internal Server Error
  28221. schema:
  28222. $ref: '#/definitions/app.Response'
  28223. security:
  28224. - ApiKeyAuth: []
  28225. summary: 资金流水查询(历史)
  28226. tags:
  28227. - 资金账户
  28228. /TaAccount/QueryRelatedTaAccount:
  28229. get:
  28230. parameters:
  28231. - description: 关联UserID
  28232. in: query
  28233. name: relateduserid
  28234. required: true
  28235. type: integer
  28236. produces:
  28237. - application/json
  28238. responses:
  28239. "200":
  28240. description: OK
  28241. schema:
  28242. items:
  28243. $ref: '#/definitions/models.RelatedTaAccount'
  28244. type: array
  28245. "500":
  28246. description: Internal Server Error
  28247. schema:
  28248. $ref: '#/definitions/app.Response'
  28249. security:
  28250. - ApiKeyAuth: []
  28251. summary: 查询关联资金账户信息
  28252. tags:
  28253. - 资金账户
  28254. /Tjmd/QueryQuoteGoodsList:
  28255. get:
  28256. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  28257. parameters:
  28258. - description: 用户类型
  28259. in: query
  28260. name: usertype
  28261. required: true
  28262. type: integer
  28263. - description: 市场id, 格式 1,2,3
  28264. in: query
  28265. name: marketids
  28266. type: string
  28267. - description: 商品组id
  28268. in: query
  28269. name: goodsgroupid
  28270. type: integer
  28271. - description: 商品id
  28272. in: query
  28273. name: goodsid
  28274. type: integer
  28275. produces:
  28276. - application/json
  28277. responses:
  28278. "200":
  28279. description: OK
  28280. schema:
  28281. items:
  28282. $ref: '#/definitions/models.TjmdQuoteGoods'
  28283. type: array
  28284. "500":
  28285. description: Internal Server Error
  28286. schema:
  28287. $ref: '#/definitions/app.Response'
  28288. security:
  28289. - ApiKeyAuth: []
  28290. summary: 查询掉期报价列表
  28291. tags:
  28292. - 天津麦顿
  28293. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  28294. get:
  28295. parameters:
  28296. - description: 成交单号
  28297. in: query
  28298. name: tradeid
  28299. required: true
  28300. type: string
  28301. produces:
  28302. - application/json
  28303. responses:
  28304. "200":
  28305. description: OK
  28306. schema:
  28307. items:
  28308. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  28309. type: array
  28310. "500":
  28311. description: Internal Server Error
  28312. schema:
  28313. $ref: '#/definitions/app.Response'
  28314. security:
  28315. - ApiKeyAuth: []
  28316. summary: 掉期商品订单详情(交易确认书)
  28317. tags:
  28318. - 天津麦顿
  28319. /Tjmd/QueryTjmdMarketSection:
  28320. get:
  28321. produces:
  28322. - application/json
  28323. responses:
  28324. "200":
  28325. description: OK
  28326. schema:
  28327. items:
  28328. $ref: '#/definitions/models.TjmdMarketSection'
  28329. type: array
  28330. "500":
  28331. description: Internal Server Error
  28332. schema:
  28333. $ref: '#/definitions/app.Response'
  28334. security:
  28335. - ApiKeyAuth: []
  28336. summary: 查询市场板块
  28337. tags:
  28338. - 天津麦顿
  28339. /Tjmd/QueryTjmdTodayAccountMargin:
  28340. get:
  28341. parameters:
  28342. - description: 市场id
  28343. in: query
  28344. name: marketid
  28345. type: string
  28346. - description: 商品id
  28347. in: query
  28348. name: goodsid
  28349. type: string
  28350. - description: 资金账号
  28351. in: query
  28352. name: accountid
  28353. type: string
  28354. produces:
  28355. - application/json
  28356. responses:
  28357. "200":
  28358. description: OK
  28359. schema:
  28360. items:
  28361. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  28362. type: array
  28363. "500":
  28364. description: Internal Server Error
  28365. schema:
  28366. $ref: '#/definitions/app.Response'
  28367. security:
  28368. - ApiKeyAuth: []
  28369. summary: 查询今日账户保证金配置
  28370. tags:
  28371. - 天津麦顿
  28372. /Tjmd/QueryTjmdTradeOrderDetail:
  28373. get:
  28374. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  28375. parameters:
  28376. - description: 页码
  28377. in: query
  28378. name: page
  28379. type: integer
  28380. - description: 每页条数
  28381. in: query
  28382. name: pagesize
  28383. type: integer
  28384. - description: 用户id
  28385. in: query
  28386. name: userid
  28387. required: true
  28388. type: integer
  28389. - description: 用户类型
  28390. in: query
  28391. name: usertype
  28392. required: true
  28393. type: integer
  28394. - description: 市场id, 格式 1,2,3
  28395. in: query
  28396. name: marketids
  28397. type: string
  28398. - description: 商品id
  28399. in: query
  28400. name: goodsid
  28401. required: true
  28402. type: integer
  28403. - description: 买卖方向 0-买 1-卖
  28404. in: query
  28405. name: buyorsell
  28406. required: true
  28407. type: integer
  28408. produces:
  28409. - application/json
  28410. responses:
  28411. "200":
  28412. description: OK
  28413. schema:
  28414. items:
  28415. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  28416. type: array
  28417. "500":
  28418. description: Internal Server Error
  28419. schema:
  28420. $ref: '#/definitions/app.Response'
  28421. security:
  28422. - ApiKeyAuth: []
  28423. summary: 查询掉期买卖大厅
  28424. tags:
  28425. - 天津麦顿
  28426. /Tjmd/QueryTjmdTransferApply:
  28427. get:
  28428. parameters:
  28429. - description: 类型 1-我的申请 2-对方申请
  28430. in: query
  28431. name: applytype
  28432. required: true
  28433. type: integer
  28434. - description: 市场id, 格式 1,2,3
  28435. in: query
  28436. name: marketids
  28437. type: string
  28438. - description: 资金账号, 格式 25000000001,25000000003
  28439. in: query
  28440. name: accountids
  28441. type: string
  28442. - description: 开始交易日(yyyymmdd)
  28443. in: query
  28444. name: begindate
  28445. type: string
  28446. - description: 结束交易日(yyyymmdd)
  28447. in: query
  28448. name: enddate
  28449. type: string
  28450. produces:
  28451. - application/json
  28452. responses:
  28453. "200":
  28454. description: OK
  28455. schema:
  28456. items:
  28457. $ref: '#/definitions/models.TjmdTransferApply'
  28458. type: array
  28459. "500":
  28460. description: Internal Server Error
  28461. schema:
  28462. $ref: '#/definitions/app.Response'
  28463. security:
  28464. - ApiKeyAuth: []
  28465. summary: 查询掉期协议单
  28466. tags:
  28467. - 天津麦顿
  28468. /Trade/QueryRecieptOrder:
  28469. get:
  28470. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  28471. parameters:
  28472. - description: 页码
  28473. in: query
  28474. name: page
  28475. type: integer
  28476. - description: 每页条数
  28477. in: query
  28478. name: pagesize
  28479. type: integer
  28480. - description: 商品ID
  28481. in: query
  28482. name: goodsID
  28483. required: true
  28484. type: integer
  28485. - description: 所属账户名称
  28486. in: query
  28487. name: accountName
  28488. type: string
  28489. - description: 市场ID
  28490. in: query
  28491. name: marketID
  28492. type: integer
  28493. - description: 方向 - 0:买 1:卖
  28494. in: query
  28495. name: buyorsell
  28496. required: true
  28497. type: integer
  28498. produces:
  28499. - application/json
  28500. responses:
  28501. "200":
  28502. description: OK
  28503. schema:
  28504. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  28505. "500":
  28506. description: Internal Server Error
  28507. schema:
  28508. $ref: '#/definitions/app.Response'
  28509. security:
  28510. - ApiKeyAuth: []
  28511. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  28512. tags:
  28513. - 通用交易
  28514. /User/AddMessageBoard:
  28515. post:
  28516. parameters:
  28517. - description: 用户ID
  28518. in: query
  28519. name: userID
  28520. required: true
  28521. type: integer
  28522. - description: 留言信息
  28523. in: query
  28524. name: message
  28525. required: true
  28526. type: string
  28527. - description: 联系电话
  28528. in: query
  28529. name: contactNum
  28530. required: true
  28531. type: string
  28532. produces:
  28533. - application/json
  28534. responses:
  28535. "200":
  28536. description: OK
  28537. schema:
  28538. $ref: '#/definitions/app.Response'
  28539. "500":
  28540. description: Internal Server Error
  28541. schema:
  28542. $ref: '#/definitions/app.Response'
  28543. security:
  28544. - ApiKeyAuth: []
  28545. summary: 添加用户留言板信息
  28546. tags:
  28547. - 用户信息
  28548. /User/AddUserFavoriteGoods:
  28549. post:
  28550. parameters:
  28551. - description: 用户ID
  28552. in: query
  28553. name: userID
  28554. required: true
  28555. type: integer
  28556. - description: 商品ID
  28557. in: query
  28558. name: goodsID
  28559. required: true
  28560. type: integer
  28561. produces:
  28562. - application/json
  28563. responses:
  28564. "200":
  28565. description: OK
  28566. schema:
  28567. $ref: '#/definitions/app.Response'
  28568. "500":
  28569. description: Internal Server Error
  28570. schema:
  28571. $ref: '#/definitions/app.Response'
  28572. security:
  28573. - ApiKeyAuth: []
  28574. summary: 添加用户商品收藏信息
  28575. tags:
  28576. - 用户信息
  28577. /User/GetLoginID:
  28578. get:
  28579. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  28580. parameters:
  28581. - description: 登录代码
  28582. in: query
  28583. name: username
  28584. required: true
  28585. type: string
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. $ref: '#/definitions/app.Response'
  28593. "500":
  28594. description: Internal Server Error
  28595. schema:
  28596. $ref: '#/definitions/app.Response'
  28597. summary: 获取登录ID
  28598. tags:
  28599. - 用户信息
  28600. /User/GetUserAccount:
  28601. get:
  28602. parameters:
  28603. - description: 用户ID
  28604. in: query
  28605. name: userID
  28606. required: true
  28607. type: integer
  28608. produces:
  28609. - application/json
  28610. responses:
  28611. "200":
  28612. description: OK
  28613. schema:
  28614. $ref: '#/definitions/models.Useraccount'
  28615. "500":
  28616. description: Internal Server Error
  28617. schema:
  28618. $ref: '#/definitions/app.Response'
  28619. security:
  28620. - ApiKeyAuth: []
  28621. summary: 获取用户账号信息
  28622. tags:
  28623. - 用户信息
  28624. /User/GetUserAuthStatus:
  28625. get:
  28626. parameters:
  28627. - description: 用户ID
  28628. in: query
  28629. name: userID
  28630. required: true
  28631. type: integer
  28632. produces:
  28633. - application/json
  28634. responses:
  28635. "200":
  28636. description: OK
  28637. schema:
  28638. $ref: '#/definitions/app.Response'
  28639. "500":
  28640. description: Internal Server Error
  28641. schema:
  28642. $ref: '#/definitions/app.Response'
  28643. security:
  28644. - ApiKeyAuth: []
  28645. summary: 获取用户实名认证状态
  28646. tags:
  28647. - 用户信息
  28648. /User/LoginQuery:
  28649. get:
  28650. parameters:
  28651. - description: 登录账号
  28652. in: query
  28653. name: loginID
  28654. required: true
  28655. type: integer
  28656. produces:
  28657. - application/json
  28658. responses:
  28659. "200":
  28660. description: OK
  28661. schema:
  28662. $ref: '#/definitions/user.LoginQueryRsp'
  28663. "500":
  28664. description: Internal Server Error
  28665. schema:
  28666. $ref: '#/definitions/app.Response'
  28667. security:
  28668. - ApiKeyAuth: []
  28669. summary: 账户登录后信息查询
  28670. tags:
  28671. - 用户信息
  28672. /User/QueryMessageBoard:
  28673. get:
  28674. parameters:
  28675. - description: 用户ID
  28676. in: query
  28677. name: userID
  28678. required: true
  28679. type: integer
  28680. produces:
  28681. - application/json
  28682. responses:
  28683. "200":
  28684. description: OK
  28685. schema:
  28686. $ref: '#/definitions/models.Messageboard'
  28687. "500":
  28688. description: Internal Server Error
  28689. schema:
  28690. $ref: '#/definitions/app.Response'
  28691. security:
  28692. - ApiKeyAuth: []
  28693. summary: 获取用户留言板信息
  28694. tags:
  28695. - 用户信息
  28696. /User/QueryUserFavoriteGoodses:
  28697. get:
  28698. parameters:
  28699. - description: 用户ID
  28700. in: query
  28701. name: userID
  28702. required: true
  28703. type: integer
  28704. produces:
  28705. - application/json
  28706. responses:
  28707. "200":
  28708. description: OK
  28709. schema:
  28710. $ref: '#/definitions/models.Userfavoritegoods'
  28711. "500":
  28712. description: Internal Server Error
  28713. schema:
  28714. $ref: '#/definitions/app.Response'
  28715. security:
  28716. - ApiKeyAuth: []
  28717. summary: 获取用户商品收藏信息
  28718. tags:
  28719. - 用户信息
  28720. /User/QueryUserInfo:
  28721. get:
  28722. parameters:
  28723. - description: 用户ID
  28724. in: query
  28725. name: userID
  28726. required: true
  28727. type: integer
  28728. - description: 是否解密
  28729. in: query
  28730. name: isDecrypt
  28731. type: boolean
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. $ref: '#/definitions/models.Userinfo'
  28739. "500":
  28740. description: Internal Server Error
  28741. schema:
  28742. $ref: '#/definitions/app.Response'
  28743. security:
  28744. - ApiKeyAuth: []
  28745. summary: 获取用户信息
  28746. tags:
  28747. - 用户信息
  28748. /User/QueryUserReferNum:
  28749. get:
  28750. parameters:
  28751. - description: 用户ID
  28752. in: query
  28753. name: userID
  28754. required: true
  28755. type: integer
  28756. produces:
  28757. - application/json
  28758. responses:
  28759. "200":
  28760. description: OK
  28761. schema:
  28762. $ref: '#/definitions/app.Response'
  28763. "500":
  28764. description: Internal Server Error
  28765. schema:
  28766. $ref: '#/definitions/app.Response'
  28767. summary: 获取用户邀请码
  28768. tags:
  28769. - 用户信息
  28770. /User/RemoveUserFavoriteGoods:
  28771. post:
  28772. parameters:
  28773. - description: 用户ID
  28774. in: query
  28775. name: userID
  28776. required: true
  28777. type: integer
  28778. - description: 商品ID
  28779. in: query
  28780. name: goodsID
  28781. required: true
  28782. type: integer
  28783. produces:
  28784. - application/json
  28785. responses:
  28786. "200":
  28787. description: OK
  28788. schema:
  28789. $ref: '#/definitions/app.Response'
  28790. "500":
  28791. description: Internal Server Error
  28792. schema:
  28793. $ref: '#/definitions/app.Response'
  28794. security:
  28795. - ApiKeyAuth: []
  28796. summary: 移除用户商品收藏信息
  28797. tags:
  28798. - 用户信息
  28799. /User/UpdateUserAccountStatus:
  28800. post:
  28801. parameters:
  28802. - description: 用户ID
  28803. in: query
  28804. name: userID
  28805. required: true
  28806. type: integer
  28807. - description: 账户状态 - 4:正常 6:注销(停用)
  28808. in: query
  28809. name: accountStatus
  28810. required: true
  28811. type: integer
  28812. produces:
  28813. - application/json
  28814. responses:
  28815. "200":
  28816. description: OK
  28817. schema:
  28818. $ref: '#/definitions/app.Response'
  28819. "500":
  28820. description: Internal Server Error
  28821. schema:
  28822. $ref: '#/definitions/app.Response'
  28823. security:
  28824. - ApiKeyAuth: []
  28825. summary: 更新用户状态
  28826. tags:
  28827. - 用户信息
  28828. /WRTrade/GetAllDeliveryGoods:
  28829. get:
  28830. produces:
  28831. - application/json
  28832. responses:
  28833. "200":
  28834. description: OK
  28835. schema:
  28836. $ref: '#/definitions/app.Response'
  28837. "500":
  28838. description: Internal Server Error
  28839. schema:
  28840. $ref: '#/definitions/app.Response'
  28841. security:
  28842. - ApiKeyAuth: []
  28843. summary: 获取带仓单分类的种类信息
  28844. tags:
  28845. - 仓单贸易
  28846. - 仓单贸易
  28847. /WrTrade2/InsertXhcpSellBackApply:
  28848. post:
  28849. parameters:
  28850. - description: 回收申请
  28851. in: body
  28852. name: jsonBody
  28853. required: true
  28854. schema:
  28855. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  28856. produces:
  28857. - application/json
  28858. responses:
  28859. "200":
  28860. description: OK
  28861. schema:
  28862. $ref: '#/definitions/app.Response'
  28863. "500":
  28864. description: Internal Server Error
  28865. schema:
  28866. $ref: '#/definitions/app.Response'
  28867. security:
  28868. - ApiKeyAuth: []
  28869. summary: 新增回收申请(新会陈皮)
  28870. tags:
  28871. - 仓单贸易v2
  28872. /WrTrade2/QueryDeliveryGoodsSection:
  28873. get:
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  28882. type: array
  28883. "500":
  28884. description: Internal Server Error
  28885. schema:
  28886. $ref: '#/definitions/app.Response'
  28887. security:
  28888. - ApiKeyAuth: []
  28889. summary: 查询板块(分类)
  28890. tags:
  28891. - 仓单贸易v2
  28892. /WrTrade2/QueryFaProductDetail:
  28893. get:
  28894. description: 页面 买卖大厅 -> 选择融资方案
  28895. parameters:
  28896. - description: 仓单要素id
  28897. in: query
  28898. name: wrfactortypeid
  28899. required: true
  28900. type: integer
  28901. produces:
  28902. - application/json
  28903. responses:
  28904. "200":
  28905. description: OK
  28906. schema:
  28907. items:
  28908. $ref: '#/definitions/models.WrFAProductDetail'
  28909. type: array
  28910. "500":
  28911. description: Internal Server Error
  28912. schema:
  28913. $ref: '#/definitions/app.Response'
  28914. security:
  28915. - ApiKeyAuth: []
  28916. summary: 查询融资产品列表
  28917. tags:
  28918. - 仓单贸易v2
  28919. /WrTrade2/QueryFilterItem:
  28920. get:
  28921. parameters:
  28922. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  28923. in: query
  28924. name: itype
  28925. required: true
  28926. type: string
  28927. produces:
  28928. - application/json
  28929. responses:
  28930. "200":
  28931. description: OK
  28932. schema:
  28933. items:
  28934. $ref: '#/definitions/models.WrFilterItem'
  28935. type: array
  28936. "500":
  28937. description: Internal Server Error
  28938. schema:
  28939. $ref: '#/definitions/app.Response'
  28940. security:
  28941. - ApiKeyAuth: []
  28942. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  28943. tags:
  28944. - 仓单贸易v2
  28945. /WrTrade2/QueryFtDeliveryGoods:
  28946. get:
  28947. produces:
  28948. - application/json
  28949. responses:
  28950. "200":
  28951. description: OK
  28952. schema:
  28953. items:
  28954. $ref: '#/definitions/models.WrFtDeliveryGoods'
  28955. type: array
  28956. "500":
  28957. description: Internal Server Error
  28958. schema:
  28959. $ref: '#/definitions/app.Response'
  28960. security:
  28961. - ApiKeyAuth: []
  28962. summary: 查询品种品类筛选框列表
  28963. tags:
  28964. - 仓单贸易v2
  28965. /WrTrade2/QueryHoldLB:
  28966. get:
  28967. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  28968. parameters:
  28969. - description: 资金账号
  28970. in: query
  28971. name: accountid
  28972. required: true
  28973. type: integer
  28974. - description: 仓库id
  28975. in: query
  28976. name: warehouseid
  28977. type: integer
  28978. - description: 品种id
  28979. in: query
  28980. name: deliverygoodsid
  28981. type: integer
  28982. - description: 品类id
  28983. in: query
  28984. name: wrstandardid
  28985. type: integer
  28986. - description: 仓单要素id
  28987. in: query
  28988. name: wrfactortypeid
  28989. type: integer
  28990. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28991. in: query
  28992. name: dgitemname
  28993. type: string
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. items:
  29001. $ref: '#/definitions/models.WrHoldLB'
  29002. type: array
  29003. "500":
  29004. description: Internal Server Error
  29005. schema:
  29006. $ref: '#/definitions/app.Response'
  29007. security:
  29008. - ApiKeyAuth: []
  29009. summary: 查询仓单持有记录
  29010. tags:
  29011. - 仓单贸易v2
  29012. /WrTrade2/QueryOrderQuote:
  29013. get:
  29014. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  29015. 唯一确定1条记录
  29016. parameters:
  29017. - description: 页码
  29018. in: query
  29019. name: page
  29020. type: integer
  29021. - description: 每页条数
  29022. in: query
  29023. name: pagesize
  29024. type: integer
  29025. - description: 仓单贸易市场id
  29026. in: query
  29027. name: marketid
  29028. type: integer
  29029. - description: 价格方式 - 1:固定价 2-浮动价
  29030. in: query
  29031. name: wrpricetype
  29032. required: true
  29033. type: integer
  29034. - description: 0:仓单预售 1:仓单贸易
  29035. in: query
  29036. name: haswr
  29037. type: integer
  29038. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29039. in: query
  29040. name: dgitemname
  29041. type: string
  29042. - description: 仓库id(筛选条件)
  29043. in: query
  29044. name: warehouseid
  29045. type: integer
  29046. - description: 品种id
  29047. in: query
  29048. name: deliverygoodsid
  29049. type: integer
  29050. - description: 品类id
  29051. in: query
  29052. name: wrstandardid
  29053. type: integer
  29054. - description: 品牌id(dgfactoryitemid)
  29055. in: query
  29056. name: brandid
  29057. type: integer
  29058. - description: 年份id(dgfactoryitemid)
  29059. in: query
  29060. name: yearsid
  29061. type: integer
  29062. - description: 仓单要素id
  29063. in: query
  29064. name: wrfactortypeid
  29065. type: integer
  29066. - description: 交收月(yyyy-mm) 仓单预售填写
  29067. in: query
  29068. name: deliverymonth
  29069. type: string
  29070. produces:
  29071. - application/json
  29072. responses:
  29073. "200":
  29074. description: OK
  29075. schema:
  29076. items:
  29077. $ref: '#/definitions/models.WrOrderQuote'
  29078. type: array
  29079. "500":
  29080. description: Internal Server Error
  29081. schema:
  29082. $ref: '#/definitions/app.Response'
  29083. security:
  29084. - ApiKeyAuth: []
  29085. summary: 查询大厅行情列表
  29086. tags:
  29087. - 仓单贸易v2
  29088. /WrTrade2/QueryOrderQuoteDetail:
  29089. get:
  29090. parameters:
  29091. - description: 页码
  29092. in: query
  29093. name: page
  29094. type: integer
  29095. - description: 每页条数
  29096. in: query
  29097. name: pagesize
  29098. type: integer
  29099. - description: 仓单贸易市场id
  29100. in: query
  29101. name: marketid
  29102. type: integer
  29103. - description: 价格方式 - 1:固定价 2-浮动价
  29104. in: query
  29105. name: wrpricetype
  29106. required: true
  29107. type: integer
  29108. - description: 0:仓单预售 1:仓单贸易
  29109. in: query
  29110. name: haswr
  29111. type: integer
  29112. - description: 仓单要素id
  29113. in: query
  29114. name: wrfactortypeid
  29115. required: true
  29116. type: integer
  29117. - description: 期货商品id(浮动价方式时填)
  29118. in: query
  29119. name: goodsid
  29120. type: integer
  29121. - description: 买卖方向 0-买 1-卖
  29122. in: query
  29123. name: buyorsell
  29124. required: true
  29125. type: integer
  29126. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  29127. in: query
  29128. name: deliverymonth
  29129. type: string
  29130. produces:
  29131. - application/json
  29132. responses:
  29133. "200":
  29134. description: OK
  29135. schema:
  29136. items:
  29137. $ref: '#/definitions/models.WrOrderQuoteDetail'
  29138. type: array
  29139. "500":
  29140. description: Internal Server Error
  29141. schema:
  29142. $ref: '#/definitions/app.Response'
  29143. security:
  29144. - ApiKeyAuth: []
  29145. summary: 查询买卖大厅
  29146. tags:
  29147. - 仓单贸易v2
  29148. /WrTrade2/QueryOrderQuoteMyq:
  29149. get:
  29150. parameters:
  29151. - description: 页码
  29152. in: query
  29153. name: page
  29154. type: integer
  29155. - description: 每页条数
  29156. in: query
  29157. name: pagesize
  29158. type: integer
  29159. - description: 用户id
  29160. in: query
  29161. name: userid
  29162. required: true
  29163. type: integer
  29164. - description: 仓单贸易市场id
  29165. in: query
  29166. name: marketid
  29167. type: integer
  29168. - description: 0:仓单预售 1:仓单贸易
  29169. in: query
  29170. name: haswr
  29171. type: integer
  29172. - description: 买卖方向 0-买 1-卖
  29173. in: query
  29174. name: buyorsell
  29175. required: true
  29176. type: integer
  29177. - description: 品种id
  29178. in: query
  29179. name: deliverygoodsid
  29180. type: integer
  29181. - description: 品类id
  29182. in: query
  29183. name: wrstandardid
  29184. type: integer
  29185. - description: 交收月(yyyy-mm) 仓单预售填写
  29186. in: query
  29187. name: deliverymonth
  29188. type: string
  29189. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29190. in: query
  29191. name: dgitemname
  29192. type: string
  29193. produces:
  29194. - application/json
  29195. responses:
  29196. "200":
  29197. description: OK
  29198. schema:
  29199. items:
  29200. $ref: '#/definitions/models.WrQuoteOrderMyq'
  29201. type: array
  29202. "500":
  29203. description: Internal Server Error
  29204. schema:
  29205. $ref: '#/definitions/app.Response'
  29206. security:
  29207. - ApiKeyAuth: []
  29208. summary: 查询贸易圈挂牌大厅
  29209. tags:
  29210. - 仓单贸易v2
  29211. /WrTrade2/QueryPerformancePlan:
  29212. get:
  29213. parameters:
  29214. - description: 用户id
  29215. in: query
  29216. name: userid
  29217. required: true
  29218. type: integer
  29219. - description: 买卖方向 0-买 1-卖
  29220. in: query
  29221. name: buyorsell
  29222. required: true
  29223. type: integer
  29224. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  29225. 8:释放冻结失败 9:超时待处理 10:超时关闭
  29226. in: query
  29227. name: status
  29228. type: string
  29229. - description: 开始交易日(yyyymmdd)
  29230. in: query
  29231. name: begindate
  29232. type: string
  29233. - description: 结束交易日(yyyymmdd)
  29234. in: query
  29235. name: enddate
  29236. type: string
  29237. produces:
  29238. - application/json
  29239. responses:
  29240. "200":
  29241. description: OK
  29242. schema:
  29243. items:
  29244. $ref: '#/definitions/models.WrPerformancePlan'
  29245. type: array
  29246. "500":
  29247. description: Internal Server Error
  29248. schema:
  29249. $ref: '#/definitions/app.Response'
  29250. security:
  29251. - ApiKeyAuth: []
  29252. summary: 查询履约信息
  29253. tags:
  29254. - 仓单贸易v2
  29255. /WrTrade2/QueryPermancePlanTmp:
  29256. get:
  29257. description: |-
  29258. 返回指定用户的模板和公共模板(用户id为空)
  29259. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  29260. parameters:
  29261. - description: 用户id
  29262. in: query
  29263. name: userid
  29264. type: integer
  29265. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  29266. (无仓单) 5:挂牌期权 6:竞拍-降价式
  29267. in: query
  29268. name: tmptype
  29269. type: string
  29270. - description: 是否包含公共模板(用户id为空的) 1-包含
  29271. in: query
  29272. name: includepub
  29273. type: integer
  29274. - description: 市场id(天津麦顿指定此参数,其它不用)
  29275. in: query
  29276. name: marketid
  29277. type: integer
  29278. produces:
  29279. - application/json
  29280. responses:
  29281. "200":
  29282. description: OK
  29283. schema:
  29284. items:
  29285. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  29286. type: array
  29287. "500":
  29288. description: Internal Server Error
  29289. schema:
  29290. $ref: '#/definitions/app.Response'
  29291. security:
  29292. - ApiKeyAuth: []
  29293. summary: 查询履约模板
  29294. tags:
  29295. - 仓单贸易v2
  29296. /WrTrade2/QuerySiteColumnDetail:
  29297. get:
  29298. parameters:
  29299. - description: 页码
  29300. in: query
  29301. name: page
  29302. type: integer
  29303. - description: 每页条数
  29304. in: query
  29305. name: pagesize
  29306. type: integer
  29307. - description: 所属栏目id
  29308. in: query
  29309. name: columnid
  29310. type: integer
  29311. produces:
  29312. - application/json
  29313. responses:
  29314. "200":
  29315. description: OK
  29316. schema:
  29317. items:
  29318. $ref: '#/definitions/models.WrSiteColumnDetail'
  29319. type: array
  29320. "500":
  29321. description: Internal Server Error
  29322. schema:
  29323. $ref: '#/definitions/app.Response'
  29324. security:
  29325. - ApiKeyAuth: []
  29326. summary: 查询资讯
  29327. tags:
  29328. - 仓单贸易v2
  29329. /WrTrade2/QuerySpotGroupTradeSum:
  29330. get:
  29331. produces:
  29332. - application/json
  29333. responses:
  29334. "200":
  29335. description: OK
  29336. schema:
  29337. items:
  29338. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  29339. type: array
  29340. "500":
  29341. description: Internal Server Error
  29342. schema:
  29343. $ref: '#/definitions/app.Response'
  29344. security:
  29345. - ApiKeyAuth: []
  29346. summary: 查询指数
  29347. tags:
  29348. - 仓单贸易v2
  29349. /WrTrade2/QuerySpotGroupTradeSumDetail:
  29350. get:
  29351. description: 查询的结果将会按日期 从小到大 排序
  29352. parameters:
  29353. - description: 现货商品id
  29354. in: query
  29355. name: deliverygoodsid
  29356. required: true
  29357. type: integer
  29358. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  29359. in: query
  29360. name: lastnum
  29361. type: integer
  29362. produces:
  29363. - application/json
  29364. responses:
  29365. "200":
  29366. description: OK
  29367. schema:
  29368. items:
  29369. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  29370. type: array
  29371. "500":
  29372. description: Internal Server Error
  29373. schema:
  29374. $ref: '#/definitions/app.Response'
  29375. security:
  29376. - ApiKeyAuth: []
  29377. summary: 查询指数详细(价格走势图)
  29378. tags:
  29379. - 仓单贸易v2
  29380. /WrTrade2/QueryWrAverageTradePrice:
  29381. get:
  29382. parameters:
  29383. - description: 页码
  29384. in: query
  29385. name: page
  29386. type: integer
  29387. - description: 每页条数
  29388. in: query
  29389. name: pagesize
  29390. type: integer
  29391. - description: 0:仓单预售 1:仓单贸易
  29392. in: query
  29393. name: haswr
  29394. required: true
  29395. type: integer
  29396. - description: 仓单要素id
  29397. in: query
  29398. name: wrfactortypeid
  29399. required: true
  29400. type: integer
  29401. produces:
  29402. - application/json
  29403. responses:
  29404. "200":
  29405. description: OK
  29406. schema:
  29407. items:
  29408. $ref: '#/definitions/models.WrAverageTradePrice'
  29409. type: array
  29410. "500":
  29411. description: Internal Server Error
  29412. schema:
  29413. $ref: '#/definitions/app.Response'
  29414. security:
  29415. - ApiKeyAuth: []
  29416. summary: 查询成交价(历史走势)
  29417. tags:
  29418. - 仓单贸易v2
  29419. /WrTrade2/QueryWrBrandAndYears:
  29420. get:
  29421. produces:
  29422. - application/json
  29423. responses:
  29424. "200":
  29425. description: OK
  29426. schema:
  29427. items:
  29428. $ref: '#/definitions/models.WrBrandAndYears'
  29429. type: array
  29430. "500":
  29431. description: Internal Server Error
  29432. schema:
  29433. $ref: '#/definitions/app.Response'
  29434. security:
  29435. - ApiKeyAuth: []
  29436. summary: 查询品牌和年份
  29437. tags:
  29438. - 仓单贸易v2
  29439. /WrTrade2/QueryWrBsGoodsInfo:
  29440. get:
  29441. description: 合约交易/买卖大厅/详情
  29442. parameters:
  29443. - description: 商品id
  29444. in: query
  29445. name: goodsid
  29446. required: true
  29447. type: integer
  29448. produces:
  29449. - application/json
  29450. responses:
  29451. "200":
  29452. description: OK
  29453. schema:
  29454. items:
  29455. $ref: '#/definitions/models.WrBsGoodsInfo'
  29456. type: array
  29457. "500":
  29458. description: Internal Server Error
  29459. schema:
  29460. $ref: '#/definitions/app.Response'
  29461. security:
  29462. - ApiKeyAuth: []
  29463. summary: 查询合约交易买卖大厅详情
  29464. tags:
  29465. - 仓单贸易v2
  29466. /WrTrade2/QueryWrBuybackDetail:
  29467. get:
  29468. parameters:
  29469. - description: 融资合同id
  29470. in: query
  29471. name: scfcontractid
  29472. type: integer
  29473. produces:
  29474. - application/json
  29475. responses:
  29476. "200":
  29477. description: OK
  29478. schema:
  29479. items:
  29480. $ref: '#/definitions/models.WrBuybackDetail'
  29481. type: array
  29482. "500":
  29483. description: Internal Server Error
  29484. schema:
  29485. $ref: '#/definitions/app.Response'
  29486. security:
  29487. - ApiKeyAuth: []
  29488. summary: 查询仓单回购明细
  29489. tags:
  29490. - 仓单贸易v2
  29491. /WrTrade2/QueryWrClientAdSpaceConfig:
  29492. get:
  29493. produces:
  29494. - application/json
  29495. responses:
  29496. "200":
  29497. description: OK
  29498. schema:
  29499. items:
  29500. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  29501. type: array
  29502. "500":
  29503. description: Internal Server Error
  29504. schema:
  29505. $ref: '#/definitions/app.Response'
  29506. security:
  29507. - ApiKeyAuth: []
  29508. summary: 查询固定广告配置
  29509. tags:
  29510. - 仓单贸易v2
  29511. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  29512. get:
  29513. parameters:
  29514. - description: 资金账号
  29515. in: query
  29516. name: accountid
  29517. required: true
  29518. type: integer
  29519. - description: 商品id
  29520. in: query
  29521. name: goodsid
  29522. required: true
  29523. type: integer
  29524. produces:
  29525. - application/json
  29526. responses:
  29527. "200":
  29528. description: OK
  29529. schema:
  29530. items:
  29531. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  29532. type: array
  29533. "500":
  29534. description: Internal Server Error
  29535. schema:
  29536. $ref: '#/definitions/app.Response'
  29537. security:
  29538. - ApiKeyAuth: []
  29539. summary: 查询合约交收可点选仓单
  29540. tags:
  29541. - 仓单贸易v2
  29542. /WrTrade2/QueryWrDeliveryDetail:
  29543. get:
  29544. parameters:
  29545. - description: 用户id
  29546. in: query
  29547. name: userid
  29548. required: true
  29549. type: integer
  29550. - description: 资金账号id
  29551. in: query
  29552. name: accountid
  29553. type: integer
  29554. - description: 开始交易日(yyyymmdd)
  29555. in: query
  29556. name: begindate
  29557. type: string
  29558. - description: 结束交易日(yyyymmdd)
  29559. in: query
  29560. name: enddate
  29561. type: string
  29562. produces:
  29563. - application/json
  29564. responses:
  29565. "200":
  29566. description: OK
  29567. schema:
  29568. items:
  29569. $ref: '#/definitions/models.WrDeliveryDetail'
  29570. type: array
  29571. "500":
  29572. description: Internal Server Error
  29573. schema:
  29574. $ref: '#/definitions/app.Response'
  29575. security:
  29576. - ApiKeyAuth: []
  29577. summary: 查询交收
  29578. tags:
  29579. - 仓单贸易v2
  29580. /WrTrade2/QueryWrDraftUserInfo:
  29581. get:
  29582. parameters:
  29583. - description: 用户ID
  29584. in: query
  29585. name: userid
  29586. required: true
  29587. type: integer
  29588. - description: 用户状态 1:正常 2:注销
  29589. in: query
  29590. name: userstatus
  29591. type: integer
  29592. produces:
  29593. - application/json
  29594. responses:
  29595. "200":
  29596. description: OK
  29597. schema:
  29598. items:
  29599. $ref: '#/definitions/models.WrDraftUserInfo'
  29600. type: array
  29601. "500":
  29602. description: Internal Server Error
  29603. schema:
  29604. $ref: '#/definitions/app.Response'
  29605. security:
  29606. - ApiKeyAuth: []
  29607. summary: 查询实名认证信息
  29608. tags:
  29609. - 仓单贸易v2
  29610. /WrTrade2/QueryWrFactorTypeInfo:
  29611. get:
  29612. parameters:
  29613. - description: 仓单要素id
  29614. in: query
  29615. name: wrfactortypeid
  29616. required: true
  29617. type: integer
  29618. produces:
  29619. - application/json
  29620. responses:
  29621. "200":
  29622. description: OK
  29623. schema:
  29624. items:
  29625. $ref: '#/definitions/models.WrFactorTypeInfo'
  29626. type: array
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. summary: 查询仓单要素详细信息
  29634. tags:
  29635. - 仓单贸易v2
  29636. /WrTrade2/QueryWrFactorTypeInfoEx:
  29637. get:
  29638. parameters:
  29639. - description: 仓单要素id
  29640. in: query
  29641. name: wrfactortypeid
  29642. required: true
  29643. type: integer
  29644. produces:
  29645. - application/json
  29646. responses:
  29647. "200":
  29648. description: OK
  29649. schema:
  29650. items:
  29651. $ref: '#/definitions/models.WrTypeItem'
  29652. type: array
  29653. "500":
  29654. description: Internal Server Error
  29655. schema:
  29656. $ref: '#/definitions/app.Response'
  29657. security:
  29658. - ApiKeyAuth: []
  29659. summary: 查询仓单要素详细信息列表项
  29660. tags:
  29661. - 仓单贸易v2
  29662. /WrTrade2/QueryWrFinanceBuyApply:
  29663. get:
  29664. description: 页面 融资信息+ / 申请单
  29665. parameters:
  29666. - description: 用户id
  29667. in: query
  29668. name: userid
  29669. required: true
  29670. type: integer
  29671. produces:
  29672. - application/json
  29673. responses:
  29674. "200":
  29675. description: OK
  29676. schema:
  29677. items:
  29678. $ref: '#/definitions/models.WrFinanceBuyApply'
  29679. type: array
  29680. "500":
  29681. description: Internal Server Error
  29682. schema:
  29683. $ref: '#/definitions/app.Response'
  29684. security:
  29685. - ApiKeyAuth: []
  29686. summary: 查询融资购买申请
  29687. tags:
  29688. - 仓单贸易v2
  29689. /WrTrade2/QueryWrFriendApply:
  29690. get:
  29691. parameters:
  29692. - description: 用户id
  29693. in: query
  29694. name: userid
  29695. required: true
  29696. type: integer
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.WrFriendApply'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 查询好友申请记录
  29713. tags:
  29714. - 仓单贸易v2
  29715. /WrTrade2/QueryWrGoodsInfo:
  29716. get:
  29717. parameters:
  29718. - description: 仓单贸易市场id
  29719. in: query
  29720. name: marketid
  29721. type: integer
  29722. - description: 0:仓单预售 1:仓单贸易
  29723. in: query
  29724. name: haswr
  29725. required: true
  29726. type: integer
  29727. - description: 仓单要素id
  29728. in: query
  29729. name: wrfactortypeid
  29730. required: true
  29731. type: integer
  29732. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  29733. in: query
  29734. name: tmplateid
  29735. type: integer
  29736. produces:
  29737. - application/json
  29738. responses:
  29739. "200":
  29740. description: OK
  29741. schema:
  29742. items:
  29743. $ref: '#/definitions/models.WrGoodsInfo'
  29744. type: array
  29745. "500":
  29746. description: Internal Server Error
  29747. schema:
  29748. $ref: '#/definitions/app.Response'
  29749. security:
  29750. - ApiKeyAuth: []
  29751. summary: 查询仓单商品信息
  29752. tags:
  29753. - 仓单贸易v2
  29754. /WrTrade2/QueryWrMarketTradeConfig:
  29755. get:
  29756. parameters:
  29757. - description: 市场id
  29758. in: query
  29759. name: marketid
  29760. type: integer
  29761. produces:
  29762. - application/json
  29763. responses:
  29764. "200":
  29765. description: OK
  29766. schema:
  29767. items:
  29768. $ref: '#/definitions/models.WrMarketTradeConfig'
  29769. type: array
  29770. "500":
  29771. description: Internal Server Error
  29772. schema:
  29773. $ref: '#/definitions/app.Response'
  29774. security:
  29775. - ApiKeyAuth: []
  29776. summary: 查询市场交易参数配置
  29777. tags:
  29778. - 仓单贸易v2
  29779. /WrTrade2/QueryWrOrderDetail:
  29780. get:
  29781. description: 页面 现货仓单 | 预售仓单 -> 委托单
  29782. parameters:
  29783. - description: 页码
  29784. in: query
  29785. name: page
  29786. type: integer
  29787. - description: 每页条数
  29788. in: query
  29789. name: pagesize
  29790. type: integer
  29791. - description: 用户id
  29792. in: query
  29793. name: userid
  29794. required: true
  29795. type: integer
  29796. - description: 仓单贸易市场id
  29797. in: query
  29798. name: marketid
  29799. type: integer
  29800. - description: 0:仓单预售 1:仓单贸易
  29801. in: query
  29802. name: haswr
  29803. required: true
  29804. type: integer
  29805. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  29806. in: query
  29807. name: bcancel
  29808. type: integer
  29809. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  29810. in: query
  29811. name: wrtradetype
  29812. type: integer
  29813. - description: 开始交易日(yyyymmdd)
  29814. in: query
  29815. name: begindate
  29816. type: string
  29817. - description: 结束交易日(yyyymmdd)
  29818. in: query
  29819. name: enddate
  29820. type: string
  29821. produces:
  29822. - application/json
  29823. responses:
  29824. "200":
  29825. description: OK
  29826. schema:
  29827. items:
  29828. $ref: '#/definitions/models.WrOrderDetail'
  29829. type: array
  29830. "500":
  29831. description: Internal Server Error
  29832. schema:
  29833. $ref: '#/definitions/app.Response'
  29834. security:
  29835. - ApiKeyAuth: []
  29836. summary: 查询仓单委托单
  29837. tags:
  29838. - 仓单贸易v2
  29839. /WrTrade2/QueryWrOutInApply:
  29840. get:
  29841. parameters:
  29842. - description: 用户id
  29843. in: query
  29844. name: userid
  29845. required: true
  29846. type: integer
  29847. - description: 开始交易日(yyyymmdd)
  29848. in: query
  29849. name: begindate
  29850. type: string
  29851. - description: 结束交易日(yyyymmdd)
  29852. in: query
  29853. name: enddate
  29854. type: string
  29855. produces:
  29856. - application/json
  29857. responses:
  29858. "200":
  29859. description: OK
  29860. schema:
  29861. items:
  29862. $ref: '#/definitions/models.WrOutInApply'
  29863. type: array
  29864. "500":
  29865. description: Internal Server Error
  29866. schema:
  29867. $ref: '#/definitions/app.Response'
  29868. security:
  29869. - ApiKeyAuth: []
  29870. summary: 查询提货申请
  29871. tags:
  29872. - 仓单贸易v2
  29873. /WrTrade2/QueryWrPerformancePlanStep:
  29874. get:
  29875. parameters:
  29876. - description: 履约计划id(performanceplanid)
  29877. in: query
  29878. name: planid
  29879. required: true
  29880. type: integer
  29881. - description: 当前步骤id
  29882. in: query
  29883. name: curstepid
  29884. type: integer
  29885. produces:
  29886. - application/json
  29887. responses:
  29888. "200":
  29889. description: OK
  29890. schema:
  29891. items:
  29892. $ref: '#/definitions/models.WrPerformancePlanStep'
  29893. type: array
  29894. "500":
  29895. description: Internal Server Error
  29896. schema:
  29897. $ref: '#/definitions/app.Response'
  29898. security:
  29899. - ApiKeyAuth: []
  29900. summary: 查询履约信息详情
  29901. tags:
  29902. - 仓单贸易v2
  29903. /WrTrade2/QueryWrPerformanceStepType:
  29904. get:
  29905. produces:
  29906. - application/json
  29907. responses:
  29908. "200":
  29909. description: OK
  29910. schema:
  29911. items:
  29912. $ref: '#/definitions/models.WrPerformanceStepType'
  29913. type: array
  29914. "500":
  29915. description: Internal Server Error
  29916. schema:
  29917. $ref: '#/definitions/app.Response'
  29918. security:
  29919. - ApiKeyAuth: []
  29920. summary: 查询履约步骤枚举
  29921. tags:
  29922. - 仓单贸易v2
  29923. /WrTrade2/QueryWrPosition:
  29924. get:
  29925. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  29926. parameters:
  29927. - description: 用户id
  29928. in: query
  29929. name: userid
  29930. required: true
  29931. type: integer
  29932. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  29933. in: query
  29934. name: querytype
  29935. required: true
  29936. type: integer
  29937. - description: 0:仓单预售 1:仓单贸易
  29938. in: query
  29939. name: haswr
  29940. required: true
  29941. type: integer
  29942. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  29943. in: query
  29944. name: dgitemname
  29945. type: string
  29946. - description: 仓库id(筛选条件)
  29947. in: query
  29948. name: warehouseid
  29949. type: integer
  29950. - description: 品种id
  29951. in: query
  29952. name: deliverygoodsid
  29953. type: integer
  29954. - description: 品类id
  29955. in: query
  29956. name: wrstandardid
  29957. type: integer
  29958. produces:
  29959. - application/json
  29960. responses:
  29961. "200":
  29962. description: OK
  29963. schema:
  29964. items:
  29965. $ref: '#/definitions/models.WrPosition'
  29966. type: array
  29967. "500":
  29968. description: Internal Server Error
  29969. schema:
  29970. $ref: '#/definitions/app.Response'
  29971. security:
  29972. - ApiKeyAuth: []
  29973. summary: 查询现货(预售)仓单持仓
  29974. tags:
  29975. - 仓单贸易v2
  29976. /WrTrade2/QueryWrPreSaleInfo:
  29977. get:
  29978. parameters:
  29979. - description: 市场id
  29980. in: query
  29981. name: marketid
  29982. type: integer
  29983. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  29984. in: query
  29985. name: presalestatus
  29986. type: string
  29987. - description: 摇号标识 - 0:未摇号 1:已摇号
  29988. in: query
  29989. name: lotteryflag
  29990. type: integer
  29991. - description: 最近多少条记录(按创建时间倒序)
  29992. in: query
  29993. name: lastnum
  29994. type: integer
  29995. produces:
  29996. - application/json
  29997. responses:
  29998. "200":
  29999. description: OK
  30000. schema:
  30001. items:
  30002. $ref: '#/definitions/models.WrPreSaleInfo'
  30003. type: array
  30004. "500":
  30005. description: Internal Server Error
  30006. schema:
  30007. $ref: '#/definitions/app.Response'
  30008. security:
  30009. - ApiKeyAuth: []
  30010. summary: 查询新品发布
  30011. tags:
  30012. - 仓单贸易v2
  30013. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  30014. get:
  30015. parameters:
  30016. - description: 市场id
  30017. in: query
  30018. name: marketid
  30019. required: true
  30020. type: integer
  30021. - description: 现货商品id
  30022. in: query
  30023. name: wrstandardid
  30024. required: true
  30025. type: integer
  30026. - description: 开始交易日(yyyymmdd)
  30027. in: query
  30028. name: begindate
  30029. type: string
  30030. - description: 结束交易日(yyyymmdd)
  30031. in: query
  30032. name: enddate
  30033. type: string
  30034. - description: 最近多少条记录(按交易日倒序)
  30035. in: query
  30036. name: lastnum
  30037. type: integer
  30038. - description: 是否今日
  30039. in: query
  30040. name: istoday
  30041. type: boolean
  30042. produces:
  30043. - application/json
  30044. responses:
  30045. "200":
  30046. description: OK
  30047. schema:
  30048. items:
  30049. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  30050. type: array
  30051. "500":
  30052. description: Internal Server Error
  30053. schema:
  30054. $ref: '#/definitions/app.Response'
  30055. security:
  30056. - ApiKeyAuth: []
  30057. summary: 查询价格走势
  30058. tags:
  30059. - 仓单贸易v2
  30060. /WrTrade2/QueryWrScfContract:
  30061. get:
  30062. parameters:
  30063. - description: 用户id
  30064. in: query
  30065. name: userid
  30066. required: true
  30067. type: integer
  30068. - description: 融资合同id
  30069. in: query
  30070. name: scfcontractid
  30071. type: integer
  30072. produces:
  30073. - application/json
  30074. responses:
  30075. "200":
  30076. description: OK
  30077. schema:
  30078. items:
  30079. $ref: '#/definitions/models.WrScfContract'
  30080. type: array
  30081. "500":
  30082. description: Internal Server Error
  30083. schema:
  30084. $ref: '#/definitions/app.Response'
  30085. security:
  30086. - ApiKeyAuth: []
  30087. summary: 查询仓单贸易融资合同
  30088. tags:
  30089. - 仓单贸易v2
  30090. /WrTrade2/QueryWrScfContractInterest:
  30091. get:
  30092. parameters:
  30093. - description: 融资合同id
  30094. in: query
  30095. name: scfcontractid
  30096. type: integer
  30097. produces:
  30098. - application/json
  30099. responses:
  30100. "200":
  30101. description: OK
  30102. schema:
  30103. items:
  30104. $ref: '#/definitions/models.WrScfContractInterest'
  30105. type: array
  30106. "500":
  30107. description: Internal Server Error
  30108. schema:
  30109. $ref: '#/definitions/app.Response'
  30110. security:
  30111. - ApiKeyAuth: []
  30112. summary: 查询融资合同费用明细
  30113. tags:
  30114. - 仓单贸易v2
  30115. /WrTrade2/QueryWrSearchUser:
  30116. get:
  30117. parameters:
  30118. - description: 用户名称(模糊匹配)
  30119. in: query
  30120. name: username
  30121. required: true
  30122. type: string
  30123. produces:
  30124. - application/json
  30125. responses:
  30126. "200":
  30127. description: OK
  30128. schema:
  30129. items:
  30130. $ref: '#/definitions/models.WrSearchUser'
  30131. type: array
  30132. "500":
  30133. description: Internal Server Error
  30134. schema:
  30135. $ref: '#/definitions/app.Response'
  30136. security:
  30137. - ApiKeyAuth: []
  30138. summary: 查询用户
  30139. tags:
  30140. - 仓单贸易v2
  30141. /WrTrade2/QueryWrSpecialMatchOrder:
  30142. get:
  30143. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  30144. parameters:
  30145. - description: 页码
  30146. in: query
  30147. name: page
  30148. type: integer
  30149. - description: 每页条数
  30150. in: query
  30151. name: pagesize
  30152. type: integer
  30153. - description: 用户id
  30154. in: query
  30155. name: userid
  30156. required: true
  30157. type: integer
  30158. - description: 仓单贸易市场id
  30159. in: query
  30160. name: marketid
  30161. type: integer
  30162. - description: 0:仓单预售 1:仓单贸易
  30163. in: query
  30164. name: haswr
  30165. required: true
  30166. type: integer
  30167. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  30168. in: query
  30169. name: isspecified
  30170. type: integer
  30171. produces:
  30172. - application/json
  30173. responses:
  30174. "200":
  30175. description: OK
  30176. schema:
  30177. items:
  30178. $ref: '#/definitions/models.WrSpecialMatchOrder'
  30179. type: array
  30180. "500":
  30181. description: Internal Server Error
  30182. schema:
  30183. $ref: '#/definitions/app.Response'
  30184. security:
  30185. - ApiKeyAuth: []
  30186. summary: 查询指定成交
  30187. tags:
  30188. - 仓单贸易v2
  30189. /WrTrade2/QueryWrStandardFactoryItem:
  30190. get:
  30191. parameters:
  30192. - description: 品类id
  30193. in: query
  30194. name: wrstandardid
  30195. required: true
  30196. type: integer
  30197. produces:
  30198. - application/json
  30199. responses:
  30200. "200":
  30201. description: OK
  30202. schema:
  30203. items:
  30204. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  30205. type: array
  30206. "500":
  30207. description: Internal Server Error
  30208. schema:
  30209. $ref: '#/definitions/app.Response'
  30210. security:
  30211. - ApiKeyAuth: []
  30212. summary: 查询品类要素定义项
  30213. tags:
  30214. - 仓单贸易v2
  30215. /WrTrade2/QueryWrTradeBargainApply:
  30216. get:
  30217. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  30218. 议价->对方议价 填写matchuserid=登录用户id
  30219. parameters:
  30220. - description: 议价人id(摘牌方)
  30221. in: query
  30222. name: userid
  30223. type: integer
  30224. - description: 挂牌方id(查对方议价时,填写此项)
  30225. in: query
  30226. name: matchuserid
  30227. type: integer
  30228. - description: 关联委托单id
  30229. in: query
  30230. name: wrtradeorderid
  30231. type: integer
  30232. - description: 0:仓单预售 1:仓单贸易
  30233. in: query
  30234. name: haswr
  30235. required: true
  30236. type: integer
  30237. - description: 开始交易日(yyyymmdd)
  30238. in: query
  30239. name: begindate
  30240. type: string
  30241. - description: 结束交易日(yyyymmdd)
  30242. in: query
  30243. name: enddate
  30244. type: string
  30245. produces:
  30246. - application/json
  30247. responses:
  30248. "200":
  30249. description: OK
  30250. schema:
  30251. items:
  30252. $ref: '#/definitions/models.WRTradeBargainApply'
  30253. type: array
  30254. "500":
  30255. description: Internal Server Error
  30256. schema:
  30257. $ref: '#/definitions/app.Response'
  30258. security:
  30259. - ApiKeyAuth: []
  30260. summary: 查询议价单
  30261. tags:
  30262. - 仓单贸易v2
  30263. /WrTrade2/QueryWrTradeDetail:
  30264. get:
  30265. parameters:
  30266. - description: 页码
  30267. in: query
  30268. name: page
  30269. type: integer
  30270. - description: 每页条数
  30271. in: query
  30272. name: pagesize
  30273. type: integer
  30274. - description: 用户id
  30275. in: query
  30276. name: userid
  30277. required: true
  30278. type: integer
  30279. - description: 仓单贸易市场id
  30280. in: query
  30281. name: marketid
  30282. type: integer
  30283. - description: 0:仓单预售 1:仓单贸易
  30284. in: query
  30285. name: haswr
  30286. required: true
  30287. type: integer
  30288. - description: 开始交易日(yyyymmdd)
  30289. in: query
  30290. name: begindate
  30291. type: string
  30292. - description: 结束交易日(yyyymmdd)
  30293. in: query
  30294. name: enddate
  30295. type: string
  30296. produces:
  30297. - application/json
  30298. responses:
  30299. "200":
  30300. description: OK
  30301. schema:
  30302. items:
  30303. $ref: '#/definitions/models.WrTradeDetail'
  30304. type: array
  30305. "500":
  30306. description: Internal Server Error
  30307. schema:
  30308. $ref: '#/definitions/app.Response'
  30309. security:
  30310. - ApiKeyAuth: []
  30311. summary: 查询仓单成交明细
  30312. tags:
  30313. - 仓单贸易v2
  30314. /WrTrade2/QueryWrTradeOrderDetail:
  30315. get:
  30316. parameters:
  30317. - description: 页码
  30318. in: query
  30319. name: page
  30320. type: integer
  30321. - description: 每页条数
  30322. in: query
  30323. name: pagesize
  30324. type: integer
  30325. - description: 商品id
  30326. in: query
  30327. name: goodsid
  30328. required: true
  30329. type: integer
  30330. - description: 买卖方向 0-买 1-卖
  30331. in: query
  30332. name: buyorsell
  30333. required: true
  30334. type: integer
  30335. produces:
  30336. - application/json
  30337. responses:
  30338. "200":
  30339. description: OK
  30340. schema:
  30341. items:
  30342. $ref: '#/definitions/models.WrTradeOrderDetail'
  30343. type: array
  30344. "500":
  30345. description: Internal Server Error
  30346. schema:
  30347. $ref: '#/definitions/app.Response'
  30348. security:
  30349. - ApiKeyAuth: []
  30350. summary: 查询合约交易买卖大厅
  30351. tags:
  30352. - 仓单贸易v2
  30353. /WrTrade2/QueryWrUserFriend:
  30354. get:
  30355. parameters:
  30356. - description: 用户id
  30357. in: query
  30358. name: userid
  30359. required: true
  30360. type: integer
  30361. - description: 新朋友userid, 如果填写了此项则查找新朋友
  30362. in: query
  30363. name: newuserid
  30364. type: integer
  30365. produces:
  30366. - application/json
  30367. responses:
  30368. "200":
  30369. description: OK
  30370. schema:
  30371. items:
  30372. $ref: '#/definitions/models.WrUserFriend'
  30373. type: array
  30374. "500":
  30375. description: Internal Server Error
  30376. schema:
  30377. $ref: '#/definitions/app.Response'
  30378. security:
  30379. - ApiKeyAuth: []
  30380. summary: 查询我的朋友
  30381. tags:
  30382. - 仓单贸易v2
  30383. /WrTrade2/QueryWrUserReceiptInfo:
  30384. get:
  30385. parameters:
  30386. - description: 用户id
  30387. in: query
  30388. name: userid
  30389. type: integer
  30390. - description: 发票类型 - 1:个人 2:企业
  30391. in: query
  30392. name: receipttype
  30393. type: integer
  30394. produces:
  30395. - application/json
  30396. responses:
  30397. "200":
  30398. description: OK
  30399. schema:
  30400. items:
  30401. $ref: '#/definitions/models.WrUserReceiptInfo'
  30402. type: array
  30403. "500":
  30404. description: Internal Server Error
  30405. schema:
  30406. $ref: '#/definitions/app.Response'
  30407. security:
  30408. - ApiKeyAuth: []
  30409. summary: 查询发票信息
  30410. tags:
  30411. - 仓单贸易v2
  30412. /WrTrade2/QueryXhcpSellBackApply:
  30413. get:
  30414. parameters:
  30415. - description: 用户ID
  30416. in: query
  30417. name: userid
  30418. required: true
  30419. type: integer
  30420. produces:
  30421. - application/json
  30422. responses:
  30423. "200":
  30424. description: OK
  30425. schema:
  30426. items:
  30427. $ref: '#/definitions/models.Xhcpsellbackapply'
  30428. type: array
  30429. "500":
  30430. description: Internal Server Error
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. security:
  30434. - ApiKeyAuth: []
  30435. summary: 查询我的回收申请(新会陈皮)
  30436. tags:
  30437. - 仓单贸易v2
  30438. /ZJ/GetBankTip:
  30439. get:
  30440. produces:
  30441. - application/json
  30442. responses:
  30443. "200":
  30444. description: OK
  30445. schema:
  30446. type: string
  30447. "500":
  30448. description: Internal Server Error
  30449. schema:
  30450. $ref: '#/definitions/app.Response'
  30451. summary: 获取中江网银端出入金提示信息
  30452. tags:
  30453. - 中江
  30454. /ZJ/GetCusBankChannels:
  30455. get:
  30456. produces:
  30457. - application/json
  30458. responses:
  30459. "200":
  30460. description: OK
  30461. schema:
  30462. items:
  30463. type: string
  30464. type: array
  30465. "500":
  30466. description: Internal Server Error
  30467. schema:
  30468. $ref: '#/definitions/app.Response'
  30469. summary: 获取中江出入金渠道显示列表
  30470. tags:
  30471. - 中江
  30472. securityDefinitions:
  30473. ApiKeyAuth:
  30474. in: header
  30475. name: Authorization
  30476. type: apiKey
  30477. swagger: "2.0"